/*---------------Pop up css------------*/
#css-only-modals {
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000000;
    text-align: center;
    white-space: nowrap;
    height: 100%;
}
#css-only-modals:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -.25em;
}
.css-only-modal-check {
    pointer-events: auto;
    display: none!important;
}
.css-only-modal-check:checked~.css-only-modal {
    opacity: 1;
    pointer-events: auto;
}
.css-only-modal {
    width: 700px;
    background: #fff;
    z-index: 1;
    display: inline-block;
    position: relative;
    pointer-events: auto;
    padding: 25px;
    text-align: right;
    border-radius: 4px;
    white-space: normal;
    display: inline-block;
    vertical-align: middle;
    opacity: 0;
    pointer-events: none;
    max-width: 90%;
}
.css-only-modal h2 {
    text-align: center;
}
.css-only-modal p {
    text-align: left;
}
.btn-primary2 {
 color:#fff; 
 background-color:#777; 
 border-color:#777; 
 border-radius: 4px; 
 padding: 6px 12px; 
} 
.btn-primary2:hover {
    color: #fff;
    background-color: #999;
    border-color: #999;
}
.btn-primary {
color:#fff;
background-color: #003449;
border-color:#003449;
border-radius: 50% !important;
padding: 6px 12px;
font-family: cursive;
position: absolute;
top: -15px;
right: -15px;
font-weight: bold;
}
.btn-primary:hover {
    color: #fff;
    background-color: #00587c;
    border-color: #00587c;
}
.css-only-modal-check:checked~#screen-shade {
    opacity: .5;
    pointer-events: auto;
}
#screen-shade {
    opacity: 0;
    background: #000;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    transition: opacity .8s;
}
.css-only-modal p {
    color: #000;
    font-size: 15px;
    font-weight: bold;
}
/*------------End pop up css------*/

.custom_home_popup{
    /* THIS IS THE POP UP SECTION AT THE HOMEPAGE */
}



.ul-col3 {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

/* Banner */
.banner-a-xl-title {
    min-height: unset !important;
}

/*  Editables */
.section--light .editable h1, .section--light .editable h2, .section--light .editable h3, .section--light .editable h4, .section--light .editable h5, .section--light .editable h6 {
    clear: initial;
}

/* Custom colors */
.section--dark .featuredblocks-grid-a .featuredblocks .featuredblock__title {
    color: white;
}

/* Media */
@media (min-width: 1200px) {
    .banner-a .banner__title {
        font-size: 8rem;
        line-height: 8rem;
    }
}
@media(max-width: 1199px) and (min-width: 992px) {
    .banner-a .banner__title {
        font-size: 4rem !important;
        line-height: 4rem!important;
    }
}
@media (min-width: 992px) {
    .imgright {
        float: right;
        margin: 0 0 10px 10px;
    }
    .imgleft {
        float: left;
        margin: 0 10px 10px 0;
    }
    .banner-a .banner__subtitle {
        font-size: 2.75rem;
        line-height: 4rem;
    }
}
@media(max-width: 991px) {
    .nav-header {
        display: none;
    }
    .imgright, .imgleft {
        float: none;
        display: block;
        margin: 0 auto 10px;
    }
}

