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

@import url("../mts_schema/style.css");

img.dark {
	filter: invert(1) brightness(0);
}
.home #menu-item-40 { display: none; }
.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;
}

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

.navigation ul li#menu-item-584 {
	background: #78866b !important;
}

.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 {

	background: #78866b!important;
}

/*
background: rgb(139,194,161);
background: -moz-linear-gradient(left, rgba(139,194,161,1) 0%, rgba(67,134,68,1) 100%);
background: -webkit-linear-gradient(left, rgba(139,194,161,1) 0%,rgba(67,134,68,1) 100%);
background: linear-gradient(to right, rgba(139,194,161,1) 0%,rgba(67,134,68,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78866b', endColorstr='#438644',GradientType=1 );  */

.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: #438644;
}
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: #438644;
    border: 1px solid #438644;
}
body .hd-btn_primary:hover {
    background: #fff;
    color: #78866b;
}
body .hd-btn_second {
    color: #fff;
    background: #78866b;
    border: 1px solid #438644;
}
body .hd-btn_second:hover {
    background: #fff;
    color: #78866b;
}
.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: #78866b;
}
html .hd-link {
	color: #78866b;
}
/* 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(78, 78, 78, 0.5);
}
.row .hd-services__title,
.hd-services__content {
	color: #fff;
}
body .hd-welcome__item_content p {
	font-size: 18px;
}
.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, 135, 69, 0.6);
}
body .hd-frame::before {
    border: 10px solid #78866b;
}
html .main-header .container {
	background-color: transparent;
}
.scrolled #logo a {
    color: #181712 !important;
}

div#regular-header {
    background: #26272500!important;
}
div#regular-header.scrolled {
    background: #26272500!important;
}

div#regular-header.top-bar.scrolled a {
    color: #fff !important;
}
div#regular-header.top-bar.scrolled {
    background-color: rgba(0, 0, 0, 0.50) !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 .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 .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;
}
.infoBar { text-align: right; }
.infoBar p { color: #fff; }
#secondary-navigation .infoBar a { padding: 0px; }
#header .col-12 { display: flex; align-items: center; justify-content: space-between; }
#secondary-navigation { flex-direction: column; }

@media screen and (max-width: 880px) {
	div#regular-header {
		background: #78866b!important;
	}
	#header .col-12 { display: block; }
	.primary-slider-container {
		display: none;
	}
  .header-social-icons {
      opacity: 0;
  }
  .top-bar__item.bar-buttons {
      display: none;
  }
  #logo img {
      max-width: 70%;
  }
	.wda-make-space, body .hd-frame::before {
    	display: none !important;
    }
    #logo a, #logo img {
    	width: 100%;
    	display: block;
    	max-width: 300px;
    	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: #438644 !important;
	}
  #site-header ul.socials-list {
      display: none;
  }
}


@media screen and (min-width:880px){
  div#regular-header {
    position: fixed;
    width: 100%;
  }
  .homeServices .grid {
      display:flex;
      justify-content: center;
      flex-wrap:wrap;
  }
}


.hd-welcome__item > h1 {
    display: none;
}


figcaption h2 {
    color: #fff;
}


figure.effect-lexi figcaption::after{
  background-size: 70% !important;
  background-position: center left !important;
  background-repeat: no-repeat !important;
  filter: brightness(0) invert(1) !important;
}



.wda-make-space{
  /*height:186px !important;*/
}

.servy-flexbox {
    display: flex;
    flex-flow: wrap;
}
.wp-caption-text {
    font-weight: bold;
}


section.hd-testi.hd-section {
    display: none;
}

@media screen and (max-width:880px) {
    .hd-heading__head {
        margin-bottom:15px!important;
    }
    .page-id-140 .post-content a {
        display:inline;
    }

}

@media screen and (min-width:880px) {
    #regular-header {
        display:none;
    }
    #header.scrolled .logo-wrap img {
        filter: brightness(0) invert(1)!important;
    }
}

.accessibility-location-right .accessability_container {
    top:350px;
}

/* Team */
@media screen and (min-width:881px) {
    .flex-team {
        display:flex;
        justify-content: center;
        flex-wrap: wrap;
		align-items: flex-start; 
    }
    .flex-team > div {
        flex-basis:48%;
        padding:10px;
    }

	.flex-team img {
		width:auto!important;
        height:300px!important;
		display:block;
		margin:auto;
    }
}

@media screen and (max-width:880px) {
    .flex-team img {
        margin:15px;
    }
}

.flex-team {
	text-align:center !important;
}

@media screen and (min-width: 880px) {
	.doctors .container {
    padding: 85px 20px 110px !important;
}
}

.team_field .infoSec {
	font-size: 16px !important;
	letter-spacing: .05em !important;
	text-transform: none !important;
	font-weight: 500 !important;
}

.team_field {
	margin-right: 8px !important;
	margin-left: 8px !important;
}

@media screen and (max-width: 880px) {
	.team_field {
		margin-bottom: 20px !important;
	}
	.infoBar p {
		color: #78866b;
	}
	
	.callbtn {
		margin-left: 5px;
	}
}


.callbtn {
	background: #fff;
	color: #78866b !important;
	padding: 5px 10px !important;
	border-radius: 5px;
	border: 2px solid #78866b;
	font-size: 1.4rem!important;
}

.footer-phone{
	font-size: 1.4rem!important;
	font-weight: 700;
}

#header.scrolled #secondary-navigation .callbtn {
	color: #78866b !important;
}

@media screen and (max-width: 500px) {
	.infoBar p {
		text-align: center !important;
	}
	.callbtn {
		display: block !important;
		text-align: center !important;
	}
}

.bottomcta {
	padding:2.5rem 0;
	background: rgb(120, 134, 107);
		background: linear-gradient(180deg, rgba(120, 134, 107, 1) 0%, rgba(50, 56, 45, 1) 100%);
		color:white;
}

.bottomcta p {
	color:white;
	font-size:22px;
	text-align:center;
}


.btn2 {
	border-radius: 2em;
	background-color: #78866b;
	color: white;
	text-align: center;
	display: inline-block;
	padding: 0.75em 2em;
	transition: all 0.5s ease-in-out;
	text-decoration: none !important;
	margin:1rem 0;
}

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

.bottomcta a {
	font-weight:bold;
	color:#bacfa6;
}

/* NEW FOOTER */
.main-footer__content {
    display: flex;
	flex-flow: row wrap;
}
.main-footer__content .dm-third {
    width: 33%;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
}
.main-footer__content .dm-third .footer-logo{
	text-align: center;
}
.main-footer__content .dm-third .footer-logo img{
	width: 280px!important;
	margin: 0 auto;
	filter: brightness(0) invert(1)!important;
}
@media screen and (max-width: 880px){
	.main-footer__content .dm-third{
		width: 100%;
	}
}


p.gform_required_legend {
    display: none;
}
div#post-901 img {
    max-width: 450px !important;
    object-fit: cover !important;
}

.form-third > div.gravity-theme {
    width: 100%;
    text-align: left;
    padding: 1rem;
}
#gform_submit_button_3 {
    background: white;
    color: #78866b;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    border-radius: 2.5rem;
    cursor: pointer;
}

.freedwn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

}

div#post-260 img.widthimage.entered.lazyloaded {
    max-width: 100% !important;
}
div#post-1396 img {
    max-width: 332px!important;
    min-height: 332px!important;
    object-fit: cover!important;
}

@media screen and (max-width: 880px){
div#post-1396 img {
    max-width: 316px!important;
    min-height: 316px!important;
    object-fit: cover!important;
	}
}

.page-id-1425 #header, .page-id-1425 #header.scrolled { position: relative; }
.page-id-1425 #secondary-navigation { display: none; }
.page-id-1425 #header .logo-wrap { width: 100%; margin: 0 auto; text-align: center; }
.page-id-1425 #header h1, .page-id-1425 #header h2 { float: none; }
.page-id-1425 #header #logo a, .page-id-1425 #header #logo a img { float: none; }
.page-id-1425 #header #logo a img { width: 300px; }
.page-id-1425 .page h1.title { text-align: center; font-size: 48px; margin-bottom: 30px; }
.landingLeft { float: left; width: 60%; padding-right: 25px; box-sizing: border-box; }
.landingRight { float: left; width: 40%; }

.page-id-1425 article.article { padding: 0; }
.page-id-1425 .oddSection, .page-id-1425 .evenSection { padding: 20px 30px; }
.evenSection { background: #f6f6f6; }

div#post-31 a.Btn {
    background: #d15913;
    padding: 15px;
    color: #fff !important;
    border-radius: 7px;
}

.spwidget-button-wrapper {
    text-align: left;
    margin-bottom: -20px;
}
.spwidget-button-wrapper {
    text-align: left!important;
}

.page-id-31 li#field_1_12 {
    display: none;
}

a.spwidget-button {
    background-color: #78866b!important;
}

a.btn {
    display: inline-block;
    background-color: #44321c!important;
    padding: 10px 20px;
    color: #fff;
    margin: auto;
}

.doc_wrap a.btn {
    background: #78866b!important;
    min-width: 210px;
}

.freedwn div {
    padding: 0px 30px;
}