/*!
Theme Name: delivery
Theme URI: http://underscores.me/
Author: SergeyZ.
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: delivery

*/


.nav__item {
    position: relative;
}

.nav__list > .menu-item-has-children > a::after{
    content: '';
    display: block;
    font-size: 10px;
    width: 1.2em;
    min-width: 1.2em;
    height: .8em;
    position: relative;
    background: url(assets/img/arrow-down.svg) no-repeat 50% 50%/contain;
    -webkit-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
}

.nav__list > .menu-item-has-children > a{
	    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav__list > .menu-item-has-children > a::after {
    margin-left: .6em;
    filter: contrast(100);
}


.sub-menu {
    display: none;
    position: absolute;
    z-index: 1;
    top: 100%;
    min-width: 390px;
    margin: 0;
    padding: 20px 0;
    background: rgba(0,0,0,0.9);
    -webkit-box-shadow: 0px 20px 40px rgb(0 0 0 / 20%);
    box-shadow: 0px 20px 40px rgb(0 0 0 / 20%);
    border-radius: 0px 0px 10px 10px;
    list-style: none;
}
@media screen and (min-width: 992px){
	.nav__list .menu-item-has-children:hover > .sub-menu {
	    display: block;
	}
}

.sub-menu li{
	margin-bottom: 20px!important;
}
@media screen and (max-width: 991px){
	.sub-menu li{
		margin-bottom: 0px!important;
	}
}

@media screen and (max-width: 991px){
	.nav__list > .menu-item-has-children > a::after{
		position: absolute;
		top: 25px;
		right: 30px;
		filter: brightness(0.1);
	}
	.sub-menu{
		background: #fff;
		min-width: auto;
		position: relative;
	}
	.sub-menu li{
		margin-bottom: 0;
	}
}


.site-main{
	padding: 30px 0;
}
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6{
	margin-bottom: 20px !important;
}
.site-main p{
	margin-bottom: 15px;
}

.site-main ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}




@media only screen and (max-width: 991px) {
  .nav {
    padding: 0;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    position: fixed;
    background: red;
    top: 15px;
    right: 12px;
    height: 36px;
    width: 36px;
    z-index: 100;
    cursor: pointer;
  }
  .nav__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-transition: all 0s;
    -o-transition: all 0s;
    transition: all 0s;
    position: fixed;
    right: -9000px;
  }
  .nav__toggle {
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    content: "";
    height: 3px;
    width: 30px;
    border-radius: 15px;
    background-color: #000;
    position: fixed;
    top: 32px;
    right: 15px;
    z-index: 10;
  }
  .nav__toggle::before, .nav__toggle::after {
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    content: "";
    position: absolute;
    left: 0;
    height: 3px;
    width: 30px;
    border-radius: 15px;
    background-color: #000;
  }
  .nav__toggle::before {
    top: -8px;
  }
  .nav__toggle::after {
    top: 8px;
  }
  .nav-expanded {
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    text-align: center;
    line-height: 2em;
    height: 100%;
    width: 100%;
    border-radius: 0px;
    position: fixed;
    right: 0;
    top: 0;
    background-color: #f1f1f1;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav-expanded .nav__list {
    position: relative;
    right: 0;
    padding-top: 100px;
    text-align: center;
    -webkit-transition: all .1s;
    -o-transition: all .1s;
    transition: all .1s;
    z-index: 2;
  }
  .nav-expanded .nav__item a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    -webkit-transition: all .15s;
    -o-transition: all .15s;
    transition: all .15s;
  }
  .nav-expanded .nav__item a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration: none;
    -webkit-transition: all .15s;
    -o-transition: all .15s;
    transition: all .15s;
  }
  .nav-expanded .nav__toggle {
    background-color: transparent;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
  }
  .nav-expanded .nav__toggle:before {
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    top: 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .nav-expanded .nav__toggle:after {
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
    top: -0px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
}

@media only screen and (max-width: 991px) {
  .nav__list .nav__item a{
    margin-left: 0;
    padding: 10px 0;
  }
}

