/* Copyright 2017 Buonocoreco - All Rights Reserved */


/* Basics */
html, body {
	font-family: Georgia, serif;
	font-size: 16px;
	font-weight: 500;
	background: #0c0c0c;
	color: #fff;
	padding: 0;
	margin: 0;
	line-height: 150%;
	min-width: 320px;
}

/* Basic layout blocks */
#layout-header {
	width: 100%;
	background: #0c0c0c;
	padding: 0 0 30px;
}
#layout-content {
	width: 100%;
	padding: 0;
	background: #d1d1d1;
}
	.inner-content {
		background: #eeeeee;
		color: #000000;
		position: relative;
		top: -30px;
		margin-bottom: -15px;
	}
#layout-footer {
	width: 100%;
	margin-top: -45px;
	padding-top: 65px;
	padding-bottom: 30px;
	background: #0c0c0c;
}


/* Text */
h1, h2, h3, h4, h5 {
	color: #212121;
	margin-top: 0;
	margin-bottom: 0;
}
.copyright {
	margin-bottom: 0;
}


/* Links */
a, a:hover, .navbar-light .navbar-nav .nav-link {
	color: #4CAF50;
}
a:focus, a:hover, .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
	color: #81C784;
}


/* Buttons */
.btn-primary, .btn-primary:visited {
	background-color: #4CAF50;
	border-color: #43A047;
	border-bottom: 2px solid #388E3C;
	font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus {
	background-color: #43A047;
	border-color: #43A047;
}


/* Header */
.logo-row {
	padding-top: 20px;
	padding-bottom: 20px;
}
#brand {
	margin-top: 0;
	position: relative;
	left: -15px;
}
.brand-link h1 {
	line-height: 82px;
	font-size: 48px;
	left: -5px;
	position: relative;
}
#layout-header .btn {
	border-radius: 0 2px 2px 0;
	padding: .50rem .65rem;
}
#layout-header .form-control-lg {
	border-radius: 2px 0 0 2px;
	padding: .60rem .65rem;
	border: 1px solid #E0E0E0;
	border-bottom: 2px solid #BDBDBD;
	border-right: 0;
	font-size: 110%;
}
#search-container {
	padding: 0 0 20px 0;
}
.search-toggle.child {
	right: 70px;
}
.nav-link.contact-link {
	position: absolute;
	right: 50px;
	top: 24px;
}
.nav-link.about-link {
	position: absolute;
	right: 103px;
	top: 24px;
}


/* Navigation */
.navbar {
	border-radius: 0;
	color: #000000;
	font-size: 18px;
	padding: 0;
}
.navbar ul {
	padding-top: 20px;
	overflow: auto;
	padding-left: 2px;
	overflow: visible;
}
.navbar ul .nav-link, .navbar ul .nav-link:visited {
	padding-top: 0;
	padding-bottom: 0;
}
.nav-item.active {
	font-weight: 600;
}
.navbar-left {
	float: left;
}
.navbar-right {
	float: right;
}
.navbar-light .navbar-nav .nav-link {
	padding-right: 10px;
}
.navbar-nav .nav-item+.nav-item {
	margin-left: 10px;
}
.nav-item {
	margin: 0 10px;
}
.navbar-nav {
	list-style-type: none;
	
}
nav h1 {
	margin-bottom: 0;
	float: left;
}
.fa-close-color {
	color: #e74c3c;
}
.navbar-nav .nav-item {
	float: none;
	clear: both;
	display: inline-block;
	
}


/* Special nav toggle */
#navbar-1 {
	margin-left: -15px;
	margin-right: -15px;
}
.navbar-toggle {
    color: white;
    overflow: auto;
    background: transparent;
    width: 42px;
    height: 42px;
    border: 0;
    margin-right: 5px;
}
.navbar-toggle .icon-bar {
    width: 33px;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    height: 3px;
    background: white;
    box-shadow: 0px 0px 2px #000000;
}
.navbar-default .navbar-toggle {
    position:relative;
    padding-top:20px;
    z-index:100
}
.navbar-toggle .top-bar {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform-origin: 10% 10%;
    -webkit-transform-origin: 10% 10%;
    position: relative;
    background: #e74c3c;
    top: -6px;
    box-shadow: none;
}
.navbar-toggle .middle-bar {
    opacity: 0;
    height: 3px;
}
.navbar-toggle .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
    -webkit-transform: rotate(-45deg);
    -webkit-transform-origin: 10% 90%;
    position: relative;
    background: #e74c3c;
    top: 6px;
    box-shadow: none;
}
.navbar-toggle.collapsed .top-bar {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    background: white;
}
.navbar-toggle.collapsed .middle-bar {
    opacity: 1;
}
.navbar-toggle.collapsed .bottom-bar {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    background: white;
}


/* Page content heading */
.page-content-title-container {
	margin: 0;
}
.page-content-title-container h2 {
	margin: 0;
	margin-top: 20px;
	font-weight: 800;
}
.page-content-description {
	margin-top: 10px;
	margin-bottom: 5px;
	font-weight: 600;
}

/* Page content area styles */
.new-card {
	/*border: 1px solid #c7c7c7;*/
}
.master-panel {
	background: #ffffff;
	border-right-width: 0;
	/*border-bottom: 2px solid #c7c7c7;*/
}
.slave-panel {
	background: #e5e5e5;
	/*border-bottom: 2px solid #c7c7c7;*/
	/*border-right: 2px solid #c7c7c7;*/
}
.card {
	border-radius: 2px;
	padding: .60rem .65rem;
	border: 1px solid #E0E0E0;
	/*border-bottom: 2px solid #d5d5d5;*/
	/*border-right: 2px solid #d5d5d5;*/
	width: 100%;
}
.new-card p {
	margin-bottom: 10px;
}
.new-card p:last-child {
	margin-bottom: 0;
}
.post-title {
	margin-bottom: 14px;
	margin-top: 0;
	font-weight: 800;
}
.top-post-meta-container {
	margin-bottom: 10px;
}
.bottom-post-meta-container {
	margin-top: 15px;
}
.bottom-post-meta-container .author-container {
	line-height: 37px;
}
/*
.post-thumb-actions {
	margin-top: 10px;
	border-top: 1px dashed #eee;
	padding-top: 11px;
	padding-bottom: 10px;
}
*/
.post-sep {
	border-bottom: 1px solid #eee;
	margin-top: 30px;
	margin-bottom: 30px;
	margin-right: -15px;
}
.read-more {
	
}
.btn {
	padding: .5rem 1rem .4rem;
}
.post-date {
	opacity: .5;
}
.slave-panel ul {
	list-style-type: circle;
	padding-left: 25px;
}
.title-container {
	background: #f8f8f8;
	background: #eee;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
	padding-bottom: 3px;
}
.title-container h2 {
	font-weight: 600;
	margin-top: 20px;
}
.post-thumb-image-container {
	margin-bottom: 20px;
}
.author-container {
	font-weight: 600;
	line-height: 30px;
}
.post-meta-user-icon {
	max-height: 30px;
	margin-right: 5px;
}


/* Global media queries */
@media(max-width:991px) {
	nav .nav-link, .navbar-toggleable-md .navbar-nav .nav-item {
		float: left;
	}
	.collapse .navbar-nav.child, .navbar-nav.child {
		left: 0;
		float: left;
	}
	.collapse.in {
		width: 100%;
		transition: all 0.2s;
    	-webkit-transition: all 0.2s;
	}
	.collapse.in .navbar-nav.child {
		left: 15px;
	}
	.navbar-nav .nav-item+.nav-item {
		margin-left: 5px;
	}
	.nav-item {
		margin: 0 5px;
	}
}
@media(min-width:992px){
	#navbar-1 {
		display: block;
	}
	.search-toggle.child {
		right: 0;
	}
}
@media(max-width:991px) {
	.master-panel {
		/*border-right: 2px solid #d5d5d5;*/
		border-bottom-width: 0;
	}
	#navbar-1 {
		margin: 0;
	}
	.nav-link.contact-link {
		position: absolute;
		right: 103px;
		top: 24px;
	}
	.nav-link.about-link {
		position: absolute;
		right: 155px;
		top: 24px;
	}
	.navbar-toggle {
		right: -5px;
	}
	.search-toggle.child {
		right: 55px;
	}
}
@media(max-width:767px) {
	.post-container img {
		margin-bottom: 15px;
	}
	.master-panel, .slave-panel {
		border-right: 0;
	}
	.navbar-nav {
		font-size: 100%;
	}
}
@media(max-width:600px) {
	#brand {
		position: relative;
		left: 0;
	}
	.nav-link.contact-link {
		position: absolute;
		top: 22px;
		left: 52px;
	}
	.nav-link.about-link {
		position: absolute;
		top: 22px;
		left: 90px;
	}
	.search-toggle.child {
		position: absolute;
		top: 36px;
		left: 15px;
	}
	.navbar-toggle {
		right: 10px;
	}
	.brand-link h1 {
		font-size: 38px;
	}
	.small-togglers .fa {
		font-size: 150% !important;
		padding-left: 2px !important;
	}
	.carousel-caption {
		position: relative !important;
	}
	.overlay .closebtn {
		position: absolute;
		right: 0 !important;
		top: 5px !important;
	}
	.navbar-nav .nav-item,
	.navbar-nav .nav-item+.nav-item {
		margin-left: 0 !important;
		margin-right: 15px;
	}
}


/* Flex Columns */
.row.is-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.is-flex > [class*='col-'] {
    display: flex;
    flex-direction: column;
}
.row.is-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.row.is-flex > [class*='col-'] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}


/* Vertical centering */
.parent {
  position: relative;
}
.child {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}


/* Responsive youtube video container */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* The Overlay (background) */
.overlay {
    height: 100%;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: -1; /* Sit on top */
    left: 0;
    top: 0;
    opacity: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.95); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


/* Seach Input */
.search-input {
	background: transparent;
	border: 0;
	border-bottom: 1px solid #eee;
	border-radius: 0;
	font-size: 180%;
	padding-left: 15px;
}
.search-input:focus {
	background: transparent;
	border-bottom-color: #4CAF50;
	color: white;
}


/* Featured Posts */
.featured-posts-container {
	padding: 5px 0 40px;
}
.featured-post {
	padding: 0;
}
.featured-post-card {
	background: #f8f8f8;
	border-bottom: 1px solid #eee;
	padding: 0 0 5px;
	margin-right: 1px;
}
.featured-post-title {
	font-size: 120%;
	position: relative;
	top: 6px;
	left: 10px;
}
.featured-post-category {
	font-size: 80%;
	position: relative;
	top: 2px;
	left: 10px;
}