/*

Theme Name: Midden Layers

Description: Custom made theme for Corn Island

Version: 1.1

Author: newbabyfly


*/

/* ------------------ Global Stlyes -------------- */

* {
	margin: 0;
	padding:0;
	box-sizing: border-box;
	}

 
body {
	font:11pt/1.5em arial, san-serif;
	margin:0 auto;
	text-align:left;
	color:#000;
	}


.center {text-align:center;}

.break {clear:both !important;}

.hrlight {
	background:#fff;
	margin-top:25px;
	margin-bottom: 25px;
	width:100%;
}

.hrdark {
	background:#990000;
	border:1px solid #990000;
	margin-top:35px;
	margin-bottom: 35px;
	width:100%;
}

/*---------------  Headers/Text ---------------- */

h1 {
	font-family: 'Libre Baskerville', serif;
	font-weight: 400;
	font-size: 2em;
	display:block;
	width:100%;
	margin-bottom:25px;
}

h2 {
	font-family: 'Libre Baskerville', serif;
	font-weight: 400;
	font-size: 1.7em;
	display:block;
	width:100%;
	margin-bottom:25px;
}

h3 {
	font-family: 'Libre Baskerville', serif;
	font-weight: 400;
	font-size: 1.4em;
	display:block;
	width:100%;
	margin-bottom:20px;
}

p {
	margin-top: 0 !important;
	margin-bottom:20px;
}

.smtext {
	font-size:.8em;
	line-height: 1.4em;
}


.light {
	color:#fff;
}

.widgettitle {margin-bottom:30px;}



/* -------------------- <a> ----------------------*/

a {
	color:#990000;
	text-decoration:none;
}

a:hover {
	color:#cc0000;
	text-decoration:none;

}

.boldlink a {
	display:block;
	width:100px;
	height:30px;
	color: #fff;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	padding: 6% 10%;
	font-size:1.2em;
	background: #990000;
	}

.lightlinks a {
	color:#fff;
	font-weight:bold;

}

.btn-default { background: #990000; color:#fff; }

.btn-default:hover {
	background: #d20000;
	color:#fff;
	text-decoration:none;
}

.more-link {margin-left:20px;}

#nav-below { width: 100%;}

.nav-previous {display: inline-block; float:left;width:50%;}
.nav-next  {display:inline-block;width:50%; text-align:right;}
.material-icons { position:relative;top:8px;padding:5px;}


/* -------------------- <img>  ----------------------*/

 img {
	max-width:100%;
	height:auto;
	margin:0 0 2% 0;
	padding:0;
	}

.lightborder, .pr-spotlight img {
	border: 3px solid white !important;
	border-radius: 50px 20px;
}

.roundedcorner {
	border-radius: 10px;
}


/* --------------------- <ul> ---------------- */

ul  { list-style-type:none;}

li {margin-bottom:.2em;}

.lineup li {display:inline;padding:5px;}

.lineupright li { display:inline;float:right;list-style-type:none;margin-left:15px;margin-bottom:8px;}

.lineupleft li { display:inline;float:left;list-style-type:none;margin:0;}

.bullet li { list-style-type:square;padding-left:6px;margin:0 0 8px 10px;float:none;}

.icon img {
	width:30px;
	height:30px;
	opacity: 0.8;
  filter: alpha(opacity=80); /* For IE8 and earlier */
}

.float { display:inline;}

.floatleft {
	display: inline;
	float: left;
	margin: 0 20px 10px 0;
}


.floatright {
	display: inline;
	float: right;
	margin: 0  0 10px 20px;
}

/*---------------------------- HEADER --------------------*/

#header {
	display:block;
	width:100%;
	padding:0;
	margin:0 0 150px 0;
	background: url("img/bg-header.png") no-repeat right bottom;
	background-size:cover;
}



#topsocial {
	display:inline;
	float:right;
	text-align:right;
	font-size:.9em;
	padding:15px;
}

#topcontact {
	padding:15px;
}


/*-------------------- Flexbox --------------------------*/

.content-wrapper {
	margin-top:60px !important;
	z-index: 100px;
}


.container-fluid {
	display:inline-flex;
	flex-wrap:wrap;
 	align-content: stretch;
 	text-align:left;
}

.container-interior {
	display:inline-flex;
	flex-wrap:wrap;
 	align-content: stretch;
 	text-align:left;
 	margin: 20px 1% 20px 1%;
 }


.content-placement {
	padding:0 15px 50px 15px;
}


.dkbg {
	background:#f04d00;
	color:#fff;
	padding:25px;
}

.entry-title {
	margin-top:20px;
	text-align:center;
}


/*------------------ Main content Areas ------------------------------*/



#myCarousel {
	max-height:350px;
	overflow: hidden;
}

.carousel-inner {
	height:350px;
}

.carousel-inner img {
	width: 100%;
	height:auto;
}



#maincontent {
	width:100%;
	color:#fff;
	background: url("img/bg-maincontent.png") #f04d00 no-repeat right top;
	background-size:cover;
	position:relative;
	padding-bottom: 50px;
}

.maindivide {
	display:block;
	width:100%;
	height:70px;
	background: url("img/bg-maindivide.png")  no-repeat center top;
	position:absolute;
	top:0;
	z-index:99;
}

.mainwrap {
	margin-top:120px;
}



.title-intro {
	display:none;
}

.btn {
	margin-top:10px;
	margin-bottom: 10px;
}

.intro {
	font-size: 1.3em;
	line-height: 1.6em;
}

.feature-placement {
			width:100%;
			display:block;
			background: rgba(63, 24, 3, 0.6);
			padding-bottom:50px;
			padding-top:50px;
		}

.currentevents {
			background:none;
			margin-bottom:0;
			padding-bottom:50px;
			display:block;
		}


.seconddivide {
	width:100%;
	height:80px;
	background: url("img/bg-seconddivide.png") no-repeat left top;
	position:relative;
	z-index:30;
	top:-70px;

}


#secondarycontent {
	background: url("img/bg-secondarycontent.png")  no-repeat right top;
	background-size:cover;
	color:#fff;
	position:relative;
	padding:50px 0 0 0;
	top:-70px;
	text-align:center !important;
}


.blog #secondarycontent, .single #secondarycontent, .archive #secondarycontent, .single-portfolio_project #secondarycontent
{
 	top:0 !important;
 	padding-top:140px;
 }

.orglogos img {
	max-width: 90px;
	height:auto;
	margin-bottom:15px;
}

.orglogos li {
	display:inline;
	width:50%;
	padding: 4px;
	margin-bottom:10px;
}

.contact-meta {
 	text-align:center !important;
 	padding-top:0 !important;
 	margin-top:0 !important;
 }


.contact-meta img {
	max-width:55%;
	margin-bottom:10px;
}



/*------------------- Page Specific Stlying -------------------------*/


.title-page {
	display:block;
	width:100%;
	margin-bottom:20px;
}


.biopic img {
		display:inline;
		float:left;
		margin: 0 20px 20px 0;
		border-radius: 50px 20px;
}


/*----------------- blog ---------------*/

.blogroll {
	width:85%;
	margin: 0 auto;
	/*border-top:3px solid #990000;*/

}

.newslist h2 {
	text-align:left;
	margin-top:0;
}

.newslist img {
	display: inline;
	float: left;
	margin: 0 20px 10px 0;
	border-radius: 50px 20px;
}

article {
	margin-bottom: 60px;
}

.entry-meta {
	background: url("img/bg-maincontent.png") #f04d00 no-repeat center top;
	background-size:1000px auto;
	padding:20px;
	border-radius: 0 20px;
}

.entry-footer {
	clear:both;
}

.singlepost {
	padding-bottom:100px;
}

/* .single #secondarycontent {
	margin-top:50px;

}

.single .maindivide {
	margin-bottom:60px;
} */


/* --------------- Projects -----------------------*/
.grid {
	display:inline-flex;
	flex-wrap: wrap;
	margin:0 auto !important;
	align-content: stretch;

}

.single .nice-portfolio-project {
	padding:0 !important;
	margin:0 !important;
}

.nice-portfolio-project-title {
	text-align:center;
}

.item {
	display:inline-block;
	float:left;
	padding: 20px !important;
}

.project-featured-img, .featured-image {
	width:100%;
	height:150px;
	overflow: hidden;
	border-radius: 10px;
}

.project-featured-img img {
	width:100% !important;
	height: auto !important;
}

.nice-portfolio-project-title {
	margin:20px 0 10px 0;
	border-top: 2px solid #990000;
}


.single .featured-image {
	display:block;
	width:100%;
	max-height: 70vh;
	border-radius: 15px;
	overflow:hidden;
}

.single .featured-image img {
	width:100% !important;
	height: auto !important;
}

.single #nice-portfolio-project-details {

	display:block;
}

.single #nice-portfolio-project-gallery {
		padding-top:30px !important;
}

.gallery-item {
	max-width:30%;
	margin:5px;

}

.gallery-item img {
	width:100%;
	height:auto;
}

/* ----------------------- Sidebars ------------------*/
.nice-portfolio-widget-box .post-excerpt {
	max-width:50%;
}

.recent-project-wrapper .wp-post-image {
	height:150px;
	border: 3px solid white;
	margin: 0 20px 15px 0;
	border-radius: 50px 20px;
}


/*--------------- footer ------------------*/

.footercap {
	display:block;
	width:100%;
	height:50px;
	background: url("img/bg-footercap.png")  no-repeat center bottom;
	background-size:cover;
	margin-top:50px;
	z-index:99;
}

#footer {
	text-align:center;
	position:relative;
	top:-60px;
}

.blog #footer {
	top:0 !important;
	padding:20px 0;
}


/*----------------- Nav -------------------- */

#mainmenu {
	height:90px;
	background: #2f0f00;
	background: url("img/bg-mainmenu.png") no-repeat center top;
	background-size:cover;
	position:relative;
}

.navbar {
	background:none;
	max-height:80px;
	z-index:99;
}

.navbar a {
	color:#dedede;

}

.navbar-nav {
	width: 100%; /* 1000 */
	max-height:50px;
	margin-top:60px;
	font-family: 'Libre Baskerville', sans-serif;
	font-weight: 700;
	font-size: 1.6em;
	justify-content: center;

}

.dropdown-menu {
	position:relative;
	top:40px;
	background:#2f0f00;
}

.nav-link {
	color:#fff;
}

.dropdown-menu a {
	color:#fff;
}


.dropdown-menu a:hover {
	color:#e94a00;
}

.dropdown-menu a:hover {
	background:#e94a00;
	color:#fff;
}


/*------------------ Forms -------------------*/
label {
	width:100%;
}

input, textarea {
	min-width:100%;
	padding:1%;
	border:1px solid #ccc;
	border-radius: 10px;
}

textarea {
	height:150px;
}

.wpcf7-submit {
	margin-top:10px;
	background: #f04d00;
	color:#fff;
	font-weight:bold;
	padding:10px;
	border:none;
	border-radius: 10px;
	cursor:pointer;
}