/*
	Theme Name: Jaffe websites theme
	Theme URI: http://jaffewebsites.com
	Description: Theme built for...
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}




/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 13.5px/1.4 'Arial', Helvetica, sans-serif;
	color:#444;
	background-image: url(img/background.jpg);
	background-repeat: repeat-x;
	background-position: center top;
}

html, body {
	height: 100%;
}

@import url(http://fonts.googleapis.com/css?family=Gochi+Hand);

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	min-height: 100%;
	margin:0 auto;
	position:relative;
	margin-bottom: -381px; 
}

.wrapper:after {
  content: "";
  display: block;
}

/* header */
.header {

}

#header h1 {
	margin: 0px !important;
}

#header img{
	max-width: 200px;
	padding: 10px 0px;
	margin-left: -10px;
	height: auto;
	float: left;
}

#header .contact {
	float: right;
	margin: 15px;
	margin-top: 40px;
	margin-right: -10px;
	border-radius: 5px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.8);
}

#header .contact p {
	margin: 0px;
}

#header .contact select , #header .contact option {
	margin-top: 5px;
}

#header .contact select , #header .contact option , .gform_body input, .gform_body textarea {
	font-size: 12px;
	color: #554082;
	padding: 2px;
	border-radius: 5px;
	padding-right: 5px;
	padding-left: 5px;
}



#header .contact p:first-child {
	font-size: 20px;
	font-weight: bold;
}

.landinglogo {
	text-align: center;
}

img.bar_logo {
	position: relative;
	bottom: -10px;
}

/* logo */
.logo {

}
.logo-img {

}
/* nav */

#nav {
	margin: 0px !important;
	padding: 0px !important;
}

#nav li {
	list-style: none;
	float: left;

}

ul#menu-header-menu {
	padding: 0px !important;
}

#nav ul li a:hover:after {
	height: 12px;
    transform:translateY(-100%);
}

#nav ul li a:after {
    content: '';
    position: absolute;
    top:0%;
    left: 0;
    width: 100%;
    background-color: inherit;
	transition: 0.5s;
	height: 0px;
    z-index:3;
}

#nav ul li a:hover {
    padding-top: 6px;
}

#nav ul li a {
	transition: 0.5s;
	height: 53px;
    padding: 16px 17px;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	display: block;
	font-weight: 400;
    position: relative;
    background-color: inherit;
}

#nav ul li {
	display: inline-block;
	margin: 0px;
	padding: 0px;
    vertical-align: top;
}

#nav li:first-child {background-color: #a0c80a;}
#nav li:nth-child(2) {background-color: #feaf00;}
#nav li:nth-child(3) {background-color: #f13835;}
#nav li:nth-child(4) {background-color: #1ebad8;}
#nav li:nth-child(5) {background-color: #a0c80a;}
#nav li:nth-child(6) {background-color: #feaf00;}
#nav li:nth-child(7) {background-color: #f13835;}
#nav li:nth-child(8) {background-color: #1ebad8;}
#nav li:nth-child(9) {background-color: #a0c80a;}
#nav li:nth-child(10) {background-color: #FEAF00;}
#nav li:last-child {background-color: #FEAF00;}

/* sidebar */
.sidebar {

}
/* footer */
.footer {
	background-image: url(img/footer.jpg);
	background-position: center;
	height: 381px;
	margin-top: 320px;
}

.copyright {
	position: absolute;
	bottom: -5px;
	right: 10px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

#loop {background-color: #FFF;}

.missionstatement {
	margin-top: 130px;
	font-size: 23px;
}

p.title {font-size: 18px;}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:320px) {

}
@media only screen and (max-width:480px) {

}
@media only screen and (max-width:768px) {
	.grid-container {
		margin: 10px;
	}

	#nav {
		display: none;
	}
}
@media only screen and (max-width:1076px) {

}
@media only screen and (max-width:1140px) {

}
@media only screen and (max-width:1280px) {

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}


@media (min-width: 0px) and (max-width: 1076px)  {
	#wprmenu_bar .menu_title { font-size: 16px !important; font-family: 'Gochi Hand', cursive; }
	#wprmenu_menu ul li a {font-size: 11.5px !important; text-transform: uppercase; letter-spacing: 0.3px;}
	#wprmenu_menu ul li a:hover {color: #FFA02A !important;}

	#nav li a {
		height: 44px !important;
	    padding: 13px 14px !important;
		font-size: 15px !important;
	}

	#nav ul li a:hover {
    padding-top: 4px !important;
	}

}


@media (min-width: 768px) and (max-width: 820px)  {

	#nav li a {
		height: 40px !important;
	    padding: 9px 8.5px !important;
		font-size: 15px !important;
	}

	#nav ul li a:hover {
    padding-top: 4px !important;
	}

}


@media (min-width: 821px) and (max-width: 954px)  {

	#nav li a {
		height: 40px !important;
	    padding: 11px 9px !important;
		font-size: 15px !important;
	}

	#nav ul li a:hover {
    padding-top: 4px !important;
	}

}

@media (min-width: 0px) and (max-width: 768px)  {


	.missionstatement {margin: 0px}

	.wpb_wrapper .homestatement {text-align: center;}

	.grid-12 {padding: 10px;}

	p.facilitiesdesc {padding: 10px;}


	#header img , #header .contact {
		display: block;
		margin: 0 auto;
		float: inherit;
	}

	#header .contact {
		border-radius: 0px;
		text-align: center;
		background-color: #fff;
		margin-bottom: -15px;
	}

}


/*------------------------------------*\
    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;
	}
}
