
#survey-modal .modal-dialog {
    width: 60%;
    margin: 50px auto 0;
}
#survey-modal .modal-dialog.column {
    width: unset;
    max-width: 80%;
}
#survey-modal .modal-header {
    text-align: center;
    padding: 0 0 25px 0;
}
#survey-modal .modal-header img {
    width: 25%;
}
#survey-modal .modal-footer {

}
#survey-modal .modal-content {
    padding: 30px;
}
#survey-modal .modal-content .btn-primary {
    margin: 0;
    border-radius: 0 !important;  
    float: right;
    color: #FFF;
    background: #000;
    border: 2px solid #000;
    font-size: 16px;
}
#survey-modal .modal-content .btn-primary:hover {
    background: #FFF;
    color: #000 !important;
}
#survey-modal .modal-content .survey-loading {
    display: none;
    margin-left: 5px;
}
#survey-modal .survey-items input[type="radio"],
#survey-modal .survey-items input[type="radio"]:focus {
    outline: none !important;
    box-shadow: none !important;
}
#survey-modal .modal-content .modal-body {
    /*max-height: 675px;*/
}
@media (max-width: 1400px) {
    #survey-modal .modal-dialog {
        width: 80%;
    }
}
@media (max-width: 576px) {
    #survey-modal .modal-content {
        padding: 15px;
    }
    #survey-modal .modal-body {
        padding: 0;
    }
}

#survey-modal #stc-survey {
    margin-top: 25px;
    outline: none;
}

#survey-modal .survey-description {
    margin-bottom: 20px;
}

#survey-modal .survey-items {
    padding-right: 1.5em;
    padding-left: 1.5em;
    margin-bottom: 15px;
}
#survey-modal .survey-items {
    display: flex;
    flex-wrap: wrap; 
}
#survey-modal .survey-items.grid {
    flex-direction: row;
    align-content: center;
    align-items: flex-end;
    justify-content: space-between;
    row-gap: 40px;
    column-gap: 40px;
}
#survey-modal .survey-items.column {
    flex-direction: column;
    align-content: flex-start;
    align-items: center;
    justify-content: space-between;
    max-height: 90vh;
}
#survey-modal .survey-items.voting.grid .list-item {
    flex: 0 0 20%;
    /*width: calc(1/4*100% - (1 - 1/4)*50px);*/
    height: 100%;
    margin: 0 auto;
}
#survey-modal .survey-items.voting.column .list-item {
    flex: 0 0 50%;
}
#survey-modal .survey-items.voting .form-group {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 100%;
}
#survey-modal .survey-items.voting .list-item img {
    max-width: 100%;
    margin-bottom: 10px;
}
#survey-modal .survey-items.voting .list-item figure {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
}
#survey-modal .survey-items.voting .list-item label {
    display: block;
    height: 100%;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 5px;
    padding: 0;
}
#survey-modal .survey-items.voting .list-item span {
    display: block;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    padding: 0;
}
#survey-modal .survey-items.voting .list-item button {
    font-size: 18px;
    line-height: 12px;
    font-weight: bolder;
    text-transform: uppercase;
    padding: 8px 23px;
    margin: 8px auto 0;
    background-color: #000;
    border: 1px solid #000;
    border-radius: 0;
    color: #fff;
    
}
@media (max-width: 1200px) {
    #survey-modal .survey-items.grid {
        column-gap: 40px;
    }
    #survey-modal .survey-items.voting .list-item {
    
    }
}
@media (max-width: 1020px) {
    #survey-modal .survey-items {
        padding: 0;
    }
    #survey-modal .survey-items.grid {
        column-gap: 40px;
    }
    #survey-modal .survey-items.voting .list-item {
        flex: 0 0 25%;
    }
}
@media (max-width: 767px) {
    #survey-modal .survey-items {
        padding: 0;
    }
    #survey-modal .survey-items.grid {
        flex-direction: column;
    }
    #survey-modal .survey-items.grid .form-group {
        flex-direction: row;
    }
    #survey-modal .survey-items.grid .list-item {
        flex: 0 0 100%;
        width: 100%;
    }
    #survey-modal .survey-items.grid .list-item img {
        width: 50%;
        margin: 0;
    }
    #survey-modal .survey-items.grid .list-item figure {
        width: 50%;
    }
}
@media (max-width: 576px) {
    #survey-modal .survey-items.grid .list-item img {
        padding: 5px;
    }
    #survey-modal .survey-items.voting .list-item label {
        font-size: 14px;
        line-height: 18px;
    }
    #survey-modal .survey-items.voting .list-item span {
        font-size: 12px;
        line-height: 14px;
    }
    #survey-modal .survey-items.voting .list-item button {
        font-size: 16px;
        line-height: 10px;
    }
}



#survey-modal .survey-items.survey .list-item:before {
    content: attr(data-number) ".";
    display: inline-block;
    margin-left: -20px;
    margin-right: 8px;
    font-weight: bold;

    transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;

}
#survey-modal .survey-items.survey .list-item {
    clear: both;
    display: table;
    margin-bottom: 10px;
    width: 100%;
}
#survey-modal .survey-items li .has-error {
    /*outline: 1px solid #ff0000;*/
}


#survey-modal .survey-items.survey .form-group {
    display: table-cell;
    vertical-align: top;
    margin-bottom: 10px;
}

#survey-modal .survey-items.survey .list-item figure {
    width: 100%;
}


#survey-modal .survey-items .col-form-label {
    font-weight: bold;
}
#survey-modal input,
#survey-modal textarea,
#survey-modal select {
    padding: 0px 15px !important;
}
#survey-modal .radio,
#survey-modal .checkbox {
    margin-top: 0;
    margin-bottom: 0;
}



#survey-modal .survey-items .checkbox-option {
    float: left;
    width: 25%;
}
#survey-modal .survey-items .form-group[data-input-type="checkbox"] label.item {
    width: 100% !important;
    float: none;
}
#survey-modal .survey-items .form-group[data-input-type="checkbox"] label {
    float: left;
    width: 25%;
}
#survey-modal .survey-items input[type="checkbox"] {
    display: inline-block;   
    margin-right: 5px; 
}

#survey-modal .survey-items .form-group[data-input-type="radio"] label.item {
    width: 100% !important;
    float: none;
}
#survey-modal .survey-items .form-group[data-input-type="radio"] label {
    float: left;
    width: 25%;
    outline: none;
}

#survey-modal .survey-items input[type="checkbox"].form-control {
    height: unset;
}

#survey-modal .survey-items input[type="radio"] {
    display: inline-block;
    margin-right: 5px; 
    border-radius: 50%;
    height: 13px;
    width: unset !important;
}

#survey-modal .survey-items input[type="number"] {
    display: block;
    width: 25%;
    height: 25px;
}

#survey-modal .survey-items input[type="text"] {
    display: block;
    width: 100%;
    height: 25px;
}

#survey-modal .survey-items input[type="textarea"] {
    display: block;
    width: 100%;
    height: 100px;
}

#survey-modal .survey-items select {
    display: block;
    width: 50%;
    height: 25px;
    border-radius: 0 !important;
}

#survey-modal .form-control {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
#survey-modal .has-error .control-label {
    color: #a94442 !important;
}
#survey-modal .has-error .form-control {
    -webkit-box-shadow: inset 0 4px 4px rgba(0, 0, 0, .075);
    box-shadow: inset 0 4px 4px rgba(0, 0, 0, .075);
}



