/*!
Theme Name: Underscores Bootstrap
Theme URI: http://underscores.me/
Author: Zava Design
Author URI: https://zava.design
Description: Lean starter theme combining _s with Bootstrap
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: underscores-bootstrap
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Underscores Bootstrap is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Site header
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize --> Removed, use Bootstrap styles plus some custom styles
--------------------------------------------------------------*/
html {
	overflow-y: scroll;
}

/*--------------------------------------------------------------
# Typography --> Removed, use Bootstrap styles plus some custom styles
--------------------------------------------------------------*/
blockquote {
	border-left: 10px solid #eee;
	padding-left: 20px;
}

/*--------------------------------------------------------------
# Elements --> Removed, use Bootstrap styles plus some custom styles
--------------------------------------------------------------*/
table {
	width: 100%;
	margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Forms --> Removed, use Bootstrap styles plus some custom styles
--------------------------------------------------------------*/
form {
	margin-bottom: 1rem;
}
input[type="submit"], button {
	cursor: pointer;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links --> Removed, use Bootstrap styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#primary-menu > li, #primary-menu ul.sub-menu {
	z-index: 99;
}
#site-navigation {
	clear: both;
	display: none;
	float: left;
	width: 100%;
}
@media (min-width: 992px) {
	#site-navigation {
		display: block;
	}
}
#site-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#site-navigation ul ul {
	background-color: #f0f0f0;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

#site-navigation ul ul ul {
	left: -999em;
	top: 0;
}

#site-navigation ul ul li:hover > ul,
#site-navigation ul ul li.focus > ul {
	left: 100%;
}

#site-navigation ul ul a {
	width: 200px;
}

#site-navigation ul li:hover > ul,
#site-navigation ul li.focus > ul {
	left: auto;
}

#site-navigation li {
	float: left;
	position: relative;
}
#site-navigation a {
	display: block;
	text-decoration: none;
	padding: 0px 10px;
	border-right: 1px solid #888;
}
#site-navigation li:last-child a {
	padding-right: 0;
	border: none;
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.toggle-menu {
    position: absolute;
	top: 6px;
	right: 15px;
	font-size: 1.5rem;
	color: #212529;
}    
.toggle-menu:before {
    content: "\f0c9";
    font-family: FontAwesome;
    left: -5px;
    position: absolute;
    top: 0;
}
@media (min-width: 992px) {
	.toggle-menu {
		display: none;
	}
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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-size: 0.875rem;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0;
	/* Make sure select elements fit in widgets. */
}
.widget select {
	max-width: 100%;
}
.widget_search fieldset {
	display: block;
	width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
	display: block;
}
ol.comment-list {
	list-style-type: none;
	padding: 0;
	margin: 2em 0;
}
.comment-meta {
	margin-bottom: 0.5em;
}
.comment-meta img.avatar {
	float: left;
	margin: 0.5em 0.5em 0.5em 0;
}
.comment-meta .says {
	display: none;
}
.comment-meta .comment-metadata {
	font-size: 80%;
}
.comment-body {
	background-color: #f8f8f8;
	padding: 1em;
	margin-bottom: 0.5em;
}
.comment-content p:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	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;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

img {
	max-width: 100%;
	height: auto;
}

img.attachment-large {
	width: 100%;
	margin-bottom: 1rem;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	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-caption {
	display: block;
}

/*--------------------------------------------------------------
## Site header
--------------------------------------------------------------*/
header.site-header {
	margin-bottom: .8em;
	position: relative;
}
.site-title {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}
.site-description {
	margin: 0;
}
