/* TBD: form.css
 */

label {
    width: 100%;
}

#qf-form-wrap {
    margin: 20px;
}

.qf-form-container {
    background-color: #fff;
    background-color: rgba(11, 85, 10, 0.65);
    border-bottom: 2px solid #525252;
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 18px;
    min-height: 300px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    z-index: 0;
    color: #ffffff;
}

.qf-form-heading {
    margin-bottom: 20px;
    overflow: hidden;
}

.qf-form-heading h1 {
    color: #fff;
    font-size: 1.75em;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: 0;
}

#first-step .qf-form-heading h1 {
    font-size: 2.2em;
}

.qf-form-container.hidden,
.qf-form-container .hidden {
    display: none;
}

/* General button style (reset) */
.qf-form-container .qf-btn,
.qf-modal-overlay .qf-btn,
div.ccm-page main .qf-form-container a.qf-btn {
    background: #176ed3;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: inherit;
    font-weight: 700;
    outline: none;
    padding: 15px;
    position: relative;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 1;
    margin-bottom: 20px;
}

#qf-form-wrap .qf-btn,
#qf-form-wrap .qf-btn:hover {
    color: #fff;
}

.qf-form-container .qf-btn:active,
.qf-form-container .qf-btn:hover {
    background: transparent;
    color: #ffffff;
}

.qf-form-container .qf-btn:hover:after,
.qf-form-container .qf-btn:active:after,
.qf-modal-overlay .qf-btn:hover:after,
.qf-modal-overlay .qf-btn:active:after {
    width: 100%;
}

.qf-form-container .qf-btn:after,
.qf-modal-overlay .qf-btn:after {
    background: #79c879;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    top: 0;
    transition: all 0.3s;
    width: 0%;
}

.qf-form-container .img-circle {
    border: 3px solid #c6c8c6;
}

#zipcode,
.form-group input {
    width: 300px;
    height: 60px;
    border-radius: 0;
    border: 3px solid #c6c8c6;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.form-group textarea {
    height: 4em;
}

.qf-form-container[data-form=contact] input,
.qf-form-container[data-form=details] input {
    width: 100%;
}

#zipcode:hover,
.selectbox select:hover,
.form-group input:hover,
.toggle:hover {
    border: 3px solid #79c879;
}

.header-humanoid {
    margin-bottom: 20px;
}

/*========== FORM STEP 2 ===========*/
.qf-form-container .form-control {
    padding: 6px 12px;
}

.form-group {
    overflow: hidden;
}

.form_heading {
    margin-bottom: 20px;
}

.form-inline .form-group {
    width: 49%;
    margin-bottom: 20px;
}

.form-inline input[type=text] {
    width: 100%;
}

.form-group label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5em;
}

.selectbox select {
    height: 60px;
    width: 100% !important;
    border: 3px solid #c6c8c6;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
    padding: .5em;
    padding-left: 12px;
    padding-right: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 1px;
}

.form-group textarea {
    border: 3px solid #c6c8c6;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #555;
    font-weight: bold;
    height: 10em;
    letter-spacing: 1px;
    width: 98.5%;
}

#secure-logos {
    text-align: right;
    /*background-color: #fff;*/
    margin-top: 10px;
}

#secure-logos img {
    background: #fff;
    margin: 0 5px;
    height: auto;
    float: right;
}

/*=============== FORM STEP 3 =================*/
.toggle {
    overflow: visible;
    width: 49%;
    float: left;

    border: 3px solid #c6c8c6;
    color: inherit;
    background: #ffffff;
    cursor: pointer;
    display: inline-block;
    outline: none;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 1;
}

#height, #weight {
    width: 49%;
    float: left;
}

#dob-wrap .selectbox {
    display: inline-block;
    margin-right: 1%;
    width: 32%;
}

#dob-wrap .selectbox:first-of-type {
    width: 33%;
}

#dob-wrap .selectbox:last-child {
    margin-right: 0;
}

.form-group #male,
.form-group #tabacco,
.form-group .toggle-right,
#height {
    margin-right: 8px;
}

#tabacco {
    clear: both;
}

.toggle:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.toggle label {
    width: 100%;
    margin-bottom: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.toggle label span {
    text-align: center;
    padding: 15px 20px;
    display: block;
    cursor: pointer;
}

.toggle label input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.toggle .input-checked /*, .bounds input:checked + span works for firefox and ie9 but breaks js for ie8(ONLY) */
{
    background-color: #79c879;
    color: #fff;
}

.form-group input[type="checkbox"] {
    display: none;
}

.form-group input[type="checkbox"] + label {
    font-size: .875em;
}

.form-group-heading {
    font-size: 1.25em;
    color: #333;
}

.form-group input[type="checkbox"] + label span {
    background-color: #fff;
    border: 3px solid #ccc;
    display: inline-block;
    height: 20px;
    margin-left: 3px;
    margin-right: 8px;
    vertical-align: top;
    width: 20px;
}

.form-group input[type="checkbox"]:checked + label span {
    background-color: #79c879;
}

.form-group input[type="checkbox"]:hover + label span {
    border-color: #79c879;
}

.form-inline .form-group:first-child input[type="checkbox"] + label span {
    margin-left: 0;
}

/* Results Step
 */

.qf-form-container[data-form=results ] .qf-form {
}

.qf-form-container[data-form=results ] .recalculate {
    border: 2px solid transparent;
}

.table-row {
    background-color: #fff;
    font-size: .75em;
    margin: 0;
    padding: 12px 12px 50px;
    text-align: center;
    color: #1d1d1d;
}

.table-row-header {
    background-color: #959595;
    color: #fff;
    font-size: .75em;
    font-weight: bold;
    margin: 0;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
}

.table-row-template {
    display: none;
}

.premium-amount {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.premium-logo {
    cursor: pointer;
}

.premium-link {
    cursor: pointer;
    text-decoration: underline;
    margin: 20px 0;
}

/* Medical Conditions
 */

.medical-conditions.form-inline .form-group {
    margin-bottom: 0px;
}

/* Product Info
 */
.product-info {
    font-size: .75em;
}

.product-info h2 {
}

.product-info h3 {
    border-bottom: 2px solid #ccc;
}

.product-info p {
}

.product-info .info-item label {
    display: inline-block;
    vertical-align: top;
    width: 40%;
}

.product-info .info-item span {
    display: inline-block;
    width: 60%;
}

@media (min-width: 68.75em) {
    .form-container__text {
        max-width: 100%;
    }

    .form-container__img {
        opacity: 1
    }

    .form-container__main-heading h1 {
        font-size: 2.5em;
    }
}

@media (min-width: 80.75em) {
    .form-container__overlay-img img {
        display: block
    }
}

@media (max-width: 1199px) {
    .qf-form-heading h1 {
        font-size: 1.65em;
    }

    a.recalculate.qf-btn {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .form-container {
        height: auto;
    }

    .qf-form-heading h1 {
        font-size: 1.25em;
    }
}

@media (max-width: 767px) {
    #secure-logos img {
        margin-bottom: 15px;
    }

    .qf-form-heading div[class*="col-"] {
        padding: 0;
    }

    #form-container .table-row-header {
        display: none;
    }
}

/* Modal
 */

.qf-modal-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0px;
    z-index: 1050;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
}

.qf-modal-wrap {
    background-color: #fff;
    border: 3px solid #ccc;
    display: inline-block !important;
    max-width: 80%;
    min-width: 40%;
    position: relative;
}

.qf-modal-content {
    font-size: 18px;
    padding: 20px;
}

.qf-modal-button-area {
    padding: 0 20px 20px 20px;
    text-align: right;
}

/* Loading
 */

.quoter-loading-outerwrap {
    background-color: #FFF;
    border-radius: 6px;
    display: none;
    min-width: 260px;
    position: fixed;
    z-index: 200; /* Higher than Redactor @ 100 */
}

.quoter-loading-wrap {
    background-color: #fff;
    border: 3px solid #ccc;
    padding: 2em;
    text-align: center;
}

.quoter-loading-title {
    color: #000;
    font-size: 2em;
}

.quoter-loading-subtitle {
    color: #000;
    font-size: 1.5em;
    font-style: italic;
    margin-top: .5em;
}

.quoter-loading-ellipsis:after {
    animation: ellipsis 900ms linear infinite;
    -moz-animation: ellipsis 900ms linear infinite;
    -ms-animation: ellipsis 900ms linear infinite;
    -webkit-animation: ellipsis 900ms linear infinite;
    content: "\00a0\00a0\00a0"; /* ellipsis */
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

@keyframes ellipsis {
    0% {
        content: "\00a0\00a0\00a0";
    }
    25% {
        content: ".\00a0\00a0";
    }
    50% {
        content: "..\00a0";
    }
    75% {
        content: "...";
    }
}

@-moz-keyframes ellipsis {
    0% {
        content: "\00a0\00a0\00a0";
    }
    25% {
        content: ".\00a0\00a0";
    }
    50% {
        content: "..\00a0";
    }
    75% {
        content: "...";
    }
}

@-ms-keyframes ellipsis {
    0% {
        content: "\00a0\00a0\00a0";
    }
    25% {
        content: ".\00a0\00a0";
    }
    50% {
        content: "..\00a0";
    }
    75% {
        content: "...";
    }
}

@-webkit-keyframes ellipsis {
    0% {
        content: "\00a0\00a0\00a0";
    }
    25% {
        content: ".\00a0\00a0";
    }
    50% {
        content: "..\00a0";
    }
    75% {
        content: "...";
    }
}

/* TBD: style.css
 */

body {
    padding-top: 70px; /*for fixed header, adjustment*/
    font-family: "Open Sans", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    -webkit-transition-duration: .5s;
    transition-duration: .5s;

    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);

    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
}

.header--hidden {
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

.navbar {
    padding: 10px 0;
}

.navbar-fixed-top {
    background-color: #4d83b0;
    border: none;
}

.navbar-header a,
#main-navigation a {
    color: #ffffff;
}

#qf-form a.btn-c {
    color: #fff;
}

#qf-form a.btn-c:hover {
    text-decoration: none;
    color: #fff;
}

.qf-form-container .slider.slider-horizontal {
    margin: 0 12px 0 10px;
}

.qf-form-container .slider-tick-container {
    display: none;
}

@media (max-width: 479px) {
    .qf-modal-overlay {
        padding-top: 175px;
    }
}

/*OVERRIDES*/

.no-ajax .hidden, .no-ajax .qf-form-container.hidden, .no-ajax .qf-form-container .hidden {
    display: block !important;
}

.no-ajax .qf-form-container {
    min-height: inherit;
}