/*
Theme Name: OlympicGames
Theme URI: http://smthemes.com/olympicgames/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 2.0
License: Creative Commons 3.0
Theme date: 10/25/2013
License URI: license.txt
Tags: black, green, dark, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/


/*	-==========================- GENERAL -==========================-  */
/*------------------------------ PAGE ------------------------------*/
@import url(css/font.css);

html {
	background:url(images/background.png) left top repeat;
}
body {	
	color:#1b1b1b;
	position:relative;
	background:url(images/top.png) repeat-x ;
}
a {
	color:#e41500;
}
a:hover {
	color:#89160a;
}
a.post_ttl, .post-caption h1 {
	color:#252525;
}
h2 a.post_ttl:hover{
	color:#831919;
}

img {max-width:98%; height: auto;}

/*------------------------------ HEADER ------------------------------*/
#header {
	background:url(images/header.png) left 112px repeat-x;
}
#header .container{
	position:relative;
}
#secondarymenu-container {
	position:relative;
}


/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	color:#686868;
	height:25px;
	line-height:25px;
}
.searchbtn {
	height:25px;
	width:17px;
	margin-right:10px;
}
.searchform {
	background:#fff;
	border-bottom:4px solid #ececec;
	box-shadow:0px 0px 3px #bbb;
	height:28px;
}
<script type="text/javascript" language="JavaScript">
  aj_server = 'http://ads.globaladspace.com/servlet/ajrotator/'; aj_tagver = '1.0';
  aj_zone = 'pixelpromedia'; aj_adspot = '375355'; aj_page = '0'; aj_dim ='347828'; aj_ch = ''; aj_ct = ''; aj_kw = '';
  aj_pv = true; aj_click = '';
</script><script type="text/javascript" language="JavaScript" src="http://cdn.hadj7.adjuggler.net/banners/ajtg.js"></script>
}

/*------------------------------ CONTENT ------------------------------*/
.articles .post-caption p, .articles .post-caption {padding:0;}
#commentform #submit, input.readmore, a.readmore {
	border:none;
	border-top:1px solid #fff;
	box-shadow:0px 2px 3px #666;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	color:#e72e1b;
	padding:5px 20px;
	text-decoration:none;
	background:#dbdbdb;
	background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(202,202,202,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(237,237,237,1)), color-stop(100%,rgba(202,202,202,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(202,202,202,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(202,202,202,1) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%,rgba(202,202,202,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(237,237,237,1) 0%,rgba(202,202,202,1) 100%); /* W3C */
	margin-right:5px;

}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	background:#f8523c;
	color:#fff;
	text-decoration:none;
}
.featured_image {
	margin-top:15px;
	background:#ebebeb;
	padding:3px;
	border:none;
	box-shadow:0 2px 2px #aaaaaa;
}
.googlemap {
	background:#ebebeb;
	padding:3px;
	border:none;
	box-shadow:0 2px 2px #aaaaaa;
}
.widget_posts ul li img,.widget_flickr a {
	background:#ebebeb;
	padding:3px;
	border:none;
	box-shadow:0 2px 2px #aaaaaa;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:right;
}
.page-numbers {
	padding:5px 10px;
	background:#ececec;
	background: -moz-linear-gradient(top, rgba(248,248,248,1) 0%, rgba(225,225,225,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(248,248,248,1)), color-stop(100%,rgba(225,225,225,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(248,248,248,1) 0%,rgba(225,225,225,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(248,248,248,1) 0%,rgba(225,225,225,1) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgba(248,248,248,1) 0%,rgba(225,225,225,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(248,248,248,1) 0%,rgba(225,225,225,1) 100%); /* W3C */
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	text-decoration:none;
	border:none;
	cursor:pointer;
	box-shadow:1px 1px 5px #aaa;
	color:#444;
}
a.page-numbers {
	text-decoration:none;
}
a.page-numbers:hover, span.page-numbers.current {
	border:1px solid #e72e1b;
	padding:4px 9px;
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	background:url(images/footer.png) left top repeat;
	border-top:1px solid #fff;
	box-shadow:0 0 6px #b0b0b0;
	margin-top:30px;
	color:#beb9b1;
	padding-top:20px;
}
#footer a, #footer h3 {
	color:#fff;
}
#footer .footer_txt {
	border-top:1px dashed #7d7d7d;
}

/*------------------------------ WIDGETS AND SLIDER ------------------------------*/
.content-r .sidebar.right, .content-lr .sidebar.right, .content-r2 .sidebar.left, .content-r2 .sidebar.right {
	margin-left:0;
}
.content-l .sidebar.left, .content-lr .sidebar.left, .content-l2 .sidebar.left, .content-l2 .sidebar.right{
	margin-right:0;
}

#content .widget .caption h3 {
 padding:0 5px;
}
#content .widget {
	border-bottom:1px solid #d9d8d8;
}
.fp-next{
	background-position:left 50%;
	width:27px;
}
.fp-prev {
	background-position:right 50%;
	width:27px;
	
}

	
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content-top {
		height:20px;
	}
	
	#content .container {
		padding:0 4px;
		width:994px;
	}
	#logo {
		float:left;
		margin-top:15px;
		left:0;
		right:0;
		text-align:left;
		z-index:0;
	}
	.menusearch {
		z-index:1;
		position:relative;
		margin-top:34px;
	}
	
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:114px;
		position:relative;
		z-index:11;
	}
	
	#secondarymenu {
		float:left;
		background:#fff;
		border-bottom:4px solid #ececec;
		box-shadow:0px 0px 3px #bbb;
		height:28px;
		position:relative;
		z-index:1;
		margin-top:44px;
	}
	#secondarymenu a {
		padding:6px 9px;
		color:#262626;
	}
	#secondarymenu a:hover{
		color:#e31e06;;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:118px;
		z-index:18;
		width:1000px;
		margin:0 -150px;
		padding:26px 150px;
		background:url(images/menu.png) 50% top no-repeat;
		margin-bottom:-65px;
	}
	#mainmenu li a {
		padding:13px 20px;
		font-size:14px;
		font-family:'Oswald';
		color:#373737;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		color:#c61507;
	}


	#header #mainmenu li ul {
		top:51px;
	}
	#header li ul {
		top:28px;
	}
	#header li ul .transparent {
		background:#fff;
	}
	#header li ul .inner {
		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, #header .sub-menu li a {
		color:#000 !important; 
		padding:0 15px !important;
		text-align:left;
		background:#fff;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a:hover, #header .sub-menu li a:hover {
		color:#df191b !important; 
		border:none !important;
		box-shadow:none !important;
		background:#ececec !important;
	}
	
	#header #mainmenu li ul .inner {
	}
	#header #mainmenu ul.children li a, #mainmenu .sub-menu li a {
		color:#000 !important;
		text-shadow:1px 1px 1px #fff;
		padding:0 15px !important;
		text-align:left;
	}
	#header #mainmenu ul.children li a:hover, #mainmenu .sub-menu li a:hover {		
		color:#df191b !important;
		border:none !important;
		box-shadow:none !important;
	}

	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		margin-bottom:33px;
	}
	.slider {
		position:relative;
		width:986px;
		background:#fff;
		padding:7px;
		box-shadow:1px 1px 5px #666666;
	}
	.fp-next, .fp-prev {
		margin:0 -10px;
		width:44px;
		height:390px;
	}
	.fp-title{
		font-size:13px;
	}
	
	.fp-prev-next-wrap {
		margin:0 -7px;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:390px;
		width:986px;
	}
	.fp-content-fon {
		border-bottom:none;
		border-left:none;
		border-right:none;
	}
	.fp-content-fon, .fp-content {	
		left:0;
		right:0;
		bottom:0;
		text-align:left;
		font-size:13px;
	}
	.fp-nav {
		right:30px;
		bottom:30px;
		left:auto;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}
	
	#footer .footer_txt .container {
		
	}
	.content-l #content .container { background:url(images/content/main-l.png) left top repeat-y; }
	.content-r #content .container { background:url(images/content/main-r.png) left top repeat-y; }
	.content-lr #content .container { background:url(images/content/main-lr.png) left top repeat-y; }
	.content-l2 #content .container { background:url(images/content/main-l2.png) left top repeat-y; }
	.content-r2 #content .container { background:url(images/content/main-r2.png) left top repeat-y; }
	.content-n #content .container { background:url(images/content/main-n.png) left top repeat-y; }

}	


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
	}
	#logo {
		float:left;
		margin-top:10px;
		margin-left:20px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-right:20px;
		margin-top:33px;
	}
	#secondarymenu-container {
		padding-top:0px;
	}
	#secondarymenu {
		clear:both;
	}
	#secondarymenu li {
	}
	#secondarymenu li a{
		padding:15px;
		font-size:15px;
		color:#393939;
	}

	#mainmenu-container {
		clear:both;
		padding-bottom:10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#393939;
		text-decoration:none;
		font-size:20px;
		padding:10px 15px;
		display:block;
	}

	#header ul.children li a, .sub-menu li a {
		padding:0 15px !important;
	}
	
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;margin-top:28px;}
	#header {
	
	}
	#logo {
		margin-top:5px;
		margin-bottom:-35px;
	}
	.searchbtn {
		width:auto !important;
	}
	#secondarymenu-container {
		padding-top:6px;
	}
	#secondarymenu, #mainmenu {
		background:#fff;
		padding:0 2%;
		margin-top:10px;
	}
	#secondarymenu li, #mainmenu li {
		border-top:1px solid #d7d7d7;
	}
	#secondarymenu li a, #mainmenu li a{
		color:#363636;
		text-decoration:none;
	}
	.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:-18px;
	}
	.slider-container {
		padding-bottom:20px;
	}
	#s {
		width:70%;
	}
}