input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s !important;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

:root{
    --color: #154646;
    --bg-color: #d5e1df;
    --poster-color: transparent
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: 0;
    text-decoration: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    /* font-size: 0.9rem; */
    background-color: var(--bg-color);
    color: var(--color);
}

body,
html {
    height: 100%;
    margin: 0%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a, a:hover {
    text-decoration: none;
    color: inherit;
}

thead {
    background-color: #f1f5f7;
    color: #6c757d;
}

/* Form Color */

.form-control:not(:focus)~.form-notch div:first-child {
    box-shadow: none !important;
    clip-path: inset(-8px 0px -8px -8px);
    border-color: var(--color);
}

.form-control:not(:focus)~.form-notch div:nth-child(2) {
    box-shadow: none !important;
    clip-path: inset(0px 0px -8px 0px);
    border-color: var(--color);
}

.form-control:not(:focus)~.form-notch div:last-child {
    box-shadow: none !important;
    clip-path: inset(-8px -8px -8px 0px);
    border-color: var(--color);
}

.form-control:focus~.form-notch div:first-child {
    border-color: var(--color) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(21, 70, 70, 1) !important;
    clip-path: inset(-8px 0px -8px -8px);
}

.form-control:focus~.form-notch div:nth-child(2) {
    border-bottom-color: var(--color) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0), 0 0 8px rgba(21, 70, 70, 1) !important;
    clip-path: inset(0px 0px -8px 0px);
}

.form-control:focus~.form-notch div:last-child {
    border-color: var(--color) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(21, 70, 70, 1) !important;
    clip-path: inset(-8px -8px -8px 0px);
}

.form-control:focus~.form-label {
    color: var(--color) !important;
}

/* Checkbox */
.form-check-input, .form-check-input[type=checkbox]::after{
    background-color: inherit !important;
    border-color: var(--color);
    box-shadow: none;
}

.form-check-input[type=checkbox]:checked:after{
    border-right-color: var(--color);
    border-bottom-color: var(--color);
    /* background-color: #154646; */
    /* border: 1px solid #154646; */
}

.form-check-input[type=radio]:checked:after{
    background-color: var(--color);
}

.form-check-input:checked, .form-check-input:not(:checked){
    border-color: var(--color) !important;
    background-color: inherit !important;
}

#checkAll{
    border-color: white !important;
}

#checkAll[type=checkbox]:checked:after{
    border-color: white !important;
}

/* .form-control:focus {
    color: white !important;
} */

/* form color end */


.btn-color, .btn-custom{
    background-color: var(--color);
    color: white;
}

.btn-color:hover, .btn-custom:hover {
    background-color: var(--color);
    color: white;
}

/*-------------------- Scroll Bar --------------------- */

/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 25px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 25px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Scroll Bar End */

/* Hamburger Menu */

#menu-btn .box {
    /* border-radius: 2px; */
    /* position: absolute; */
    /* top: 50%;
    left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* width: 400px;
    height: 400px; */
    /* background: #3faf82; */
    box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
}

#menu-btn .btn {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    width: 90px;
    cursor: pointer;
}

#menu-btn span {
    display: block;
    /* width: 100%; */
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    height: 5px;
    background: #fff;
    transition: all .3s;
    position: relative;
}

#menu-btn span+span {
    margin-top: 10px;
}

#menu-btn .active span:nth-child(1) {
    animation: ease .7s top forwards;
}

#menu-btn .not-active span:nth-child(1) {
    animation: ease .7s top-2 forwards;
}

#menu-btn .active span:nth-child(2) {
    animation: ease .7s scaled forwards;
}

#menu-btn .not-active span:nth-child(2) {
    animation: ease .7s scaled-2 forwards;
}

#menu-btn .active span:nth-child(3) {
    animation: ease .7s bottom forwards;
}

#menu-btn .not-active span:nth-child(3) {
    animation: ease .7s bottom-2 forwards;
}

@keyframes top {
    0% {
        top: 0;
        transform: rotate(0);
    }

    50% {
        top: 22px;
        transform: rotate(0);
    }

    100% {
        top: 15px;
        transform: rotate(45deg);
    }
}

@keyframes top-2 {
    0% {
        top: 22px;
        transform: rotate(45deg);
    }

    50% {
        top: 22px;
        transform: rotate(0deg);
    }

    100% {
        top: 0;
        transform: rotate(0deg);
    }
}

@keyframes bottom {
    0% {
        bottom: 0;
        transform: rotate(0);
    }

    50% {
        bottom: 22px;
        transform: rotate(0);
    }

    100% {
        bottom: 15px;
        transform: rotate(135deg);
    }
}

@keyframes bottom-2 {
    0% {
        bottom: 22px;
        transform: rotate(135deg);
    }

    50% {
        bottom: 22px;
        transform: rotate(0);
    }

    100% {
        bottom: 0;
        transform: rotate(0);
    }
}

@keyframes scaled {
    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes scaled-2 {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/*Hamburger menu end  */


/*Side Nav Bar */

.side-navbar{
    font-size:1rem;
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(100% - 101px);
    width: 240px;
    background-color: white;
    margin: 10px;
    border-radius: 16px;
    overflow: scroll;
    overflow-x: hidden;
    transition: all 0.5s ease;
    /* z-index: 1; */
}

.side-navbar #navcontroller{
    transform: rotate(0deg);
    animation: expand 2s;
}

.side-navbar.active #navcontroller{
    transform: rotate(180deg);
    animation: shrink 2s;
}

@keyframes shrink {
    from {
        transform: rotate(0deg);
    }
    
    to {
        transform: rotate(180deg);
    }
}

@keyframes expand {
    from {
        transform: rotate(180deg);
    }

    to {
        transform: rotate(0deg);
    }
}



.side-navbar .category{
    padding: 12px 6px;
    border-bottom: 1px solid var(--bg-color);
}

.side-navbar .category-name {
    letter-spacing: 0.05em;
    pointer-events: none;
    cursor: default;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.collapse-sublink li {
    
    display: none;
    overflow: hidden;
    padding: 5px 9px;
    margin: 0px 6px;
    border-radius: 5px;
    cursor: pointer;
}


.side-navbar > div > ul .nav-text {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

    padding: 5px 9px;
    margin: 6px;
    border-radius: 5px;
    cursor:pointer;
}


.side-navbar > div > ul > .nav-text:hover, 
.side-navbar > div > ul > .active,
.collapse-header > .nav-text:hover,
.collapse-header > li > .collapse-sublink li:hover

 {
   background-color: var(--color);
   color: white;
   -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.side-navbar .nav-text.active{
    background-color: var(--color);
    color: white;
}

.side-navbar.active{
    width: 78px;
}

.side-navbar.active .logo-name, .side-navbar.active .link-name{
    display: none;
}

.side-navbar.active .category-name{
    font-size: 0.6rem;
}

.side-navbar.active .nav-text {
    text-align: center;
    padding: 6px;
}

.side-navbar.active #nav-btn{
    font-size: 19px;
}

.cursor-pointer {
    cursor: pointer;
}

.nav-text .ri-add-line {
    -moz-transition: -moz-transform 0.5s linear;
    -webkit-transition: -webkit-transform 0.5s linear;
    transition: transform 0.5s linear;
}


.nav-text .ri-add-line.active {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* Side Nav Bar End */

/* Content Area */
.content-area{
    position: absolute;
    width: calc(100% - 240px);
    /* height: calc(100% - 100px); */
    top: 80px;
    left: 240px;
    font-size: 1.1rem;
    transition: all 0.5s ease;
}

.content-area.expand{
    left: 78px;
    width: calc(100% - 78px);
}

/* .side-navbar.active .content-area.expand{
    left: 0px;
    width: 100%
} */

/* Content Area End */

/* Dashboard */

.dashboard-icon{
    font-size: 30px;
    background-color: var(--color);
    color: white;
}

/* Datatables */

.page-item.active .page-link{
    z-index: 0 !important;
}

.page-item.active .page-link {
    background-color: var(--color);
    color: white;
}

/*Datatables end  */

/* Dashboard End */

.side-navbar.display-nav {
    /* visibility: visible; */
    /* display: block; */
    width: 240px;

    z-index: 1;
}

/* Table Styling */

table.custom-style thead{
    background-color: var(--color);
    color: white;
}

table.custom-style thead tr th{
    padding: 5px 7px;
    font-weight: 400;
}

table.custom-style th:first-child {
    border-radius: 7px 0 0 0px;
}

table.custom-style th:last-child {
    border-radius: 0 7px 0px 0;
}

table.custom-style tbody{
    background-color: #D9D9D9;
}

table.custom-style tbody tr td{
    padding: 3px 10px ;
}

table.custom-style>tbody>tr.child ul.dtr-details>li {
    border:0px !important;
}



/* Table Style End */

/* Edit Profile */
#picture-container{
    height: 8rem;
}

#picture-container #background{
    background-color: var(--color);
    height: 3rem;
}

.placeholder-img img, .upload-img{
    border-radius: 50%;
}

.upload-img-container{
    position: absolute;
    top: 80px;
    left: 86px;
}

.upload-img{
    width: 30px;
    height: 30px;
    background-color: var(--color);
    cursor: pointer;
}

/* Action Buttons */

.action-btn{
    font-size: 1rem;
}


/* Action Buttons End */


/* Select Option */
.select2-container--default .select2-selection--single{
    border: 1px solid var(--color) !important;
    padding-top: 3px ;
    /* height: .33em .75em !important; */
    height: 36.13px !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #4f4f4f !important;
}

/* Select Option End  */


/* Toggle Slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
    
.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/* Toggle Slider End */

/* Edit Profile End */

/* Quiz Timer Start */

/* Sets the containers height and width */
.base-timer {
    position: relative;
    height: 150px;
    width: 150px;
}

/* Removes SVG styling that would hide the time label */
.base-timer__circle {
    fill: none;
    stroke: none;
}

/* The SVG path that displays the timer's progress */
.base-timer__path-elapsed {
    stroke-width: 7px;
    stroke: grey;
}

.base-timer__label {
    position: absolute;

    /* Size should match the parent container */
    width: 150px;
    height: 150px;

    /* Keep the label aligned to the top */
    top: 0;

    /* Create a flexible box that centers content vertically and horizontally */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Sort of an arbitrary number; adjust to your liking */
    font-size: 48px;
}


/* Quiz Timer End */

 /* For mobile phones: */
@media only screen and (max-width: 768px) {

    .side-navbar, .side-navbar.active {
        
        /* display: none; */
        width: 0px;
        /* visibility: hidden; */
        /* overflow: hidden; */
        transition: all 0.5s ease;
        z-index: 1;
        /* height: calc(100% - 90px); */
    }

    .content-area {
        position: absolute;
        width: 100%;
        left: 0px;
    }

}