/*
Theme Name: Ritz - Child
Version: 1.0
Description: A child theme of Schema by MyThemeShop
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");
.logo-head p {
    font-size: 18px;
    margin: 0px;
    margin: 0px 5px;
    text-transform: uppercase;
}
div#page.single {
    padding: 20px 0px;
    box-sizing: border-box;
}
section.hd-welcome.hd-section {
    position: relative;
}
.hd-group {
    background: #0290e2 url(/wp-content/uploads/2020/09/concrete-wall-2.png);
}
.hd-group * {
    color: #fff;
}
section.hd-welcome.hd-section:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    filter: brightness(0);
    opacity: 0.2;
}
.wda-make-space {
    background-color: rgba(0, 0, 0, 0.3);
}
.innerImage {
    background-size: inherit;
    background-position: 50% 50%;
    height: 72px !important;
    opacity: 0.6;
    background-color: #171717c4;
}
.hd-group__image a {
    height: 100%;
    width: 100%;
    position: relative;
    display: block;
}
.insta-gallery__item {
    margin-bottom: 20px;
    display: flex;
    flex: 0 0 25%;
    max-width: 50%;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}
.hd-services__image .crazy {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    border: 0px;
    bottom: 0px;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: 50% 50%;
    transition: transform 0.4s ease-in;
    -webkit-transform: scale(1);
    transform: scale(1);
    /* z-index: 1; */
}
html .hd-group__image {
    background-size: cover;
    height: 235px;
}
.hd-services__link:hover .crazy {
    transition: transform 0.4s ease-in;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.hd-services__image img {
    opacity: 0;
}
#regular-header {
    padding: 15px !important;
}
#regular-header a {
    color: white !important;
}

.socials-list__link {
    border-color: #2a2024 !important;
}
header .navigation a {
    color: white !important;
}
.hide-d {
    display: none;
}

.socials-list__link span {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.widget_text iframe {
    display: block;
}
.widget_text p {
    text-align: center;
}
.widget_text a {
    display: inline-block;
    background-color: #fff;
    color: #44321c;
    padding: 10px 20px;
}
html .main-footer h3 {
    color: #fff;
    font-size: 20px;
}
.care-it {
    text-align: center;
    padding: 20px 0px 0px;
    margin-bottom: -5px;
}

.care-it .socials-list {
    align-items: center;
    justify-content: center;
}

.care-it .socials-list * {
    border-color: #fff !important;
    color: #fff !important;
}
footer.main-footer .col-12 a {
    color: #fff !important;
}
footer {
    padding: 50px 0px;
}
.primary-slider .slide-title {
    padding: 0px 10px;
    box-sizing: border-box;
}
div#regular-header {
    overflow: visible;
}
/* Colors */
/* Header */
html .top-bar {
    background-color: #6a819b !important;
}
/* Slider */
html .hero-slider.primary-slider .owl-controls .owl-dot::after {
    filter: brightness(0) invert(1);
}
.video_wrapper video {
    width: 100%;
    height: 100% !important;
    position: absolute;
    top: 0px;
    left: 0px;
    object-fit: cover;
}

.video_wrapper .video_holder {
    height: 700px;
    overflow: hidden;
    position: relative;
}

.video_wrapper .video_holder:before {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    content: "";
    background-color: #000;
    opacity: 0.2;
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 100px;
    width: 100%;
    text-align: center;
    z-index: 1;
}
div#regular-header,
.hd-book__inner .hd-btn {
    background: #0290e2 url(/wp-content/uploads/2020/09/concrete-wall-2.png) !important;
}
.carousel-caption h2 {
    font-size: 45px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0px 0px 1px #000;
}

.carousel-caption a {
    display: inline-block;
    background-color: #44321c;
    padding: 10px 20px;
    color: #fff;
}
.hero-slider {
    margin-bottom: 0;
    height: 400px;
}
body .hd-heading__head::after {
    background-color: #a67f5f;
}
body .hd-heading__head {
    color: #181712;
}
@media (min-width: 865px) {
    .hero-slider {
        height: 700px;
    }
    .hero-slider.primary-slider .slide-caption {
        bottom: 105px;
    }
    .hero-slider.primary-slider .owl-controls .owl-dots {
        height: 100px;
    }
    .hero-slider.primary-slider .owl-controls .owl-dot {
        padding: 0 15px;
        width: 200px;
        height: 44px;
        border-right: 1px solid rgba(255, 255, 255, 0.4);
    }
    ul.sub-menu.toggle-submenu.wda-long-menu {
        width: 600px !important;
        left: auto;
        right: 0px;
    }

    ul.sub-menu.toggle-submenu.wda-long-menu li {
        width: 50% !important;
        float: left !important;
        display: block !important;
        max-width: 50%;
    }
    .logo-wrap {
        float: left;
        width: 240px;
    }

    div#header .container {
        max-width: 1200px !important;
    }

    .regular_header #secondary-navigation {
        float: right;
        width: auto !important;
    }
}

/* Buttons */
body .hd-btn_primary {
    color: #fff;
    border: 1px solid #fff;
}
body .hd-btn_primary:hover {
    background: #fff;
    color: #6b5e51;
}
body .hd-btn_second {
    color: #fff;
    background: #6b5e51;
    border: 1px solid #ae9364;
}
body .hd-btn_second:hover {
    background: #fff;
    color: #6b5e51;
}
.slide-caption.hero-slider__caption a {
    color: #fff !important;
    padding: 0px 5px;
    box-sizing: border-box;
}
/* Header */
html .socials-list__link {
    border-color: #fff !important;
}

/* Sub Heads */
html .hd-subhead {
    color: #6b5e51;
}
html .hd-link,
html .hd-link:hover {
    color: #fff;
}
/* Welcome Section */
.hd-frame {
    color: #181712;
}
.hd-frame * {
    color: inherit;
}
body .services-square__inner::before,
.hd-welcome .hd-frame::before {
    opacity: 0.6;
}
/* Services Boxes */
.row .hd-services__link::after {
    border: 1px solid #fff;
}
.row .hd-services__overlay {
    background-color: rgba(78, 78, 78, 0.5);
}
.row .hd-services__title,
.hd-services__content {
    color: #fff;
}
body .hd-welcome__item_content p {
    font-size: 15px;
}
.services-square__inner::before {
    border: 10px solid rgba(174, 199, 224, 0.47);
}

/* Testimonials */
.hd-testi__carousel .ts-carousel__navigation i {
    color: #111;
}
body .services-square__inner::before {
    background-color: rgba(255, 255, 255, 0.62);
    border: 10px solid rgba(68, 50, 28, 0.29);
}
body .hd-frame::before {
    border: 10px solid rgba(165, 178, 184, 0.8);
}
html .main-header .container {
    background-color: transparent;
}
.scrolled #logo a {
    color: #181712 !important;
}

@media screen and (min-width: 1330px) {
    .insta-grid {
        position: relative;
        display: grid;
        padding: 0;
        margin: 0;
        list-style: none;
        grid-template-columns: 270px 168px 374px 271px;
        grid-template-rows: 220px 220px;
        grid-gap: 38px;
    }
    .insta-grid > div:nth-child(1) {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
    }
    .insta-grid > div:nth-child(2) {
        align-self: end;
    }
    .insta-grid a:before {
        position: absolute;
        width: 100%;
        height: 100%;
        transition: all 0.4s ease;
        opacity: 0;
        background: linear-gradient(0deg, black 0%, transparent 50%);
        content: "@harrisondentalpc";
        color: #fff;
        text-align: center;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 11px;
    }

    .insta-grid a {
        display: block;
        position: relative;
    }

    .insta-grid img {
        width: 100%;
        display: block;
    }

    .insta-grid a:hover:before {
        opacity: 1;
    }
    .insta-grid > div:nth-child(4) {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
    }
    .insta-grid > div:nth-child(5) {
        align-self: start;
    }
    .insta-grid > div {
        position: relative;
        width: 100%;
        margin: 0;
        transition: all 0.4s ease;
    }
    .insta-grid > div:nth-child(6) {
        width: 62%;
        align-self: end;
    }
}
@media screen and (max-width: 1330px) {
    .insta-grid > div {
        width: 50%;
        float: left;
        padding: 10px;
        box-sizing: border-box;
    }

    .insta-grid {
        max-width: 340px;
        margin: 0px auto;
    }

    .insta-grid img {
        width: 100%;
        display: block;
    }

    .insta-grid a {
        display: block;
        position: relative;
    }

    .insta-grid:after {
        clear: both;
        content: "";
        display: block;
    }

    .hd-share__heading.hd-heading {
        text-align: center;
    }

    ul.socials-list {
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .hd-share__head::after {
        margin: 20px auto !important;
    }
    html .hd-services__item_size-double {
        margin-left: 3.333%;
    }
}
.main-header {
    float: none;
}
@media screen and (max-width: 880px) {
    #slider {
        margin-bottom: 20px;
    }
    .hd-welcome__item_content {
        padding: 0px !important;
    }
    body .hd-frame::before {
        display: none !important;
    }
    .hd-frame::before {
        display: none !important;
    }
    .wda-make-space {
        display: none !important;
    }
    #logo a,
    #logo img {
        width: 100%;
        display: block;
        max-width: 400px;
        margin: 0px auto;
    }
    #header #logo a {
        font-size: 28px;
        color: #44321c;
    }
    .main-footer {
        padding-bottom: 55px;
    }
    .logo-head {
        visibility: hidden;
        z-index: -1;
        opacity: 0;
    }
    html a.sticks {
        float: left;
        width: 50%;
        box-sizing: border-box;
        margin: 0px;
        border: 1px solid #6a819b;
        border-radius: 0px;
        padding: 5px 0px;
        background-color: #fff;
        color: #6a819b;
    }
    a#pull {
        left: 0px !important;
        right: 0px !important;
        margin: 0px auto !important;
    }
    a#pull span {
        background-color: #fff !important;
    }
    .logo-wrap img {
        max-width: 400px;
        display: block;
        margin: 0px auto;
    }
    .video_wrapper {
        display: none !important;
    }

    .logo-wrap {
        padding: 10px 0px !important;
    }
    .hide-d {
        display: block;
    }
    .bar-buttons__link {
        color: #2a2024 !important;
    }
    .mobileBtn {
        margin-bottom: 0px;
    }
    .mobileBtn a,
    .hours {
        display: block;
        color: #fff;
        text-align: center;
        background: #8b674c;
        padding: 10px;
        border-radius: 0px;
        -moz-border-radius: 0px;
        margin: 10px !important;
    }
    .mobileBtn.phoneBtn {
        font-size: 20px;
    }
    .mobileBtn a:hover,
    .mobileBtn a:visited {
        color: #fff;
    }
    .innerImage {
        display: none !important;
    }
    html .hd-services__overlay {
        background: rgba(0, 0, 0, 0.5);
        height: 100%;
        width: calc(100% - 40px);
        position: absolute;
        top: 0;
        left: 0;
        margin: 0 20px;
        width: 100%;
        left: 0px;
        margin: 0px;
    }
    .header-social-icons {
        float: none !important;
        text-align: center;
        background-color: transparent !important;
    }

    .header-social-icons a {
        float: none;
        margin: 0px auto;
        background-color: #44321c;
        display: inline-block !important;
        width: 40px;
        height: 40px;
        line-height: 40px;
        padding: 0px !important;
    }
    #page.homepage {
        min-height: auto !important;
    }
    html .hd-services__item a {
        display: block;
        position: relative;
        height: 100%;
        width: 100%;
    }
    html .hd-services__list > div {
        width: 50%;
        float: left;
        margin: 0px auto 15px;
        padding: 0px 10px;
    }
    html .hd-services__list {
        display: block !important;
    }
    .logo-head p {
        display: none;
    }
}
@media screen and (max-width: 540px) {
    .hero-slider {
        height: 265px;
    }
    html .hd-services__list > div {
        width: 100%;
        float: left;
        margin: 0px auto 15px;
        padding: 0px 10px;
    }
}
@media (min-width: 865px) {
    body #header #logo a {
        font-size: 25px;
    }
    header .navigation > ul {
        padding: 20px 0;
    }
    #header .logo-wrap {
        padding: 11px 0px;
    }
    .scrolled #logo img {
        filter: none;
    }
    #logo img {
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        filter: brightness(0) invert(1);
    }
    .top-bar {
        background-color: #ae9364 !important;
    }
}

@media screen and (max-width: 880px) {
    .top-bar__item .dm-rate-us {
        display: none;
    }
}

@media screen and (min-width: 880px) {
    .dm-rate-us a,
    .dm-rate-us .review-link {
        padding: 0 !important;
        background: unset !important;
        font-size: 20px !important;
        width: auto !important;
        color: white !important;
    }
    .col-lg-8-new {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }

    .col-lg-4-new {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

.article .gform_wrapper input[type="radio"],
.article .gform_wrapper input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
}


.dm-half a.btn {
    color: #fff;
    text-decoration: unset !important;
}

 a.btn {
    color: #fff !important;
}

section.insurance {
    text-align: center;
    padding: 40px 20px;
    background: #fafafa;
}

section.insurance img {
    width: 240px;
}


section.insurance img {
    margin-bottom: 0px;
}