@charset "utf-8";

/* CSS Document */

body {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-position: top;
    background-repeat: repeat-x;
}

.font_family {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #666;
}

#wrapper {
    width: 100%;
    height: auto;
    top: 0px;
}

#logo {
    width: 100%;
}

#logo a {
    display: inline-block;
    padding: 10px;
}

#logo a img {
    height: 90px;
}

#name {
    background-image: url(../images/name.jpg);
    background-position: left;
    background-repeat: no-repeat;
    float: left;
    width: 60%;
    height: 99px;
}

#logo_other {
    width: 35%;
    float: right;
    height: 99px;
    text-align: right;
}

#content {
    width: 100%;
    margin-top: 0;
    height: auto;
    padding-bottom: 70px;
}

#content_inner {
    width: 75%;
    height: auto;
}

#footer {
    width: 100%;
    height: 70px;
    padding-top: 2px;
    background-color: #1a1a1c;
    background-position: bottom;
    background-repeat: repeat-x;
    /*bottom: 0px;*/
    /*position: fixed;*/
    /*z-index: 9999;*/
}

#footer .text {
    text-align: center;
    color: #fff;
    padding: 25px 0 0 0;
    font-size: 16px;
}

#bg_pop {
    background-color: #000;
    width: 100%;
    height: 100%;
    z-index: 1000;
    position: fixed;
    top: 0px;
    opacity: .95;
    -o-opacity: .8;
    -webkit-opacity: .8;
    -moz-opacity: .8;
}

#image {
    width: 23%;
    height: 500px;
    float: right;
    background-image: url(../images/man.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
}

#con_quiz {
    background-color: #fff;
    z-index: 800;
    position: relative;
}

#align_pop {
    width: 100%;
    height: 100%;
    top: 0px;
    z-index: 1001;
    position: fixed;
}

#pop {
    width: 600px;
    height: auto;
    margin: auto;
    margin-top: 40px;
    border-radius: 5px;
    -o-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: #FFF;
    padding-bottom: 15px;
}

.pop-head {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #000;
}

.pop-head h2 {
    font-size: 28px;
}

.pop-body {
    padding: 20px;
}

.pop-body input#submit {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    display: block;
    margin: 30px auto 0 auto;
}

#pop .btnRefresh {
    height: 35px;
    border: 1px solid #000000;
    background-color: #000;
    border-radius: 3px;
    color: #fff;
}

#pop #captcha {
    width: calc(100% - 130px);
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

#pop #captcha_code {
    height: 35px !important;
    border-radius: 3px;
}

header .logo {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
    height: 100px;
}

.risk-table {}

.risk-table tr td {
    display: inline-block;
    width: 50%;
    overflow: hidden;
}

.risk-table .table-part {
    background-color: transparent;
    padding-left: 55px;
    padding-right: 15px;
}

.risk-table .table-part h2 {
    text-align: center;
    font-size: 24px;
    line-height: 24px;
}

.risk-table .table-part tr td {
    width: 100% !important;
}

.risk-table .image-part {
    overflow: hidden;
}

.risk-table .image-part {
    width: 49%;
}

.risk-table .image-part img {
    width: 65%;
    display: block;
    margin: 0px auto;
}

.risk-form-main {
    position: relative;
}

.risk-form-main .btn-next {
    position: absolute;
    /*bottom: 0px;*/
    left: 55px;
    width: 200px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 10px;
    background-color: #1a1a1c;
    border-color: #1a1a1c;
}

.risk-form-main .btn-next:hover {
    background-color: #000;
    border-color: #000;
}


/*RADIO*/

.radio {
    display: grid;
    position: relative;
    padding-left: 35px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 48px;
    padding: 6px 20px;
    line-height: 20px;
    align-items: center;
}

.radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 48px;
    width: 100%;
    border-radius: 30px;
    border: 2px solid #d2d2d2;
}

.radio em {
    font-style: normal;
    vertical-align: middle;
    position: absolute;
    padding: 0px 10px 0 15px;
    line-height: 14px;
}

.radio:hover input~.checkmark {
    border: 2px solid #1a1a1c;
}

.radio input:checked~.checkmark {
    background-color: #1a1a1c;
    border: 2px solid #1a1a1c;
}

.radio input:checked~em {
    z-index: 9999;
    color: #fff;
}

.risk-result-main {
    background-color: #eee;
    margin-top: 50px;
    padding: 30px;
    border-radius: 10px;
}

.risk-result-main #con_quiz {
    background-color: transparent;
}

.cross-btn {
    display: block;
    text-align: right;
    position: absolute;
    top: -45px;
    right: -45px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid #000;
    background-color: #fff;
}

.cross-btn::before {
    content: "";
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #000;
    transform: rotate(45deg);
    left: 5px;
    top: 17px;
}

.cross-btn::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #000;
    transform: rotate(-45deg);
    left: 5px;
    top: 17px;
}

@media only screen and (max-width: 767px) {
    .pop-head h2 {
        font-size: 18px;
    }
    #logo a {
        margin: 0px auto;
        display: block;
        text-align: center;
    }
    #logo {
        /*height: 60px;*/
        margin-top: 8px;
    }
    #name {
        width: 80%;
        height: 60px;
        background-size: contain;
    }
    .risk-table .table-part {
        padding-left: 15px;
        padding-right: 15px;
    }
    .risk-table tr td {
        width: 100%;
    }
    .risk-table .image-part {
        display: none;
    }
    /*.risk-form-main .btn-next {
    bottom: -70px;
    left: 25%;
    width: 50%;
}*/
    .risk-form-main .btn-next {
        width: 50%;
        position: static;
        margin: 0 auto;
        display: block;
    }
    .risk-table {
        margin-top: 23px;
    }
    .risk-table .radio {
        padding: 6px 10px;
        font-size: 12px;
    }
    .risk-table .table-part h2 {
        font-size: 20px;
        margin-bottom: 0px;
    }
    #pop {
        width: 90%;
        height: 420px;
    }
    #footer {
        height: auto;
        bottom: 70px;
    }
    #footer .text {
        padding: 5px 0 0 0;
    }
}