/*
Theme Name: AMA Transport Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: Lindsay Huck
Author URI:  https://hucksterdesign.com
Template: salient
Version: 1.0
*/

/* Mobile Header */
    @media only screen and (min-width: 1px) and (max-width: 999px) {
        body #header-outer {
            padding: 20px 0;
        }
    }

/* Off Canvas Menu */
#ajax-content-wrap #slide-out-widget-area.fullscreen .inner .widget, #ajax-content-wrap #slide-out-widget-area.fullscreen-alt .inner .widget {
    width: 80%;
    margin: 20px auto;
    padding: 30px 0;
    border-top: 1px solid #7aa5bf;
}

/* Typography */
.nectar_single_testimonial .image-icon, .testimonial_slider[data-style=multiple_visible_minimal] .image-icon {
    width: 62px;
    height: 62px;
}
.nectar_single_testimonial p .open-quote {
    display: none;
}
    @media only screen and (max-width: 999px) and (min-width: 1px) {
        .wpb_wrapper h1.vc_custom_heading.home-intro-text {
            font-size: 24px!important;
            line-height: 1.2em!important;
        }
    }
	@media only screen and (max-width: 690px) {
		.wpb_wrapper h1.vc_custom_heading {
			font-size: inherit!important;
			line-height: inherit!important;
		}
	}

/* Bios */
.nectar_team_member_overlay .team_member_picture {
    display: none;
}
.nectar_team_member_overlay .team_member_details {
    padding-right: 10%;
}
    @media only screen and (min-width: 690px) and (max-width: 999px) {
        .nectar_team_member_overlay .team_member_details {
            padding-right: 10%;
        }
    }
    @media only screen and (min-width: 1500px) {
        .nectar_team_member_overlay .team_member_details {
            padding-right: 30%;
            padding-left: 30%;
        }
    }

/* Forms */
/* Overriding the Orbital framework colors inside Salient's layout builder */
html body .gform_wrapper.gform-theme--orbital {
    --gf-color-primary: #07598c !important; /* Main button / Accent */
    --gf-ctrl-btn-bg-color-hover-primary: #000 !important; /* Button background color on hover */
    --gf-ctrl-bg-color: #f9f9f9 !important;  /* Input boxes background */
    --gf-ctrl-color: #333333 !important;     /* Text color inside input */
    --gf-ctrl-border-color: #cccccc !important; /* Border around inputs */
    --gf-label-color: #222222 !important;    /* Text color of field labels */
}
html:root body .gform_wrapper.gform-theme--orbital {
    /* Padding-Y controls top/bottom height, Padding-X controls left/right width */
    --gf-ctrl-btn-padding-y: 9px !important;  
    --gf-ctrl-btn-padding-x: 24px !important;  
    
    /* Controls the text size inside the button */
    --gf-ctrl-btn-font-size: 18px !important;  
}
.gform_required_legend {
	display: none;
}
body .gform_wrapper .top_label .gfield_label {
	font-size: 18px !important;
    font-weight: 700 !important;
	text-transform: none !important;
	line-height: 1.3em;
	letter-spacing: 0;
}
.gform_wrapper.gravity-theme .field_description_above .gfield_description {
	line-height: 1.3em;
}
body .gform_wrapper .description, body .gform_wrapper .gfield_description, body .gform_wrapper .gsection_description, body .gform_wrapper .instruction {
    font-size: 16px;
}
.gform_wrapper.gravity-theme .gfield.gfield--width-half {
	padding-right: 50px;
}
.gform_wrapper.gravity-theme .gfield--type-fileupload label {
    display: block;
}
.gform_wrapper.gravity-theme .gfield_html .info-box {
	background: rgba(122,165,191,0.3);
    padding: 20px;
    border-radius: 5px;
    color: #07598c;
    margin-top: 10px;
}
.gform_wrapper.gravity-theme .gfield_html .info-box h4 {
	color: #07598c;
}
.gform_wrapper.gravity-theme .gform_previous_button.button,
.gform_wrapper.gravity-theme .gform_next_button.button,
body[data-form-submit=regular] .container-wrap .gform_wrapper.gravity-theme input[type=submit] {
    text-decoration: none;
    padding: 10px 40px !important;
    font-family: Roboto;
    font-size: 18px;
    font-weight: 700;
	border: 2px solid #07598c;
}
.gform_wrapper.gravity-theme .gform_save_link.button {
	display: block;
	clear: both;
    margin: 0 auto;
	border-color: #999;
    font-weight: 700;
    padding: 10px 40px;
    opacity: .75;
}
.gform_wrapper.gravity-theme .gform_save_link.button:hover {
	background: #f5f5f5;
}
.gform_wrapper.gravity-theme .gform_save_link.button svg {
	display: none;
}

/* G SECTIONS */
body.page-id-6123 .nectar-global-section.before-footer {
	display: none;
}

/* FOOTER */
#footer-outer .widget.widget_media_image img {
    max-height: 180px;
}
#footer-outer #text-1 p {
    font-size: 13px;
    line-height: 1.3em;
}



