/*
Theme Name: Janela
Theme URI: http://smthemes.com/janela/
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: 01/08/2014
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=PT+Sans+Narrow);
html {
	background:url(images/background.png) left top repeat;
}
body {
	background:url(images/top.png) 50% top repeat-x;
	color:#8c8c8c;
	font-family: Arial;
}
a {
	color:#98b01a;
}
a:hover {
	color:#6c7d13;
}
h1, h2, h3, h4, h5, h6, a.post_ttl {
	color:#6f767a;
	text-decoration:none;
}

a.post_ttl {
	font-size:25px;
	font-family: 'PT Sans Narrow', sans-serif;
	text-transform:uppercase;
}
/*------------------------------ HEADER ------------------------------*/
#header .container{
	position:relative;
}
#secondarymenu-container {
	position:relative;
}
/*------------------------------ SEARCH ------------------------------*/
#s {
	background:none;
	border:none;
	float:left;
	height:25px;
	line-height:25px;
	color:#8c8c8c;
	width:160px;
}
.searchbtn {
	height:25px;
	width:15px;
	margin-right:10px;
}
.searchform {
	height:25px;
	background:#efefef;
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
	border-radius:1px;
	-moz-border-radius:1px;
	-webkit-border-radius:1px;
	margin:6px 0;
	box-shadow:0 3px 3px #c5c5c5 inset;
}

/*------------------------------ CONTENT ------------------------------*/

.articles  .post-caption h1, .articles  .post-caption h2{
	border-bottom:1px solid #bebebe;
	padding:4px 0;
}

.articles .post-caption .post-meta {
	
}
.articles .post-date {
	color:#6f767a;
	float:right;
}

#commentform #submit, input.readmore, a.readmore {
	color:#585858;
	text-shadow:1px 1px 1px #fff;
	background: #f7f7f7; /* Old browsers */
	background: -moz-linear-gradient(top,  #f7f7f7 0%, #e4e4e4 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e4e4e4)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f7f7f7 0%,#e4e4e4 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f7f7f7 0%,#e4e4e4 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f7f7f7 0%,#e4e4e4 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f7f7f7 0%,#e4e4e4 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#e4e4e4',GradientType=0 ); /* IE6-9 */
	box-shadow:0 2px 4px #bbbbbb;
	border-radius:15px;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	background:#abc61b;
	box-shadow:2px 2px 4px #6f8110 inset;
	color:#fff;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	text-shadow:1px 1px 1px #7b8d1b;
}
.featured_image {
	padding:0;
	margin-top:15px;
    border:none;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
}
.googlemap {
	
}
.widget_posts ul li img,.widget_flickr a {
	padding:1px;
	background:#c0c0c0;
}

.pagination{
	margin:30px 0;
}
.page-numbers {
	background:#f7f7f7;
	border:1px solid #ededed;
	border-radius:2px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
}
a.page-numbers {
	color:#7b7b7b;
}
a.page-numbers:hover, span.page-numbers {
	background:#abc61b;
	box-shadow:2px 2px 4px #6f8110 inset;
	color:#fff;
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	color:#939393;
}
#footer .container {
	border-top:5px solid #d7d7d7;
}
#footer h3 {
	color:#4c4c4c;
	font-family: 'PT Sans Narrow', sans-serif;
	text-transform:uppercase;
	font-size:17px;
}

#footer .footer_txt{
	background:#e7e7e7;
	border:none;
	color:#e7e7e7;
}

#footer a {
        color:#e7e7e7;
}
#footer a:hover {
        color:#e7e7e7;
}
/*------------------------------ WIDGETS AND SLIDER ------------------------------*/
.sidebar {
	overflow:visible !important;
}
.content-r .sidebar.right .widget .caption h3, .content-lr .sidebar.right .widget .caption h3, .content-r2 .sidebar.left .widget .caption h3, .content-r2 .sidebar.right .widget .caption h3{
	
}
.content-l .sidebar.left .widget .caption h3, .content-lr .sidebar.left .widget .caption h3, .content-l2 .sidebar.left .widget .caption h3, .content-l2 .sidebar.right .widget .caption h3{
	
}
#content .widget {
	background:#fff;
	border:1px solid #dddddd;
	padding:1px;
	border-radius:7px;
	-moz-border-radius:7px;
	-webkit-border-radius:7px;
	margin-bottom:20px;
}
#content .widget .inner {
	background:#f2f2f2;
	padding:9px;
}
#content .widget .caption h3 {
	background: #eceded; /* Old browsers */
	background: -moz-linear-gradient(top,  #eceded 0%, #dddfe1 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eceded), color-stop(100%,#dddfe1)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #eceded 0%,#dddfe1 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #eceded 0%,#dddfe1 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #eceded 0%,#dddfe1 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #eceded 0%,#dddfe1 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eceded', endColorstr='#dddfe1',GradientType=0 ); /* IE6-9 */
	margin:-9px -9px 0;
	padding:10px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	font-family: 'PT Sans Narrow', sans-serif;
	text-transform:uppercase;
}
#content .widget_banners {
	padding:0;
}
#content .widget_banners .inner {
	padding:9px 0;
}
#content .widget.widget_tabs .caption h3 {
	padding:10px;
}
.fp-next{
	background-position:left 50%;
}
.fp-prev {
	background-position:right 50%;
}
.fp-pager a {
		width:11px;
		height:11px;
	}
	.fp-nav {
		display:none;
	}
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content-top {
		height:0;
	
	}
	#content-bottom {
		height:0;
	}
	#logo {
		text-align:center;
		position:absolute;
		top:36px;
		left:0;
		right:0;
	}
	.menusearch {
		float:left;
	}
	.articles  .post-caption {
		padding:1px 30px 0;
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:136px;
		position:relative;
		z-index:11;
		background:url(images/top.png) left top repeat-x;
	}
	#secondarymenu {
		float:right;
		margin-right:8px;
	}
	#secondarymenu a {
		text-decoration:none;
		padding:9px;
		display:block;
		color:#999999;
		font-size:13px;
		font-family: 'PT Sans Narrow', sans-serif;
	}
	#secondarymenu a:hover{
		background:#abc61b;
		color:#fff;
		text-shadow:none;
	}
	#mainmenu-container {
		height:48px;
		position:relative;
	}
	
	#mainmenu li a {
		text-align:center;
		display:block;
		text-decoration:none;
		padding:5px 20px;
		font-size:18px;
		color:#6a7073;
		font-family: 'PT Sans Narrow', sans-serif;
		text-transform:uppercase;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		background:#abc61b;
		box-shadow:2px 2px 4px #6f8110 inset;
		color:#fff;
		border-radius:10px;
		-moz-border-radius:10px;
		-webkit-border-radius:10px;
	}
	#header #mainmenu li ul {
		top:42px;
	}
	#header li ul {
		top:35px;
	}

	
	
	#header li ul .inner {
		background:#4a4a4a;
		border-radius:10px;
		-moz-border-radius:10px;
		-webkit-border-radius:10px;
		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:#fff !important;
		padding:0 !important;
		background:none;
		height:25px;
		line-height:25px;
		border-radius:10px;
		-moz-border-radius:10px;
		-webkit-border-radius:10px;
	}
	#header ul.children li a:hover, #header .sub-menu li a:hover {
		background:#abc61b !important;
		color: #fff !important;
		border:none !important;
		box-shadow:none !important;
	}
	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		padding-bottom:25px;
	}
	.fp-next, .fp-prev {
		width:36px;
		height:320px;
	}
	.slider {
		position:relative;
	}
	.fp-prev-next-wrap {
		
	}
	.fp-prev,.fp-next {
		margin:0px;
		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:400px;
		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;
	}
	
	
}


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header {
		background:url(images/top.png) left top repeat-x;
	}
	body {
		background:none;
	}
	#logo {
		float:left;
		margin-top:36px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-right:20px;
		margin-bottom:5px;
	}
	#secondarymenu-container {
		height:89px;
		padding-top:0px;
	}
	#secondarymenu {
		float:right;
		clear:right;
		margin-right:7px;
	}
	#secondarymenu li {
		padding:15px;
	}
	#secondarymenu li a{
		color:#686868;
	}
	#mainmenu-container {
		clear:left;
		margin-bottom:15px;
		background:#e7e7e7;
		padding-bottom:14px;
	}
	#mainmenu {
		margin:0 10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#686868;
		text-decoration:none;
		font-size:16px;
		padding:14px 15px 7px;
		display:block;
	}
	#header ul.children li a, .sub-menu li a {
		color:#686868 !important;
	}
	.slider-container { padding-bottom:35px;}
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;}
	body {
		background:none;
	}
	#header {
	
	}
	#logo {
		
	}
	.searchbtn {
		width:auto !important;
	}
	
	#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%;
	}
}