/*-----------------------------------------------------------------------------------

    Template Name: asmes.ir
    Template URI: https://asmes.ir
    Author: Fara Andish Web Design Co.
    Author URI: https://youpage.ir
    Version: 1.0

-----------------------------------------------------------------------------------*/
 
@font-face {
    font-family: 'fontlight';
    src: url('../font/iranyekan/iranyekanweblight.eot');
    src: url('../font/iranyekan/iranyekanweblight.eot') format('embedded-opentype'), url('../font/iranyekan/iranyekanweblight.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'fontstandard';
    src: url('../font/iranyekan/iranyekanwebregular.eot');
    src: url('../font/iranyekan/iranyekanwebregular.eot') format('embedded-opentype'), url('../font/iranyekan/iranyekanwebregular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'fontbold';
    src: url('../font/iranyekan/iranyekanwebbold.eot');
    src: url('../font/iranyekan/iranyekanwebbold.eot') format('embedded-opentype'), url('../font/iranyekan/iranyekanwebbold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: fontstandard;
    direction: rtl;
}

a:link,
a:visited,
a:hover {
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: fontbold;
}

.top, .top2 {
    display: none;
}

@media(max-width: 992px) {
    .top {
        display: block;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: 999;
        text-align: center;
        padding: 8px 10px;
    }
    .top h1 {
        font-size: 15px;
        color: #000;

    }
    .top input {
        border-radius: 20px;
        border: 1px solid #000;
        background-color: rgba(255, 255, 255, 0.5);
        height: 40px;
        max-width: 90%;
        margin-top: 0px;
    }
    .top input:hover, .top input:focus {
        background-color: rgba(255, 255, 255, 1);
    }
    .top input::placeholder {
        color: #000;
    }

    .top2 {
        display: block;
        position: relative;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: 999;
        text-align: center;
        padding: 30px 10px 15px 10px;
    }
    .top2 h1 {
        font-size: 15px;
        color: #333;
    }
    .top2 input {
        border-radius: 20px;
        border: 1px solid #000;
        opacity: 0.7;
        background: #FFF;
        height: 40px;
        max-width: 90%;
        margin-top: 0px;
    }
    .top2 input::placeholder {
        color: #000;
    }
}
header {
    margin-bottom: 0px;
    padding-bottom: 10px;
}

header .top-line {
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #e1e1e1;
    font-size: 14px;
    line-height: 32px;
    padding-top: 3px;
}

header .top-line a {
    color: #000;
}

@media(max-width: 992px) {
    header .top-line {
        font-size: 13px;
        display: none;
    }
    header {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }
}

header  .top-line .lnr-icon-phone-handset {
    font-size: 22px;
    line-height: 2px;
    vertical-align: middle;
}
header  .top-line .lnr-icon-cart {
    font-size: 25px;
    line-height: 2px;
    vertical-align: middle;
    padding-top: 5px !important;
}

header .top-line .top-mobile {
    font-size: 15px;
    line-height: 36px;
}

header .search-border {
    border: 1px solid #eceff1;
    background: #eceff1;
    border-radius: 7px;
    font-size: 14px !important;
    height: 46px;
    line-height: 50px;
    width: 100%;

}

header .search-border:focus {
    box-shadow: none !important;
    border: 1px solid #e1e1e1;
    background: #eceff1;
    transition-duration: 0.5s;
}

header h1 {
    font-size: 14px;
    padding-top: 10px;
}

header .mobile-logo { 
    display: none;
}

header .mobile-user { 
    display: none;
}

header .login-div {
   
   text-align: center;
   font-size: 14px;
}

header .login-div img {
    margin-right: 15px;
}

.learn-link {
    padding-top: 15px;
}
.learn-link a {
    font-size: 14px;
}

@media(max-width: 992px) {

    header .top-obj {
        display: none;
    }
    header .mobile-logo {
        display: block;
        position: absolute;
        top: 5px;
        width: 100px;
        left: calc(50% - 50px);
        background-color: #FFF;
        padding-left: 5px;
        padding-right: 5px;
        z-index: 999;
    }
    header .mobile-user {
        display: block;
        position: absolute;
        top: 0px;
        width: 50%;
        left: 8%;
        z-index: 999;
        text-align: left;
        height: 70px;
        padding-top: 19px;
    }
}


/************* bNAV **************/

.bnav {
    position: relative;
    top: 40px;
    width: 100%;
    height: 60px;
    border-top: 1px solid #d71920;
    background-color: #ffffff;
    display: flex;
    overflow-x: auto;
    z-index: 999;
}

@media(min-width: 768px) {
    .bnav {
        display: none;
    }
}

.bnav img {
    position: absolute;
    z-index: 999;
    width: 30px;
    left: calc(50% - 15px);
    top: 3px;
}

.nav__link {
    padding-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-width: 50px;
    max-width: 20%;
    overflow: hidden;
    white-space: nowrap;
    font-family: fontstandard;
    font-size: 12px;
    color: #444444;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.1s ease-in-out;
}

.nav__link:hover {
    background-color: #eeeeee;
}

.bactive {
    color: #008000;
    font-size: 25px !important;
    margin-top: -4px;
}

.nav__icon {
    font-size: 20px;
    padding-bottom: 3px;
}


/*************************************/
.mobile-top-shadow {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100px;
    background-image: linear-gradient(rgba(0,0,0,0.8), transparent);
    z-index: 999;
}

.mobile-top-shadow2 {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100px;
    background-image: linear-gradient(rgba(0,0,0,0.4), transparent);
    z-index: 999;
}

.spacer {
    position: absolute;
    bottom: -35px;
    margin-bottom: 15px;
    width: 100%;
    height: 20px;
    z-index: -1;
    background-image: linear-gradient(#ccc, transparent);
}

@media(min-width: 992px) { 
.spacer2 {
    position: fixed;
    top: 160px;
    width: 100%;
    height: 20px;
    z-index: 997;
    background-image: linear-gradient(#ccc, transparent);
}

}

.slideshow {
    position: relative;
    background-color: #FFF;
    z-index: 998;
    margin-top: -15px;
    padding-bottom: 15px;
}
@media(max-width: 992px) {
    .slideshow {
        padding-bottom: 0px;
        margin-top: 80px;
        height: 400px;
    }
}

.main-accordion{ 
    height: 400px;
    display: flex;
    overflow: hidden;
    margin: 0px auto 20px auto;
  }
  
.main-tab{
    position: relative;
    width: 25%;
    height: inherit;
    padding: 20px;
    margin: 0px 5px;
    border-radius: 10px;
    background: #000;
    color: #FFF;
    cursor: pointer;
    transition: width .5s ease;
}

.main-tab a {
    color: #FFF;
}

.main-tab img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
    border-radius: 10px;
}

.caption{
    position: absolute;
    z-index: 2;
    white-space: nowrap;
    bottom: 20px;
    opacity: 0;
}

.caption h2{
margin-bottom: 0px;
text-overflow:clip;
font-size:22px;
text-shadow: 0px 0px 10px #000 !important;
}

.main-tab:hover img{
opacity: .6;
}

.main-tab:hover{
width: 50%;
}

.main-tab:hover .caption{
transition: all .5s ease;
opacity: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 150px;
    padding-top: 90px;
    background-image: linear-gradient(transparent, rgba(0,0,0,0.8));
  }

.carousel-caption h2 {
    font-size: 20px;
    color: #FFF;
    text-shadow: 0px 0px 10px #000 !important;
  }
  .carousel-item {
      height: 450px;
      object-position: center;
        object-fit: cover;
        margin-top: 15px;
        border-radius: 10px; 
}

.carousel-item img {
      border-radius: 7px;
}

.carousel-inner {
    border-radius: 7px;
}

@media(max-width: 768px) {
    .carousel-item {
        height: 370px;
    }
    .carousel-item img {
        object-fit: cover !important;
    }
}

/****************************** MENU ********************************/


.menu-container {
    width: 100%;
    margin: 0 auto;
    position:relative; 
    z-index: 100;
    margin-top: -1px;
}

.menu-mobile {
    display: none;
    padding: 20px;
}

.menu-dropdown-icon:before {
    content: "\e874";
    font-family: "linearicons-free";
    display: none;
    cursor: pointer;
    float: left;
    padding: 1em 2em;
    background: #fff;
    color: #333;
}

.menu-divider {
    float: left;
    margin-top: -37px;
    color: #ccc;
}

@media(max-width: 768px) {
    .menu-divider {
        display: none;
    }
}
.menu ul {
    list-style: none;
    padding:0;
}

.menu > ul {
    margin: 0 auto;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

@media(min-width: 1024px) {
    .menu > ul {
        padding: 0 0px;
    }
}

.menu > ul:before,
.menu > ul:after {
    content: "";
    display: table;
}

.menu > ul:after {
    clear: both;
}

@media(min-width: 992px) {
    .menu > ul > li {
        float: right;
        padding: 0;
        margin: 0;
        width: 19.5%;
        text-align: center;
        border-bottom: 3px solid #FFF;
        border-top: 1px solid #e1e1e1;
    }

    .menu > ul > li:last-child {
        width: 11%;
        text-align: left;
    }

    .menu > ul > li:first-child {
        width: 11%;
        text-align: right;
    }

}

.menu > ul > li:hover {
    border-bottom: 3px solid #FFF;
    border-top: 1px solid #d71920;
}

.menu > ul > li:hover > a {
    color: #d71920;
}

.menu > ul > li > ul > li a {
    text-decoration: none;
    display: block;
}

.menu > ul > li > a {
    text-decoration: none;
    padding: 18px 0px 15px 0;
    display: block;
    font-size: 14px;
    color: #444;
}

.menu > ul > ul > li a {
    padding: 0.7em 3em;
}

.menu > ul > li:hover {
    
}

.menu > ul > li > .mega-menu {
    display: none;
    width: 100%;
    background: #FFF;
    border: 5px solid #e1e1e1;
    padding: 20px;
    position: absolute;
    z-index: 99;
    right: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    border-radius: 7px;
    margin-top: 3px;
}

.menu > ul li ul li a {
    color: #333;
}

.menu > ul > li > ul {
    display: none;
    width: 300px;
    background: #354445;
    padding: 10px 20px;
    position: absolute;
    z-index: 99;
    left: auto;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}

.menu > ul > li > .mega-menu:before,
.menu > ul > li > .mega-menu:after,
.menu > ul > li > ul:before,
.menu > ul > li > ul:after
{
    content: "";
    display: table;
}

.menu > ul > li > .mega-menu:after, .menu > ul > li > ul:after {
    clear: both;
}

.menu > ul > li > .mega-menu li {
    margin: 0;
    padding-bottom: 0;
    list-style: none;
    width: 33.33%;
    background: none;
    float: right;
    text-align: right;
}

.menu > ul > li > .mega-menu li a {
    padding: .2em 0;
    width: 95%;
    display: block;
    border-bottom: 1px solid #e1e1e1;
    font-size: 14px;
    line-height: 36px;
}

.menu > ul > li > .mega-menu li a:hover {
    padding: .2em 7px;
    border-bottom: 1px solid #999;
    transition-duration: 0.5s;
}


.menu > ul > li > .mega-menu li > ul {
    display: block;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
    box-sizing: border-box;
}

.menu > ul > li > .mega-menu li > ul:before,
.menu > ul > li > .mega-menu li > ul:after {
    content: "";
    display: table;
}

.menu > ul > li > .mega-menu li > ul:after {
    clear: both;
}

.menu > ul > li > .mega-menu li > ul > li {
    float: left;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    font-size: .8em;
}

.menu > ul > li > .mega-menu li > ul > li a {
    border: 0;
    text-transform: none;
    font-size: 1rem;
}

.menu > ul > li > .mega-menu.normal-sub {
    width: 300px;
    left: auto;
    padding: 10px 20px;
}

.menu > ul > li > .mega-menu.normal-sub > li {
    width: 100%;
}

.menu > ul > li > .mega-menu.normal-sub > li a {
    border: 0;
    padding: 1em 0;
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (max-width: 992px) {
    .menu-container {
        width: 100%;
    }
    .menu-mobile {
        display: block;
    }
    .menu-mobile img {
        width: 32px;
    }
    .menu-dropdown-icon:before {
        display: block;
    }
    .menu > ul {
        display: none;
    }
    .menu > ul > li {
        width: 100%;
        float: none;
        display: block;
    }
    .menu > ul > li a {
        padding: 1.5em;
        width: 100%;
        display: block;
    }
    .menu > ul > li > .mega-menu, .menu > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > .mega-menu.normal-sub, .menu > ul > li > ul {
        width: 100%;
    }
    .menu > ul > li > .mega-menu li {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    .menu > ul > li > .mega-menu li:first-child {
        margin: 0;
    }
    .menu > ul > li > .mega-menu li > ul {
        position: relative;
    }
    .menu > ul > li > .mega-menu li > ul > li {
        float: none;
    }
    .menu .show-on-mobile {
        display: block;
    }
}



.fade-hr {
    height: 1px;
    margin: 15px 0;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(rgba(0, 0, 0, 0)), color-stop(0.5, #e1e1e1), to(rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), #e1e1e1, rgba(0, 0, 0, 0));
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0), #e1e1e1, rgba(0, 0, 0, 0));
    background: -o-linear-gradient(left, rgba(0, 0, 0, 0), #e1e1e1, rgba(0, 0, 0, 0));
    background: linear-gradient(left, rgba(0, 0, 0, 0), #e1e1e1, rgba(0, 0, 0, 0));
    border: 0;
  }
.fade-hr:after {
    display: block;
    content: '';
    height: 1px;
    background-image: -webkit-gradient(radial, 50% 0%, 0, 50% 0%, 116, color-stop(0%, #cccccc), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-radial-gradient(center top, farthest-side, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -moz-radial-gradient(center top, farthest-side, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -o-radial-gradient(center top, farthest-side, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
    background-image: radial-gradient(farthest-side at center top, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
  }
/***********************************************************/

.content-padd {
    padding: 20px;
}
@media(max-width: 992px) {
    .content-padd {
        padding: 35px 15px;
    }
}
.content {
    direction: rtl;
    font-size: 15px;
    background-color: #eceff1;
    position: relative;
}

.cbg {
    background: url('../../img/cbg.jpg') no-repeat left top;
    background-position: contain;
}

@media(max-width: 768px) {
    .content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .cbg {
        background: none;
    }
}

.bold {
    font-family: fontbold;
}

.about h5 {
    font-size: 15px;
}

.abcert img {
    width: 70%;
    border-radius: 5px;
    border: 1px solid #ccc;
}

@media(max-width: 768px) {
    .about .nav-link {
        font-size: 12px;
        padding: 10px 8px;
    }

    .about {
        font-size: 14px;
    }

    .abcert img {
        width: 100%;
    }
}

.founder li {
    line-height: 35px;
    border-bottom: 1px solid #eee;
}
.main-content {
    border-radius: 0px;
    background-color: #FFF;
    margin-top: 25px;
    border-radius: 7px;
    border: 1px solid #e1e1e1;
    position: relative;
    margin-bottom: 25px;
}

.other-content {
    border-radius: 0px;
    background-color: #FFF;
    margin-top: 25px;
    padding-bottom: 15px;
    border-radius: 7px;
    border: 1px solid #e1e1e1;
    position: relative;
    margin-bottom: 25px;
}

.main-content h2 {
    font-size: 18px;
}

@media(max-width: 768px) {
    .main-content, .other-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media(max-width: 768px) {
    .e404 {
        line-height: 40px;
    }
    .e404 img {
        width: 80%;
        margin-top: 50px;
        margin-bottom: 30px;
    }
}


/****************** MAIN ***************/

.main-about {
    text-align: center;
    margin-top: 20px;
}

.main-about a {
    color: #000;
}

.main-about p {
    padding: 0 30px;
}

.main-about h1 {
    font-size: 26px;
    text-align: center;
    background: #FFF;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: inline;
}

.main-about hr {
    border-top: 2px solid #d71920;
    margin-top: -13px;
    margin-bottom: 40px;
}

.main-about h6 {
    color: #d71920;
}

@media(max-width: 768px) {
    .main-about h1 {
        font-size: 20px;
        padding: 0 10px;
    }
    .main-about hr {
        border-top: 2px solid #d71920;
        margin-top: -14px;
        margin-bottom: 40px;
    }
    .main-about p {
        padding: 0 0px;
        font-size: 13px;
    }

    .main-about h6 {
        font-size: 12px;
        color: #d71920;
    }

    .main-about .col {
        padding: 5px;
    }
}

.login-icon {
    width: 180px;
    margin-bottom: 20px;
}

.login-group,
.register-group {
    padding: 0px 10%;
}

.register-group .input input {
    padding: 0px 15px;
}

.register-group .input select {
    padding: 0px 15px;
    background-color: #FFF;
}

.rtl {
    direction: rtl;
}

.login-group .form-group {
    position: relative;
}

.login-group hr {
    border-top: 1px solid #d71920;
    margin-top: 30px;
    margin-bottom: 0px;
}

@media(min-width: 768px) {
    .login-group hr {
        display: none;
    }
}

.login-group i {
    position: absolute;
    left: 12px;
    top: 10px;
    font-size: 25px;
    border-right: 1px solid #444444;
    padding-right: 8px;
}

.login-group .form-input {
    padding-left: 54px;
    padding-right: 15px;
    direction: ltr;
    letter-spacing: 1px;
}

.form-input::placeholder,
.form-input::placeholder {
    text-align: right;
    letter-spacing: 0px;
}

.login-liner {
    width: 1px;
    height: 170px;
    background: #335f5c;
    float: right;
    margin-top: 90px;
}

@media(max-width: 768px) {
    .login-liner {
        display: none;
    }
}

.login-register {
    text-align: center;
    padding: 80px 15% 40px 15%;
}

@media(max-width: 768px) {
    .login-register {
        padding: 0px 5% !important;
    }
}

.btn-radius {
    border-radius: 4px;
}

.form-input {
    width: 100%;
    height: 46px;
    border-radius: 4px;
    border: 1px solid #000;
    outline: 0;
    font-size: 14px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
}

.form-input:hover {
    border-color: #d71920;
}

.form-input:focus {
    border-color: #d71920;
    transition-duration: 0.5s;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
}

.form-area {
    width: 100%;
    border-radius: 4px;
    border-color: #d71920;
    outline: 0;
    padding: 10px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
}

.form-area:focus {
    border-color: #008000;
    transition-duration: 0.5s;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 0, 0, .6);
}

.btn-mahyar {
    padding: 5px 20px 7px 20px;
    background-color: #d71920;
    border: 3px solid #d71920;
    border-radius: 10px;
}

.btn-mahyar:hover {
    border-color: #008000;
    transition-duration: 0.3s;
}

.contact-page {
    padding: 40px;
}

.contact-page i {
    padding: 10px;
    border-color: 2px solid #d71920;
    border-radius: 50%;
    font-size: 20px;
    vertical-align: middle;
    color: #d71920;
}

.contact-page .number {
    letter-spacing: 1px;
}

.contact-page .title {
    font-family: fontbold;
    font-size: 16px;
    line-height: 36px;
    padding-right: 10px;
}


.contact-page hr {
    border-top: 1px solid #d71920;
}

.contact-page .map {
    width: 100%;
    height: 320px;
    border: 1px solid #d71920;
}

.panel-page {
    padding: 25px;
}

.panel-page-2 {
    padding: 10px 25px 25px 25px;
}

.pmenu a {
    padding: 10px 0;
    border: 1px solid #ccc;
    line-height: 24px;
    border-radius: 5px;
}

.pmenu a:link,
.pmenu a:visited {
    text-align: center;
    font-size: 14px;
    display: block;
}

.pmenu a:hover {
    border-color: #d71920;
    color: #d71920;
}

.pmenu i {
    font-size: 25px;
}

@media(min-width: 992px) {
    .chpass {
        padding-right: 50px;
        padding-left: 30px;
        padding-top: 20px;
    }
}

.top-category {
    padding: 28px 15px 0 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 0px;
}

.top-cat-div1 { grid-area: 1 / 1 / 2 / 2; }
.top-cat-div2 { grid-area: 2 / 1 / 3 / 2; }
.top-cat-div3 { grid-area: 1 / 2 / 3 / 3; }
.top-cat-div4 { grid-area: 1 / 3 / 2 / 4; }
.top-cat-div5 { grid-area: 2 / 3 / 3 / 4; }


@media(max-width: 992px) {

    .top-category {
        padding: 28px 15px 0 15px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 25px;
        grid-row-gap: 0px;
    }

    .top-cat-div1 { grid-area: 1 / 1 / 2 / 2; }
    .top-cat-div2 { grid-area: 1 / 2 / 2 / 3; }
    .top-cat-div3 { grid-area: 2 / 1 / 4 / 3; }
    .top-cat-div4 { grid-area: 4 / 1 / 5 / 2; }
    .top-cat-div5 { grid-area: 4 / 2 / 5 / 3; }
}

.bg-cover {
    overflow: hidden;
    width: 100%;
    height: 250px;
    margin-bottom: 28px;
}

.bg-cover:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, .5);
}

.top-cat {
    border: 1px solid #ccc;
    width: 100%;
    height: 250px;
    -webkit-transition: all 0.3s ease-in-out;
    border-radius: 8px;
}


@media(min-width: 992px) {
.top-cat-div3 .bg-cover, .top-cat-div3 .top-cat {
    height: 529px !important;
}
}

@media(max-width: 992px) {
    .top-cat-div3 .bg-cover, .top-cat-div3 .top-cat {
        height: 529px !important;
    }
    }


.top-cat:hover {
    -webkit-transform: scale(1.3, 1.3);
    -webkit-transition: all 0.3s ease-in-out;
}

.cat-title {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 250px;
    text-align: center;
    padding-top: 100px;
    font-family: fontbold;
    color: #FFF;
    text-shadow: 0px 0px 5px #000;
}

.top-cat-div3 .cat-title {
    height: 530px;
    padding-top: 250px;
}

.top-cat:hover>.cat-title {
    display: block;
    transition-duration: 0.3s;
    background-color: rgba(0, 0, 0, .5);
    color: #FFF;
}

@media(max-width: 768px) {

    .bg-cover,
    .top-cat {
        height: 250px;
    }
    .cat-title {
        padding-top: 35px;
    }
}


/************* FOOTER **************/

.footer {
    background: #eceff1;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 15px;
    direction: rtl;
    position: relative;
    border-top: 1px solid #ccc;
}

.footer-spacer {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 50px;
    background-image: linear-gradient(#ccc, transparent);
}

.footer-padd {
    padding: 0px 5%;
}

.flogo h2,
.flogo h1 {
    font-size: 15px;
    font-weight: bold;
    color: #2980b9;
}

.flogo .social {
    width: 100%;
}

.flogo .social img {
    width: 40px;
    margin: 0 4px;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .flogo .social img {
        width: 35px;
        margin: 0 5px;
    }
}

.instam {
    display: none;
}

.flogo .footer-logo {
    width: 100px;
    margin-top: -15px;
}

@media(max-width: 768px) {
    .instam {
        display: inline-block;
    }
    .instad {
        display: none;
    }
    .flogo .footer-logo {
        width: 150px;
    }
}

.social div {
    width: 49%;
    float: left;
    font-size: 15px;
}

.ftel a {
    font-size: 15px !important;
    color: #666;
}

.ftel {
    margin-top: 0px;
}

.ftel span {
    letter-spacing: 1px;
}

@media(max-width: 768px) {
    .social div {
        margin-bottom: 20px;
    }
}

.footer h3 {
    font-size: 16px;
    font-family: fontbold;
    color: #666;
}

.footer-link a:link,
.footer-link a:visited {
    font-size: 14px;
    color: #666;
    display: block;
}

.footer-link a:hover {
    color: #d71920;
}

.footer ul li {
    font-size: 15px;
    line-height: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li i {
    font-size: 11px;
    vertical-align: middle;
    padding-left: 5px;
}

.footer-link a:hover>i {
    padding-right: 3px;
    transition-duration: 0.3s;
    padding-left: 2px;
}

.footer-about {
    font-size: 13px;
    text-align: justify;
    color: #ccc;
    line-height: 25px;
}

.footer-contact {
    font-size: 14px;
    color: #666;
    line-height: 27px;
}

.footer-contact a {
    color: #666;
}

.footer .nemad {
    border-radius: 10px;
    text-align: center;
}

@media(max-width: 768px) {
    .footer-nemad {
        padding-top: 40px;
        padding-bottom: 80px;
    }
    .footer-office {
        padding-top: 20px;
    }
}

.set-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


/********************** PRODUCT SM *******************/

.products-page {
    padding: 10px 25px;
}

.products-detail {
    padding: 10px !important;
}

.products-detail .products-sm {
    width: 100%;
    height: 320px;
    border: 1px solid #ccc;
    transition-duration: 0.5;
    position: relative;
    border-radius: 8px;
}


.products-detail .products-sm .pid {
    color: #333;
    font-size: 13px;
    float: left;
    padding: 5px;
}


@media(max-width: 768px) {
    .products-page {
        padding: 7px 20px;
    }
    .products-detail .products-sm {
        height: 250px;
    }
    .products-detail {
        padding: 7px !important;
    }
}

.products-detail:hover .products-sm {
    border: 1px solid #d71920;
    transition-duration: 0.5;
}

.tamam {
    background-color: red;
    font-size: 14px;
    border-radius: 5px;
    position: absolute;
    top: 0px;
    right: 22px;
    padding: 2px 5px;
    color: #FFF;
}

.over-black {
    -webkit-filter: grayscale(1);
}

.products-detail {
    margin-bottom: 35px;
}

.products-detail h3 {
    font-size: 14px;
    font-family: fontbold;
    color: #1e1e1e;
    text-align: center;
    padding-top: 15px;
    margin-bottom: 10px;
    overflow: hidden;
    word-spacing: normal;
    width: 100%;
    height: 35px;
    line-height: 18px;
}

.toman {
    width: 18px;
    margin-top: -5px;
    margin-right: 2px;
}

.products-detail .price,
.products-detail .red-price {
    text-align: center;
    font-size: 13px;
}

.products-detail .price span,
.products-detail .red-price span {
    font-family: fontbold;
    font-size: 15px;
    color: #008000;
}

.products-detail .red-price .takh {
    color: red;
    font-size: 14px;
}

.red {
    color: red;
}

@media(max-width: 768px) {
    .products-detail h3 {
        font-size: 13px;
    }
    .products-detail .price {
        font-size: 14px;
    }
}


.products-relate {
    padding: 10px !important;
}

.products-relate .products-sm {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    transition-duration: 0.5;
    position: relative;
    border-radius: 8px;
}

.products-relate .products-sm:hover {
    border-color: #d71920;
}

.products-relate h3 {
    font-size: 14px !important;
    text-align: center;
    color:#000;
}

@media(max-width: 768px) {
    .products-relate .products-sm {
        height: 250px;
    }
    .products-relate {
        padding: 7px !important;
    }
    .products-relate h3 {
        font-size: 13px !important;
    }
}


/*************** AMAZING ***************/

.amazing {
    width: 100%;
    min-height: 390px;
    background-color: #ef1818;
}

.amazing-img {
    width: 95%;
}
.amazing-list {
    width: 100%;
    height: 350px;
    border-radius: 7px;
    background: #FFF;
    margin-top: 20px;
    padding: 0 25px;
}

.amazing .toman {
    width: 18px;
    margin-top: -5px;
    display: inline;
}


@media(max-width: 992px) {
    .amazing .products-detail h3 {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .amazing .products-detail .price, .amazing .products-detail span {
        font-size: 12px !important;
    }
    .amazing {
        min-height: 440px;
    }
}


.slick-prev,
.slick-next {
    width: 34px;
    height: 34px;
    line-height: 38px;
    padding: 0px;
    font-size: 18px;
    border-radius: 20px;
    color: #FFF;
}

.slick-prev {
    position: absolute;
    left: 0px;
    top: -48px;
    padding-right: 3px;
}

.slick-next {
    position: absolute;
    right: 0px;
    top: -48px;
    padding-left: 1px;
}

@media(min-width: 992px) {
    .slick-prev,
    .slick-next {
        display: none !important;
    }
}



/*************** MAIN BLOG *************/

#main {
    margin: 5px 0;
}

#main #faq .card {
    margin-bottom: 10px;
    border: 0;
}

#main #faq .card .card-header {
    border: 0;
    -webkit-box-shadow: 0 0 20px 0 rgba(213, 213, 213, 0.5);
    box-shadow: 0 0 20px 0 rgba(213, 213, 213, 0.5);
    border-radius: 2px;
    padding: 0;
    font-family: fontbold;
}

#main #faq .card .card-header .btn-header-link {
    color: #fff;
    display: block;
    text-align: right;
    background: #FFE472;
    color: #222;
    padding: 12px 20px;
}

#main #faq .card .card-header .btn-header-link.collapsed {
    background: #008000;
    color: #fff;
}

#main #faq .card .collapsing {
    background: #FFE472;
    line-height: 30px;
}

#main #faq .card .collapse {
    border: 0;
}

#main #faq .card .collapse.show {
    background: #FFE472;
    line-height: 30px;
    color: #222;
}

.main-pro {
    margin-top: 50px;
}

.main-pro h3 {
    font-size: 26px;
    text-align: center;
    background: #FFF;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: inline;
    text-align: center;
}

.main-pro p {
    margin-top: 25px;
    margin-bottom: 0;
    padding-bottom: 0px;
}

.main-pro hr {
    border-top: 2px solid #d71920;
    margin-top: -13px;
    margin-bottom: 10px;
}

@media(max-width: 768px) {
    .main-pro h3 {
        font-size: 20px;
        padding: 0 10px;
    }
    .main-pro hr {
        border-top: 2px solid #d71920;
        margin-top: -14px;
        margin-bottom: 40px;
    }
}

.copyr {
    color: #666;
    font-size: 14px;
    text-align: center;
    padding-bottom: 10px;
}


.copyr hr {
    height: 1px;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(rgba(0, 0, 0, 0)), color-stop(0.5, #d71920), to(rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), #d71920, rgba(0, 0, 0, 0));
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0), #d71920, rgba(0, 0, 0, 0));
    background: -o-linear-gradient(left, rgba(0, 0, 0, 0), #d71920, rgba(0, 0, 0, 0));
    background: linear-gradient(left, rgba(0, 0, 0, 0), #d71920, rgba(0, 0, 0, 0));
    border: 0;
  }
.copyr hr:after {
    display: block;
    content: '';
    height: 0px;
    background-image: -webkit-gradient(radial, 50% 0%, 0, 50% 0%, 116, color-stop(0%, #d71920), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -webkit-radial-gradient(center top, farthest-side, #d71920 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -moz-radial-gradient(center top, farthest-side, #d71920 0%, rgba(255, 255, 255, 0) 100%);
    background-image: -o-radial-gradient(center top, farthest-side, #d71920 0%, rgba(255, 255, 255, 0) 100%);
    background-image: radial-gradient(farthest-side at center top, #d71920 0%, rgba(255, 255, 255, 0) 100%);
  }

.copyr a:link,
.copyr a:visited {
    color: #666;
}

.copyr a:hover {
    color: #d71920;
}

@media(max-width: 768px) {
    .copyr {
        
    }
}

.radius-15 {
    border-radius: 15px;
}

.product h3 {
    font-size: 17px;
    margin-top: 15px;
}

.product h4 {
    font-size: 16px;
}

.product span {
    font-family: fontbold;
    color: #008000;
    padding-left: 5px;
}

.product .price, .product .size-button {
    text-align: right !important;
}

@media(max-width: 768px) {
    .product h3 {
        text-align: center;
    }
    .product .price, .product .size-button {
        text-align: center !important;
    }
}

.vtitle {
    font-weight: bold;
    font-size: 15px;
    position: relative;
    padding-right: 25px;
}

.circle {
    font-size: 30px;
    line-height: 20px;
    position: absolute;
    top: 5px;
    right: 0px;
    padding-left: 10px;
}

.vizh {
    border-right: 1px solid #CCC;
    margin-right: 9px;
    margin-top: 2px;
}

.vizh li {
    line-height: 30px;
    font-size: 15px;
}

#order_table {
    font-size: 14px;
}

@media(max-width: 768px) {
    #order_table {
        font-size: 13px;
    }
}

.content-page h3 {
    font-size: 24px;
    color: #008000;
    padding: 20px 0 10px 0;
    margin-bottom: 20px;
    display: inline-block;
}

.content-page h3 {
    border-bottom: 3px solid #008000;
}

.content-page h4 {
    font-size: 18px;
}

.content-title {
    font-size: 18px;
    padding-top: 5px;
}

.blog-section {
    border-radius: 10px;
    border: 2px solid #d71920;
    padding: 15px 15px 10px 15px;
    margin-bottom: 30px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, .1);
}

.blog-section:hover {
    border: 2px solid #008000;
    transition-duration: 0.5s;
    box-shadow: 0px 0px 15px rgba(0, 55, 51, .3);
}

.blog-section h2 {
    font-size: 18px;
    color: #008000;
}

.blog-section p {
    font-size: 15px;
    color: #000;
}

.blog-section .date {
    padding-top: 2px;
    font-size: 13px;
    color: #008000;
}

.content-page {
    text-align: justify;
    padding: 15px;
    line-height: 30px;
}


/*********************** SEARCH ********************************/

#search-btn:hover {
    cursor: pointer;
}

#search-overlay {
    display: none;
}

.block {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    text-align: center;
    background: rgba(0, 0, 0, .9);
    margin: 0;
    z-index: 999;
}

.block:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-top: -30%;
    margin-right: 0;
}

.centered {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    padding: 10px 15px;
    color: #FFF;
    border: none;
    background: transparent;
}

@media (max-width: 1024px) {
    .centered {
        width: 75%;
    }
}

@media (max-width: 768px) {
    .centered {
        width: 95%;
    }
}

#search-box {
    position: relative;
    width: 100%;
    margin: 0;
}

#search-form {
    height: 4em;
    border: 1px solid #999;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color: #fff;
    overflow: hidden;
}

.search-box {
    height: 50px;
    border-radius: 15px !important;
    border: 2px solid #d71920;
}



#search-text {
    font-size: 14px;
    color: #ddd;
    border-width: 0;
    background: transparent;
}

#search-box input[type="text"] {
    width: 100%;
    padding: 10px;
    color: #333;
    outline: none;
    font-size: 1em;
    direction: rtl;
}

#search-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 4.7em;
    width: 100px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 42px;
    border-width: 0;
    background-color: #4d90fe;
    cursor: pointer;
}

#close-btn {
    position: fixed;
    top: 1em;
    right: 1em;
    font-size: 40px;
}

#close-btn:hover {
    color: #777;
    cursor: pointer;
}


@media(max-width: 768px) {
    #search-box {
        position: relative;
        width: 100%;
        margin-top: 60px;
    }
    
    #search-form {
        height: 4em;
        border: 1px solid #999;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        background-color: #fff;
        overflow: hidden;
    }
    
    #search-box input[type="text"] {
        width: 100%;
        padding: 5px;
        color: #333;
        outline: none;
        font-size: 14px;
        direction: rtl;
        text-align: center;
    }
}

/***************** AJAX SEARCH ******************/

.textbox-clr {
    cursor: pointer;
    width: 20px;
    height: 42px;
    float: left;
    border: none;
    margin-top: 15px;
    text-align: center;
    position: absolute;
    left: 15px;
    z-index: 9999999;
}

#search-layer {
    position: absolute;
    z-index: 9;
    height: 100%;
    left: 0px;
    top: 0px;
}


/***********************************/

#livesearch {
    z-index: 9999;
    background: #0071b4;
    max-height: 260px;
    overflow: auto;
    width: 90%;
    box-shadow: 0px 0px 1px #000;
    margin-right: 5%;
    position: absolute;
    direction: rtl;
    border-radius: 20px;
    margin-top: 5px;
}

#livesearch2 {
    z-index: 9999;
    background: #0071b4;
    max-height: 260px;
    overflow: auto;
    width: 100%;
    box-shadow: 0px 2px 4px #444;
    margin-left: 1.2%;
    position: absolute;
    direction: rtl;
    border-radius: 7px;
}


/***********************************/

.live-outer {
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #ccc;
    background: #fff;
    overflow: hidden;
}

.live-outer:hover {
    background: #F3F3F3;
}

.live-product-det {
    float: right;
    width: 100%;
    height: 50px;
}

.live-product-name {
    margin-top: 4px;
    line-height: 50px;
    font-size: 13px;
}

.limg {
    width: 50px;
    float: right;
}

.ltext {
    margin-right: 80px;
}

.live-product-name img {
    margin-left: 5px;
    margin-right: 5px;
}

.live-product-price {
    border-right: 1px solid #CCC;
}

.link-p-colr {
    color: #333;
}


/************** CART BOX ***********/

.cart-box {
    border: 2px solid #008000;
    border-radius: 7px;
    padding: 10px;
    margin-bottom: 20px;
}

.cart-box .cart-img {
    float: right;
    width: 75px;
    margin-left: 15px;
}

.cart-box .cart-img img {
    width: 80px;
    height: 120px;
    border-radius: 5px;
    object-fit: cover;
}

.cart-box .cart-title {
    line-height: 40px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    color: #008000;
    font-family: fontbold;
    font-size: 14px;
}

.cart-box .cart-size {
    width: calc(60% - 60px);
    float: right;
    text-align: right;
    padding: 15px 5px 5px 5px;
    font-size: 14px;
}

.cart-box .cart-count {
    width: calc(40% - 30px);
    float: right;
    text-align: left;
    padding: 15px 5px 5px 5px;
    font-size: 14px;
}


.cart-box .cart-price {
    width: calc(100% - 90px);
    float: right;
    text-align: right;
    padding: 10px 5px 15px 5px;
    font-size: 14px;
}

.cart-box .cart-price span {
    float: left;
}

.cfix {
    clear: both;
}

.cart-box hr {
    margin: 0px;
}

.cart-box span,
.cart-check span {
    font-family: fontbold;
    font-size: 14px;
}

.cart-box .cart-del {
    float: right;
    padding: 9px 0px 0px 0px;
}

.cart-box .cart-sum {
    width: 100%;
    text-align: left;
    font-size: 14px;
    padding: 12px 0px 3px 0px;
}

.cart-box .cart-sum span {
    color: #0071b4;
}

.cart-check {
    background: #eee;
    border-radius: 7px;
    padding: 10px 15px 15px 15px;
}

.cart-check:hover,
.check-sum:hover {
    background: #ddd;
    transition-duration: 0.3s;
}

.cart-check .check-top {
    text-align: center;
    font-family: fontbold;
    color: #008000;
    font-size: 20px;
    padding: 10px 0;
}

.cart-check .check-right,
.check-sum .check-right {
    float: right;
    padding-right: 10px;
}

.cart-check .check-left,
.check-sum .check-left {
    float: left;
    text-align: left;
    padding-left: 10px;
}

.cart-check span {
    color: #008000;
}

.check-sum {
    padding: 10px 15px;
    border-radius: 7px;
    background-color: #eee;
    margin-top: 15px;
}

.check-sum span {
    color: red;
    font-family: fontbold;
    font-size: 20px;
}

.pay input {
    padding-top: 10px;
    padding-bottom: 10px;
}


/****************** BRANCH *****************/

.branch-page {
    padding: 40px 40px 0px 40px;
}

.branch-page h3 {
    font-size: 20px;
    font-family: fontbold;
    color: #008000;
}

.branch-page .branch {
    margin-bottom: 60px;
}

.branch-page p span {
    font-family: fontbold;
}

.branch-page .map {
    width: 100%;
    height: 220px;
    border: 1px solid #008000;
    border-radius: 10px;
}

@media(max-width: 768px) {
    .branch-page {
        padding: 20px 20px 0px 20px;
    }
    .branch-page .map {
        margin-top: 20px;
    }
}

.order-card {
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 14px;
}

.card-header hr {
    margin: 10px 0;
}

.order-card .card-header {
    border: 0px;
}

.order-card div {
    border-radius: 0px;
}



.order-card .order-detail div {
    font-size: 14px;
    line-height: 30px;
}

.order-card .card-body {
    padding-bottom: 0px;
}

.order-detail .ord-img {
    width: 50px;
    height: 50px;
    border-radius: 0px;
    object-fit: cover;
    border: 1px solid #ccc;
    margin-top: -8px;
}

@media(max-width: 768px) {
    .order-card .order-detail div {
        line-height: 20px;
    }
}

.tags a:link,
.tags a:visited {
    font-size: 13px;
    background-color: #ddd;
    border-radius: 3px;
    margin-left: 5px;
    padding: 3px 10px 2px 10px;
}

.modal-header {
    padding-top: 13px;
    padding-bottom: 10px;
}

.modal-body {
    padding-bottom: 0px;
}

.modal-footer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal-title {
    font-size: 18px;
}

@media(max-width: 768px) {
    .modal-dialog {
        max-width: 80%;
        margin-left: 10%;
    }
}

.border-shadow-left{
    border-left: 1px solid #dbd8cf;
    background: linear-gradient(left, #ccc  0%, #fff 10%);
    background: -ms-linear-gradient(left, #ccc  0%,#fff 10%);
    background: -moz-linear-gradient(left, #ccc  0%,#fff 10%);
    background: -webkit-linear-gradient(left, #ccc  0%, #fff 10%);
    box-shadow: -44px 120px 80px -72px #fff inset, -44px -120px 80px -72px #fff inset;
}

.border-shadow-right{
    border-right: 1px solid #dbd8cf;
    background: linear-gradient(right, #ccc  0%, #fff 10%);
    background: -ms-linear-gradient(right, #ccc  0%,#fff 10%);
    background: -moz-linear-gradient(right, #ccc  0%,#fff 10%);
    background: -webkit-linear-gradient(right, #ccc  0%, #fff 10%);
    box-shadow: -44px 120px 80px -72px #fff inset, -44px -120px 80px -72px #fff inset;
}

  
/****************** ZOOM *****************/

  .sp-loading {
    text-align: center;
    min-width: 100%;
    padding: 15px;
    border: 5px solid #eee;
    border-radius: 0px;
    font-size: 12px;
    color: #888;
}

.sp-wrap {
    display: none;
    line-height: 0;
    font-size: 0;
    border-radius: 0px;
    position: relative;
    float: right;
    width: 100%;
}

@media (min-width: 992px) {
    .sp-wrap {}
}


/* Thumbnails */

.sp-thumbs {
    text-align: left;
    display: inline-block;
}

.sp-thumbs img {
    min-height: 50px;
    min-width: 50px;
    max-width: 50px;
}

.sp-thumbs a:link,
.sp-thumbs a:visited {
    width: 95px;
    height: 100px;
    margin-left: 10px;
    margin-top: 10px;

    border-radius: 7px;
    overflow: hidden;
    opacity: .3;
    display: inline-block;
    background-size: cover;
    background-position: center;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.sp-thumbs a:hover {
    opacity: 1;
}

.sp-thumbs a:active,
.sp-current {
    opacity: 1!important;
    position: relative;
}

.sp-large {
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
}

.sp-large a img {
    max-width: 100%;
    height: auto;
    border-radius: 7px;
}

.sp-large a {
    display: block;
}

.sp-zoom {
    position: absolute;
    left: -50%;
    top: -50%;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
    display: none;
}

.sp-zoom {
    position: absolute;
    left: -50%;
    top: -50%;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
    display: none;
}

.sp-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, .9);
    z-index: 9999999;
    display: none;
    cursor: pointer;
}

.sp-lightbox img {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #fff;
}

#sp-prev,
#sp-next {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    z-index: 501;
    color: #fff;
    padding: 14px;
    text-decoration: none;
    background: #000;
    border-radius: 25px;
    border: 2px solid #fff;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    transition: .2s;
}

#sp-prev {
    left: 10px;
}

#sp-prev:before {
    content: '';
    border: 7px solid transparent;
    border-right: 15px solid #fff;
    position: absolute;
    top: 16px;
    left: 7px;
}

#sp-next {
    right: 10px;
}

#sp-next:before {
    content: '';
    border: 7px solid transparent;
    border-left: 15px solid white;
    position: absolute;
    top: 16px;
    left: 18px;
}

#sp-prev:hover,
#sp-next:hover {
    background: #444;
}

@media screen and (max-width: 400px) {
    .sp-wrap {
        margin: 0 0 15px 0;
    }
    #sp-prev,
    #sp-next {
        top: auto;
        margin-top: 0;
        bottom: 25px;
    }
}

.nav__text {
    position: relative;
}
.mobile-pcount {
    width: 15px;
    height: 15px;
    text-align: center;
    color: #fff;
    border-radius: 3px;
    background-color: #d71920;
    position: absolute;
    top: 0px;
    right: 0px;
    margin-top: -30px;
}

.size {
    width: 150px;
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 7px;
    margin-right: 10px;
}

  .sel-text {
    float: right;
    line-height: 40px;
    font-size: 14px !important;
  }


  .protect {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 40px;
  }


  .major-page {
    padding: 20px;
}

.major-page img {
    width: 150px;
}

.major-page h5 {
    font-size: 18px;
    padding-top: 20px;
}

.major-page a:link, .major-page a:visited {
    color: #000;
} 

.major-page a:hover {
    color: #d71920;
}

.major-page h6 {
    font-size: 13px;
}

@media(max-width: 768px) {
    .major-page {
        padding: 10px 20px;
    }
    .major-page img {
        width: 100px;
    }
    .major-page h5 {
        font-size: 14px;
        padding-top: 20px;
    }
    .major-page h6 {
        font-size: 13px;
    }
}


 .m-select {
    display: none;
  }
  
  .prod {
    cursor: pointer;
  }

  .prod img  {
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 0px;
  }

  .m-select:checked + img {
    box-shadow: 0 0 0 2px #d71920;
    transition: box-shadow 0.11s;
    border-radius: 10px;
  }

  .pfilter {
    font-size: 14px;
    background-color: #FFF;
    margin-bottom: 15px;
  }

  @media(max-width: 768px) {
    .pfilter {
        line-height: 40px;
        margin-bottom: 15px;
    }
  }

  .submit-div {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 60px;
    color: #FFF;
    background: #222;
    z-index: 999;
    line-height: 60px;
  }

  .major-desk {
    display: inline-block;
  }

  .major-mob {
    display: none;
  }

  @media(max-width: 768px) {
    .submit-div {
        bottom: 60px;
        z-index: 998;
    }
    .major-mob {
        display: inline-block;
    }
    .major-desk {
        display: none;
    }
  }

  .container .box {
    display: inline-block;
    -webkit-animation: fadeIn 1s ease forwards;
    animation: fadeIn 1s ease forwards;
  }
  
  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }


  
  .fetch-color {
    width: 15px;
    height: 15px;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #333;
  }



  .preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  justify-content: center;
  }
  .preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 5px;
    border-radius: 5px;
  }

  .subtext {
    color: #d71920;
    font-size: 14px;
  }



  .custome-file {
    background-color: #FF8080;
    color: white;
    width: 200px;
    height: 50px;
    position: relative;
    right: calc(50% - 100px);
    border-radius: 5px;
    text-align: center;
    padding-top: 6px;
  }
  .custome-file span {
    position: absolute;
    font-size: 18px;
    text-align: center;
  }
  .custome-file span i {
    color: white;
    font-size: 25px;
    margin: 15px 20px 10px 20px;
  }
  .custome-file input[type=file] {
    opacity: 0;
    width: 100%;
    height: 100%;
  }
  .custome-file input[type=file]:hover {
    cursor: pointer;
  }


  .digit-group input {
    width: 20%;
    margin-right: 5px;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #d71920;
    background-color: #FFF;
    text-align: center;
    margin: 0px 5px;
}

.digit-group input:last-child {
    margin-right: 0;
}

.pd-0 {
    padding-left: 0px;
    padding-right: 0px;
}

.digit-group .splitter {
    padding: 0 5px;
    color: white;
    font-size: 24px;
}

.checktext {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.checktext span {
    font-family: fontbold;
}

.paytitle {
    font-size: 14px;
    font-family: fontbold;
}


.drilldown a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.drilldown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.drilldown li {
    padding: 10px;
    border-bottom: 1px dotted #ededed;
    display: block;
}

.drilldown li:last-child {
    border-bottom: 0px;
}

.drilldown li a {
    display: block;
}

.drilldown i {
    margin-top: -18px;
}

.drilldown {
    overflow: hidden;
    width: 100%;
    padding: 0px 10px 10px 10px;
    margin: 0px auto;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.drilldown-sub {
    display: none;
}

.drilldown-back {
    font-weight: bold;
}

.modal-header {
    padding-top: 8px;
    padding-bottom: 8px;
}

.modal-body {
    padding-bottom: 0px;
}

.modal-header .close {
    margin-top: -8px !important;
}
.modal-footer {
    padding-top: 10px;
    padding-bottom: 10px;
}

.modal-title {
    font-size: 18px;
}

@media(max-width: 768px) {
    .modal-dialog {
        width: 80%;
        margin-right: 10%;
    }
}

.border-shadow-left{
    border-left: 1px solid #dbd8cf;
    background: linear-gradient(left, #ccc  0%, #fff 10%);
    background: -ms-linear-gradient(left, #ccc  0%,#fff 10%);
    background: -moz-linear-gradient(left, #ccc  0%,#fff 10%);
    background: -webkit-linear-gradient(left, #ccc  0%, #fff 10%);
    box-shadow: -44px 120px 80px -72px #fff inset, -44px -120px 80px -72px #fff inset;
}

.border-shadow-right{
    border-right: 1px solid #dbd8cf;
    background: linear-gradient(right, #ccc  0%, #fff 10%);
    background: -ms-linear-gradient(right, #ccc  0%,#fff 10%);
    background: -moz-linear-gradient(right, #ccc  0%,#fff 10%);
    background: -webkit-linear-gradient(right, #ccc  0%, #fff 10%);
    box-shadow: -44px 120px 80px -72px #fff inset, -44px -120px 80px -72px #fff inset;
}

.pmenu a {
    padding: 10px 0;
    border: 1px solid #ccc;
    line-height: 24px;
}

.pmenu a:link,
.pmenu a:visited {
    text-align: center;
    font-size: 14px;
    display: block;
}

.pmenu a:hover {
    border-color: #d71920;
    color: #d71920;
}

.pmenu i {
    font-size: 25px;
}




.red-line {
    background-color: #ef1818;
    text-align: center;
    color: #FFF;
    padding: 15px 0 10px 0;
}


.red-line h3 {
    font-family: fontbold;
    font-size: 14px;
    padding-top: 10px;
}

.red-line img {
    height: 45px;
}



/*******************  toast  **********************/

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #008000;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 10px 10px 10px 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 15px;
  }

  @media(max-width: 768px) {
    #snackbar {
        visibility: hidden;
        min-width: 100%;
        height: 60px;
        margin-left: 0;
        background-color: #008000;
        color: #fff;
        text-align: center;
        border-radius: 2px;
        padding: 15px 10px 10px 16px;
        position: fixed;
        z-index: 1000;
        left: 0px;
        bottom: 0px;
        font-size: 15px;
      }
  }
  
  #snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  @-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
  }


  @media(max-width: 768px) {
    @-webkit-keyframes fadein {
        from {bottom: 0; opacity: 0;} 
        to {bottom: 0px; opacity: 1;}
      }
      
      @keyframes fadein {
        from {bottom: 0; opacity: 0;}
        to {bottom: 0px; opacity: 1;}
      }
      
      @-webkit-keyframes fadeout {
        from {bottom: 0px; opacity: 1;} 
        to {bottom: 0; opacity: 0;}
      }
      
      @keyframes fadeout {
        from {bottom: 0px; opacity: 1;}
        to {bottom: 0; opacity: 0;}
      }
  }




  .orders-top {
    margin: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px 0;
  }

  .orders-top img {
    border-radius: 5px;
  }



/**************** gift ******************/

.gift {
    width: 100%;
    text-align: center;
    border-radius: 5px;
    color: #FFF;
    padding: 15px 0px;
    margin-bottom: 15px;
    background: #ef1818;
}

.gift h3 {
    font-size: 18px;
}



/***************************/

@media(max-width: 768px) {
    .learn-video {
        width: 100%;
    }
}