/*
Theme Name: Onion
Theme URI: http://smthemes.com/onion/
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: 03/23/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:#e1e1e5;
}
body {	
	background:url(images/background.png) 50% top repeat-y;
	color: #333333;
    font: 12px/18px "Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif;
}
a {
	color:#0088CC;
	text-decoration:none;
	
}
a:hover {
	color:#0088CC;
	text-decoration:underline;
}

a.post_ttl, .post-caption h1 {
	color:#1b1b1b;	
}

h2 a.post_ttl:hover{
	color:#444444;
}

/*------------------------------ HEADER ------------------------------*/
#all {
	background:url(images/top.png) left top repeat-x;
}
#header {
	background:url(images/top2.png) 50% top no-repeat;
}
#secondarymenu-container {
	position:relative;
}



/*------------------------------ SEARCH ------------------------------*/
#s {
	border-radius:15px;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	background:#fafafc;
	border:none;
	box-shadow:0px 2px 2px #999 inset;
	height:27px;
	line-height:27px;
	padding:0px 10px;
}
.searchbtn {
	height:25px;
	width:22px;
	margin-right:10px;
}
.searchform {
	height:25px;
	background:#fff;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	margin:0;
}

/*------------------------------ CONTENT ------------------------------*/
.articles .one-post {
	margin-bottom:20px;
}
.articles .post-caption {
	padding-bottom:0;
}
.articles .post-caption .post-meta {
	padding-bottom:0;
}
.articles .post-body  {
	margin:0 30px;
	background:url(images/article.png) 50% bottom no-repeat;
}
#commentform #submit, input.readmore, a.readmore {
	background: url(images/readmore.png) repeat-y left 50%;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    font-weight: bold;
    height: 27px;
    line-height: 27px;
    margin-bottom: 3px;
    margin-right: 3px;
    text-align: center;
    text-decoration: none;
    width: 120px;
	padding:0;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	color:#e0e0e0;
}
.featured_image {
	margin-top:15px;
	background:#fff;
	border-color:#E8E5E0 #CCC9C5 #A3A19E;
	border-style:solid;
	border-width:1px;
	padding:5px;
}
.googlemap {
	margin-top:15px;
	background:#fff;
	border-color:#E8E5E0 #CCC9C5 #A3A19E;
	border-style:solid;
	border-width:1px;
	padding:5px;
}
.widget_posts ul li img,.widget_flickr a {
	background:#fff;
	border-color:#E8E5E0 #CCC9C5 #A3A19E;
	border-style:solid;
	border-width:1px;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:right;
}
.page-numbers {
	padding:5px 10px;
	font-family: 'Arial';
}
a.page-numbers {
	background: #f1c696;
	color:#000;
	border-radius:4px;
	text-decoration:none;
}
a.page-numbers:hover, span.page-numbers {
	background: #a50000;
	color:#fff;
	border-radius:4px;
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	color:#777;
	border-top:1px solid #DDDDDD;
	padding-top:50px;
	margin-top:50px;
}
#footer .container {
	padding-top:0;
	background:none;
}
#footer a {
	color:#777;
	text-decoration:underline;
}
#footer .footer_txt {
	margin:0 auto;
	border-top:1px solid #DDDDDD;
	text-align:center;
}
/*------------------------------ 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-r .sidebar.right .widget .caption, .content-lr .sidebar.right .widget .caption, .content-r2 .sidebar.left .widget .caption, .content-r2 .sidebar.right .widget .caption {
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
.content-l .sidebar.left .widget .caption, .content-lr .sidebar.left .widget .caption, .content-l2 .sidebar.left .widget .caption, .content-l2 .sidebar.right .widget .caption{
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}


#content .widget .caption {
	color:#fff;
	background:#3b567e;
	background: -moz-linear-gradient(top, rgba(91,111,141,1) 0%, rgba(34,66,114,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(91,111,141,1)), color-stop(100%,rgba(34,66,114,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(91,111,141,1) 0%,rgba(34,66,114,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(91,111,141,1) 0%,rgba(34,66,114,1) 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, rgba(91,111,141,1) 0%,rgba(34,66,114,1) 100%); /* IE10+ */
	background: linear-gradient(top, rgba(91,111,141,1) 0%,rgba(34,66,114,1) 100%); /* W3C */
	margin:0 -10px;
	padding:0 15px;
}	
.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 {
		
	}
	#content .container {
		background:#FFFFFF !important;
		border-radius: 4px 4px 4px 4px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
		padding-top:20px;
	}
	#logo {
		position:absolute;
		width:100%;
		top:65px;
		text-align:center;
	}
	.menusearch {
		float:right;
		width:250px;
		margin-top:10px;
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		padding-top:6px;
		height:110px;
		position:relative;
		z-index:11;
	}
	
	
	#secondarymenu {
		float:left;
		background:url(images/topmenu-left.png) left top no-repeat;
		padding-left:19px;
	}
	.menu-topmenu-container {
		background:url(images/topmenu-right.png) right top no-repeat;
		height:40px;
		padding:0px 3px;
	}
	#secondarymenu ul.menus {
		margin-left:-19px;
		padding:1px 0px;
	}
	#secondarymenu a {
		padding:9px 15px;
		border-left:1px solid #7a7a7a;
		border-right:1px solid #555;
		display:block;
		color:#fff;
		font-family:"Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif;
		margin:0px -1px;
	}
	#secondarymenu li:first-child a {
		border-left:none;
	}
	#secondarymenu li:last-child a {
		border-right:none;
	}
	#secondarymenu a:hover{
		background:url(images/top-li-active.png) left top repeat-x;
		text-decoration:none;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:78px;
		position:relative;
		z-index:18;
		padding:54px 140px 48px;
		background:url(images/menu.png) 50% no-repeat;
	}
	#mainmenu li a {
		display:block;
		text-decoration:none;
		padding:30px 20px;
		color:#393939;
		font-size:15px;
		font-family:"Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		background:url(images/li-active.png) right top no-repeat;
	}


	#header #mainmenu li ul {
		top:88px;
	}
	#header li ul {
		top:44px;
	}
	#header li ul .transparent {
		border:3px solid #e0e0e0;
		background:#fff;
		-moz-opacity: 0.70;
		opacity: 0.70;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=70);
	}
	#header li ul .inner {
		margin:3px;
		padding:0;
		width:100%;
	}
	#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:#393939 !important; 
		padding:0 !important;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a:hover, .sub-menu li a:hover {
		color:#393939 !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:#393939 !important;
		text-shadow:1px 1px 1px #fff;
	}
	#header #mainmenu ul.children li a:hover, #mainmenu .sub-menu li a:hover {		
		color:#393939 !important;
		border:none !important;
		box-shadow:none !important;
	}

	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		
	}
	.slider {
		background:#fff;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
		border-radius:4px;
		-webkit-border-radius:4px;
		-moz-border-radius:4px;
		padding:5px;
		width:990px;
	}
	.fp-next, .fp-prev {
		margin:0;
		width:44px;
		height:390px;
	}
	.fp-title{
		font-size:13px;
	}
	.fp-prev-next-wrap {
		margin:0 -5px;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:419px;
		width:990px;
	}
	.fp-content-fon {
		border-bottom:none;
		border-left:none;
		border-right:none;
		background:#e4e4e4;
	}
	.fp-content-fon, .fp-content {	
		left:0;
		right:0;
		bottom:0;
		text-align:left;
		font-size:13px;
	}
	.fp-content p, .fp-content a  {
		color:#555;
	}
	.fp-nav {
		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 {
		
	}
}	


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
	}
	#logo {
		float:left;
		margin-left:20px;
	}
	
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-top:10px;
	}
	#secondarymenu-container {
		padding-top:0px;
		font-family:'Calibri';
	}
	#secondarymenu {
		clear:both;
		margin-right:7px;
	}
	#secondarymenu li {
		padding:15px;
		font-size:18px;
	}
	#secondarymenu li a{
		color:#393939;
		text-decoration:none;
	}

	#mainmenu-container {
		font-family:'Calibri';
		clear:both;
		background:#fff;
		padding-bottom:10px;
	}
	#mainmenu {
		
	}
	#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,#header  .sub-menu li a {
		color:#393939 !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%;
	}
}