/*
Theme Name: قالب پزشکی
Theme URI: ...
Author: medical
Author URI: ...
Description: medical theme
Version: 1.0
*/
* {
     margin: 0;
     padding: 0;
     border: 0;
     outline: 0;
}
 @font-face {
     font-family: 'Shabnam';
     src: url('fonts/Yekan-Bakh-FaNum-05-Medium.woff') format('woff');
}

@font-face {
    font-family: 'en-font';
    src: url('fonts/Manrope-VariableFont_wght.ttf') format('ttf');
}
.en-font{
    font-family: 'en-font';
}
 body, html, .tooltip-inner {
     font-family: 'Shabnam';
     font-size: 16px;
}
 :root {
     --sm-dark: #515151;
}
 li {
     list-style: none;
}
 a {
     text-decoration: none;
}
 img {
     max-width: 100%;
}
 .fs-12{
     font-size: 12px;
}
 .fs-13{
     font-size: 13px;
}

.fs-15{
    font-size: 15px;
}

.bg-light-s{
    background-color: #fdfdfd;
}
 ::placeholder{
     font-size: 13px;
}

.p-12 {
    padding: 12px;
    height: 43px;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="tel"],
select {
	width: 100%;
	height: 45px;
	padding: 0 10px;
	background-color: #f5f2f2;
	margin: 2px 0;
}

form button,
form input[type="submit"] {
	width: auto;
	height: 45px;
	background-color: #f5f2f2;
	color: var(--sm-dark);
	text-align: center;
	font-size: 15px;
	padding: 0 20px;
}

textarea {
	width: 100%;
	border: 1px solid #f3eeee;
	height: 100px;
	padding: 10px;
	background-color: #f5f2f2;
	resize: none;
	margin: 2px 0;
}

 .logo-box img {
     max-width: 100%;
     height: 50px;
     object-fit: contain;
     display: table;
}
 .header-section .menu-box ul {
     margin: 0;
     padding: 0;
}
 .header-section .menu-box ul li {
     display: inline-block;
     margin: 0 0 0 16px;
     position: relative;
}
.header-section .menu-box ul li::before{
    position: relative;
    top: 2px;
    opacity: 0.75;
}
 .header-section .menu-box ul li a {
     display: inline-block;
     padding: 8px 0;
     color: var(--sm-dark);
}
 .header-section .menu-box ul li ul {
     position: absolute;
     width: 220px;
     right: 0;
     top: 37px;
     opacity: 0;
     visibility: hidden;
     transition: all 0.4s ease;
     z-index: 10;
     background-color: #fff;
}
 .header-section .menu-box ul li:hover>ul {
     padding: 10px 0;
     opacity: 1;
     visibility: visible;
     transition: all 0.4s ease;
}
 .header-section .menu-box ul li ul li {
     display: block;
     margin: 0;
}
 .header-section .menu-box ul li ul li a {
     display: block;
     padding: 8px 15px 8px 8px;
     position: relative;
     right: 0;
     transition: all 0.4s ease;
}
 .header-section .menu-box ul li ul li a:hover {
     right: 8px;
     transition: all 0.4s ease;
}
 .header-section .menu-box ul li ul li a::after {
     content: "";
     position: absolute;
     top: 20px;
     right: 3px;
     width: 0;
     height: 1px;
     background-color: var(--sm-dark);
     transition: all 0.4s ease;
}
 .header-section .menu-box ul li ul li a:hover::after {
     width: 5px;
     transition: all 0.4s ease;
}
 .header-section .menu-box ul li ul li ul {
     right: 100%;
     top: -11px;
}
 .header-section .responsive-menu-box ul li a {
     font-size: 27px;
     opacity: 0.75;
     position: relative;
     top: 2px;
}
 .responsive-menu-body ul li {
     position: relative;
}
 .responsive-menu-body ul li a {
     display: block;
     padding: 9px 0;
     border-bottom: 1px solid #eee;
     color: var(--sm-dark);
}

 .responsive-menu-body > ul > li:last-child > a {
    border-color: transparent;
 }
 .responsive-menu-body ul li span.responsive-menu-span {
     position: absolute;
     left: 0;
     top: 0;
     text-align: center;
     color: #000;
     width: 40px;
     height: 40px;
     line-height: 48px;
     border-right: 1px solid #eee;
     cursor: pointer;
     z-index: 5;
}
 .responsive-menu-body ul li ul {
     display: none;
}

#slideDownSearch{
    display: none;
}

 .search-form-site form{
     height: 45px;
}
 .search-form-site input , .search-form-site button{
     background-color: #efefef !important;
}
 .search-form-site input{
     color: rgb(175, 172, 172);
}

 .textarea-box h1, .textarea-box h2, .textarea-box h3, .textarea-box h4, .textarea-box h5, .textarea-box h6{
     margin: 0;
     padding: 0;
}
 .textarea-box p{
     line-height: 2;
     margin: 16px 0;
     color: #717171;
     text-align: justify;
}
 .textarea-box img{
     display: table;
     margin: 0 auto;
}

 .crsr-p{
     cursor: pointer;
}
 .rating {
     display: flex;
     flex-direction: row-reverse;
     justify-content: flex-end;
     margin-bottom: 2px;
}
 .rating>input {
     display: none 
}
 .rating>label {
     position: relative;
     width: 1em;
     font-size: 20px;
     color: #717171;
     cursor: pointer 
}
 .rating>label::before {
     content: "\2605";
     position: absolute;
     opacity: 0 
}
 .rating>label:hover:before, .rating>label:hover~label:before {
     opacity: 1 !important 
}
 .rating>input:checked~label:before {
     opacity: 1 
}
 .rating:hover>input:checked~label:before {
     opacity: 0.4 
}
 .faq-wrap .faq-item-text{
     display: none;
}
 *::-webkit-scrollbar {
    width: 10px;
}
*::-webkit-scrollbar-track {
    border-radius: 8px;
}
*::-webkit-scrollbar-thumb {
    height: 56px;
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
    background-color: #888;
}
*::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/********Styles********/

.Social-Items a{
    width: 40px;
    height: 40px;
    line-height: 56px;
    font-size: 32px;
}

.top-wrap-bg::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #0000008f;
    z-index: -1;
}

.owl-nav{
    display: none;
}

.panel-service-wrap figure {
    border-radius: 8px;
    width: 50px;
    height: 50px;
    z-index: 2;
}

.panel-service-wrap figure .social-item-bg {
    z-index: -1;
}

.panel-service-wrap i {
    top: 8px;
}

span.section-title::after {
    content: "";
    position: absolute;
	top: 28px;
	right: -12px;
	width: 26px;
	height: 26px;
    background-image: url(img/arrow_handwrite.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(264deg);
}

@media only screen and (min-width:1400px){
	span.section-title::after {
		top: 12px;
		right: -35px;
		width: 40px;
		height: 40px;
	}	
}

.bg-light-dark{
    background-color: rgb(238, 238, 238);
}

.rounded-8{
    border-radius: 8px;
}

.ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.Avatar-Mini{
    height: 50px !important;
    width: 50px !important;
    border-radius: 50%;
    object-fit: contain;
}

.text-justify{
    text-align: justify;
}

.vh-50{
    min-height: 50vh;
}

.sc-author{
    margin-top: 50px;
}

.sc-author img{
    height: 70px !important;
    width: 70px !important;
    margin-top: -65px;
    border: 2px solid #ddd;
    padding: 4px;
}

.blog-card img{
    height: 277px;
    object-fit: cover;
}

.blog-card h4 {
    line-height: 1.4;
    height: 53px;
    font-size: 20px;
}

.Paginatino-Box span, .Paginatino-Box a{
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 4px;
    background-color: #faf4f4;
    color:var(--sm-dark);
}
.Paginatino-Box span{
    color: #faf4f4;
    background-color: var(--sm-dark);
}

.h1-ss::before{
    content: "";
    position: absolute;
    top: 0;
    right: -22px;
    height: 100%;
    width: 3px;
    background-color: var(--bs-blue);
    border-radius: 10px 0 0 10px;
}

.sc-excerpt::before {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    bottom: 100%;
    left: 0;
    transform: rotate(-90deg);
    background: #0dcaf0;
    border-radius: 50%;
}

.sc-excerpt::after {
    position: absolute;
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    bottom: 90%;
    left: 10px;
    transform: rotate(-90deg);
    background: #0dcaf0;
    border-radius: 50%;
    box-shadow: 0 0 0 10px #0dcaf030;
}

@media only screen and (max-width:767px){
    .reverse-md{
        flex-direction: column-reverse;
    }
}

@media only screen and (min-width:768px){
    .text-md-justify{
        text-align: justify;
    }
}

@media only screen and (min-width:576px){
    .product-card{
        margin-bottom: 0 !important;
    }
}


/* style */

.line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 2;
}

.V_rig img{
    height: 400px;
    object-fit: cover;
}

.V_rig::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background-color: #0000004d;
    z-index: 0;
}

@media only screen and (max-width:767px){
    .V_rig img{
        height: 250px;
    }

}

.V_lef p {
height: 52px;
}

span.pv {
    width: 70px;
    height: 70px;
    line-height: 92px;
    background-color: #18191a4d;
    z-index: 2;
    outline: 2px solid #eee;
    outline-offset: -3px;
    text-align: center;
    font-size: 48px;
}

.gallery img {
    height: 150px;
    object-fit: cover;
}