/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* Header */
.ef-header__logo .fl-col-content { flex-direction: row; align-items: center; gap: 24px; justify-content: flex-start !important; }
.ew-header__buttons { align-items: center; }

/* Footer */
body .ew-text__links p a, body footer .ew-text__links p a:hover { color: #deab52 !important; text-decoration: none; }
body footer .ew-text__links p a { color: #ffffff !important; }

/* Pages */
.ef-image-corner__blue__rb, .ef-image-corner__white__rb { z-index: 9; }
.fl-module-heading span { color: #deab52; }
.ef-image-corner__blue__rb:before, .ef-image-corner__white__rb:before { width: 100%; height: 100%; max-width: 150px; max-height: 150px; position: absolute; right: 0; bottom: 0; z-index: 9; }
.ef-image-corner__blue__rb:before { background: #ffffff; background: linear-gradient(135deg, rgba(255, 255, 255, 0) 50%, rgba(11, 22, 59, 1) 50%); }
.ef-image-corner__white__rb:before { background: #ffffff; background: linear-gradient(135deg, rgba(255, 255, 255, 0) 50%, rgb(255, 255, 255) 50%); }
.ef-services--button-group .fl-button { display: flex !important; align-items: center; justify-content: space-between; }
.ef-services--button-group .fl-button-group-button:last-child a { border: none !important; }
.expert-witness-newsletter .fl-row-content-wrap .fl-col-group .fl-col-content { justify-content: center; }
.expert-witness-newsletter .fl-row-content-wrap .fl-col-group .fl-col-content .gform_wrapper {width: 100%;max-width: 540px;margin: 20px auto 0 auto;} 
.ew--newsletter-form .gform_body .gform_fields {grid-column-gap: 0% !important;display: flex !important;align-items: center;justify-content: center;width: 100% !important;}
.ew--newsletter-form .gform_body .gform_fields .gfield--type-email { width: 81%; }
.ew-form-styling .gform_body .ginput_container input, .ew-form-styling .gform_body .ginput_container textarea  { border-radius: 0px; padding: 16px 10px !important; height: auto; border-color: transparent; background-color: #F4F4F4; color: #7a7a7a; }
.ew-form-styling_wrapper .gform_required_legend{display: none;}
body .ew-form-styling_wrapper.gform_wrapper.gravity-theme .gform_fields{grid-row-gap: 24px;}
body .ew-form-styling_wrapper .gfield_validation_message {border: none !important; background: transparent !important; padding: 0 !important; }
.ew-form-styling .gform_body .ginput_container input:focus, .ew-form-styling .gform_body .ginput_container textarea:focus { border-color: #003a33; }
.ew-form-styling .gform-footer {display: flex; justify-content: center;}
body .ew-form-styling .gform-footer .gform_button {text-transform: uppercase; padding-left: 24px; padding-right: 24px;}
.ew-form-styling .gform_body .gform-button, .ew-form-styling .gform-footer .gform_button{ border-radius: 0; padding: 14px 15px; font-size: 16px; font-weight: 500; }
.ew-form-styling .gform_body .gform-button:hover, .ew-form-styling .gform-footer .gform_button:hover {border-color: #003a33; background-color:#003a33;color: #fff;}

/* Responsive */
@media screen and (max-width:1024px){
    .ef-image-corner__blue__rb:before, .ef-image-corner__white__rb:before{max-width: 90px; max-height: 90px;}
}
@media screen and (max-width:768px){
    .ef-image-corner__blue__rb:before, .ef-image-corner__white__rb:before{max-width: 70px; max-height: 70px;}
    .ew--newsletter-form .gform_body .gform_fields { flex-direction: column; gap: 0 !important; }
    .ew--newsletter-form .gform_body .gform_fields .gfield--type-email,
    .ew--newsletter-form .gform_body .gform_fields .gfield--type-submit { width: 100%; }
    .ew--newsletter-form .gform_body .gform_fields .gfield--type-submit input { width: 100%; text-align: center; margin-top: 10px; }
}