/*
	Theme Name: Mill Creek Assisted Living
	Description: Custom theme based on starter HTML5 Blank WordPress Theme
	Author: Kelley Marketing, LLC

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

html {
	font-size:100%;
}
body {
	font:400 16px/22px 'Montserrat', sans-serif;
	color:#1C1C1C;
}
htm, body {height: 100%
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	height: auto;
}
a {
	color:#4A5C6D;
	text-decoration:underline;
}
a:hover {
	text-decoration: none;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

.grecaptcha-badge {
    visibility:hidden;
}
.contact-us .grecaptcha-badge, .job-application .grecaptcha-badge, .tour-lunch .grecaptcha-badge {
    visibility: visible;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* container */
.container {
	width:1100px;
	margin:0 auto;
	position: relative;
}
/* header */
header {
	background-color: #FCFBF9;
}
#top-bar {
	border-bottom: 1px solid #CECECE;
	padding:10px 0;
}
#top-bar-left {
	font-family: 'Libre Baskerville', serif;
	font-size:16px;
	line-height: 1em;
	font-weight: 700;
	color: #1F1F1F;
	float: left;
	padding-top:15px;4A5C6D
}
#top-bar-right {
	float: right;
}
#top-nav {
	list-style: none;
	padding:0;
	margin:0;
	font-size: 14px;
	line-height: 1em;
}
#top-nav li {
	display: inline;
	padding:0;
	margin:0;
}
#top-nav li a {
	color:#575757;
	padding:6px 12px;
	text-decoration:none;
}
#top-nav li a:hover {
	color: #000;
}
/* logo */
#logo {
	display: table-cell;
	vertical-align: middle;
	float: left;
	padding: 14px 0;
}
/* nav */
#middle-nav-container {
	display: table-cell;
	vertical-align: middle;
	text-align: right;
}
#middle-nav {
	float: right;
	border:1px solid #EADED3;
	background-color: #fff;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	padding:0 3px;
	margin:0;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size:15px;
	line-height: 1em;
	text-transform: uppercase;
}
#middle-nav li {
	display: inline-block;
	margin:0;
	padding:0;
}
#middle-nav li a {
	display: block;
	padding: 15px 12px;
	color:#8ED0DD;
	text-decoration:none;
}
#main-content {
	padding: 20px 0;
}
#banner-image {
	margin-bottom:30px;
	position: relative;
}
#banner-image img {
	position: relative;
	z-index: 1;
}
#banner-image span {
	text-align: center;
	margin:0 auto;
	font-size: 28px;
	line-height: 1em;
	text-transform: uppercase;
	color: #fff;
	position: absolute;
	z-index: 5;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	width: 300px;
}
#banner-image span:before, #banner-image span:after  {
	background-color: #fff;
 	content: "";
 	display: inline-block;
 	height: 3px;
 	position: relative;
 	vertical-align: middle;
 	width: 50%;
}

#banner-image span:before {
 right: 0.5em;
 margin-left: -50%;
}
#banner-image span:after {
 left: 0.5em;
 margin-right: -50%;
}

#narrow-content {
	width: 68%;
	float: left;
	margin: 0;
}

#wide-content {
	width: 100%;
	float: left;
	margin: 0;
}
/* sidebar */
#sidebar {
	width: 29%;
	float: left;
	margin: 0 0 0 3%;
	background-color: #FCFBF9;
	text-align: center;
	padding: 30px;
}
.green-button {
	background-color: #143431;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	font-family: 'Libre Baskerville', serif;
	text-shadow: 0 2px 3px rgba(0,0,0,.4);
	font-size:16px;
	line-height: 23px;
	padding: 10px;
	font-weight: 700;
	display: block;
	margin: 0 auto 12px;
	background-image: url(img/mill-icon.png);
	background-repeat: no-repeat;
	background-position: 5px;
	position: relative;
}
.green-button span {
	text-transform: uppercase;
	font-size: 17px;
}
a.green-button {
	color:#fff;
	text-decoration: none;
	transition: all .5s ease;
}
.green-button:hover {
	background-color: #0c5a2a;
}

.brochure img{
	position: absolute;
	z-index: 1;
	top:50%;
	right:4%;
	transform: translate(-4%, -50%);
}
.widget {
	margin-top:35px;
}
.widget:last-of-type {
	margin-bottom:35px;
}
#sidebar h3 {
	font-family: 'Libre Baskerville', serif;
	font-weight: 700;
	color: #4A5C6D;
	margin:0 0 6px 0;
	text-transform: uppercase;
	font-size:18px;
	line-height: 22px;
}
#sidebar p {
	font-family: 'Montserrat', sans-serif;
	font-size:16px;
	line-height: 21px;
	margin:0 0 12px 0;
	color:#454545;
}
.facility-number {
	color: #8dd5e1;
	margin:0;
	font-weight: 700;
	font-size: 34px;
	line-height: 40px;
}
#quality {
	margin:20px 0 0 0;
	background-color: #F5F3ED;
	text-align: center;
	font:700 26px/32px 'Libre Baskerville', serif;
	color: #fcb245;
	padding:32px 0;
}
#quality span{
	color: #143431;
}
/* footer */

footer {
	background-color: #143431;
	padding:24px 0;
}
footer .container {
	display: table;
}
footer p {
	color: #fff;
}
.one-third-column {
	width:33%;
	text-align: center;
	display: table-cell;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
	padding: 2%;
	vertical-align: middle;
	overflow: auto;
	height: auto;
	
}
.one-third-column:first-of-type, .one-third-column:last-of-type {
	border:none;
}
ul#footer-nav {
	margin: 20px auto;
	padding:0;
	text-align: center;
	list-style-type: none;
	width: 100%;
	overflow: auto;
}
ul#footer-nav li {
	margin:0;
	padding:0;
	font: 400 14px/20px 'Montserrat', sans-serif;
	white-space: nowrap;
	text-align: center;
	display: inline-block;
}
#footer-nav li a {
	margin:0;
	display: block;
	padding:4px;
	color: #fff;
	text-decoration: none;
}
#footer-nav li a:hover {
	text-decoration: none;
	background-color:rgba(255,255,255,.2)
}
.copyright {
	font-size: 13px;
	line-height: 16px;
}
.copyright a:link, .copyright a:visited {
	color: #fff;
	text-decoration: none;
}
.copyright a:hover, .copyright a:active {
	color: #fff;
	text-decoration: underline;
}

#suggested-pages, #suggested-pages p {
	font: 400 14px/18px 'Libre Baskerville', serif;
	color:#fff;
}
#suggested-pages ul {
	list-style-type: none;
	padding:0;
	margin:0;
	font-weight: 700;
}
#suggested-pages li {
	text-align: center;
	margin:0;
	padding:0;
}
#suggested-pages a {
	display: block;
	padding:10px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
}
#suggested-pages a:hover {
	text-decoration:underline;
}

/*------------------------------------*\
    FORMS
\*------------------------------------*/

.wpcf7-textarea,
   .wpcf7-text {
     max-width: 100%;
     padding: 10px 1px !important;
   }

form div {
margin-bottom:10px;
}

form div label {
margin-right:6px;
}


/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/

p {
	color: #1C1C1C;
	font:400 16px/24px 'Montserrat', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Libre Baskerville', serif;
	color:#1C1C1C;
	font-weight: 700;
	line-height: 1.3em;
}
h1 {
	font-size:30px;
	margin-top:0;
}
h2 {
	font-size:26px;
	margin-top:40px;
}
h3 {
	font-size:22px;
	margin-top:30px;
}
h4 {
	font-size:18px;
	margin-top:24px;
}

ul  {
	
}
li {
	margin-bottom:10px;
}

ul li li {
	margin-bottom:6px;
}
ul ul {
	margin-top:6px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.row {
	width: 100%;
	margin:0 auto;
}
.column-half {
	width:48%;
	float: left;
	margin:0 4% 0 0;
}
.column-half:last-of-type {
	margin-right:0;
}

.social-icons a {font-size:28px;text-decoration:none;line-height:1em;padding:0;display:inline-block;margin:0 3px;}

/*------ HOMEPAGE --------*/

.soliloquy-prev, .soliloquy-next, .soliloquy-pager {
display:none!important;
}

#slider {
	background-color: #FCFBF9;
	padding:0 0 15px 0;
}
#slider img {margin:0;}
#homepage-heading {
	font-family: 'Libre Baskerville', serif;
	border-top:1px solid #CECECE;
	text-align: center;
	padding-top:5px;
	margin-top:15px;
}
.heading-blue {
	color:#8dd5e1;
	font-size:36px;
	line-height: 42px;
	font-weight: 700;
	margin-bottom: 7px;
}
.heading-marquette {
	color: #767676;
	font-size: 22px;
	line-height: 26px;
	font-weight: 700;
	text-transform: uppercase;
}
#homepage-buttons {
	background-color: #FCFBF9;
	padding:30px 0;
	text-align:center;
}
#homepage-buttons .green-button{
	display:inline-block;
	margin:0 .90909%;
	width: 23.636363636%;
	text-align: center;
}
#homepage-buttons .green-button:first-of-type {
	margin-left:0;
}
#homepage-buttons .green-button:last-of-type {
	margin-right:0;
}
#homepage-large-images {
	background-color: #F5F3ED;
	padding:30px 0;
}
.highlight {
	width: 50%;
	text-align: center;
	float: left;
	padding:0 10px 30px 0;
}
.highlight:nth-child(n+3) {
	padding-bottom:0;
}

.highlight h3 {
	font-weight: 700px;
	font-size:20px;
	line-height: 1em;
	color:#4A5C6D;
	text-transform: uppercase;
	margin:0 0 4px 0;
}
.highlight p {
	font-size:15px;
	line-height: 1em;
	color: #454545;
	margin:0;
}
.highlight img {
	margin:0 0 4px 0;
}

.highlight a {
	transition: all .5s ease;
}
.highlight a:hover {
	opacity: .8;
}
.home #quality {
	margin-top:0;
	background-color: #fff;
}

/*------ MEET OUR TEAM --------*/

.team-grid {
	width: 80%;
	margin:0 auto;
}

.team-grid:after {
	clear:both;
}

.grid-item {
	margin: 0px;
	float: left;
	width: 50%;
	position: relative;
	text-align: center;
	box-sizing:border-box; 
	-webkit-box-sizing:border-box; 
	-moz-box-sizing:border-box;
	overflow: auto;
	padding: 15px;
}

.grid-item img {

	display: block;
	text-align: center;
	margin:0 auto;
	max-width:225px;
	height: auto!important;
	

}

.grid-item p {
	margin:6px auto 0;
	display: block;
	text-align: center;
	height: auto!important;
	font-size:15px;
	line-height: 1.3em;
}

/*------ UPCOMING EVENTS --------*/

.upcoming-events table {
	margin: 0 0 40px 0;
}

.upcoming-events td {
	padding:10px;
	line-height:1.3em;
}
.upcoming-events tr td:first-of-type {
	border-right:3px solid #ccc;
	font-weight:700;
	padding-left:0;
}

.upcoming-events h3 {
	color:#135cb1;
	margin-top:30px;
	margin-bottom:0;
	clear:both;
	width:100%;
}

.upcoming-events h3 + p {
	margin-top:4px;
}	


/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/





/* Below 1100px */

@media (max-width: 1099px) {

.container {width: 90%;}

}



/* Below 1024px */

@media (max-width: 1023px) {
	.brochure img {
		display: none;
	}



}

/* Below 950px */

@media (max-width: 949px) {
#top-bar-left {
	display: block;
	float: none;
	text-align: center;
}
#top-bar-right {
	display: none;
}
	
#mega-menu-wrap-main-menu {
	-webkit-border-radius: 2px 2px 2px 2px;
	-moz-border-radius: 2px 2px 2px 2px;
	-ms-border-radius: 2px 2px 2px 2px;
	-o-border-radius: 2px 2px 2px 2px;
	border-radius: 2px 2px 2px 2px;
}
.mega-menu-toggle {
	margin-left:6px;		
}
#homepage-buttons .green-button {
		min-height: 90px;
	}
	
/* Photo Gallery */
	
.gallery .gallery-item{
		width: 32%!important;
		box-sizing:border-box; 
	-webkit-box-sizing:border-box; 
	-moz-box-sizing:border-box;
	}
	.gallery br {display: none;}

.team-grid {
	width: 100%;
	margin:0 auto;
}


}


/* Below 768px */

@media (max-width: 767px) {
#narrow-content {width: 100%;float: none;}
#sidebar {width: 100%;float: none;margin: 0;}
.one-third-column {width:100%;float: none; display: block; border-left:none; border-right:none;}
.column-half {width:100%;float: none;margin:0;display: block;}
#homepage-buttons .green-button {min-height: 120px;}

/* Staff Photos */

.grid-item {
	margin: 0px auto;
	float: none;
	width: 100%;
}

.grid-item img {

	max-width:200px;
}



}


/* Below 640px */

@media (max-width: 639px) {

#banner-image span {
		font-size:24px;
	}
#logo img{
	height: 70px;
}
#homepage-buttons .green-button{
	float: left;
	margin:1%;
	width: 48%;
	text-align: center;
	min-height:0;
}
	#homepage-buttons .green-button:nth-child(3){
		margin-left:0;
	}

	/* Photo Gallery */
	
.gallery .gallery-item{
		width: 48%!important;
		box-sizing:border-box; 
	-webkit-box-sizing:border-box; 
	-moz-box-sizing:border-box;
	}
}


/* Below 480 */

@media (max-width: 479px) {

.hidden {display:none!important;}

#banner-image span {
		font-size:18px;
	}
#homepage-buttons .green-button{
	float: none;
	margin:1%;
	width: 100%;
	text-align: center;
	min-height:0;
}
#homepage-buttons .green-button:nth-child(3){
	margin-left:1%;
	}
/* Homepage image */
	.wp-image-678 {display: none;}
.highlight {
	width: 100%;
	float: none;
	padding:0;
	margin-bottom:10px;
	display: block;
}
.alignright {display:block;
	margin:5px auto 5px auto!important;
	float: none!important;
	}

/* Staff Photos */

.grid-item a{
	font-size:12px!important;
}



}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}