/* 
    Document   : questionary_layout
    Created on : 24.07.2016, 17:22:19
    Author     : helmuth
    Description:
        Purpose of the stylesheet follows.
*/

.sorter-question li.ui-sortable-helper {

    color: #444;
    text-shadow: 0px 1px 1px #fff;
    background-color: #FFE600;
}

select.form-control {
    width: auto;
}

@media screen and (max-width: 768px) {
    select.form-control {
        width: 100%;
    }
}

.mobile-input-wrapper {
    overflow-x: auto;
    display: block;
}

img.answer-image {
    width: 200px;
    margin: 16px;
    max-width: unset !important;
}

#fanscore-bar {
    background-color: #fff;
    border-color: #ddd;

    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
}

#fanscore-bar h3 {
    margin: 0px;
    display: inline-block;
    margin-right: 25px;
    line-height: 24px;
    font-size: 20px;
}

span.fanscore-title {
    font-weight: bold;
    line-height: 24px;
}

@media screen and (max-width: 380px) {
    span.fanscore-title {
        font-size: smaller;
    }

    .save-answer {
        margin-bottom: 16px;
        margin-left: 7px;
    }
}

span.fanscore-value {
    font-weight: bold;
    text-align: right;
    line-height: 24px;
    float: right;
}

.bigger-button {
    font-weight: bold;
    font-size: 20px;
    padding: 14px;
}

.statusViews {
    position: fixed;
    bottom: 2px;
    right: 20px;
    box-shadow: 0px 0px 5px #000;
    z-index: 1;
}

/** Register **/

#del-barometer-table-wrapper {
    overflow-x: auto;
}

#DEL-Barometer-Table {
    font-size: 10px;
}

#DEL-Barometer-Table td, #DEL-Barometer-Table th {
    border: 1px solid #ccc;
    border-collapse: collapse;
}


#DEL-Barometer-Table td, #DEL-Barometer-Table th {
    padding: 2px;
}

#DEL-Barometer-Table td p, #DEL-Barometer-Table th p {
    margin: 0px;
    padding: 0px;
}

#DEL-Barometer-Table tbody td p,
#DEL-Barometer-Table tfoot td p {
    text-align: center;
}

#DEL-Barometer-Table tbody td:nth-child(1) p,
#DEL-Barometer-Table tfoot td:nth-child(1) p {
    text-align: left;
    font-weight: bold;
}

tr.icehockey-blue {
    color: #fff;
    background-color: #005a94
}

tr.icehockey-blue.gesamtnote {
    font-size: 12px;
    font-weight: bold;
}

tr.icehockey-blue.rang {
    font-weight: bold;
}

input.large-view {

    font-size: 36px;
    text-align: center;
    padding: 3px;

    line-height: 48px;
    height: 60px;
}

ul.ui-widget-content.ui-autocomplete {
    max-width: 71% !important;
    cursor: pointer;
}

input.ui-autocomplete-input {
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
    background-size: 8px 10px;
}

.radio, .checkbox {
    line-height: 30px;
}

.radio label, .checkbox label {
    padding-left: 15px;
}

.radio label::before, .checkbox label::before {
    width: 27px;
    height: 27px;
}

.radio label::after {
    font-size: 13px;
    width: 19px;
    height: 19px;
    left: 4px;
    top: 4px;
}

.checkbox label::after {
    font-size: 13px;
    width: 19px;
    height: 19px;
    left: 4px;
    top: -2px;
}

@media (min-width: 768px) {
    .form-inline .radio label, .form-inline .checkbox label {
        padding-left: 15px;
    }
}

.password-strenght-checklist {
    padding-top: 40px;
}

@media (max-width: 768px) {
    .password-strenght-checklist {
        padding-top: 15px;
    }
}

.password-strenght-checklist span {
    display: block;
}

.password-strenght-checklist .fa-check-circle {
    color: #1c7430;
}

.password-strenght-checklist .fa-exclamation-circle {
    color: #970b0e;
}

div[data-id_questions="470281"] .answer-wrapper-choice[title]::before {
    display: block;
    font-weight: bold;
    margin-top:16px;
    content: attr(title);
}

div[data-id_questions="470281"] textarea {
    height: 35px;
    width: 200px;
}

input[type="text"].demography:first-of-type, select.demography:first-of-type{
    margin-left: 20px;
}

@media (max-width: 768px) {
    input[type="text"].demography:first-of-type, select.demography:first-of-type{
        margin-left: 0px;
        width: 100% !important;
        display: block;
        float: none;
        margin-bottom: 8px;
    }
}

/* responsive youtube embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (divided by width) */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}