/*
Theme Name: HTML5 Blank Deepend
Theme URI: http://html5blank.com
Description: Default HTML5 Blank WordPress Theme
Version: 1.2.6
Author: Deepend
Author URI: http://www.deepend.com.au
Tags: Blank, HTML5, CSS3
*/

/* =============================================================================
   General Styles
   ========================================================================== */

/* Font Face Setup, add fonts to /fonts/ folder and sync filenames */
/*
@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;
}
*/

/* Global Box Sizing and Font-Smoothing */
*, *:after, *:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

body {
	font-family: 'Roboto Condensed', sans-serif;
	font-size:13px;
	line-height: 24px;
	color:#444; /* Lighter on the eyes than #000 Black */
	background: #E8E8E8;
}

/* =============================================================================
   Structure
   ========================================================================== */

/* Fluid First approach - http://www.toddmotto.com/fluid-first-creating-a-future-proof-fluid-and-responsive-website
  Responsive, fluid, 1280px width - perfect start.
*/

/* .wrapper {max-width:1280px;width:95%;margin:0 auto;position:relative;} */
.wrapper { position: relative; }

#container {
    background: #fff;
    width: 960px;
    margin: 0 auto;
    overflow: hidden;

    -webkit-box-shadow: 0 0 10px -2px #aaa;
    box-shadow: 0 0 10px -2px #aaa;
}

#container > .wrapper
	background: #fff;
}

#container > header,
#container > .wrapper {
    padding: 0 20px;
}

header {
    position: relative;
}
header #logo {
    margin: 30px 0 0 10px;
}
header > .wrapper {
    margin: 0 20px;
}

form.search {
    position: absolute;
    top: 0px;
    right: 0;
    height: 40px;
    padding: 5px 10px 5px 90px;
    width: 275px;
}


form.search input {
    border: 0;
    padding: 5px 10px;
    margin: 0;
    height: 30px;
    font-size: 1.3em;
    display: block;
    float: left;
}
form.search input[type=text] {
    width: 150px;
    border-top-left-radius: 4px;
    border-bottom-left-radius:4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius:4px;
}

form.search:after {
    content:'';
    position: absolute;
    top:5px;
    width: 35px;
    height: 30px;
    background: green;
    z-index: 2;
    background: url(img/mag-glass.png) no-repeat center center;
}
form.search input[type=submit] {
    width: 35px;
    position: absolute;
    right:0;
    top:5px;
    z-index: 3;
    color: transparent;
    background: transparent;

}


#nav_cover {
    position: absolute;
    bottom: -42px;
    left: -20px;
    background: #fff;
    display: block;
    width: 20px;
    height: 30px;
    z-index: 3;
}

nav {
    background: #F4D036;
    float: left;
    width: 100%;
    margin-top: 20px;
    position: relative;
    font-family: 'Roboto Condensed', sans-serif;
    border-radius: 2px;
    position: relative;
}
nav ul {
    padding: 0;
    margin: 0;
}
nav > ul {
    float: left;
}
nav > ul li {
    display: block;
    float: left;
    margin: 0;
    position: relative;
}
nav > ul > li {
    z-index: 2;
    background: #F4D036;
}
nav > ul > li:first-child {
    border-top-left-radius: 2px;
    border-bottom-left-radius:2px;
}
nav > ul > li:hover {
    z-index: 1;
}
nav > ul > li a {
    display: block;
    float: left;
    font-size: 16px;
    text-transform: uppercase;
    color: #242424;
    text-decoration: none;
    line-height: 20px;
    padding: 0 40px;
    margin: 10px 0;
    border-left: 1px solid #D4AD40;
    font-weight: bold;
}
nav > ul > li:first-child a {
    border: none;
}
nav > ul > li a:hover {
    text-decoration: underline;
}

nav > ul > li ul {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background: #c6c5c7;
    opacity: 0.95;
    z-index: 2;
    border-bottom: 5px solid #E8C726;
    padding: 0 10px;
}
nav > ul > li:hover ul,
nav > ul > li ul:hover {
    display: block;
}

nav > ul > li ul:before {
    display: block;
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 30px solid #c6c5c7;
}
/* Fix issue with overflow on first item */
nav > ul > li:first-child ul:before {
    border-top: 6px solid transparent;
}
nav > ul > li ul li {
    width: 260px;
    border-top: 1px solid #9d9f98;
    padding: 5px 0;
    margin: 0 5px;
}
nav > ul > li ul li:first-child {
    border: 0;
}
nav > ul > li ul a {
    color: #444;
    border: none;
    padding: 0 0 0 30px;
    margin: 5px 0;
    width: 100%;
    background: url(img/arrow_yellow_thick.png) no-repeat 10px 5px;
    text-transform: none;
    line-height: 30px;
}
nav > ul > li ul a:hover {
    background-color: #e5c227;
    text-decoration: none;
    background-image: url(img/arrow_white_thick.png);
}

#container > footer {
    background: #dadada url(img/logo-footer.png) no-repeat 20px 20px;
    position: relative;
}

footer > a {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 160px;
    height: 60px;
    display: block;
    text-indent: -9999px;
    overflow: hidden;

}

#menu-footer-menu {
    float: right;
    display: block;
    width: 100%;
    padding: 10px 0 10px 220px;
    list-style: none;
    font-family: 'Roboto Condensed', sans-serif;
}

#menu-footer-menu > li {
    display: block;
    float: left;
    padding: 0 25px;
    border-left: 1px solid #fff;
    width: 25%;
}
#menu-footer-menu > li > a {
    font-size: 1.2em;
    font-weight: bold;
    color: #58595b;
    text-transform: uppercase;
    text-decoration: none;
}
#menu-footer-menu > li > a:hover {
    text-decoration: underline;
}
#menu-footer-menu > li ul {
    list-style: none;
    padding: 0;
}
#menu-footer-menu > li ul li a {
    color: #58595b;
    text-decoration: none;
    font-size: 1.1em;
    position: relative;
    margin-left: 15px
}
#menu-footer-menu > li ul li a:hover {
    text-decoration: underline;
}
#menu-footer-menu > li ul li a:before {
    content: "\2014";
    position: absolute;
    left: -15px;

}

#colophon {
    background: #58595b;
    border-bottom: 5px solid #ffd400;
    float: left;
    width: 100%;
    color: #fff;
    font-size: 1.2em;
    line-height: 2;
    padding: 10px 0;
}
#colophon ul {
    list-style: none;
    float: left;
    padding: 0;
    margin: 0 23px 0 0;
}
#colophon li {
    float: left;
    padding: 0 24px;
    border-left: 1px solid #ffd400;
}
#colophon li:first-child {
    border: none;
}
#colophon a {
    color: #fff;
    text-decoration: none;
}
#colophon a:hover {
    text-decoration: underline;
}

#credits { float: right; margin-right: 20px; }
#credits a {
    color: #fff;
    text-decoration: none;
}

#home-banner {
    margin: 20px;
    position: relative;

}
#home-banner img {
    display: block;
}


.banner-slide--wrapper {
    height: 400px;
    position: relative;
}

.banner-slide_inner {
    display: block;
    position: absolute;
    bottom:0;
    right:0;
    background: url(img/banner-bg-tall.png) no-repeat right bottom;
    z-index: 2;
    left: 0;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
}


.banner-slide {
    position: relative;
    width: 100%;
    background-size: cover;
}

.banner-slide__content {
    padding: 15px 15px 15px 15px;
    overflow: hidden;
    max-width: 520px;
    max-height: 160px;
}
.banner-slide__content h2 {
    margin: 0 0 5px 0;
}
.banner-slide__content  a {
    margin: 0 0 5px 0;
    color: #444;
    text-decoration: none;
}
.banner-slide__content span {
    font-size: 1.3em;
}

.banner-slide--wrapper {

}
.banner-slide__content span a {
    color: #fff;
    text-decoration: none;
    background: url(img/arrow_white.png) no-repeat 15px center #939597;
    padding-left: 15px;
    display: block;
    padding: 3px 15px 3px 30px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 5px;
    width: 113px;
}

.banner-slide__content span a span.view-article-dots {
    display: none;
}

.banner-slide__content span a:hover  {
    color: #F4D036;
    text-decoration: none;
    background: url(img/arrow_yellow.png) no-repeat 15px center  #939597;;

}

img.home-news-image {
    float: left;
    margin-right: 20px;
}

h2.title,
#pagination {
    background: #939597 url(img/arrow_yellow.png) no-repeat 10px center;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 10px 10px 40px;
    font-size: 1.3em;
    line-height: 1;
    margin-top: 0;
    clear: both;
    border-radius: 2px;
}
h2.title a,
#pagination a {
    color: #fff;
    text-decoration: none;
}
h2.title a:hover,
#pagination a:hover {
    text-decoration: underline;
}

.search .wrapper > section > h2.title {
    margin: 20px;
    font-size: 1.5em;
    padding-left: 10px;
    background-image: none;
}

div#pagination {
    padding: 0;
    margin: 20px 0 0 0;
    background-image: none;
    text-align: center;
    line-height: 20px;
    font-size: 1em;
}
#pagination span.current {
    font-size: 1.2em;
    font-weight: bold;
}

#sidebar {
    margin: 20px 20px 20px 20px;
    float: right;
    width: 300px;
}
#sidebar > div {
    background: #dadada url(img/bg-sidebar.png) no-repeat;
    padding: 40px 30px 20px 30px;
    font-size: 1.3em;
}
#sidebar a {
    color: #0054a6;
    text-decoration: none;
}
#sidebar a:hover {
    text-decoration: underline;
}

#top_banner {
    margin: 20px 0 0 20px;
    position: relative;
}
#top_banner img {
    display: block;
}
#top_banner:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: url(img/banner-bg.png) no-repeat 100% 100%;
    width: 480px;
    height: 20px;
}

#main_content {
    float: left;
    margin: 20px;
    width: 580px;
}
#main_content article {
    font-size: 1.3em;
}
#main_content article a,
a.view-article {
    color: #0054a6;
    text-decoration: none;
}
#main_content article a:hover,
a.view-article:hover {
    text-decoration: underline;
}

#main_content article h2.title a {
    color: #fff;
    font-size: 0.75em;
}

.home-news {
    font-size: 1.2em;
}
.home-news h2 {
    font-size: 1.05em;
}
.home-news h3 {
    margin-bottom: 0;
}
.home-news h3 a {
    color: #444;
    text-decoration: none;
}
.home-news h3 a:hover {
    text-decoration: underline;
}
.home-news span.date {
    font-size: 0.8em;
    margin-bottom: -15px;
    display: block;
}

.home-news p {
	overflow: hidden;
}

a.back-to-top {
    float: right;
    clear: both;
    display: block;
    font-size: 1.1em;
    margin: 10px 0 30px 0;
    position: relative;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}
a.back-to-top:hover {
    text-decoration: underline;
}
a.back-to-top:before {
    content: "";
    width: 15px;
    height: 15px;
    display: block;
    background: url(img/arrow_yellow_up.png) no-repeat;
    position: absolute;
    left: -20px;
    top: 2px;
}

body.contact-us article > table {
    width: 100%;
}
body.contact-us article > table td {
    vertical-align: top;
    width: 50%;
}
body.contact-us article > table td h2 {
    font-weight: normal;
}



#main_content .gform_wrapper input, #main_content .gform_wrapper textarea {
    background: #eee;
    border: 1px solid #d8d8d8;
    padding: 10px;
    font-size: 1.3em;
    color: #444;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
#main_content .gform_wrapper input[type=submit] {
    text-transform: uppercase;
    font-size: 1em;
    padding-left: 30px;
    background: #e9e9e9 url(img/arrow_yellow.png) no-repeat 10px center;
    background: url(img/arrow_yellow.png) no-repeat 10px center, -moz-linear-gradient(top, #ffffff 0%, #e9e9e9 100%);
    background: url(img/arrow_yellow.png) no-repeat 10px center, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e9e9e9));
    background: url(img/arrow_yellow.png) no-repeat 10px center, -webkit-linear-gradient(top, #ffffff 0%,#e9e9e9 100%);
    background: url(img/arrow_yellow.png) no-repeat 10px center, -o-linear-gradient(top, #ffffff 0%,#e9e9e9 100%);
    background: url(img/arrow_yellow.png) no-repeat 10px center, -ms-linear-gradient(top, #ffffff 0%,#e9e9e9 100%);
    background: url(img/arrow_yellow.png) no-repeat 10px center, linear-gradient(to bottom, #ffffff 0%,#e9e9e9 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e9e9e9',GradientType=0 );*/
    float: right;
    margin-right: 4px;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

/* Less than 768px wide device width (phones not tablets) */
@media only screen and (max-device-width: 767px) {
	html, body, header, .wrapper, footer {
		width: 320px;
		overflow: hidden;
	}
	#container {
		width: 320px;
		overflow: hidden;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin: 0;
	}
	header .wrapper {
		margin: 0;
	}
	header #logo {
		margin: 10px 18px 0;
	}
	#logo img {
		width: 280px;
	}
	form.search {
		display: none;
		/*position: relative;
		top: 0;
		clear: both;
		width: 100%;*/
	}
	nav {
		border-bottom: 5px solid #FFD400;
	}
	nav > ul {
		padding-bottom: 10px;
	}
	nav ul ul {
		display: none !important;
	}
	nav > ul > li a {
		padding: 0;
		border-left: none;
		width: 148px;
		margin: 0;
		padding: 10px 0 0 20px;
	}
	nav > ul > li:nth-child(even) a {
		padding-left: 0;
	}
	#home-banner {
		overflow: hidden;
		margin: 0;
	}

	#banner-content {
		width: 100%;
		background: transparent url(img/banner-bg.png) repeat-y 0 0;
		margin: 0;
		padding: 20px;
		height: auto;
	}
	#banner-content div {
		position: relative;
	}
	#banner-content span a {
		display: block;
		margin-top: 5px;
	}
	#main_content, #sidebar {
		width: 280px;
	}
	h2.title {
		margin: -20px -20px 20px -20px;
		padding-left: 36px;
	}
	.home-news-image {
		display: none;
	}
	#banner-content span a {
		color: #fff;
	}
	footer > a {
		position: relative;
		display: block;
		margin-bottom: 20px;
	}
	#menu-footer-menu {
		display: block;
		padding-left: 0;
	}
	#menu-footer-menu > li {
		border-left: none;
		height: auto;
	}
	#menu-footer-colorfon {
		margin: 0;
	}
	#menu-footer-colorfon li {
		width: 50%;
		padding: 0 20px;
	}
	#menu-footer-colorfon li:last-child {
		border: none;
		width: 100%;
	}
	#credits {
		float: left;
		margin-left: 20px;
	}
	#top_banner {
		margin: 0;
	}
	#top_banner:before {
		background: none;
	}
	menu, ol, ul {
		padding-left: 20px;
	}
}

/* 320px and greater */
@media only screen and (min-width: 320px) {

}

/* 480px and greater */
@media only screen and (min-width: 480px) {

}

/* 768px and greater */
@media only screen and (min-width: 768px) {

}

/* 1024px and greater */
@media only screen and (min-width: 1024px) {

}

/* Retina screens */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {

}

/* =============================================================================
   Non-Semantic Classes
   ========================================================================== */

/* Custom Selection Styles */
::selection {background:#D31245;color:#FFF;text-shadow:none;}
::-webkit-selection {background:#D31245;color:#FFF;text-shadow:none;}
::-moz-selection {background:#D31245;color:#FFF;text-shadow:none;}

/* Input focus styles */
input:focus {outline:0;border:1px solid #0091BD;} /* Gets rid of blue glow on field focus, adds border color instead */

.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1;
}

/* =============================================================================
   WordPress Core CSS Styles
   ========================================================================== */

.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;}
.aligncenter {display:block;margin:5px auto 5px auto;}
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 p.wp-caption-text,.gallery-caption {font-size:11px;line-height:17px;margin:0;padding:0 4px 5px;}
.sticky {}
.bypostauthor {}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;}
}
