﻿
/* Form panels */
.form_heading_container {
    margin:0;
    padding: 20px 0 25px 0;
    box-sizing: border-box;
    background-color: #C2486D;
    width: 100%;
}

.form_heading_container h1 {
    font-family: "Open Sans";
    font-weight: 300;
    font-size: 43px;
    color: #fff;
}

.form_heading_content {
    margin: 0 auto;
    width:100%;
    max-width: 970px;
}

.form_panel_container {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background-color: #f7f7f7;
    border-top: SOLID 1px #E6E6E6;
    border-bottom: SOLID 1px #E6E6E6;
    width: 100%;
}

.form_panel_content {
    margin: 0 auto;
    padding: 2em 0;
    box-sizing: border-box;
    max-width: 970px;
}

.form_panel_left {
    width: 50%;
    float: left;
}
.form_panel_left p {
    font-size: 120%;
}

.q_lbl {
    font-size:120%;
}

.form_panel_right {
    margin: 0;
    padding: 0 20px 20px 20px;
    width: 48%;
    float: right;
    background-color: #C4DEF4;
    border-radius: 7px;
    box-sizing: border-box;
}

.form_panel_right p {
    font-size:105%;
    line-height:10px;
}

.question {
    margin-bottom:1.6%;
}

.q_subtext {
    color: #777;
    font-size: 100%;
    margin-top: -5px;
    padding-bottom: 3px;
}

#quoteSummary h3 {
    color: #222;
    background-color: #C4DEF4;
    padding: 0.3em;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin-bottom: 0;
    font-size: 170%;
}

#quoteSummary h4 {
    color: #222;
    background-color: #888;
    padding: 0.3em;
    margin-bottom: 0;
    font-size: 150%;
}

.p {
    margin-top: 1%;
    display: table;
    width: 100%;
    font-size: 110%;
    background-color: #f0f0f0;
}
/* Summary table */
.q, .a {
    width: 46%;
    display: table-cell;
    margin-right: 1%;
    vertical-align: middle;
    padding: 3px 5px;
}

.q {
    padding-left:2px;
    width: 57%;
    border-right: 1px SOLID #ddd;
}

.a {
    width: 37%;
    font-weight: bold;
    background-color: #fcfcfc;
}

.c {
    margin-top: 0;
}

/* Quote Box */
.quote_premiums {
    font-size: 110%;
    text-align: center;
    padding-top: 8%;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
    line-height: 24px;
}

.quote_but_figures {
    margin:.4em auto;
    width:100%;
    padding: .6em;
    font-size: 110%;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
    line-height: 24px;
    float:none;
}

.quote_but_text {
    font-size: 75%;
    text-align: center;
    color: #333;
    text-shadow: none;
    line-height: 24px;
}

.quote_sub_text {
    text-shadow: none;
    color: #444;
    font-size: 40%;
    line-height: 16px;
}

.quote_OR {
    font-size: 100%;
    text-align: center;
    padding-top: 8%;
    color: #555;
    line-height: 24px;
}

/* Multi options*/
.multiRDO {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.multiRDO-lbl {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-top: 3px;
    border-radius: 3px;
    transition: all .3s;
    border: 1px SOLID #ddd;
    cursor: pointer;
    background-color: #fff;
    font-size: 14px;
    z-index: 1 !important;
}

.multiRDO:checked + .multiRDO-lbl {
    background: #DFF0D8;
    color: #3C763D;
    border: 4px SOLID #DFF0D8;
    margin-right: 0;
    box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    cursor: default;
    z-index: 99 !important;
    margin-top: 2px;
}

.multiRDO_slim {
    padding: 3px 20px;
}

.multiRDO_vslim {
    padding: 2px 6px !important;
    margin-right: -1px;
}

.multiRDO:checked + .multiRDO-lbl.multiRDO_slim {
    border: 2px SOLID #DFF0D8;
}

.multiRDO_container {
    height: 60px;
    margin-top: -2px;
    position:relative;
}

.multiRDO_container_slim {
    height: 45px;
    margin-top:0px;
    position:relative;
}

/* chkSwitches */
.chkSwitch {
    float: left;
    margin-top: 8px;
    margin-right: 5px;
}

    .chkSwitch input[type="checkbox"]:checked ~ label {
        background: #DFF0D8;
        color: #3C763D;
    }

.chkSwitch input[type="checkbox"] {
    opacity: 0;
    display: none;
}

.chkSwitch label {
    padding: 8px;
    background: #999;
    width: auto;
    height: auto;
    border-radius: 5px;
    border: solid 1px #CCC;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
    color:#fff;
}

/* Toggle switches for checkboxes */
.toggle_container input[type="checkbox"] {
    opacity: 0;
    display: none;
}

.toggle_container label {
    background: #999;
    width: 90px;
    height: 32px;
    border-radius: 18px;
    border:solid 1px #CCC;
    /* box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2); */
    position: relative;
    display: inline-block;
    transition: all 1s;
    cursor: pointer;
}

.toggle_container label:before {
    content: "NO";
    display: inline-block;
    color: #FFF;
    position: absolute;
    right: 15px;
    text-transform: uppercase;
    line-height: 30px;
    transition: all 0.5s;
}

.toggle_container label:after {
    width: 24px;
    height: 24px;
    background: #fff;
    display: inline-block;
    position: absolute;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
    left: 4px;
    top: 3px;
    border-radius: 50%;
    content: "";
    transition: all 0.3s;
}

.toggle_container input[type="checkbox"]:checked ~ label {
    background: #dff0d8;
    color: #3c763d;
    border: solid 1px #3c763d;
}

.toggle_container input[type="checkbox"]:checked ~ label:after {
    left: calc(100% - 28px);
}

    .toggle_container input[type="checkbox"]:checked ~ label:before {
        content: "YES";
        right: auto;
        left: 12px;
        color: #3c763d;
    }

/* Help overlay */
.help_overlay {
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
}

.help_overlay_content {
    position: relative;
    width: 80%;
    background: #fff;
    margin: 1em auto;
    max-width: 900px;
    max-height: calc(80vh - 10vw);
    top: 10vw;
    overflow-y: auto;
}

.help_overlay_content h2 {
    margin: 0;
    padding: 20px 0 25px 0;
    box-sizing: border-box;
    background-color: #C2486D;
    width: 100%;
    font-size: 1.8em;
    color: #fff;
}

.help_overlay_content p {
    margin: 0;
    padding: 1em 1em 1em 1em;
    box-sizing: border-box;
    background-color: #fff;
    width: 100%;
    font-size: 1.2em;
    color: #000;
    text-align:left;
}

.help_overlay:target {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    /** Remove default browser outline */
    outline: none;
    /** Unhide lightbox **/
    display: block;
}

.help_overlay_content ul
{
    text-align:left;
    color:#333;
    font-size:110%;
}

#rdoCardType-error, #rdoTitle-error {
    top: -10px;
    position: relative;
}

/* Bootstrap Overrides! */
.help-block {
    padding-top: 0px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.input-group {
    padding-bottom: 5px !important;
}

.input-group-addon {
    padding: 6px 4px !important;
}

label {
    font-weight: normal;
    margin-bottom:3px;
}

.form-group {
    margin-bottom: 0px;
}

.error {
    color: #a94442;
}

.addon_help {
    background-color: #C4DEF4;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
    position: absolute;
    top: 6px;
    margin-left: 3px;
}
.addon_help:hover {
    background-color: #D7E8F7;
    cursor: pointer;
}

.form-group > .col-sm-6,
.form-group > .col-sm-5
{
    margin-right: 15px;
}

.has-feedback .form-control {
    padding-right: 12.5px !important;
}

.last {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    border-left: none;
}

.withTick2 {
    width: 20px;
    height: 20px;
    margin-right: 3px;
    background: url('../img/tick.png') center center no-repeat;
    background-size: auto;
    background-size: cover;
    z-index: 99;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 935px) {

}

@media only screen and (max-width: 890px) {

    .quote_but_figures {
        width: 100%;
        font-size: 100%;
    }

}

@media only screen and (max-width: 780px) {

    .question {
        margin-bottom: 1%;
    }

    .form_panel_left {
        width: 100%;
        margin-left:1%;
    }

    .form_panel_right {
        margin-left: 0;
        width: 100%;
        border-radius: 0;
        position: relative;
        left: 0;
        max-width: none;
        padding: 0 2% 2% 2%;
    }

    .quote_premiums {
        padding-top: 4%;
        font-size: 110%;
    }

    .quote_OR {
        padding-top: 5%;
        line-height: 14px;
        margin-bottom: 0;
        font-size: 80%;
    }

    .form_panel_right h3 {
        font-size: 180%;
    }

    .form_panel_right h4 {
        font-size: 50%;
    }
}

@media only screen and (max-width: 580px) {

    .quote_premiums {
        padding-top: 4%;
        font-size: 90%;
    }

    .quote_OR {
        padding-top: 5%;
        line-height: 14px;
        margin-bottom: 0;
        font-size: 70%;
    }

    .quote_but_figures {
        width: 100%;
        font-size: 90%;
    }


    .multiRDO-lbl {
        padding: 10px 2%;
    }
    
    .multiRDO_slim {
        padding: 3px 20px;
    }
}
