/*
Theme Name:     AND
Theme URI:      http://and.com/
Description:    Child theme for the Hero theme (Theme trust)
Author:         Wietse Zeedijk
Author URI:     http://www.zeedijk-ontwerp.nl
Template:       herothemetrust
Version:        1.0
*/

@import url("../herothemetrust/style.css");

body{
	background: #082652;
}

#header {
	overflow: hidden;
}
#mainNav ul a{
	font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 0.85em;
}
#main{
	margin-bottom: 5px;
}
    
h1, h2, h3, h4, h5, h6{
	font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
#homeBanner {
    	height: 280px;
	margin-bottom: 20px;
	background-position: center 0;
	background-color: #082652;
    	background-repeat: no-repeat;
	padding-top:0;
}
.home #homeBanner{
	margin-bottom: 0;

}
#homeBanner h2{
	color: #CC0000;
    	font-size: 60px;
    	text-indent: -100px;
    	text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}
#homeBanner p{
	font-size: 26px;
    	line-height: 26px;
    	margin-top: 12px;
    	text-indent: 150px;
}
.homeSection h3 {
	margin-bottom: 30px;
	font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
#content .page.small h2{
	font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.and-content {
    font-size: 150%;
    margin: 0 auto 30px;
    text-align: center;
    width: 95%;
}
body.home #content .page.small a.thumb {
    	display: inline-block;
    	
}
body.home #content .page.small a.thumb div{
	display: table-cell;
	max-width: 160px;
	vertical-align: middle;
	height: 160px;
}
body.home #content .page.small a.thumb img{
	margin-bottom: 0;
}

body.home .news-item.one_half {
    background: #F5F5F5;
    margin: 0 3% 20px;
    padding: 2%;
    text-align: center;
    width: 40%;
}
.and-icon {
    bottom: -20px;
    position: absolute;
    right: -70px;
}
#projects img.wp-post-image{
	width: 100%;
	height: auto;
}

.slide-wrapper {
    margin: 0 auto;
    max-width: 1000px;
	position: relative;
}
.flex-direction-nav,
.flex-control-paging,
.slide-title{
	display: none !important;
}

.transparent-circle {
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.transparent-circle img{
	width: 100%;
	height: auto;
}

#content .project.small .title {
    bottom: 10%;
    display: block !important;
    opacity: 1 !important;
}
#content .project.small .title span {
    background-color: rgba(0, 0, 0, 0.5);
    font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.1em;
	text-transform: uppercase;
}
#content .moreLink{
    font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}

body.no-sidebar #content {
    width: 95%;
}
body.no-sidebar #content.fullProjects {
    width: 100%;
}
body.no-sidebar.single-project #content.twoThirds {
    width: 62.5%;
}
body.no-sidebar.single-project .oneThird{
	width: 33%;
}
body.no-sidebar.single-project .oneThird img{
	max-width: 95%;
	height: auto;
	padding-left: 5%;
}
#pageHead{
	position: relative;
}
#pageHead h1{
	font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.lang{
	position: absolute;
	right:0;
	top: 18px;
	width: 26px;
	height: 18px;
	display: block;
	overflow: hidden;
	text-indent: 26px;
}
.lang-nl{
	background: url("images/flag-nl.png") no-repeat;
}
.lang-uk{
	background: url("images/flag-uk.png") no-repeat;
}

.post .meta, .attachment .meta {
    margin: -5px 0 15px;
}
body.category-news p{
	margin: 0 0 15px;
}
body.category #content .post {
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 25px;
    min-height: 0;
}

#footer {
    background: none repeat scroll 0 0 #082652;
    color: #7b8eab;
}
#footer .widgetBox h3 {
    	color: #FFF;
	font-family: "Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
#footer a{
	color: #bfc9d8;
}
#footer .secondary {
    border-color: #7B8EAB;
}
.footerBox p {
    line-height: 1.5em;
}
.iframe-wrapper{
	position: relative;
	border-bottom: 5px solid #04152E;
}
.iframe-overlay{
	position: absolute;
	top:0;
	left:0;
	display: block;
}
.iframe-but{
	background: #CC0000;
	border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
    box-shadow: 0 1px 2px #000000;
	-webkit-box-shadow: 0 1px 2px #000000;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 12px;
    height: 20px;
    left: 50%;
    line-height: 20px;
    margin-left: -70px;
    padding: 5px 10px;
    position: absolute;
    text-align: center;
    width: 120px;
}
.iframe-button2{
    left: auto;
	top: 15px;
	right:15px;
    margin-left: 0;

}
body.home .printfriendly{
	display: none;
}
div.printfriendly{
	margin-left: 0 !important;
	clear: both;
}

@media screen and (max-width: 650px) {

	body.home .news-item.one_half {
    		float: none;
    		width: 90%;
	}

}


@media screen and (max-width: 600px) {

	#homeBanner h2{
    		text-indent: 0;
	}
	#homeBanner p{
    		text-indent: 0;
	}
	#bannerText {
		top: 30% !important;
	}
	#homeBanner {
    		height: 180px !important;	
    		background-size: cover;
	}
}
@media screen and (max-width: 480px) {

	#bannerText {		
		margin-top: 0;
	}
}