/*
Theme Name: LineDay
Author: johnthemes
Author URI: https://wordpress.org/themes/lineday
Description: A responsive elegant magazine-style WordPress theme based on vanilla Twitter Bootstrap and Automattic Underscore(_s). Supports Font Awesome, multi-level dropdown navigation, Schema.org markup. Updated for the latest WordPress and PHP versions.
Version: 1.1.7
Tested up to: 6.8.1
Requires PHP: 5.0

Text Domain: lineday
Tags: blog, translation-ready, 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
--------------------------------------------------------------*/
/* This is a small security for too long strings titles */
* {
	outline: none;
	transition: all .2s;
}

body {
	word-wrap: break-word;
}

/* .page a {
	color: #359838 !important;
}

.page a:hover {
	color: #12d310 !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;
}

/*--------------------------------------------------------------
3.0 Media
--------------------------------------------------------------*/
/* 3.1 Images */
img {
	/*display: inline-block; */
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* 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%);
}

/* 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: #333;
}
.site-title a:hover,
.site-title a:focus {
  color: #555;
  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: #EEE !important;
}
.navbar,
.navbar-inverse {
	background: #fff !important;
}
/* end .navbar, .navbar-inverse */
/* highlight current page */
li.current-menu-item a,
li.current_page_item a,
li.current_page_ancestor a {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
/* end current highlighters */

/* Single Post Navigation */
.post {
	/* border: 1px solid #eee; */
	border-radius: 4px; 
}

.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;
  }
}

/*--------------------------------------------------------------
5.0 Content
--------------------------------------------------------------*/
.hentry, #comments {
  margin: 0 0 1.5em;
  background: #FFF;
  .box-shadow(0 1px 1px rgba(0,0,0,0.05) );
}

.page-header {
  padding: 5px 20px 10px;
  margin: 0 !important;
  background-color: #FFF;
}

.entry-header {
  margin-bottom: 15px;
  padding: 20px 20px 0;
  border: none !important;
}

.entry-title {
  margin: 0;
}

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

.entry-footer {
  padding: 10px 20px 10px;
  border-top: 1px solid #EEE;
  color: #888;
  font-size: 12px;
}

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

.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 {

}

/*--------------------------------------------------------------
6.0 Comments
--------------------------------------------------------------*/
#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: #FFF;
}

.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: #FFF;
}

.even {
  background: #FFF;
}

.bypostauthor {
  background: #EFF5FB;
}
/*--------------------------------------------------------------
7.0 Widgets
--------------------------------------------------------------*/
/* Check out bootstrap-wp.js for more style settings. */

.widget {
  margin-bottom: 1em;
  background-color: #FFF;
  overflow: hidden;
}
.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,
.textwidget,
.tagcloud {
  padding: 10px 15px;
  margin: 0;
}

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

.widget ul li {
  padding: 5px 0;
  list-style: none;
  /* deep nesting */
}
.widget-title {
	margin: 0 10px;
	padding: 4px 0;
	border-bottom: 1px solid #eee;
  font-size: 18px;
  line-height: 24px;
}

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

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

/******************************************************************
9.0 Pagination
******************************************************************/
.pagination li a:hover,
.pagination li a:focus {
  background-color: #428BCA !important;
  color: #FFF !important;
}
.pagination li .active,
.pagination li .current,
.pagination li span:hover {
  background-color: #6AA3D5;
  color: #FFF;
}

/******************************************************************
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;
}

.theme_subscription_form_ {
	padding: 15px;
}
