/*
 Theme Name:   Attacat BB Child
 Theme URI:    http://www.attacat.co.uk
 Description:  Attacat Beaver Builder Child Theme
 Author:       Austin Ruddy
 Author URI:   http://www.attacat.co.uk
 Template:     bb-theme
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
 * Header
 */
 
#menu-top-bar .fas:before {
    position: absolute;
    bottom: 12px;
    left: 5px;
}

#menu-top-bar .fas a {
    font-family: 'Roboto';
}

#menu-top-bar li {
    border-left: 1px solid rgba(171, 171, 171, 0.29);
}

#menu-top-bar li:last-child {
    border-right: 1px solid rgba(171, 171, 171, 0.29);
}

.fl-module-menu ul.sub-menu {
    font-size: 14px;
    transition: all 0.25s ease-in-out;
}



.fl-module-menu li a {
    transition: all 0.25s ease-in-out;
}

/*
 * Header medium and above
 */
 
@media (min-width: 769px) {
    ul#menu-header-menu .fl-menu-toggle {
        display: none;
    }
    
    /* ul#menu-header-menu > li {
        border: none;
    }
    
    ul#menu-header-menu a {
        font-size: 16px;
    }
    
    ul#menu-header-menu ul.sub-menu {
        margin-left: 0;
    }
    
    ul#menu-header-menu ul.sub-menu a {
        font-size: 14px;
    } */
    
    header ul.sub-menu {
        border: 1px solid #dd5b2a;
    }
    
}

/**
 * BB module overrides
 */

/**
 * Content Slider#
 */

.bx-wrapper {
    border: 2px solid #479a9f;
}

.fl-content-slider-navigation {
    top: 10%;
    height: 80%;
    margin-top: 0;
}

.fl-content-slider-navigation .slider-prev {
    left: -30px;
}

.fl-content-slider-navigation .slider-next {
    right: -30px;
    bottom: 0;
}

.fl-content-slider .fl-content-slider-navigation .fl-content-slider-svg-container {
    width: 30px;
    height: 75px;
}

@media (max-width: 767px) {

    .fl-content-slider-navigation {
        position: relative;
        display: flex;
        justify-content: space-between;
    }
    .fl-content-slider-navigation .slider-prev {
        left: 0px;
    }

    .fl-content-slider-navigation .slider-next {
        right: 0px;
    }

    .fl-content-slider-navigation a {
        position: static;
    }

    .fl-content-slider .fl-content-slider-navigation .fl-content-slider-svg-container {
        height: 46px;
    }

}

/*
 * Content
 */

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #212529;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #212529;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #212529;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #212529;
}
:-moz-placeholder { /* Firefox 18- */
    color: #212529;
}

/*
 * BB Content Slider overrides
 */
/* .fl-content-slider .fl-content-slider-svg-container {
    width: 32px !important;
    height: 32px !important;    
}

.fl-content-slider .fl-content-slider-svg-container svg {
    padding: 7px !important;   
} */



@media (min-width: 1200px) {

    .width-constrained-left .fl-module-content {
        max-width: 570px;
        margin-left: auto;
    }
    
    .width-constrained-left .fl-col-group {
        width: 560px;
        margin-left: auto;
    }
    
    .width-constrained-right .fl-module-content {
        max-width: 570px;
        margin-right: auto;
    }
    
}

/*
 * BB Button overrides
 */

.fl-module-button a {
    transition: all 0.25s ease-in-out;
}

.button {
    font-weight: 600;
    border: 1px solid #e96736;
    padding: 15px 30px;
}

.button:hover {
    background-color: transparent;
    color: #ffffff;
}

/**
 * Photo overrides
 */
/* .fl-photo .fl-photo-caption-below {
    text-align: left;
    font-style: italic;
} */

.fl-photo .fl-photo-caption {
    white-space: normal;
}

/**
 * Ultimate Beaver overrides
 */

.fl-content-slider .bx-wrapper {
    z-index: 1;
}

.fl-content-slider .fl-content-slider-navigation {
    z-index: 0
}

.fl-content-slider a {
    transition: all 0.25s ease-in-out;
}

/**
 * Blog Post module
 */

.fl-post-grid-post {
    border: 0;
}

.fl-post-grid-post .fl-post-text h2 a {
    font-size: 21px;
    color: #6C5181;
    font-weight: 400;
}

.fl-post-grid-post .fl-post-text .title {
    font-size: 16px;
    font-weight: 400;
    color: #212529;
}

.fl-post-grid-post {
    background-color: #F5F5F6;
}

.fl-post-text .post-link a {
    background-color: #6C5181;
    border: 1px solid #6C5181;
    color: #ffffff;
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
    display: inline-block;
    margin-top: 20px;
}

.fl-post-text .post-link a:hover {
    background-color: transparent;
    color: #6C5181;
}



/**
 * Beaver Builder Text module
 */

p {
    margin-bottom: 20px;
}

.content-width-constrained-left {
    max-width: 670px;
    margin-right: auto;
}

/*
 * Gravity form defaults
 */
 
.gform_wrapper li.gfield {
    text-align: left;
    margin-bottom: 20px;
}

.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="password"], .gform_wrapper input[type="tel"], select, textarea {
    padding: 13px 12px;
    border-radius: 0;
    font-size: 16px;
    width: 100%;
    color: #212529;
    border-color: #212529;
}

.gform_wrapper input[type="text"]::placeholder, .gform_wrapper input[type="email"]::placeholder, .gform_wrapper input[type="tel"]::placeholder, select::placeholder, textarea::placeholder { 
    color: #212529;
}

.gform_validation_error .validation_error {
    width: 100%;
    margin-bottom: 20px;
    font-weight: 700;
}

.gform_validation_error .validation_message {
    font-size: 16px;
    margin-top: 6px;
    font-weight: bold;
}

.gfield_visibility_hidden, .gform_validation_container {
    display: none !important;
}

.gform_wrapper li.gfield label {
    text-align: left;
}

.gform_wrapper li.gfield > label {
    display: none;
}

.gform_wrapper .ginput_container_name label {
    display: none;
}

.gform_wrapper .ginput_container_name {
    display: flex;
    justify-content: space-between;
}

.gform_wrapper .ginput_container_name > span {
    width: 49%;
}

.gform_wrapper .gform_footer {
    margin-top: 40px;
}

.gform_wrapper input[type="submit"] {
    padding: 14px 48px;
    color: #ffffff;
    background-color: #E96736;
    border: 1px solid #E96736;
    font-size: 18px;
    border-radius: 0;
    min-width: 37%;
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
}

.gform_wrapper input[type="submit"]:hover {
    background-color: #FFFFFF;
    color: #E96736;
}

.gform_wrapper .ginput_container_select {
    position: relative;
}

.gform_wrapper .ginput_container_select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.gform_wrapper .ginput_container_select:after {
    content: "";
    z-index: 1;
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5.3333333333px 0 5.3333333333px;
    border-color: #4a4a49 transparent transparent transparent;
}

@media (max-width: 767px) {
    .gform_wrapper input[type="submit"] {
        width: 100%;
    }
}




/*
 * Footer newsletter specific
 */

.gform_wrapper .newsletter-sign-up li.gfield label {
    display: none;
}

.gform_wrapper .newsletter-sign-up li.gfield {
    margin-bottom: 0;
}

.gform_wrapper .newsletter-sign-up {
    display: flex;
    margin-bottom: 1em;
    font-size: 12px;
}

.gform_wrapper .newsletter-sign-up ul {
    margin-bottom: 0;
}

.gform_wrapper .newsletter-sign-up .gform_body {
    flex-grow: 1;
}

.gform_wrapper .newsletter-sign-up .gform_footer {
    margin-top: 0;
}

.gform_wrapper .newsletter-sign-up input {
    margin-bottom: 0 !important;
    height: 40px;
    border-radius: 0;
    border: 1px solid #ffffff;
}

.gform_wrapper .newsletter-sign-up input[type='submit'] {
    padding: 13px 20px;
    font-weight: bold;
    background-color: #EA6736;
    border: 1px solid #ffffff;
    font-size: 12px;
    border-radius: 0;
}

.gform_validation_error .newsletter-sign-up {
    flex-wrap: wrap;
}

.gform_validation_error .newsletter-sign-up .validation_error {
    color: #ffffff;
    margin-bottom: 10px;
}

.gform_validation_error .newsletter-sign-up .validation_message {
    color: #ffffff;
    margin-top: 6px;
}


/**
 * Pull Quote
 */

.pull-quote--head img {
    width: 72px;
    display: inline-block;
    vertical-align: middle;
}

.pull-quote--head hr {
    border-top: 3px solid #e96736;
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 86px);
}

.pull-quote blockquote {
    color: #499ea3;
    font-size: 32px;
    margin: 20px 0;
    padding: 0;
    border: 0;
}

.pull-quote--footer hr {
    border-top: 3px solid #e96736;
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 108px);
}

.pull-quote--footer img {
    width: 100px;
    display: inline-block;
    vertical-align: middle;
}

/*
 * Salesforce form defaults
 */

 .salesforce-form {
     line-height: 1.1;
 }

.salesforce-form label {
    color: #ffffff !important;
}

.salesforce-form select#industry {
    margin-bottom: 16px;
}

.salesforce-form input, .salesforce-form select, .salesforce-form textarea {
    border-radius: 0 !important;
    padding: 8px 8px;
    border-radius: 0;
    font-size: 16px;
    width: 100%;
    color: #212529;
}

.salesforce-form input[type="submit"] {
    padding: 12px 26px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
}
