﻿.survey_container form {
    margin: 0px 0px 0px 0px;
}

.survey_container p {
    margin: 0px 0px 5px 0px;
}

/*.survey_container form h2 {
    font-size: 16px;
    color: #0198cf;
}*/

.survey_container ul {
    margin: 0px 0px 10px 0px;
    padding: 0px;
    overflow: auto;
}

    .survey_container ul li {
        list-style: none;
        padding: 3px;
    }

        .survey_container ul li a img {
            max-width: 100%;
        }

.survey_container input[type=text], .survey_container textarea {
    display: block;
    width: calc(100% - 50px);
    margin: 6px 0px 0px 30px;
    border: 1px solid #888;
    padding: 5px;
}

.survey_container textarea {
    height: 50px;
}


.survey_container input[type=button], .bodycontainer .survey_container form input[type=button] {
    border: 0;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    background: #00aeef;
    width: 100%;
    margin: 10px 0px 0 0px;
    padding: 7px 0;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: block;
    margin: 10px 0px 0px 0px;
}

.survey_progress {
    display: none;
    text-align: center;
}

.survey_inner {
    overflow: auto;
}

.survey_close, #drillcopy a.survey_close {
    font-size: 35px;
    font-family: Arial;
    font-weight: bold;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    background-color: #0198cf;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    border-radius: 16px;
    z-index: 1;
    position: absolute;
    top: -17px;
    right: -13px;
}

    .survey_close .fa {
        display: block;
    }

.survey_error {
    color: #FF0000;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 90%;
}


.survey_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    z-index: 999;
    -moz-opacity: 0.6;
    opacity: .6;
    filter: alpha(opacity=60);
}

.survey_container {
    background-color: #4b80b5;
    color: #000;
    border: 3px solid #0198cf;
    padding: 10px 10px 10px 10px;
    max-width: 500px;
    min-height: 200px;
    width: auto;
    z-index: 9999;
    display: none;
    position: absolute;
    top: 35%;
    left: 50%;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    background-color: #FFFFFF;
    color: #000;
    font-size: 14px;
    overflow: unset;
}

/*type 3 rating*/
ul.qstyle_3 li {
    float: left;
}

    ul.qstyle_3 li .survey_field {
        padding-left: 0;
        padding: 0px 5px 0px 5px;
    }

    ul.qstyle_3 li .survey_radio {
        position: relative;
        top: unset;
        left: unset;
        height: 20px;
        width: 20px;
        background-color: #eee;
        border-radius: 50%;
        display: block;
        margin: auto;
    }
/*type 3 rating end*/

/*type 4 rating end*/

ul.qstyle_4 {
    margin-left: 30px;
}

    ul.qstyle_4 li .survey_field {
        padding-left: 0;
        padding: 0px 5px 0px 5px;
    }

    ul.qstyle_4 li {
        float: left;
    }

        ul.qstyle_4 li a {
            display: block;
            max-width: 42px;
        }

        ul.qstyle_4 li input[type=radio] {
            display: none;
        }

    ul.qstyle_4 li {
        padding: 0;
    }

        ul.qstyle_4 li a {
            padding: 0px 5px 0px 5px;
        }
/*type 4 rating end*/
/*type 5 text*/
ul.qstyle_5 li .survey_field {
    padding-left: 0;
    padding: 0px 0px 0px 0px;
}

ul.qstyle_5 li label span.survey_answer {
    display: block;
}

ul.qstyle_5 li label textarea {
    display: block;
    width: calc(100% - 30px);
    border: 1px solid #888;
    padding: 5px;
    height: 50px;
    margin: 0px 0px 0px 10px;
}

/*type 5 text end*/
/* checkboxes and radiobuttons*/
.survey_field {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 4px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .survey_field input[type=checkbox], .survey_field input[type=radio] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.survey_checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid #0198cf;
}

/* On mouse-over, add a grey background color */
.survey_field:hover input[type=checkbox] ~ .survey_checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.survey_field input[type=checkbox]:checked ~ .survey_checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.survey_checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.survey_field input[type=checkbox]:checked ~ .survey_checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.survey_container .survey_checkmark:after {
    left: 7px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* The container */


/* Hide the browser's default radio button */
.survey_field input[type=radio] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.survey_radio {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
    border: 1px solid #0198cf;
}

/* On mouse-over, add a grey background color */
.survey_field:hover input[type=radio] ~ .survey_radio {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.survey_field input[type=radio]:checked ~ .survey_radio {
    background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.survey_radio::after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.survey_field input[type=radio]:checked ~ .survey_radio:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.survey_field .survey_radio:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

@media screen and (max-width: 780px) {
    .survey_container {
        top: 220px;
    }
}

@media (max-width: 450px) {
    /*ul.qstyle_3 li {
        float: none;
    }*/
    .survey_container {
        width: calc(100% - 50px);
    }
}
