/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/*Gravity Forms fixes */
body .gform_wrapper ul li.gfield,
.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper input {
    margin-bottom: 0;
}

body .gform_wrapper li.hidden_label input {
    margin-top: 0;
}

body .gform_wrapper .cc-effective-rate {
    padding: 10px 20px;
    color: #fff;
    /* pointer-events: none; */
    /* max-width: 280px; */
    /* margin: auto; */
    text-align: center;
    border: 1px solid #02a3db;
}


body .gform_wrapper .cc-effective-rate label.gfield_label {
    font-size: 2em;
    color: #02a3db;
}


body .gform_wrapper .cc-effective-rate input[type=text] {
    background-color: transparent;
    border: none;
    color: #02a3db;
    font-weight: bold;
    font-size: 56px !important;
    height: unset !important;
    box-shadow: none;
    display: inline-block;
    max-width: 200px;
    padding: 0;
    flex-shrink: 1;
    line-height: 0;
}

.gform_wrapper.gravity-theme .gfield_label[for="input_20_5"] {
    display: block;
}

.cc-effective-rate .ginput_container_number {
    display: inline-flex;
    align-items: center;
    max-width: 240px;
    contain: content;
    margin: auto;
}

.cc-effective-rate .ginput_container_number input {
    width: 100%;
}

/* .cc-effective-rate .ginput_container_number::after {
    content: '%';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.5rem; 
pointer-events: none;
color: #02a3db;
font-weight: bold;
font-size: 2em !important;
}

*/
.percent {
    flex-shrink: 1;
    color: #02a3db;
    font-weight: bold;
    font-size: 56px !important;
    line-height: 1em;
    width: auto;
}

.header-wrapper {
    border-bottom: 2px solid #02a3db;
}

#top-bar {
    font-size: 90%;
    border-bottom: 3px solid #aaa;
}

#top-bar .container {
    padding-left: 0;
}

.header-nav-main>li>a {
    padding: 20px 0;
    color: #02a3db;
}

/*Team Member Styles*/
.page-id-198 .box-image .image-cover img {
    object-position: top center !important;
}

.page-id-199 .footer-form {
    display: none !important;
}

/* Add .marker-bg to a banner and or row/section to add a "Map Marker" image to the background. 
------------------------------------------*/
.z-index-top {
    z-index: 10;
    /*position: relative;*/
}

.marker-bg .text-box {
    z-index: 2;

}

.marker-bg.banner h2,
.marker-bg .banner h2,
.banner .marker-bg h2 {
    font-size: 2.6em;
}

.marker-bg .text-box {
    font-size: 15px !important;
}

.right-header .marker-bg .text-box {
    left: -200px;
    width: 400px !important;

}

/*Uses Flatsome Icons svgs */
.marker-bg::before {
    /*content: "\e009";
    font-family: 'fl-icons' !important;
    font-display: block;
    speak: none !important;
    color: #fff;
    font-size: 100px;
    margin: 0;
    padding: 0;
    display: inline-block;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: absolute;
    line-height: 1.2;*/

    content: '';
    background: url(/wp-content/uploads/2021/04/pin.png) center center/cover no-repeat;
    width: 600px;
    /*height: 768px;*/

    top: 0;
    bottom: 0;

    position: absolute;
    z-index: 1;
    content: "";
    display: inline-block;
}

.full-header .marker-bg::before {
    width: 400px;
    left: 45%;
}

.right-header .marker-bg::before {
    width: 600px;
    left: -300px;
}

.half-header .marker-bg::before {
    width: 550px;
    /*height: 704px; */
    left: -250px;
}

.half-header .marker-overlap-top .marker-bg::before {
    top: auto;

    height: 110%;
    background-position: top center;
}

.demo.menu-item a {
    background-color: #02a3db;
    color: #fff;
    padding: 15px
}

.demo.menu-item:hover a {
    color: #fff;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, .4);
}

.person-title {
    color: #333;
    font-weight: 700;
}

.overflow-hidden {
    overflow: hidden !important;
}

/* Custom Style formats */
.sub-head {
    margin-bottom: 0 !important;
}

li {
    margin-left: 1.3em;
}

.flickity-slider {
    display: flex;
    align-items: center;
}

.employment-jobs {
    font-size: 120%;
}

.employment-jobs .accordian-title {
    color: #02a3db !important;
}

.menu-item.disable>a,
.menu-item.disabled>a {
    cursor: default;
    pointer-events: none;
}

.mega-menu {
    font-size: 80%;
}

.mega-menu p,
.mega-menu h3 {
    padding: 0 5px;
}

.compare,
.compare th,
.compare td {
    border: 1px solid #aaa;
    border-collapse: 0;
}

.compare th {
    background-color: #01a1dd;
    color: #fff;
    font-weight: 700;
    padding: 10px;
    font-size: 1.1em;
}

.compare th p {
    margin: 0;
}

.compare td {
    padding: 10px;
}

.compare tr:nth-of-type(2n) {
    background-color: #eee;
}

.compare .icon-checkmark {
    color: #00af00;
}

.compare .icon-x {
    color: #ae0f25;
}

.mega-menu .img-inner {
    text-align: right;
}

.mega-menu not(.section-bg.fill)>img {
    width: 50px;
}

.footer-block {
    font-size: 80%;
}

.footer-block p {
    margin: 0;
}

.footer-block .fancy-underline:after {
    background: #01a1dd !important;
    height: 1px !important;
}

.footer-block .fancy-underline {}

.shop-page-title .page-title-inner {
    padding-top: 70px;
}

#secondary #gform_23 #field_23_3,
#secondary #gform_23 #field_23_4,
#secondary #gform_23 #field_23_5 {
	grid-column: span 12 !important;
}

/* End of Marker CSS 
----------------------------------------*/

@media only screen and (max-width: 549px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    /*.marker-bg.banner {
        height: auto !important;
        padding-top: 0 !important;
    }
    .marker-bg.banner .fill {
        position: relative;
        height: auto;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }*/

    .gform_wrapper {
        padding: 0 5px;
    }

    .img .img-inner {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .marker-bg .text-box {
        width: 100% !important;
    }

    .marker-bg::before {

        display: none !important;

    }

    .parent-header {
        font-size: .9em;
    }

    .parent-header,
    .parent-header .fill {
        background-color: rgba(255, 255, 255, .9);
    }

    .parent-header .right-header .marker-bg .text-box {
        left: 50%;

    }

    .comparison-chart table {
        font-size: .8em;
        width: 100%;
        overflow: auto;
        display: block;

    }

    .comparison-chart th,
    .comparison-chart td {
        width: auto;
    }
/* ensure demo button text is dead-center */
.hero-section .button--primary.button--medium {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: normal !important;
}



}