/*
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;
}
#header.scrolled #secondary-navigation a:hover{color:#FFF!important;}
div#page.single {
    padding: 20px 0px;
    box-sizing: border-box;
}
section.hd-welcome.hd-section {
    position: relative;
}

.slide-caption2 {
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 10px;
	padding: 20px;
}

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: #000 !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 {/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#542f14+0,93755a+100 */
    background: rgb(84,47,20); /* Old browsers */
    background: -moz-linear-gradient(left, rgba(84,47,20,1) 0%, rgba(147,117,90,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(84,47,20,1) 0%,rgba(147,117,90,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgb(129, 94, 69) 0%,rgb(186, 146, 109) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#542f14', endColorstr='#93755a',GradientType=1 ); /* IE6-9 */
}
.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 {
	color: #6b5e51;
}
/* 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: 18px;
}
.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 .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;
}
.primary-slider .slide-title {
	font-size: 36px;
	font-weight: bold;
}

.col-sm-3 { float: left; width: 25%; padding: 1%; box-sizing: border-box; }
@media screen and (max-width: 880px) {
	#slider {
		margin-bottom: 20px;
	}
	.col-sm-3 { width: 100%; }
	.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;
	}
	.top-bar {
    	background-color: #ae9364 !important;
	}
}

@media screen and (min-width:880px) {
    .hd-welcome img.alignright {
        margin: 0.3em 0 0.5em 1.571em;
       display: block;
       float: right;
    }
}

@media screen and (max-width:880px) {
    .hd-welcome img.alignright {
       display: block;
       margin:auto;
       margin-bottom:15px;
    }
}

.page-id-57 .article .btn {
    color:white!important;
}

.page-id-57 .dm-flex, .page-id-75 .dm-flex{
    align-items:flex-start;
}

.page-id-57 .dm-flex img,
.page-id-75 .dm-flex img {
    display:block;
    margin:auto;
}

@media screen and (min-width:880px) {
    .slide-caption2 {
        position:absolute;
        /*top:150px;*/
        bottom:75px;
        left:10%;
    }
}

@media screen and (max-width:880px) {
    .slide-caption2 {
        position:absolute;
        left: 35%;
        top:50%;
  	    transform: translate(-50%, -50%);
    }
}

#popmake-199 {
    background-color:#815e45;
    color:white;
}

#popmake-199 h3 {
    color:white;
}
