/*
Theme Name: FitRun
Theme URI: http://smthemes.com/fitrun/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 3.0.1
License: Creative Commons 3.0
Theme date: 05/28/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:Arial;
	font-size:16px;
	background: #eeeef4;
	color:#313847;
	line-height: 26px;
}
/* .......................................................................... UI .......................................................................... */

/*  .smthemes{display:none;} */
.menu-right-column{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* make ALL links (main and submenu) have padding and background color */
.menu-right-column a {
  display: block;
  background-color: #CCC;
  text-decoration: none;
  padding: 10px;
  color: #000;
}

/* add hover behaviour */
.menu-right-column a:hover {
    background-color: #C5C5C5;
}


/* when hovering over a .menu-right-column item,
  display the submenu inside it.
  we're changing the submenu's max-height from 0 to 200px;
*/

.menu-right-column li:hover .submenu {
  display: block;
  max-height: 200px;
}

.widgettitle li{
    float:left;
    position: relative;
    width: 31%;
    padding-bottom : 30%; /* = width for a 1:1 aspect ratio */
    margin:1%!important;
    background-color:#1E1E1E;
    overflow:hidden;
}
.widgettitle p {
    position:absolute;
    width:90%; /* = 100% - 2*5% padding */
    padding: 5%;
    font-size:1em;  
}

a, .sidebar a:hover {
	color: #167ac6;
	text-decoration:underline;
}
a:hover, .sidebar a {
	color:#313847;
	text-decoration:none;
}
.submit, .button, input[type="submit"] {
	padding: 8px 33px 6px;
	background: #313847;
	color:#fff;
	font-size: 12px;
	display: inline-block;
	text-transform: uppercase;
	float: right;
	border-radius: 40px;
	font-family: 'montserratbold';
}
.submit:hover, .button:hover, input[type="submit"]:hover { 
	background:#dfc30b;
	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:#e0e0e0; color:#4a4a4a; }
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:#c0c0c0;}
.accent {
	color:#28262b;
}
.descent {
	color:#bcbcbc;
}



/* ========================================= Theme Header. ========================================= */
#logo {
	float:left;
	display: flex;
	align-items: center;
	height: 72px;
}
#logo img {
	max-height:72px;
}
.site_ttl {
	float:left;
	margin:0;
	padding:0;
	color: #fff;
	text-transform: none;
	font-weight: normal;
	line-height: 68px;
	font-size: 30px;
}
.headersearch {
	float:right;
	margin: 3px 0;
	position: relative;
}
.site-header {
	position:relative;
	background: #242B34;
}
.has-slider .site-header {
	background:none;
}
.site-header #top-container {
	background:#242b34;
	border-bottom:3px solid #958f99;
}
.has-slider .menu-and-logo {
	position: absolute;
    z-index: 7;
    left: 0;
    right: 0;
}
.site-header .search-form .search-field {
	background: none;
	color: #919aa4;
	font-size: 13px;
	width: 160px;
	margin-right: 20px;
	border: none;
}
.site-header .search-form .search-field:focus {
	border:none;
}
.site-header .search-form .search-submit {
	background: none;
	padding: 12px 0;
}
.site-content .search-form .search-box {
	position:relative;
	display:inline-block;
	padding-right:35px;
	box-sizing: border-box;
}
.site-content .search-form .search-submit {
	color: #313847;
}
.search-form .search-submit {
	background: none;
	padding: 12px 12px;
	border-radius:0;
	font-family:'FontAwesome';
	position: absolute;
	right: 0;
	top: 0;
}
.search-form .search-submit:hover {
	background:none;
	color:#919aa4;
}
.widget .search-form .search-field {
	width: 85%;
	background: none;
	border: none;
}
.widget .search-box {
	background:#fff;
	border: 1px solid #D6D6DE;
	position: relative;
	width: 100%;
}
.widget .search-submit {
	color: #ababab;
}
@media only screen and (max-width:1023px) {
	.has-slider .menu-and-logo {
		position:relative;
	}
	.menu-and-logo {
		position:absolute;
	}
	.menu-and-logo {
		height: 0;
		text-align: center;
		top: 1px;
	}
	#logo {
		float:none;
	}
	.headersearch {
		float:left;	
	}
	#mobile-menu-trigger {
		height: 21px;
	}
	#mobile-menu-trigger a {
		height:20px;
		margin: 0;
	}
	#mobile-menu-trigger {
		top: 12px;
	}
	.admin-bar #mobile-menu-trigger {
		top: 10px;
	}
}
/* .......................................................................... Navigation .......................................................................... */
#extra-menu {
	float:left;
}
.sf-sub-indicator {
	font-family:'FontAwesome';
}
@media only screen and (min-width:1024px) {
	#extra-menu ul.nav-menu > li > a {
		color: #fff;
		line-height: 15px;
		padding: 14px 24px 14px 0;
		font-size: 14px;
	}
	#extra-menu ul.nav-menu > li:hover > a {
		color:#f6d500;
	}
	
}
#main-menu {
	float:right;
}
@media only screen and (min-width:1024px) {
	#main-menu ul.nav-menu > li > a {
		color:#fff;
		padding: 25px 20px 25px 0;
		font-size:14px;
		text-transform:uppercase;
		font-weight:bold;
	}
	#main-menu ul.nav-menu > li:hover > a {
		color:#f6d500;
	}
}

@media only screen and (min-width:1024px) {
	.site-header ul.nav-menu > li ul {
		background:#e0c30a;
	}
	.site-header ul.nav-menu > li > ul {		
		box-shadow: -10px 10px 0 rgba(0,0,0,0.1);
		left: 10px;
	}
	.site-header ul.nav-menu > li ul li a {
		color:#363636;
		font-family:'montserratregular';
		font-size:14px;

	}
	.site-header ul.nav-menu > li ul li:hover > a {
		color:#8e8655;
	}
}

@media only screen and (max-width:1023px) {
	#mobile-menu-trigger a {
    color: #c5c5c5;
}
	#mobile-menu-trigger a:hover {}
}




/* .......................................................................... Slider .......................................................................... */
.slider {
	border-bottom: 60px solid rgba(48,56,71,0.98);
	margin-bottom: 60px;
	z-index: 1;
}
.slider::after {
	content:'';
	position:absolute;
	width:100%;
	height:100%;
	bottom: -87px;
	background: url(images/slider-bottom.png) bottom center no-repeat;
}
.slider-bgr {
	position:absolute;
	width:100%;
	height: 194px;
	left: 0;
	background:url(images/fp-back.png) top left repeat-x;
	top: 0;
}
.fp-content-wrap {
	width:1000px;
	max-width:100%;	
}
.fp-content-wrap::after {
	width:100%;
	height:100%;	
	position:absolute;
	content:'';
	background: url(images/fp-meta.png) 50% 50% no-repeat;
	background-size:40%;
}
.fp-content {
	padding:20px;
	text-align: center;
	z-index:1;
	bottom:25%;
	max-width:80%;
	left:0;
	right:0;
	margin:0 auto;
}
.fp-title {
	color:#fff;
	font-size: 2.3em;
	line-height:1em;
	font-family: 'montserratextra_bold';
	text-transform: uppercase;
	background: #242b34;
	display: inline-block;
	padding: 28px 28px;
}
.fp-description {
	color:#fff;
	display:inline-block;
	background: #242b34;
	padding: 25px 25px;
	font-size: 15px;
	float: none;
	line-height: 24px;
}
.fp-more {
	/*background:url(images/btn-sprite.png) left top no-repeat;*/
    background-color: white;
	width: 225px;
	height:56px;
	padding:0;
	text-align:center;
	color: #242b34;
	line-height:56px;
	margin-top: 30px;
	font-size: 15px;
	border-radius: 0;
	font-family: 'montserratbold';
	float: none;
	text-transform: none;
    border: black;
    border-style: solid;
    border-width: 4px;
}
.fp-more:hover {
	color: #242b34;
	background-image:url(images/btn-sprite.png);
	background-color:transparent;
	animation: fpmore 0.2s 1 steps(8);
	background-position:left top -448px;
}
@-webkit-keyframes fpmore {
  from  { background-position:left top 0px; }
  to { background-position:left top -448px; }
}
@-moz-keyframes fpmore {
  from  { background-position:left top 0px; }
  to { background-position:left top -448px; }
}
@-o-keyframes fpemore {
  from  { background-position:left top 0px; }
  to { background-position:left top -448px; }
}
@keyframes fpmore {
  from  { background-position:left top 0px; }
  to { background-position:left top -448px; }
}
.fp-nav {
	width:1000px;
	left:0;
	right:0;
	margin:0 auto;
	bottom: -45px;
	max-width: 100%;
}
.fp-navigation {
	display:inline-block;
	position: relative;
	text-align: center;
}
.fp-pager {
	display:inline-block;
	text-align:center;
	vertical-align: bottom;
}
.fp-pager a {
    background: #958f99;
    width: 26px;
    height: 26px;
    display:inline-block
}
.fp-pager a:first-child:last-child, .fp-pager a:last-child {
	margin:0 !important;
}
.fp-pager a:hover, .fp-pager a.activeSlide {
    background: #f6d500;
    width: 26px;
    height: 26px;
}
.fp-prev, .fp-next {
	top:0;
	height:26px;
	width:26px;
	line-height:26px;
	text-decoration: none;
	color:#fff;	
}
.fp-prev {
	left:-26px;
}
.fp-next {
	right: -26px;	
}
.fp-prev:hover,
.fp-next:hover {
	background-position:left 40px;
}


@media only screen and (max-width:1280px) {
	.fp-content {
		bottom:10%;
	}
	.fp-title {
		font-size:1.2em;
	}
	.fp-more {
		margin-top: 10px;
	}
	.fp-description, .fp-title {
		margin: 5px 0;
	}
}


@media only screen and (max-width:800px) {
	.fp-content {
		bottom:10%;
	}
	.fp-title {
		font-size:1em;
	}
	.fp-more {
		margin-top: 10px;
	}
	.fp-description, .fp-title {
		margin: 5px 0;
		padding: 10px 10px;		
	}
}


@media only screen and (max-width:600px) {
	.fp-content-wrap {
		display:none;
	}
	.search-form .search-submit {
		padding:12px 0;
	}
	.search-form .search-field {
		width:70px;
	}
	.headersearch {
		width:90px;
	}
}

/* ========================================= CONTENT. ========================================= */
#wrapper{
	padding:30px 0;
}
article {
	border-bottom:1px solid #d6d6de;
}
.entry-title {
	font-family: 'montserratsemi_bold';
	color:#313847;
	font-size:24px;
	margin:0;
	padding-bottom:5px;
	border:none;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.entry-title a {
	color:#313847;
	text-decoration:none;
	font-weight:normal;
}
.entry-title a:hover {
	color:#8f8f8f;
}
.featured_image_container {
	display:inline-block;
	float:left;
	position: relative;
	background: #eeeef4;
}
.featured_image {
	float:left;
	margin: 0 25px 15px 0;
	border-radius: 50%;
	border:5px solid #d6d6db;
}
article .post-date, .widget_smt_posts .post-date {
	position:absolute;
	width: 40px;
	height: 40px;
	padding: 16px;
	background:#313847;
	bottom: 10px;
	right: 10px;
	border-radius: 100px;
	color: #fff;
	text-align: center;
	font-size:16px;
	line-height:16px;
	text-transform:uppercase;
	font-family:'montserratsemi_bold';
}
article .post-date .day, .widget_smt_posts .post-date .day {
	display:block;
	font-size:28px;
	line-height:28px;
}
.entry-meta {
	border:1px solid #d6d6de;
	border-width:1px 0 1px;
	color: #313847;
	display:block;
	font-family: 'Arial';
	font-size: 14px;
	line-height: 22px;
	padding: 10px 0;
	margin-bottom: 10px;
}
.entry-meta a {
	color:#313847;
	text-decoration:none;
}
.entry-meta a:hover {
	color:#8f8f8f;
	text-decoration:underline;
}
nav.pagination.dynamic a ,
nav.pagination span.page-numbers,
nav.pagination a.page-numbers {
	background: #ababb8;
	color: #fff;
	border-radius:150px;
}
nav.pagination a.page-numbers:hover {
	background:#d6d6d6;
}
nav.pagination.dynamic a:hover,
nav.pagination span.page-numbers.current {
	background:#313847; color:#fff;
}
@media only screen and (max-width:600px) {
	article .featured_image_container {
		display:block;
		float:none;
		margin:0 auto;
	}
	.featured_image {
		display:block;
		margin:0 auto 15px;
		float:none;
	}
	article .post-date {
		margin:0 auto;
		left:190px;
		right:0;
	}
}

/* ========================================= WIDGETS. ========================================= */
.sidebar ul li { 
	border-bottom: 1px solid #f0f0f0; 
}
.sidebar .widget {
	margin-bottom:50px;
}
.widget ul {
	padding:0;
}
.widget_smt_posts ul, .widget_smt_comments ul {
	list-style-type: none;
}
.widget_smt_comments li:not(:last-child),.widget_smt_posts li:not(:last-child) {
	border-bottom:1px solid #d6d6de;
}
.widget { 
	color:#808080; 
	font-size:14px;
	line-height:20px;
}
.widget .caption {
	color:#fff;
	text-align:center;
	float:none;
	position:relative;
	text-transform:uppercase;
}
.widget .caption h4 {
	background:#ababb8;
	font-size:14px;
	display:inline-block;
	padding:10px 15px;	
}
.widget .featured_image_container {
	background: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: 10px 0;
	display:inline-block;
}
.widget_smt_posts .post-date {
	left:0;
	right: 8px;
	margin:0 auto;
	bottom: 0;
	width: 30px;
	height: 30px;
	padding: 8px;
	line-height:12px;
	font-size:12px;
}
.widget_smt_posts .post-date .day {
	font-size:18px;
	line-height:18px;
}
.widget_smt_posts .wp-post-image {
	border-radius:50px;
	margin: 0 10px 25px 0;
}
.comment_avatar {
	float:left;
	margin:0 10px 10px 0;
}
.comment_avatar img {
	border-radius:50px;
}
.widget_smt_posts ul li,
.widget_smt_comments ul li,
.widget_recent_comments ul li  { display:block;padding: 15px 0 10px;}
.widget_smt_posts ul li { padding-bottom:0; }
footer .widget_smt_comments li:not(:last-child),
 footer .widget_smt_posts li:not(:last-child) {
	border-bottom:1px solid #3f485a;
}
@media only screen and (max-width:600px) {
	footer .widget:not(:first-child) .caption {
		margin-bottom: 0;
		position: relative;
		top: 0;
	}
}

/* ========================================= FOOTER. ========================================= */
footer {
	position:relative;
	background-color:#fff;
	color:#808080;
}
footer .widget a, footer a {
	color:#fff;
	text-decoration: none;
}
footer .widget a:hover, footer a:hover {
	color:#dfc20b;
}
footer .boxed-container {
	position:relative;
	z-index:2;
	padding: 0;
}
.footer_txt {
	background:#fff;
	color: #8d8d93;
	text-align: center;
	font-size: 13px;
}
.footer_txt a {
	color:#25272a;
	text-decoration:none;
}
.footer_txt .boxed-container {
	padding:15px 0;
}
footer .footer-widget-area {
	background-color:#313847;
	border-top: 110px solid #fff;
	padding-bottom: 30px;
}
footer .footer-widget-area::before, footer .footer-widget-area:after {
	content:'';
	position:absolute;
	width:100%;
	top:0;
	left:0;
}
footer .footer-widget-area:before {
	background-color:#fff;
	height: 110px;
}
footer .footer-widget-area:after {
	background:url(images/after.png) top center no-repeat;
	height:155px;
}
footer .widget {
	position:relative;
	padding-top: 85px;
	top: -73px;
	margin-bottom: 41px;
}
footer .widget .caption {
	top: 0;
	position:absolute;
	width:100%;
}
footer .widget .caption h4 {
	background:#303034;
	margin: 0;
}

/* ==========================================MOBILE MENU.=================================== */
@media only screen and (max-width:1023px) {
	.mobile-menu {
		background: rgba(0, 0, 0, 0.8);
	}
	.admin-bar .mobile-menu div {
		margin-top: 46px !important;
	}
	.mobile-menu ul.nav-menu  > li ul {
		border-top: 1px solid #888;
	}
}