/**
@file
Baseline CSS for bootstrap-prefixed forms (add CSS to make forms look good for our setup).
*/


form.autowired {
    padding-bottom: 30px;
}

.survey-submit-button {
    margin-top: 30px;
}

.input-group.date {
    max-width: 300px;
}

#shell .bs .row {
    display: block;
    margin-right: -15px;
    margin-left: -15px;
    width: auto;
}

.bs .row .form-group {
    padding-left: 15px;
    padding-right: 15px;
}

.bs label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

.bs .radio label,
.bs .checkbox label {
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.bs .radio.disabled label,
.bs .checkbox.disabled label,
.bs fieldset[disabled] .radio label,
.bs fieldset[disabled] .checkbox label {
    cursor: not-allowed;
}

.bs .has-feedback label.sr-only ~ .form-control-feedback {
    top: 0;
}

#shell .bs .checkbox label {
    padding-left: 0;
}

.checkbox {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.checkbox input[type="radio"],
.checkbox input[type="checkbox"] {
    cursor: pointer;
}

.bs .checkbox input[type="radio"],
.bs .checkbox input[type="checkbox"] {
    margin-left: -30px;
}

.bs label.aligned {
    text-indent: -2.1em;
    padding-left: 2.1em;
}
.bs label.aligned-less {
    text-indent: -1.3em;
    padding-left: 1.3em;
}

.survey-submit-button {
    text-align: center;
}

.survey-submit-button .btn {
    padding: 11px 50px 8px 45px;
}

textarea.errored,
input.errored {
    outline: 1px solid #990000;
}

.bs .radio input[type="radio"],
.bs .radio-inline input[type="radio"] {
    float: none;
    margin-left: 0;
    margin-right: 10px;
}

.bs .radio label {
    padding-left: 0;
}

.bs .checkbox {
    padding-left: 50px;
}

.bs .hidden-xs-table {
    display: table !important;
}


@media (max-width: 767px) {
    .bs .hidden-xs-table {
        display: none !important;
    }
}

.bs .highlight {
    padding: 15px;
    border-radius: 4px;
}

::-moz-selection {
    background: #b3d4fc;
}

::selection {
    background: #b3d4fc;
}

.bs form .required:after {
    position: relative;
    font-size: 75%;
    content: '*';
    padding: 0 0.25em;
    color: #a00;
    vertical-align: top;
}

input.other-input.form-control {
    position: absolute;
    bottom: 0;
    width: 44%;
    right: 0;
    z-index: -1;
}

.other-active input.other-input.form-control {
    z-index:0;
}

#shell .other-active select {
    width: 50%;
}

.bs .autowired label {
    color: #555;
    font-size: 0.8em;
}

#shell .bs .autowired .checkbox label {
    top: -6px;
    position: relative;
}

.bs .autowired.activated .tooltip.top .tooltip-arrow {
    top: auto !important;
}

.bs .autowired.activated .tooltip.left {
    left: auto !important;
    right: 100% !important;
    margin: -13px -12px 0 0 !important;
}

.bs .autowired .tooltip-inner {
    background-color: #4d89d0;
    max-width: 600px;
    min-width: 300px;
    padding: 8px 12px;
    font-size: 1.1em;
}

.bs .autowired .tooltip.left .tooltip-inner {
    max-width: 100px;
    min-width: 100px;
}

.bs .autowired .tooltip.top .tooltip-arrow {
    border-top-color: #005f66;
}

#outer_shell #shell .autowired .eu-only {
    display: none;
}

.bs .checkbox + .checkbox.eu-only {
    margin-top: 10px;
}

.form-wrapper ul,
.form-wrapper p {
    font-size: 1em;
    line-height: 1.5em;
}
.form-wrapper .form-right-col ul,
.form-wrapper .form-right-col p {
    font-size: 0.9em;
    line-height: 1.1em;
}

.gcui-eu-message {
    font-size: 0.8em;
}

#content_container {
    overflow: visible;
}

#shell #main {
    padding-right: 20px;
}

@media (min-width: 768px) {
    #outer_shell #shell .product-side {
        padding-right: 17px;
    }
}

@media (max-width: 500px) {
    .node h2.title {
        font-size: 24px;
    }
}

/**
New 2-column sliding form layout CSS
*/

.div-hider,
.row.hider {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s cubic-bezier(0.165, 0.840, 0.440, 1.000), opacity .4s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -webkit-transition: max-height .3s cubic-bezier(0.165, 0.840, 0.440, 1.000), opacity .4s cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

.activated .div-hider,
.activated .row.hider {
    max-height: 250px;
    opacity: 1;
}

.activated .row.hider {
    max-height: 250px;
    opacity: 1;
}

@media (min-width: 768px) {

    .col-hider-row {
        max-height: 62px;
        overflow: hidden;
        transition: max-height .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
        -webkit-transition: max-height .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    }

    .activated .col-hider-row {
        max-height: 250px;
    }

    .col-hider-row .col-shower {
        width: 100% !important;
        transition: width .15s cubic-bezier(0.165, 0.840, 0.440, 1.000), padding-left .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
        -webkit-transition: width .15s cubic-bezier(0.165, 0.840, 0.440, 1.000), padding-left .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    }

    .activated .col-hider-row .col-shower {
        width: 50% !important;
    }

    .col-hider {
        width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden;
        opacity: 0;
        transition: width .15s cubic-bezier(0.165, 0.840, 0.440, 1.000), opacity .4s cubic-bezier(0.165, 0.840, 0.440, 1.000);
        -webkit-transition: width .15s cubic-bezier(0.165, 0.840, 0.440, 1.000), opacity .4s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    }

    .activated .col-hider {
        width: 50% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        opacity: 1;
    }

    .form-right-col,
    .form-left-col {
        transition: width .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
        -webkit-transition: width .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    }

    #shell .form-wrapper .form-left-col {
        padding-right: 40px !important;
    }
    [dir="rtl"] #shell .form-wrapper .form-left-col {
        padding-right: 0px !important;
        padding-left: 40px !important;
    }

    .activated .form-left-col {
        width: 33.33333333333333% !important;
    }
    .activated .form-right-col {
        width: 66.66666666666666% !important;
    }

    #shell .form-wrapper .col-sm-6 {
        transition: padding .05s cubic-bezier(0.165, 0.840, 0.440, 1.000);
        -webkit-transition: padding .05s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    }

}

@media (max-width: 767px) {

    .col-hider {
        max-height: 0 !important;
        overflow: hidden;
        opacity: 0;
        transition: width .15s cubic-bezier(0.165, 0.840, 0.440, 1.000), opacity .4s cubic-bezier(0.165, 0.840, 0.440, 1.000);
        -webkit-transition: width .15s cubic-bezier(0.165, 0.840, 0.440, 1.000), opacity .4s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    }

    .activated .col-hider {
        max-height: 250px !important;
        opacity: 1;
    }

}

.form-wrapper.bs label {
    margin-bottom: 3px;
}

.form-wrapper.bs input.form-control {
    height: auto;
}

.form-wrapper.bs .form-control {
    padding: 4px 12px;
    border-radius: 0;
}

.freedvd.form-wrapper.bs .form-group {
    margin-bottom: 10px;
}

.title-tight {
    font-size: 21px;
    line-height: 0;
    position: relative;
    top: 3px;
}

.form-wrapper .a-bit-smaller {
    font-size: 13px;
}

.form-wrapper .form-right-col {
    background: #E4EBF2;
    border: 1px solid #c9d2d9;
    padding: 0 25px !important;
}

.form-wrapper .form-right-col:before {
    content: " ";
    display: block;
    /*background: #b7c0c6;*/
    background: url(/theme/images/cchr-form-bg.jpg) top left no-repeat;
    height: 17px;
    margin: 0 -26px;
}

.form-wrapper {
    margin-bottom: 50px;
}

.phone-notice-hint:visited,
.phone-notice-hint:link,
.phone-notice-hint:hover,
.phone-notice-hint:active,
.phone-notice-hint {
    font-weight: normal;
    display: inline-block;
    font-size: 75%;
    text-decoration: none;
}


/*.form-image-left {
    margin: 15px 40px 30px 10px;
}
.form-wrapper .form-right-col h2.title {
    line-height: 0.6em;
    margin-top: 10px;
}*/


.freedvd.bs .form-group {
    margin-bottom: 26px;
}

.form-wrapper .form-left-col li {
    margin-bottom: 11px;
}

.form-wrapper .row {
    transition: margin .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
    -webkit-transition: margin .3s cubic-bezier(0.165, 0.840, 0.440, 1.000);
}

.form-wrapper.activated .row {
    margin-bottom: 10px;
}

#dfw_boxed_notice {
    clear: both;
    border: 1px solid #999999;
    padding: 20px;
}

#educator_confirm_wrapper {
    margin-top: 10px;
    font-weight: normal;
}

.form-right-col h2.title br {
    display: none;
}

.locale-en .form-right-col h2.title br {
    display: block;
}

.form-right-col h2.title .left-title1,
.form-right-col h2.title .left-title2 {
    font-size: 24px;
}

.phone-notice-hint {
    display: none;
}

.locale-en .phone-notice-hint {
    display: block;
}

.product-side {
    line-height: 1.5em;
}

.left-title1 {
    font-family: Helvetica, Arial, Verdana, sans;
    font-size: 18px;
    color: black;
}
.gcui-dynaform .left-title2:lang(en) {
    font-size: 23px;
}

.left-title2 {
    color: #e10000;
    font-weight: normal;
    font-family: Helvetica, Arial, Verdana, sans;
    font-size: 22px;
}

#gcui_dynaform_left_blurb img {
    float: left;
    margin-right: 10px;
}

.activated #gcui_dynaform_left_blurb img {
   float: none;
}

.form-image-left {
    float:left;
    width: 280px;
    max-width: 100%;
    display: block;
    margin-right: 20px;
}


@media (min-width: 768px) and (max-width: 991px) {
    .form-right-col .left-title1,
    .form-right-col .left-title2{
        font-size: 1em;
    }

     .form-right-col .survey-submit-button button:lang(fr)
     {
        padding-left: 4px;
        padding-right: 6px;
        font-size: 10px;
        font-size: 1em;
    }

     .form-right-col .survey-submit-button button:lang(de),
     .form-right-col .survey-submit-button button:lang(ru),
     .form-right-col .survey-submit-button button:lang(pt),
     .form-right-col .survey-submit-button button:lang(es),
     .form-right-col .survey-submit-button button:lang(es_es)
     {
         padding-left: 4px;
         padding-right: 6px;
     }
}
