/**
@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: 0;
    margin-left: 0;
}

#shell .bs .row > *,
#shell .bs .col {
    display: inherit;
    padding-right: 0;
}
[dir="rtl"] #shell .bs .row > *,
[dir="rtl"] #shell .bs .col {
    padding-left: 0;
    padding-right: 15px;
}

.bs .row > *:first-child {
    padding-{{.Styletools.left}}: 0;
}

@media (max-width: 767px) {
    #shell .bs .row > *,
    #shell .bs .col {
        padding-{{.Styletools.left}}: 0;
    }
}

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

.bs .radio label,
.bs .checkbox label {
    padding-{{.Styletools.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;
}

/*

@media (min-width: 768px) {
    .bs .form-inline .control-label {
        margin-bottom: 0;
        vertical-align: middle;
    }
    .bs .form-inline .radio label,
    .bs .form-inline .checkbox label {
        padding-left: 0;
    }
}

@media (min-width: 768px) {
    .bs .form-horizontal .control-label {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: right;
    }
}

@media (min-width: 768px) {
    .bs .navbar-form .radio label,
    .bs .navbar-form .checkbox label {
        padding-left: 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 45px 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;
    }
}

h1.title {
    font-size: 1.4em;
}

:lang(el) h1.title {
    text-transform: none;
}

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

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

::selection {
    background: #b3d4fc;
}

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

input.other-input.form-control {
    position: absolute;
    bottom: 0;
    width: 44%;
    right: 0;
    z-index: -1;
}
[dir="rtl"] input.other-input.form-control {
    left: 0;
    right: auto;
}

.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;
}
:lang(ru) .bs .autowired label[for="salutation"],
:lang(sv) .bs .autowired label[for="salutation"] {
    font-size: 0.7em;
}

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

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

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

.bs .autowired .tooltip-inner {
    background-color: #005f66;
    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;
}

/*
.autowired.is-eu .non-eu,
.autowired .eu-only {
    max-height: 0;
    min-height: 0;
    overflow: hidden;
}

.autowired .non-eu,
.autowired.is-eu .eu-only {
    transition: max-height .3s ease-out;
    max-height: 200px;
}

.autowired.is-eu.show-all .eu-only {
    overflow: visible;
}
*/

.form-wrapper ul,
.form-wrapper p {
    font-size: 0.9em;
}

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

.autowired label[for="address"],
.autowired label[for="address2"],
.autowired label[for="city"] {
    min-height: 30px;
}

.autowired label[for="address2"] {
    font-size: 0.75em;
    padding-bottom: 3px;
}

#content_container {
    overflow: visible;
}

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

@media (min-width: 768px) {
    #outer_shell #shell .product-side {
        padding-right: 17px;
        border-right: 1px solid #eee;
    }
[dir="rtl"] #outer_shell #shell .product-side {
        padding-left: 17px;
        border-left: 1px solid #eee;
        padding-right: none;
        border-right: none;
    }
}

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

.freedvd h2.title {
    margin-bottom: 20px;
}

