/* Variables */
:root {
    --txt-size: 16px;
    --bg-color: #2E2E2E;
    --txt-color: #FFFFFF;
    --title-color: #E7C623;
    --rfrance-color: #929497;
    --input-color: #303030;
    --project-color: #6B7A34;
    --answers-bg-color: #000000;
}

/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

html, body, main, .main {
    width: 100%;
    font-weight: 400;
    min-height: 100vh;
    position: relative;
    font-size: 16px;
    font-size: var(--txt-size);
    font-family: 'Roboto', sans-serif;
}

input:focus,
input:hover {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* Main Section */
main, .main {
    font-size: 1rem;
    color: #FFFFFF;
    color: var(--txt-color);
    background-color: #2E2E2E;
    background-color: var(--bg-color);
    background-image: url("../images/page-mask.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Header Section */
.header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-image: url("../images/header-bg.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 25px;
    z-index: 999;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 5px;
    background-color: #6B7A34;
    background-color: var(--project-color);
    transform: translateY(100%);
}

.header::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 5px;
    background-color: #E7C623;
    background-color: var(--title-color);
    transform: translateY(100%);
}

.header img {
    max-height: 125px;
}


/* Questionnaire */
.wrapper {
    height: 100%;
    display: flex;
    display: -ms-flexbox;
    padding: 75px 0 25px;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 175px);
}

.wrapper .title {
    border-color: #FFFFFF;
    border-left: 1px solid var(--txt-color);
    padding-left: 10px;
    /* padding-bottom: 5px; */
    margin-bottom: 20px;
}

.wrapper .title h3 {
    margin-bottom: 0;
    text-transform: uppercase;
}

.wrapper .title h3 span {
    color: #E7C623;
    color: var(--title-color);
}

.wrapper .title h4 {
    margin-bottom: 0;
}

.wrapper .title h6 {
    font-weight: 400;
    margin-bottom: 0;
}

.wrapper .title p {
    margin-top: 10px;
    color: #929497;
    line-height: 1.1;
    margin-bottom: 0;
    font-style: italic;
    color: var(--rfrance-color);
}

.wrapper .question {
    margin-bottom: 30px;
}

.wrapper .question .list-p {
    display: grid;
}

.wrapper .question h5 {
    color: #E7C623;
    color: var(--title-color);
    border-color: #929497;
    padding: 5px 0 7px;
    margin-bottom: 8px;
    border-top: 1px solid var(--rfrance-color);
    border-bottom: 1px solid var(--rfrance-color);
}

.wrapper .question h6 {
    font-weight: 400;
    margin-bottom: 0;
}

.wrapper .question p {
    margin-top: 10px;
    color: #929497;
    line-height: 1.1;
    font-style: italic;
    color: var(--rfrance-color);
}

.wrapper .question p.green {
    color: #6B7A34;
    font-style: normal;
    color: var(--project-color);
}

.wrapper .question .befor-ok,
.wrapper .question .befor-x {
    display: inline-flex;
}

.wrapper .question .befor-ok::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f058";
    color: #6B7A34;
    margin-right: 7px;
    font-style: normal;
    color: var(--project-color);
}

.wrapper .question .befor-x::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f057";
    color: #E7C623;
    margin-right: 7px;
    font-style: normal;
    color: var(--title-color);
}

.wrapper .list {
    position: relative;
    margin-bottom: 25px;
}

.wrapper .list.has-footer {
    margin-bottom: 10px;
}

.wrapper .list::after {
    content: "";
    z-index: 1;
    top: -5px;
    left: -5px;
    width: 30%;
    height: 80%;
    max-width: 230px;
    max-height: 170px;
    position: absolute;
    border-color: #6B7A34;
    border-left: 5px solid var(--project-color);
    border-top: 5px solid var(--project-color);
}

.wrapper .list::before {
    content: "";
    z-index: 1;
    bottom: -5px;
    right: -5px;
    width: 30%;
    height: 80%;
    max-width: 150px;
    max-height: 150px;
    position: absolute;
    border-color: #6B7A34;
    border-right: 5px solid var(--project-color);
    border-bottom: 5px solid var(--project-color);
}

.wrapper .list .items {
    margin: 0;
    padding: 0;
    z-index: 2;
    padding: 25px;
    list-style: none;
    position: relative;
    background-color: #3a3a3a;
    background-color: var(--answers-bg-color);
}

.wrapper .list .items .items > span {
    min-width: 24px;
}

.wrapper .list-footer p {
    font-style: italic;
    margin-bottom: 45px;
}

.wrapper .answers-footer p.custom {
    color: #929497;
    color: var(--rfrance-color);
}

/* Type C */
.wrapper .list .items .btn{
    background-color: var(--input-color);
    color: var(--title-color);
    border-radius: 0 !important;
}
/* Footer */
.footer {
    /* position: absolute;
    bottom: 20px; */
    margin-top: 45px;
    padding: 0 25px;
}

.footer .cl-logo {
    width: 200px;
}

/* modal style*/
.modal-header {
    border-bottom: none !important;
    padding-bottom: 0;
}

.modal-body {
    padding-top: 0;
}
.modal-body h5{
    color: #3a3a3a;
    font-weight: bold;
}
.modal-content {
    background-color: #c5c5c5;
}
.scroll-sec{
    background-color: #3a3a3a !important;
    position: relative;
    margin-bottom: 20px;

}
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #232323;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #f7d30a;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #f7d30a;
}

.bootstrap-tagsinput {
    background-color: #3a3a3a !important;
    border: 1px solid #3a3a3a;
    position: relative;
    padding: 45px 6px;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    height: 70px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2;

}
.bootstrap-tagsinput .badge {
    padding: 10px;
    background-color: #b9b9b9;
    margin-left: 2px;
    margin-bottom: 2px;
    position: relative;
}
.badge {
    flex: 0 0 auto;
    width: 32%;
    text-align: left;
    border-radius: 0;
    color: #52514e;
}
.bootstrap-tagsinput input {
    width: 93%;
    position: absolute;
    top: 7px;
    left: 8px;
    background-color: #b9b9b9;
    padding: 5px;

}
.bootstrap-tagsinput .badge [data-role="remove"] {
    position: absolute;
    top: 1px;
    right: 0;
}
.bootstrap-tagsinput .badge [data-role="remove"]:after {
    content: "×";
    padding: 0px 4px;
    background-color: #3a3a3a;
    border-radius: 0;
    font-size: 13px;
    color: #fff;

}

.scroll-sec::after {
    content: "";
    z-index: 1;
    top: -5px;
    left: -5px;
    width: 30%;
    height: 80%;
    max-width: 230px;
    max-height: 170px;
    position: absolute;
    border-color: #6B7A34;
    border-left: 5px solid var(--project-color);
    border-top: 5px solid var(--project-color);
}

.scroll-sec::before {
    content: "";
    z-index: 1;
    bottom: -5px;
    right: -5px;
    width: 30%;
    height: 80%;
    max-width: 150px;
    max-height: 150px;
    position: absolute;
    border-color: #6B7A34;
    border-right: 5px solid var(--project-color);
    border-bottom: 5px solid var(--project-color);
}
.add-user {
    background-color: #3a3a3a !important;
    position: relative;
}
.add-user::after {
    content: "";
    z-index: 1;
    top: -5px;
    left: -5px;
    width: 30%;
    height: 80%;
    max-width: 230px;
    max-height: 170px;
    position: absolute;
    border-color: #6B7A34;
    border-left: 5px solid var(--project-color);
    border-top: 5px solid var(--project-color);
}

.add-user::before {
    content: "";
    z-index: 1;
    bottom: -5px;
    right: -5px;
    width: 30%;
    height: 80%;
    max-width: 150px;
    max-height: 150px;
    position: absolute;
    border-color: #6B7A34;
    border-right: 5px solid var(--project-color);
    border-bottom: 5px solid var(--project-color);
}

.add-user form {
    width: 90%;
    margin: 0 auto;
    padding-top: 15px;
    position: relative;
    z-index: 2;
}

.form-group , .btn-add{
    margin-bottom: 10px;
}
.add-user  .btn-add{
    background-color: #f7d30a;
    border-radius: 0;
    font-weight: bold;
    color: #4c4a47;
    padding: 5px 20px;
    cursor: pointer;
}
.add-user form input{
    background-color: #e5e6e6;

}



/* login */

#login {
    font-size: 1rem;
    color: #FFFFFF;
    color: var(--txt-color);
    background-color: #2E2E2E;
    background-color: var(--bg-color);
    background-image: url("../images/background.png");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

#login .left-sec , #login .right-sec{
    min-height: 100vh;
    position: relative;
}
#login  .right-sec .top-logo {
    padding-top: 50px;
}
#login  .right-sec .bottom-img {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
}
#login  .right-sec .bottom-img  img{
    min-width: 100%;
}
#login .left-sec{
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}
#login .left-sec .content {
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}
#login .left-sec .top-title {
    color: #575756;
}

#login .left-sec .main-title {
    color: var(--project-color);
}
#login form input{
    background-color: #e5e6e6;

}
#login form .btn-login{
    background-color: #f7d30a;
    border-radius: 25px;
    font-weight: bold;
    color: #4c4a47;
    padding: 5px 50px;
    cursor: pointer;
    text-transform: uppercase;
}

#login .left-sec .bottom-text {
    color: #575756;
    font-size: 20px;
    line-height: 22px;
}
.invalid-feedback {
    color: red;
    font-weight: bold;
    display: block;
    text-align: left;
}
.error-msg{
    color: red;
    font-weight: bold;
    text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
    #login .left-sec .top-title ,
    #login .left-sec .main-title {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .wrapper .list .items.items .items .selected-group {
        margin-bottom: 15px;
    }
    .wrapper .list .items.items .items .selected-group .radio-group {
        margin-left: 0;
        margin-top: 8px;
    }
    .wrapper .list .items.type-d .items input {
        margin-top: 8px;
    }
}
@media (max-width: 767px) {
    #login .right-sec {
        display: none;
    }
    #login .left-sec .content {
        width: 80%;
    }
    #login .left-sec .hidden-logo {
        display: block !important;
        text-align: center;
    }
    #login .left-sec .hidden-logo  img{
        max-width: 80%;
    }
    #login .left-sec .bottom-text{
        font-size: 13px;
        line-height: 16px;
        padding-bottom: 40px;
    }
}
@media (max-width: 576px) {
    .wrapper .list .items.items .items .selected-group .radio-group .radio-con {
        flex-direction: column;
    }
    .wrapper .list .items.items .items .selected-group .radio-group .radio-con input[type="radio"] {
        margin: 0;
    }
}
