/*
Theme Name: Derivation
Theme URI: http://smthemes.com/derivation/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 3.0
License: Creative Commons 3.0
Theme date: 05/07/2017
License URI: license.txt
Tags: black, green, dark, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/

@import url(styles/font.css);
/* ========================================= GENERAL. ========================================= */
body {
	font-family:'ralewaymedium';
	font-size:13px;
	background:url(images/top.png) top center no-repeat, url(images/back.png);
	color:#4f492c;
}
/* .......................................................................... UI .......................................................................... */
a { 
	color:#39b5ac;
	text-decoration:none;
}
a:hover {
	color:#e07a52;
}
.submit, .button, input[type="submit"] {
	padding: 6px 25px;
	line-height:27px;
	background:#e07a52;
	font-family:'ralewaysemibold';
	border:1px solid #cc6942;
	color:#f2d9d0;
	box-shadow:2px 4px 4px rgba(0,0,0,0.15);
}
.submit:hover, .button:hover, input[type="submit"]:hover { 
	background:#3a9d9a;
	border-color:#30928f;
	color:#fff;
}
input[type="text"], 
textarea, 
input[type="email"], 
input[type="password"], 
input[type="tel"], 
input[type="url"], 
input[type="search"], 
input[type="date"],
select { 
	border-color:#e2dfd2;
	color:#a3a3a3;
	font-size:12px;
}
input[type="text"]:focus, 
textarea:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
select:focus { 
	border-color:#dd774f;
}
.accent {
	color:#4f492c;
	font-size:23px;
	font-style:italic;
	font-family:'ralewaymedium';
}
#comments .accent { font-size:16px; }
.descent {
	color:#bcbcbc;
}

/* ....................... Page Navigation .................... */
nav.pagination.dynamic a ,
nav.pagination span.page-numbers,
nav.pagination a.page-numbers {
	background:#1e3144;
	border:1px solid #1e3144;
	color:#fff;
}
nav.pagination span.page-numbers.dots {}
nav.pagination a.page-numbers:hover,
nav.pagination.dynamic a:hover,
nav.pagination span.page-numbers.current {
	background:#dd774f;
	color:#fff;
	border-color:#a15234;
	box-shadow:inset 0 0 2px solid rgba(255,255,255,0.8);
}

/* ========================================= Theme Header. ========================================= */

#logo {
	display:flex;
	align-items:center;
	height:145px;
	position:absolute;
	left:0;
	right:0;
	margin:0 auto;
	justify-content: center;
	top: 0;
}
#logo img {
	max-height:100%;
	top:-30%;
	position:relative;
}
.site_ttl {
	padding:0;
	position:absolute;
	left:0;
	right:0;
	margin:0 auto;
	text-align:center;
	line-height:145px;
	font-style:italic;
	font-family:'ralewaymedium';
	color: #fff;
    text-transform: none;
}
.headersearch {
	float:right;
	display:flex;
	align-items:center;
	height:120px;
}
@media screen and (max-width:1024px) {
	#logo, .site_ttl {	
		position:relative;
		margin-bottom:20px;
	}	
	#logo img {
		top:0;
	}
	.headersearch {
		margin-right:45px;
	}
}

/* .......................................................................... Search Box  .......................................................................... */
form .search-box {
	position: relative;
}
form .search-box input[type="search"] {
	width: 100%;
	height: 40px;
	line-height: 40px;
	padding-right: 40px;
	color: #455d74;
	font-family:'ralewaysemibold';
	background:rgba(0,0,0,0.2);
	border-radius:60px;
	border:none;
}
form .search-box input[type="submit"] {
	position: absolute;
	right: 0;
	padding: 0;
	width: 40px;
	height: 40px;
	top: 0;
	color:#e07a52;
	border:none;
	background: none;
	font-family:'FontAwesome';
	box-shadow: none;
	border: none;
}
.headersearch .search-box {
}
.headersearch .search-box input[type="search"] {	
}
.headersearch .search-box input[type="submit"] {
}
.search-box input[type="search"]::-webkit-input-placeholder { color:#455d74; }
.search-box input[type="search"]:-moz-placeholder { color:#455d74; }
.search-box input[type="search"]::-moz-placeholder { color:#455d74; }
.search-box input[type="search"]:-ms-input-placeholder { color:#455d74;}


/* .......................................................................... Navigation .......................................................................... */
@media only screen and (min-width:1024px) {
	#extra-menu {
		float:left;
		display:flex;
		align-items:center;
		height:110px;
	}
	#extra-menu > * {
		background:url(images/twolines.png) left bottom repeat-x;
	}
	#extra-menu ul.nav-menu > li > a {
		color:#e07a52;
		text-transform:uppercase;
		padding: 17px 20px;
		font-size:17px;
		line-height:17px;
		text-shadow:1px 3px 4px rgba(0,0,0,0.15);
		font-family:'oswaldregular';
	}
	#extra-menu ul.nav-menu > li:hover > a {
		color:#3a9d9a;
	}
	header ul.nav-menu  > li ul {
		background:#378b8e;
	}
	header ul.nav-menu  > li ul li a {
		color:#64b9bc;
		font-size:12px;
		font-family:'ralewaysemibold';
		line-height:24px;
	}
	header ul.nav-menu  > li ul li:hover > a {
		color:#a5fefb;
	}
	
}
@media only screen and (min-width:1024px) {
	#main-menu {
		display:flex;
		align-items:center;
		height:40px;
		position:relative;
		margin-bottom: 60px;
	}
	#main-menu > * {
		margin-left:15px;
	}
	#main-menu::after {
		content:'';
		position:absolute;
		left:-13px;
		width:1027px;
		height:49px;
		bottom:0;
		background:url(images/menu.png) bottom center no-repeat;
		z-index: -1;
	}
	#main-menu ul.nav-menu > li > a {
		color:#a5fefb;
		line-height:14px;
		padding: 13px 10px;
	}
	#main-menu ul.nav-menu > li:hover > a {
		color:#a5fefb;
		background:#30928f;
	}
}

@media only screen and (max-width:1023px) {
	#mobile-menu-trigger a { color:#fff; margin:45px 0; }
	#mobile-menu-trigger a:hover {}
}

/* .......................................................................... Slider .......................................................................... */
.slider-container {}
.fp-slides {
	z-index:1;
	width: 100% !important;
}
.fp-slides-item {	
	width: 100% !important;
}
.fp-thumbnail {
	width:67%;
	border:5px solid #466380;
	box-sizing:border-box;
	position: relative;
}
.fp-content-wrap {
	width:33%;
	left:auto;
	right:0;
	display:flex;
	align-items:center;
}
.fp-content {
	padding:40px;
	position:relative;
	box-sizing:border-box;
}
.fp-title {
	color:#e07a52;
	font-size:30px;
	font-family:'oswaldregular';
	font-style:italic;
	text-shadow:2px 4px 5px rgba(0,0,0,0.15);
	font-weight:normal;
}
.fp-description {
	color:#8195aa;
	font-size:14px;
	text-shadow:2px 4px 5px rgba(0,0,0,0.15);
}
.fp-more {
	float:none;
	padding: 5px 25px;
}
.fp-prev-next-wrap {
	width: 100%;
	position:absolute;
	z-index:3;
	top: auto;
	bottom: 0;
}
.fp-prev-next-wrap a {
	bottom: 9px;
	height:28px;
	width:28px;
	transition:none;
	position: absolute;
	z-index: 3;
}
.fp-nav {
	text-align:center;
	background: rgba(0,0,0,0.5);
	height:46px;
	position:absolute;
	display: inline-block;
	margin:0 auto;
	z-index:2;
	bottom: 0;
}
.fp-nav a {
	display:inline-block;
	width:30px;
	height:20px;
	margin-top: 12px;
	margin-right:0;
	background:url(images/pager.png) 50% no-repeat;
}
.fp-nav a:hover, .fp-nav a.activeSlide {
	background:url(images/pager-active.png) 50% no-repeat;	
}
.fp-prev {
	left:12px;
	background:url(images/slide-left.png) right top no-repeat;
}
.fp-next {
	right: 12px;
	background: url(images/slide-right.png) left top no-repeat;
}
.fp-prev-next-wrap a.fp-next:hover {
	background-position:-28px top;
}
.fp-prev-next-wrap a.fp-prev:hover {
	background-position:0 top;
}
@media screen and (max-width:1025px) {
	.fp-content {
		padding:10px;
	}
}
@media screen and (max-width:800px) {
	.fp-content {
		display:none;
	}	
	.fp-thumbnail {
		width:100%;
	}
	.fp-prev-next-wrap {
		display:none;
	} 	
}


/* ========================================= CONTENT. ========================================= */
.site-content {
	margin:40px 0;
}
@media only screen and (min-width:801px) {
	.sidebar-left #container {
		width:70%;
		margin-left:30%;
		float:left;
	}
	.sidebar-right #container {
		width:66%;
		margin-right:34%;
		float:left;
	}
	.sidebar { width:30%; float:left; }
	.sidebar-left .sidebar {
		margin-left:-100%;
	}
	.sidebar-right .sidebar {
		margin-left:-30%;
	}
}
.page-title {
	color:#39b5ac;
	font-family:'oswaldregular';
	font-style:italic;
}
.entry-title {
	margin:0;
	padding-bottom:5px;
	border:none;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	font-size:23px;
	font-style:italic;
	color:#4f492c;
	font-family:'oswaldregular';
	font-weight:normal;
	text-transform:none;
}
.entry-title a {
	color:#4f492c;
}
.entry-title a:hover { color:#39b5ac;}
article { 
	padding:20px 40px;
	border:none;
	background:url(images/article.png) top center repeat-y; 
	border:none;
}
article .featured_image {
	vertical-align:bottom;
	width:100%;
	margin-bottom:10px;
}

/* .......................................................................... Entry Meta .......................................................................... */
.entry-meta {
	background:url(images/meta.png) top center repeat-y;
	margin:-20px -40px 10px;
	padding: 5px 40px 5px;
	color:#b3ae96;
}
.entry-meta a {
	color:#b3ae96;
}
.entry-meta a:hover {
	color:#908862;
}
.entry-meta > span {
	margin: 0 20px 0 0;
}
.entry-meta > span .icon {
	color:#e1ded0;
	padding-right: 5px;
}
.entry-meta > span:hover .icon {
	color:#908862;
}
article .post-categories {
	margin:15px 0;
}
article .post-categories a {
	display:inline-block;
	background:#fff;
	border-bottom:2px solid #d0d0cb;
	position:relative;
	color:#dd774f;
	font-size:12px;
	line-height:18px;
	padding:4px 15px 4px 25px;
	margin-right:30px;
}
article .post-categories a::after {
	content:'';
	position:absolute;
	left:100%;
	width:13px;
	height:28px;
	top:0;
	background: url(images/category-after.png) left center no-repeat;
}
.entry-content, .entry-summary {
	background: url(images/zigzag.png) bottom 10px left no-repeat;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.entry-summary + .button {
	background:url(images/button.png) top right no-repeat;
	margin-right: -58px;
	border: none;
	box-shadow: none;
	float: right;
	padding: 5px 46px 3px 43px;
}

/* ....................... Sidebar .................... */
.widget {
	line-height:24px;
	background:url(images/twolines.png) left bottom repeat-x;
	padding-bottom:30px;
	margin-bottom: 25px !important;
	color:#92aac1;
}
.widget a {
	font-weight:bold;
	font-size:16px;
	color:#e07a52;
}
.widget a:hover {
	color:#39b5ac;
}
.sidebar {
	padding:10px 20px;
	background:url(images/sidebar.png);
	border-left:1px solid #3b5166;
	box-sizing: border-box;
}
.widget .caption h4 {
	color:#fff;
	font-size:22px;
	font-style:italic;
	font-family:'oswaldregular';
	font-weight: normal;
}
.sidebar ul li { 
	background:url(images/list.png) bottom left repeat-x;
}
.sidebar .widget ul.children li:last-child,
.sidebar .widget ul.sub-menu li:last-child {
	border:none;
} 
.widget ul {
	padding:0;
}
.widget ul li {
	list-style-type: none;
}
.widget_recent_entries ul li a,
.widget_archive ul li a,
.widget_meta ul li a,
.widget_nav_menu ul li a,
.widget_pages ul li a,
.widget_categories ul li a {
	padding: 15px 0;
	display:inline-block;
}
.widget_smt_comments .comment_avatar img,
.widget_smt_posts img {
	float:left;
	margin:0 10px 10px 0;
}
.widget_smt_comments .comment_author {
	
}
.widget_smt_posts .post-date {
	color:#b3ae96;
	display:block;
	margin:5px 0;
}
.widget_smt_posts .post-date .icon {
	color:#969e9f;
	font-size:14px;
	font-weight:bold;
	padding-right:5px;
}
.widget_smt_posts .title {
	display:block;
	margin:0 0 10px;
}
.widget_smt_posts p:last-child {
	margin:0;
}
.widget_smt_posts ul li,
.widget_smt_comments ul li,
.widget_recent_comments ul li  { display:block;	padding:10px 0; }


/* ========================================= FOOTER. ========================================= */
footer {
	color:#92aac1;
	background-color:#141e29;
}
footer .widget a, footer a {
	color:#e07a52;
}
footer .widget a:hover, footer a:hover {
	color:#a04522;
}
footer .footer_txt {
	padding:15px 0;	
	background:#12181f;
}
footer .footer_txt a {
	color:#fff;
	text-decoration:none;
}
footer .widget {
	padding-top:30px;
}
footer .widget ul li {
	background:url(images/list.png) bottom left repeat-x;
}
footer .widget ul.children li:last-child,
footer .widget ul.sub-menu li:last-child {
	border:none;
}