/*
Theme Name: AutoPress
Theme URI: http://smthemes.com/autopress/
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: 07/30/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/back.png) left top;
}
body {	
	color:#2b2b2b;
	position:relative;
	font-family:'tahoma';
	font-size:15px;
	background:url("images/slider.png") repeat-x 0 159px ;
}
.no-slider{background:none;}
a {
	color:#6E8F9A;
}
a:hover {
	color:#d91d1d;
}
a.post_ttl, .post-caption h1 {
	color:#2b2b2b;
	background:url(images/readmore.png) right no-repeat;
	font-family: 'juramedium';
	font-size:24px;
	padding-right:15px;
}
h2 a.post_ttl:hover{
	color:#d91d1d;
	background:url(images/readmore-hover.png) right no-repeat;
}



/*------------------------------ HEADER ------------------------------*/
#header .container{
	position:relative;
}
#secondarymenu-container {
	position:relative;
}
#header{
	background:url("images/slider.jpg") no-repeat 50% 159px ;
}
.no-slider #header{background:none;}

/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	height:23px;
	line-height:25px;
	color:#aaa;
	text-transform:lowercase;
}
.searchbtn {
	height:25px;
	width:20px;
	margin-right:10px;
}
.searchform {
	height:25px;
	background:#fff;
	border:1px solid #dedede;
	margin:0;
}

/*------------------------------ CONTENT ------------------------------*/
#main_content{padding:0 20px 20px;}
.one-post{padding:10px 0;}
#commentform #submit, input.readmore, a.readmore {
	background:none;
	border:none;
	padding:4px 15px;
	font-family: 'juralight';
	font-size:17px;
	background:url(images/readmore.png) right no-repeat;
	text-transform:lowercase;
	color:#2b2b2b;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	background:url(images/readmore-hover.png) right no-repeat;
	color:#d91d1d;
	text-decoration:none;
}
.featured_image {
	margin-top:15px;	
	padding:8px;
	border:none;
}
.googlemap {
	padding:8px;
	border:none;
}
.widget_posts ul li img,.widget_flickr a {
	border:none;
	padding:4px;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:center;
}
.page-numbers {
	padding:5px 10px;
	font-family: 'Arial';
}
a.page-numbers {
	background:none;
	border:1px solid #b9b9b9;
	color:#b9b9b9;
	text-decoration:underline;
}
a.page-numbers:hover, span.page-numbers {
	background: #0427fa;
	border:1px solid #0427fa;
	color:#fff;
	text-decoration:none;
}
.page-title{
	color:#d91d1d;
	font-family: 'jurademibold';
	font-size:24px;
} 
#wp-calendar caption, h3{
	font-family: 'juramedium' !important;
}
.articles .post-body{
	font-size:15px;
}
/*------------------------------ FOOTER ------------------------------*/
#footer  {
	font-size:13px;
}

#footer .inner a{
	color:#6E8F9A;
	text-transform:uppercase;
}
#footer .inner a:hover{
	color:#d9641d;
}
#footer h3{
	color:#2b2b2b;
	font-size:20px;
	font-family: 'jurademibold';
}

#footer .container.clearfix {
	background:url(images/footer.png) left top;
}

.footer_txt  a{
	color:#6E8F9A;
}
#footer .footer_txt .container {
}
.footer-widgets {
	background:url(images/footer-widgets.png) top no-repeat;
}
/*------------------------------ WIDGETS AND SLIDER ------------------------------*/
.content-r .sidebar.right, .content-lr .sidebar.right, .content-r2 .sidebar.left, .content-r2 .sidebar.right {
	margin-left:5px;
}
.content-l .sidebar.left, .content-lr .sidebar.left, .content-l2 .sidebar.left, .content-l2 .sidebar.right{
	margin-right:5px;
}

#content .widget .caption h3 {
	color:#2b2b2b;
	background:url(images/readmore.png) right no-repeat;
	font-family: 'juralight';
	font-size:24px;
	padding-right:15px;
	display:inline;
}
#content .widget {
	
}
.tabs_captions .scaption{
	color:#7f7f7f;
	font-size:15px;
	font-family: 'juralight';
}
.tabs_captions .scaption.active, .tabs_captions .scaption:hover{
	border-color:#7f7f7f;
	color:#2b2b2b;
	font-size:24px;
}
.fp-next{
	background-position:left 50%;
	width:27px;
}
.fp-next:hover{
	background:url(images/slide-right-hover.png) 
}
.fp-prev {
	background-position:right 50%;
	width:27px;
	
}
.fp-prev:hover{
	background:url(images/slide-left-hover.png) 
}
	
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content {
		
	}
	#content .container {
		box-shadow:0 0 5px #eee inset;
		padding-top:30px;
	}
	#logo {
		position:absolute;
	}
	.menusearch {
		width:260px;
		position:relative;
		top:40px;
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:159px;
		position:relative;
		z-index:11;
	}
	
	
	#secondarymenu {
		float:right;
		clear:right;
		margin-top:65px;
	}
	#secondarymenu a {
		padding:6px 9px;
		text-transform:uppercase;
		text-decoration:underline !important;
	}
	#secondarymenu a:hover{
		color:#fff;
		background:#7f7f7f;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:89px;
		z-index:18;
		background:url(images/mainmenu.png) bottom no-repeat;
		position:relative;
		margin:0 auto -16px;
	}
	#mainmenu li a {
		padding:25px 20px;
		font-size:21px;
		color:#2b2b2b;
		font-family: 'jurademibold';
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		background:url(images/mainmenu-hover.png) bottom repeat-x;
	}


	#header li ul {	top:32px; }
	#header #mainmenu li ul { top:73px; }
	
	#header li ul .transparent {
		-moz-opacity: 0.90;
		opacity: 0.90;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=90);
		background:#7f7f7f;
	}
	#header li ul .inner { 
	}
	#header #mainmenu li ul .transparent {
		-moz-opacity: 0.90;
		opacity: 0.90;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=90);
		background:#7f7f7f;
	}
	#header #mainmenu li ul .inner {	}
	
	#header ul.children li a, #header .sub-menu li a {
		color:#fff; 
		text-transform:lowercase !important;
		padding:0 20px !important;
		text-align:left;
	}
	#header ul.children li a:hover, #header .sub-menu li a:hover {
		color:#d91d1d !important;
		background:none;
	}
	
	#header #mainmenu ul.children li a, #header #mainmenu .sub-menu li a {
		text-transform:none !important;
		font-family: 'juralight' !important;
		font-size:20px !important;
	}
	#header #mainmenu ul.children li a:hover, #header #mainmenu .sub-menu li a:hover {		
		color:#df191b;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		position:relative;
		margin:0 auto;
	}
	.slider {		
	}
	.fp-next, .fp-prev {
		margin:140px 0;
		width:60px;
		height:71px;
	}
	.fp-title{
		font-size:13px;
	}
	
	.fp-prev-next-wrap {
		margin:0 0px;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:400px;
		width:1000px;
	}
	.fp-content-fon {
		border:none;
		background:url(images/fp-content.png) left top no-repeat;
		height:400px;
		width:1000px;
		left:0;
		bottom:32px;
		-moz-opacity: 0.90;
		opacity: 0.90;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=90);
	}
	.fp-content { 
		bottom: 48px;
		font-size: 13px;
		height: 93px;
		left: 35px;
		right: 421px;
		text-align: left;
	}
	.fp-title a{
		font-family: 'jurademibold';
		color:#2b2b2b;
		font-size:25px;
		text-decoration:none;
	}
	.fp-title a:hover{
		text-decoration:underline;
	}
	.fp-content p{
		font-family: 'juralight';
		color:#2b2b2b;
		font-size:17px;
	}
	.fp-more{
		float:right;
		text-transform:lowercase !important;
		text-decoration:underline !important;
		color:#2b2b2b !important;
	}
	.fp-nav {
		right:15px;
		bottom:15px;
		left:auto;
	}
	.fp-pager a{
		width:22px;
		height:22px;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}
	
	#footer .footer_txt .container {
		
	}
	#content .container { background:url(images/content/main-n.png) left top repeat-y; }
	
	.content-l .one-post, .content-r .one-post{
		background:url(images/post-1s.png) bottom no-repeat;
	}
	.content-n .one-post{
		background:url(images/post-n.png) bottom no-repeat;
	}
	.content-l2 .one-post, .content-r2 .one-post, .content-lr .one-post{
		background:url(images/post-2s.png) bottom no-repeat;
	}
}	


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
	}
	#logo {
		float:left;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	#header{background:none;}
	body{background:none;}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-top:82px;
	}
	#secondarymenu-container {
		padding-top:0px;
	}
	#secondarymenu {
		clear:both;
	}
	#secondarymenu li {
		
	}
	#secondarymenu li a{
		padding:15px;
		font-size:15px;
	}
	#header li ul{
		padding:0 0 0 15px;
	}
	#header li ul li a{
		padding:0;
	}	
	#mainmenu-container {
		clear:both;
		padding-bottom:10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#393939;
		text-decoration:none;
		font-size:16px;
		padding:10px 15px;
		display:block;
		font-family: 'jurademibold';
	}

	
}

/*	-==========================- 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;
	}
	#header{background:none;}
	body{background:none;}
	#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%;
	}
}