/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	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;
	-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:22px/1.4 latomedium, sans-serif;*/
	font:12px latomedium, sans-serif;
	color:#333;
	/*background:#fff url(img/topbg_mobile.jpg) repeat-x top center;*/
	background:#f4f4f4 url(img/topbg.jpg) repeat-x top center;
	margin:0;position:relative;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#0b5a96;
}

a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1,h2,h3,h4,h5,h6{
	font-family:latosemibold, sans-serif;
}

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

/* wrapper */
#wrapper, #footer > div {
	max-width:1156px;
	width:90%;
	margin:0 auto;
	position:relative;z-index: 99999;
}
/* header */
#header {

}
/* logo */

#logo a{
	display:block;
	max-width:150px;
	margin:36px auto;
}
#logo img {
	max-width:100%;
}
#intro{
	margin-bottom:16px;
	padding-bottom:10px;
	border-bottom:1px solid #333;
}
#social{
margin-bottom:16px;
}
#social a{
	display:inline-block;
	height:42px;
	background-repeat:no-repeat;
	margin:8px;
}
#social a:first-child{
	background-image: url(img/insta.png);
	background-size: contain;
	/*width:42px;*/
	width: 12.5%;
	/*margin-left:0;*/
}
#social a:nth-child(2){
	background-image: url(img/email.png);
	background-size: contain;
	/*width:54px;*/
	width: 16%;
}
#social a:nth-child(3){
	background-image: url(img/twitter.png);
	background-size: contain;
	/*width:50px;*/
	width: 15%;
}
main{min-height: 70vh;}
main h2, main h3{
	margin-top:0;
}
main h2{
	/*font-size:1.1em;*/
	font-size:20px;
	margin-bottom:10px;
}
main h3{
	/*font-size:.8em;*/
	font-size:14px;
	margin-bottom:22px;
}
main > div{
	border-bottom:1px solid #acacac;
	margin-bottom:36px;
}
main > div:last-child{
	border-bottom:none;
	margin-bottom: 0;
}
main > div > a{
	display:block;
}
main > div > a img{
	width:100%;
}
main > div > a > span, #footer form a{
	display:inline-block;
	color:#fff;
	background: #0b5a96;
	padding: 8px 22px;
    font-family: latosemibold;
    margin: 28px 0 42px;
	text-decoration:none;
	font-size:18px;
}
#footer form a{
	background: #357aaf;
	padding: 6px 22px;
	margin: 0;
	vertical-align: top;
	margin-left:10px;
}
#footer {
	

}
#footerbg {
	height:481px;width:100%;
	background:#fff url(img/bottombg.jpg) repeat-x top center;
	position:absolute;
	bottom:0;
}
#footer form{
	/*padding: 210px 5% 5%;*/
	color:#fff;
	padding: 100px 0 5%;
}
#footer form label{
	display:block;
	/*width:85%;*/
	font-size:30px;
	font-size:20px;
	margin-bottom: 5%;
	
}
#footer form input{
	font-size:20px;
	padding: 5px 8px;
	width:60%;
	color:#333;
	border-color: white;
    border-style: solid;
	display:inline-block;
	vertical-align: top;
}
#footer .copyright, #footer .contact a{
	padding: 0 5%;
    color: #fff;
	font-size:12px;
	font-family:latosemibold;
	margin:1.5em 0 .5em;
}
#footer .contact{
	margin:0;
}
#footer .contact a{
	padding: 0 5%;
    color: #fff;
	font-size:12px;
	font-family:latomedium;
	
}
#footer span{
	display:none;
}


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



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



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

@font-face {
    font-family: 'latomedium';
    src: url('fonts/lato-medium-webfont.woff2') format('woff2'),
         url('fonts/lato-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'latosemibold';
    src: url('fonts/lato-semibold-webfont.woff2') format('woff2'),
         url('fonts/lato-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

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

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

	#wrapper, #footer > div {
		
	}
	#logo a{
		/*max-width:277px;*/
		width: 83%;
		/*margin:151px 0 50px;*/
		margin:77px 0 50px;
	}
	#header {
		/*width:29.23%;*/
		width:17%;
	}
	#header, main{
		display:inline-block;
		vertical-align:top;
	}
	#intro{
		/*width: 290px;*/
		width: 90%;
	}
	main{
		/*width:70.77%;*/
		width:83%;
		background:#fff;
		/*margin-top:134px;*/
		margin-top:60px;
		/*padding:39px;*/
		padding: 39px 39px 0;
	}
	main > div a{
		display:inline-block;
		width:48.75%;
	}
	main > div a:nth-child(3){
		/*margin-right:20px;*/
		margin-right: 2.5%;
	}
	main > div img{
		display:block;
	}
	#footer {
		

	}

	#footer > div > div{
		display:inline-block;
	}
	#footer > div > div:first-child{
		width:17%;
	}
	#footer > div > div:nth-child(2){
		width:83%;padding-bottom: 70px;
	}

#footer form label{
	font-size:24px;
}
	#footer form input{
		width:374px;
	}
	#footer .copyright, #footer .contact, #footer span{
		display:inline-block;
		color: #fff;
		margin:0;
		padding:0;
	}
	#footer .copyright{
		/*padding-left: 5%;*/
	}
	#footer .contact a{
		margin:0;padding:0;
	}
	#footer span{
		margin: 0 20px;
	}#footer span{
		display:inline-block;
	}
}
@media only screen and (min-width:768px) {


}
@media only screen and (min-width:1024px) {
	#wrapper {
		/*width:1156px;*/
		width:990px;
	}
	#footer > div{
		/*width:1156px;*/
		width:990px;
	}
}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    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;
	}
}
