/*
Theme Name: Modeca
Theme URI: http://modeca.eu/
Author: UAB Modeca
Author URI: http://modeca.eu/
Description: Template by UAB Modeca
Version: 2.0
License: Creative Commons 3.0
Theme date: 02/21/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);
}
body {	
	color:#fff;
	font-size:13px;
	font-family: 'Arial', sans-serif;
	position:relative;
	background:url(images/back-head.png) repeat-x ;
}
body.no-slider {
	background:url(images/back-head.png) left -411px repeat-x ;
}
a {
	color:#9b9b9b;
	text-decoration:none;
	
}
a:hover {
	color:#4bafc7;
	text-decoration:underline;
}

h1, h2, h3, h4, h5, h6, a.post_ttl {
	font-family: 'Myriad Pro', sans-serif;
	color:#fff;
	line-height:25px;
	font-size:21px;
	font-weight:bold;
	text-transform:uppercase;
	text-decoration:none;
}

h2 a.post_ttl:hover{
	color:#4BAFC7;
}
a.post_ttl {
}

.articles .post-body{
	font-size:12px;
}

/*------------------------------ HEADER ------------------------------*/
#header .container{
	position:relative;
}
#secondarymenu-container {
	position:relative;
}


/*------------------------------ CONTENT ------------------------------*/
.articles{
	margin:0 -20px;
}
.articles .one-post {
	margin-bottom:20px;
	border-bottom:1px solid #636363;
}
.articles .post-caption {
	padding:1px 0 12px
}
.articles .post-caption h1, .articles  .post-caption h2{
	padding-top:15px;
	padding-bottom:10px;
	
}
.articles .post-caption .post-meta {
	padding:0;
	color:#b4b4b4;
	font-size:10px;
}
.post-meta a{
	color:#4bafc7;
}
.articles .post-date {
	color:#898989;
	
}
.articles .post-caption {
}

.articles .post-body  {
	margin:0;
}
#commentform #submit, input.readmore, a.readmore {
	background:url("images/back-readmore.png") repeat-y;
	color:#fff;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	font-family:'Calibri';
	font-size:13px;
	background: #e3e3e3; /* Old browsers */
	background: -moz-linear-gradient(top,  #e3e3e3 0%, #969898 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e3e3), color-stop(100%,#969898)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e3e3e3 0%,#969898 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e3e3e3 0%,#969898 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e3e3e3 0%,#969898 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e3e3e3 0%,#969898 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#969898',GradientType=0 ); /* IE6-9 */
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	background: #7a7a7a; /* Old browsers */
	background: -moz-linear-gradient(top,  #7a7a7a 0%, #222222 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7a7a7a), color-stop(100%,#222222)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7a7a7a 0%,#222222 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7a7a7a 0%,#222222 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7a7a7a 0%,#222222 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7a7a7a 0%,#222222 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7a7a7a', endColorstr='#222222',GradientType=0 ); /* IE6-9 */
	color:#fff;
	text-decoration:none;
}
.featured_image {
	margin-top:15px;	
	padding:0;
	border:none;
}
.googlemap {
	padding:0;
	border:none;
}
.widget_posts ul li img,.widget_flickr a {
	border:none;
	padding:0;
}
.pagination{
	margin:20px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:center;
}
.page-numbers {
	padding:5px 10px;
	font-family: 'Arial';
}
a.page-numbers {
	background: #e3e3e3; /* Old browsers */
	background: -moz-linear-gradient(top,  #e3e3e3 0%, #969898 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e3e3), color-stop(100%,#969898)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e3e3e3 0%,#969898 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e3e3e3 0%,#969898 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e3e3e3 0%,#969898 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e3e3e3 0%,#969898 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e3e3e3', endColorstr='#969898',GradientType=0 ); /* IE6-9 */
	color:#000;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	text-decoration:none;
}
a.page-numbers:hover, span.page-numbers {
	background: #7A7A7A; /* Old browsers */
	background: -moz-linear-gradient(top,  #7A7A7A 0%, #222222 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7A7A7A), color-stop(100%,#222222)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7A7A7A 0%,#222222 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7A7A7A', endColorstr='#222222',GradientType=0 ); /* IE6-9 */
	color:#fff;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	color:#fff;
	background: #7A7A7A; /* Old browsers */
	background: -moz-linear-gradient(top,  #7A7A7A 0%, #222222 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7A7A7A), color-stop(100%,#222222)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7A7A7A 0%,#222222 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7A7A7A', endColorstr='#222222',GradientType=0 ); /* IE6-9 */

}
#footer .container {
	padding-top:0;
	background:none;
	}
#footer h3 {
	color:#000;
	font-family: 'Meriad Pro', sans-serif;
	font-size:26px;
	text-transform:uppercase;
}
#footer .footer_txt {
	padding:0;
	background:url("images/back-footer-txt.png") repeat-x scroll ;
	height:54px;
	margin:0 auto;
	padding:0 0 10px;
}
#footer-border{
	background: url("images/back-footer-txt.png") repeat-x;
    height: 6px;
    width: 100%;
}
#footer .footer_txt .container {
	background:none;
	border:none;
	color:#fff;
	width:920px;
	padding-top:10px;
	text-align:center;
}
.footer-widgets {
}
#footer .footer_txt .container a {
	color:#000;
}
#footer .inner a {
	color:#fff;
}
#footer .inner a:hover{
	color:#000;
}
/*------------------------------ 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 {
	margin-bottom:20px;
}
#content .widget .caption h3 {
	border-bottom:1px solid #e4e4e4;
}
#content .widget.widget_tabs .caption h3 {
	padding:0 10px;
}
.fp-next{
	background-position:left 50%;
}
.fp-prev {
	background-position:right 50%;
}

/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content-top {
		height:20px;
	}
	#content-bottom {
		height:20px;
	}
	#content {
		
	}
	#content .container {
		padding:0;
		width:980px;
		padding:0px 10px;
	}
	#logo {
		text-align:left;
		margin-left:0;
	}
	
	/*------------------------------ MENU ------------------------------*/
		#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		background:url(images/back-menu.png) repeat-x top;
		height:41px;
		z-index:18;
		margin:0 auto;
		position:relative;
	}
	#mainmenu li a {
		display:block;
		text-decoration:none;
		padding:12px 20px;
		font-size:14px;
		font-family: 'PT Sans', sans-serif;
		text-transform:none;
		color:#fff;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		text-shadow:0 0 2px #606060;
		background:#7a7a7a;
	}
	#header #mainmenu li ul {
		top:44px;
	}
	#header li ul {
		top:38px;
	}
	#header li ul .transparent {
		background:#575757;
		-moz-opacity: 0.90;
		opacity: 0.90;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=90);
		box-shadow:3px 3px 3px #1d2f41;
	}
	#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, .sub-menu li a {
		color:#fff !important; 
		padding:0 !important;
		height:25px;
		line-height:25px;
		font-family: 'PT Sans', sans-serif;
		font-size:12px;
		padding:0 10px !important;
		text-align:left;
		border-bottom:1px dashed #ababab;
	}
	#header ul.children li:last-child a, .sub-menu li:last-child a{
		border-bottom:none !important;
	}
	#header ul.children li a:hover, .sub-menu li a:hover {
		background:#606060 !important;
	}
	
	#header #mainmenu li ul .transparent {
		background:#7A7A7A;
		box-shadow:3px 3px 3px #6f7475;
		-moz-opacity: 1;
		opacity: 1;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);
	}
	#header #mainmenu ul.children li a, #mainmenu .sub-menu li a {
		color:#fff !important;
		font-family: 'PT Sans', sans-serif;
		font-size:12px;
		text-transform:none;
		text-align:left;
		border-bottom:1px dashed #222222;
		padding:0 20px !important;
	}
	#header #mainmenu ul.children li:last-child a, #mainmenu .sub-menu li:last-child a{
		border-bottom:none !important;
	}
	#header #mainmenu ul.children li a:hover, #mainmenu .sub-menu li a:hover {
		background:#616161 !important;
	}

	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		margin:-21px auto 0;
		width:1000px;
		height:365px;
	}
	.fp-next, .fp-prev {
		height: 47px;
		margin: 159px -47px;
		width: 47px;
	}
	.fp-title{
		font-size:13px;
	}
	.slider {
		position:absolute;
	}
	.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:365px;
		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;
		text-align:left;
		font-size:13px;
	}
	.fp-nav {
		bottom:-30px;
		right: 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) {
	#content {
		background:url(images/back.png) left top repeat;
	}
	#header {
	}
	#logo {
		float:left;
		margin-top:10px;
		margin-left:20px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	#content-top{
		height:50px
	}
	/*------------------------------ MENU ------------------------------*/
		#mainmenu-container {
		font-family:'Arial';
		clear:left;
		margin-top:0;
		background: #7A7A7A; /* Old browsers */
		background: -moz-linear-gradient(top,  #7A7A7A 0%, #222222 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7A7A7A), color-stop(100%,#222222)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #7A7A7A 0%,#222222 100%); /* IE10+ */
		background: linear-gradient(to bottom,  #7A7A7A 0%,#222222 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7A7A7A', endColorstr='#222222',GradientType=0 ); /* IE6-9 */
		margin-bottom:20px;
		padding-bottom:22px;
	}
	#mainmenu {
		margin:0 10px;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#fff;
		text-decoration:none;
		font-size:15px;
		padding:22px 15px 10px;
		display:block;
	}
	#mainmenu a:hover{
		color:#fff;
		background:url(images/back-menu-hover.png);
	}
	#mainmenu li ul {
		top:65px;
		left:0;
	}


	#header li ul  .transparent {
		background:#fff;
	}
	#header li ul .inner {
		margin:1px;
	}
	#header ul.children li a, .sub-menu li a {
		color:#000 !important;
		font-family:'Arial';
		padding:0 !important;
	}
	#header ul.children li a:hover, .sub-menu li a:hover {
		color:#df191b !important;
		text-decoration:underline !important;
	}
	.slider-container {
		margin-bottom:25px;
		margin-top:-5px;
	}
	
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {

	#content {
		background:url(images/back.png) left top repeat;
	}
	#logo {
		margin-top:5px;
		margin-bottom:-35px;
	}
	.searchbtn {
		width:auto !important;
	}
	.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:85%;
	}
}