  /*******************************************************************
FAQ/Accordion
*******************************************************************/
button.accordion {
    width: 100%;
    background-color: #f3f3f3;
    border: none;
    outline: none;
    text-align: left;
    padding: 15px 20px;
    font-size: 18px;
    color: #1a2f8b;
    cursor: pointer;
    transition: background-color 0.2s linear;
    margin-top: 10px;
}
 
button.accordion:after {
    content: '\f055';
    font-family: 'Icons';
    font-size: 21px;
    float: right;
}
 
button.accordion.is-open:after {
    content: '\f056';
}
 
button.accordion:hover, button.accordion:focus, button.accordion.is-open {
    background-color: #dadada;
}
 
.accordion-content {
    background-color: #f3f3f3;
    padding: 0px 20px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease-in-out;
}

#faq-area {
    padding-bottom: 15px;
}

/*******************************************************************
	MEET THE TEAM
*******************************************************************/
.staff{
	display: flex;
	flex-direction: column;
}
.staff-member{
	margin-bottom: 60px;
}
.staff-container .staff-member img{
	float: left;
	width: 30%;
}
.staff-container .staff-member .content{
	padding: 0 20px;
	float: right;
	width: 70%;
}

/*******************************************************************
	SITE MAP PAGE
*******************************************************************/
#site-map{
	list-style: none;
}

/*******************************************************************
	MASTHEAD
*******************************************************************/
#masthead {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 10;
	margin-top: 100px;
}


/*******************************************************************
	CONTENT
*******************************************************************/
h1 {
	color: #000;
}

h3{
	font-weight: 600;
} 

.strip-font:after {
	content: '';
	position: absolute;
	bottom: -25px;
	width: 15%;
	height: 2px;
	left: 50%;
	transform: translateX(-50%);
	background: #c2c2c2;
}

.request-appointment-outer .strip-font:after {
    background: none;
}

.accessibility-outer .strip-font:after {
    background: none;
}

.special-list {
	background: rgba(0, 0, 0, 0.25) none repeat scroll 0% 0%;
	padding: 5px 25px;
	border-radius: 10px;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.5)
}

.stack ul:first-child {
	margin-top: 0;
}

#displayCalendarText {
	display: none;
}

.side h2 {
	font-size: 18px;
	margin: 10px 0 5px 0;
	text-align: center;
}

.side table {
	width: 100%;
}

.side table tr td:last-of-type {
	font-weight: bold;
}

.side em {
	font-size: 12px;
}

@media handheld, only screen and (max-width: 1080px) {
	.side h2 {
		text-align: left;
	}

	.side table {
		width: auto;
	}	
}

#content .content.no-indent {
	padding-left: 0;
}

#content .content.logo-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#content .content.logo-row img {

}

.center {
	text-align: center;
}

.center img {
	box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
	margin: 30px auto 0 auto;
}

.initial-content {
	max-width: 800px;
	margin: 30px auto;
	text-align: center;
}

/*******************************************************************
  PHOTOBORDER MAGNIFIC GALLERIES
*******************************************************************/

.photoborder.slick-gallery {
	margin-left: 30px;
	margin-top: 30px;
	max-width: 313px;
}

@media handheld, only screen and (max-width: 800px) {
	#masthead {
		margin-top: 0;
	}
}

@media handheld, only screen and (max-width: 520px) {
	.photoborder.slick-gallery {
		display: block;
		margin: 0 auto;
		float: none;
	}
}

/*******************************************************************
  ACCESSIBILITY
*******************************************************************/

#accessibility h2 {
	margin-top: 15px;
}

#accessibility .accordion {
	margin: 30px 0;
}

#accessibility .accordion h4 {
	margin: 0 0 1px 0;
}

#accessibility .accordion h4 a:link,
#accessibility .accordion h4 a:visited {
	background: #002f74;
	color: #FFF;
	display: block;
	font-size: 16px;
	padding: 10px;
	text-decoration: none;
}

#accessibility .accordion h4 a:hover,
#accessibility .accordion h4 a:focus {
	background: #FFF;
	color: #002f74;
}

#accessibility .accordion h4 a:focus {
	outline: 1px solid #002f74;
}

#accessibility .accordion div {
	display: none;
	padding: 10px;
}

#accessibility hr {
	background: #000;
}

/*******************************************************************
  ACCESSIBILITY
*******************************************************************/

.videos-section {
	margin: 0 auto 30px auto;
	max-width: 640px;
}

.media-section {
	display: block;
}

/********************************************************************
  STAFF
*******************************************************************/

.innerBoxStaff {
	clear: both;
	overflow: hidden;
}

.innerBoxStaff {
	border-bottom: 1px solid #bfb35f;
	padding-bottom: 30px;
}

.innerBoxStaff h2 {
	margin: 50px 0 5px 0;
	text-transform: none;
}

.innerBoxStaff h3 {
	font-size: 18px;
	margin: 0 0 20px 0;
	text-transform: none;
}

.innerBoxStaff img {
	float: right;
	margin: 30px 0 30px 30px;
	padding: 3px;
	max-width: 25%;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

.innerBoxStaff .bioPhoto {
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
	float: right;
	margin: 30px 5px 30px 30px;
	height: 375px;
	width: 250px;
}

#megan.innerBoxStaff .bioPhoto { background: url('../images/bio-megan.jpg') no-repeat; }
#megan.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#angela.innerBoxStaff .bioPhoto { background: url('../images/bio-angela.jpg') no-repeat; }
#angela.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#abby.innerBoxStaff .bioPhoto { background: url('../images/bio-abby.jpg') no-repeat; }
#abby.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#cortney.innerBoxStaff .bioPhoto { background: url('../images/bio-cortney.jpg') no-repeat; }
#cortney.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#kelly.innerBoxStaff .bioPhoto { background: url('../images/bio-kelly.jpg') no-repeat; }
#kelly.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#kim.innerBoxStaff .bioPhoto { background: url('../images/bio-kim.jpg') no-repeat; }
#kim.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#lauri.innerBoxStaff .bioPhoto { background: url('../images/bio-lauri.jpg') no-repeat; }
#lauri.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#lina.innerBoxStaff .bioPhoto { background: url('../images/bio-lina.jpg') no-repeat; }
#lina.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#lindsay.innerBoxStaff .bioPhoto { background: url('../images/bio-lindsay.jpg') no-repeat; }
#lindsay.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#mallory.innerBoxStaff .bioPhoto { background: url('../images/bio-mallory.jpg') no-repeat; }
#mallory.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#mayra.innerBoxStaff .bioPhoto { background: url('../images/bio-mayra.jpg') no-repeat; }
#mayra.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#rose.innerBoxStaff .bioPhoto { background: url('../images/bio-rose.jpg') no-repeat; }
#rose.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

#sandy.innerBoxStaff .bioPhoto { background: url('../images/bio-sandy.jpg') no-repeat; }
#sandy.innerBoxStaff .bioPhoto:hover { background-position-x: -250px; }

@media handheld, only screen and (max-width: 1050px) {
	#staff .sidebar {
		display: none;
	}

	#staff .page-content {
		margin: 0;
		padding: 0 40px;
		width: 100%;
	}
}

@media handheld, only screen and (max-width: 700px) {
	.innerBoxStaff .bioPhoto {
		float: none;
		margin: 40px auto 0 auto;
	}
}

/*******************************************************************
  FIRST VISIT
*******************************************************************/

.forms {
	text-align: center;
	overflow: hidden;
}


/*******************************************************************
	ACCORDIONS
*******************************************************************/

#accordion {
	margin: 20px 0;
}

#accordion > * {
	display: none;
}

#accordion h2 {
	display: block;
	color: #7e7f74;
	cursor: pointer;
	margin: 10px 0;
	padding: 10px;
	font-size: 20px;
}

#accordion h2:hover {
	color: #4f7dbf;
}

#accordion > div {
	display: none;
	margin: 10px auto;
	clear: both;
	overflow: hidden;
}

#accordion > div .side {
	float: right;
	margin: 0 5px 0 45px;
	overflow: visible;
	width: 310px;
}

#accordion h3 {
	margin-top: 30px;
}

#accordion h3:first-child {
	margin-top: 0;
}

@media handheld, only screen and (max-width: 1050px) {
	#accordion h2 {
		max-width: 100%;
	}
}

/*******************************************************************
	TESTIMONIALS
*******************************************************************/
.testimonial-text{
	margin-bottom: 40px;
}


/*******************************************************************
	SPECIALS
*******************************************************************/

#specials .special {
	overflow: hidden;
	clear: both;
	padding-bottom: 5px;
	margin: 20px 0;
	padding: 20px 25px 15px 25px;
}

#specials .special:nth-child(even) {
	background: #f3f3f3;
	color: #000;
}

#specials .special:first-child {
	
}

#specials .special:last-child {
	border-bottom: none;
	margin-bottom: 50px;
}

#specials h2 {
	margin-top: 0;
	text-align: left;
}

#specials .photoborder {
	max-width: 33%;
}

/*******************************************************************
  FIRST VISIT
*******************************************************************/

.smile-gallery {
	overflow: hidden;
	width: 100%;
	margin: 0 auto;
}

.smile-gallery .slick-next {
	z-index: 1000;
	right: 10px;
	width: 44px;
	height: 44px;
	background: url(../images/nav-right.png) no-repeat !important;
	opacity: 0.9;
	-webkit-transition: opacity 0.1s ease-in-out;
	-o-transition: opacity 0.1sed ease-in-out;
	transition: opacity 0.1s ease-in-out;
}
.smile-gallery .slick-next:before {
	display: none;
}

.smile-gallery .slick-prev {
	z-index: 1000;
	left: 10px;
	width: 44px;
	height: 44px;
	background: url(../images/nav-left.png) no-repeat !important;
	opacity: 0.9;
	-webkit-transition: opacity 0.1s ease-in-out;
	-o-transition: opacity 0.1s ease-in-out;
	transition: opacity 0.1s ease-in-out;
}

.smile-gallery .slick-prev:hover,
.smile-gallery .slick-next:hover {
	opacity: 1;
}
.smile-gallery .slick-prev:before {
	display: none;
}

/*******************************************************************
	TABLES
*******************************************************************/
/* Tables */
table {
	background: white;
	margin-bottom: 1.25em;
	border: solid 1px #dddddd;
}
table thead,
table tfoot {
	background: whitesmoke;
	font-weight: bold;
}
table thead tr th,
table thead tr td,
table tfoot tr th,
table tfoot tr td {
	padding: 0.5em 0.625em 0.625em;
	font-size: 0.875em;
	color: #222222;
	text-align: left;
}
table tr th,
table tr td {
	padding: 0.5625em 0.625em;
	font-size: 0.875em;
	color: #222222;
}
table tr.even, table tr.alt, table tr:nth-of-type(even) {
	background: #f9f9f9; }
table thead tr th,
table tfoot tr th,
table tbody tr td,
table tr td,
table tfoot tr td {
	display: table-cell;
	line-height: 1.125em;
}

/*******************************************************************
	VIDEOS INTERNAL
*******************************************************************/



.videos-internal { 
	margin: 0 auto;
	min-height: 300px;
}

.videos-internal .item {
	position: relative;
	height: 280px;
	margin: 10px;
	width: 280px;
}

.videos-internal .video-content {
	opacity: 1;
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	background: rgba(0,0,0,0.5);
	color: #fff;
	-webkit-transition: all 0.15s;
	-o-transition: all 0.15s;
	transition: all 0.15s;
}

.videos-internal .item:hover .video {
	padding: 20px 10px;
}

.videos-internal h2.name {
	color: #fff;
	margin: 0;
	font: bold 16px 'Raleway', sans-serif;
	text-transform: uppercase;
}

.videos-internal h3.brand {
	color: #fff;
	margin: 0;
	font: 16px 'Raleway' sans-serif;
	text-transform: uppercase;
}

.videos-internal a:link, .videos-internal a:visited {
	text-decoration: none;
}

.videos-internal .item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
		-webkit-transition: all 0.15s;
	-o-transition: all 0.15s;
	transition: all 0.15s;
}

.videos-internal .location:hover img {
	filter: brightness(110%) contrast(110%);
}

/*******************************************************************
	PDFs
*******************************************************************/
.docItems {
	text-align: center;
}
.docItems .itemRow {
	height: 300px;
}

.docItems .docItem {
	display: inline-block;
	width: 150px;
	margin: 15px 25px;
	height: 260px;
	vertical-align: top;
}

.docItems .docItem {
	text-align: center;
}

.docItems .docItem a {
	color: #000000;
}

.docItems .docItem img {
	padding: 5px;
	box-shadow: 1px 1px 1px;
	border: solid gray 1px;
	background-color: white;
}

.docItems .docItem img:hover {
	box-shadow: 2px 2px 2px;
}

.photo-item {
	overflow: hidden;
	clear: both;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0,0,0,0.25);
}

@media handheld, only screen and (max-width: 715px) {
	.docItems .docItem {
		margin-left: 15px;
		margin-right: 10px;
	}
}

@media handheld, only screen and (max-width: 645px) {
	.docItems .docItem {
		margin-left: 10px;
		margin-right: 5px;
	}
}

@media handheld, only screen and (max-width: 610px) {
	.docItems .docItem {
		margin-left: 5px;
		margin-right: 5px;
	}
}

@media handheld, only screen and (max-width: 605px) {
	.docItems .docItem {
		margin-left: 60px;
		margin-right: 25px;
	}
}

@media handheld, only screen and (max-width: 520px) {
	.docItems .docItem {
		margin: 10px 70px;
	}
}

/*******************************************************************
	TESTIMONIALS
*******************************************************************/

#content #testimonials .testimonial-item {
	margin: 20px 0;
	padding: 20px 25px 15px 25px;
}

#content #testimonials .testimonial-item:nth-child(even) a:link,
#content #testimonials .testimonial-item:nth-child(even) a:visited,
#content #testimonials .testimonial-item:nth-child(even) h2,
#content #testimonials .testimonial-item:nth-child(even) h3,
#content #testimonials .testimonial-item:nth-child(even) h4 {
	color: #fff;
}

#content #testimonials .testimonial-item:nth-child(even) {
	background: rgba(0,0,0,0.5);
	color: #fff;
	border-radius: 10px; 
}

#content #testimonials .testimonial-item:first-child {
	margin-top: 50px;
}

#content #testimonials .testimonial-item:last-child {
	border-bottom: none;
}

#content #testimonials .testimonial-item h2 {
	margin-top: 0;
}

.testimonials .quotes {
	display: none;
}

.testimonial-sender {
	text-align: right;
	font: 600 18px 'Raleway' serif;
	margin: 0 0 10px 0;
}
/*******************************************************************
  GALLERY
*******************************************************************/

.gallery {
	text-align: center;
}

.magnific.gallery:after {
	content: ' ';
	display: inline-block;
	width: 100%;
}


.gallery a.visible {
			max-width: 32%;
	box-shadow: none;
	margin-left:0.5%;
	margin-right:0.5%;
	margin-bottom: 1%;
	display: inline-block;
		font-size: 0;
}

.photoborder .gallery a.visible {
	max-width: none;
}

/*******************************************************************
	FLEX
*******************************************************************/
.flex-video {
	position: relative;
	padding-top: 1.5625em;
	padding-bottom: 67.5%;
	height: 0;
	margin-bottom: 1em;
	overflow: hidden;
}
.flex-video.widescreen {
	padding-bottom: 57.25%;
}
.flex-video.vimeo {
	padding-top: 0;
}
.flex-video iframe,
.flex-video object,
.flex-video embed,
.flex-video video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*******************************************************************
  CONTACT FORM
*******************************************************************/

.form {
	margin: 30px 0 20px 0;
	text-align: left;
}

.form h3{
	text-align: left;
}

/* Contact form inputs and text areas*/
.form input[type='text'],
.form textarea {
	max-width: 50%;
	border: 1px solid #cccccc;
	padding: 0.25em 0.5em;
	background-color: white;
	font-family: inherit;
	font-size: 15px;
	color: rgba(0, 0, 0, 0.75);
	-webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
	-moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
	transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Resizes the text area*/
.form textarea {
	width: 90%;
	max-width: 95%;
	height: 150px;
}

/* Removes the Chrome outline on focus, and produces an animation*/
.form input[type='text']:focus, .form textarea:focus {
	-webkit-box-shadow: 0 0 5px #999999;
    -moz-box-shadow: 0 0 5px #999999;
    box-shadow: 0 0 5px #999999;
    border-color: #999999;
    border-color: #999999;
    outline: none;
}

.form input[type="radio"]:last-of-type {
	margin-left: 25px;
}

.form input[type='text'].captcha_code {
	max-width: 20%;
}

/* Submit hover state*/
.form .submit:hover {
	background: #4f7dbf;
	color: #fff;
	box-shadow:  inset 0px 1px 1px 0px rgba(255,255, 255, 0.2), inset 0px -1px 1px 0px rgba(0,0, 0, 0.2);
	text-decoration: none;
}

/* Contact form error messages*/
.form strong.required, .form div.error {color: #ff0000}

/* Displays a GIF loading animation once the form is submitted*/
.form .throbber {
	display: none;
	padding-left: 10px;
}

/* Surrounds the inputs witha  red border if an error is found on submit*/
.form input.error,.form textarea.error {border: 1px solid #ff0000}

/* Hides error messages above individual inputs*/
.form p.error {display: none !important}

/* rozenorthodontics - NEW PATIENT FORMS */



#contact section {
	background: #F4F4F1;
	border: 2px solid #D9DBC2;
	margin: 0 0 20px 0;
	padding: 20px;
	position: relative;
}

#contact .disabled {
	opacity: 0.5;
}

#contact section h2 {
	margin: 0 0 15px 0;
}

#contact section > span {
	background: #33460C;
	border-radius: 30px;
	color: #FFFFFF;
	display: inline-block;
	height: 30px;
	font-family: 'Raleway', sans-serif;
	font-size: 27px;
	left: -10px;
	line-height: 27px;
	position: absolute;
	text-align: center;
	top: -10px;
	width: 30px;
}

#contact.newPatient label {
	display: block;
}

#contact.newPatient input {
	max-width: 300px;
	width: 100%;
}

#contact.newPatient section > div {
	margin-bottom: 10px;
}

#contact.newPatient input[type="radio"],
#contact.newPatient input[type="checkbox"] {
	display: inline-block;
	width: 15px;
}

#contact.newPatient label.radio,
#contact.newPatient label.checkbox {
	display: inline-block;
	margin-right: 15px;
}

#contact.newPatient h2,
#contact.newPatient h3 {
	color: #33460C;
}

#contact.newPatient h3 {
	border-bottom: 1px solid #e1e1e1;
	border-top: 1px solid #e1e1e1;
	margin: 20px 0 10px 0;
	padding: 5px;
}

#contact.newPatient h3+h2 {
	margin-top: 0;
}

#contact.newPatient #showMoreAddressFields {
	display: none;
}

/*******************************************************************
	BLOG
*******************************************************************/
.blog .news-item{
	display: flex;
	flex-direction: row;
	margin-bottom: 40px;
}

.blog .news-item .image{
	width: 30%;
}

.blog .news-item .article-content{
	width: 70%;
	padding-left: 15px;
}

.blog .news-item .article-content .more{
	margin-top: 20px;
}
/*******************************************************************
	RECIPES (BLOG MODULE)
*******************************************************************/

.recipes #articles {
	margin: 30px 0 50px 0;
}

.recipes .articleList #articles article {
	display: inline-block;
	margin: 1% 1% 0 0;
	width: 48%;
}

.recipes .articleList #articles article a {
	border: 2px solid #DDDDDD;
	display: block;
	padding: 20px 0;
	text-decoration: none;
}

.recipes .articleList #articles article a:hover {
	border-color: #4f7dbf;
}

.recipes .articleList #articles article h2 {
	font-size: 15px;
	margin: 0;
	text-align: center;
}

.recipes #articles article h1 {
	margin: 0 0 20px 0;
}

.recipes #articles article time {
	display: block;
	font-style: italic;
	margin: 0 0 20px 0;
	text-align: center;
}

.recipes #articles article img {
	display: block;
	height: 100% !important;
	margin: 20px 0;
	width: 100%;
}

.recipes #articles article iframe {
	width: 100%;
}

.recipes #articles article .articles-gallery {
	margin: 20px 0;
}

.recipes #content .sidebar .logos {
	border-top: none;
	padding-top: 0;
}

@media handheld, only screen and (max-width: 950px) {
	.recipes .articleList #articles article {
		display: block;
		margin: 0 0 10px 0;
		width: 100%;
	}
}

/*******************************************************************
  MEDIA QUERIES
*******************************************************************/

@media handheld, only screen and (max-width: 1080px) {
	.amenities span {
		width: 40%;
	}
}

@media handheld, only screen and (max-width: 768px) {
	.staff-container .staff-member img {
    	float: none;
    	margin: 0 0 20px 0;
    	width: 100%;
    	max-width: 325px;
	}
	.staff-container .staff-member .content {
    	padding: 0 0;
    	width: 100%;
	}
	.form input[type='text'], .form textarea{
    	max-width: 90%;
    }
    .blog .news-item {
    	flex-direction: column;
	}
	.blog .news-item .image {
    	width: 100%;
	}
	.blog .news-item .article-content {
    	width: 100%;
    	padding: 10px 0 0 0;
	}
}

@media handheld, only screen and (max-width: 600px) {

	.form a.reload {
		display: block;
	}

	.form .submit {
		margin: 0 auto;
	}
}

@media handheld, only screen and (max-width: 540px) {
	.locImage,
	.locInfo {
		float: none;
		text-align: center;
		width: 100%;
	}

	.locImage {
		margin: 0 auto 10px auto;
		max-width: 210px;
	}

	.gallery a.visible {
		max-width: 49%;
	}
}

/*******************************************************************
  PRINT MEDIA QUERY (PRIMARILY FOR RECIPES PAGES)
*******************************************************************/

@media print {
	header,
	#masthead,
	#content .button,
	footer {
		display: none;
	}

	body,
	#content {
		font-size: 14px;
		line-height: 28px;
	}
	
	#content {
		padding: 0 20px;
	}

	h1 {
		font-size: 24px !important;
	}
	
	h2 {
		font-size: 18px !important;
	}
}