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

#shell .bs .row > *,
#shell .bs .col {
    display: inherit;
}

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 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: #71211e;
    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, as other wise double smaler font. */
.form-wrapper p {
    font-size: 0.9em;
}

.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: 20px !important;
        padding-right: 20px !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: .5em;
    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: #fff;
    border: 1px solid #a3302b;
    padding: 0 25px !important;
}

.form-wrapper .form-right-col:before {
    content: " ";
    display: block;
    background: #a3302b;
    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;
}


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

.product-side ul li {
    margin-bottom: 8px;
}

#outer_shell #shell .form-wrapper li {
    font-size: 1em;
}

#shell #main .contact-form-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.contact-form-wrapper .phone-notice-hint,
.contact-form-wrapper .priv-notice-holder {
    display: none !important;
}

#main > .bs:first-child {
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
}

form .btn-primary {
    background-color: #a7453f;
    border-color: #a7453f;
}

form .btn-primary:hover,
form .btn-primary:focus,
form .btn-primary:active:hover,
form .btn-primary:active:focus {
    background-color: #d2161d;
    border-color: #d2161d;
}

