@font-face {
    font-family: "ISM";
    font-style: normal;
    font-display:swap;
    font-weight: 400;
    src: local("ISM Regular"), local("ISM-Regular"), url("/fonts/ISM.woff2") format("woff2"), url("/fonts/ISM.woff") format("woff"), url("/fonts/ISM.ttf") format("truetype");
}

@font-face {
    font-family: "Bardiya";
    font-style: normal;
    font-display:swap;
    font-weight: 400;
    src: local("Bardiya Regular"), local("Bardia-Regular"), url("/fonts/Bardiya.ttf") format("truetype");
}
@font-face {
    font-family: "Yekan";
    font-display:swap;
    font-style: normal;
    font-weight: 400;
    src: local("Yekan Regular"), local("Yekan-Regular"), url("/fonts/Yekan.ttf") format("truetype");
}

body > .container-fluid, body > .container {
    background-color: #f8f9fb;
}

.top {
    background-color: #f8f9fb;
    box-shadow: 5px 7px 13px 16px #ddd;
}

.btn {
    font-family: ISM;
}

.w-40-p {
    width: 40px;
}

.bg_1 {
    position: relative;
}

.bg_1 > .row {
    position: relative;
    z-index: 10;
}

.bg_1::before {
    content: "";
    position: absolute;
    /*background-image: url("/web_images/top_bg.webp");*/
    /*mask-image: linear-gradient(to left, rgb(0, 0, 0) 50%, transparent 80%);*/
    height: 100%;
    width: 95%;
    z-index: 9;
}

.bg_1_left::before {
    mask-image: linear-gradient(to right, rgb(0, 0, 0) 50%, transparent 80%);
}

.top_right_msg {
    font-family: ISM;
    font-size: 16px;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: solid 1px #bbbbbb;
}

.top_mid {
    font-family: Bardiya;
    font-size: 20px;
    font-weight: bold;
}

.flip {
    transform: scaleX(-1);
}

.top_msg_icon {
    background-image: url("https://astra.dev-wp.ir/crafts/wp-content/uploads/2023/07/Group-2-1.png");
    width: 24px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.flex {
    display: flex;
}

.consultation a {
    font-size: 16px;
    font-family: ISM;
    padding: 10px;
    color: darkslateblue;
}

.top_sm_img {
    background-image: url("https://astra.dev-wp.ir/crafts/wp-content/uploads/2023/07/Asset-1-3-1.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}

.height_40p {
    height: 40px;
}

.navbar-v .navbar {
    background-color: white;
    border-radius: 20px;
    width: max-content;
    margin-right: auto;
    margin-left: auto;
    margin-top: 40px;
}
.navbar-v .navbar > ul.nav > li > a::before{
    position: absolute;
    content: "";
    top: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background-color: darkslateblue;
    transition: .5s;

}
.navbar-v{
    position: relative;
    z-index: 10;
    /*margin-top: 60px;*/
}

.navbar-v .navbar ul.nav li{
    position: relative;
}
.navbar-v .navbar ul.nav li:hover a::before{
    width: 100%;
    right: 0px;
}
ul.dropdown-menu {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    margin-top: 15px;
}

ul.dropdown-menu li {
    padding: 11px 20px;
    border-top: 1px solid #eee;
    padding: 0px;
    margin: 0px;
}
ul.dropdown-menu li:first-child {
    border-top: 0px;
}
a.dropdown-item {
    padding: 11px 20px;
}

.nav-link, .dropdown-item {
    font-size: 16px;
    font-family: ISM;
}

.dropdown-menu li {
    position: relative;
}

/*.dropdown-menu .dropdown-submenu {*/
/*    display: none;*/
/*    position: absolute;*/
/*    right: 30%;*/
/*    top: 20px;*/
/*}*/

.dropdown-menu .dropdown-submenu-left {
    left: 100%;
    right: auto;
}

ul.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.nav-link:visited, .nav-link:hover, .nav-link:focus, .nav-link:active, .nav-link:target {
    color: #64A39A;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #64A39A;
    background-color: unset;
}

.dropdown-menu.dropdown-submenu > li {
    width: 11rem;
    position: relative;
    float: right;
}

ul.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
    min-width: 23rem;
}
.slider-v {
    /*margin-top: -120px;*/
    z-index: 1;
    position: relative;
    max-width: 847px;
    max-height: 300px;
    margin-right: auto;
    margin-left: auto;
}
.carousel-item h5, .carousel-item p {
    background-color: rgba(255, 0, 0, 0.05);
    display: block;
    border-radius: 20px;
    padding: 10px;
    font-weight: bold;
    width: fit-content;
    font-family: Bardiya;
}

.carousel-item p {
    background-color: rgba(255, 0, 0, 0.4);
    font-size: 18px;
}

.carousel-item h5 {
    background-color: rgba(255, 0, 0, 0.1);
    font-size: 25px;
}

.carousel-control-next i, .carousel-control-prev > i {
    background-color: #f8f8fb;
    border-radius: 50px;
    height: 40px;
    width: 40px;
    color: #64A39A;
    font-size: 25px;
}

.carousel-control-next {
    width: 50px;
    left: -27px;
}

.carousel-control-prev {
    width: 50px;
    right: -27px;
}

.carousel-control-next, .carousel-control-prev {

    opacity: 1;
}

#carouselExampleCaptions {
    /*height: 400px;*/
    width: min-content;
    margin-left: auto;
    margin-right: auto;
    border: solid 1px black;
    border-radius: 20px;
    margin-top: 40px;
}

#carouselExampleCaptions img {
    border-radius: 20px;
}

.why {
    font-family: ISM;
    margin-top: 40px;
    font-size: 18px;
}

.why {
    font-family: ISM;
    font-size: 18px;
}

.why_desc {
    box-shadow: 10px 10px 10px 10px #ddd;
    border-radius: 20px;
    margin-top: 40px;
    padding: 10px;
}

.why_desc .title {
    font-size: 18px;
    text-align: center;
    margin-top: 20px;
}

.why_desc h3 {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    font-family: bardiya;
}

.why_desc p {
    font-size: 14px;
    padding: 10px;
    line-height: 30px;
}

.why h2 {
    font-size: 16px;
    text-align: center;
    padding: 10px;
    font-family: yekan;
    font-weight: bold;
}

.why .col-md-4 {
    font-size: 14px;
    text-align: center;
}

.why_2 {
    border-right: solid 2px #ddd;
    border-left: solid 2px #ddd;

}

.why_1, .why_2, .why_3 {
    line-height: 28px;
}
.footer-v{
    margin-top: 40px;
}
.footer-v .info{
    background-color: darkslateblue;
    color: white;
    font-family: ISM, serif;
    padding: 10px 60px 10px 10px;
    font-size: 16px;
    line-height: 32px;
}
.footer-v .info > .img{
    text-align: center;
}
.footer-v .info > div {
    margin-bottom: 20px;
    font-family: ISM;
}
.footer-v .extera-info{
    background-color: white;
}



/*doctor cart*/

.card{

    background-color: #fff;
    border:none;
    border-radius: 10px;
    /*width: 265px;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

.image-container{

    display: grid;
    position: relative;
    text-align: center;
    height: 265px;
    margin-right: auto;
    margin-left: auto;
}

.thumbnail-image{
    border-radius: 10px !important;
    max-height: 265px;
    max-width: 255px;
    margin-top: auto;
    margin-bottom: auto;
}


.discount{

    background-color: red;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 10px;
    border-radius: 6px;
    color: #fff;
}

.wishlist{

    height: 25px;
    width: 25px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow:  0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



.dress-name{
    font-size: 13px;
    font-weight: bold;
    width: 100%;
    font-family: ISM;
    text-align: center;
}


.new-price{
    font-size: 13px;
    font-weight: bold;
    color: red;

}
.old-price{
    font-size: 8px;
    font-weight: bold;
    color: grey;
}


.doctor-cart .btn{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    padding: 3px;
}
.row.doctor-cart > div {
    margin-bottom: 20px;
}
.creme{
    background-color: #fff;
    border: 2px solid grey;


}
.creme:hover {
    border: 3px solid grey;
}

.creme:focus {
    background-color: grey;

}


.red{
    background-color: #fff;
    border: 2px solid red;

}


.red:hover {
    border: 3px solid red;
}
.red:focus {
    background-color: red;
}



.blue{
    background-color: #fff;
    border: 2px solid #40C4FF;
}

.blue:hover {
    border: 3px solid #40C4FF;
}
.blue:focus {
    background-color: #40C4FF;
}
.darkblue{
    background-color: #fff;
    border: 2px solid #01579B;
}
.darkblue:hover {
    border: 3px solid #01579B;
}
.darkblue:focus {
    background-color: #01579B;
}
.yellow{
    background-color: #fff;
    border: 2px solid #FFCA28;
}
.yellow:hover {
    border-radius: 3px solid #FFCA28;
}
.yellow:focus {
    background-color: #FFCA28;
}


.item-size{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid grey;
    color: grey;
    font-size: 10px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}


.rating-star{
    font-size: 10px !important;
}
.rating-number{
    font-size: 10px;
    color: grey;

}
.buy{
    font-size: 12px;
    color: purple;
    font-weight: 500;
}
.voutchers{
    background-color: #fff;
    border:none;
    border-radius: 10px;
    width: 265px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: hidden;

}
.voutcher-divider{

    display: flex;

}
.voutcher-left{
    width: 60%;
    font-family: ISM;
    font-size: 16px;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
}
.voutcher-name{
    color: grey;
    font-size: 9px;
    font-weight: 500;
}
.voutcher-code{
    color: red;
    font-size: 11px;
    font-weight: bold;
}
.voutcher-right{
    width: 40%;
    background-color: purple;
    color: #fff;
    height: 40px;
    line-height: 40px;
    font-family: ISM;
}

.discount-percent{
    font-size: 12px;
    font-weight: bold;
    position: relative;
    top: 5px;
}
.off{
    font-size: 14px;
    position: relative;
    bottom: 5px;
}
a.cart,a.cart:active,a.cart:hover,a.cart:visited    {
    text-decoration: unset;
    color: white;
}

.price-card{
    font-family: ISM;
}
td.doctor-price{
    font-family:bardiya;
    font-size: 18px;
    font-weight: bold;
}

/* سفارشی کردن زیر منوها */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}
#dropdown2 {
    position: absolute;
}
@media only screen and (max-width: 500px) {
    .dropdown-menu.show {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(60lvw, 1fr));
        max-width: 100lvw;
    }
}
@media only screen and (min-width: 501px) and ( max-width: 991px) {
    .dropdown-menu.show {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(20lvw, 1fr));
        max-width: 74lvw;
    }

}
@media only screen and (min-width: 992px) and (max-width: 1400px) {
    .dropdown-menu.show {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(12lvw, 1fr));
        max-width: 60lvw;
    }

}
@media only screen and (min-width: 1401px) {
    .dropdown-menu.show {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(9lvw, 1fr));
        max-width: 50lvw;
    }

}