@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

/* HDP CSS */
.ques-pagination { color:#212529 !important; float:right; font-size: 20px; }

/* HDP CSS */

.container {
    max-width: 1020px !important;
    width: 95% !important;
    border: 1px solid #eee !important;
    background: #fff;
}
#page2.container {
    background: none !important;
    border: none !important;
}
nav .container {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 auto !important;
}
.container h1 {
    font-weight: bold;
}
.container h3 {
    margin-bottom: 30px;
    color: #000;
}
.container h3 strong {
    font-size: 16px !important;
}
nav .container h3 {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 0;
    color: #fff !important;
}
.container .pt-2 {
    color: #444;
    margin-bottom: 15px;
    padding: 0 !important;
}
.container .pt-3 {
    text-align: center;
    padding: 0 !important;
}
.container ol {
    margin: 10px 0 0 18px;
    padding: 0;
}
.container ol li {
    color: #444;
    margin-bottom: 5px;
}

.qrowsup {
    display: block !important;
    background: #fff;
    border-radius: 7px;
    border: 1px solid #eee;
}
.qrowsup .left {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 0 7px;
    color: #000;
    letter-spacing: 0.3px;
}
.qrowsup .right select {
    border: 1px solid #ccc;
    border-radius: 30px;
}
.table-responsive tr th {
    font-weight: 700;
}
.table-responsive tr th, .table-responsive tr td {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
}
.form-check-input{
    margin-right: 5px;;
}

@media (min-width: 992px) {
    .container {
        border-radius: 10px;
        padding: 40px !important;
    }
    .container h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .container h3 {
        font-size: 25px !important;
    }
    .container .pt-2 {
        font-size: 16px;
        line-height: 24px;
    }
    .container .pt-3 {
        margin-top: 40px;
    }
    .container ol li {
        font-size: 15px;
        line-height: 24px;
    }
    .mb-10 {
        margin-bottom: 40px !important;
    }

    #personalInfoForm {
        display: flex;
        flex-wrap: wrap;
    }
    .qrowsup {
        width: calc(50% - 20px);
        margin: 0 10px 20px;
        padding: 15px;
    }
    .container div:nth-child(11) {
        width: calc(100% - 40px);
    }
    .tb-ques:nth-child(11) {
        width: auto !important;
    }
    .qrowsup .left {
        text-transform: uppercase;
        font-size: 12px;
        margin: 0 0 7px;
        color: #000;
    }
    .qrowsup .right select {
        width: 100px;
    }
    .tb-container {
        width: 980px;
        margin: 0 auto;
    }
    .tb-head-web, .tb-ques {
        display: flex;
        flex-wrap: wrap;
    }
    
    .tb-head-web h3, .tb-ques h3 {
        width: 375px;
        padding: 10px 8px;
        box-sizing: border-box;
    }
    .tb-head-web:nth-child(2), .tb-option:nth-child(2) {
        width: 125px;
        padding: 10px 2px;
        box-sizing: border-box;
    }
    .tb-head-web:nth-child(3), .tb-option:nth-child(3) {
        width: 118px;
        padding: 10px 2px;
        box-sizing: border-box;
    }
    .tb-head-web:nth-child(4), .tb-option:nth-child(4) {
        width: 118px;
        padding: 10px 2px;
        box-sizing: border-box;
    }
    .tb-head-web:nth-child(5), .tb-option:nth-child(5) {
        width: 118px;
        padding: 10px 2px;
        box-sizing: border-box;
    }
    .tb-head-web:nth-child(6), .tb-option:nth-child(6) {
        width: 125px;
        padding: 10px 2px;
        box-sizing: border-box;
    }
    .tb-option span, .tb-option label {
        display: none;
    }
    .tb-head-web {
        border-top: 1px solid #000;
        border-left: 1px solid #000;
    }
    .tb-head-web h3, .tb-head-web .tb-option {
        border-bottom: 1px solid #000;
        border-right: 1px solid #000;
        font-size: 14px;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
        color: #000;
        margin: 0;
        background-color: #f8d7da;
    }
    .tb-ques {
        border-left: 1px solid #000;
    }
    .tb-ques h3 {
        font-weight: 400;
        font-size: 15px !important;
        line-height: 18px !important;
        margin: 0;
        background-color: #e2e3e5;
        border-bottom: 1px solid #000;
        border-right: 1px solid #000;
    }
    .tb-ques .tb-option {
        text-align: center;
        border-bottom: 1px solid #000;
        border-right: 1px solid #000;
    }
    .form-check-label {
        margin-right: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1075px) {
    .tb-head-web h3, .tb-ques h3 {
        width: 365px;
    }
}

@media (max-width: 991px) {
    .container {
        border-radius: 5px;
        padding: 20px !important;
    }
    .container h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .container h3 {
        font-size: 22px !important;
    }
    .container .pt-2 {
        font-size: 15px;
        line-height: 24px;
    }
    .container .pt-3 {
        margin-top: 30px;
    }
    .container ol li {
        font-size: 14px;
        line-height: 20px;
    }
    .qrowsup {
        margin: 0 0px 15px;
        padding: 15px;
    }
    .qrowsup .right select {
        width: 100px;
    }
    .tab-pane h3 {
        font-size: 20px !important;
        margin-bottom: 5px !important;
    }
    .tab-pane h3 strong {
        margin: 20px 0 0px;
        float: none !important;
        text-align: right !important;
        display: block;
        margin-top: -40px;
    }
    .table-responsive table {
        width: 800px;
    }
    .tb-container {
        margin-top: 30px;
    }
    .tb-head-web {
        display: none;
    }
    .tb-ques {
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }
    .tb-ques:last-child {
        border-bottom: none;
    }
    .tb-ques h3 {
        font-size: 16px !important;
        line-height: 24px;
        margin-bottom: 10px !important;
        padding: 3px;
        border-radius: 5px;
    }
    .tb-option {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-bottom: 10px;
    }
    .tb-option span {
        margin-left: 10px;
    }

    .qrowsup .left {
        font-size: 15px;
    }
    .form-check-label {
        margin-right: 15px;
    }
    .qrowsup .right span {
        display: block;
        margin-bottom: 5px;
    }
}