/*
Theme Name: Clinic WP
Theme URI: https://darmangahabdollah.ir/
Author: mytag.ir
Description: قالب اختصاصی درمانگاه اباعبدالله حسین (ع)
Version: 1.1.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: clinic-wp
*/

:root {
    --color-primary: #031f4b;
    --color-danger: #ea2b3a;
}

@font-face {
    font-family: 'iranyekan';
    src: url(./assets/fonts/iranyekan/iranyekanweblightfanum.eot) format('eot'),
     url(./assets/fonts/iranyekan/iranyekanweblightfanum.ttf) format('ttf'), 
     url(./assets/fonts/iranyekan/iranyekanweblightfanum.woff) format('woff');
}

@font-face {
    font-family: 'iranyekan-bold';
    src: url(./assets/fonts/iranyekan/iranyekanwebbold.eot) format('eot'),
     url(./assets/fonts/iranyekan/iranyekanwebbold.ttf) format('ttf'),
      url(./assets/fonts/iranyekan/iranyekanwebbold.woff) format('woff');
}

html {
    scroll-behavior: smooth;
    -moz-scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -o-scroll-behavior: smooth;
    -ms-scroll-behavior: smooth;
}

li {
    list-style: none;
}

body {
    direction: rtl;
    font-family: 'iranyekan' !important;
}

.txt-primary {
    color: var(--color-primary);
}

.font-bold {
    font-family: 'iranyekan-bold' !important;
}
.truncate{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	 width: 110px;
}
.btn-primary-custom {
    background-color: var(--color-primary) !important;
    color: #FFF !important;
    font-size: 14px !important;
    padding: 13px 30px !important;
    position: relative;
    z-index: 10;
    border: none !important;
}

.btn-primary-custom:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: all linear 0.5s;
    transform: scaleX(0) rotate(0deg);
    border-radius: 0.25rem;
}

.btn-primary-custom:hover:after {
    transition: all linear 0.5s;
    transform: scaleX(1.0) rotate(0deg);
    background: #0dcaf0;
}

p {
    line-height: 25px;
}

#main-menu  .nav-link {
    color: #FFF;
    margin-right: 20px;
    font-size: 14px;
    line-height: 51px;
    border-bottom: 2px solid var(--color-primary);
}

#main-menu .navbar-nav .current-menu-item .nav-link {
    color: var(--color-danger) !important;
    border-bottom: 2px solid var(--color-danger) !important;
}
#main-menu  .sub-menu .current-menu-item .nav-link {
    color: var(--color-danger) !important;
   border: none  !important;
}


.navbar-nav .nav-link:hover {
    color: var(--color-danger) !important;
    border-bottom: 2px solid var(--color-danger) !important;
}

.navbar .nav-item {
    position: relative;
}

.font-12 {
    font-size: 12px !important;
}

.font-14 {
    font-size: 14px !important;
}

.top-border-head {
    height: 8px;
}

#logo img {
    width: 100px;
    height: 125px;
	object-fit:contain;
	position: absolute;
    top: -18px;
}

#social-network-nav a {
    margin-right: 20px;
    font-size: 18px;
}

#social-network-nav a:hover {
    color: var(--color-danger) !important;
}

.navbar {
    background-color: var(--color-primary);
    padding: 0px !important;
    height: 70px;
}

#main-menu .nav-item:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0px) !important;
    transition: all ease 0.4s !important;
}

#main-menu .sub-menu {
    position: absolute;
    right: 0;
    top: 100%;
    padding: 0;
    width: 250px;
    background: #FFF;
    box-shadow: 0 0 7px -1px #000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all ease 0.4s;
}

#main-menu .sub-menu li {
    float: none;
    list-style: none;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCC;
}

#main-menu .sub-menu li .nav-link {
    padding: 10px 15px !important;
    text-decoration: none!important;
    color: #000 !important;
    font-size: 14px !important;
    line-height: 0 !important;
    margin-right: 0 !important;
	border: none;
}

#main-menu .sub-menu li .nav-link:hover{
    color: var(--color-primary) !important;
    font-weight: bold !important;
    border:none !important;
}
#footer-menu li .nav-link:hover{
    color: var(--color-danger) !important;
}
.logo-footer img{
	width: 200px;
    height: 200px;
    object-fit: contain;
}
.offcanvas {
    background-color: #000 !important;
}
.offcanvas-body{
    overflow-y: auto;
    height: 100vh;
}
.menu-side li {
    float: none;
    position: relative;
    list-style: none;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.menu-side li a{
    padding: 5px 15px;
    text-decoration: none;
    color: #FFF;
    font-size: 14px;
}
.menu-side li a:hover {
    color: var(--color-primary);
    font-weight: bold;
}
.menu-side .dropdown-toggle::after{
    content: none;
}
.menu-side .sub-menu {
    transition: all ease 0.4s;
    display: none;
}

.menu-side .menu-item-has-children:before{
    content: "\f104";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    font-size: 20px;
    color: #FFF;
    transition: all ease-in 0.2s;
}

.menu-side .menu-item-has-children.arrow:before{
    transform: rotate(-90deg);
    transition: all ease-in 0.2s;
}
.offcanvas{
    background: #000;
}
#lang-res {
    background: url(assets/img/Shape.png) center no-repeat;
}
#whyus{
    background: url(assets/img/Shape.png) center no-repeat; 
}
#whyus p{
	line-height:2rem;
	font-size:17px !important;
	
}
.main-video{
    width: 100%;
    position: relative;
    height: 100%;
	padding:150px 0;
}
.main-video .rect-1{
    width: 370px;
    height: 350px;
    border: 10px solid var(--color-primary);
    position: absolute;
    right: 50px;
    top: 150px;
}
.main-video .rect-2{
    width: 370px;
    height: 300px;
    border: 10px solid #0dcaf0;
    position: absolute;
    left: -50px;
    bottom: -100px;
}
.main-video img{
    position: absolute;
    margin-top: 100px;
    float: right;
    background-size: cover;
    width: 100%;
    height: 450px;
px
;
}
.main-video .image-video .circle-icon{
    position: relative;
    display: block;
    width: 115px;
    height: 115px;
    border: 15px solid rgba(255,255,255, 0.20);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-video .image-video .circle-inner{
    position: relative;
    display: block;
    width: 100px;
    height: 100px;
    border: 15px solid rgba(255,255,255, 0.5);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-video .image-video  .circle-icon button{
    padding: 19px 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

#lang-res .box-lang-res {
    width: 100%;
    height: 260px;
    background-color: #FFF;
    box-shadow: 0 0 5px 0px #CCC;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#lang-res .box-lang-res:before {
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: var(--color-primary);
    transform: scaleX(0.0);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.22);
}

#lang-res .box-lang-res:hover:before {
    transform: scaleX(1.0);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.22);
}
#lang-res .box-lang-res a {
		text-decoration:none;
}
#lang-res .box-lang-res:hover i, #lang-res .box-lang-res:hover a {
    color: #FFF !important;
    z-index: 9;
}

#lang-res .box-lang-res i {
    font-size: 5rem;
	margin-bottom:10px;
    color: var(--color-primary);
}

#main-slider {
    direction: ltr;
}

#main-slider .item .card {
    border-radius: 15px;
}

#main-slider .item .card img {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    transition: all linear 0.5s;
	    height: 250px;
    object-fit: cover;
}

#main-slider .item .card img:hover {
    transform: scale(1.3);
    transition: all linear 0.5s;
}

#main-slider .item .card .card-body i {
    margin-top: -53px;
    float: left;
    padding: 9px 16px;
    background: #0dcaf0;
    border-radius: 10px;
    color: #FFF;
    font-size: 25px;
    position: relative;
}

.owl-theme .owl-dots .owl-dot span {
    width: 20px !important;
    height: 5px !important;
    background: #D6D6D6 !important;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--color-primary) !important;
}

#assessment {
    height: 350px;
    border-radius: 15px;
    margin-top: -170px;
    float: right;
    position: relative;
    box-shadow: 0 0 5px -2px #000;
}


#assessment .img-fluid {
    height: 350px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}

#select-country {
    height: 1065px;
    margin-top: 200px;
    background: url(assets/img/select-country-bg.jpg) no-repeat center;
    position: relative;
}

#select-country:before {
    content: "";
    position: absolute;
    background: rgba(3, 31, 75 ,0.9);
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
}
#main-cat-country .country{
        box-shadow: 0 0 5px -1px #CCC;
}
#select-country .country,
#main-cat-country .country {
    border-radius: 15px;
}

#select-country .country img ,
#main-cat-country .country img{
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

#select-country #viewAll {
    border: 1px dashed #FFF;
    border-radius: 15px;
}

#main-team .inner-img {
    height: 400px;
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: all ease 0.5s;
}

#main-team .profile {
    height: 400px;
    object-fit: cover;
    transition: all ease 0.5s;
}

#main-team .item-team .inner-img:before {
    content: "";
    position: absolute;
    background: rgba(3, 31, 75 ,0.5);
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: all ease 0.5s;
}

#main-team .item-team:hover .inner-img:before {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    transition: all ease 0.5s;
}

#main-team .item-team:hover .profile {
    transform: scale(1.2);
    transition: all ease 0.5s;
}
#main-team .link-team a{
	text-decoration:none;
	color:var(--color-primary);
}

#sponsers, #main-brand {
    height: 250px;
	direction:ltr
}


#sponsers  img{
    height: 100px !important;
	    width: 200px !important;
	object-fit:contain;
    margin: 0 15px;
}


.img-news {
    height: 270px;
    position: relative;
    overflow: hidden;
}

.img-news:before {
    content: "";
    background: rgba(3, 31, 75 ,0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -270px;
    transition: all ease 0.5s;
    border-radius: 15px;
}

.item-news:hover .img-news:before {
    bottom: 0;
    transition: all ease 0.5s;
}

.img-news img {
    border-radius: 15px;
}
#main-news .item-news .cat-name a{
    text-decoration: none;
    color: var(--color-primary);
    font-size: 12px;
}
#main-news .item-news .date-news {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    right: 0;
    height: 75px;
    width: 70px;
    border-top-left-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#main-news .item-news .bottom-title {
    border-bottom: 2px solid #eaeaea;
    position: relative;
}

.bottom-title:before {
    content: "";
    position: absolute;
    bottom: -2px;
    background: rgb(35, 171, 224);
    right: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transition: all ease 0.5s;
}

#main-news .item-news:hover .bottom-title:before {
    transform: scaleX(1);
    transition: all ease 0.5s;
}

footer {
    background: var(--color-primary);
    height: auto;
    position: relative;
}

footer .bg-footer {
    background: url(assets/img/footer-bg.png) no-repeat center;
    position: absolute;
    width: 100%;
    height: 500px;
    right: 0;
    top: 0;
}

#subscribe {
    background: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#social-footer a {
    width: 40px;
    height: 40px;
    border: 1px solid #FFF;
    margin-left: 20px;
    border-radius: 10px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all ease 0.4s;
}

#social-footer a:hover {
    transition: all ease 0.4s;
    border: 1px solid var(--color-danger);
}

#social-footer a:hover i {
    transition: all ease 0.4s;
    color: var(--color-danger);
}
.wp-block-categories{
	padding:0;
}
footer .title-items-link{
    position: relative;
}
footer .title-items-link:before{
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    background: rgb(35, 171, 224);
    right: 0;
    bottom: -10px;
}
footer .main-links ul{
	padding:0;
}
footer .main-links a{
    text-decoration: none;
    color: #FFF;
    display: flex;
    align-items: center;
   font-size: 14px;
}
footer .main-links a:before{
    content: "\f100";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding-top: 5px;
     padding-left: 10px;
}
footer .main-links a:hover{
color: rgb(35, 171, 224);
}
footer .main-links li{
    margin-bottom: 20px;
}
footer #uptoTop{
    margin-top: -45px;
}
footer #uptoTop i{
    padding: 12px 15px;
    font-size: 20px;
    background: #0dcaf0;
    color: #FFF;
    border-radius: 5px;
}

/* single styles */
.content-blog p{
    line-height: 3rem;
}
#main-single .img-single{
    height: 500px;
    object-fit: contain;
}

/* comments */

/* ------------------------------------------------------
      Comments
  ------------------------------------------------------ */

  #comments {
    margin-bottom: 50px;
	      float: right;
    width: 100%;
}

.entry-box>.box-title, #comments>h3 {
    margin-bottom: .8em;
    font-weight: 700;
}

.comments-list {
    overflow: hidden;
}

.comments-list li {
    list-style: none;
}

.comments-list:not(:last-child) {
    margin-bottom: 30px;
}

.comments-list .children {
    margin-left: 110px;
}

.comments-list .children .children .children {
    margin-left: 0;
}

.comments-list .comment {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid #e4e4e5;
}

.comments-list>.comment:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.comment>article {
    position: relative;
    overflow: hidden;
}
.comment .avatar{
    border-radius: 100%;
}
.gravatar {
    float: left;
    margin-right: 30px;
    overflow: hidden;
    border-radius: 50%;
}

.bypostauthor {
    text-transform: uppercase;
}

.comment-body {
    overflow: hidden;
    border-bottom: 1px solid #CCC;
    padding: 10px 0px;
}

.comment-body p {
    margin-bottom: 0;
    clear: both;
}

.comment-meta {
    overflow: hidden;
    font-size: 12px;
    line-height: 24px;
    color: #aab3b6;
    float: left;
}
.comment-meta a{
    text-decoration: none;
}

.comment-meta:not(:last-child) {
    margin-bottom: 7px;
}
.comment .says{
    display: none;
}
.comment-author {
    float: right;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
    color: var(--color-primary);
}

.comment-author:not(:last-child) {
    margin-bottom: 5px;
}

.comment-reply-link {
    background: var(--color-primary);
    color: #FFF !important;
    padding: 4px 28px;
    font-size: 14px;
    border-radius: 20px;
    float: left;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

#cancel-comment-reply-link {
    font-size: 16px;
}

.comment-info {
    float: right;
}

.comment-reply-title {
    font-weight: 700;
}

.comment-respond {
    margin-top: 25px;
}

.comment-form {
    margin-left: -15px;
    margin-right: -15px;
}

.comment-form input, .comment-form textarea {
    border: 1px solid #e4e4e5;
    background-color: #f9f9f9;
}
.comment-form input[type=text], .comment-form textarea {
 width: 100%;
}
.comment-form input[type="submit"] {
    border: none;
}

.comment-form .logged-in-as, .comment-form .comment-notes, .comment-form .comment-form-author, .comment-form .comment-form-email, .comment-form .comment-form-url, .comment-form .comment-form-comment, .comment-form .comment-form-cookies-consent {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 20px;
}

.comment-form .comment-form-author, .comment-form .comment-form-email {
    width: 50%;
    float: right;
}

.comment-form .form-submit {
    padding: 0 15px;
}

.comment-form .form-submit #submit {
    padding: 6px 28px;
    display: inline-block;
    font-size: 0.8889em;
    border-radius: 30px;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    letter-spacing: 0.75px;
    line-height: 1.7500em;
}
.comment .fn a{
    color: #000 !important;
    font-weight: bold;
    font-family: 'byekan';
    font-size: 15px;
}
.comment-form .form-submit #submit:hover {
    background-color: #043179;
}
.nav-previous a,.nav-next a{
    color: #FFF;
    background: var(--color-danger);
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 15px;
    text-decoration: none;
    margin: 10px;
    float: right;
  }
/* pagination */
/* page navi style */
.wp-pagenavi{
	display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
	margin:20px 0;
}
.wp-pagenavi a, .wp-pagenavi span{
		border-radius: 100%;
         width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    text-align: center;
	  border: none !important;
	color:#000 !important;
}
.wp-pagenavi span.current{
		border-radius: 100%;
         width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    text-align: center;
    background: var(--color-primary);
    color: #FFF !important;
    border: none !important;
}
.wp-pagenavi .pages{
	display:none;
}
.wp-pagenavi i{
	    border: 1px solid #CCC;
     width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    border-radius: 100%;
    font-size: 25px;
    text-align: center;
}

.wp-block-table{
    overflow: hidden !important;
}
.gform_wrapper{
    margin-top: 50px;
}
.gform_wrapper .gfield{
    clear: unset !important;
    margin-top: 0 !important;
  }
 .gform_wrapper  input,
.gform_wrapper textarea,
.gform_wrapper select{
    width: 100% !important;
    margin-bottom:10px ;
      border: 1px solid #DDD;
	border-radius: 20px;
    border: 1px solid #DDD;
    font-size: 14px !important;
  }
  .gform_wrapper .top_label .gfield_label{
      display:none !important;
  }
  .gform_footer input[type=submit]{
     background-color: #0098ff;
    color: #ffffff;
    font-size: 16px;
    line-height: 45px;
    font-weight: 600;
    width: 180px !important;
    text-transform: capitalize;
	  border-radius: 50rem !important;
  }
  .gform_wrapper .gform_footer{
      text-align: right;
      margin: 0 !important;
      padding: 0 !important;
  }
.tnp-subscription-minimal input.tnp-submit{
	background-color: #00b1f3 !important;
}
#exampleModal .plyr--video{
	height:500px !important;
}



@media(max-width:768px) {
   
    #lang-res{
        background: none;
    }
    #assessment{
        height: auto;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    #assessment .img-fluid{
        border-bottom-left-radius: 0;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    #select-country{
        height: auto;
    }
    #select-country .country img{
        border-bottom-left-radius: 0;
        border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    }
    #sponsers, #main-brand{
        height: auto;
    }
    footer{
        height: auto;
    }
    .bg-footer{
        display: none;
    }
    #video-sec{
        height: 450px;
    }
    .main-video .rect-1{
        height: 300px;
        right: 0;
        width: 300px;
    }
    .main-video .rect-2{
        left: 50px;
    }
    .gform_wrapper{
        width: 100%;
       
    }
}
