.portfolio-group {
	display: table;
	content: '';
	width: 100%;
}

.portfolio-group .listing-group {
	clear: both;
}


/* Staff/Doctors Pages */

.person-portfolio .person-entry {
	display: inline-block;
	padding: 0 1em 1em;
}

.person-portfolio .person-entry .person-profile-image-block {
	display: block;
	float: left;
	padding-right: 1em;
}
.person-portfolio .person-entry .person-bio-block {
	display: table-cell;
}

.person-portfolio .person-entry.listing-group {
	clear: both;
}

.person-entry .person-extra-info {
	margin: 0.5em 0;
}

.person-entry .person-name h2 {
	display: inline-block;
}

.person-entry .person-name h2 {
	margin-top: 0;
}

.person-entry .person-title,
.person-entry .person-phone,
.person-entry .person-email {
	margin: 0.25em 0;
}

.person-entry .person-bio {
	margin: 0 0 1em;
}

.person-entry .person-profile-image img,
.person-entry .person-profile-image source {
	display: inline-block;
}

.person-entry .person-profile-image.aligncenter {
	margin: 0 0 1em;
	text-align: center;
}

.person-entry .person-profile-image.alignleft {
	margin: 0 0.5em 0.5em 0;
}

.person-entry .person-profile-image.alignright {
	margin: 0 0 0.5em 0.5em;
}

.person-entry .person-bio-text a.more-link {
	display: block;
}


/* Locations Pages */

.locations-portfolio .location-entry {
	padding-bottom: 2em;
}

.location-entry.ortho-office-location .office_photo {
	display: table-cell;
	width: 50%;
}

.location-entry .office_location {
	margin-top: 2em;
}

.location-entry .office_info {
	vertical-align: top;
}

.locations-portfolio .location-entry .office_info {
	vertical-align: middle;
}

.locations-portfolio .location-entry .office_info_inner {
	display: table;
	margin: 0 auto;
}

.location-entry .office_info .location_name h2 {
	margin-top: 0;
}

.location-entry .office_info .mapicon img,
.location-entry .office_info .mapicon source {
	border: 0 !important;
}

.location-entry .office_info .office_info_hours {
	margin-top: 2em;
}

.location-entry .office_info_embedded_map {
	margin-top: 3em;
}

.location-entry .office_info_embedded_map iframe {
	margin-top: 1em;
}

.location-entry .office_info_contact_form {
	margin-top: 3em;
}

.location-entry .office_info_contact_form .contact_form_intro {
	margin: 1em 0;
}

.location-entry .office_info_contact_form .wpcf7 {
	width: 75%;
	margin-top: 2em;
	max-width: none;
}



/* Before and After */

.before-after-entry {
	display: table;
	table-layout: fixed;
	content: '';
	margin: 1em 0 3em;

}

.before-after-entry:last-of-type {
	margin-bottom: 0;
}

.before-after-entry-inner {
	padding-top: 1em;
}

.before-after-entry .before-after-block {
	width: 50%;
	float: left;
	padding: 0.5em 0.5em 0;
}

.before-after-slider-block.before-after-block {
    margin-top: 7%;
}

.before-after-entry.column-3 .before-after-block {
	width: 33.333%;
}

.before-after-entry.column-1 .before-after-block {
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.before-after-entry .before-after-patient-name h2 {
	margin: 0;
}

.before-after-entry .before-after-description ul {
	list-style-type: none;
	margin-left: 0;
}

.before-after-entry .before-after-description ul li .fa {
	margin-right: 7px;
}

.before-after-entry .before-after-profile-block {
	text-align: center;
}

.before-after-entry .before-after-profile-block img,
.before-after-entry .before-after-profile-block source {
	display: inline-block;
}

.before-after-entry .before-after-slider .slick-prev,
.before-after-entry .before-after-slider .slick-next {
	z-index: 200;
	top: 40%;
}

.before-after-entry .before-after-slider .slick-prev:before,
.before-after-entry .before-after-slider .slick-next:before {
	font-size: 40px;
}

.before-after-entry .before-after-slider .slick-prev {
	margin-left: 25px;
}

.before-after-entry .before-after-slider .slick-next {
	margin-right: 45px;
}

.before-after-entry .before-after-slider .slide-caption {
	text-align: center;
	margin-top: 8px;
}


/* Video Page */

.video-portfolio .video-gallery {
	margin-top: 2em;
}

.video-gallery .video-entry {
    padding-left: 0.9375em;
	padding-right: 0.9375em;
	padding-bottom: 1em;
}

.video-gallery .video-entry .video-entry-title {
}

.video-gallery .video-entry .video-entry-description {
	margin: 0.75em 0;
}

.video-gallery .video-entry .ortho-video-cover {
	display: table;
	margin: 0 auto;
}

.video-gallery .video-categories {
	padding: 0.5em 0 1.5em;
}

.video-gallery .video-cat-button {
	display: inline-block;
	margin: 0 0.25em;
	padding: 2px 0.5em;
	font-size: 1.25em;
	-webkit-border-radius: 0.375em;
	-moz-border-radius: 0.375em;
	border-radius: 0.375em;
	border: 1px solid black;
}

.video-gallery .video-cat-button .active {
	font-weight: bold;
}

.video-gallery .video-entry .wp-video,
.mjes-inner,
.mejs-layers {
	width: 100% !important;
	height: 100% !important;
}


/* make wp video shortcode player responsive
https://gist.github.com/cfxd/c9733fa71efc6c6efb18 */
/*.wp-video,
video.wp-video-shortcode,
.mejs-container,
.mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}

.mejs-container {
	padding-top: 56.25%;
}

.wp-video,
video.wp-video-shortcode {
	max-width: 100% !important;
}

video.wp-video-shortcode {
	position: relative;
}

.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.mejs-controls {
	display: none;
}

.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}
*/

/* Testimonials */

.testimonial-entry {
	display: table;
	table-layout: fixed;
	content: '';
	margin: 1em 0 2em;

}

.testimonial-entry .testimonial-profile-image {
	max-width: 150px;
}


.testimonial-entry .testimonial-author-name h2 {
	margin: 0;
}

.testimonial-entry .testimonial-author-extra {
	color: #666666;
}

.testimonial-entry .testimonial-rating {
	color: #d8b667;
}

.testimonial-entry .testimonial-content {
	color: #666666;
	padding-bottom: 0.25em;
}


/* Smile Gallery */

.smile_gallery {
	display: table;
	content: "";
	clear: both;
	height: 100%;
	width: 100%;
}

.smile_gallery_photo {
	padding: 0;
}

.smile_gallery_photo img,
.smile_gallery_photo source {
	width: 100%;
	padding: 0 !important;
}

.full-smile-gallery h2 {
	text-align: center;
}

.smile-gallery-page {
	padding: 0;
}

/* Gallery */


.small-block-grid-3 > li {
	padding: 0;
}

.medium-block-grid-4 > li {
	padding: 0;
}

.large-block-grid-6 > li {
	padding: 0;
}

/* Blog Home Page */

/* Blog Layout 1 */

#main.blog-layout1 {
	padding-left: 0;
	padding-right: 0;
}

.blog-layout1 article {
	padding-bottom: 1em;
}

.blog-layout1 .entry {
	margin-bottom: 1em;
}

.blog-layout1 .entry-featured-pic {
	display: block;
    margin: 0 auto 1em;
    float: none;
    text-align: center;
	max-width: 640px;
}

.blog-layout1 .entry-featured-pic a {
	display: inline-block;
}

/* Blog Layout 2 */


#main.blog-layout2 {
	padding-left: 0;
	padding-right: 0;
}

#main.blog-layout2 header {
    padding-left: 0;
	z-index: 200;
	position: relative;
}

.blog-layout2 article {
	height: 32.8125rem;   /* 525px */
	clear: none;
	table-layout: fixed;
	overflow: hidden;
	border-bottom: 0;
	position: relative;
}

.blog-layout2 article .post-box-cover {
    border: 1px solid transparent;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: border-color 0.3s, border-width 0.3s;
    transition: border-color 0.3s, border-width 0.3s;
    z-index: 4;
}

.blog-layout2 article .post-box-cover:hover {
	border-color: rgba(0,0,0,0.2);
	border-width: 15px;
}

.blog-layout2 article .post-entry-image {
	background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	display: inline-block;
	height: 100%;
}

.blog-layout2 article:nth-of-type(4n+3) .post-entry-image,
.blog-layout2 article:nth-of-type(4n+4) .post-entry-image {
	float: right;
}

.blog-layout2 article .post-box-content {
	display: block;
    padding: 2em;
	position: relative;
	max-height: 100%;
	height: 100%;
}

.blog-layout2 article .post-box-content.full-width {
	float: left;
}

.blog-layout2 article .post-box-content h2 {
	text-align: center;
}

.blog-layout2 article .entry-summary {
	position: relative;
	padding-top: 1em;
}

.blog-layout2 article .post-box-content-fade {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}

.blog-layout2 article .entry-more-link {
	text-align: center;
	position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
	z-index: 200;
	min-width: 10em;
}

.blog-layout2 article a.moretag {
    background-color: #74a588;
    color: #fff;
    display: inline-block;
    font-size: .875em;
    letter-spacing: 0.1em;
    padding: .62em 1.62em;
    text-decoration: none;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    z-index: 10;
	margin: 1em auto 0;
	position: relative;
}


.blog-layout2 .posts-navigation {
	margin-top: 2em;
}

/* Blog Layout 3 */

#main.blog-layout3 {
	padding-left: 0;
	padding-right: 0;
}

#main.blog-layout3 header {
    padding-left: 0;
}

.blog-layout3 article {
	padding: 0 0.5em 2em;
	border-bottom: 0;
	height: 15.625rem;
	clear: none;
}

.blog-layout3 article .post-box-wrapper {
	background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	height: 100%;
	position: relative;
}

.blog-layout3 article .post-box-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding-left: 1em;
	padding-right: 10%;
	padding-bottom: 10px;
	background-color: #000;
	background-color: rgba(0, 0, 0, 0.4);
}

#main.blog-layout3 article .post-box-content header.entry-header {
	padding-bottom: 0;
}

.blog-layout3 article .post-box-content a {
	color: #FFF;
}

/* Events Pages */

.events-portfolio .event-entry {
	padding-top: 1em;
    padding-bottom: 1em;
}
.events-portfolio .event-entry:last-child {
	padding-bottom: 0;
}

.events-portfolio .event-entry .event-info.card-style {
    padding: 0.9375em;
    background:#FFF;
    -webkit-box-shadow: 0 3px 10px 1px rgba(69,69,69,1);
    -moz-box-shadow: 0 3px 10px 1px rgba(69,69,69,1);
    box-shadow: 0 3px 10px 1px rgba(69,69,69,1);
    background-color: rgba(255, 255, 255, 0.5);
}

/* target single page */
.entry-content.event-entry.ortho-event {
	padding-top: 1em;
}

.event-entry .event-info {
	vertical-align: top;
}

.entry-content.event-entry .event-info.card-style {
    padding: 0.9375em;
    background: #FFF;
    -webkit-box-shadow: 0 3px 10px 1px rgba(69,69,69,1);
    -moz-box-shadow: 0 3px 10px 1px rgba(69,69,69,1);
    box-shadow: 0 3px 10px 1px rgba(69,69,69,1);
    background-color: rgba(255, 255, 255, 0.5);
}

.event-entry .event-header {

}

.event-entry .event-datetime {
	margin-top: 1em;
}

.event-entry .event-date,
.event-entry .event-time {
	display: block;
	line-height: 1.25;
}

.single-event .event-entry .event-image-block {
	margin-top: 1em;
}

.event-entry .event-image {
	max-width: 25%;
	margin-bottom: 0.5em;
}
.event-entry .event-image.alignleft {
	margin-right: 1em;
}
.event-entry .event-image.alignright {
	margin-left: 1em;
}

.event-entry .event-category {
	text-align: right;
	font-style: italic;
}

.single-event .event-entry .event-category,
.single-event .event-entry .event-datetime {
	font-size: larger;
}

.single-event .event-entry .event-description-block {
	margin-top: 1em;
}

.event-entry .event-description-block .moretag {
	text-align: right;
	font-style: italic;
}

.event-entry .event-location-block {
	margin-top: 2em;
	display: table;
	content: '';
}

.event-entry .event-info .event-info-nap {
	display: table-cell;
	width: 33.33333%;
	vertical-align: top;
	padding: 0 1em;
	font-size: larger;
}

.event-entry .event-info .event-info-nap a {
	color: inherit
}

.event-entry .event-info h3.location-name  {
	margin-top: 0;
	font-size: larger;
}

.event-entry .event-info-embedded-map {
	display: table-cell;
	width: 66.66666%;
}

.event-entry .event-info-embedded-map iframe {
}


/* Sitemap Template */

.sitemap ul {
	list-style-type: none;
	font-size: 1.2rem;
}

.sitemap.sitemap-two-column ul {
	-moz-column-count: 2;
	-moz-column-gap: 10px;
	-webkit-column-count: 2;
	-webkit-column-gap: 10px;
	font-size: 1.2rem;
}

.sitemap ul ul {
	list-style-type: none;
	font-size: 1.1rem;
}

.sitemap.sitemap-two-column ul ul {
	-moz-column-count: 1;
	-moz-column-gap: 0;
	-webkit-column-count: 1;
	-webkit-column-gap: 0;
	column-count: 1;
	column-gap: 0;
}