/*
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");

div.doxyme-badge a {
    font-size: 22px !important;
    color: #000;
    font-weight: bold !important;
}
.logo-head p {
    font-size: 16px;
    margin: 0px;
    margin: 0px 5px;
    text-transform: uppercase;
}
.dm-rate-us span {
    font-size: 16px;
}
div#page.single {
    padding: 20px 0px;
    box-sizing: border-box;
}
section.hd-welcome.hd-section {
    position: relative;
}

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: 5px 15px !important;
}
#regular-header a {
    color: #000 !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: #000 !important;
    color: #000 !important;
}
footer.main-footer .col-12 a {
    color: #000 !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: #e3d9a8 !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 {
    background-color: #e3d9a8 !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: #d6673a;
    padding: 10px 20px;
    color: #fff;
}
.carousel-caption a:hover {
    background-color: #fff;
    color: #d6673a;
}
.hero-slider {
    margin-bottom: 0;
    height: 400px;
}
body .hd-heading__head::after {
    background-color: #ffffff;
}
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: #000 !important;
}

/* Sub Heads */
html .hd-subhead {
    color: #6b5e51;
}
html .hd-link {
    color: #6b5e51;
}
/* Welcome Section */
.hd-frame {
    color: #181712;
}
.hd-frame * {
    color: inherit;
}
/* Services Boxes */
.row .hd-services__link::after {
    border: 1px solid #fff;
}
.row .hd-services__overlay {
    background-color: rgba(164, 159, 98, 0.54);
}
.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: #fff;
}
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(214, 103, 58, 0.37);
}
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;
}
html section#wda_testi:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #a49f62;
    opacity: 0.5;
    height: 100%;
    width: 100%;
}
@media screen and (min-width: 881px) {
    header#site-header {
        position: fixed;
        top: 0px;
        left: 0px;
    }
    header#site-header {
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .asd {
        top: -44px !important;
    }
}
@media screen and (max-width: 880px) {
    html a.sticks {
        box-shadow: 0px -2px 2px #0002;
    }
    section.hd-welcome.hd-section {
        padding-top: 10px;
    }
    .hd-welcome__heading.hd-heading {
        margin: 20px 0px 00px;
    }
    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: 24px 0;
    }
    #header .logo-wrap {
        padding: 6px 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;
    }
}

.socials-list a:before {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
}
.socials-list a span {
    display: none;
}

.socials-list a.socials-list__link_facebook:before {
    background: url("/wp-content/uploads/2019/10/facebook.png") no-repeat center center / 34px 34px;
}
.socials-list a.socials-list__link_google:before {
    background: url("/wp-content/uploads/2019/10/google-new.png") no-repeat center center / 34px 34px;
}
.socials-list a.socials-list__link_instagram:before {
    background: url("/wp-content/uploads/2019/10/instagram.png") no-repeat center center / 34px 34px;
}
.socials-list a.socials-list__link_twitter:before {
    background: url("/wp-content/uploads/2019/10/twitter.png") no-repeat center center / 34px 34px;
}
.socials-list a.socials-list__link_yelp:before {
    background: url("/wp-content/uploads/2019/10/yelp.png") no-repeat center center / 34px 34px;
}
div.doxyme-badge {
    margin: 0px auto !important;
}
div.doxyme-badge div.doxyme-badge-doctor-name,
div.doxyme-badge#doxyme-badge div.doxyme-badge-doctor-name,
div.doxyme-badge a,
div.doxyme-badge div,
div.doxyme-badge#doxyme-badge a,
div.doxyme-badge#doxyme-badge div {
    text-align: center !important;
}
/*div.doxyme-badge.doxyme-badge-noimage, div.doxyme-badge.doxyme-badge-noimage#doxyme-badge {
    position: absolute;
    top: 50%;
    left: 0px;
    right: 0px;
}
*/
@media screen and (max-width: 880px) {
    div.doxyme-badge.doxyme-badge-horizontal div.doxyme-badge-horizontal-image img,
    div.doxyme-badge.doxyme-badge-horizontal div.doxyme-badge-indicator,
    .doxyme-badge-horizontal-image {
        display: none !important;
    }
    div.doxyme-badge.doxyme-badge-horizontal,
    div.doxyme-badge.doxyme-badge-horizontal#doxyme-badge {
        height: auto !important;
    }
    div.doxyme-badge.doxyme-badge-horizontal div.doxyme-badge-content,
    div.doxyme-badge.doxyme-badge-horizontal#doxyme-badge div.doxyme-badge-content {
        position: relative !important;
        box-sizing: border-box;
        text-align: center !important;
        width: 100% !important;
        padding: 20px !important;
    }

    .doxy,
    div.doxyme-badge.doxyme-badge-horizontal,
    div.doxyme-badge.doxyme-badge-horizontal#doxyme-badge {
        width: 100% !important;
    }
    /*div.doxyme-badge.doxyme-badge-noimage, div.doxyme-badge.doxyme-badge-noimage#doxyme-badge {
    position: relative!important;
    top: 0%;
    left: 0px;
    right: 0px;
}
*/
}

.welp-cta a {
    border-radius: 50px;
    background-color: #e3d9a8;
    color: black;
    text-align: center;
    display: inline-block;
    padding: 10px 20px;
    transition: all 0.5s ease-in-out;
    text-decoration: none !important;
    font-size: 36px;
    font-weight: bold;
}

.welp-cta a:hover {
    background-color: #eee;
    color: black;
    transform: scale(1.05);
}

.welp-cta {
    padding: 20px 0;
    background-color: #fff;
    text-align: center;
}

@media screen and (max-width: 880px) {
    .welp-cta a {
        font-size: 20px;
    }
    .welp-cta {
        margin-top: 10px;
    }
}

.calendly-badge-widget {
    display: none !important;
}

html,
body {
    height: auto !important;
}

.carousel-inner img,
.carousel-inner iframe {
    width: 100%;
}
.carousel-inner {
    position: relative;
}
.carousel-video {
    height: 100%;
    position: relative;
}
.carousel-video .carousel-inner {
    height: 100%;
}
.carousel-video .carousel-inner .item {
    height: 100%;
    position: relative;
}
.carousel-video .carousel-inner .item video {
    height: calc(100vw * (9 / 16));
    width: 100%;
}

.carousel-video {
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.carousel-video .carousel-inner .item video {
    height: 100vh !important;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    margin: 0px auto;
    object-fit: cover;
}
.carousel-caption {
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
    color: #fff;
}
.carousel-caption h1 {
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    text-shadow: 1px 1px 1px #000;
}
.carousel-caption p {
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
/*
.carousel-caption a {
    background-color:#005f85;
    border:none;
    box-shadow:none;
    color:#fff;
    border-style:none;
    padding:9px 27px;
    font-size:16px;
    display:inline-block;
    margin-bottom:0;
    border-radius:2px;
    text-align:center;
    vertical-align:middle;
    font-weight:700;
    line-height:1.43;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
    white-space:nowrap;
    cursor:pointer
}
*/

.buttonToAuto {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 10;
    transform: translateY(-50%);
    color: #fff;
}
.buttonToAuto.hideMe {
    opacity: 0;
    visibility: hidden;
}
.buttonToAuto i {
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 12px;
    height: 24px;
    width: 24px;
    line-height: 24px;
    position: relative;
    top: -5px;
    left: -4px;
}
.buttonToAuto .fa-play:before {
    content: "\f04b";
    position: relative;
    left: 1px;
}
.buttonToAuto a {
    color: #fff;
    font-size: 26px;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
    font-family: Avenir-Light, sans-serif;
    font-style: italic;
}
.flyImg.hideIt {
    opacity: 0 !important;
    visibility: hidden !important;
}
.noBefore:before {
    opacity: 0 !important;
    visibility: hidden;
}

@media screen and (max-width: 880px) {
    .hide-xs {
        display: none !important;
    }
}

.rate-us-page-dm .dm-rate-us a {
    padding: 0 !important;
    background: unset !important;
    font-size: 42px !important;
    width: auto !important;
    color: black !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.rate-us-page-dm .dm-rate-us {
    display: block;
    text-align: center;
}

.rate-us-page-dm {
    padding: 4rem 0 !important;
}

@media screen and (min-width: 880px) {
    .rate-us-page-dm .dm-rate-us a {
        font-size: 60px !important;
    }
}
.carousel-caption span {
    font-weight: bold;
}
.carousel-caption a {
    margin-top: 15px !important;
}