/** Custom styles for gravityforms pricing calculator forms **/
.switch-field .gfield_radio {
    display: flex;
    margin-bottom: 36px;
    overflow: hidden;
}

.switch-field .gfield_radio input {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

.gform_wrapper.gravity-theme .switch-field .gfield-choice-input + label,
.switch-field label {
    background-color: #e4e4e4;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    margin-right: -1px;
    max-width: 100%;
    padding: 8px 16px;
    text-align: center;
    transition: all 0.1s ease-in-out;
}

.switch-field label:hover,
.switch-field label:focus {
    cursor: pointer;
}

.gform_wrapper.gravity-theme .switch-field input:checked + label,
.switch-field input:checked + label {
    background-color: #a5dc86;
    box-shadow: none;
}

.gform_wrapper.gravity-theme .switch-field .gchoice:first-of-type label,
.switch-field .gchoice:first-of-type label {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}

.gfield_price:not(.gfield_total) {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

.gform_fields .instruction {
    display:none;
}

.cf-hidden {
    display:none;
}

.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
    font-size: 16px;
}

.gform_wrapper.gravity-theme .gfield_label {
    font-weight: 600;
}

/* Range Slider Styles */

.gform_body .irs--modern,
.gform_body .irs--flat {
    top: 5px;
}

.gform_body .irs--flat {
    height: 55px;
}

.gform_body .irs--modern .irs-line, .gform_body .irs--flat .irs-line {
    background: rgba(91, 112, 122, 0.2);
    border: 0;
    height: 8px;
}

.gform_body .irs--modern .irs-bar, .gform_body .irs--flat .irs-bar {
    background: #95C93D;
    height: 8px;
}

.gform_body .irs--modern .irs-min,.gform_body .irs--modern .irs-max,.gform_body .irs--flat .irs-min,.gform_body .irs--flat .irs-max {
    background: rgba(91, 112, 122, 0.2);
    color: #000;
    font-size: 13px;
    top: -5px;
}

.gform_body .irs--modern .irs-from,.gform_body .irs--modern .irs-to,.gform_body .irs--modern .irs-single,.gform_body .irs--flat .irs-from,.gform_body .irs--flat .irs-to,.gform_body .irs--flat .irs-single {
    background: rgba(149, 201, 61, 0.5);
    color: #000;
    font-size: 13px;
    padding: 1px 5px;
    top: -5px;
}

.gform_body .irs--modern .irs-from:before, .irs--modern .irs-to:before, .irs--modern .irs-single:before,
.gform_body .irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before {
    border-top-color: #CAE49E;

}

.gform_body .irs--modern .irs-handle i {
    display: none !important;
}

.gform_body .irs--modern .irs-handle {
    background: #0072AD;
    border-radius: 50%;
    border: 0;
    box-shadow: none;
    cursor: ew-resize;
    height: 18px;
    top: 20px;
    width: 18px;
}

.gform_body .irs--modern .irs-handle.state_hover, .gform_body .irs--modern .irs-handle:hover {
    background: #00224F;
    border: 0;
}

.gform_body .irs--flat .irs-handle {
    cursor: ew-resize;
    height: 18px;
    top: 20px;
    width: 16px;
}

.gform_body .irs--flat .irs-handle>i:first-child {
    background-color: #0072AD;
    border-radius: 4px;
    margin-left: -2px;
    width: 4px;
}

.gform_body .irs--flat .irs-handle.state_hover>i:first-child, .gform_body .irs--flat .irs-handle:hover>i:first-child {
    background-color: #00224F;
}

/* Switch Styles */

.gform_wrapper.gravity-theme .switch-field .gfield-choice-input + label, .switch-field label {
    background-color: rgba(91, 112, 122, 0.2);
    border: 0;
    box-shadow: none;
    color: #333;
    font-size: 16px;
}

.gform_wrapper.gravity-theme .switch-field input:checked + label, .switch-field input:checked + label {
    background-color: #0072AD;
    border: 0;
    box-shadow: none;
    color: #ffffff;
    font-size: 16px;
}

.gform_wrapper.gravity-theme .switch-field:hover .gfield-choice-input + label:hover, .switch-field label:hover {
    background-color: #95C93D;
    color: #000;
}

@media only screen and (max-width: 641px) {
    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: inherit;
        min-height: auto;
    }
}

/* Styling for Forms on Dark Background (Request a Quote) */

.dark-form label {
    color: #fff;
}

.dark-form button:hover, .dark-form button:focus, .dark-form input[type="button"]:hover, .dark-form input[type="button"]:focus, .dark-form input[type="submit"]:hover, .dark-form input[type="submit"]:focus, .dark-form .elementor-button:hover, .dark-form .elementor-button:focus {
    background-color: #fff;
    color: #00224F;
}

.dark-form .gform_wrapper.gravity-theme .gform_footer {
    padding-bottom: 0;
}

.dark-form .gform_wrapper .gfield_required {
    color: rgba(255,255,255,0.7)
}

/** End custom styles for gravityforms pricing calculators **/

/* Start Mobile Chat Bubble Fix */

@media only screen and (max-width: 767px) {
    #insent-iframe {
        bottom: 60px!important;
        height: 70vh!important;
    }
}

/* End Mobile Chat Bubble Fix */

/* Start Fix GForm Label scroll top on click */

body .gform_wrapper .gform_body .gform_fields .gfield .gchoice {
    position: relative;
}

/* End Fix GForm Label scroll top on click */
/* fix dark text on gfrom confirmation footer */
.gform_confirmation_message_9 {
    color: white;
}

/* Start menu media query */
@media (max-width: 1313px) and (min-width: 1024px) {
    .elementor-location-header>section {
        padding: 0 !important;
    }
}

@media (max-width: 1180px) and (min-width: 1024px) {
    .elementor-location-header>section .elementor-nav-menu li a{
        font-size: 0.8rem !important;
    }

    .elementor-location-header>section .elementor-align-right a.elementor-button-link{
        font-size: 0.8rem;
    }
}

@media (max-width: 1120px) and (min-width: 1024px) {
    .elementor-location-header>section img {
        height:30px !important;
    }

    .elementor-location-header>section .elementor-nav-menu li a{
        font-size: 0.7rem !important;
    }

    .elementor-location-header>section .elementor-align-right a.elementor-button-link{
        font-size: 0.7rem;
    }
}
/* End menu media query */

/* Pricing Form */

#gform_5 h2 {
    font-family: "omnes-pro", sans-serif;
}
#gform_5 h3 {
    font-family: "omnes-pro", sans-serif;
    font-size: 1rem;
    line-height:1.2rem;
    margin-bottom: 0;
    margin-top:0;
}
@media all and (min-width: 920px) {
    #gform_5 .switch-field label {
        white-space: nowrap;
    }
}

#gform_5 .switch-field .gfield_radio {
    margin-bottom: 15px;
}

#gform_5 .gform_wrapper.gravity-theme .gsection {
    padding:0;
}

#gform_5 .gfield_description {
    margin-bottom: -30px;
    margin-top: 0;
    padding: 0;
    text-align: center;
}

#gform_5 .gfield_label {
    padding-bottom: 0;
}

#gform_5 .gsection {
    border-bottom: 1px solid #efefef;
    padding: 0 0 5px 0;
}

#gform_5 .switch-field .gfield-choice-input + label, .switch-field label {
    font-size: .8rem;
}

#gform_5 .gform_fields {
    grid-row-gap: 10px;
}
@media all and (min-width: 641px) {
    #gform_5 .field-align-right {
        grid-column: 7 / span 6;
    }
}
/* End Pricing Form */

/* Bring menu on top of chatbox */
#elementor-popup-modal-116 {
    z-index: 1000000000;
}

/* Pricing business email error fix */
#gform_5 .gfield--type-email .gfield_description {
    margin-bottom: 0;
}

