/*
 Theme Name:     Twenty Thirteen ICCOREIS Child Theme
 Description:    A child theme for ICCOREIS
 Author:         Andrew Murray
 Template:       twentythirteen
 Version:        1.0.0
*/
@import url('../twentythirteen/style.css');

h1 { font-weight: normal !important; }
body.home.page .entry-header h1 { display: none; }
body.home.page .entry-content h1 { margin: 0; }
@media (max-width: 643px) {
	.entry-content h1 {
		margin-bottom: 5px;
	}
	.entry-header h1.entry-title {
		font-size: 48px;
	}
}

a { text-decoration: none !important; }
.site-header .site-title:hover { text-decoration: none; }

.redirectHeader {
	color: #fff;
	font-weight: light;
	text-align: center;
	
	background-color: #000;
	width: 100%;
	position: absolute;
	top: 0;
}
.redirectHeader .block {
	background-color: #000;	
	
	margin: 0 auto;
	width: 100%;
	max-width: 800px;
}

.redirectHeader a {
	color: #FBB03B;
	font-weight: bold;
	text-decoration: none;
}

@media (min-width: 640px) { /*above*/
	html { margin-top: 3em !important; }
	.redirectHeader .block {padding: 1em 0;}
}

@media (max-width: 639px) { /*below*/
	html { margin-top: 3em !important; }
	.redirectHeader .block {padding: 1em 0;}
	
}

.navbar {
	background-color: #F2F2F2;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover {
	background-color: #24D08D;
}

.nav-menu .current_page_item > a,
.nav-menu .current_page_ancestor > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
	color: #24D08D;
	font-style: normal;
}

.entry-title a:hover {
	color: #24D08D;
}
.sidebar-container#tertiary {
	max-width: none;
}

.site-footer {
	background-color: #F2F2F2;
	color: #24D08D;
	font-size: 14px;
	text-align: center;
}

.site-footer .widget {
	margin-right: 40px;
}
.site-footer .widget a, .site-footer a {
	color: #24D08D;
}

.site-footer .sidebar-container {
	background-color: #666666;
	padding: 20px 0;
}

.site-footer input[type="search"] {
	-webkit-appearance: none;
}

button,
input,
textarea {
	border: 2px solid #24D08D;
	font-family: inherit;
	padding: 5px;
}
input:focus,
textarea:focus {
	border: 2px solid #24D08D;
}
.site-header .search-field:focus {
	border: 2px solid #24D08D;
}
.toggled-on .nav-menu li a:hover,
.toggled-on .nav-menu ul a:hover {
	background-color: #24D08D;
}

/* Header background image */
.site-header a.home-link {
	position: relative;
}
.site-header a.home-link > img {
	position: absolute;
	left: 20px;
}
.site-header a.home-link > div {
	position: absolute;
	left: 123px;
}
@media (max-width: 2080px) {
	header.site-header a.home-link, header.site-header a.home-link > * {
		position: static;
		left: auto;
	}
}
@media (min-width: 644px) {
	header.site-header {
		background: url(./images/Desktop_Header-01.jpg) no-repeat scroll top;
		background-size: 1600px auto;
	}
	.home-link .headerTitle {
		float: left;
	}
}
/* Mobile background image */
@media (max-width: 643px) {
	header.site-header {
		background-image: url(./images/ICCOREIS_Mobile_Banner.png);
		background-size: auto 230px;
	}
}

.home-link img {
	float: left;
	width: 103px;
	height: 162px;/*94*/
	padding: 69px 20px 10px 0;
}
@media (max-width: 814px) and (min-width: 644px) {
	.home-link > img {
		width: auto;
		height: 159px;/*94*/
		padding: 72px 20px 10px 0;
	}
}
@media (max-width: 814px) and (min-width: 741px) { /*21*/
	.site-description {
		font-size: 21px;
	}
}
@media (max-width: 740px) and (min-width: 644px) { /*17*/
	.site-description {
		font-size: 17px;
	}
}

@media (max-width: 643px) {
	.home-link > img {
		display: none;
	}
}

.page-header {
	background-color: #24D08D;
}

.page-title {
	color: #fff;
}

footer .widget-area {
	height: auto !important;
}
footer aside.widget {
	position: static !important;
}
footer aside.widget li > ul {
	margin: 5px 0 0 0;
}
@media (min-width: 680px) {
	footer.site-footer aside.widget_search {
		float: none;
		margin-bottom: 0;
	}
}
@media (max-width: 679px) {
	footer aside form[role="search"] {
		margin-bottom: 30px;
	}
	footer aside.widget {
		margin: 0;
		padding-top: 0;
		padding-bottom: 0;
		
		float: none !important;
	}
}
@media (min-width: 680px) {
	footer aside#nav_menu-3 div > ul {
		padding-top: 35px;
	}
	footer aside.widget {
		width: auto !important;
	}
}


#content .entry-header, #content .entry-content, #content .entry-meta {
	padding-left: 0;
}

@media (min-width: 1000px) {
	body.home.page #content .entry-header, body.home.page #content .entry-content, body.home.page #content .entry-meta {
		padding-right: 376px;
	}
	body.page #content .entry-header, body.page #content .entry-content, body.page #content .entry-meta {
		padding-right: 0;
	}
}
@media (max-width: 999px) {
	#content .entry-header, #content .entry-content, #content .entry-meta {
		padding-left: 20px;
		padding-right: 20px;
		max-width: none;
	}
	footer aside.widget {
		padding-left: 0;
	}
}
@media (max-width: 1095px) {
	#content .entry-header, #content .entry-content, #content .entry-meta {
		margin-left: 0;
	}
}
@media (min-width: 1100px) {
	footer aside.widget {
		padding-left: 0;
	}
}

.site-info {
	text-align: center;
}
@media(max-width: 643px) {
	.site-info .pipe {
		display: block;
		height: 0;
		overflow: hidden;
	}
}

/* Sidebar height */
@media (min-width: 1000px) {
	body.home.page #content .entry-content, body.home.page #content .entry-meta {
		max-width: none;
		margin: 0;
		padding-right: 0;
	}
	.home.page .content-area#primary {
		float: left;
		padding-left: 20px;
	}

	.home.page .site-main {
		margin: 0 auto;
		max-width: 1080px;
	}

	.home.page .site-main .sidebar-container {
		float: right;
		width: auto;
		height: auto;
		margin-top: 40px;
		position: static;
	}
	.home.page .site-main .sidebar-inner {
		display: inline-block;
	}
	.home.page .site-main .widget-area {
		display: inline-block;
		float: none;
	}

	.home.page footer.site-footer {
		clear: both;
	}
}
@media (min-width: 1070px) {
	.home.page .content-area#primary {
		width: 70%;
	}
}
@media (max-width: 1069px) and (min-width: 1000px) {
	.home.page .content-area#primary {
		width: 68%;
	}
	.home.page .site-main .widget-area {
		margin-right: 0;
	}
}