/*!
Theme Name:   Kokosing Materials Child Theme
Theme URI:    http://kokosingmaterials.kokosinginc.com
Description:  A theme built for Kokosing Materials, Inc. by Clutch Interactive
Author:       Clutch Interactive
Author URI:   http://meetclutch.com/
Template:     kokosing
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  kokosing-materials

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

h2, h3, h4 {
    color: #404040;
}

h2 {
    font-size: 5.5em;
}
	.home .title-separator,
	.title-separator {
		display: none !important;
	}

h3 {
    font-size: 3.6em;
    margin: 0 0 20px 0;
}

h4 {
    font-size: 3.6em;
}

p {
	font-size: 1.6em;
}

.kmi-subtext p {
	margin-top: 0;
	font-size: 35px;
}

.home .vc_column_container>.vc_column-inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.large-footer {
	margin-top: 0;
}

.home .vc_column_container {
	margin: 0 0 40px 0;
}

.home h2 {
	line-height: 1.2em;
	margin: 0 0 40px 0;
}

.product-tiles {
	margin: 0 auto;
}

.product-tiles .vc_column_container>.vc_column-inner {
	padding-left: 5px !important;
	padding-right: 5px !important;
}

/* Kokosing Template - Full-width ;arge Feature image on left and header with text block on right,
header with text block and Kokosing Orange button on left and large, full-width feature image on right. */ 

.asphalt-overlay {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

.asphalt-calculator {
	display: none;

	position: fixed;
	max-width: 50%;
	background: #fff;
	top: 20%;
	left: 25%;
	padding: 60px;
	z-index: 999;
	-webkit-box-shadow: 1px 1px 20px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 1px 1px 20px 0px rgba(0,0,0,0.75);
			box-shadow: 1px 1px 20px 0px rgba(0,0,0,0.75);
}

	.asphalt-calculator .close-btn {
		position: absolute;
		top: 20px;
		right: 20px;
	}

		.asphalt-calculator .close-btn:hover {
			cursor: pointer;
		}

	.asphalt-calculator h3 {
		display: inline-block;
		border-bottom: 3px solid #f18903;
		padding: 0 50px 10px 0;
	}

	.asphalt-calculator .calculator-information {
		overflow: hidden;
		padding: 20px 0 0 0;
	}
		.asphalt-calculator .calculator-information:last-child {
			border-top: 1px solid #fafafa;
		}

	.asphalt-calculator .calculator-information p {
		margin: 0;
		overflow: hidden;
	}

	.asphalt-calculator .calculator-information .asphalt-button {
		margin: 20px 0 20px 20px;
		padding: 1px 0 0 0;
	}

	.asphalt-calculator .calculator-information span {
		float: left;
	}

	.asphalt-calculator .calculator-information input {
		font-size: 16px;
		float: right;
		height: 35px;
	}

/* HOME */

.home .vc_col-sm-3 {
	width: 48%;
	float: left;
	margin: 0 5px 5px 0;
}



.koko-left-image .vc_column_container:first-child .vc_column-inner,
.koko-right-image .vc_column_container:last-child .vc_column-inner {
    padding: 0;
}

.koko-right-image {

}

.koko-right-image {
    background-size: 50%;
	background-position: center right;
	background-repeat: no-repeat;
}

.koko-left-image {
	background-size: 50%;
	background-position: center left;
	background-repeat: no-repeat;
}

.koko-left-image .wpb_single_image,
.koko-right-image .wpb_single_image {
    margin-bottom: 0;
}

.koko-left-image .vc_column_container:last-child .vc_column-inner,
.koko-right-image .vc_column_container:first-child .vc_column-inner {
    padding: 0 30px;
}

/* Kokosing 2 column, text Template */
.koko-text-container {
    margin: 60px 0;
    /*overflow: hidden;*/
}

/* Kokosing centered Title and content Template */
.koko-centered-container {
    margin: 0 0 60px 0;   
}

/*Custom*/
.post-type-archive .max-container, 
.post-type-archive .full .entry-content {
	overflow: hidden;
}

/*Google Maps custom styles*/
#map-canvas {
	height: 100%;
	margin-bottom: 40px;
}

.gm-style .gm-style-iw {
	font-size: 16px;
}

.gm-style-iw {
	font-size: 16px;
	background: #404040;
}

	#iw_container {
		padding: 75px 45px 35px 45px;
		color: gray;
	}

	.iw_title {
		font-size: 38px;
		font-weight: bold;
		color: gray;
		text-transform: uppercase;
		padding: 0 0 10px 0;
		border-bottom: 4px solid #f18903;
	}

	.iw_content {
		padding: 15px 15px 15px 0;
	}

	.iw_content a.more-button {
		font-size: 16px;
	}

.acf-map {
	width: 100%;
	height: 400px;
	margin-bottom: 90px;
	border: #ccc solid 1px;
	margin: 20px 0;
}
	.home .acf-map {
		height: 650px;
		margin-bottom: 80px;
	}

	.contact .acf-map {
		width: 250px;
		height: 250px;
		border: none;
		margin: 20px 0;
	}



/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

/*Contact Us*/
@media screen and (min-width:48em) {
	.contact .contact-container {
		width: 25%;
		margin: 0 auto;
	}
}
	.contact .orange {
		color: #f18903;
	}



/* KMI Tile Button*/
.kmiproduct-button {
	width: 100%;
	min-height: 153px;
	text-align: center;
	margin: 0 auto;
	padding: 25px 20px;
	background: #f18903;
		background: -moz-linear-gradient(top, #f18903 0%, #eb6501 100%);
		background: -webkit-linear-gradient(top, #f18903 0%,#eb6501 100%);
		background: linear-gradient(to bottom, #f18903 0%,#eb6501 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f18903', endColorstr='#eb6501',GradientType=0 );
	display: table;
}
	.kmiproduct-button:hover {
		text-decoration: none;
		cursor: pointer;
		background: #404040;
	}

.kmiproduct-container {
	display: table-cell;
	vertical-align: bottom;
}

.kmiproduct-container span {
	color: #fff;
	font-family: "Effra", "open sans", sans-serif;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 1em;
	display: block;
	
}
	.kmiproduct-container span:last-child {
		font-size: 16px;
		border-top: 2px solid #ffffff;
		margin: 10px 0 0 0;
		padding: 10px 0 0 0;
		font-family: "open sans", sans-serif;
	}

a.more-button {
	padding: 0 20px;
	width: auto;
	display: inline-block;
	font-family: "Effra", "open-sans", sans-serif;
	font-size: 1.8em;
	letter-spacing: 1px;
}

.featured-header, 
.featured-header-slider {
	background-position: center;
}

.featured-header .title-stack h1, .featured-header-slider .title-stack h1 {
	max-width: 100%;
}

.title-stack.center-vertical {
	width: 100%;
	text-align: center;
}

.centered-header {
	border-bottom: none;
}

.title-separator {
	width: 150px;
    height: 8px;
    margin: 10px auto 0;
    background-color: #f5911d;
}

/* KMI 2 columns */


.google-acfmap {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px auto;
}

.google-acfmap .location-image {
    width:100px;
    height:auto;
    float:left;
    margin-right: 15px;
}

/** FIX for Bootstrap and Google Maps Info window styes problem **/
img[src*="gstatic.com/"], img[src*="googleapis.com/"] {
    max-width: none;
}

.market-block.header-block {
	float: left;
	overflow: hidden;
}

.block-container {
	float: left;
	width: 100%;
	overflow: hidden;
}

.service-block {
	min-height: 193px;
	width: 19.3em;
	margin: 2em auto;
	float: none;
}

.service-block a {
		padding-top: 4em;
	}

	.service-block a h5 {
		font-size: .85em;
	}

.main-navigation {
	height: 9em;
}

.main-navigation .main-navigation--logo img {
	height: 77px;
}

.small-footer .footer-logo img {
	width: 21.5em;
}

.capabilities-listed a {
	display: block;
}

/*Products*/
.products-header,
.products-container,
.products-container ul>li {
	overflow: hidden;
	list-style-type: none;
}

/* Locations */

.single-locations .entry-content,
.single-locations .sidebar {
	margin-bottom: 40px;
}


.single-locations .entry-content.locations-full-width {
	width: 100%;
	border-right: none;
}

.single-locations .medium-block--quarters {
		background: transparent;
	}

.single-locations .locations-tiles strong {
	text-transform: uppercase;
}

.single-locations .locations-plant-content {
		background: #404040;
		color: #fff;
		clear: both;
}

	.locations-plant-content .locations-plant-info {
		padding: 75px 45px 0;
	}

		.locations-plant-info h4 {
			color: #fff;
			padding: 0 0 5px 0;
			border-bottom: 4px solid #f5911d;
		}

		.locations-block a h5 {
			color: #F0931E;
		}

		.locations-plant-info p {
			line-height: 1.3em;
		}

	.locations-plant-content .locations-map-container {
	
	}

.locations-landing-blocks h6 {
	font-size: 1.3em;
	line-height: 1;
	margin: 0;
}
.locations-landing-blocks p {
	margin-top: 0;
	font-size: 1.6em;
}

.locations-landing-blocks .products-availble {
	font-size: 1.6em;
	text-transform: uppercase;
}

	.locations-landing-blocks ul {
		padding: 0;
		margin: 0;
		list-style-type: none;
	}

.scroll-callout {
	display:block;
	padding: 20px 0;
	margin-top: 0;
}

.scroll-callout.dark-bar {
	background-color:#222;
}

.scroll-callout:hover {
	text-decoration:none;
}

.scroll-callout h5 {
	letter-spacing: 1px;
}

.kmi-footer-logos {
	overflow: hidden;
	padding: 0;
	margin: 0;
}

.kmi-footer-logos li {
	list-style-type: none;
	float: left;
	text-align: center;
	max-width: 80px;
	margin: 15px 15px 0 15px;
}
.kmi-footer-logos li:first-child {
	margin: 15px 15px 0 0;
}

.kmi-footer-logos li:last-child {
	margin: 15px 0 0 15px;
}

.market-contact .phone-block a {
	font-size:0.9em !important;
}
.market-contact + .market-contact {
	margin-top: 3rem;
}

@media (min-width: 30em) {
    .rev_slider h1 {
        font-size:50px !important;
    }
}

@media (min-width: 48em) {
	h5 {
		font-size:2.2em;
	}

    .rev_slider h1 {
        font-size:75px !important;
    }

	/*Homepage*/
	.large-footer,
	.search-bar-container,
	.sidebar,
	.small-container,
	.small-footer {
		padding-left: 6.5em;
		padding-right: 6.5em;
	}

	.small-footer > p{
		float:right;
		clear:right;
	}

	p {
		font-size: 2em;
		margin-bottom: 1em;
		line-height: 1.5em;
	}

	/*Home and new global changes*/
	.title-stack.center-vertical {
		top: 205px;
	}

	.home .small-container {
		margin-top: 0;
	}

	.hermes.tp-bullets {
		top: 90% !important;
	}

	.post-type-archive .max-container, 
	.post-type-archive .full .entry-content {
		padding: 0 0 50px 0;
	}

	.home .max-container {
		margin-top: -80px;
	}

	.max-container,
	.full .entry-content {
		margin-top: -220px;
		background: #fafafa;
		padding-bottom: 50px;
	}

	.products-landing {
		overflow: hidden;
	}

		.products-landing .products-container {
			background: #fff;
		}

	.post-type-archive .max-container,
	.post-type-archive .full .entry-content {
		margin-top: auto;
	}

	/* KMI Tile Button*/
	.kmiproduct-button {
		width: 100%;
		max-width: 275px;
		min-height: 157px;
		text-align: center;
		padding: 25px 30px;
		background: #f18903;
			background: -moz-linear-gradient(top, #f18903 0%, #eb6501 100%);
			background: -webkit-linear-gradient(top, #f18903 0%,#eb6501 100%);
			background: linear-gradient(to bottom, #f18903 0%,#eb6501 100%);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f18903', endColorstr='#eb6501',GradientType=0 );
		display: table;
	}
		.kmiproduct-button:hover {
			text-decoration: none;
			cursor: pointer;
		}

	.kmiproduct-container {
		display: table-cell;
		vertical-align: bottom;
	}

	.kmiproduct-container span {
		color: #fff;
		font-family: "Effra", "open sans", sans-serif;
		text-transform: uppercase;
		font-size: 24px;
		line-height: 1em;
		display: block;
		
	}
		.kmiproduct-container span:last-child {
			font-size: 20px;
			border-top: 2px solid #ffffff;
			margin: 10px 0 0 0;
			padding: 10px 0 0 0;
			font-family: "open sans", sans-serif;
		}

	/* Locations */

	.locations-landing-blocks {
		width: 30%;
		/*padding: 30px 55px 0;*/
		max-height: 800px;
		background: #fafafa;
		overflow-y: scroll;
		float: left;
	}

		.locations-landing-blocks h4 {
			padding: 35px 50px;
			border-bottom: 1px solid #E6E7E8;
		}

		.locations-block {
			padding: 35px 55px 30px;
			border-bottom: 1px solid #E6E7E8;
		}

			.locations-block:last-child {
				border-bottom: none;
			}


	.map-container {
		width: 70%;
		float: right;
	}

	.search-landing.max-container,
	.search-results .max-container {
		margin-top: 0;
		background: transparent;
	}

	.search-container {
		float: right;
		overflow: hidden;	
	}

	.search-content {
		float: left;
	}

	.search-landing {
		padding-bottom: 0;
	}

	.search-landing .entry-header {
		padding: 6em;
	}

	.search-landing h1 {
		font-size: 7.2em;
    color: #ffffff;
    padding: 0 0 60px 0;
    text-align: center;
	}

	.large-footer .main-navigation-footer .menu {
		height: 290px;
	}


	.market-block.header-block {
		width: 26.5em;
	}

	.market-block {
		width: 19.25em;
	}

	.market-block a {
		padding-top: 7em;
	}

	.market-block a h5 {
		font-size: 0.85em;
	}

	.market-block .market-icon {
		padding-top: 20%;
	}

	.market-icons {
		width: 80%;
		margin: 0 auto;
		-webkit-justify-content: inherit;
		justify-content: inherit;
	}

	.market-icons .market-icon {
		max-width: 100%;
		width: 122px;
	    display: block;
	    float: left;

	}

	.market-icons .market-icon a {
		display: block;
	}

	/* KMI 2 columns */
	.vc_row-has-fill+.vc_row.kmi-two-column >.vc_column_container>.vc_column-inner {
		padding-top: 0;
	}

	.kmi-two-column .vc_col-sm-6 {
		padding: 0 50px 0 0;
	}
		.kmi-two-column .vc_col-sm-6:last-child {
			padding: 0 0 0 50px;
			border-left: 1px solid #bcbec0;
		}

	.kmi-two-column h4 {
		margin-top: 0;
	}

	.locations-plant-content .locations-plant-info {
		width: 35%;
		float: left;
	}

	.single-locations .locations-map-container {
		width: 65%;
		float: left;
	}

	.single-locations .sidebar .market-contact {
		width: 50%;
		float: left;
		margin-top: 0;
		margin-bottom: 3rem;
	}

	.single-locations .acf-map {
		margin-top: 0;
		margin-bottom: 0;
		border: none;
	}

	.single-locations .medium-block--quarters {
		width: 34.5%;
	}
		.single-locations .medium-block--quarters:last-child {
			margin-right: 0;
		}

}

@media (min-width: 64em) {

	h2 {
    	font-size: 5.5em;
	}

	h3 {
	    font-size: 4.8em;
	}

	h4 {
	    font-size: 3.6em;
	}

		.title-separator {
			display: block !important;
		}

	a.more-button {
		font-size: 2em;
	}
	
	.home .vc_column_container {
		margin: 0;
	}

	.main-navigation ul {
		padding: 31px 0 0 0;
	}
	.main-navigation li {
		font-weight:bold;
	}
	.featured-location {
		width: 100%;
	}

	.entry-content.no-border {
		width: 100%;
		border-right: none;
	}

	.home .vc_column_container>.vc_column-inner {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.home .vc_col-sm-3 {
		width: 25%;
		float: left;
		margin: 0 auto;
	}

	/*Products - single page*/

	.kmibutton-container {
		overflow: hidden;
	}

		.kmibutton-wrap {
			max-width: 65%;
			margin: 0 auto;
			overflow: hidden;
		}

		.kmibutton-wrap .medium-block--quarters {
			width: 31.6%;
			background: transparent;
		}
			.kmibutton-wrap .medium-block--quarters:last-child {
				margin-right: 0;
			}

	/*Contact Us*/
	.contact .contact-container {
		width: 100%;
		max-width: 30%;
		float: left;
	}

	.contact .contact-form-container {
		width: 100%;
		max-width: 65%;
		float: right;
	}

	.contact .contact-map-container {
		border-right: 1px solid #bcbec0;
	}

	/* KMI 2 Column paragraphs - wraps*/
	.text-2-column {
	-webkit-columns: 2 150px;
		-moz-columns: 2 150px;
			columns: 2 150px;
	-webkit-column-gap: 150px;
		-moz-column-gap: 150px;
			column-gap: 150px;
	-webkit-column-rule: 1px solid #bcbec0;
		-moz-column-rule: 1px solid #bcbec0;
				column-rule: 1px solid #bcbec0;
	}

		.text-2-column p {
			margin-top: 0;
		}


		.single-locations .max-container {
			display: flex;
			flex-wrap: wrap;
		}
		.single-locations .locations-plant-content {
			width: 100%;
			flex-grow: 1;
		}

		.single-locations .sidebar .market-contact {
			width: 100%;
			float: none;
			margin-bottom: 0;
		}
		.single-locations .sidebar .market-contact + .market-contact {
			margin-top: 3rem;
		}
}

@media (min-width: 75em) {

	.featured-header .title-stack p {
		margin: 0 auto;
	}

	.site-content {
		margin-top: 9em;
	}

	.market-icons .market-icon {
		margin: .5em .5em 1em;
	}

	.market-icons .market-icon:nth-child(7) {
		margin: .5em 0 1em 5em;
	}

	.block-container { 
		max-width: 75%;
	}
	.service-block {
		min-height: 193px;
		width: 19.3em;
		margin: 1.5em;
		float: left;
	}

	.service-block a {
		padding-top: 4em;
	}

	.service-block a h5 {
		font-size: .85em;
	}

	.medium-block--quarters.market-contact {
		width: 30.33%;
	}
	
	.contact .market-contact img {
		width: 100%;
	}

	.contact-full-container {
		padding: 0 3em;
	}

	.entry-content {
		padding-left: 7em;
		padding-right: 8em;
	}

	.entry-content ul.products-header {
		width: 100%;
		margin-left: 0;
		font-weight: bold;
		text-transform: uppercase;
		background: #404040;
		padding: 35px 0 30px;
		color: #fff;
		display: table;
	}

		.products-header li {
			font-weight: bold;
			font-size: 26px;
			width: 25%;
			text-align: center;
			display: table-cell;
			vertical-align: middle;
			line-height: 1.2em;
		}

	.entry-content .products-container {
		margin-left: 0;
		padding: 0;
	}

	.products-container li>ul {
		margin-left: 0;
		padding-left: 0;
		padding-right: 0;
		overflow: hidden;
	}

	.products-container ul>li {
		width: 25%;
		padding: 25px 0 10px;
		border-right: 4px solid #fff;
		text-align: center;
		float: left;
		display: block;
	}

		.products-container > li:nth-child(even) {
			background: #fafafa;
		}

	.products-container ul>li:first-child {
		padding: 24px 0 24px 22px;
		color: #f18903;
		font-weight: bold;
		text-align: left;
		text-transform: uppercase;
	}

	.products-container ul>li:last-child {
		border-right: none;
	}

	.products-container li img {
		width: 10%;
	}

	/* Contact */

	.form-container {
		display: block;
		overflow: hidden;
	}

		.form-container span p {

		}



	.contact-form-container form p {
		width: 50%;
		float: left;
	}

	.contact-form-container form p:last-of-type {
		position: absolute;
		width: 100%;
		margin: auto;
		text-align: left;
	}


		.contact-form-container form input[type=submit] {
			height: auto;
			float: right;
		}

		/*.contact-form-container form .full-form-container p {
			width: 100%;
			float: none;
		}*/

		.request-quote-container {
			float: left;
			padding: 0 56px 0 0;
			width: 40%;
			border-right: 1px solid #404040;
		}

		.request-quote {
			padding: 0 0 0 56px;
			width: 60%;
			float: left;
		}
			.request-quote .form-container p {
				float: left;
				width: 48%;
				margin: 0 20px 0 0;
			}
				.request-quote .form-container p:last-child {
					margin: 0;
				}

			.request-quote .form-container input {
				width: 100%;
				height: 35px;
			}

			.request-quote .full-form-container select {
				    width: 100%;
				    font-size: 16px;
				    height: 35px;
			}

			.full-form-container p:last-child {
				float: right;
			}

	.kmi-footer-logos {
		overflow: hidden;
		padding: 0;
		margin: 0;
	}

	.kmi-footer-logos li {
		list-style-type: none;
		float: left;
		text-align: center;
		max-width: 80px;
		margin: 15px 15px 0 15px;
	}
		.kmi-footer-logos li:first-child {
			margin: 15px 15px 0 0;
		}

		.kmi-footer-logos li:last-child {
			margin: 15px 0 0 15px;
		}

}