/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author: Indigo Marmoset
Template: Divi
*/

@import url("../Divi/style.css");

/* Hide Google Captcha Badge */

.grecaptcha-badge {
	opacity: 0;
}

/* Typography */

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
}

/* Main Header Opacity */

.page-id-3 #main-header, .page-id-21 #main-header, .page-id-25 #main-header, .page-id-6873 #main-header, .page-id-7371 #main-header, .page-id-7018 #main-header, .page-id-7937 #main-header, .page-id-29 #main-header, .error404 #main-header {
    background-color: #063158;
}

/* Mobile Menu */

body .mobile_menu_bar:before {
	color: #fff !important;
}

@media (max-width: 980px) {
	#main-header, #main-header .nav li ul, .et-search-form, #main-header .et_mobile_menu {
    background-color: #063158 !important;
	border-color: #063158 !important;
}
	.et_header_style_left #logo, .et_header_style_split #logo {
		max-width: 100%;
		max-height: 60%;
	}
}

/* Dropdown Menu Width */

#top-menu ul.sub-menu {
	width: 400px;
}

.nav li li {
    line-height: 1.5em;
}

#top-menu ul.sub-menu li a {
	width: 360px;
}

.et-fixed-header #top-menu ul.sub-menu li a {
	color: #063158 !important;
}

/* Down Icon Animation */

.scroll-down {
  animation: bounce 1s infinite alternate;
  -webkit-animation: bounce 1s infinite alternate;
}
@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-15px);
  }
}

/* Happy Forms Styles */

.happyforms-flex {
    padding: 0 !important;
}

/* Button */

.et_pb_button:after {
	font-size: 26px !important;
	line-height: 1.3em !important;
	font-weight: 600;
}

/* Center Bottom Footer */

#footer-info {
    float: none;
    text-align: center;
	padding: 20px 0px;
}

#footer-info .et-social-icons {
    float: none;
    text-align: center;
    padding: 20px 0px;
}

/* Bullet List */

.et_pb_text ul li {
	margin: 10px 0px;
}

.et_pb_text ol li {
	margin: 20px 0px;
	font-weight: bold;
}

.et_pb_text ol li:first-child {
	margin-top: 0px;
}

.et_pb_text ol li:last-child {
	margin-bottom: 0px;
}

.et_pb_text ol li span {
	font-weight: normal;
}

/* Tick List */

ul.tick_list {
	list-style: none;
	padding-left: 0px;
}

ul.tick_list li {
	position: relative;
	padding-left: 30px;
}

ul.tick_list li:before {
	font-family: ETmodules!important;
	font-weight: 600;
	position: absolute;
	top: 2px;
	left: 0;
	content: '\52';
	width: 50px;
	height: 50px;
}

/* Taxi Quotation Form */

#taxi_quotation_form table, #taxi_quotation_form tr, #taxi_quotation_form td {
	border: none
}

#taxi_quotation_form th {
	background: #ccc !important;
}

#taxi_quotation_form td {
	background: #E9E9E9;
	border: 2px solid #fff;
	padding: 10px;
	color: #000;
	width: 50% !important;
}

#taxi_quotation_form input, #taxi_quotation_form select, #taxi_quotation_form textarea  {
	border-color: #000;
	padding: 5px;
	width: 100%;
	max-width: 300px;
}

#taxi_quotation_form .policy_type input, #taxi_quotation_form select {
	width: auto;
}

#taxi_quotation_form .wpcf7-form-control-wrap.accept .wpcf7-list-item {
	margin-left: 0px;
}

#taxi_quotation_form .wpcf7-form-control-wrap.accept input {
	width: auto;
}

#taxi_quotation_form .wpcf7-form-control-wrap.accept .wpcf7-list-item {
	display: inline;
	font-weight: bold;
}

#taxi_quotation_form .wpcf7-submit {
	width: auto;
	max-width: 100%;
	margin: 20px 0px;
	padding: 10px 20px;
	font-size: 21px;
	font-weight: bold;
	color: #fff;
	background: #4CAF50;
	border-color: #4CAF50;
	cursor: pointer;
}

#taxi_quotation_form .wpcf7-submit:hover {
	background: #3e8e41;
	border-color: #3e8e41;
}

#taxi_quotation_form select.cf7year:after {
	content: "Years";
	margin-left: 5px;
}

.wpcf7-validation-errors {
	background: #ff0000;
	border-color: #ff0000 !important;
	color: #fff;
	font-weight: 600;
}

/* Footer */

#main-footer .et_pb_widget {
    float: none;
}

#footer-widgets {
	text-align: center;
}

/* Footer Credits */

#footer-info {
	padding-bottom: 0px;
}

.credit_line {
	padding-bottom: 20px;
}

.credit_line, .credit_line a {
	color: #fff;
	font-size: 12px;
	text-align: center;
}

.credit_line a {
	font-weight: bold;
}