/*CONTENTAREA*/
.contentarea {
    padding: 45px 0;
}

.contentarea .container {
    position: relative;
}

.contentarea .page-header {
    margin-bottom: 30px;
}

.contentarea img {
    height: auto;
}

.gallery .pics {
    margin: 5px;
}

.blog #main article {
    clear: both;
}

.blog .alignleft img {
    max-width: 320px;
    height: auto;
}

.single .alignleft img {
    max-width: 450px;
}
h4{
    color:#4e656a;;
}

.contact-page-info {
    margin-top: 50px;
}
/*COMMUNITY EVENTS*/
.easter h3 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 32.0848px;
    line-height: 57px;
    text-transform: uppercase;
    color: #4E656A;
}
/*Smile Gallery*/
.whitening-images,
.invisalign-images{
    display: flex;
    justify-content: space-between;
}

.smile-gallery h3 {
    background: #50B5EB;
    color: #fff;
    font-family: serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 28px;
    padding: 5px;
}

.whitening-image-before h3,
.whitening-image-after h3,
.invisalign-image-before h3,
.invisalign-image-after h3{
    background: transparent;
    color: #000;
    font-size: 22px;
}

.smile-gallery {
    background: #fff;
}

img.alignnone.size-medium.wp-image-399,
img.alignnone.size-full.wp-image-398,
img.alignnone.size-full.wp-image-401,
img.alignnone.size-full.wp-image-402,
img.alignnone.size-full.wp-image-403,
img.alignnone.size-full.wp-image-404{
    border: 2px solid #000;
    margin: 0 22px;
}

img.alignnone.size-full.wp-image-398 {
    border: 2px solid #000;
    margin: 0 22px;
}
@supports (object-fit: cover) {
    .gallery .pics img {
        /*width: 380px;*/
        /*height: 380px;*/
    }
}

/*DOCTOR/TEAM PAGES*/


.team-bios .single-team-member img {
    border-radius: 50%;
    max-width: 150px;
}

.team-bios .single-team-member img {
	width: 50%;
}

.team-bios header {
    width: 60%;
    min-width: 380px;
}
.whitening-images.my-style img {
    display: block;
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
}
.team-bios .single-team-member {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    grid-gap: 1em 0;
}

/*INTERNAL SIDEBAR*/

.internal_sidebar {
	position: relative;
    max-width: 650px;
    margin: 30px auto;
    z-index: 2;
}

.internal_sidebar h4 {
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 12px;
    text-transform: inherit;
}

.internalgreen {
    background: #A6BABD;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 25px;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #fff;
}

.internalgreen h4 {
    margin-bottom: 30px;
    border-top: 1px solid #fff;
    padding-top: 5px;
    color: #fff;
}

.internalgreen li {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    align-items: center;
    margin-bottom: 15px;
}

.internalgreen li img {
    max-width: 16%;
}

.internalgreen li a {
    max-width: 70%;
    margin-left: 11px;
    color: #fff;
}


/*INTERNAL FORMS*/
.internal_sidebar .internal_forms {
    background: #4E656A;
    border: 2px solid #D8DADB;
    border-radius: 4px;
    margin-top: 80px;
    padding: 20px 30px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/* Stack Name field (first/last) in one column */
.internal_forms .gform_wrapper .ginput_container_name.gform-grid-row {
	display: flex !important;
	flex-direction: column !important;
}

.internal_forms .gform_wrapper input,
.internal_forms .gform_wrapper textarea {
	text-align: left !important;
}

.internal_forms .gform_wrapper .ginput_container_name .name_first,
.internal_forms .gform_wrapper .ginput_container_name .name_last {
	width: 100% !important;
	max-width: 100% !important;
}

.internal_forms .gform_wrapper button.main-btn.gform-theme-no-framework {
    display: block;
    margin: 30px auto 0 !important;
    max-width: auto !important;
    width: auto !important;
}

.internal_forms .gform-theme--framework .gform_validation_errors {
    border-color: #ffcdd2 !important;
    background-color: rgba(255, 205, 210, 0.1) !important;
}

.internal_forms .gform-theme--framework .gform_validation_errors:focus {
    border-color: #ffcdd2 !important;
    outline-color: rgba(255, 205, 210, 0.65);
    outline-style: solid;
    outline-width: 3px;
}

.internal_forms .gform-theme--framework .gform_validation_errors .gform_submission_error,
.internal_forms .gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    color: #FFCDD2 !important;
}

.internal_forms .gform-theme--framework .gform_validation_errors .gform-icon {
    background-color: rgba(255, 205, 210, 0.3) !important;
    border-color: rgba(255, 205, 210, 0.25) !important;
    color: #FFCDD2 !important;
}

.rotate img {
    transform: rotate(90deg);
}

.slick-office img {
    max-width: 60%;
	margin: 10px auto;
}

/*SLICK DOTS*/
.slick-office .slick-dots {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 15px;
    justify-content: center;
}

.slick-office .slick-dots li {
    list-style: none;
}

.slick-office .slick-dots button {
    width: 8px;
    height: 8px;
    background-color: transparent;
    margin: 0;
    border-radius: 50%;
    border: 2px solid #000000;
    font-size: 0;
}

.slick-office .slick-dots li.slick-active button {
    background-color: #000000;
}

/*TOUR PAGE*/

.tour-page {
    background-color: #F3F7FC;
}

.tour-page .contentarea {
    text-align: center;
    max-width: 700px;
    margin: 1em auto;
}

.office-slide img {
    padding: 0.2em;
    display: block;
    margin: 0 auto;
}

.off-tour-slider {
    margin: 4em 0;
}

.tour-slide img {
    padding: 0.4em;
	display: block;
    margin: 0 auto;
}

.tour-page ul.slick-dots {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
	grid-gap: 4px;
    max-width: 300px;
    margin: 3em auto 1em;
}

.tour-page .slick-dots li {
    list-style: none;
}

.tour-page .slick-dots li button {
    font-size: 0;
    height: 8px;
    width: 8px;
    border-radius: 0;
    background-color: transparent;
    border: 2px solid #000;
}

.tour-page .slick-dots li.slick-active button {
	background-color: #000;
	border: none;
}

.sidebar-wrap {
    padding: 1em 0 4em;
}

.tour-page .internal_sidebar {
	position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    grid-gap: 4em;
    max-width: unset;
}

.tour-page .internalgreen {
	position: relative;
    max-width: 313px;
	z-index: 2;
}

.tour-page .internal_forms {
	position: relative;
    max-width: 313px;
    border: none;
	z-index: 2;
}

.tour-page .internal_sidebar .internal_forms .main-btn {
    background: transparent;
    box-shadow: none;
}

.tour-page .internal_sidebar .internal_forms .main-btn:hover {
    background: #654F1F;
}

.tour-page .watermark9 {
    right: 75px;
    bottom: -10px;
}

/*Map*/
.mapsection {
    height: 654px;
    position: relative;
    overflow: hidden;
}

.mapsection iframe {
    height: 100%;
    max-height: none;
}

.loaded .mapsection .map_bg {
    background: url(../images/internalmap.jpg);
}

.webp .mapsection .map_bg {
    background: url(../images/internalmap.webp);
}

.map_bg {
    text-align: center;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

.mapsection .clickMe {
    position: relative;
    top: 80%;
    cursor: pointer;
    color: #626262;
}

.beco-intneral h2.lg-font {
    border-top: 3px solid #000;
    padding-top: 10px;
    max-width: 935px;
}

.beco-intneral h2.black {
    color: #161A1B;
}

.watermark9 {
    right: 25px;
    bottom: 45px;
}

.beco-intneral {
    padding-top: 25px;
}

.wartermak9 {
    top: 0;
    right: -100px;
}

img.alignnone.size-medium.wp-image-370 {
    margin-top: 25px;
}

.no-gutters {
    padding: 0!important;
}

.page-id-520 .post_content .row {
   /* gap: 25px;
    justify-content: center;*/
}

.page-id-520 .post_content .row img {
    /*object-fit: cover;
    width: 300px;
    height: auto;
    display: inline-block;*/
}

.page-id-340 .container {
    max-width: 1700px;

 }

/*RESPONSIVE---------------------------------------*/

@media screen and (min-width: 1026px) {
    .contentarea {
        padding-top: calc(245px + 45px);
    }

    .contentarea .row {
        justify-content: space-between;
    }

    .contentarea section {
        padding-right: 60px;
    }

    .beco-intneral h2.black {
        margin: 15px 0 70px;
    }

    .beco-intneral a.main-btn {
        margin-top: 60px;
    }

    .beco-intneral p {
        max-width: 758px;
        font-size: 22px;
        line-height: 1.2;
        color: #313A3C;
    }

    .internal_sidebar {
        max-width: 333px;
    }
}

@media (max-width: 1280px) {
	.tour-page .watermark9 {
		right: 25px;
	}
}

@media (max-width: 1025px) {
	.off-tour-slider,
	.office-slide img {
		padding: 0.5em;
	}
}

@media screen and (max-width: 991px) {
	.tour-page .internal_sidebar {
		flex-flow: column;
		align-items: center;
		grid-gap: 0;
	}
	.tour-page .internalgreen,
	.tour-page .internal_forms{
		max-width: 440px;
		padding: 25px 50px;
	}
	.off-tour-slider {
		margin: 1.5em 0;
	}
	.tour-page ul.slick-dots {
		margin: 1em auto;
	}
}

@media screen and (max-width: 607px) {
    .internal_hours li {
        flex-flow: column;
        margin-bottom: 15px;
    }

    .internal_hours li span {
        font-weight: 700;
    }
	.tour-page .internalgreen,
	.tour-page .internal_forms{
		padding: 20px;
	}
}

@media screen and (max-width: 480px) {
    .gallery .pics {
        margin: 0 0 10px;
    }

    @supports (object-fit: cover) {
        .gallery .pics img {
            width: 300px;
            height: 300px;
        }
    }
}
