:root {
    --red-light: #ff00002e;
    --red: red;
    --common-color: #0f8d5b61;
    --common-color-dark: #0f8d5bc2;
}

* {
    transition: background-color 300ms ease, color 300ms ease;
}

*:focus {
    background-color: rgba(221, 72, 20, .2);
    outline: none;
}

html,
body {
    color: rgba(33, 37, 41, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 16px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
}

/*root class*/
.position-relative {
    position: relative;
}

.rounded-50 {
    border-radius: 50px;
}

.placeholder-none {
    display: none;
}

.placeholder-active {
    display: block;
}

.placeholder-bg-danger {
    background: var(--red-light);
}

.placeholder-bg-none {
    background: transparent;
}

.common-color {
    background: var(--common-color);
}

.common-color-dark {
    background: var(--common-color-dark);
}

.common-color-text {
    color: var(--common-color-dark);
}

/*auth conatiner*/
.auth-container {
    background-color: #eadceb !important;
    height: 100vh;
    overflow-y: hidden;
    position: relative;
}

.auth-container:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: -webkit-linear-gradient(top left, rgb(0 0 0 / 10%), var(--common-color)) rgb(0 0 0 / 22%);
    z-index: 2;
}

.auth-container .img {}

.auth-container .img img {
    width: 90%;
    height: 90%;
}

.auth-container .form {
    width: 100%;
    height: 100vh;
    background: #ffffffb0;

    z-index: 99;
}

.auth-container .card {
    width: 400px;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);

}

.auth-container .input-placeholder {
    position: relative;
}

.auth-container .placeholder {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translate(0, -50%);
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.auth-container .form-control {
    border: 2px solid var(--common-color) !important;
}

.auth-container .required-alert {
    display: none;
    color: var(--red);
}

.auth-container .required-alert-active {
    display: block;
    color: var(--red);
}

.auth-container .form-control:focus {
    outline: none;
    box-shadow: 0 0 10px 0 var(--common-color);
    background: var(--common-color) !important;
}

.auth-container .form-control-active {
    border: 2px solid var(--red-light) !important;
}

.auth-container .form-control-active:focus {
    outline: none;
    box-shadow: 0 0 10px 0 var(--red-light);
    background: var(--red-light) !important;
}

.auth-container .login-btn,
.auth-container .refresh-btn {
    width: 100%;
    padding: 10px 12px;
    background: var(--common-color-dark) !important;
    box-shadow: none;
    color: #fff;
}

.auth-container .login-btn:hover,
.auth-container .login-btn:focus,
.auth-container .login-btn:active {
    background: #7433ee80 !important;
    color: #fff;
}

.auth-container .login-btn:hover,
.auth-container .login-btn:focus,
.auth-container .login-btn:active,
.auth-container .refresh-btn:hover,
.auth-container .refresh-btn:focus,
.auth-container .refresh-btn:active {
    padding: 10px 12px;
    box-shadow: none !important;
    outline: none;
    border: none;
}

.auth-container .footer-btn-group {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 10px;
}

.auth-container .refresh-btn {
    background: rgba(0, 0, 0, 0.09) !important;
    color: #333;
}

.auth-container .refresh-btn:hover,
.auth-container .refresh-btn:focus,
.auth-container .refresh-btn:active {
    background: var(--red-light) !important;
    color: var(--red);
}

.auth-container .login-as-trainee-btn,
.auth-container .login-as-trainer-btn {
    cursor: pointer;
}

.auth-container .form {
    position: relative;
}

.auth-container .form::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;
    height: 10%;
    border-radius: 0 0 0 100%;
    background: var(--common-color);
    z-index: -2;
}

.auth-container .form::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10%;
    height: 10%;
    border-radius: 0 100% 0 0;
    background: var(--common-color);
    z-index: -2;
}

.auth-container .form .trainer-form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: all .5s linear;

}

.auth-container .form .trainer-form-active,
.auth-container .form .trainee-form {
    filter: blur(2px);
    -webkit-pointer-events: none;
    pointer-events: none;
}

.auth-container .form .trainee-form,
.auth-container .form .trainer-form-active {
    position: absolute;
    top: 55%;
    left: 55%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all .5s linear;
}

.auth-container .form .trainee-form-active {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: all .5s linear;

}

.auth-container .form .trainee-form-active {
    filter: blur(0px);
    -webkit-pointer-events: inherit;
    pointer-events: inherit;
}


@media(max-width: 1100px) {
    .auth-container .box-outer {
        position: relative;
    }

    .auth-container .form {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 99;
        transition: all .5s linear;
    }

    .auth-container .img-outer {
        position: absolute;
        top: 50%;
        left: 30%;
        transform: translate(-50%, 0%);
        transition: all .5s linear;
    }

    .auth-container .img-outer img {
        width: 600px;
    }
}

@media(max-width: 500px) {
    .auth-container .card {
        width: 90%;
        box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);

    }
}

@media(max-height: 500px) {
    .auth-container {
        overflow-y: scroll;

    }
}

/*dashbord*/

.dashbord {
    background: #8888881a;
}

.dashbord .box-group {
    width: 100%;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.dashbord .sidebar {
    min-height: 100vh;
}

.dashbord .sidebar .card-header {
    display: grid;
    grid-template-columns: 40px 1fr;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.dashbord .sidebar .list-group-item {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    gap: 10px;
    color: dimgrey;
    text-transform: capitalize;
    cursor: pointer;
}

.dashbord .sidebar .list-group-item-active {
    color: black;
    background: var(--common-color);
    text-decoration: none;
}

.dashbord .sidebar .list-group-item:hover {
    color: var(--common-color-dark);
    background: rgba(0, 0, 0, 0.03);
    text-decoration: none;
}

.dashbord .avtar {
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    background: var(--common-color);
    color: black;
    text-align: center;
    user-select: none;
    cursor: pointer;
    border-radius: 50px;
    text-transform: uppercase;
}

.dashbord .sidebar .card-header h3,
.dashbord .box .card-header h3 {
    font-size: 20px;
    text-transform: capitalize;
}

.dashbord .logout-btn {
    font-size: 15px;
    text-transform: capitalize;
    outline: none;
    box-shadow: none;
    border: none;
    background: var(--red-light);
    color: var(--red);
}

.dashbord .box .card-header {
    width: 100%;
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: space-between;
    align-items: center;
}

.dashbord .toggle-pagination-group {
    background: #fff;
}

.dashbord .toggle-pagination {
    padding: 4px 13px;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
    transition: all .3s;
}

.dashbord .toggle-pagination:hover {
    transition: all .3s;
    background: rgba(0, 0, 0, 0.09);
}

.dashbord .toggle-pagination-active {
    transition: all .3s;
    border-bottom: 2px solid black;
    background: rgba(0, 0, 0, 0.09);
}

/*model*/

.model {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    background: rgba(0, 0, 0, 0.5);
}

.model .box-outer {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.model h3 {
    font-size: 22px;
}

.add-page-model .ck-content {
    height: 300px !important;
}

@media(max-width: 1100px) {
    .add-page-model .box-outer {
        width: 85% !important;
    }
}

@media(max-width: 570px) {
    .add-page-model .box-outer {
        width: 97% !important;
    }
}

#setting-usre-form,
#export-form {
    width: 420px;
    height: auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

#export-form #export-file-download {
    width: 100%;
    display: none;
    cursor: pointer;
    text-decoration: none;
}

/*trainee-entry*/
.trainee-dashboard {
    height: 100vh;
    overflow-y: scroll;
}

.trainee-dashboard .logout-placeholder {}

.trainee-dashboard .navbar {}

.trainee-dashboard .navbar h3 {
    font-size: 22px;
    color: #fff;
}

.trainee-dashboard .nav-outer {
    /*    background: url('../image/bg.jpg');*/
    background: #555551;
    height: 60px;
    background-repeat: no-repeat;
    /*    background-size: 1140px 80vh;*/
    background-position: center;
    /*  box-shadow: 0 0 5px 0 #333;*/
    padding-top: 5px;
    position: relative;
    z-index: 2;
    user-select: none;
}

/* .trainee-dashboard .nav-outer:before{
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0,0.4);
    z-index: -1;
 }*/
.trainee-dashboard .email-box {
    margin-top: 10px;
    color: white;
}

.trainee-dashboard .page-header h3 {
    font-size: 22px;
}

.trainee-dashboard .page-header button {
    background: var(--common-color);
    color: black;
    border: 1.5px solid var(--common-color-dark);
    border-radius: 50px;
    padding: 7px 14px;
}

.trainee-dashboard .alert .icon i {
    font-size: 24px;
}

.trainee-dashboard .home-page-banner {
    height: 250px !important;
}

.trainee-dashboard .alert {
    background: var(--red-light) !important;
    border-left: 5px solid var(--red);
}

.trainee-dashboard .alert {
    background: var(--red-light) !important;
    border-left: 5px solid var(--red);
}


.trainee-dashboard .box-group {
    display: flex;
    flex-flow: row !important;
    flex-wrap: wrap;
    gap: 10px !important;
}

.trainee-dashboard .box-group .box-done,
.trainee-dashboard .box-group .box-pending,
.trainee-dashboard .box-group .box {
    width: 250px;
    padding: 20px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr;
    background: #29523c21;
    cursor: pointer;
}

.trainee-dashboard .box-group .box-done {
    background: #ddffdd;
}

.trainee-dashboard .box-group .box-pending {
    background: #fff8dd;
}

.trainee-dashboard .box-header {
    display: grid;
    grid-template-columns: 1fr 30px;

}

.trainee-dashboard .box-header h3 {
    font-size: 22px;
}

.trainee-dashboard .box-header i {
    height: 30px;
    line-height: 30px;
    color: var(--red);

}

.trainee-dashboard .box-group .box-done i,
.trainee-dashboard .box-group .box-done h3 {
    color: green;
}

.trainee-dashboard .box-group .box-pending i,
.trainee-dashboard .box-group .box-pending .box-footer,
.trainee-dashboard .box-group .box-pending h3 {
    color: blue;
}

.trainee-dashboard .box-body {
    padding: 10px 0;
}

.trainee-dashboard .box:hover {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 1);
}

#model-box {
    display: none;
    width: 100vw;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#model-box .box-outer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    background: white;
    padding: 20px;
    gap: 5px;
    display: grid;
    grid-template-rows: max-content 1fr;
}

#model-box .box-outer iframe {
    border: none;
    outline: none;
}

#model-box .box-outer iframe #docs-bars #docs-toolbar-wrapper {
    display: none !important;
}

#toolbar {
    display: none !important;
}

/*welcome page*/

.welcome-page {
    width: 100%;
    background: #2c3a59;
}

.welcome-page .box-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 350px;
}

.welcome-page .box {
    background: url("../image/home_bg_frst.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.welcome-page .img-box {
    background: url("../image/home_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.home-page-box .shape-box-group {
    gap: 10px;
}

.home-page-box .shape-box {
    width: 250px;
    height: 150px;
    background: #1b1b84a3;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 89% 99%, 10% 99%, 0% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: #fff;
}

.home-page-box .shape-box:hover {
    cursor: pointer;
    background: #1b1b8466;
    text-decoration: none;
}

/*feedback form*/

.feedback-model {
    display: none;
    width: 100%;
    height: 100vh;
    background: #668;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
}

#feedback-model {
    display: none;
}


.feedback-model .outer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 380px;
    align-items: center;
    justify-content: center;

}

.feedback-model::before {
    content: "";
    width: 300px;
    height: 300px;
    position: absolute;
    bottom: 0px;
    left: 0;
    background: #1b1b6042;
    border-radius: 0 100% 0 0;
    z-index: -1;

}

.feedback-model .outer::after {
    content: "";
    width: 500px;
    height: 500px;
    position: absolute;
    right: -70%;
    top: 50%;
    transform: translate(0%, -50%);
    background: url("../image/feedback-gif.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}


.feedback-model .box {
    background: #ffffffde;
    padding: 30px 30px;
    border-radius: 10px;
}

.feedback-model .form-header {
    display: grid;
    grid-template-columns: max-content 35px;
    align-items: center;
    justify-content: space-between;
}

.feedback-model .close-btn {
    height: 35px;
    background: #ff000012;
    line-height: 10px;
    font-size: 15px;
    color: #ff000078;
    border-radius: 50px;
    border: none;
    outline: none;
    transition: all .3s;
}

.feedback-model .close-btn:hover {
    transition: all .3s;
    color: red;
}

.feedback-model .input-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.feedback-model .form-label {
    color: #000;
}

.feedback-model .form-control,
.feedback-model .form-control:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.feedback-model .form-control:focus {
    background: ghostwhite !important;
}

.feedback-model textarea {
    resize: none;
}

.feedback-model .star {
    font-size: 1.5em;
    color: #6666887a;
    cursor: pointer;
    user-select: none;
}

.feedback-model .star-active {
    font-size: 1.5em;
    color: blue;
    cursor: pointer;
    user-select: none;
}

.feedback-model .submit-btn {
    background: #424270;
    color: #fff;
}

#workshop-model {
    display: none;
}



#workshop-model .outer::after {

    background: linear-gradient(45deg, #151c59, #fdfbfb00) !important;

}

#workshop-model::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: #69ad4e36 !important;
    opacity: 0.9;
    border-radius: 50% 0 0 50%;
    z-index: -1;


}



.traing-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}

.traing-layout .box-outer {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

.traing-layout .nav-bar {
    z-index: 999;
    widows: 100%;
    position: sticky;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #333;
    height: 55px;
    align-items: center;
    padding: 0 20px;
}

.traing-layout .nav-left {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: flex-start;

}

.traing-layout .nav-right {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    gap: 15px;
}

.traing-layout .nav-bar h3 {
    font-size: 20px;
    color: #fff;
}

.traing-layout .nav-bar .btn {
    background: #c61717a8;
    color: #fff;
}

.traing-layout .nav-bar .nav-item {
    color: #fff;
}

.traing-layout .box-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    background: #f3feff;
    padding: 20px;
}

.traing-layout .box {
    width: 100%;

}

.traing-layout .box-header {
    display: grid;
    grid-template-columns: 1fr;
}

.traing-layout .box-header h3 {
    font-size: 20px;
    color: #222;
}

.traing-layout .box-body {
    padding: 20px 0;
}

.traing-layout .box img {
    width: 100%;
    height: 570px;
}


.traing-layout .post-group {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    grid-template-rows: 150px;
    gap: 40px;

}

.traing-layout .post-group .post-done,
.traing-layout .post-group .post-pending,
.traing-layout .post-group .post {
    padding: 20px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr;
    background: #c1bfc9;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.traing-layout .post-group .post-done {
    background: #ddffdd82 !important;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.traing-layout .post-group .post-pending {
    background: #fff8dd !important;
}

.traing-layout .post {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.traing-layout .post-group .post::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 80%;
    width: 10px;
    background: #afa4a461;
    transition: .4s;


}

.traing-layout .post-group .post::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 80%;
    width: 10px;
    background: #afa4a461;

    transition: .4s;

}

.traing-layout .post-group .post-done::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 80%;
    width: 10px;
    background: #adcfaf8c;
    transition: .4s;


}

.traing-layout .post-group .post-done::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 80%;
    width: 10px;
    background: #adcfaf8c;
    transition: .4s;


}

.traing-layout .post-group .post-done:hover::before,
.traing-layout .post-group .post:hover::before {
    bottom: 0px !important;
    top: auto;
    transition: .4s ease;
}

.traing-layout .post-group .post:hover::after,
.traing-layout .post-group .post-done:hover::after {
    top: 0px !important;
    transition: .4s ease;
}

.traing-layout .post-header {
    display: grid;
    grid-template-columns: 1fr 30px;

}

.traing-layout .post-header h3 {
    font-size: 22px;
}

.traing-layout .post-header i {
    height: 30px;
    line-height: 30px;
    color: var(--red);

}

.traing-layout .post-group .post-done i,
.traing-layout .post-group .post-done h3 {
    color: green;
}

.traing-layout .post-group .post-pending i,
.traing-layout .post-group .post-pending .post-footer,
.traing-layout .post-group .post-pending h3 {
    color: blue;
}

.traing-layout .post-body {
    padding: 10px 0;
}


/* quiz */

#quiz {
    display: -ms-grid;
    display: -moz-grid;
    display: -o-grid;
    display: grid;
    grid-template-columns: 400px;
    justify-content: center;
    padding: 30px;
}

#quiz .box {
    border-radius: 10px;
    border: 1px solid #6d6a6a36;
    padding: 0 20px;
}

#quiz .header {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
    border-bottom: 1px solid #6d6a6a36;

}

#quiz .header .back-btn {
    background: rgba(175, 169, 169, 0.136);
    color: rgba(55, 40, 40, 0.574);
    padding: 5px 10px;
    border-radius: 10px;
}

#quiz .header h2 {
    color: #33333375;
    font-size: 20px;
}

#quiz .panel {
    display: -ms-grid;
    display: -moz-grid;
    display: -o-grid;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 10px 0;
}

#quiz .panel .status {
    text-align: center;
    background: rgba(207, 200, 200, 0.052);
    color: rgba(139, 143, 139, 0.705);
    padding: 5px 10px;
}

#quiz .body {
    padding: 20px 0;
}

#quiz .body h3 {
    color: #33333389;
    font-size: 18px;

}

#quiz .body .option {
    list-style-type: decimal;
}

#quiz .body .option div {
    color: #bdbfbd;
    padding: 7px 10px;
    transition: all .3s ease;
}

#quiz .body .option div:hover,
#quiz .body .option div.active {
    background: #becfb62b;
    color: #000;
    cursor: pointer;
    transition: all .3s ease;
}
#quiz .footer{
    padding: 10px 0;
}
