/*
  Author: Meet Shah
  Created on: 10/05/2019
  GIPL
*/
html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Open Sans", sans-serif !important;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f5f5f5;
}

.scroll-progress {
    background: linear-gradient(to right, #467579 var(--scroll), transparent 0);
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 4px;
    z-index: 1;
    top: 77px;
}

img {
    max-width: 100%;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield;
}

a {
    transition: 0.25s all ease;
    -webkit-transition: 0.25s all ease;
    -moz-transition: 0.25s all ease;
}

.card {
    margin-bottom: 30px;
}

.card-header {
    padding: 0.7rem 1rem;
    background: #6092ec;
    position: relative;
}

.card-header-bg {
    background: #467579;
}

    .card-header-bg .card-title {
        color: #fff;
    }

.card-body, .card-footer {
    padding: 1rem;
}

.card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

    .card-title i {
        margin-right: 5px;
        vertical-align: baseline;
    }

.btn {
    padding: 7px 16px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.btn-primary {
    color: #fff;
    background-color: #E9A200;
    border-color: #E9A200;
}

    .btn-primary:hover, .btn-outline-primary {
        background: #fff;
        color: #E9A200;
        border-color: #E9A200;
    }

.btn-info {
    color: #fff;
    background: #6092ec;
    border-color: #6092ec;
}

    .btn-info:hover {
        background: #377eff;
        color: #fff;
        border-color: #377eff;
    }

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(233, 162, 0, 0.5);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #AA7A00;
    border-color: #AA7A00;
}

    .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(233, 162, 0, 0.5);
    }

label {
    font-weight: 600;
    margin-bottom: 2px;
}

.form-control {
    font-size: 14px;
    border-color: #daac72;
    height: calc(1.1em + .75rem + 2px);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

    .form-control:focus {
        box-shadow: none;
        outline: 0;
        border-color: #E9A200;
    }

textarea {
    resize: auto !important;
}

/*--Datepicker--*/
.bootstrap-datetimepicker-widget table td.day {
    padding: 5px;
}

.bootstrap-datetimepicker-widget {
    font-size: 14px !important;
}
/*--Select2--*/

.select2 {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 30px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline-color: #E9A200 !important;
    border-color: #E9A200 !important;
}
/*--Footer--*/
.footer-content {
    background: #545454;
    padding: 10px 0;
}

    .footer-content p {
        margin: 0;
        color: #fff;
        text-align: center;
        font-size: 14px;
        /*font-weight: 600;*/
    }

        .footer-content p > a {
            color: #fff;
        }

/*--Login Page--*/

.login-card {
    box-shadow: 0px 0px 10px 0px #adadad;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

#forgot_pwd {
    display: none;
}

.login-carousel.carousel {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    min-height: 100vh;
}

.login-body {
    /*background: url('../images/cover.jpg') no-repeat;*/
    background: radial-gradient(circle, rgba(255,255,255,1) 60%, rgba(178,178,178,1) 100%);
    background-position: center right;
    background-attachment: fixed;
    background-size: cover;
}

    .login-body::before {
        content: "";
        background: rgba(96, 146, 236,.9);
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: -1;
        min-height: 100vh;
    }

.login-carousel.carousel img {
    min-height: 100vh;
}

.flex-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100vh;
}

.logo-hrms {
    font-size: 18px;
    font-weight: 700;
    color: #E9A200;
}

.login-title {
    background: #AA7A00;
}

.login-title {
    position: relative;
}

    .login-title h1 {
        font-size: 16px;
        text-align: center;
        color: #fff;
        margin: 15px 0;
        padding: 10px 0;
        font-weight: 600;
        position: relative;
    }

    .login-title::before {
        content: "";
        position: absolute;
        right: auto;
        top: 0;
        left: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 0 20px 20px;
        border-color: transparent transparent transparent #fff;
    }

    .login-title::after {
        content: "";
        position: absolute;
        top: 0;
        left: auto;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 20px 20px 0;
        border-color: transparent #fff transparent transparent;
    }
/*--c-input-group--*/
.c-input-group .input-group-text {
    background: rgba(96, 146, 236,.9);
    color: #fff;
    border-color: rgba(96, 146, 236,.9);
}

.c-input-group .form-control {
    height: calc(1.3rem + 0.75em + 2px) !important;
}
/* Custom Checkbox */
.c-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .c-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 19px;
    width: 19px;
    border-radius: 4px;
    background-color: transparent;
    border: 1px solid #E9A200;
    transition: 0.2s all ease-in-out;
    -webkit-transition: 0.2s all ease-in-out;
    -moz-transition: 0.2s all ease-in-out;
    -ms-transition: 0.2s all ease-in-out;
    -o-transition: 0.2s all ease-in-out;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.c-checkbox input:checked ~ .checkmark {
    background-color: #E9A200;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.c-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.c-checkbox .checkmark:after {
    left: 6px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.forgot-pwd {
    color: #111;
    font-weight: 600;
}

    .forgot-pwd:hover {
        color: #467579;
    }

/*--Navbar--*/
header {
    min-height: 80px;
}

.c-navbar {
    background: rgba(123, 164, 255,.9);
    border-bottom: 1px solid #5c8bf3;
    box-shadow: 0 0 10px -2px rgba(0,0,0,0.2);
}

    .c-navbar .navbar-nav .nav-item.active > .nav-link,
    .c-navbar .navbar-nav .nav-item:hover > .nav-link {
        color: #fff;
        background: #AA7A00;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
    }

    .c-navbar .navbar-nav .nav-link {
        color: #111;
        font-size: 14px;
        font-weight: 600;
        padding: 5px 12px;
        margin-right: 5px;
    }

    .c-navbar .navbar-nav:last-child .nav-link {
        margin-right: 0;
    }

.c-logo {
    height: 65px;
}

.avatar {
    margin-right: 5px;
    width: 30px;
    white-space: nowrap;
    border-radius: 100%;
    vertical-align: bottom;
    display: inline-block;
    position: relative;
}

    .avatar i {
        position: absolute;
        right: 0px;
        bottom: 2px;
        width: 10px;
        height: 10px;
        border-radius: 100%;
    }

    .avatar img {
        width: 100%;
        height: auto;
        max-width: 100%;
        border: 0;
        border-radius: 1000px;
    }

.c-navbar .navbar-nav .nav-item.dropdown:hover > .profile-dropdown {
    background: transparent;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.profile-dropdown {
    display: block;
}

    .profile-dropdown.dropdown-toggle::after {
        margin: 0;
        color: #111;
    }

    .profile-dropdown .user-name {
        display: inline-block;
        margin-bottom: 0.4rem;
        margin-left: 0;
        color: #111;
    }

.profile-dropdown-list .dropdown-item {
    padding: 0.25rem 0.8rem;
    font-size: 14px;
}

.profile-dropdown-list::before {
    position: absolute;
    top: -7px;
    right: 5px;
    display: inline-block !important;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #E9A200;
    border-left: 7px solid transparent;
    border-bottom-color: #E9A200;
    content: "";
}

.profile-dropdown-list .dropdown-item.active,
.dropdown-menu .dropdown-item.active
.profile-dropdown-list .dropdown-item:active,
.profile-dropdown-list .dropdown-item:hover,
.dropdown-menu .dropdown-item:hover {
    color: #fff;
    background: #E9A200;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin: 0 0 0 -1px;
    }
/*-Inner Page Design-*/
.site-main-wrapper {
    margin: 30px 0;
    min-height: calc(100vh - 183px);
}

.main-wrapper {
    padding: 30px 0;
    box-shadow: 0 0 6px 1px rgba(154, 154, 154, 0.3);
    background: #fff;
}

/*--Datatable--*/
div#DataTables_Table_0_filter {
    margin-bottom: 10px;
}

div.dataTables_wrapper div.dataTables_paginate {
    margin-top: 10px;
}

.dataTables_filter input, .dataTables_length select {
    padding: 0;
    border-bottom: 3px solid #E9A200 !important;
    border: 0;
    box-shadow: none;
    border-radius: 4px;
    width: auto;
    font-size: 13px;
    outline: none;
}

.mytable.table.dataTable {
    margin: 15px 0 !important;
}

.dataTables_paginate .pagination > .active > a,
.dataTables_paginate .pagination > .active > a:focus,
.dataTables_paginate .pagination > .active > a:hover,
.dataTables_paginate .pagination > .active > span,
.dataTables_paginate .pagination > .active > span:focus,
.dataTables_paginate .pagination > .active > span:hover {
    background: #E9A200;
    color: #fff;
    border-color: #E9A200;
}

.dataTables_paginate .pagination > li > a, .pagination > li > span {
    color: #E9A200;
}

div.dataTables_wrapper div.dataTables_length select {
    width: 50px;
}

/*---*/

.form-horizontal.form-bordered {
    border: 1px solid #ccc;
}

div.form-horizontal > .form-group.row {
    border-bottom: 1px solid #ccc;
    margin: 0;
    background: #f6f6f6;
}

.form-horizontal .form-group.row:last-child {
    border-bottom: none;
}

.control-label {
    text-align: left !important;
    margin: 0;
    padding: 7px 10px !important;
    border-right: 0px solid #ccc;
    border-left: 0px solid #ccc;
    font-weight: 600;
}

.form-group .control-label {
    line-height: 2;
}

.control-form {
    padding: 7px 15px;
    background: inherit;
    border-left: 1px solid #ccc;
}

.checkbox-inline {
    padding: 5px 0;
}

/*--Content Design--*/

.contenet-title h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.custom-fieldset {
    border: 1px solid #6092ec !important;
    padding: 0 1rem 1rem 1rem !important;
    margin: 0 0 15px 0;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
    background: #dce8ff;
}

    .custom-fieldset legend {
        font-size: 16px !important;
        font-weight: 600 !important;
        text-align: left !important;
        width: auto;
        padding: 0 10px;
        border-bottom: none;
        color: #ffffff;
        background-color: #6092ec;
    }

.collapse-title.collapsed::after {
    content: "\f105";
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: "Font Awesome 5 Free";
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.collapse-title::after {
    content: "\f107";
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: "Font Awesome 5 Free";
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}

.w-55 {
    width: 55% !important;
}

.w-60 {
    width: 60% !important;
}

.w-65 {
    width: 65% !important;
}

.w-70 {
    width: 70% !important;
}

.vertical-middle {
    vertical-align: middle !important;
}

.dm-radio label {
    margin-left: 5px;
}

/*-Loader-*/
.loader {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000000;
}

.load-content {
    margin: 0 auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
}

.page-loader {
    border: 3px solid rgba(29, 113, 154, 0.7);
    border-top-color: var(--p-dark);
    border-radius: 50%;
    width: 4em;
    height: 4em;
    animation: spin 1s linear infinite;
    display: block;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-register {
    height: 100%;
    position: fixed;
}

.top-header {
    background: #354567;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    color: #fff;
}

.top-head-bar {
    list-style: none;
    margin: 0;
    padding: 7px 0;
    display: flex;
    flex-direction: row;
}

    .top-head-bar li a {
        color: #fff;
        margin-right: 10px;
        text-decoration: none;
    }

.banner-image {
    background: url(../images/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    background-clip: border-box;
    background-attachment: scroll;
    height: 475px;
    position: relative;
}

@media (max-width: 768px) {
    .banner-image {
        background-size: contain;
        height: 120px;
    }
}

.news-box {
    background-color: rgb(63 119 245 / 90%);
    border-bottom: 1px solid #5c8bf3;
    color: #fff;
}

.news-title {
    background: #354567;
    color: #fff;
    z-index: 100000;
    text-align: center;
    padding: 4px 0;
    font-weight: bold;
    position: relative;
    z-index: 0;
}

    .news-title:after {
        content: '';
        display: inline-block;
        position: absolute;
        top: 50%;
        left: auto;
        right: -7px;
        border-left: 8px solid #354567 !important;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        margin-top: -8px;
    }

marquee {
    display: inline-flex;
}

.news-list {
    margin: 0;
    padding: 4px 0;
    position: relative;
}

    .news-list li {
        display: inline-block;
        position: relative;
        padding: 0 10px;
    }

        .news-list li::before {
            content: "\f101";
            font-family: 'Font Awesome 5 Free';
            position: absolute;
            font-size: 16px;
            font-weight: bold;
            top: 0;
            bottom: 0;
            left: -10px;
            margin: 0;
            color: #fff;
            vertical-align: middle;
        }

.bg-secondary {
    background-color: #354567 !important;
}

.navbar-toggler {
    background-color: #fff;
    border: 1px solid #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.alert-info {
    color: #212121;
    background-color: antiquewhite;
    border-color: antiquewhite;
}

.alert-success {
    color: #212121;
    background-color: ghostwhite;
    border-color: #c3e6cb;
}





/*// Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) {
    .login-register{
    position: relative !important;
}

.flex-container {
    height: auto !important;
}

.login-card {
    margin-top: 30px !important;
    }
}
