/*
Theme Name: Medin Child Theme
Theme URI: http://www.portotheme.com/wordpress/medin/
Author: p-themes
Author URI:   https://themeforest.net/user/p-themes/
Template: medin
Description: This is a child theme for Medin.
Version: 1.8.0
Text Domain: medin-child
*/

/*  [ Add your custom CSS below ]
================================ */

.right-image {
	float: right;
	margin-left: 15px;
}
.left-image {
	float: left;
	margin-right: 15px;
}
.custom-content .section.page-content-first + .no.container.tt_mt_100 {
    margin-top: 30px;
}
h5{
	line-height:1.4em;
}
h2{
	line-height:1.3em;
}
.wpcf7 .wpcf7-form .contact-form {
    padding: 30px;
    background-color: #f5f7f8;
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(0 0 0 / 30%);
}
.wpcf7 .wpcf7-form .contact-form .datepicker-field input {
    border: 1px solid #e5e5e5;
}
.doctor-box > .doctor-box-text .tt {
    min-height: 81px;
}
.custom-doctor-box-photo + .doctor-box-name {
    padding-top: 0;
    margin-top: 22px;
}
.doctor-box-photo img {
    height: 256px;
    object-fit: cover;
	width : 100%;
}
.banner-slider-wrap .slick-slide {
    position: relative;
}
.our-doctors-sec .doctor-box-photo img {
    height: auto;
}
.banner-slider-wrap .slide:after {
    content: "";
    background-color: #000;
    opacity: 0.3;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.service-card-style4 .service-card-img {
    padding-bottom: 61.576%;
}
.service-card-style4 .service-card-img img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.schedule-appointment-sec {
	padding: 50px 30px;
    background-color: #2e5d89;
    border-radius: 10px;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
}
.schedule-appointment-sec .title-wrap h2,
.schedule-appointment-sec .tt-doctor-page-btns .tt {
	color: #fff;
}
.schedule-appointment-sec .title-wrap .h-decor {
	background-color: #fff;
}
.doctor-box {
    height: 100%;
}
.doctor-box .doctor-box-name a {
    line-height: 1.25;
}
.contact-box ul.icn-list li .tt a {
    color: #fff;
}
.header-nav .navbar-nav li:nth-child(2) .nav-link {
    color: #444;
}
.header-nav .navbar-nav li:nth-child(2) .nav-link:hover,
.header .navbar-nav > .nav-item > .dropdown-menu li.active a {
    color: #2e5d89;
}
.banner-slider-wrap .slick-slide .slide-txt2 {
    font-size: 22px !important;
}
.banner-slider-wrap .slick-slide .slide-txt2 a {
    color: #fff;
    text-decoration: underline;
}
.doctor-image-caption {
    padding: 15px !important;
    background-color: #2e5d89 !important;
}
.doctor-image-caption p {
    color: #fff;
}
.image-width-100 img {
    width: 100%;
}
.insurance-wrap {
    flex-direction: row !important;
    align-items: flex-start;
}
.right-contact-box-wrap {
    float: left;
    width: calc(50% - 30px);
    background-color: #2e5d89;
    max-width: 400px;
    margin: 0 15px;
    padding: 0;
}
.right-contact-box-wrap .contact-box-title {
    padding: 30px 15px 0;
}
.right-contact-box-wrap .right-contact-box .tt * {
    color: #fff;
}
.right-contact-box-wrap .right-contact-box {
    padding: 0 8px 10px;
}
.contact-info-wrap .title-wrap .vc_custom_heading,
.contact-info-wrap .icn-list-lg li *,
.contact-info-wrap .icn-list-lg li {
    color: #fff;
}
.contact-info-wrap .title-wrap .h-decor {
    background-color: #fff;
}
.contact-info-wrap .icn-list-lg {
    margin-top: 10px;
}
.googlemap__contact + .bg-grey.contact-info-wrap {
	background: #2e5d89;
}
.banner-slider-wrap .slick-dots {
    display: none;
}

/* Media Query */
@media (max-width: 1399px) {
	.service-card-style4 .service-card-name {
		font-size: 16px;
	}
    .banner-slider-wrap .slick-slide .slide-txt2 {
		font-size: 16px !important;
	}
}
@media (max-width: 1229px) {
	.doctor-box > .doctor-box-text .tt {
		min-height: 72px;
	}
}
@media (max-width: 1047px) {
	.doctor-box > .doctor-box-text .tt {
		min-height: 96px;
	}
}
@media (max-width: 806px) {
	.doctor-box > .doctor-box-text .tt {
		min-height: 120px;
	}
}
@media (max-width: 767px) {
	.doctor-box > .doctor-box-text .tt {
		min-height: 60px;
	}
    .right-image {
		float: none;
		margin-left: 0;
		margin-bottom: 20px;
	}
	.right-image img {
		width: 100%;
		object-fit: cover;
	}
    .right-contact-box-wrap {
		width: calc(100% - 30px);
		margin: 15px;
	}
	.navbar-collapse .nav-item > .nav-link.dropdown-toggle {
        padding-left: 6px;
    }
    .layout-weightloss .title-wrap + * {
        margin-top: 10px;
    }
    .service-card-bg .service-card-name + .ch a {
        display: block;
        border-bottom: 1px solid #ccc;
        padding: 2px 0;
    }
}
@media (max-width: 660px) {
	.doctor-box > .doctor-box-text .tt {
		min-height: 80px;
	}
}
@media (max-width:575px) {
	.doctor-box > .doctor-box-text .tt {
		min-height: 60px;
	}
    .double-title:after {
        font-size: 50px;
    }
}
.header-social a {
    padding: 0;
}

.layout_wloss .header-social [class*='icon-'] {
    top: auto;
}

.service-card-bg::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.service-card-bg::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}

.service-card-bg::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #2e5d8c;
}
.blog .page-main {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.blog .page-main .blog-post {
    max-width: 50%;
    width: 100%;
    padding: 0 15px;
}

.blog-post .post-title {
    font-size: 18px;
    line-height: 1.2;
}

.blog-post .post-image {
    max-height: 250px;
    overflow: hidden;
}

.blog-post-info,
.post-teaser {
    padding: 0 !important;
}

.blog .content-area.aside {
    padding-right: 15px;
}

@media (max-width:767px) {
    .blog .page-main .blog-post {
        max-width: 100%;
    }
}

@media only screen and (min-width: 1024px) {
	.header-nav .navbar-nav > .nav-item:last-child .nav-link{
		position: relative;
		background-color: #2e5d89;
		color: white;
	  padding: 15px 38px;
	  border-radius: 30px;
	  line-height: 23px;
	}
	
	.header-nav .navbar-nav > .nav-item:last-child{
		transition: 0.3s;
	}
	
	.header-nav .navbar-nav > .nav-item:last-child .nav-link:hover{
		color: white;
		padding: 15px 28px 15px 48px;
	}
	
	.header-nav .navbar-nav > .nav-item:last-child .nav-link:after{
		content: '';
		background-image: url('https://www.copedentistry.com/wp-content/uploads/2024/07/bnt-arrow.png');
		position: absolute;
	  display: inline-block;
	  background-size: 12px 12px;
	  height: 12px;
	  width: 12px;
	  right: 20px;
	  top: calc(50% - 5px);
	  transform: translateX(0px);
	  transition: 0.3s;
	}
	
	.header-nav .navbar-nav > .nav-item:last-child .nav-link:hover:after{
		transform: translateX(55px);
	  opacity: 0;
	  width: 0px;
	}
	
	.header-nav .navbar-nav > .nav-item:last-child .nav-link:before{
		content: '';
		background-image: url('https://www.copedentistry.com/wp-content/uploads/2024/07/bnt-arrow.png');
		position: absolute;
	  display: inline-block;
	  background-size: 12px 12px;
	  height: 12px !important;
	  left: 20px;
	  top: calc(50% - 5px);
	  transition: 0.3s;
	  transform: translateX(-55px);
	  width: 0px;
	  opacity: 0;
	}
	
	.header-nav .navbar-nav > .nav-item:last-child .nav-link:hover:before{
		transform: translateX(0px);
	  opacity: 1;
	  width: 12px;
	}
}