/*
Theme Name: Ocean
Theme URI: http://smthemes.com/ocean/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 2.1
License: Creative Commons 3.0
Theme date: 04/27/2014
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 repeat-x;
	background-color:#fff;
}
body {	
	color:#777;
	position:relative;
	font-family: 'OpenSansRegular';
}
a {
	color:#777;
}
a:hover {
	color:#0076be;
}
a.post_ttl, .post-caption h1 {
	color:#0076be;
	font-size:24px;
	font-family:'OpenSansRegular';
	line-height:24px;
}
h2 a.post_ttl:hover{
	color:#0076be;
	text-decoration:underline;
}

.page-title{
	color:#0076be;
	font-size:24px;
	font-family:'OpenSansRegular';
	line-height:24px;
	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:#0076be;
	text-transform:lowercase;
}
.searchbtn {
	height:25px;
	width:20px;
	margin-right:10px;
}
.searchform {
	height:25px;
	background:#fff;
	margin:0;
}

/*------------------------------ CONTENT ------------------------------*/
#content {
	margin-top:50px;
}
.one-post{
	margin-bottom:70px;
}
.articles .post-caption {
	position:relative;
	padding-top:0;
}
.bottom-block {
    border-bottom: 1px solid #d9ebf5;
    border-top: 1px solid #d9ebf5;
    clear: both;
    min-height: 36px;
    overflow: hidden;
    position: relative;
}
.articles .post-caption h1, .articles .post-caption h2 {
	padding-top:0;
}
.block-readmore {
	position:absolute;
	top:0;
	right:0;
}
#commentform #submit, input.readmore, a.readmore {
	background-color:#0076be;
	margin-top:0;
	color:#fff;
	width:auto;
	text-transform:uppercase;
	font-size:14px;
	font-family:'OpenSansRegular';
	border:1px solid #4aafed;
	padding:7px 52px 7px 18px;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	background:url(images/readmore-hover.png) right no-repeat;
	background-color:#3fa3e0;
	color:#fff;
	text-decoration:none;
}
.featured_image{
	margin-top:0;
	padding:0 !Important;
	border:none !important;
}
.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;
	position:relative;
}
.next.page-numbers, .prev.page-numbers { 
	position:absolute; 
	top:27px; 
	font-size:14px;
	font-family: 'OpenSansRegular';
	color:#0076be !important;
	text-decoration:underline;
	margin:0 !important;
	border:none !important;
}
.next.page-numbers {
	right:0;
	background:url(images/next-page.png) right no-repeat;
	padding:8px 45px 8px 2px !important;
}
.next.page-numbers:hover {
	background:url(images/next-page-hover.png) right no-repeat;	
	text-decoration:none;
}
.prev.page-numbers{
	left:0;
	background:url(images/prev-page.png) left no-repeat;
	padding:8px 2px 8px 45px !important;
}
.prev.page-numbers:hover {
	background:url(images/prev-page-hover.png) left no-repeat;	
	text-decoration:none;
}
.page-numbers {
	padding:2px 12px;
	font-family: 'OpenSansRegular';
	font-size:24px;
	border-radius:25px;
	-moz-border-radius:25px;
	-webkit-border-radius:25px;
	margin:0 7px;
}
a.page-numbers {
	background:#fff;
	border:1px solid #fff;
	color:#0076be;
	text-decoration:none;
}
a.page-numbers:hover{
	background: #fff;
	color:#0076be;
	border:1px solid #0076be;
}
span.page-numbers {
	background:#0076be;
	color:#fff;
	border:1px solid #0076be;
}
.post-comments {
	position:absolute;
	right:0;
	top:0;
	background:url(images/comment.png) no-repeat;
	padding:4px 0 10px;
	width:30px;
	text-align:center;
}
.post-comments a { text-decoration:none; color:#0076be; }
.post-meta { padding:10px 0 9px; margin-right:170px; }
.post-meta a{ color:#0076be; text-decoration:none; }
.post-category { margin-right:17px; }
/*------------------------------ FOOTER ------------------------------*/
#footer  {
	background:#0076be;
	color:#fff;
}
#footer .widget_archive ul li, 
#footer .widget_categories ul li, 
#footer .widget_meta ul li, 
#footer .widget_pages ul li, 
#footer .widget_recent_entries ul li{
	background:url(images/footer-list.png) left no-repeat;
	padding-left:20px;
}
#footer .widget_archive ul li:hover, 
#footer .widget_categories ul li:hover, 
#footer .widget_meta ul li:hover, 
#footer .widget_pages ul li:hover, 
#footer .widget_recent_entries ul li:hover{
	background:url(images/footer-list-hover.png) left no-repeat;
}
#footer .inner a{
	color:#fff;
}
#footer .inner a:hover {
	color:#fff000;
}
#footer h3{
	font-family: 'OpenSansRegular';
	font-size:24px;
	text-transform:uppercase;
}

#footer .container {
}

.footer_txt {
	background: rgb(236,236,236); /* Old browsers */
	background: -moz-linear-gradient(left,  rgba(236,236,236,1) 0%, rgba(254,254,254,1) 50%, rgba(236,236,236,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(236,236,236,1)), color-stop(50%,rgba(254,254,254,1)), color-stop(100%,rgba(236,236,236,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(236,236,236,1) 0%,rgba(254,254,254,1) 50%,rgba(236,236,236,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(236,236,236,1) 0%,rgba(254,254,254,1) 50%,rgba(236,236,236,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(236,236,236,1) 0%,rgba(254,254,254,1) 50%,rgba(236,236,236,1) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(236,236,236,1) 0%,rgba(254,254,254,1) 50%,rgba(236,236,236,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ececec', endColorstr='#ececec',GradientType=1 ); /* IE6-9 */
	text-align:center;
	color:#002a44;
}
.footer_txt a {
	color:#002a44;
}
.footer_txt .container {
}
.footer-widgets {
}
/*------------------------------ 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;
}
.widget_archive ul li:before, 
.widget_categories ul li:before, 
.widget_meta ul li:before, 
.widget_pages ul li:before, 
.widget_recent_entries ul li:before{
	content:none !important;
}

#content .widget_archive ul li, 
#content .widget_categories ul li, 
#content .widget_meta ul li, 
#content .widget_pages ul li, 
#content .widget_recent_entries ul li{
	background:url(images/content-list.png) left no-repeat;
	padding-left:20px;
}

#content .widget_archive ul li:hover, 
#content .widget_categories ul li:hover, 
#content .widget_meta ul li:hover, 
#content .widget_pages ul li:hover, 
#content .widget_recent_entries ul li:hover{
	background:url(images/content-list-hover.png) left no-repeat;
}

#content .widget .caption h3 {
	background:#0076be;
	margin:0 -10px;
	padding:5px 10px;
	color:#fff;
	font-family:'OpenSansRegular';
	text-transform:uppercase;
	font-size:20px;
	margin-bottom:15px;
}
#content .widget {
	margin-bottom:30px;
}
#content .widget a {
	color:#0076be;
	text-transform:uppercase;
}
#content .widget a:hover {
	color:#e3db50;
}
.widget_posts .day{}
.widget_posts .date{}
.tabs_captions .scaption{
	background: rgb(103,193,239); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(103,193,239,1) 0%, rgba(70,163,231,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,193,239,1)), color-stop(100%,rgba(70,163,231,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(103,193,239,1) 0%,rgba(70,163,231,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(103,193,239,1) 0%,rgba(70,163,231,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(103,193,239,1) 0%,rgba(70,163,231,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(103,193,239,1) 0%,rgba(70,163,231,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#67c1ef', endColorstr='#46a3e7',GradientType=0 ); /* IE6-9 */
	padding:6px 8px !important;
	border:none !important;
	font-family:'OpenSansRegular';
	font-size:16px;
	color:#fff;
	margin:3px;
}
.tabs_captions .scaption.active, .tabs_captions .scaption:hover{
	background:#0076be;
	color:#fff;
}
.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 {
		position:relative;
		background:url(images/content-bottom.png) bottom no-repeat;
		background-size:100%;
		-o-background-size:100%;
		-moz-background-size:100%;
		-webkit-background-size:100%;
	}
	body{
		background:url(images/body.png) 50% 122px no-repeat;
	}
	.content-r #main_content, .content-r2 #main_content{
		padding:0 55px 20px 0;
	}
	.content-l #main_content, .content-l2 #main_content{
		padding:0 0 20px 55px;
	}
	.content-lr #main_content{
		padding:0 55px 20px;
	}
	.content-n #main_content{
		padding:0 0 20px;
	}
	#content .container {
	}
	#logo {
		position:absolute;
	}
	.menusearch {
		width:180px;
		margin-top:12px;
	}
	.menusearch #s { width:125px; }
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:50px;
		position:relative;
		z-index:11;
	}
	#menu-box {
		width:1000px;
		margin:0 auto;
		height:30px;
		clear:both;
	}
	#secondarymenu {
		float:left;
	}
	#secondarymenu a {
		padding:6px 9px;
		font-size:13px;
		color:#47b9ff;
		font-family:'OpenSansRegular';
	}
	#secondarymenu a:hover{
		color:#47b9ff;
		background:#4e4e4e;
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		height:62px;
		z-index:18;
	}
	#mainmenu { float:left; margin-left:110px; }
	#mainmenu li a {
		padding:14px 20px;
		font-size:15px;
		color:#fff;
		font-family:'OpenSansRegular';
		border-right:1px solid #57a5d4;
		text-transform:uppercase;
	}
	#mainmenu li:last-child a { border-right:none; }
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		text-decoration:underline;
	}


	#header li ul {	top:30px; }
	#header #mainmenu li ul { top:38px; }
	
	#header li ul .transparent {	}
	#header li ul .inner {
		background: rgb(57,57,61); /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(57,57,61,1) 0%, rgba(70,70,70,1) 10%, rgba(78,78,78,1) 11%, rgba(78,78,78,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(57,57,61,1)), color-stop(10%,rgba(70,70,70,1)), color-stop(11%,rgba(78,78,78,1)), color-stop(100%,rgba(78,78,78,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(57,57,61,1) 0%,rgba(70,70,70,1) 10%,rgba(78,78,78,1) 11%,rgba(78,78,78,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(57,57,61,1) 0%,rgba(70,70,70,1) 10%,rgba(78,78,78,1) 11%,rgba(78,78,78,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(57,57,61,1) 0%,rgba(70,70,70,1) 10%,rgba(78,78,78,1) 11%,rgba(78,78,78,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom,  rgba(57,57,61,1) 0%,rgba(70,70,70,1) 10%,rgba(78,78,78,1) 11%,rgba(78,78,78,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#39393d', endColorstr='#4e4e4e',GradientType=0 ); /* IE6-9 */
 	}
	#header #mainmenu li ul .transparent {
		background:url(images/transparent-corner.png) 20px top no-repeat;
		padding-top:20px;
	}
	#header #mainmenu li ul .inner {	
		background: rgb(0,93,176); /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(0,93,176,1) 0%, rgba(0,113,187,1) 10%, rgba(0,118,190,1) 11%, rgba(0,118,190,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,93,176,1)), color-stop(10%,rgba(0,113,187,1)), color-stop(11%,rgba(0,118,190,1)), color-stop(100%,rgba(0,118,190,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(0,93,176,1) 0%,rgba(0,113,187,1) 10%,rgba(0,118,190,1) 11%,rgba(0,118,190,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(0,93,176,1) 0%,rgba(0,113,187,1) 10%,rgba(0,118,190,1) 11%,rgba(0,118,190,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(0,93,176,1) 0%,rgba(0,113,187,1) 10%,rgba(0,118,190,1) 11%,rgba(0,118,190,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom,  rgba(0,93,176,1) 0%,rgba(0,113,187,1) 10%,rgba(0,118,190,1) 11%,rgba(0,118,190,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005db0', endColorstr='#0076be',GradientType=0 ); /* IE6-9 */
		margin-top:13px;
	}
	
	#header ul.children li a, #header .sub-menu li a {
		color:#fff; 
		padding:0 20px;
		text-align:left;
	}
	#header ul.children li a:hover, #header .sub-menu li a:hover {
		color:#fff;
		text-decoration:underline;
	}
	
	#header #mainmenu ul.children li a, #header #mainmenu .sub-menu li a {
		padding:0 40px 0 15px; 
		text-align:left;
		color:#fff;
		text-decoration:none;
	}
	#header #mainmenu ul.children li a:hover, #header #mainmenu .sub-menu li a:hover {		
		background-color:#037fcc !important;
		background:url(images/sub-li-hover.png) right no-repeat;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		position:relative;
		margin:55px auto;
		width:1000px;
		height:430px;
	}
	.slider {
	}
	.fp-next, .fp-prev {
		margin:0 -17px;
		width:44px;
		height:390px;
	}
	.fp-title a{
		font-size:48px;
		text-transform:uppercase;
		font-family:'OpenSansRegular';
		text-decoration:none;
		color:#fff;
	}
	.fp-content p {
		font-family:'OpenSansRegular';
		font-size:14px;
		line-height:20px;
	}
	.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:430px;
		width:1000px;
	}

	.fp-content-fon {
		background: none repeat scroll 0 0 #0076BE;
		border:none;
		bottom: 130px;
		height: 160px;
		left: 30px;
		-moz-opacity: 0.8;
		opacity: 0.8;
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=80);
		width: 480px;
	}
	.fp-content {
		bottom: 130px;
		font-size: 13px;
		height: 150px;
		left: 30px;
		right: 490px;
		text-align: left;
		overflow:visible;
	}
	.fp-more {
		border:1px solid #4aafed;
		position:absolute;
		right:32px;
		bottom:60px;
		background:url(images/fp-more.png) center no-repeat;
		width:178px;
		padding:11px 10px;
		text-decoration:none;
		color:#fff !important;
		font-size:16px;
		text-transform:uppercase;
	}
	.fp-more:hover  { text-decoration:underline; }
	.fp-nav {
		right:auto;
		bottom:0;
		left:-3px;
	}
	.fp-pager a {
		width:20px;
		height:20px;
	}
	.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:15px;
		margin-top:15px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-right:15px;
		margin-top:26px;
	}
	#secondarymenu-container {
		padding-top:0px;
	}
	#secondarymenu {
		clear:both;
		overflow:hidden;
		background:#39393d;
	}
	#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:#fff;
		text-decoration:none;
		font-size:16px;
		padding:10px 15px;
		display:block;
	}
	#header { background:#0076be; }

	
}

/*	-==========================- 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%;
	}
	#header { background:#0076be; }
	.post-comments{ clear:both; position:static; padding:7px 11px;  }
}