/*
Theme Name: AEGEE
Theme URI: http://wg.aegee.org/prc
Author: Public Relations Committee, Zsofia Komaromi
Author URI: http://wg.aegee.org/prc
Description: AEGEE-Europe WordPress Template
Version: 2.0
License: Creative Commons 3.0
Theme date: 02/23/2013
License URI: license.txt
Tags: white, red, light, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/


/*	-==========================- GENERAL -==========================-  */
/*------------------------------ PAGE ------------------------------*/
@import url(http://fonts.googleapis.com/css?family=Oswald);
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import url(css/font.css);

body {
	background:url(images/background.png) left top repeat;
	background-color: #1468b3;
	color:#383e42;
	font-family:'OpenSans', Arial;
}
a {
	color:#204379;
	text-decoration:none;
}
a:hover {
	color:#1468b3;
	text-decoration:underline;
}
h1, h2, h3, h4, h5, h6, a.post_ttl {
	color:#383e42;
	text-decoration:none;
	font-family: 'OpenSansSemiBold', sans-serif;
}

a.post_ttl {
	font-size:20px;
	font-family: 'Source Sans Pro'
}
/*------------------------------ HEADER ------------------------------*/
#header {
	background:none;
}
#header-block {

	}
/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	height:25px;
	line-height:29px;
	color:#383e42;
}
.searchbtn {
	height:25px;
	width:12px;
	margin:0 5px;
}
.searchform {
	margin:4px 0;
	height:25px;
	background:#c1c2c1;
}
/*------------------------------ CONTENT ------------------------------*/
#content {
	background: #fff;
	width:1000px;
	margin:0 auto;
}
.articles {
	padding:2px;
}
.articles .post-caption {

}
.articles .post-caption h1, .articles .post-caption h2 {
	background-color:#a8c342;
	margin-bottom:5px;
	margin-top:5px;
	padding: 10px;
	color:#383e42;
	font-family: 'OpenSansSemiBold',sans-serif;
}
.articles .post-caption p {
	font-size: 15px;
	padding:3px 0;
}
.articles .post-date{
	float:right;
}
.post-meta {
	font-family: 'OpenSansSemiBold',sans-serif;
}
#commentform #submit, input.readmore, a.readmore {
	background: #e6e6e6;
	background: -moz-linear-gradient(top,  #cdcdcd 0%, #b5b5b5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cdcdcd), color-stop(100%,#b5b5b5));
	background: -webkit-linear-gradient(top,  #cdcdcd 0%,#b5b5b5 100%);
	background: -o-linear-gradient(top,  #cdcdcd 0%,#b5b5b5 100%);
	background: -ms-linear-gradient(top,  #cdcdcd 0%,#b5b5b5 100%);
	background: linear-gradient(to bottom,  #cdcdcd 0%,#b5b5b5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cdcdcd', endColorstr='#b5b5b5',GradientType=0 );
	border-bottom:1px solid #808080;
	color:#585858;
	box-shadow:1px 1px 1px #e1e1e1;
}
#commentform #submit, input.readmore, a.readmore:hover {
	background: #ced6ee;
background: -moz-linear-gradient(top,  #ced6ee 0%, #43b4df 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ced6ee), color-stop(100%,#43b4df));
background: -webkit-linear-gradient(top,  #ced6ee 0%,#43b4df 100%);
background: -o-linear-gradient(top,  #ced6ee 0%,#43b4df 100%);
background: -ms-linear-gradient(top,  #ced6ee 0%,#43b4df 100%);
background: linear-gradient(to bottom,  #ced6ee 0%,#43b4df 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ced6ee', endColorstr='#43b4df',GradientType=0 );

}
.featured_image {
	padding:2px;
	background:#fff;
	border: 1px solid #c1c2c1;
	margin-top:10px;
}
.googlemap {
	background:#fff;
    border: 1px solid #c1c2c1;
}
.widget_posts ul li img,.widget_flickr a {
	padding:1px;
	background:#c1c2c1;
}

.pagination{
	margin:30px 0;
}
.page-numbers {
	padding:5px 6px;
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
}
a.page-numbers {
	color:#7b7b7b;
	text-decoration:none;
	background:#f7f7f7;
	border:1px solid #ededed;
}
a.page-numbers:hover,span.page-numbers{
	color:#fff;
	background:#1468b3;
	border:1px solid #46a2c0;
}

.wp-caption {
	margin-bottom:10px;
}

.wp-caption-text {
	font-family: 'OpenSans',sans-serif;
	font-weight:bold;
	font-size:11px;
	text-align:center;
	padding-top:2px;
}

/*------------------------------ FOOTER ------------------------------*/
#footer {
	background:#383e42;
	color:#fff;
	width:1000px;
	margin:0 auto;
}
#footer h3 {
	color:#a8c342;
}
#footer .footer_txt {
	padding:20px;
	color:#fff
}
#footer .footer_txt .container {
	padding-bottom:0 !important;
}

#footer a {
	color: #ced6ee;
}

#footer a:hover {
	color: #1468b3;
}
/*------------------------------ WIDGETS AND SLIDER ------------------------------*/

#content .widget .caption h3 {
	background-color:#a8c342;
	margin-bottom:5px;
	margin-top:5px;
	padding: 10px;
	color:#383e42;
	font-family: 'OpenSansSemiBold',sans-serif;
}
#content .widget.widget_tabs .scaption h3 {
	margin:0 10px 5px;
}
#content .widget {
	margin-bottom:20px;
}

.content-r .sidebar.right, .content-lr .sidebar.right, .content-r2 .sidebar.left, .content-r2 .sidebar.right {
	margin-left:8px;
	padding-top:30px;
	padding-right:30px;
}
.content-l .sidebar.left, .content-lr .sidebar.left, .content-l2 .sidebar.left, .content-l2 .sidebar.right {
	margin-right:8px;
	padding-top:30px;
	padding-left:30px;
}
.fp-next{
	background-position:left 50%;
}
.fp-prev {
	background-position:right 50%;
}
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content-top {
		height:0;
		margin-top:0;
	}
	#logo {
		float:left;
		margin: 5px 30px;
	}
	.main_site_title {
	font-family:'OpenSansLight', Arial;
	font-size:21px;
	position: relative;
	top:55px;
	left:20px;
	}
	.menusearch {
		float:left;
		margin-top:3px;
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:140px;
		position:relative;
		z-index:11;
		margin-top:15px;
		background: #fff url('images/aegee-logo.png') no-repeat right top;
	}
	#secondarymenu {
		float:right;
		margin-right:30px;
	}
	#secondarymenu a {
		text-decoration:none;
		padding:12px 10px;
		display:block;
		color:#fff;
		font-size:13px;
		font-family: 'OpenSans', Arial, sans-serif;
		font-weight:bold;
	}
	#secondarymenu a:hover{
		color:#1468b3;
	}
	#mainmenu-container {
		height:40px;
		z-index: 999;
		padding-top:7px;
		width:1000px;
		background: url('images/overlay_lines.png') no-repeat left top;
		background-color:#383e42;
	}
	#mainmenu {
		float: right;
		position: relative;
		top:0;
		right: 65px;
	}
	#mainmenu li a {
		text-align:center;
		color:#fff;
		display:block;
		text-decoration:none;
		font-family: 'OpenSansSemibold', Arial, sans-serif;
		padding:11px 20px;
		font-size:12px;
		text-transform: uppercase;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		color:#eab818;
		text-decoration:none;
		font-family: 'OpenSansSemibold', Arial, sans-serif;
	}
	#header li ul {
		top:43px;
	}

	
	
	#header li ul .inner {
		background:#383e42;
		padding:0;
	}
	#header ul.children li, #header .sub-menu li {
		padding:0 !important;
		margin:0 !important;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a, .sub-menu li a {
		color:#fff !important;
		padding:0 !important;
		background:none;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a:hover, .sub-menu li a:hover {
		background:#1468b3 !important;
	}

	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {
		
	}
	.fp-next, .fp-prev {
		width:56px;
		height:320px;
	}
	.slider {
		position:relative;
		padding:0;
		margin:0;
	}
	.fp-prev-next-wrap {
		margin:-20px;
	}
	.fp-prev,.fp-next {
		margin:0 30px;
		margin-top:-204px;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:320px;
		width:1000px;
	}
	.fp-content-fon {
		border-bottom:none;
		border-left:none;
		border-right:none;
	}
	.fp-content-fon, .fp-content {	
		left:0;
		right:0;
		bottom:0;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}
	.fp-nav {
		left:auto;
		right:30px;
		bottom:20px;
	}

}


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
		background:none;
	}
	
	#logo {
		float:left;
		margin:20px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		float:right;
		margin-top:20px;
		margin-right:25px;
		clear:right;
	}
	#secondarymenu-container {
		height:130px;
		padding-top:0px;
	}
	#secondarymenu {
		float:right;
		clear:right;
		margin-top:6px;
		margin-right:7px;
	}
	#secondarymenu li {
		padding:18px;
	}
	#secondarymenu li a{
		color:#363636;
	}
	#mainmenu-container {
		clear:left;
		margin-bottom:15px;
		background: #64cde9; /* Old browsers */
		background: -moz-linear-gradient(top,  #64cde9 0%, #43b4df 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#64cde9), color-stop(100%,#43b4df)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #64cde9 0%,#43b4df 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #64cde9 0%,#43b4df 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #64cde9 0%,#43b4df 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #64cde9 0%,#43b4df 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#64cde9', endColorstr='#43b4df',GradientType=0 ); /* IE6-9 */
		border-bottom:1px solid #808080;
		padding-bottom:10px;
	}
	#mainmenu {
		margin:0 10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#fff;
		text-decoration:none;
		font-size:16px;
		padding:10px 15px 5px;
		display:block;
	}
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;}
	#header {
		background:none;
	}
	#logo {
		
	}
	
	#secondarymenu, #mainmenu {
		background:#fff;
		margin:0 -2%;
		padding:0 2%;
		margin-top:10px;
	}
	#secondarymenu li, #mainmenu li {
		border-top:1px solid #eee;
	}
	#secondarymenu li a, #mainmenu li a{
		color:#142736;
	}
	.fp-next, .fp-prev {
		margin:0 -5px;
	}
	.footer-widgets .widgetf:first-child {
		border:none;
	}
	
	#footer {
		width:100%;
	}
	.widgetf {
		border-top:1px solid #d3d3d3;
	}
	.articles .post-date {
		float:none;
	}
	.articles dt p img {
		display:none;
	}
	.fp-nav {
		bottom:-5px;
	}
	.slider-container {
		padding-bottom:20px;
	}
	#s {
		width:70%;
	
	}
}