/*
Theme Name: Divi_Child
Theme URI: http://www.elegantthemes.com/gallery/divi/, revealwebworks.com
Version: 1.1
Description: A Divi Child Theme
Author: Elegant Themes, Child Theme by Pat Martinez
Author URI: http://www.elegantthemes.com, revealwebworks.com
Template: Divi
*/

/*Begin custom CSS for Divi_Child theme*/

#et-info {
  float: right !important;
}
.mobile_menu_bar:before {
  color: #efefef !important;
  font-size: 40px;
}
#top-menu li li a { /*For dropdown menu*/
  line-height: 1.4em;
  padding: 10px 5px;
}
#top-menu li li.menu-item {
  border-bottom: 1px dotted #bbad9c;
}
#top-menu li li.menu-item:hover {
  text-decoration: underline;
}
#top-menu li li.menu-item:last-of-type {
  border-bottom: none;
}
/******** Top Menu & Fixed Menu *********/
.et_pb_svg_logo #logo {
  margin-top: -36px;
}

#top-header .container {
    padding-top: 1.3em;
    font-weight: 600;
    padding-bottom: 0;
}

#et-info {
    width: 84%;
    float: right;
    text-align: right;
	 padding-bottom: 0;
}
nav#top-menu-nav {
	margin-right: 13px;
}
#main-header {
margin-top: -45px;
padding-top: 45px;
}
@media all and (max-width:980px) {
#main-header {
margin-top: -55px;
padding-top: 55px;
}
}
/** Transport Login Button header **/
.cta {
text-align:center;
float: right;
margin-top: -3px;
margin-left:  8px	
}
 
.cta a {
background: transparent;
    color: #fff !important;
    padding: 8px 10px;
    display: inline-block;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    font-weight: 700 !important;
    transition: all 0.5s;
border:1px solid #fff;
}
 
.cta a:hover {
background: #555;
color: #fff !important;
}
 
#et-secondary-menu {
width: 16.3%;
float: left;
text-align: left;
}
 
@media (max-width: 980px){
#et-info {
    float: right;
    text-align: right;
}
.cta {
text-align:center;
float: right;
margin-top: -3px;
	
}
#et-info {
padding-top:0px;
padding-bottom: 0.75em;
}
.et_pb_svg_logo #logo {
  margin-top: 0;
}	
}
@media (max-width: 760px){
.cta {display:none;}
#et-info {width: 100%;}
}
@media (max-width: 980px) {
.et_header_style_left #logo, #logo {
	max-width: 75%;
	max-height:	75%;
	height: 75%;
	margin-top:  0;
}	
}

/* Reset when menu goes to mobile view */
/* # mobilemenu */
@media (max-width: 997px) {
.et_fixed_nav #main-header, .et_fixed_nav #top-header {
position: absolute !important;
}
}
@media (max-width: 997px) {
 #et_mobile_nav_menu {
 display: block;
 }
#top-menu {
 display: none;
 }
 }
/****   END   *****/
@media (max-width: 560px) {
.rww_home_header .et_pb_button.et_pb_button_two {
	margin-left: 0;
}
}
/** Adjust buttons at bottom of home page  **/
 @media (max-width: 980px) {
 .rww_buttons_L_R .et_pb_button_alignment_right, .rww_buttons_L_R .et_pb_button_alignment_left, .rww_button_left, .rww_button_right {
 	text-align: center;
 }
 }
/** Adjust 4 to 2 column breakpoint on Home Page, What We Offer section **/
@media (min-width: 1158px) {
	.et_pb_column_1_4.rww_home_col-1.et_pb_column_12,
	.et_pb_column_1_4.rww_home_col-2.et_pb_column_13,
	.et_pb_column_1_4.rww_home_col-3.et_pb_column_14,
	.et_pb_column_1_4.rww_home_col-4.et_pb_column_15 {
		width: 22.75% !important;
	}
}

@media (max-width: 1157px) and (min-width: 595px){
	.et_pb_column_1_4.rww_home_col-1.et_pb_column_12,
	.et_pb_column_1_4.rww_home_col-2.et_pb_column_13,
	.et_pb_column_1_4.rww_home_col-3.et_pb_column_14,
	.et_pb_column_1_4.rww_home_col-4.et_pb_column_15 {
		width: 45.25% !important;
        margin-right: 4.5%;
	}
}

@media (max-width: 1157px) and (min-width: 595px) {
.et_pb_column_1_4.rww_home_col-3.et_pb_column_14 {
  float: right;
}
}	
@media (max-width: 1157px) and (min-width: 595px) {
.ds-caption-hover.et_pb_text_13,
.ds-caption-hover.et_pb_text_11 {
  margin-top: 6.6%;
}
}
@media (max-width: 594px){
	.et_pb_column_1_4.rww_home_col-1.et_pb_column_12,
	.et_pb_column_1_4.rww_home_col-2.et_pb_column_13,
	.et_pb_column_1_4.rww_home_col-3.et_pb_column_14,
	.et_pb_column_1_4.rww_home_col-4.et_pb_column_15 {
		width: 100% !important;
		margin-right: 0;
		margin-top: 6.6%;
		margin-bottom: 0;
	}
}
@media (max-width: 980px) {
.rww_column_fuel .et_pb_button_module_wrapper.et_pb_module.et_pb_button_alignment_right,
.et_pb_column.et_pb_column_1_4.rww_column_fuel
{
text-align: left;
margin-bottom: 0;
}
}
/** formatting for text module bullet points **/
.et_pb_text_inner li {
  padding-bottom: 0.6em;
  margin-left: 1em;
}

img[alt="css.php"] { /*needed for Cookies For Comments Plugin*/
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  height:0;  /* Chrome */
}
.icon_phone:before {
  font-family: "ETmodules";
  content: "\e090";
  font-size: 25px;
  margin-right: 7px;
  vertical-align: bottom;
}
.custom_contact h3 {
  font-weight: normal;
  margin-bottom:  17px;
}
.et_pb_contact_main_title {
  text-align: center;
  font-weight: 700;
  font-size: 39px;
} 

/*------------------------ List Style-1 -------------------------------------*/
.no_bullets ul {
  list-style: none;
}
.list_style-3 li:before {  /*(Horiz. line w arrow head)*/
  font-family: "ETmodules";
  content: "\24";
  font-size: 26px;
  margin-right: 4px;
  margin-left: -30px;
  vertical-align: bottom;
  color: #8F3b95;  /*#AF00F5*/
  opacity: 0.78;
}
.list_style-3 ul {
  padding-left: 30px;
}

/*-----------------END--------------------*/

/*---------------Image Caption Hover by Divi Soup--------------*/

/*Remove the grey box from the image*/
.ds-caption-hover .wp-caption {
 max-width: 100%;
 margin-bottom: 0;
 padding: 0;
 padding-top: 0;
 border: none;
 background: none;
 text-align: center;
}

/*Position the caption*/
.ds-caption-hover .wp-caption p {
 position: absolute;
 width: 100%;
 height: 100%;
 top: 0;
 padding: 0;
}

/*Style the description text*/
.ds-caption-hover .wp-caption h6 {
 position: absolute;
 display: flex;
 flex-direction: column;
 justify-content: center;
 bottom: 0;
 width: 100%;
 height: 17%;
 text-align: center;
 font-size: 20px;
 color: #fff;
 padding-bottom: 0;
 background: rgba(0, 53, 148, 0.6);
}

/*Fix extra space below image*/
.ds-caption-hover .wp-caption img {
 margin-bottom: -6px;
}

/*Style the link text*/
.ds-caption-hover .wp-caption-text a {
 position: absolute;
 width: 100%;
 height: 100%;
 padding: 5% 5% 22% 5%;
 z-index: 1;
 display: flex;
 flex-direction: column;
 justify-content: center;
 font-size: 15px;
 line-height: 1.3em;
 color: #fff;
 opacity: 0;
 -webkit-transition: all 0.4s ease;
 -moz-transition: all 0.4s ease;
 transition: all 0.4s ease;
}

/*Add a background to the link text*/
.ds-caption-hover .wp-caption-text a:after {
 content: '';
 position: absolute;
 width: 100%;
 height: 83%;
 top: 0;
 left: 0;
 z-index: -1;
 background: rgba(0, 0, 0, 0);
 -webkit-transition: all 0.4s ease;
 -moz-transition: all 0.4s ease;
 transition: all 0.4s ease;
}

/*Show link text on hover*/
.ds-caption-hover .wp-caption-text a:hover {
 opacity: 1;
}

/*Show link background on hover*/
.ds-caption-hover .wp-caption-text a:hover:after {
 background: rgba(0, 53, 148, 0.6);
}
/*-------------End Image Caption Hover by Divi Soup------------*/

/*** Style Gravity Forms like Divi Form ***/
/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER ***/
.gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
 display: none;
}
/*** FIELD STYLING ***/
input[type=text],
textarea {
 background: #eee;
 border: none;
 border-radius: 0;
 padding: 15px !important;
}
.gform_wrapper ul li.gfield {
  margin-top: 0 !important;
}
li#field_1_9 {  /* Description of Goods */
  margin-top: 24px !important;
  margin-bottom: 17px !important;
}
.gform_wrapper .gform_footer {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
.ginput_container.ginput_recaptcha {
  float: right;
  margin-bottom: 15px;
}
/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
 float: right;
 background: transparent;
 color: #003594;
 border: 2px solid;
 font-size: 18px;
 padding: 12px 23px;
 border-radius: 2px;
 letter-spacing: 2px;
 cursor: pointer;
}
/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover {
 background: rgba(0, 0, 0, 0.05);
 border: 2px solid transparent;
 -webkit-transition: all 0.4s ease;
 -moz-transition: all 0.4s ease;
 transition: all 0.4s ease;	
}

/****** Footer ******/
#main-footer .container {
 max-width: none;
 width: 85%;
}
#footer-widgets .footer-widget li {
	margin-bottom: 0.1em;
}
.et-social-icon a {
  color: #EFEFEF !important;
}
.bottom-nav a, .footer-info a {
  color: #DDD !important;
}
.footer-info {
  color: #DDD;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
  float: none; 
}
.footer-info a:hover {
  opacity:  0.7;
}
.rww_footer_logo_txt {
	margin-left: 10px;
	margin-top: -11px;
}
@media (max-width: 1076px) and (min-width: 980px) {
.rww_footer_logo_txt {
	font-size: 14px;
}
}
/****** END ******/