/*
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: #000 !important;
    border-radius: 10px;
}

#header a.btn {
    padding: 10px 20px;
}

.container {
    width:  100%;
    max-width: 1200px;
    padding: 0px 15px;
}
.anchor-fix {
    position: relative;
    top: -160px;
    width: 100%;
    height: 1px;
}
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,html #secondary-navigation > nav > ul > li.current-menu-parent {
    background: transparent !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;
}
.navigation ul ul{background: #fff !important;}
.sub-menu .current_page_item:before{opacity:0;}
@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: center;
}

.dm-col-3 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.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: #000;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 21px;
    text-align: center;
    width: 100%;
}

.dm-full.footer-contact-info img {
    max-width: 200px;
    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: 50px 0px 100px;
    /* background-position: 50% 50%; */
    /* background-size: initial; */
    /* background-repeat: no-repeat; */
}

section.dm-blog-posts h4 {
    text-align: center;
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 1px;
}

.dm-blog-image {
    height: 300px;
    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;
}

.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;
    display: none;
}

.central-testimonials-wrapper {
    margin: 0px auto;
    width: 52%;
    margin-right: 0px;
    padding: 50px 0px 30px;
    position: relative;
}

.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: left;
}

.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;
}

section.central-welcome h3 {
    font-size: 23px;
    text-transform: uppercase;
    color: var(--pColor);
}

section.central-welcome h2 {
    margin-bottom: 30px;
}

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;
    justify-content: space-between;
}

#header .logo-wrap {
    padding: 0px;
    overflow: visible;
    max-width: 30%;
}

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: 150px;
}

ul#menu-main-menu a {
    text-transform: none;
}

#secondary-navigation a {
    padding: 20px;
}

div#regular-header {
    background: var(--sColor);
}

div#regular-header * {
    color: #000;
}

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;
}

.dm-third.social-header a {
    margin-left: 10px;
}

.dm-third.address-header {
    text-align: left;
    width: 66.66%;
}

.dm-third.phone-header {
    text-align: left;
}

#regular-header {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.dm-full.footer-contact-info {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

/* 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;
}

.dm-slide-main .slide-caption p{text-shadow:1px 2px 2px #000!important;}
.dm-slide-main .slide-caption a, .central-wrapper h3, .central-wrapper p{color:#fff;}
html .slick-next{display:none;}

/* 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) {
		html .dm-slide-main {    height: 250px !important;}
	html .dm-slide-main .slide-caption{bottom:10px;}
	html .dm-slide-main .slide-caption h2{font-size:26px!important;}
	html .dm-slide-main .slide-caption p {    font-size: 14px;}
    .mobile_cta_buttons.hide-d.mobile-btn {
        display: block;
    }
    #secondary-navigation {
        height: auto !important;
    }
    .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;
    }
}
.dm-third.address-header p {
    display: inline-block;
    margin: 0px;
    margin-right: 10px !important;
}

.dm-third.address-header p a + a {
    font-weight: bold;
}

.dm-t-third {
    width: 49%;
}

.dm-col-3 h5 {
    color: #000;
    font-weight: bold;
}
.copyrights p, .copyrights a { color: #000; }

.logo-wrap a:after {
    content: "Lahiri Eye Center";
}

div#header #logo img {
    max-width: 120px;
    display: inline-block;
    vertical-align: middle;
}

div#header #logo a:after {
    display: inline-block;
    vertical-align: middle;
    max-width: 150px;
    font-weight: bold;
    margin-left: 7px;
}

@media (min-width: 881px) {
	div#secondary-navigation > nav {
		width: auto;
	}
}

#post-108 > div > div > div > div > div > p {display: flex;}

.insurances-text-list {column-count: 2;}

#slider-primary .dm-slide-main {
    height: 100vh !important;
    position: relative;
}
#blog .newCon {
    object-fit: contain !important;
    height: 100vh !important;
}
.dm-slide-main .newCon {
    background: none!important;
}
.dm-slide-main .newCon img {
    display: block;
    position: relative;
    width: 100%;
    height: 100vh !important;
    height: auto;
    object-fit: contain;
}

.dm-half.align-top {
    align-self: start;
}

div.inner-page h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--pColor);
    color: white;
    font-weight: 700;
	margin: 0;
}
#blog .newCon {
    object-fit: contain !important;
}
div#header .container-wide {
    max-width: 1600px !important;
}







.flex-box{
    display: flex;
    flex-wrap: wrap;
}
.flex-img,
.flex-gallery,
.flex-logos,
.flex-staff{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
}
.flex-staff{
    align-content:center;
}
.flex-staff > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.flex-gallery img,
.flex-logos img,
.flex-img img,
.flex-staff img{
    width: 300px;
    height: 300px !important;
    object-fit: cover;
    object-position: top;
    margin: 5px;
}
.flex-logos img{
    width: 225px;
    height: 126px !important;
    outline: 0 !important;
    border: 0px !important;
    margin: 5px !important;
    object-fit: contain;
}
.flex-gallery img{
    width: 200px;
    height: 400px !important;
}
.flex-staff h2{
    margin:0;
}
.col-12, .col-11, .col-10, .col-9, .col-8, .col-7,
.col-6, .col-5, .col-4, .col-3, .col-2, .col-1{    padding: 1%;     }
.col-12{    width: calc(((100% / 12) * 12) - 2%);     }
.col-11{    width: calc(((100% / 12) * 11) - 2%);     }
.col-10{    width: calc(((100% / 12) * 10) - 2%);     }
.col-9{    width: calc(((100% / 12) * 9) - 2%);     }
.col-8{    width: calc(((100% / 12) * 8) - 2%);     }
.col-7{    width: calc(((100% / 12) * 7) - 2%);     }
.col-6{    width: calc(((100% / 12) * 6) - 2%);     }
.col-5{    width: calc(((100% / 12) * 5) - 2%);     }
.col-4{    width: calc(((100% / 12) * 4) - 2%);     }
.col-3{    width: calc(((100% / 12) * 3) - 2%);     }
.col-2{    width: calc(((100% / 12) * 2) - 2%);     }
.col-1{    width: calc(((100% / 12) * 1) - 2%);     }
.flex-ul-2{  columns: 2;    column-fill: balance;   }
.flex-ul-3{  columns: 3;   column-fill: balance;    }
.dm-full ul.no-check li,
.dm-half ul.no-check li{
    list-style: disc;
}
.dm-full ul.no-check li:before,
.dm-half ul.no-check li:before{
    display: none;
}
ul.no-dot{
    list-style-type: none !important;
}
img.no-border{
    border: none;
    outline: none;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;

  /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
  opacity: 0;
  transition: opacity 1s;
}

.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

@media (max-width: 880px) {
    .flex-ul-2,
    .flex-ul-3{  columns: 1;     }
    .col-12, .col-11, .col-10, .col-9, .col-8, .col-7,
    .col-6, .col-5, .col-4, .col-3, .col-2, .col-1{
        width: 100%;
    }
}