﻿body {
    height: 100%;
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #323232;
    padding: 0;
    margin: 0;
}

.hide {
    display: none;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    padding: 5px 7px;
    font-size: 1.5em;
}

    .close:hover {
        opacity: 0.8;
        cursor: pointer;
    }

.icon_button {
}

    .icon_button:hover {
        cursor: pointer;
        opacity: 0.8;
    }

.clear {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.danger {
    color: red;
}

.danger_border {
    border: thin solid red;
}

.indent {
    margin-left: 10px;
}

input[type="checkbox"], input[type="radio"] {
    padding: 0;
    width: auto;
}

input, select {
    width: 87%;
    line-height: 22px;
    margin: 3px 0px 8px 0px;
    padding: 3px 5px;
    border: 2px solid #d0cfcf;
    background-color: #f5f5f5;
    border-radius: 4px;
    height: 34px;
    font-size: 14px;
    font-family: Lato;
}

select {
    width: 89%;
    height: 42px;
    font-size: 18px;
}

input[type='checkbox'] {
    width: 20px;
    height: 20px;
    margin: 3px;
}

textarea {
    margin: 0px;
    height: 82px;
    width: 511px;
    margin: 3px 0px 0px 0px;
    padding: 3px 5px;
    border: 1px solid #969696;
    border-radius: 4px;
    font-size: 14px;
    font-family: Lato;
}
.box_count {
    padding-bottom: 5px;
}
.input_error {
    border-color: #E2524D !important;
}

.btn {
    text-shadow:none;
    font-weight:bold;
}

.main_header_box {
    position:fixed;
    clear: both;
    height: 50px;
    overflow: hidden;
    width:100%;
    border-bottom: thin solid silver;
    background-color: white;
    z-index:1;
    top:0;
    left:0;
}
.main_body {
    position:relative;
    margin-top:90px;
    z-index:0;
}
.progress_label {
    width: 100%;
    text-align: center;
    font-size: 14px;
    padding: 15px 0;
}
.progress {
    position: fixed;
    width: 50%;
    height: 3px;
    top: 49px;
    background-color: #52C41A;
    z-index: 2;
    margin: 0;
}

.main_header_logo {
    overflow: hidden;
}
.main_header_logo img {
    width: 140px;
    height: auto;
    margin-left: calc(50% - 70px);
}

.logout {
    position:absolute;
    color:white;
    right:20px;
    top:20px;
    font-size:16px;
}
.logout:hover {
    cursor:pointer;
    opacity:0.8;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.warning_box {
    padding: 25px;
    font-size: 24px;
    line-height: 36px;
}
.confirm_box, .thanks_box, .edit_box {
    padding: 0 20px;
    font-size: 18px;
}
.confirm_box .name {
    font-size:1.3em;
    padding:5px;
}
.confirm_box .greeting {
    font-size:16px;
    line-height:24px;
    padding:5px;
}
.confirm_box .field_box {
    padding:5px;
}
.confirm_box .field_box .row {
    clear:both;
    padding-bottom:10px;
}
.confirm_box .field_box .row .label {
    padding:3px 0;
}
.confirm_box .field_box .row .value {
    padding:3px 0;
    font-weight:bold;
}

.confirm_box .button_box {
    margin-left:5px;
}

.edit_box .instruct {
    font-size: 16px;
    padding-bottom: 17px;
}
.edit_box .row {
    height: 85px;
}
.edit_box .label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}
.edit_box .btn-info {
    width:120px;
    margin: 0 5px;
}

.confirm_box .btn {
    padding: 12px 25px;
    margin-bottom:8px;
    width: 100%;
    max-width: 300px;
}
.edit_box .btn {
    border-radius: 3px;
}

.msgtitle {
    color: #323232;
    font-family: Lato;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 26px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.msgcontent {
    color: #323232;
    font-family: Lato;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 24px;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
}

.msgheader {
    text-align: center;
    padding-bottom: 20px;
}

.selected-rectangle {
    box-sizing: border-box;
    border: 1px solid #E6E6E6;
    border-radius: 3px;
    background-color: #E6E6E6;
}

.correct {
    color: white;
    background-color: #52c41a;
}
.some_correct {
    color: black;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}
.none_correct {
    color: red;
    background-color: #f5f5f5;
    border-color: #f5f5f5;
}

.message {
    float: left;
    margin-left: 25px;
    color: red;
    padding-top: 10px;
}
.final_message {
    clear:both;
    padding:10px;
    color:red;
    text-align:center;
}
.textbox_box_button, .scale_box_button {
    float: left;
}

.questions_box {
    padding: 0 20px;
    position: relative;
    top: -15px;
}
.questions_box .title {
    font-size:18px;
    padding-bottom: 15px;
}
.question_box, .scale_box {
    clear:both;
    margin-bottom: 80px;
    display: table;
    width: calc(100% - 30px);
}
.question_box.disabled, .scale_box.disabled {
    opacity:0.4;
}
.question_row {
    clear: both;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    line-height: 32px;
}
.question_row .number {
    float: left;
    margin-right: 10px;
}
.question_row .question {
    float:left;
    margin-bottom:10px;
}
.radio_box {
    clear:both;
    float: left;
    margin-left: 15px;
}
.radio_box:hover {
    cursor:pointer;
    background-color: #f5f5f5;
}
.radio_field {
    display:table-cell;
}
.radio_text {
    display: table-cell;
    padding: 8px;
    top: -10px;
    position: relative;
}

.question_button_box {
    text-align: center;
    width: 100%;
    margin-bottom: 250px;
}
.question_button_box .btn {
    width:150px;
}
.last_question {
    margin-bottom: 10px !important;
}

.answer_box .textbox_box textarea {
    height:130px;
    width:100%;
}

.rate_box {
    padding: 0 25px;
    text-align:center;
    position:relative;
    top: -20px;
}
.rate_box .title {
    margin-top:15px;
    font-size:1.3em;
}
.rate_box .icon_chosen {
    height:35px;
}
.icon_box {
    clear:both;
    margin:10px;
    width:440px;
    height:90px;
    margin: 0 auto;
}
.icon_box div {
    float:left;
    margin:5px;
}
.icon_box div:hover {
    border: 1px solid green;
    border-radius:5px;
    cursor:pointer;
}
.icon_box img {
    box-sizing: border-box;
    border: thin solid transparent;
    border-radius:5px;
    width:70px;
    height:70px;
}

.rate_box .instruct, .rate_box .thanks {
    clear:both;
    width:80%;
    margin:15px 10%;
    font-size:1.2em;
}

.info_row {
    width:675px;
    overflow:hidden;
    margin-top:5px;
}
.info_left {
    float: left;
    width: 325px;
    overflow: hidden;
    padding: 3px 0;
    font-size: 16px;
}
.info_right {
    float: right;
    width: 325px;
    overflow: hidden;
    text-align: right;
    padding: 3px 0;
    font-size: 16px;
}
.info_row.lower, .info_row.lower .info_left {
    display: none;
}

.scale_row {
    clear:both;
    height:45px;
    min-width:400px;
}
.scale_cell {
    float: left;
    border: thin solid silver;
    width: calc(16% - 30px);
    max-width:80px;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    height:23px;
}
.scale_cell.selected, .scale_cell:hover {
    color:white;
    background-color: #2176fb;
}
.scale_cell:hover {
    cursor:pointer;
}
.scale_100 .scale_cell {
    width: calc(10% - 37px);
}
.scale_100 .cell100 {
    padding-right: 25px;
    padding-left: 10px;
}

.scale_box_button {
    position:relative;
    top:5px;
    margin-bottom:10px;
}

.not_row {
    clear:both;
    padding: 0 5px 5px 5px;
    position: relative;
    top: 5px;
    max-width:300px;
    height:30px;
    margin-bottom:10px;
}
.not_row:hover {
    background-color:#eaeaea;
    cursor:pointer;
}

.popup_box {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0,0.4);
    display: none;
    z-index: 9999;
}
.popup_box .popup_box_inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70%;
    height: 220px;
    max-width: 650px;
    padding: 25px;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 5px;
    border: thin solid #485488;
    max-width:450px;
}
.popup_box .title {
    font-size:1.2em;
    font-weight:bold;
}
.popup_box .instruct {
    font-size:1.1em;
    padding:10px;
}
.popup_box .button_box {
    text-align: center;
}
.popup_box .button_box .btn {
    margin:5px;
    border-radius:unset;
    width: calc(100% - 50px);
}
.popup_box .btn-danger {
    width:110px;
}

.no_spacing .question_box, .no_spacing .scale_box {
    margin-bottom: 15px !important;
}

.back {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #1986d4;
}
.back:hover {
    cursor:pointer;
}
.back i {
    margin-right:5px;
}

.instruction {
    font-weight:normal;
    margin-bottom:15px;
    clear:both;
}

@media (max-width: 800px) {
    .info_row {
        width: calc(100% - 10px);
    }
    .info_left, .info_right {
        width:auto;
    }
}
@media (max-width: 650px) {
    .info_row.lower, .info_row.lower.info_right {
        display: none;
    }
    .info_row.lower .info_left, .info_row.upper .info_right {
        display:block;
    }

}

@media (max-width: 600px) {
    .scale_cell {
        width: calc(16% - 70px);
    }
    .question_box, .scale_box {
        margin-bottom: 220px;
    }
}
@media only screen and (max-width: 600px) {
    .footer {
        display:none;
        position: fixed;
        bottom: 0;
        left: 0;
        opacity: 0.4;
        height: 25%;
        width: 100%;
        background: -webkit-linear-gradient( rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100% );
        background-image: -moz-linear-gradient( rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100% );
        background-image: -o-linear-gradient( rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100% );
        background-image: linear-gradient( rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100% );
        background-image: -ms-linear-gradient( rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100% );
    }

}
@media (max-width: 550px) {
    .info_left, .info_right {
        font-size: 14px;
        width: 45%;
        min-width: unset;
    }
    .confirm_box .button_box .btn {
        width: calc(100% - 50px);
    }
    .popup_box .popup_box_inner {
        width: calc(100% - 50px);
        margin: 0 10px;
        transform: none;
        top: 100px;
        left: 0;
        padding: 15px;
        height:auto;
    }

    .close {
        top: 10px;
    }
    .scale_row {
        height: auto;
    }
    .scale_cell {
        width: calc(16% - 18px);
        padding: 8px;
    }
    .scale_100 .scale_cell {
        width: calc(16% - 1px);
    }
    .scale_100 .cell100 {
        padding: 8px;
    }

}
@media (max-width: 500px) {
    .radio_box {
        float:none;
    }
    .question_button_box .btn {
        width:90%;
    }
    .scale_cell {
        width: calc(16% - 18px);
        padding: 6px;
    }
    .scale_100 .scale_cell {
        width: calc(16% - 1px);
    }
    .scale_100 .cell100 {
        padding: 6px;
    }
}
@media (max-width: 400px) {
    .popup_box_inner .button_box .btn {
        width: calc(90% - 35px);
        margin: 10px 5%;
    }
    .scale_cell {
        width: calc(16% - 12px);
        padding: 5px;
    }
    .scale_100 .scale_cell {
        width: calc(16% - 1px);
        height: 21px;
        padding: 6px 5px;
    }
    .scale_row {
        min-width:unset;
    }
    .icon_box div {
        margin:0;
    }
    .icon_box {
        position:relative;
        left:-20px;
    }
}
