/*
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... */ 

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-size-adjust: none;
}
a:link {
	transition: all .5s;
}

/* home header */
.fl-builder-content.fl-theme-builder-header-scrolled {
    background-color: transparent !important;
}
.fl-builder-content.fl-theme-builder-header-scrolled .fl-row-content-wrap {
    /*background-color: #020c36;*/
	transition: background-color 0.2s ease;
	transition: background-image 0.2s ease;
}

.fl-builder-content .home-header-wrap .fl-row-content-wrap {
	background-color: transparent;
    background-image: none;
}


.fl-builder-content.fl-theme-builder-header-scrolled .home-header-wrap .fl-row-content-wrap {
    background-color: #ffffff;
    /*background-image: url();*/
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
}


.underline-mint {
	border-bottom: 6px solid #387485;
    line-height: 0.4 !important;
    display: inline-block;
}
.underline-blue-text {
	border-bottom: 4px solid #387485;
    line-height: 1.0 !important;
    display: inline-block;
}



@media only screen 
	and (min-width: 321px) {
		  
	.billboard-home-row .fl-row-content-wrap {
	padding-top: 180px;
	}  	
}


/* Ninja Forms */
.nf-form-fields-required {
	display: none !important;
}

.nf-form-content label {
	font-size: 16px !important;
	line-height: 18px !important;
}
.nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label {
	margin-bottom: 2px !important;
}
.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
	height: 40px !important;
}
.general-contact-wrap input[type=text], .general-contact-wrap input[type=password], .general-contact-wrap input[type=email], .general-contact-wrap input[type=tel], .general-contact-wrap input[type=date], .general-contact-wrap input[type=month], .general-contact-wrap input[type=week], .general-contact-wrap input[type=time], .general-contact-wrap input[type=number], .general-contact-wrap input[type=search], .general-contact-wrap input[type=url], .general-contact-wrap textarea {
	padding: 6px 12px !important;
}

.nf-error.field-wrap .nf-field-element:after {
    font-size: 18px !important;
    height: 38px !important;
    width: 40px !important;
    line-height: 40px !important;
}
.nf-after-field .nf-error-msg, .nf-error-field-errors {
	font-size: 14px !important;
	line-height: 1em !important;
}
.nf-form-content .list-select-wrap>div div:after {
    font-size: 18px !important;
    height: 38px !important;
    line-height: 40px !important;
}
.nf-form-content .listselect-wrap .nf-field-element div, 
.nf-form-content .ninja-forms-field {
	padding: 6px 12px !important;
}
.nf-after-form-content {
	padding: 0px 10px !important;
}
#ninja_forms_required_items, .nf-field-container {
	margin-bottom: 10px !important;
}

.nf-form-content select.ninja-forms-field {
    color: #666666 !important;
}
.nf-form-content .label-above .nf-field-label, .nf-form-content .label-below .nf-field-label, .nf-form-content .label-hidden .nf-field-label {
    margin-bottom: 2px !important;
    padding: 0 !important;
}
.list-checkbox-wrap .nf-field-element li input, .list-checkbox-wrap .nf-field-element ul input, .list-image-wrap .nf-field-element li input, .list-image-wrap .nf-field-element ul input, .list-radio-wrap .nf-field-element li input, .list-radio-wrap .nf-field-element ul input {
    margin-right: 0px !important;
}
.nf-form-content input[type=submit]:hover {
    background: #438358 !important;
    color: #ffffff !important;
    transition: all .5s;
	border: none !important;
	border-radius: 0px !important;
	
}

/*Adding underline to menu items */
.fl-menu .menu > li:hover {
	border-bottom: 2px solid #1c5b80 !important;	
}

/* Apply text-wrap: balance to headings and short text */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: balance;
}

/* Fixing Ninja form radio cascade issue */
/* 1. Reset the parent list container */
.nf-field-element ul {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* 2. Fix the list items and kill that 12px margin */
.nf-field-element li {
    display: flex !important;
    align-items: center !important;
    /* This overrides your theme's 12px margin */
    margin-bottom: 4px !important; 
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

/* 3. Standardize the radio button alignment */
.nf-field-element li input[type="radio"] {
    margin: 0 8px 0 0 !important; /* Gap between button and text */
    padding: 0 !important;
    flex-shrink: 0 !important;
    width: auto !important;
    height: auto !important;
}

/* 4. Clean up the label text */
.nf-field-element li label {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    cursor: pointer;
}