body, .box {
    background: #f4f0f0;
}

p{
    text-align: justify;
}

#map {
    background: none;
}

#hero{
    margin-top: 5rem;
}

.distributors .agancies-wrap {
    margin: 0 5em;
}

.distributors {
    min-height: calc(100vh - 78.97px - 220px) !important;
}

.post-image.always-shown, h3.post-title.always-shown, .post-category.always-shown, .post-readmore.always-shown, .post-content.always-shown{
    opacity: 1 !important;
    margin-top: 0px !important;
}

.ingredients .post-image.always-shown{
    box-shadow: 0 0 0 0 transparent;
    max-width: 350px;
    height: auto;
}

#fixed-search {
    position: absolute !important;
}

.media-object .thumbnail img{
    min-width: 200px;
}

#submenu ul li a:hover {
    /* color: #dca515; */
    font-weight: bold;
}

#navbar {
    position: fixed;
    width: 100%;
}

#navbar ul.menu li a:hover {
    /* color: #dca515; */
    font-weight: bold;
}

.post-content {
    font-size: .95rem;
    line-height: 30px;
    opacity: 0;
    margin-top: 0px;
    color: #828282;
    line-height: 1.9;
}

div.post-image {
    -ms-box-shadow: 0px 40px 90px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 40px 90px 0px rgba(0,0,0,0.3);
    opacity: 0;
    margin-top: -50px;
    margin-right: 30px;
}

.h_iframe-aparat_embed_frame iframe {
    border: 0px solid transparent;
}

.post-content p{
    color: #828282;
    font-size: .95rem;
    line-height: 1.9;
}

.product-lead{
    margin-bottom: 1em;
}

.horizLine{
    background: #dad8d8;
    width: 100%;
    height: 1px;
    margin: 0px;
}

.slide ul li{
    list-style: none;
    position: relative;
    color: #828282;
}

.slide ul:not(.additional-info) li:before{
    position: absolute;
    right: -15px;
    content: "●";
    color: #dca515;
}

.swiper-slide h1{
    line-height: 50px;
}

.distributors{
    margin: 0px;
    position: relative;
    min-height: calc(100vh - 78.97px - 329.73px);
    padding-top: 5em;
    margin: 0px;
    height: 100%;
}

.distributors .select2-container--default .select2-selection--single {
    background-color: #fefefe;
    border: 0px solid #aaa;
    border-radius: 0px;
}

.select2-dropdown {
    background-color: #fefefe;
    border: 0px solid #aaa;
    border-radius: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #dca515;
    font-size: .9em;
    color: #FFFFFF;
    font-weight: bold;
}

.select2-results__option {
    font-weight: bold;
    color: #828282;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e7e2e2;
    padding: .5em;
}

.distributors .select2-container .select2-selection--single {
    height: auto;
}

.distributors .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 22px;
    font-size: .9em;
    color: #828282;
    font-weight: bold;
}

.distributors .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px;
    padding: .5em;
}

.distributors .select2-container--default .select2-selection--single .select2-selection__arrow b {
    -webkit-transform: translate(0 , -50%);
    -moz-transform: translate(0 , -50%);
    transform: translate(0 , -50%);
}

.distributors .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
}

.distributors .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 8px;
}

#contents {
    padding: 8em 0 0;
}

.distributors .agancies-wrap{
    position: relative;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

.distributors .form-wrap{
    background: #f4f0f0;
    padding: 2em;
    -ms-box-shadow: 0px 40px 90px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 40px 90px 0px rgba(0,0,0,0.1);
}

.distributors .form-wrap h3{
    color: #dca515;
    font-size: 1em;
    margin-bottom: .7em;
    font-family: "Shabnam";
    font-weight: bold;
    letter-spacing: 0px;
}

.distributors .agancies{
    margin: 1em 0;
    background: #f4f0f0;
    padding: 2em;
    -ms-box-shadow: 0px 40px 90px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 40px 90px 0px rgba(0,0,0,0.1);
    display: none;
}

.distributors .agancies h3{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.distributors .agancies h3 span{
    color: #828282;
    font-size: 1rem;
    margin-bottom: .7em;
    font-family: "Shabnam";
    font-weight: bold;
    letter-spacing: 0px;
}

.distributors .agancies h3 span:first-child{
    flex-grow: 1;
}

.distributors .agancies h3 span:last-child{
    cursor: pointer;
}

.distributors .agancies h3 span:last-child:hover{
    color: #dca515;
}

.distributors .agancies span{
    color: #828282;
    font-size: .9em;
    font-family: "Shabnam";
}

.distributors .agancies span.distributors-label{
    font-weight: bold;
}

.distributors .agancies span.distributors-value{
    /* display: inline-block; */
}

.distributors .agancies span.clear{
    display: block;
    clear: both;
    margin: .5em;
}

copyright{
    display: block;
    padding: 1em 0;
    font-size: .7em;
    opacity: .5;
    border-top: 1px solid #e5e2e2;
}

/* Modalbox */
#modal, .overlay{
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0,0,0,0.7);
    z-index: 10;
}

.overlay{
    background: transparent;
}

#modal .box{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 640px;
    /* height: 400px; */
    padding: 2em;
    -webkit-transform: translate(-50% , -50%);
    -moz-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    z-index: 12;
}

.box .modal-title{
    margin-bottom: 1em;
    display: flex;
    flex-direction: row;
}

.modal-title h3{
    flex-grow: 1;
}

.modal-title span{
    cursor: pointer;
}

mark{
    /* color: #dca515; */
    padding: 2px 5px;
    border-radius: 5px;
    /* border-bottom: 1px solid #dca515; */
    background: rgba(255,255,255,0.3);
    box-shadow: 1px 1px rgba(0,0,0,0.1);
}

.box.category-block .wrap h4 {
    font-size: 1.3em;
    line-height: 26px;
}

.box.category-block .wrap h5 {
    font-size: .9em;
    letter-spacing: -.5px;
}

.content-text p {
    margin-top: 1em;
    line-height: 30px;
    margin-bottom: 3em;
}

.subquestion.hide{
    display: none;
}

[type="checkbox"] + label, [type="radio"] + label {
    margin-left: 2.5rem;
    margin-right: .5rem;
}

ul#nav_categories{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.faq .wrap h3{
    font-size: 1.6em;
    line-height: 30px;
}

#faq h3{
    font-size: 1.6em;
    line-height: 30px;
}

.slide h1{
    font-size: 2.5em;
    font-family: "Yekan", Shabnam;
}

.faq .wrap p{
    line-height: 28px;
}

#submenu{
    background: rgba(244, 240, 240, 1);
    width: 100%;
    top: 78.8px;
    position: absolute;
    /* height: 307px; */
    z-index: 100;
    padding:2em 0;
    display: none;
}

#submenu ul{
    margin: 0px;
}

#submenu ul li{
    list-style: none;
    margin-bottom: 5px;
}

#submenu h3{
    font-size: 1.5em;
    margin-bottom: .7em;
}

#submenu ul li a{
    color: #828282;
    font-size: .95em;
}



/* blog */
.blog .grid-container.content-text{
    max-width: 960px;
}

.post-text{
    padding-top: 5em;
    padding-bottom: 5em;
}

.content-text .post-text p{
    margin: 0 0 .5em 0;
    text-align: justify;
}

.blog .text h4{
    color: #dca515;
    font-size: 1.2em;
}

.post-category, .post-readmore{
    opacity: 0;
}

ul.socials{
    display: flex;
    flex-direction: row;
    margin: 0px;
    justify-content: flex-end;
}

ul.socials li{
    list-style: none;
    margin: 0 .2em;
}

ul.socials li a{
    color: #828282;
    font-size: 1.4rem;
    display: block;
    line-height: 17px;
}

ul.ingredients-list{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    margin: 0px;
}

ul.ingredients-list li{
    margin: 0 1em;
    list-style: none;
}

ul.ingredients-list li a{
    font-weight: bold;
    color: #3b3a3a;
    letter-spacing: 0;
}

#special-product {
    padding: 2em 0;
}

#mapCanvas{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.box.category-block .wrap ul.details {
    margin: 20px 0 0 0;
}

.box.category-block .wrap .product-lead {
    font-size: 0.9em;
    opacity: 0.7;
}

.poll-badge {
    position: fixed;
    background-color: #a98e56;
    height: 100px;
    padding: 60px 70px 0;
    line-height: 40px;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
    top: -115px;
    left: -77px;
    transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.poll-badge a{
    color: #FFFFFF;
}




/* RESPONSIVE - remember you must create a scss file with name responsive.scss and all codes in below transfer into it */

@media screen and (max-width: 1024px) {
    
    #hero {
        width: 100%;
        height: auto;
        position: relative;
        padding: 0;
        min-height: auto;
    }
    
    #hero .slide {
        position: relative;
        bottom: auto;
        margin: 2em auto 0;
        left: 0px;
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
        -ms-box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
        box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
    }

    #latest-post .last-post h3{
        font-size: 1.6em;
    }

    #latest-post .last-post p {
        margin-bottom: 2em;
    }

    #popular-products {
        padding: 6em 0em;
    }

    .cell.text{
        padding: 0 2em;
    }

    #hero.header {
        padding-top: 65px;
    }

}

@media screen and (max-width: 960px) {


    #contents {
        padding: 4em 0.5em 0;
    }

    #navbar .navbar-container {
        flex-direction: row-reverse;
    }

    #navbar .navbar-container .navbar-elements:first-child {
        text-align: left;
    }

    #navbar .navbar-container .navbar-elements:last-child .text-left{
        text-align: right;
    }

    .swiper-slide .cell:first-child{
        order: 2
    }

    .swiper-slide .cell:last-child{
        order: 1;
        margin-bottom: 2em;
    }

    #box-run-down {
        opacity: 1;
        bottom: 0px;
    }

    .hasMotion {
        margin: 0 auto 2em;
    }

    #contents_data{
        margin-top: 2rem;
    }

    #contents_data .parts h3 {
        font-size: 1.3em;
    }

    #contents_data .parts p {
        color: #828282;
        font-size: .85em;
    }

    h1{
        font-size: 2em;
    }

    #navbar .logo {
        max-width: 130px;
        border-left: 0px solid transparent;
        padding-left: 0;
    }

    .navbar-elements div a{
        font-size: 1.5em;
    }

    .swiper-slide {
        /* background: url(../img/slidercorner.svg) no-repeat left top #f4f0f0; */
        padding: 3em 1em 0;
    }

    .swiper-slide h1 {
        font-size: 2em;
    }

    .swiper-slide ul li span {
        color: #828282;
        font-size: .8em;
    }

    .swiper-slide p {
        margin: .5em 0 2em;
    }

    .swiper-slide .wrap {
        padding-bottom: 0;
    }

    .controllers-wrap {
        position: relative;
        padding: 1em 0;
        width: 100%;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .slide-contollers {
        justify-content: center;
    }

    .slide-contollers .control-tool i {
        font-size: 1em;
    }

    .slide-contollers .control-tool .slider-bullets.active-bullet {
        background-color: #dca515;
        width: .8em;
        height: .8em;
    }

    #images-run-up {
        opacity: 1;
    }

    #images-run-up.right img , #images-run-up.left img {
        float: right;
        width: 100%;
    }

    #box-run-down {
        position: relative;
        bottom: 0px;
        width: 90%;
        max-width: 90%;
        -ms-transform: translateX(0);
        transform: translateX(0);
        margin: 0 auto;
    }

    #box-run-down.right {
        left: 0;
    }

    #box-run-down.left {
        left: 0;
    }

    .mm-menu_offcanvas {
        max-width: 280px;
    }

    #mymenu .logo{
        padding: 2em 4em;
    }
    #mymenu input{
        margin: 0 auto;
        width: 90%;
    }

    .cell.image{
        order: 1;
        text-align: center;
    }

    .cell.text{
        order: 2;
    }

    img.post-image {
        -ms-box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
        box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
    }

    .contact{
        margin-top: 0;
    }

    #map{
        min-height: 410px;
        position: relative;
        margin-bottom: 2em;
        height: auto;
    }

    #mapCanvas{
        min-height: 240px;
        position: relative;
        margin-bottom: 2em;
        height: auto;
    }

    .contact div:first-child{
        order: 2;
    }

    .contact div:last-child{
        order: 1;
    }

    #hero.header .slide {
        background: none;
        padding: 3em 3em 3em 0;
    }

    #hero.header .slide ul li {
        font-size: .8em;
    }

    a.product-link {
        font-size: .8em;
    }

    .distributors{
        padding-top: 0px;
    }

    .distributors #map{
        margin-bottom: 0px;
    }

    .distributors .agancies-wrap {
        max-width: 100%;
        margin: 0 auto;
    }

    .distributors .form-wrap {
        -ms-box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
        box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .distributors .agancies {
        margin: 0;
        -ms-box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
        box-shadow: 0px 40px 90px 0px rgba(0,0,0,0);
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    #special-product {
        background: transparent;
    }

    .search_menu{
        display: flex;
        flex-direction: row;
        margin: 0 15px 2em;
    }
    
    .search_menu [type='text']{
        flex-grow: 1;
    }
    
    .btn_wrap{
        position: relative;
        width: 45px;
    }
    
    .btn_wrap input[type='submit']{
        width: 45px !important;
        height: 39px !important;
        margin: 0px !important;
        min-width: 45px;
    }
    
    .btn_wrap i{
        position: absolute;
        left: 47%;
        top: 47%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        color: #FFFFFF;
    }

}

@media screen and (max-width: 640px) {

    body{
        margin-bottom: 60px;
    }

    #contents.product-single{
        padding-top: 1rem;
    }

    .product-image{
        text-align: center;
    }

    img.post-image {
        margin-bottom: 1rem;
    }

    p.readmore-gold {
        margin-bottom: 3rem;
    }

    .post-text {
        padding-top: 0.5em;
        padding-bottom: 1em;
        font-size: 0.85rem;
    }

    .box.post-title-box {
        -ms-box-shadow: 0px 40px 90px 0px transparent;
        box-shadow: 0px 40px 90px 0px transparent;
        border-bottom: 1px solid transparent;
        bottom: 0;
        background: transparent;
    }

    .post-title-box .wrap {
        padding: 0.5rem 0;
    }

    ul#nav_categories {
        display: block;
    }

    #latest-post {
        padding: 2em 1em;
    }

    .swiper-slide {
        background: none;
    }

    .post-hero-image img {
        width: 100%;
        height: 300px;
    }

    #faq h3 {
        margin-top: 1rem;
    }

    #faq h3 {
        font-size: 1.3em;
    }

    #special-product {
        margin: 0;
    }

    #faq p {
        font-size: 0.85em;
    }

    .box.post-title-box {
        position: relative;
    }

    h3.post-title {
        font-size: 1.5rem;
        opacity: 1;
    }

    .post-content p {
        font-size: .85rem;
    }

    .static-block {
        margin-top: 1em;
    }

    .static-block:last-child {
        margin-bottom: 0em;
    }

    #topics-block {
        border-left: 0px solid #e5e2e2;
        padding: 0em;
    }

    .faq {
        margin-top: 1em;
    }

    .cell.text{
        padding: 0;
    }

    #hero.header {
        height: auto;
    }

    #hero.header .slide {
        padding: 1em;
    }

    .slide h1 {
        font-size: 1.8em;
    }

    #hero.header .slide .cell:first-child {
        order: 2
    }

    #hero.header .slide .cell:last-child {
        order: 1
    }

    a.product-link {
        min-width: 164px;
    }

    copyright {
        text-align: center;
    }

    ul.socials {
        margin-top: 16px;
        justify-content: center;
    }

    .poll-badge {
        height: auto;
        padding: 10px 0;
        line-height: 40px;
        text-align: center;
        top: auto;
        left: 0;
        transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        width: 100%;
        bottom: 0px;
    }
}