/*
Theme Name: Central - Child
Version: 587
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/

/* Carousel */
@import url("../mts_schema/style.css");

/* general */

* {
	box-sizing: border-box;
}

#page {
    padding: 0px;
}

a.btn {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, var(--pColor) 0%, var(--sColor) 100%);
    color: #fff !important;
    border-radius: 10px;
}
html .slick-next{display:none;}
html .dm-slide-main .slide-caption {  
    bottom: 0px;
}
#header a.btn {
    padding: 10px 20px;
}

.container {
	width:  100%;
	max-width: 1200px;
	padding: 0px 15px;
}

html #secondary-navigation > nav > ul > li:hover,html  #secondary-navigation > nav > ul > li.current-menu-item,html  #secondary-navigation > nav > ul li.current-menu-item, #secondary-navigation > nav > ul > li.current-menu-parent {
    background: #f5f5f5 !important;
}

html #secondary-navigation > nav > ul > li:hover > a,html  #secondary-navigation > nav > ul > li.current-menu-item > a,html  #secondary-navigation > nav > ul > li.current-menu-parent > a,html  #secondary-navigation > nav ul.sub-menu > li.current_page_item > a,html #secondary-navigation > nav > ul > li.current-menu-item > a {
    color: var(--pColor) !important;
}

@keyframes fadeInUpa {
    0% {
        opacity: 0;
        transform: translate3d(0, 150px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.fadeInUpa {
    animation-name: fadeInUpa;
}

@keyframes fadeInLefta {
    0% {
        opacity: 0;
        transform: translate3d(-150px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.fadeInLefta {
    animation-name: fadeInLefta;
}

/* Footer */
.copyrights {
    padding: 0px;
}

footer#site-footer {
    margin: 0px;
}

.copyrights .dm-flex {
    align-items: inherit;
}

.copyrights .dm-half {
    padding: 0px;
}

.copyrights iframe {
    height: 100%;
}

a#move-to-top {
    width: 40px;
    height: 40px;
}

.copyrights .dm-full {
    text-align: left;
}

.dm-col-3 {
    width: 40%;
}

.dm-col-3 span {
    border: 0px !important;
    padding: 0px !important;
    margin: 0px !important;
}

.dm-flex.dm-full {
    justify-content: space-between;
    margin-bottom: 50px;
}

.dm-flex.dm-full h4 {
    color: var(--pColor);
	color:#fff;
    text-transform: uppercase;
    font-size: 17px;
}

.dm-full.footer-contact-info img {
    max-width: 400px;
    margin: 0px auto;
    display: block;
    float: none;
}

.logo-wrap {
    margin: 0px;
    float: none;
    overflow: visible;
}

.dm-full.footer-contact-info {
    margin-bottom: 50px;
}

.copyrights .dm-half:nth-child(1) {
    padding-top: 80px;
    padding-bottom: 80px;
    font-size: 14px;
}

.footer-wrapper {
    max-width: 620px;
    margin-right: 0px;
    margin-left: auto;
    margin: 0px auto;
}

.dm-full.footer-creds p:nth-child(2) {
    margin: 0px;
}

/* Blog Section */
section.dm-blog-posts {
    padding: 100px 0px;
    background-position: 50% 50%;
    background-size: 20%;
    background-repeat: repeat;
}

section.dm-blog-posts h4 {
    text-align: center;
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 1px;
	font-weight:bold;
}

.dm-blog-image {
    height: 250px;
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 9px;
    margin-bottom: 13px;
}

.dm-blog-image p {
    font-size: 17px;
}

section.dm-blog-posts p {
    font-size: 16px;
    color: #000;
}

section.dm-blog-posts h3 {
    font-weight: bold;
}

section.dm-blog-posts .dm-flex {
    margin-top: 30px;
    align-items: inherit;
}

section.dm-blog-posts .dm-third:hover {
    background-color: #fff;
    box-shadow: 0 20px 30px -10px rgb(38 115 228 / 20%);
}

section.dm-blog-posts .dm-third {
    padding: 20px;
    border-radius: 10px;
    padding: 20px;
    border-radius: 10px;
    -webkit-transition: background-color 200ms ease, box-shadow 350ms ease, color 200ms ease;
    transition: background-color 200ms ease, box-shadow 350ms ease, color 200ms ease;
}

section.dm-blog-posts .dm-third:nth-child(2) {
	animation-delay: 0.2s;
}
section.dm-blog-posts .dm-third:nth-child(3) {
	animation-delay: 0.4s;
}

/* Services  */
.central-tab {
    flex: 1 1 16%;
    padding: 10px;
}

.central-tab:nth-child(2) {
	animation-delay: 0.2s;
}
.central-tab:nth-child(3) {
	animation-delay: 0.3s;
}
.central-tab:nth-child(4) {
	animation-delay: 0.4s;
}
.central-tab:nth-child(5) {
	animation-delay: 0.5s;
}
.central-tab:nth-child(6) {
	animation-delay: 0.6s;
}
.central-tab:nth-child(7) {
	animation-delay: 0.7s;
}
 
.central-wrapper .central-tab img {
    border-radius: 10px;
}

.central-img-tabs {
    display: flex;
    justify-content: center;
    padding: 0px 15px;
    margin-top: -65px;
}

.central-img-tabs img {
    height: 140px !important;
    object-fit: cover;
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    text-align: center;
    display: block;
}

.central-img-tabs h3 {
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
}

.central-wrapper {
    background: var(--pColor);
    padding: 80px 0px 120px;
	background-attachment:fixed;
}

.central-wrapper .central-tab:nth-child(1) {
    display: block;
}

.central-wrapper .central-tab {
    display: none;
}

section.central-services .container-wide {
    max-width: 1300px;
    margin: 0px auto;
}

.central-img-tabs .central-tab-item > div {
    margin-bottom: 10px;
    border-radius: 10px;
    border: 3px solid rgba(0,0,0,0);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.central-img-tabs .central-tab-item > div:hover {
    border-color: var(--aColor);
}

.central-tab-item.active-service-button > div {
    border-color: var(--aColor);
}

/* Testimonials */

section.central-testimonials {
    padding: 100px 0px;
    background-size: cover;
    background-position: 50% 0%;
    position: relative;
	background-attachment:fixed;
}

.central-testimonials-wrapper {
    margin: 0px auto;
    width: 50%;
    /* margin-right: 0px; */
    padding: 50px 0px 30px;
    position: relative;
    text-align: center;
}

.central-testimonials-wrapper .dm-half {
    width: 47.5vw;
    max-width: 650px;
}

.central-testimonials-wrapper strong {
    display: block;
    margin-bottom: 40px;
}

.central-testimonials-wrapper p {
    font-size: 24px;
}

.central-test-content {
    margin-bottom: 22px;
    font-size: 26px;
    line-height: 1.4;
}

.central-test-content + h4 {
    font-size: 16px;
}

section.central-services {
    margin-bottom: 80px;
}

section.central-testimonials:before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
    background: #000;
    top: 0px;
    left: 0px;
    opacity: 0.5;
}

section.central-testimonials * {
    color: #fff;
}

.central-testimonials-wrapper li:before {
    display: none;
}

.central-testimonials-wrapper .slick-dots {
    position: relative;
    bottom: 0px;
    text-align: center;
}

.central-testimonials-wrapper .slick-dots li button:before {
    opacity: 0.3 !important;
}

.central-testimonials-wrapper .slick-dots li button {
    opacity: 0.5;
}

.central-testimonials-wrapper .slick-dots .slick-active button {
    background: #fff !important;
    opacity: 1 !important;
}

.central-testimonials-wrapper {
    padding: 50px 0px 30px;
}

.central-tab-item {
    cursor: pointer;
}

/* Welcome */
section.central-welcome {
    padding: 80px 0px;
}
.central-welcome .central-image img {
    width: 90%;
    height: 100% !important;
    border-radius: 30px;
    box-shadow: 0 20px 50px -20px rgb(0 0 0 / 20%);
    -o-object-fit: cover;
    object-fit: cover;
}
section.central-welcome .dm-flex {
    align-items: inherit;
}

.central-image {
    position: relative;
    height: 100%;
}

section.central-welcome .dm-half:nth-child(1) {
    flex: 1 1 48%;
}

section.central-welcome .dm-half:nth-child(2) {
    flex: 1 1 52%;
}

.container-wide {
    max-width: 1300px;
    margin: 0px auto;
}
.central-text p, .central-text h3{color:#fff;}
section.central-welcome h3 {
    font-size: 23px;
    text-transform: uppercase;
    color: var(--pColor);
}

section.central-welcome h2 {
    margin-bottom: 30px;
    font-family: AUTO;
}

section.central-welcome blockquote {
    background: var(--pColor);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

section.central-welcome blockquote:after {
    left: 10px;
    top: 10px;
    opacity: 0.2;
    color: #fff;
    font-size: 90px;
    line-height: 90px;
}

section.central-welcome blockquote p + p {
    font-weight: bold;
    font-size: 14px;
}

/* Mobile */
.mobile_cta_buttons.hide-d.mobile-btn p a {
    color: #fff;
    display: block;
    padding: 10px 20px;
}

.mobile_cta_buttons.hide-d.mobile-btn p {
    text-align: center;
    margin-bottom: 10px;
}

.mobile_cta_buttons.hide-d.mobile-btn div.header-social-icons a {
    color: #fff;
    margin: 0px 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0px !important;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    float: none;
}

.mobile_cta_buttons.hide-d.mobile-btn div.header-social-icons {
    background: transparent;
    width: 100%;
    float: none;
    text-align: center;
    margin: 0px;
}

.mobile_cta_buttons.hide-d.mobile-btn {
    padding: 20px 20px;
    display: none;
}

@media (min-width:  881px) {
	.mobile_cta_buttons.hide-d.mobile-btn div.header-social-icons:before {
	    display: none;
	}
}

/* Header */

div#header {
    background: #fff;
    padding: 15px 0px;
    float: none;
}

.regular_header #secondary-navigation {
    float: none;
}

div#regular-header i {
    margin-right: 8px;
}

.main-head-wrap {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
}
.header-spacer {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
@media (min-width: 881px) {
	.header-spacer {
		min-height: 130px;
	    -webkit-transition: all 0.3s ease-in-out;
    	transition: all 0.3s ease-in-out;
	}
}

#logo {
    float: none !important;
}

#logo a {
    padding: 0px !important;
    float: none;
    display: block;
}

div#secondary-navigation {
    float: none;
    display: flex;
    align-items: center;
}

#header .logo-wrap {
    padding: 0px;
    overflow: visible;
    max-width: 23%;
}

nav.navigation.clearfix #menu-main-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-left: 30px;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

#logo img {
    float: none;
    max-width: 250px;
}

ul#menu-main-menu a {
    text-transform: none;
}

#secondary-navigation a {
    padding: 20px;
}

div#regular-header {
    background: var(--sColor);
}

div#regular-header * {
    color: #fff;
}

div#regular-header .container-wide.dm-flex p {
    margin: 0px;
}

div#regular-header .container-wide {
    padding: 5px 0px;
}

.dm-third.social-header {
    text-align: right;
}
/*footer .logo-wrap img {
    filter: brightness(0) invert(1);
}*/
.dm-third.social-header a {
    margin-left: 10px;
}

.dm-third.address-header {
    text-align: center;
}

.dm-third.phone-header {
    text-align: left;
}

#regular-header {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* Video */
.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    z-index: 1;
}

.carousel-caption span {
    color: #fff;
    font-size: 23px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.video_holder:before {
    height: 100%;
    width: 100%;
    position: absolute;
    content: "";
    background: #000;
    opacity: 0.3;
    z-index: 1;
}

.carousel-caption h2 {
    color: #fff;
}

html .video_holder {
    height: 80vh;
    max-height: 1000px;
    width: 100%;
    min-height: 500px;
}

.carousel-caption a:hover {
    background: #000 !important;
}

/* Responsive */
@media (max-width:  1300px) {
	.container-wide {
		padding: 0px 15px;
	}
}

@media (max-width: 1025px ) {
	.copyrights .dm-half {
	    flex: 1 1 100%;
	}

	.copyrights .dm-half:nth-child(1) {
	    order: 2;
	}

	.dm-full.footer-creds p {
	    text-align: center;
	}

	.copyrights .dm-half iframe {
	    height: 350px;
	}

	.central-welcome .central-image img {
		width:  100%;
	}

	.central-img-tabs img {
	    height: 120px !important;
	}
}

@media (max-width: 991px) {
	.dm-blog-posts .dm-third {
	    flex: 1 1 50%;
	    flex-basis: 320px;
	    max-width: 50%;
	}

	section.central-services {
	    display: flex;
	    flex-wrap: wrap;
	}

	section.central-services > .container-wide {
	    order: 1;
	}

	.central-wrapper {
	    order: 2;
	    padding: 80px 0px;
	}

	.central-img-tabs {
	    margin: 0px;
	}

	section.central-services {
	    margin-bottom: 0px;
	}

	section.dm-blog-posts .dm-third {
		flex-basis: 320px;
	}
}
@media (max-width: 881px) {
	#page.homepage {
		padding: 0px !important;
	}
	html a#pull {
	    width: auto;
	    text-align: center;
	    padding: 0px;
	    color: #000 !important;
	    background: transparent !important;
	    font-size: 29px;
	    position: relative;
	    display: block;
	    margin: 0px !important;
	    margin-left: 15px !important;
	}

	html a#pull:after {position: relative;padding: 0px !important;left: 0px;right: 0px;top: 0px !important;}

	.regular_header #secondary-navigation {
	    width: 100%;
	    justify-content: space-between;
	}

	#header a.btn {
	    margin: 0px auto;
	    margin-right: 0px;
	}

	.dm-third.social-header {
	    display: none;
	}

	nav.navigation.clearfix #menu-main-menu {
		margin: 0px !important;
	}
}
@media (max-width: 768px) {
	html .video_holder {
		max-height: 500px !important;
	}
	.header-spacer {
	    height: 95px;
	}
	div#regular-header {
	    display: none;
	}
	.dm-blog-posts .dm-third {
	    flex-basis: 320px;
	    max-width: 100%;
	}
	section.central-welcome .dm-half:nth-child(1) {
	    flex: 1 1 100%;
	    margin-bottom: 30px;
	}

	.central-tab {
	    flex: 1 1 33.33%;
	}

	.central-img-tabs {
	    flex-wrap: wrap;
	}
	.central-wrapper {
	    padding: 50px 0px;
	}

	.central-wrapper .dm-half {
	    flex: 1 1 100%;
	}

	.central-testimonials-wrapper {
	    padding: 15px;
	    width: 100%;
	    text-align: center;
	}

	.central-testimonials-wrapper .dm-half {
	    width: 100%;
	    max-width: 100%;
	}
	.copyrights .dm-half:nth-child(1) {
		padding: 40px 0px;
	}
	.central-testimonials-wrapper .slick-dots {
		text-align: center;
	}
	.dm-col-3 {
	    width: 100%;
	    text-align: center;
	}
}
@media (max-width: 640px) {
	div#header {
		padding: 10px 0px;
	}
	#header a.btn {
		display: none;
	}
}
@media (max-width: 540px) {
	footer .dm-full {
		padding: 0px 15px;
	}
	.dm-full.footer-contact-info img {
	    width: 100%;
	    max-width: 90%;
	}
	.central-tab {
		flex:  1 1 50%;
	}
	.carousel-caption h2 {
	    font-size: 32px;
	}
	section.central-welcome h2 {
	    font-size: 30px;
	}
	.central-img-tabs {
	    padding: 0px;
	}
	.central-wrapper .dm-half {
	    padding: 0px;
	}
}

.insurance-box {
    display: flex;
    flex-wrap: wrap;
    /* align-content: space-evenly; */
    justify-content: space-evenly;
    border: 2px solid #f0f0f0;
    box-shadow: 2px 2px 2px #00000014;
    align-items: center;
}


.insurance-box img {
    max-height: 170px;
    width: auto;
    margin: 0px!important;
    border: 0px!important;
    outline: 0px!important;
    padding: 0px;
    box-shadow: none;
    max-width: 170px;
    padding: 20px;
}


.insurance-box.no-border {
    border: none;
    box-shadow: none;
}

.no-border img {
    max-width: 150px!important;
}

 img.wp-image-155 {
    border: 0px!important;
    outline: none!important;
 }

 .page-id-162 .dm-flex {
    align-items: start!important;
 }