/*
Theme Name: Classy - 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;
}
html section.page-header {
    background: url(/wp-content/uploads/2024/01/autumn-maple-tree-leaves-full-frame-arrangement-with-many-colorful-leaves.webp) center center / cover;
    padding: 40px 0;
    text-shadow: 1px 2px 2px #000;
}
html .slick-next {
    display: none !important;
}
#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(--aColor) 0%, var(--sColor) 100%); */
    color: #fff !important;
    border-radius: 50px;
}

#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;
    padding: 5vh 0px;
}

.copyrights p a {
    line-height: 1;
    display: inline-block;
}

.copyrights p {
    margin-bottom: 23px;
}

footer .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #000;
    background: #fff;
    display: inline-block;
    text-align: center;
    line-height: 40px;
}

.dm-full.footer-creds p {
    margin-bottom: 0px;
}

footer#site-footer {
    margin: 0px;
    padding: 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;
    padding: 20px 0px;
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    opacity: 0.9;
}

.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: #fff;
    font-weight: bold;
    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;
}

.copyrights h3,
.copyrights h4 {
    color: #fff;
}

.copyrights {
    text-align: left;
    float: none;
}

.copyrights .dm-flex {
    max-width: 1300px;
    margin: 0px auto 20px;
}

section.visit-us-today {
    padding: 10vh;
}

section.visit-us-today ifraME {
    border-radius: 0px 50px;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 14%);
    display: block;
}

section.visit-us-today .dm-flex {
    gap: 35px;
}

section.visit-us-today .dm-half {
    flex: 1;
}

section.visit-us-today h2 {
    font-size: 40px;
}

section.visit-us-today .dm-half li:before {
    opacity: 0;
    padding: 0px;
}

section.visit-us-today ul {
    padding: 0px;
}

section.visit-us-today li {
    margin-bottom: 22px;
    padding-left: 40px;
    position: relative;
}

section.visit-us-today i {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 23px;
    color: var(--pColor);
}

section.visit-us-today a {
    display: block;
    line-height: 1;
}

/* Blog Section */
section.dm-blog-posts {
    padding: 100px 0px;
    /* 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%;
}

.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: #4e8abf;
    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);
}

section.new-service-section {
    background: #f4f6f333;
    padding: 8vh 0px;
    display: none;
}
.page-id-29 .new-service-section {
    display: block;
}

.tab-section {
    display: none;
}
section.new-service-section h2 {
    text-align: center;
    font-size: 41px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 38px;
}

section.new-service-section p {
    color: transparent;
    transition: all ease-in-out 0.5s 75ms;
    line-height: 0;
    font-size: 1rem;
    position: relative;
}

section.new-service-section h3 {
    font-size: 25px;
    line-height: 1;
    color: #fff;
    position: relative;
}

section.new-service-section span {
    border: 1px solid var(--pColor);
    text-transform: uppercase;
    letter-spacing: 0px;
}

section.new-service-section .dm-third {
    flex: 1 1 30%;
    width: auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    padding: 15px;
    border-radius: 20px 20px 0px 0px;
    flex-basis: 300px;
}

section.new-service-section .dm-flex {
    gap: 1%;
    align-items: inherit;
}

section.new-service-section .dm-third:hover {
    /* background-image: initial; */
    /* background-color: #ffffff; */
    /* box-shadow: 0px 5px 15px -6px rgb(0 0 0 / 30%); */
    /* transform: translateX(0px) translateY(-15px)!important; */
}

/* Testimonials */
.main-head-wrap.header_fixed #regular-header {
    margin-top: -40px;
}

.central-text-wrapper:nth-child(odd) .letter-wrap {
    background: var(--pColor);
}

.dm-half-plus .slick-dots button {
    background: rgb(17 17 17 / 19%);
}

.letter-wrap img {
    position: absolute;
    bottom: 0px;
    right: 0px;
    transform: scaleX(-1);
    max-width: 60px;
}

.central-text-wrapper {
    padding: 20px 10px;
}

section.classy-testimonials {
    padding: 10vh 0px;
}

.dm-half-plus {
    display: block;
    flex: 1 1 66.66%;
    width: 66.66%;
}

.classy-testimonials-wrapper.dm-flex {
    max-width: 1300px;
    margin: 0px auto;
}

.classy-testimonials-wrapper.dm-flex strong {
    font-size: 50px;
    line-height: 1;
    font-weight: 400;
    padding-right: 50px;
    display: block;
}

.letter-wrap {
    background-color: var(--aColor);
    border-radius: 0 22px 0 22px;
    overflow: hidden;
    padding-top: 30px;
    position: relative;
    padding-right: 25px;
    padding-bottom: 30px;
    padding-left: 25px;
    box-shadow: 0px 5px 10px -6px rgb(0 0 0 / 30%);
}

.letter-wrap p {
    font-size: 17px;
}

.letter-wrap h4 {
    font-size: 25px;
    border-top: 1px solid #000;
    padding-top: 10px;
}

section.central-testimonials {
    padding: 100px 0px;
    background-size: cover;
    background-position: 50% 0%;
    position: relative;
}

.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: 18px;
    font-size: 20px;
    line-height: 1.5;
}

.central-test-content + h4 {
}

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;
}

/* Half Half  */
section.half-half-classy {
    padding: 10vh 0px;
    background: #f4f6f3;
}

section.half-half-classy img {
    border-radius: 50px 0px;
}

section.half-half-classy h2 {
    font-size: 41px;
}

section.half-half-classy p {
    font-weight: 300;
}

.main-head-wrap.header_fixed {
    /* background: rgb(255 255 255 / 95%); */
}

/* CTA  */
.cta-content {
    background-color: rgb(244 246 243 / 86%);
    border-radius: 45px 0 45px 0;
    overflow: hidden;
    padding-top: 5%;
    padding-right: 6%;
    padding-bottom: 5%;
    padding-left: 6%;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 10%);
    width: 57%;
}

.cta-carrier {
    padding: 15vh 0px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 90%;
    margin: 0px auto;
}

.cta-carrier h2 {
    font-size: 41px;
}

section.cta-classic {
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 50%;
}

/* Welcome */
section.central-welcome {
    background: var(--pColor);
    padding: 10vh 0px;
}

section.central-welcome .container-wide {
}

section.central-welcome * {
    color: #fff;
}

.central-welcome .central-image img {
    width: 100%;
    height: 100% !important;
    box-shadow: 0 20px 50px -20px rgb(0 0 0 / 20%);
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50px 0px;
}
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 50%;
    order: 2;
}

section.central-welcome .dm-half:nth-child(2) {
    flex: 1 1 50%;
}

#site-header .container-wide {
    max-width: 100%;
}

.container-wide {
    max-width: 1300px;
    margin: 0px auto;
    width: 100%;
    padding: 0px 15px;
}

section.central-welcome h3 {
    font-size: 23px;
    text-transform: uppercase;
    /* color: var(--pColor); */
}

section.central-welcome blockquote {
    background: transparent;
    padding: 0px 20px;
    margin-bottom: 20px;
    border-left: 2px solid var(--aColor);
    font-style: italic;
    opacity: 0.9;
}

section.central-welcome blockquote:after {
    left: 10px;
    top: 10px;
    color: #fff;
    font-size: 90px;
    line-height: 90px;
    opacity: 0;
}

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) {
    .main-head-wrap.header_fixed #regular-header {
        margin-top: -40px;
    }
    .mobile_cta_buttons.hide-d.mobile-btn div.header-social-icons:before {
        display: none;
    }
}

/* Header */

@media (min-width: 881px) {
    div#header nav {
        width: auto;
        margin: 0px auto;
        margin-right: 0px;
        float: none;
        text-align: center;
        width: 100%;
        padding: 10px 0px;
    }
}

#secondary-navigation #logo a {
    font-weight: bold;
    font-size: 22px;
    display: flex;
    max-width: 600px;
    text-transform: none;
}

html #header #logo {
    float: none !important;
    display: block !important;
}

div#header {
    padding: 10px 0px;
    float: none;
    background: transparent;
}

.regular_header #secondary-navigation {
    float: none;
}

div#regular-header i {
    margin-right: 8px;
}

.main-head-wrap {
    /* position: fixed; */
    top: 0px;
    left: 0px;
    width: 100%;
    /* background: linear-gradient(rgb(255 255 255) 0%,rgb(255 255 255 / 85%) 50%,rgb(255 255 255 / 59%) 75%,rgba(255,255,255,0) 100%); */
    /* padding-bottom: 3rem; */
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.header-spacer {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: none;
}

@media (min-width: 881px) {
    .header-spacer {
        min-height: 0px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
}

.home .header-spacer {
    display: none;
}

#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: center;
    flex-wrap: wrap;
}

#header .logo-wrap {
    padding: 0px;
    overflow: visible;
    /* max-width: 23%; */
    display: none;
}

nav.navigation.clearfix #menu-main-menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -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: 10px 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;
}

.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;
}

.dm-full.footer-contact-info {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

/* Video */
.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    max-width: 1300px;
    margin: 0px auto;
    left: 0px;
    right: 0px;
    text-align: right;
}

.carousel-caption span {
    color: #fff;
    font-size: 23px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.carousel-caption h2 p {
    font-weight: 300;
    line-height: 1.5;
    font-size: 24px;
    max-width: 700px;
    opacity: 0.9;
    margin: 10px auto 20px;
    margin-right: 0px;
}

.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: 0px 0px 0px !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: #fff !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;
    }
    #header .logo-wrap {
        max-width: initial;
    }

    .carousel-caption h2 p {
        display: none;
    }

    .carousel-caption {
        text-align: center;
    }

    section.central-welcome .container-wide {
        border: 0px;
        padding: 20px 10px;
    }

    section.central-welcome {
        padding: 5vh 0px;
    }

    .classy-testimonials-wrapper.dm-flex strong {
        padding: 0px;
        text-align: center;
        font-size: 40px;
    }

    .cta-carrier {
        padding: 10vh 0px;
    }

    .cta-content {
        width: 100%;
    }

    section.half-half-classy {
        padding: 5vh 0px;
    }

    section.visit-us-today {
        padding: 5vh 10px;
    }

    section.visit-us-today .dm-half {
        flex: 1 1 100%;
    }

    .dm-full.footer-creds p {
        width: 100%;
        text-align: center;
    }

    .copyrights .dm-full {
        flex-wrap: wrap;
    }
}
@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;
    }
}

/* MLoc */
.container-wide.dm-flex .dm-full {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.container-wide.dm-flex .dm-full p {
    padding: 0px 5px !important;
    font-size: 14px !important;
}

.container-wide.dm-flex p:after {
    content: "-";
    position: relative;
    right: -3px;
}

.container-wide.dm-flex p:last-of-type:after {
    display: none;
}

.container-wide.dm-flex .dm-full p:nth-child(1) a {
    font-weight: bold;
}
/*
.dm-slide-main:nth-child(1),.dm-slide-main:nth-child(5) {
    width: 66.66%;
    border-bottom: 0px;
}

.dm-slide-main:nth-child(5) {
    border-top: 0px;
}

.dm-slide-main:nth-child(2),.dm-slide-main:nth-child(6) {
    width: 33.33%;
    border-bottom: 0px;
    border-left: 0px;
    border-top: 0px;
}

.dm-slide-main:nth-child(2) {
    border-top: 8px solid #fff
}


.dm-slide-main:nth-child(3) {
    width: 41.66667%;
    display: flex;
    background: var(--sColor);
    padding: 20px;
    justify-content: flex-start;
    align-items: center;
    border-right: 0px;
}

.dm-slide-main:nth-child(4) {
        width: 58.33333%;
}


html .dm-slide-main {
    height: 20rem !important;
    border: 8px solid #fff;
}

div#slidera {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 8px;
}

.dm-slide-main:nth-child(3) .newCon {height: auto !important;display: none;}

html .dm-slide-main .slide-caption {
    position: relative;
    bottom: auto !important;
    width: 100% !important;
    text-align: left;
    max-height: 100% !important;
}

html .dm-slide-main .slide-caption p {
    text-align: left;
}

html .dm-slide-main .slide-caption h2 {
    font-size: 30px !important;
    text-shadow: 0px 00px 0px !important;
}
*/
.dm-full.social-header {
    display: flex;
    justify-content: flex-end;
    width: auto;
    align-items: center;
}

div#mobile-menu-overlay {
    display: none;
}

.home header#site-header {
    position: absolute;
    background: linear-gradient(rgb(255 255 255) 0%, rgb(255 255 255 / 85%) 50%, rgb(255 255 255 / 59%) 75%, rgba(255, 255, 255, 0) 100%);
    padding-bottom: 3rem;
}

div#secondary-navigation > .dm-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons a {
    background: var(--pColor);
    border-radius: 50%;
    color: #fff !important;
    width: 40px;
    box-sizing: border-box;
    padding: 0px !important;
    display: inline-block;
    text-align: center !important;
    line-height: 40px !important;
}

.dm-full.social-header p {
    margin: 0px;
    margin-right: 10px;
}

.dm-full.social-header p a {
    font-size: 23px !important;
    padding: 0px !important;
    font-weight: bold !important;
}

.social-icons {
    vertical-align: middle;
}

html .dm-slide-main .slide-caption a.btn {
    border-radius: 50px;
    background: #fff !important;
    color: #000 !important;
}

.ourServices h2 {
    display: none;
}

.ourServices {
    padding: 0px 0px 0px;
}

.ourServices img {
    max-width: 100px;
}

.ourServices a h4 {
    color: #000;
    font-size: 25px;
}

section.links {
    padding: 8vh 0px;
    text-align: center;
    display: none;
}

section.new-service-section .dm-third a {
    display: block;
    border: 3px solid var(--pColor);
    text-align: center;
    padding: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    background: #000;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

section.new-service-section h3:after {
    content: "";
    width: 80px;
    height: 2px;
    background: #fff;
    position: relative;
    display: block;
    margin: 20px auto;
}

.dm-blog-image {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0.5;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

section.new-service-section .dm-third:hover p {
    line-height: 1.2;
    color: #fff;
}

section.new-service-section .dm-third a svg {
    position: asb;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

section.new-service-section .dm-third a:hover {
    background: #fff;
}

section.new-service-section .dm-third a:hover * {
    color: var(--pColor);
}

section.new-service-section .dm-third a:hover .dm-blog-image {
    opacity: 0.1;
}

section.new-service-section .dm-third a:hover h3:after {
    background: var(--pColor);
}

section.new-service-section .dm-third a:hover svg path {
    fill: var(--pColor);
}

/* Testimonials */
html section#wda_testi {
    padding: 10vh 0px;
}

html section#wda_testi {
    background-color: var(--sColor);
}

html section#wda_testi p {
    color: #fff;
    text-align: center !important;
    font-style: normal !important;
    margin: 0px;
}

html .bg-white:after {
    display: none;
}

section#wda_testi h4 {
    text-align: center !important;
    padding: 10px 0px !important;
    font-size: 20px !important;
    font-weight: bold;
}

span.slide-star {
    display: none !important;
}

html .bg-white {
    background: transparent;
    padding: 10px;
    text-align: center;
}

section#wda_testi .slick-arrow {
    display: none !important;
}

.new-wrapper:before {
    left: 0px;
    content: "\f10d";
    position: absolute;
    color: #fff;
    font-family: "FONT AWESOME 5";
    font-size: 30px;
    opacity: 0.3;
    top: -11px;
}

.new-wrapper {
    padding: 0px 25px;
    padding-top: 25px;
}

.new-wrapper:after {
    content: "\f10e";
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-family: "Font Awesome 5";
    font-size: 30px;
    opacity: 0.3;
}

html section#wda_testi:after {
    background-image: url(/wp-content/uploads/2023/11/paw-black-shape.png);
    opacity: 1;
    background-size: contain;
    background-repeat: no-repeat;
    height: 400px;
    width: 400px;
    background-color: transparent !important;
    filter: brightness(0) invert(1);
    opacity: 0.1;
    bottom: -50px;
    left: -50px;
    top: auto;
    transform: rotate(-25deg);
}

html section#wda_testi:before {
    opacity: 0.1;
}

#wda_testi .container {
    z-index: 10;
}

section.tab-section .dm-half {
    padding: 0px;
}

section.tab-section a {
    display: block;
    position: relative;
    height: 22vw;
}

section.tab-section .dm-blog-image {
    opacity: 1;
}

section.tab-section a:before {
    content: "";
    background: linear-gradient(180deg, rgba(1, 5, 67, 0) 25%, rgb(0 0 0 / 65%) 100%);
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

section.tab-section a div + div {
    position: absolute;
    bottom: 0px;
    padding: 20px 30px;
    z-index: 1;
}

section.tab-section a h3 {
    color: #fff;
    padding-bottom: 5px;
}

section.tab-section a h3:after {
    width: 100%;
    height: 4px;
    background: var(--aColor);
    content: "";
    position: relative;
    display: block;
    margin-top: 8px;
}

.dm-full.footer-creds {
    background: #fff;
    justify-content: center;
    text-align: center;
    padding: 15px 0px;
}

.dm-full.footer-creds * {
    font-size: 15px;
}

.copyrights .social-icons a * {
    color: #000;
}

footer#site-footer h3:after {
    width: 35%;
    height: 4px;
    background: var(--aColor);
    content: "";
    position: relative;
    display: block;
    margin-top: 8px;
}

section.tab-section a {
    background: #000;
}

section.tab-section a:hover .dm-blog-image {
    opacity: 0.6;
}

section.central-welcome h2 {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 38px;
}

#secondary-navigation #logo a span {
    opacity: 0.5;
    border-left: 2px solid var(--pColor);
    padding-left: 20px;
}

@media (max-width: 991px) {
    .dm-full.social-header {
        display: none;
    }

    .dm-slide-main:nth-child(1),
    .dm-slide-main:nth-child(5) {
        display: none;
    }

    .dm-slide-main:nth-child(2),
    .dm-slide-main:nth-child(6) {
        width: 100%;
        border-left: 8px solid #fff;
    }

    .dm-slide-main:nth-child(4) {
        display: none;
    }

    .dm-slide-main:nth-child(3) {
        width: 100%;
        text-align: center;
        border-right: 8px solid #fff;
        justify-content: center;
    }

    .dm-slide-main:nth-child(3) * {
        text-align: center !important;
    }

    #header .logo-wrap {
        width: 100%;
    }

    #secondary-navigation #logo a {
        width: 100%;
        justify-content: center;
        text-align: center;
        max-width: 100%;
    }

    section.tab-section .dm-half {
        width: 100%;
    }

    section.tab-section a {
        min-height: 350px;
    }
}

@media (max-width: 881px) {
    html a#pull:after {
        color: #fff;
    }

    html section#wda_testi:after {
        width: 300px;
        left: 0px;
    }

    #secondary-navigation #logo a {
        flex-wrap: wrap;
    }

    #secondary-navigation #logo a span {
        border-left: 0px;
        padding-top: 15px;
    }

    html a#pull {
        width: 100%;
        background: var(--pColor) !important;
        margin: 0px !important;
        padding: 0px 0px !important;
    }

    .home header#site-header {
        position: relative;
        padding: 10px 10px 0px;
    }

    #site-header .container-wide {
        padding: 0px;
    }
}

@media (max-width: 640px) {
    footer#site-footer h3:after {
        margin: 5px auto 20px;
    }

    .copyrights .dm-fourth {
        margin-bottom: 30px;
    }
}

.dm-slide-main .newCon {
    opacity: 0;
}

.newCon img {
    object-fit: cover;
    height: 100% !important;
    width: 100% !important;
}

.dm-slide-main {
    background: linear-gradient(354deg, #0f4c5c, #5486942b);
    background-size: 400% 400%;
    -webkit-animation: AnimationName 4s ease infinite;
    -moz-animation: AnimationName 4s ease infinite;
    animation: AnimationName 4s ease infinite;
}

@-webkit-keyframes AnimationName {
    0% {
        background-position: 0% 38%;
    }
    50% {
        background-position: 100% 63%;
    }
    100% {
        background-position: 0% 38%;
    }
}
@-moz-keyframes AnimationName {
    0% {
        background-position: 0% 38%;
    }
    50% {
        background-position: 100% 63%;
    }
    100% {
        background-position: 0% 38%;
    }
}
@keyframes AnimationName {
    0% {
        background-position: 0% 38%;
    }
    50% {
        background-position: 100% 63%;
    }
    100% {
        background-position: 0% 38%;
    }
}

li#field_3_1 input {
    width: 100%;
}

ul#gform_fields_3 .dm-third input {
    width: 100% !important;
}

ul#gform_fields_3 .dm-third {
    padding-left: 0px;
    width: 100%;
    padding-right: 10px;
}
.page-id-144 .dm-service-section .dm-flex {
    align-items: start;
}
@media (min-width: 881px) {
    ul#gform_fields_3 .dm-third {
        float: left;
        padding: 0px;
        clear: none;
        width: 33.33%;
        padding-right: 10px;
    }

    li#field_3_9,
    li#field_3_3 {
        width: 50%;
        float: left;
        clear: none;
    }
}

/* Memorium */
#content_box .dm-service-section.memorium-third img {
    margin: 0px;
    border: 0px;
    outline: none;
    width: 100%;
    display: block;
    top: -10px;
    position: relative;
    left: -10px;
    max-width: calc(100% + 20px);
    width: calc(100% + 20px) !important;
    height: 250px !important;
    object-fit: cover;
}

.dm-service-section.memorium-third .dm-third {
    border: 1px solid #000;
    padding: 10px;
}

.dm-service-section.memorium-third br {
    display: none;
}

.dm-service-section.memorium-third p {
    margin: 0px;
}

.dm-service-section.memorium-third .dm-third {
    text-align: center;
}

.dm-service-section.memorium-third .dm-flex {
    gap: 1%;
    align-items: inherit;
}

.dm-service-section.memorium-third .dm-third {
    flex: 1 1 calc(33.33% - 1%);
    flex-basis: 300px;
    margin-bottom: 1%;
}

.dm-service-section.memorium-third .dm-third h5 + p {
    font-size: 16px;
    margin-bottom: 20px;
}

.dm-service-section.memorium-third small {
    display: block;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    padding-top: 10px;
}

.dm-third.submitmemo {
    background: var(--pColor);
    border: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.dm-third.submitmemo * {
    color: #fff;
}

.dm-third.submitmemo i {
    background: #000;
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    font-size: 24px;
}

/* Urn */
.dm-service-section.urns {
    background: #fcfcfc;
}

.dm-service-section.urns .dm-flex {
    align-items: inherit;
}

.dm-service-section.urns .dm-flex img {
    outline: none;
    border: 0px;
    height: 220px !important;
    object-fit: cover;
    width: 100%;
}

.dm-service-section.urns .dm-fourth {
    border: 1px solid #000;
    padding: 0px;
    display: block;
    flex: 1 1 calc(25% - 10px);
    margin: 5px;
}

.dm-service-section.urns img {
    margin: 0px;
}

.dm-service-section.urns .dm-fourth p {
    margin: 0px;
}

.dm-service-section.urns .dm-fourth br {
    display: none;
}

.dm-service-section.urns .dm-fourth strong {
    display: block;
    padding: 10px 5px;
    text-align: center;
    color: var(--pColor);
}

.central-welcome p {
    text-align: center;
}

/* center it all */

.page-id-30 .c6 {
    text-align: center;
}

.dm-half,
.dm-full,
.single_page {
    text-align: center;
}

.dm-half h3,
.dm-full h3,
.single_page h3 {
    text-align: center;
}
.dm-half li:before {
    display: none;
}

/*

.dm-half li {
    list-style: disc;
}
*/

/*
.dm-half li:before {
    content: "\f111";
}
*/
