/*
Theme Name: Fitli 2020 - LineDay
Theme URI: http://zacklive.com/lineday-responsive-magazine-wordpress-theme-bootstrap/
Author: fitli, johnthemes
Author URI: https://fitli.cz, http://zacklive.com/
Description: Based on LineDay: An responsive elegant magazine style WordPress theme based on Twitter Bootstrap and Automattic Underscore(_s). Supporting Font Awesome, multi level dropdown navigation, Schema.org markup.
Version: 1.1.3

Text Domain: lineday
Tags: translation-ready, microformats, two-columns, right-sidebar, custom-background, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, sticky-post

License: GNU General Public License V2 or Later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Global Settings
2.0 Alignments
3.0 Media
    3.1 Images
    3.2 Captions
    3.3 Galleries
    3.4 Screen Reader
4.0 Header & Navigation
5.0 Content
6.0 Comments
7.0 Widgets
8.0 Footer
9.0 Pagination
10.0 Infinite Scrolling by Jetpack (Disabled by default)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Global Settings
--------------------------------------------------------------*/
/* Variables */
/*forest green 
:root {
  --boxes-color: #bac29a;
  --boxes-header-color: #9faa71;
  --boxes-footer-color: #9faa71;
  --active-color: #9faa71;
  --active-header-color: #919e5d;
  --boxes-border-color: #e6ebd5;
  --background-color: #000;
} */

/*sea blue
:root {
  --boxes-color: #9ea2bf;
  --boxes-header-color: #64708a;
  --boxes-footer-color: #64708a;
  --active-color: #64708a;
  --active-header-color: #3a465e;
  --boxes-border-color: rgba(0, 0, 0, 0.7);
  --background-color: #000;
}*/

/*moutain green */
:root {
  --boxes-color: #bac29a;
  --boxes-header-color: #9faa71;
  --boxes-footer-color: #9faa71;
  --active-color: #9faa71;
  --active-header-color: #919e5d;
  /*--boxes-color: #ecdcc7;
  --boxes-header-color: #e6d0b5;
  --boxes-footer-color: #e6d0b5;*/
  --boxes-border-color: rgba(0, 0, 0, 0.7);
	  /*#d8d68c;*/
  --background-color: #000;
}

/* Hide components*/
.site-branding {
	display: None;
}

.site-navigation {
	/*display: None;*/
}

/* This is a small security for too long strings titles */
* {
	outline: none;
	transition: all .2s;
}

body {
	word-wrap: break-word;
}

a {
	color: #000 !important;
}

/*--------------------------------------------------------------
2.0 Alignment
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

#secondary {
	padding-left:0;
}
/*--------------------------------------------------------------
3.0 Media
--------------------------------------------------------------*/
/* 3.1 Images */
img {
	/*display: inline-block; */
	height: auto;
    width: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	max-height: 400px;
	border: 1px solid var(--boxes-border-color)
}
.wp-block-image {
    text-align: center;
}

/* 3.2 Captions */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
}
.wp-caption-text {
  text-align: center;
}
.wp-caption .wp-caption-text {
    padding: 0.8075em 1em;
    font-size: 12px;
    background: #E5E5E5;
    background: hsl(0, 0%, 90%);
}

.wp-block-image figcaption {
    font-style: italic;
	text-align: center;
}

/* 3.3 Gallery */
.gallery {
    margin-bottom: 1.5em;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    float: left;
    padding: 1.79104477%;
    text-align: center;
    width:100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-icon img {
    margin: 0 auto;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #FFF;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 6px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/* 3.4 Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #F1F1F1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759B;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/******************************************************************
4.0 Header & Navigation
******************************************************************/
/*
 * Header
 */
.site-title {
	margin-bottom: 5px;
}
.site-title a {
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 40px;
  font-weight: 500;
  font-family: Lato, Arial, Helvetica, Geneva, sans-serif;
  color: #bc8034;
}
.site-title a:hover,
.site-title a:focus {
  color: #c28b46;
  text-decoration: none;
}
.site-description {
  color: #666 !important;
	margin-left: 2px;
	font-size: 20px;
  margin-top: 0px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/*
 * Navigation
 */

nav ul.nav li a:hover,
nav ul.nav li a:focus {
  background-color: var(--active-header-color) !important;
}
.navbar,
.navbar-inverse {
	background: var(--boxes-color) !important;
	border: 1px solid var(--boxes-border-color) !important;
}
/* end .navbar, .navbar-inverse */
/* highlight current page */
li.current-menu-item a,
li.current_page_item a,
li.current_page_ancestor a {
  background-color: var(--boxes-header-color) !important;
}
/* end current highlighters */

/* Single Post Navigation */
.post {
	border-bottom: 1px solid var(--boxes-border-color) !important;
    border-right: 1px solid var(--boxes-border-color);
	border-radius: 8px;
	text-align: justify;
}

.post-navigation .pager span {
  width: 100%;
}

@media (min-width: 750px) {
  .post-navigation .pager span {
    width: auto;
  }
  .post-navigation .pager {
    margin-bottom: 20px;
  }
}

.nav-previous {
    margin-bottom: 20px;
  }
@media (min-width: 750px) {
  .nav-previous {
    margin-bottom: 0;
  }
}

.btn {
	background-color: var(--boxes-header-color) !important;
	border: black !important;
}

.btn:hover {
	background-color: var(--active-header-color) !important;
}

/*--------------------------------------------------------------
5.0 Content
--------------------------------------------------------------*/
.hentry, #comments, #disqus_thread {
  margin: 0 0 0.5em;
  background: var(--boxes-color);
  /*.box-shadow(0 1px 1px rgba(0,0,0,0.05) );*/
}

.page-header {
  padding: 10px 0 10px 10px !important;
  margin-top: 0px !important;
  border-radius: 8px;
  border-bottom: 1px solid var(--boxes-border-color) !important;
  border-right: 1px solid var(--boxes-border-color);
  background-color: var(--boxes-color);
}

.page-header h1 {
  font-size: 20px !important;
}

.entry-header {
  margin-bottom: 15px;
  border: none;
}

.entry-title a, .single-header{
  display:block;
  color: rgba(0, 0, 0, 0.5) !important;
  padding: 20px 20px 20px 20px;
  background-color: var(--boxes-header-color);
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid var(--boxes-border-color);
  border-top: 1px solid var(--boxes-color) !important;
  border-left: 1px solid var(--boxes-color);
}

.entry-title a:hover{
  color: rgba(0, 0, 0, 0.7) !important;
  text-decoration: none;
  background-color: var(--active-header-color)
}

.entry-title {
  margin: 0;
}

.entry-content, .entry-summary {
  padding: 20px 10px;
}

.entry-footer {
  padding: 10px 20px 10px;
  border-top: 1px solid var(--boxes-border-color);
  color: rgba(0, 0, 0, 0.7) !important;
  font-size: 12px;
  background-color: var(--boxes-footer-color);
  border-radius: 0 0 8px 8px;
}

.entry-footer span {
  margin-right: 10px;
}

.entry-footer a {
  color: rgba(0, 0, 0, 0.7) !important;
}
.entry-footer .glyphicon {
  margin-right: 5px;
  
}

.entry-footer .byline .author {
  margin-right: initial;
}

/* Style for Single post navigation (Previous post & Next post) */
.pager a,
.nav-previous a,
.nav-next a {
  color: #999;
}

.pager a:hover,
.nav-previous a:hover,
.nav-next a:hover {
  color: #444;
  text-decoration: none;
  cursor: pointer;
}/* end single post navigation style */

.sticky {

}
.bypostauthor {

}

.more-link, .readmore {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/*--------------------------------------------------------------
6.0 Comments
--------------------------------------------------------------*/
#disqus_thread {
	padding: 20px 10px;
}

#comments, #disqus_thread {
  border: 1px solid var(--boxes-border-color);
  border-radius: 8px;
}

#comments .media-body {
  width: 88%;
  margin-left: 2%;
  float: left;
}

.comment-list .comment-author {
  width: 10%;
  float: left;
}

#comments .comment-body {
  padding: 20px 20px 0;
}

#comments .comment-body .comment-content {
  overflow: hidden;
}

#comments .pingback {
  margin: 0;
}

#comments .pingback .comment-body {
  padding: 10px 20px;
}

.comment-list .vcard img.avatar {
  padding: 2px;
  border: 1px solid #CECECE;
  background: #ecdcc7;
}

.comment-list .comment-author img {
  width: 100%;
  height: auto;
}

#respond {
  padding: 20px;
}

#reply-title {
  margin-top: 0;
}

.comments-title {
  font-size: 24px;
  margin: 15px 0 10px;
}

/* Nested comments. */
.comment .children {
/*    margin-left: 1.5em; */
    list-style: none;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    width: 50%;
}

.odd {
  background: var(--boxes-header-color);
}

.even {
  background: var(--boxes-color);
}

.bypostauthor {
  background: var(--boxes-color);
}
/*--------------------------------------------------------------
7.0 Widgets
--------------------------------------------------------------*/
/* Check out bootstrap-wp.js for more style settings. */

.widget {
  margin-bottom: 1em;
  background-color: var(--boxes-color);
  overflow: hidden;
  border-top: 1px solid var(--boxes-color) !important;
  border-left: 1px solid var(--boxes-color);
  border-bottom: 1px solid var(--boxes-border-color) !important;
  border-right: 1px solid var(--boxes-border-color);
  border-radius: 8px;
}
.widget_nav_menu ul.sub-menu li,
.widget_pages ul.children li {
  padding-left: 15px;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 90%;
  margin: 10px auto;
}

.widget #calendar_wrap {
  padding: 5px 15px 0;
}

.widget ul {
	padding: 0;
	margin: 0;
}
.textwidget,
.tagcloud {
  padding: 0;
  margin: 15px;
}

.widget .search-form {
  padding: 10px 0 5px 10px;
  margin: 0 auto;
}

.widget ul li {
  padding: 0;
  list-style: none;
  /* deep nesting */
}

.widget-header {
  border-bottom: 1px solid var(--boxes-header-color);
  border-radius: 8px 8px 0 0;
  background: var(--boxes-header-color);
}
.widget-title {
	margin: 0 10px;
	padding: 4px 0;
  font-size: 18px;
  line-height: 24px;
}

.widget_categories a,
.widget_archive a{
  display: block;
  padding: 10px;
}

.widget_categories a:hover,
.widget_archive a:hover {
  background: var(--active-color);
  text-decoration: none;
}

/******************************************************************
8.0 Footer
******************************************************************/
.site-footer {
  border-top: 5px solid var(--boxes-header-color);
  background: #3B3B3B;
  color: #AAA;
  padding: 10px 0;
  margin-top: 30px;
  clear: both;
}

.site-footer a,
.site-footer a:hover {
  color: #AAA;
}

/******************************************************************
9.0 Pagination
******************************************************************/
.page-numbers {
	display: block;
	margin: 0 auto;
}

.pagination li a:hover,
.pagination li a:focus {
  background-color: var(--boxes-header-color) !important;
  color: #000 !important;
}
.pagination li .active,
.pagination li .current,
.pagination li span:hover {
  background-color: var(--boxes-color);
  color: rgba(0, 0, 0, 0.5);
}

/******************************************************************
10.0 Infinite Scrolling by Jetpack
******************************************************************/
/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
    display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
    display: block;
}
*/

.clear-fix::after {
	content: '';
	display: block;
	clear: both;
}

.float-left {
	float: left;
}

.full-width {
	width: 100% !important;
	margin-top: 2px;
}

.sub-button {
	background: #337ab7 !important;
	border: 0 !important;
	width: 100% !important;
}

.sub-button:hover {
	background: #2260a6 !important;
}

.sub-button:active {
	background: #114f05 !important;
}

.sub-form {
	width: 100%;
}

.subscribe-input {
	width: 100%;
}

.subscribe-submit {
	width: 100%;
	margin-top: 5px;
}
