/**
Theme Name: Plug N Play
Author: SpitefulPenguin
Description: Clean and simple bootstrap-based design with custom elements via Tiny MCE
Version: 0.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plug-n-play
*/
body { color: #000;background-color: #fff; }
.navbar { margin-bottom: 20px; }
.site-footer { background: #003a77; color: #fff; padding: 20px 0; }
img.img-responsive { max-width: 100%; height: auto; }
.hero-image { width: 100%; margin-bottom: 20px; position: relative; }
.hero-title { position: absolute; bottom: 0; left: 0; background: #00000083; color: #fff; padding: 20px; width: 100%; }
.sidebar { text-align: center; background-color:#09519e;padding:40px;max-height: 510px;}
.content-wrapper { margin-bottom: 20px; }
a { color: #eb3b08; text-decoration: none; }
a:hover { color: #336633; text-decoration: underline; }
.breadcrumbs { margin-bottom: 30px; }
.breadcrumbs a { color: #336633; }

.sidebar-widget { width: 100%; margin-bottom: 20px; }
.sidebar-menu { text-align: left; }
.sidebar-menu li { list-style: none; }
.sidebar-menu a { display: block; margin-bottom: 10px; color: #fff; }
.sidebar-menu a:hover { color: #f6ce60; }
.sidebar-current { display: block; width: 100%; margin-bottom: 10px; }
.sidebar-nav-item { display: block; margin-bottom: 10px; }

.header-links { width: 25%; display: flex; justify-content: space-between; flex-wrap: wrap; }
.header-links li { list-style: none; }
.header-links a { display: inline-block; color: #fff; text-decoration: none; text-transform: lowercase; padding: 5px 10px; border-radius: 4px; }
.header-links a:hover { background: #fff600;background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, #fff600), color-stop(70%, #fab205));background: linear-gradient(0deg, #fff600 30%, #fab205 70%);color: #580a05;-webkit-box-shadow: 0px 6px 15px 0px rgba(250,180,0,0.5);box-shadow: 0px 6px 15px 0px rgba(250,180,0,0.5);}

.header-search-form { width: 30%; }
.header-search-input { width: 75% !important; border-radius: .25em 0 0 .25em !important; }
.header-search-submit { width: 25% !important; border-radius: 0 .25em .25em 0 !important; }

.mobile-menu-layer { background: #00000083; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9990; display: none; }
.mobile-menu-close { position: fixed; top: 0; left: 0; z-index: 9999; background: #fff; width: 100%; text-align: right; padding: 6px 20px; font-size: 1.4rem; height: 45px; display: none; }
.mobile-menu-scroller { position: fixed; left: 0; top: calc(45px + 238px); background: #fff; z-index: 9999; width: 100%; padding: 0 20px 8px; text-align: center; font-size: 1.8rem; display: none; }
.mobile-menu-scroller i:first-child { margin-right: 10px; }

.pnp-commenter-is-op { margin-left: 5px; background: #eee; padding: 3px 5px; font-size: 0.7rem; border-radius: 5px; line-height: 1; }

.bg-brand { background: #003a77; }
.navbar-brand, .navbar-brand:focus, .navbar-brand:hover { color: #fff; }
.btn-green { background: #eb3b08; border-color: #336633; color: #fff; }
.btn-green:hover { background: #eb3b08; }
.navbar-toggler { border-color: #fff; padding: .25rem .45rem; }
.navbar-toggler-icon {  }
.navbar-toggler-icon .fas { line-height: 1.4; }
.btn-orange { background: #eb3b08; color: #fff; margin: 7px 0; }
.btn-orange:hover { background: #eb3b08; color: #fff; }

article.content img { max-width: 100%; height: auto; }
.archive-item { margin-bottom: 20px; }
.pnp-list-green { list-style: none; padding-left: 25px; }
.pnp-list-green li { position: relative; margin-bottom: 7px; }
.pnp-list-green li::before { content: ''; width: 15px; height: 20px; background: url(assets/js/icon-list-green.png) no-repeat top left; display: inline-block; background-size: 15px; position: absolute; left: -25px; top: 7px; }
.pnp-list-red { list-style: none; padding-left: 25px; }
.pnp-list-red li { position: relative; margin-bottom: 7px; }
.pnp-list-red li::before { content: ''; width: 15px; height: 20px; background: url(assets/js/icon-list-red.png) no-repeat top left; display: inline-block; background-size: 15px; position: absolute; left: -25px; top: 7px; }
.pnp-rich-block { border: 2px solid #eee; padding: 20px; margin-bottom: 15px; border-radius: 4px; }
.pnp-rich-block.fact { border-color: #0000cc; }
.pnp-rich-block.advice { border-color: #00cc00; }
.pnp-rich-block-header {}
.pnp-rich-block-content { margin: 0; font-weight: 450; font-style: italic; }
.pnp-post-rating { margin: 15px 0; }

.content table { border-collapse: collapse; max-width: 100%; margin-bottom: 15px; }
.content table tr {}
.content table td { border: 1px solid #ddd; padding: 5px 8px; }
.wp-caption { max-width: 100% !important; }
.wp-caption-text { color: #777; font-style: italic; margin-top: 5px; font-size: 0.9rem; }

@media(max-width: 900px) {
	.sidebar-menu { position: fixed; top: 45px; left: 0; width: 300%; background: #09519e; z-index: 9999; padding: 0 20px; display: none; height: 340px; overflow-y: scroll; flex-flow: column wrap; }
	.sidebar-menu li { display: inline-block; }
}

@media(max-width: 420px) {
	body { }
	.h1, h1 { font-size: 1.6rem; }
	.h2, h2 { font-size: 1.4rem; }
	.h3, h3 { font-size: 1.2rem; }
	.header-links { width: 100%; }
	.header-links li { width: 100%; }
	.header-links a { padding: 0; margin: 7px 0; font-size: 1.1rem; }
	.hero-title { position: relative; background: transparent; color: #000; padding: 20px 0 0; }
	.header-search-form { position: fixed; top: 400px; z-index: 9999; background: #fff; width: 100%; left: 0; padding: 15px; display: none; }
}
