﻿header {
    position: relative;
}

.wrap {
    /*padding-top:100px;*/
}

.box-title {
    text-align: center;
    padding: 20px;
}

    .box-title h1 {
        font-size: 20px;
        font-weight: bold;
    }

.box-content-survey {
    width: 1170px;
    margin: 0 auto;
    max-width:100%;
}

    .box-content-survey .box-text {
        padding: 10px;
        font-size: 18px;
        font-weight: bold;
        border: 1px solid #ccc;
        margin-bottom: 20px;
        /*background: #ba1f2d;
        color: #fff;*/
    }
    .box-content-survey .box-note {
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        margin-bottom: 20px;
        /*background: #ba1f2d;
        color: #fff;*/
    }

.box-customer-info .input-info {
    display: inline-block;
    margin-right: 30px;
    padding: 10px;
    min-width: 400px;
    max-width: 100%;
}

    .box-customer-info .input-info .text {
        width: 100px;
        display: inline-block;
    }

    .box-customer-info .input-info input {
        min-width: 250px;
    }

        .box-customer-info .input-info input.error {
            border-color: red;
        }

.box-question {
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

    .box-question .quenstion-name {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 15px;
        white-space: pre-line;
    }

    .box-question label {
    }

    .box-question input[type="text"] {
        width: 500px;
        max-width: 100%;
    }

    .box-question textarea {
        width: 100%;
    }

    .box-question .option
    input[type="radio"], .box-question .option input[type="checkbox"] {
        margin: 0;
    }

    .box-question .option li {
        display: block;
        padding: 5px 0
    }

footer .col-12 {
    border: none;
}

.btn-submit {
    background: #ba1f2d;
    margin: 20px 0;
    color: #fff;
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-color: #fff;
        border-bottom: 1px solid #d4d4d4;
    }

        .autocomplete-items div:hover {
            /*when hovering an item:*/
            background-color: #e9e9e9;
        }

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.error {
    border-color: red;
    border-width: 1px;
}

footer h4.small {
    font-size: 12px;
}

footer h4 {
    font-size: 14px;
}
.loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    text-align: center;
    background:rgb(0,0,0,0.5);
    display:none;
}
.loading{
    padding-top:100px;
}
.loading img{
    width:100px;
}
.box-content-survey .box-text .box-customer-info {
    white-space: pre-line;
}
.box-content-survey .box-note .box-customer-info {
    white-space: pre-line;
}
@media only screen and (max-width: 768px) {
    .box-question .quenstion-name {
        white-space: normal;
        font-size:14px;

    }
    .box-content-survey{
        max-width:100%;
    }
        .box-content-survey .box-text .box-customer-info {
            font-size: 14px;
        }
        .box-content-survey .box-note .box-customer-info {
            font-size: 14px;
        }
}
li:has(label):has(gray) {
    background-color: #999999;
}
