.floating-form {
    width: 320px;
    margin: auto;
    padding-top: 100px;
}

.floating-label {
    position: relative;
    margin-bottom: 20px;
}

.floating-textarea {
    padding-top: 12px !important;
    height: 100px !important;
}

.floating-input,
.floating-select,
.floating-textarea {
    font-size: 1.25rem;
    padding: 15px;
    display: block;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 35px;
    width: 100%;
    height: 50px;
}

.floating-input:focus,
.floating-select:focus,
.floating-textarea:focus {
    outline: none;
    border: 1px solid #ffcc00;
}

.floating-label label {
    bottom: 0;
    color: #666;
    font-size: 1rem;
    line-height: 20px;
    left: 15px;
    right: 0;
    top: 13px;
    pointer-events: none;
    position: absolute;
    display: block;
    width: fit-content;
    height: fit-content;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.floating-input:focus~label,
.floating-input:not(:placeholder-shown)~label {
    top: -8px;
    font-size: 0.75rem;
    background: #fff;
    padding: 0 5px;
}

.floating-select:focus~label,
.floating-select:not([value=""]):valid~label {
    top: -8px;
    font-size: 0.75rem;
    background: #fff;
    padding: 0 5px;
}

.floating-textarea:focus~label,
.floating-textarea:not(:placeholder-shown)~label {
    top: -8px;
    font-size: 0.75rem;
    background: #fff;
    padding: 0 5px;
}


/* active state */

.floating-input:focus~.bar:before,
.floating-input:focus~.bar:after,
.floating-select:focus~.bar:before,
.floating-select:focus~.bar:after,
.floating-textarea:focus~.bar:before,
.floating-textarea:focus~.bar:after {
    width: 50%;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/* highlighter */

.highlight {
    position: absolute;
    height: 50%;
    width: 100%;
    top: 15%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}


/* active state */

.floating-input:focus~.highlight,
.floating-select:focus~.highlight,
.floating-textarea:focus~.highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}


/* animation */

@-webkit-keyframes inputHighlighter {
    from {
        background: #ffcc00;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #ffcc00;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #ffcc00;
    }
    to {
        width: 0;
        background: transparent;
    }
}


/* upload button */

input[type=file] {
    border: 1px solid #565758;
}

button.browse {
    background-color: #ffcc00 !important;
    border-color: #ffcc00;
    outline: none;
    color: #000;
    border-radius: 25px;
}

.file {
    visibility: hidden;
    position: absolute;
}

.etest-browse input[type=text] {
    border: 1px solid #565758;
}

button.browse:hover,
button.browse:focus {
    box-shadow: none !important;
    background-color: #ffe05c;
    color: #000;
}

.img-input-group {
    padding: 4px 4px;
    border: 1px solid #666;
    border-radius: 25px;
    font-size: 14px;
    font-family: MTNBrighterSans-Regular, Century Gothic, Arial, sans-serif;
    width: 100%;
    height: 50px;
}

.img-input-group input {
    font-size: 14px;
    display: block;
    border: none;
    border-radius: 25px !important;
    font-family: MTNBrighterSans-Regular, Century Gothic, Arial, sans-serif;
    width: 100%;
    background-color: transparent !important;
}

.justify-content-md-center .policy-label label {
    padding-top: 1em;
}

span.color-red {
    color: red;
}

.mtn-forrm-bg-color {
    background-color: #f7f7f7;
}

.policy-uplaod-img span {
    font-weight: 700;
}

.text-bold {
    font-weight: 700;
}

.dotted-hr {
    border-top: 1px dashed #4c4c4c;
}

.answer-icon {
    border: 1px solid #666;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


/* style fr toggle swwitch */

.toggle-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-slot {
    position: relative;
    height: 50px;
    width: 20em;
    border-radius: 10em;
    background-color: white;
    border: 1px solid #eee;
    transition: background-color 250ms;
}

.toggle-checkbox:checked~.toggle-slot {
    background-color: #fff;
}

.toggle-button {
    transform: translate(9em, .25em);
    position: absolute;
    height: 40px;
    width: 10.5em;
    border-radius: 50px;
    background-color: #ffcc00;
    transition: background-color 250ms, border-color 250ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
}

.toggle-checkbox:checked~.toggle-slot .toggle-button {
    background-color: #ffcc00;
    transform: translate(.45em, .25em);
}

.sun-icon-wrapper {
    position: absolute;
    height: 6em;
    width: 6em;
    opacity: 1;
    transform: translate(4em, 1.2em) rotate(0deg);
    transform-origin: 50% 50%;
    transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2, .46, .71);
}

.toggle-checkbox:checked~.toggle-slot .sun-icon-wrapper {
    opacity: 0;
    transform: translate(3em, 2em) rotate(0deg);
}

.moon-icon {
    position: absolute;
    height: 6em;
    width: 6em;
    color: white;
}

.moon-icon-wrapper {
    position: absolute;
    height: 6em;
    width: 6em;
    opacity: 0;
    transform: translate(11em, 2em) rotate(0deg);
    transform-origin: 50% 50%;
    transition: opacity 150ms, transform 500ms cubic-bezier(.26, 2.5, .46, .71);
}

.toggle-checkbox:checked~.toggle-slot .moon-icon-wrapper {
    opacity: 1;
    transform: translate(14em, 1.2em) rotate(0deg);
}

ul.question-list li.policy-list .policy-icon-bg-yellow a {
    background-color: #ffcc00;
    color: #000;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
}

ul.question-list li.policy-list .policy-icon-bg-yellow p {
    font-size: .65em;
    padding-top: 1em;
}

ul.question-list li.policy-list .policy-icon-bg-black a {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
    margin-left: .45em;
}

ul.question-list li.policy-list .policy-icon-bg-black p {
    font-size: .65em;
    padding-top: 1em;
}

ul.question-list li.policy-list {
    list-style-type: decimal;
}

ul.question-list li.policy-list .policy-icon-bg-yellow a:hover,
ul.question-list li.policy-list .policy-icon-bg-yellow a:focus {
    background-color: #ffe37c;
    color: #000;
}

ul.question-list li.policy-list .policy-icon-bg-black a:hover,
ul.question-list li.policy-list .policy-icon-bg-black a:focus {
    background-color: #4c4c4c;
    color: #fff;
}


/* admin landing page */


/* unplublish policy style */

.Unpublish-policy .policy-icon-bg-yellow a {
    background-color: #ffcc00;
    color: #000;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
}

.Unpublish-policy .policy-icon-bg-yellow a:hover,
.Unpublish-policy .policy-icon-bg-yellow a:focus {
    background-color: #ffe37c;
    color: #000;
}

.Unpublish-policy .policy-icon-bg-yellow p {
    font-size: .65em;
    padding-top: 1em;
}

.Unpublish-policy .policy-icon-bg-black a {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
}

.Unpublish-policy .policy-icon-bg-black a:hover,
.Unpublish-policy .policy-icon-bg-black a:focus {
    background-color: #4c4c4c;
    color: #fff;
}

.Unpublish-policy .policy-icon-bg-black p {
    font-size: .65em;
    padding-top: 1em;
}

.Unpublish-policy .policy-icon-bg-blue a {
    background-color: #01678F;
    color: #fff;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
}

.Unpublish-policy .policy-icon-bg-blue a:hover,
.Unpublish-policy .policy-icon-bg-blue a:focus {
    background-color: #1884E0;
    color: #fff;
}

.Unpublish-policy .policy-icon-bg-blue p {
    font-size: .65em;
    padding-top: 1em;
}


/* plublish policy style */

.publish-policy .policy-icon-bg-yellow a {
    background-color: #ffcc00;
    color: #000;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
}

.publish-policy .policy-icon-bg-yellow a:hover,
.publish-policy .policy-icon-bg-yellow a:focus {
    background-color: #ffe37c;
    color: #000;
}

.publish-policy .policy-icon-bg-yellow p {
    font-size: .65em;
    padding-top: 1em;
}

.publish-policy .policy-icon-bg-black a {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
}

.publish-policy .policy-icon-bg-black a:hover,
.publish-policy .policy-icon-bg-black a:focus {
    background-color: #4c4c4c;
    color: #fff;
}

.publish-policy .policy-icon-bg-black p {
    font-size: .65em;
    padding-top: 1em;
}

.publish-policy .policy-icon-bg-blue a {
    background-color: #01678F;
    color: #fff;
    border-radius: 50px;
    padding: 7px 10px;
    text-align: center;
}

.publish-policy .policy-icon-bg-blue a:hover,
.publish-policy .policy-icon-bg-blue a:focus {
    background-color: #1884E0;
    color: #fff;
}

.publish-policy .policy-icon-bg-blue p {
    font-size: .65em;
    padding-top: 1em;
}

.vacancies-container .page-item.active .page-link {
    background-color: #ffcc00;
    border-color: #ffcc00;
    color: #000;
    border-radius: 50px;
}

.vacancies-container .page-item.active .page-link:hover,
.policy-archive-container .page-item.active .page-link:focus {
    background-color: #ffe37c;
    box-shadow: none;
}

.vacancies-container .page-item.disabled .page-link {
    color: #000;
    border-color: transparent;
}

.vacancies-container .page-item.enabled .page-link {
    color: #4c4c4c;
    border-color: transparent;
}

.vacancies-container .table td,
.table th {
    vertical-align: inherit;
}

.vacancies-container .page-item.disabled .page-link {
    background-color: transparent;
}

.vacancies-container table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    background-color: #ffcc00;
}

.vacancies-container table thead {
    background-color: #000;
    color: #fff;
}

.vacancies-container .table-striped tbody tr:nth-of-type(odd) {
    background-color: #CECECE;
}

.vacancies-container .table-striped tbody tr:nth-of-type(even) {
    background-color: #F5F5F5;
}


/* edit question page */

a.remove_field {
    position: absolute;
    right: 30px;
    color: #000;
    z-index: 6;
}

a.remove_field i.fa-trash {
    margin-top: 1.2em;
}

a.remove_field:hover,
a.remove_field:focus {
    color: #4c4c4c;
}


/*  */

.Quiz-textarea .floating-label {
    height: 100% !important;
}

.Quiz-textarea .floating-label textarea {
    height: 100% !important;
}

.question-textarea textarea {
    height: auto !important;
    min-height: 150px;
}

.JD-textarea textarea {
    height: auto !important;
    min-height: 150px;
}

.edit-mode .mtn-bg-black {
    background-color: #000;
    color: #fff;
}

.edit-mode .mtn-bg-black:hover,
.edit-mode .mtn-bg-black:focus {
    background-color: #4c4c4c;
}

.policy-archive-container .table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f8f8;
}

.policy-archive-container .table-striped tbody tr:nth-of-type(even) {
    background-color: #ebebeb;
}

.policy-archive-container table.dataTable {
    border-collapse: collapse !important;
}

@media(max-width:1280px) {
    .toggle-button {
        width: 8.5em;
    }
    .toggle-slot {
        width: 18em;
    }
}

@media (max-width: 1200px) {
    .toggle-button {
        width: 6.5em;
        transform: translate(7em, .25em);
    }
    .toggle-slot {
        width: 14em;
    }
    .toggle-checkbox:checked~.toggle-slot .moon-icon-wrapper {
        transform: translate(9em, 1.2em) rotate(0deg);
    }
}

@media(max-width:1024px) {
    .content-body2 .container-fluid.px-5 {
        padding: 0 1em !important;
    }
    .toggle-button {
        width: 4.5em !important;
    }
    .toggle-slot {
        width: 10em;
    }
    .toggle-checkbox:checked~.toggle-slot .moon-icon-wrapper {
        transform: translate(6.5em, 1.2em) rotate(0deg);
    }
    .sun-icon-wrapper {
        transform: translate(2em, 1.2em) rotate(0deg);
    }
    .toggle-button {
        transform: translate(5em, .25em);
    }
}

@media(max-width:800px) {
    .input_fields_wrap {
        padding-top: 1em;
    }
    .justify-content-md-center .policy-label label {
        padding-left: 1em;
    }
}


/* quiz page */

.quiz-container .custom-control-label {
    padding: 0 .65em;
    margin-bottom: .75em;
}

.row.mx-5.quiz-container {
    background-color: #ebebeb;
    border-radius: 7px;
}

.quiz-container .custom-control-label::before {
    background-color: transparent;
}

.quiz-container .custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-color: #ffcc00;
    border-radius: 50px;
    box-shadow: none !important;
    border-radius: 50px;
}


/* report page */

#nav-GroupMaster div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
}

.policy-archive-container div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
}

@media (max-width:603px) {
    .row.mx-5.quiz-container.pl-5.py-4 {
        padding: 0 !important;
        margin: 0 !important;
    }
}


/* admin nav */

.admin-nav a {
    color: #000;
}

.admin-nav a:hover,
.admin-nav:focus {
    color: #4c4c4c;
}

.admin-nav a span {
    background-color: #E5E5E5;
    padding: .1em .4em.25em .4em;
    border-radius: 50px;
    margin-right: .25em;
}

.admin-nav a span img {
    width: 15px;
}

@media (max-width:320px) {
    #sidebar ul li p {
        padding-right: .5em !important;
    }
    ul.components a.policy-img {
        padding: 5px !important;
    }
    ul.components a.policy-img img {
        height: 20px !important;
    }
}