/*
	Theme Name:   1FCS
	Theme URI:    http://www.1fcs.com/
	Description:  A Child Theme built for Forefront Construction Services
	Author:       SDA Creative
	Author URI:   http://sdacreative.com
	Template:     Divi
	Version:      1
	License:      GNU General Public License v2 or later
	License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
body { font-family: 'Muli', sans-serif !important; }
h1,h2,h3,h4,h5,h6, #fcs-tagline { font-family: 'Titillium Web', sans-serif !important; font-weight: 700;}

/* top black bar */
#top-header {
	/* padding-top: 1em; */
	/*padding-bottom: 1em;*/
	border-bottom: 1px solid #3c3c3c;
}

#et-info { float: none; }
#license { margin-right: 13px; }
#fcs-tagline {
	text-align: center;
	text-transform: uppercase;
	color: white;
	font-size: 1rem;
}
#fcs-tagline > span { color: #2892d6; font-weight: 700;}

/* main navigation */
.et_header_style_left .et-fixed-header #et-top-navigation,
.et_header_style_split .et-fixed-header #et-top-navigation { padding-top: 15px !important; }
#top-menu li.current-menu-item a,
#top-menu li.current-menu-item a {
	border: 1px solid #fff;
	padding: 1em !important;
}
#top-menu li.featured-item a {
	background-color: #4192D8;
	padding: 1em !important;
	color: #fff !important;
	font-size: 12px !important;
}
#et-info-email:hover,
#et-secondary-menu > ul > li > a:hover,
#top-menu-nav > ul > li > a:hover,
.et-social-icons a:hover { opacity: 1; color: #fff; }


/* footer */

#footer-widgets .footer-widget li { padding: 0; }
#footer-widgets .footer-widget li::before {border: none;}
#footer-bottom {
	padding: 2rem 0;
	color: #767676;
	font-size: .85rem;
}
#footer-bottom > div { border-top: 1px solid #353535; padding-top: 1rem; }


/* Caldera Form overrides
*************************************************************/
.caldera-grid input,
.caldera-grid textarea { font-size: 1.2rem !important; }

.caldera-grid input[type="text"],
.caldera-grid input[type="email"],
.caldera-grid textarea {
	border-color: #dedede;
	padding: 5px 10px 5px;
}
.caldera-grid input[type="text"]:focus,
.caldera-grid input[type="email"]:focus,
.caldera-grid textarea:focus {
	border-color: #aaa;
}
.caldera-grid .help-block > span { font-size: 1rem; font-style: italic;}



/* slider controllers */
.fcs-slider .et_parallax_bg { opacity: 0.2;}
.fcs-slider .et-pb-controllers a {
    width:15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #000;
    transition: background-color 0.1s ease-in;
}
.fcs-slider.et_pb_bg_layout_light .et-pb-arrow-next,
.fcs-slider.et_pb_bg_layout_light .et-pb-arrow-prev {
	background-color: #000000;
	color: #fff !important;
    border-radius: 50%;
}
.fcs-slider.et_pb_bg_layout_light .et-pb-controllers a { background-color: rgba(0,0,0,1);}
.fcs-slider.et_pb_bg_layout_light .et-pb-controllers a:hover { background-color: rgba(255,255,255,1);}
.fcs-slider.et_pb_bg_layout_light .et-pb-controllers .et-pb-active-control { border-color #000; background-color: rgba(0,0,0,0)!important; }


/* Custom CTA hover effect */
.cta-hover { position: relative; overflow: hidden; }

.cta-hover > .et_pb_promo {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50%;
}
.cta-hover > .et_pb_promo .et_pb_button {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.cta-hover > .et_pb_promo h3,
.cta-hover > .et_pb_promo p {
	-webkit-transform: translate3d(0,70px,0);
	    -ms-transform: translate3d(0,70px,0);
	        transform: translate3d(0,70px,0);
}
.cta-hover > .et_pb_promo h3 {
	transition: transform 0.35s;
}
.cta-hover > .et_pb_promo p {
	opacity: 0;
	transition: opacity 0.2s, transform 0.35s;
}

.cta-hover > .et_pb_promo .et_pb_promo_description { height: 100%; }
.cta-hover > .et_pb_promo { height: 100%; }
.cta-hover:hover > .et_pb_promo h3,
.cta-hover:hover > .et_pb_promo p {
	-webkit-transform: translate3d(0,20px,0);
	    -ms-transform: translate3d(0,20px,0);
	        transform: translate3d(0,20px,0);
}
.cta-hover:hover > .et_pb_promo p {
	transition-delay: 0.05s;
	opacity: 1;
}



/* FontAwesome fixes for Divi */
ul.fa-ul {
	padding-left: 0 !important;
	list-style: none !important;
}
ul.fa-ul li { margin-bottom: 10px;}

#top-header .notification * {
  text-align: center;
}

/* mobile only */
@media screen and (max-width: 767px) {
	div.et_pb_section.hide-bg-mobile.et_pb_section_1 {background-position: 100px 0; }
}

@media screen and ( min-width: 768px ) {
	#et-info,
	#fcs-tagline {
		float: left;
		width: 50%;
		text-align: left;
		padding: 8px 0 16px;
	}
	#et-info { text-align: right; }
}
@media screen and (min-width: 981px) {
	#main-header {
		top: 66px!important;
	}
	#logo { max-height: 37% !important; }
	#top-menu li { padding-right: 10px; font-size: 10px;}
	.et_header_style_left .et-fixed-header #et-top-navigation {  margin-top: 24px; }
}
@media screen and (min-width: 1200px ) {
    #logo { max-height: 65% !important; }
}
@media screen and ( min-width: 1600px ) {
	#top-menu li.featured-item { margin-left: 5em !important;}
}
