/*
Theme Name: NineZeroSeven
Theme URI: http://www.webcreations907.com
Author: webcreations907
Author URI: http://themeforest.net/user/webcreations907
Description: One Page Parallax Theme ~ If you need support please use the <a href="http://support.webcreations907.com/">Theme's Support Forum</a>
Version: 3.1.16
License: GNU General Public License
License URI: license.txt
Tags: black,white,orange,custom-background,custom-colors,featured-images,full-width-template,theme-options,translation-ready,left-sidebar,right-sidebar
*/

/************************************************************************
* WARNING: If you add override styles here it will get overwritten 
* when you update the theme to newer versions. 
*
* You should use the Custom CSS field in the Theme Options panel, or 
* use a child theme which you'll find a starter child theme in the 
* download pack.
*************************************************************************/

/* m21 tweaks */
.aligncenter {margin-left: auto;margin-right:auto;}
p {
	line-height: 1.4;
}
img {
	height: auto;
}
.poh-button-inline {
	color: white;
	text-shadow: 1px 1px 0px black;
	display: inline-block;
	text-align: center;
	padding: 1rem;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	background-color: #991b1e;
}
.poh-button-inline:hover {
	background-color: #5f181a;
	color: white;
}
.two-up {
	width: 48%;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


/*.topBar, body {
	margin-top: 45px !important;
}
.topBar {
	height: 120px !important;
}*/
.banner-learn {
	font-size: 22px !important;
	text-transform: uppercase !important;
	text-decoration: underline !important;
	line-height: 1;
}
.ph-icon-strip {
	margin: 0 auto;
}
.ph-icon-strip .et_pb_column {
	margin-right: 2.1% !important;
}

#recent-news a {
	color: #991b1e !important;
}
#pre-footer a.et_pb_button {
	display: block !important;
	width: 250px !important;
}

.et_divi_builder #et_builder_outer_content .et_pb_blurb_position_left .et_pb_main_blurb_image {
	max-width: 100% !important;
	min-width: 80px;
}
.et_divi_builder #et_builder_outer_content .et_pb_blurb_position_left .et_pb_main_blurb_image img {
	width: 100% !important;
}
.gform_wrapper {
	color: #000 !important;
}
.gform_wrapper input, .gform_wrapper textarea {
	background: #e4e4e4 !important;
	border-color: #8b8b8b !important;
	color: #000 !important;
}
.gfield_label {
	text-align: right !important;
	color: black !important;
}
.gform_button {
	background-color: #991b1e !important;
	border: none;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	padding: .5rem 1.5rem;
	font-size: 1rem;
}
/* HUBSPOT */
.hbspt-form fieldset {
	width: 100% !important;
	max-width: 100% !important;
}
.hbspt-form input, .hbspt-form textarea {
	background: white !important;
	border: solid 1px #b8b8b8 !important;
	margin-bottom: 10px !important;
	width: 99% !important;
	max-width: 100% !important;
	padding: 5px !important;
}
.hbsp-form label {
	display: block !important;
}
.hbspt-form label span {
	font-weight: bold !important;
}
.hbspt-form .actions input {
	width: auto !important;
	color: white !important;
	background: #991b1e !important;
	padding: 10px !important;
	border: none !important;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}
ul.hs-error-msgs {
	padding: 0 !important;
	margin: -10px 0 10px !important;
	color: red !important;
}
.hbspt-form input.error, .hbspt-form textarea.error {
	border: solid 1px red !important;	
}
/* DIVI COLUMNS EXTENDED FIXES */

.et_pb_gutters3 .et_pb_column_1_6, .et_pb_gutters3 .et_pb_row .et_pb_column_1_6, body .et_pb_gutters3.et_pb_row > .et_pb_column_1_6 {
	width: 14.083% !important;
}
@media(max-width:980px){
	.ph-icon-strip .et_pb_column_1_6 {
		width: 50% !important;
	}
}




/* PULLED FROM THEME CSS FIELD */
nav.mainMenu ul li a {
    color: #b5b5b5 !important;
    display: block;
    font-size: 14px;
    padding-right: 18px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease-in 0s;
}
nav.mainMenu ul li ul {
    display: none;
    left: -10px;
    margin: 0;
    position: absolute;
}
element.style {
    cursor: auto;
}
body {
    color: #444;
    font-family: "Open Sans",sans-serif;
    font-size: 15px;
    line-height: 1.4em;
}
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}
*::-moz-placeholder {
    color: #72777c;
    opacity: 1;
}
nav.mainMenu {
    display: inline;
    float: left;
    margin-top: 55px;
}
.topBar {
    border-bottom: 0 solid #c8c8c8;
    min-height: 90px;
}
.alternate-bg2, .alternate-bg2 .titleBar h2, .alternate-bg2 .heading h1, .alternate-bg2 .heading h2, .alternate-bg2 .heading h3, .alternate-bg2 .heading h4, .alternate-bg2 .heading h5, .alternate-bg2 .heading h6 {
    background: #fff repeat scroll 0 0;
}
.titleBar span {
    color: #303030;
    display: block;
    font-size: 16px;
    font-weight: 300;
    margin-left: -10px;
    padding: 10px;

}
.container .column, .container .columns {
    display: inline;
    float: left;
}
p.form-submit input[type="submit"], a.main-btn, a.orange, .progress .orange, button.main-btn {
    background-color: #991b1e;
    border: 1px solid #991b1e;
}

.container .column, .container .columns {
    display: inline;
    float: left;
    margin-left: 3px;
}
.message {
    box-shadow: 0 0 0 #e6e6e6 !important;
    display: inline !important;
    margin: 20px 11px 0 0;
    padding: 0 0 0 35px;
    position: relative;
}
.widget a {
    color: #991b1e;
}
.hephaistos .tp-bullet {
    background: #fff none repeat scroll 0 0;!important;
    border: 0px solid #fff;!important;
    border-radius: 0;!important;
    box-shadow: 0 0 0 0 rgba(130, 130, 130, 0.3);!important;!important;
    box-sizing: content-box;!important;
    cursor: pointer;!important;
    height: 0;!important;
    position: absolute;!important;
    width: 0;!important;
}
div.pp_default .pp_description {
    font-size: 0;
    font-weight: 700;
    line-height: 14px;
    margin: 5px 50px 5px 0;
}
.pp_social .twitter {
    float: left;
    opacity: 0;
}
.pp_social .facebook {
    float: left;
    margin-left: 5px;
    overflow: hidden;
    width: 0;
}
div.pp_default .pp_nav .pp_play, div.pp_default .pp_nav .pp_pause {
    background: rgba(0, 0, 0, 0) url("../img/theme/sprite.png") no-repeat scroll -51px 1px;
    height: 0;
    width: 0;
}
div.pp_default a.pp_arrow_previous, div.pp_default a.pp_arrow_next {
    background: rgba(0, 0, 0, 0) url("../img/theme/sprite.png") no-repeat scroll -31px -3px;
    height: 0;
    margin: 4px 0 0;
    width: 0;
}
div.pp_default .pp_nav .currentTextHolder {
    color: #999;
    font-family: Georgia;
    font-size: 0;
    font-style: italic;
    left: 75px;
    line-height: 25px;
    margin: 0;
    padding: 0 0 0 10px;
    position: absolute;
    top: 2px;
}
.page-section {
    padding-bottom: 20px;
    padding-top: 20px;
}
.message {
    box-shadow: 0 0 0 #e6e6e6 !important;
    display: none;
    margin: 20px 11px 0 0;
    padding: 0 0 0 35px;
    position: relative;
}
.message {
    box-shadow: 0 0 0 #e6e6e6 !important;
    display: none !important;
    margin: 20px 11px 0 0;
    padding: 0 0 0 35px;
    position: relative;
}

.image-form p {
font-size: .9em;
}

.image-form iframe {
max-height: 250px;
}

.image-form form {
background: #D2D1E5;
min-height: 210px;
padding: 10px 15px;
}

.image-form form,
.image-form form p,
.image-form form input {
margin-bottom: 0 !important;
}

.image-form form input {
margin-bottom: 10px !important;
width: 100% !important;
}

.image-form form input[type="submit"] {
margin-bottom: 0 !important;
}

.image-form input[type="tel"] {
border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255,255,255,0.3);
    border-radius: 1px;
    color: #777;
    display: block;
    max-width: 100%;
    outline: medium none;
    padding: 10px;
}

@media only screen and (max-width: 500px) {
    .bullets td,
.image-form td {
display: block;
width: 100% !important;
}
}

.fa-rss {
padding-top:5px !important;
}

.fa-feed:before, .fa-rss:before {
content: url('/wp-content/uploads/2016/11/universal-blog-icon-3.png') !important;
}

/* SET MIN-HEIGHT FOR MOST INTERNAL SLIDESHOWS */
.et_pb_slide {
	min-height: 550px;
}
.et_builder_outer_content h4, .et_builder_outer_content h3 {
	color: #991b1e !important;
}
.et_divi_builder .et_builder_outer_content .et_pb_text_inner {
	line-height: 1.457 !important;
}
.et_divi_builder #et_builder_outer_content .et_pb_module .et_pb_text_inner a {
	color: #991c1f;
}


.proj-left,
.proj-right {
position: relative;
    min-height: 450px;
    max-height: 450px;
    overflow: hidden;
}

.proj-left .one-third,
.proj-left .two-thirds,
.proj-right .one-third,
.proj-right .two-thirds {
position: absolute;
}

.proj-left .two-thirds img,
.proj-right .two-thirds img {
width:75%;
}

.project .one-third {
	background-color: #203965;
	z-index: 99;
	padding: 20px 20px 30px;
    top: 50%;
    transform: translateY(-50%);
}

.project {
	margin-bottom: 3rem;
}
.proj-right .one-third {
	right:0;
}

.project .one-third h3,
.project .one-third li,
.project .one-third p,
.project .one-third a {
	color: white;
}

.project .one-third h3 {
	margin-bottom: 2.5rem;
}

.project .one-third li,
.project .one-third p {
	font-size: 1em;
	line-height: 1.5;
}
.headshot-blurb img {
	width: 200px !important;
	height: auto;
}

.et_divi_builder #et_builder_outer_content .et_pb_module p a:link {
	color: #991b1e !important;
}

/* SIMPLE PROJECT LAYOUT */
#project-list {
	margin-top: 20px;
}
#project-list .project h3 {
	text-transform: uppercase;
	color: #203965 !important;
	font-weight: bold;
	font-size: 1.4rem;
}
#project-list .project {
	max-width: 640px;
	margin: 30px auto 0;
}

#sales-reps-6up .et_pb_column{
	margin-right: 10px !important;
}
#sales-reps-6up .et_pb_column:last-child{
	margin-right: 0 !important;
}
@media (max-width: 1200px) {
	.proj-left .two-thirds img,
	.proj-right .two-thirds img {
		width:100%;
	}
}

@media (max-width: 767px) {
	.proj-left .one-third, 
	.proj-left .two-thirds, 
	.proj-right .one-third, 
	.proj-right .two-thirds {
		position:relative;
	}
}

/* ========== Adcetera CSS Theme Overrides/Maintenance Fixes ================ */
/* Sticky nav updates */
.topBar {
	padding: 15px 0;
}

.topBar > .container {
	display: flex;
    align-items: center;
}

.topBar.nzs-drop-menu .main-nav-logo {
	margin: 0;
}

.topBar.nzs-drop-menu .mainMenu {
	margin: 0;
}

/* Emergency Alert popup */
#emergency-modal {
	max-width: 1170px;
    height: 80vh !important;
    background: #173766 !important;
}

#emergency-modal .slick-dots {
	display: none;
}

#emergency-modal #modal-logo {
	top: 30px;
	left: 50px;
}

#emergency-modal article {
	padding: 40px 0 !important;
}

#emergency-modal article p a {
	color: white;
	text-decoration: underline;
}

#emergency-modal article p a:hover {
	text-decoration: none;
}


@media screen and (max-width: 767px ) {
	
	#subMenu {
		display: block !important;
		margin: 0 auto;
		opacity: 1 !important;
	}
	
	nav.mainMenu {
		display: none !important;
	}
	
	.page-padding{
		padding-top: 120px !important;
	}
	
	.topBar > .container {
		flex-direction: column;
	}

}

@media screen and (min-width: 768px ) {
	
	
	#subMenu {
		display: none !important;
	}
	
	nav.mainMenu {
		display: block !important;
	}
	
}

/* New accordion components in COVID-19 FAQs */
.ph-accordion .card {
	border: none;
	position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: none;
    border-radius: 0;
}

.ph-accordion .card-header {
	padding: 0;
	margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.ph-accordion .card-body {
	min-height: 1px;
	flex: 1 1 auto;
    min-height: 1px;
	padding: 1.25rem;
	/* transition: .2s ease-out all; */
}

.ph-accordion button.btn{
	font-family:"Open Sans", Helvetica, arial, sans-serif;
	font-size: 16px;
    display: block;
    width: 100%;
    color: black !important;
    text-align: left;
	padding: 20px 40px 20px 20px;
	font-weight: bold;
	position: relative;
	border: none;
}

.ph-accordion button.btn:hover{
    text-decoration: underline;
}

.ph-accordion button.btn::after{
	content: '\f107';
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	color: #bb4b4b;
	font-family: 'FontAwesome', arial;
    font-size: 22px;
}

.ph-accordion button.btn:focus {
	font-size: 16px;
}

.ph-accordion .collapse:not(.show) {
    display: none;
}
