/*
  Author: Meet Shah
  Created on: 04/06/2019
  GIPL
*/
html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Open Sans", sans-serif !important;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #111;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fefefe;
}

.scroll-progress {
    background: linear-gradient(to right, #3d713f var(--scroll), transparent 0);
    background-repeat: no-repeat;
    position: fixed;
    width: 100%;
    height: 4px;
    z-index: 1;
    top: 87px;
}

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: #3d713f;
    position: relative;
}

.card-header-bg {
    background: #3d713f;
}

    .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;
    }

.header-element {
    position: absolute;
    right: 15px;
    top: 0.7rem;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
}

    .header-element:hover {
        color: #fff;
    }

    .header-element i {
        margin-right: 5px;
    }

.btn {
    padding: 7px 16px;
    font-weight: 600;
    font-size: 14px;
}

.btn-primary {
    color: #fff;
    background-color: #944725;
    border-color: #944725;
}

    .btn-primary:hover,
    .btn-outline-primary {
        background: #fff;
        color: #944725;
        border-color: #944725;
    }

.btn-info {
    background: #3d713f;
    color: #fff;
    border-color: #3d713f;
}

    .btn-info:hover {
        background: #fff;
        color: #3d713f;
        border-color: #3d713f;
    }

.btn-primary.focus,
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(202, 59, 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: #944725;
    border-color: #944725;
}

    .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(202, 59, 0, 0.5);
    }

.btn-info.focus,
.btn-info:focus {
    box-shadow: 0 0 0 0.2rem rgba(61, 113, 63, 0.52);
}

.btn-info:not(:disabled):not(.disabled).active,
.btn-info:not(:disabled):not(.disabled):active,
.show > .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #3d713f;
    border-color: #3d713f;
}

    .btn-info:not(:disabled):not(.disabled).active:focus,
    .btn-info:not(:disabled):not(.disabled):active:focus,
    .show > .btn-info.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(61, 113, 63, 0.52);
    }

label {
    font-weight: 600;
    margin-bottom: 2px;
}

.form-control {
    font-size: 14px;
    color: #222;
    border-color: #888;
    height: calc(1.5em + .60rem + 3px);
}

    .form-control:focus {
        box-shadow: none;
        outline: 0;
        border-color: #944725;
    }

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--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.select2-container .select2-selection--single {
    height: 34px;
}
/*--Footer--*/
.footer-content {
    background: #944725;
    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--*/
#forgot_pwd {
    display: none;
}

.login-body {
    background: #fefefe;
}

.login-image {
    background: url("../images/login-bg.jpg") no-repeat;
    background-size: cover;
    height: 100vh;
    background-position: center center;
    width: 100%;
    background-attachment: fixed;
    padding: 0;
    position: relative;
    z-index: 100000;
    box-shadow: 0 0 7px 2px rgba(5, 5, 5, 0.5);
}

    .login-image::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgb(4, 4, 4);
        opacity: 0.4;
        z-index: -1;
    }

.login-box .card {
    position: relative;
    padding: 35px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.login-title {
    position: relative;
    background: #3d713f;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
    /* .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;
} */
    .login-title h1 {
        font-size: 16px;
        text-align: center;
        color: #fff;
        margin: 15px 0;
        padding: 10px 0;
        font-weight: 600;
        position: relative;
    }
/*--c-input-group--*/
.c-input-group .input-group-text {
    background: transparent;
    color: #944725;
    border-color: #888;
}
/* 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: 5px;
    background-color: transparent;
    border: 1px solid #944725;
    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: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.c-checkbox input:checked ~ .checkmark {
    background-color: #944725;
}

.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: #3d713f;
    }

/*--Navbar--*/
.c-navbar {
    background: #fff;
    border-bottom: 1px solid #944725;
    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: #944725;
        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: 60px;
}

.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: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.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.5rem 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 #944725;
    border-left: 7px solid transparent;
    border-bottom-color: #944725;
    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: #944725;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: 0.8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin: 0 0 0 -1px;
    }

.dropdown-menu {
    font-size: 14px;
    padding: 0;
}

.dropdown-divider {
    margin: 0;
}
/*-Inner Page Design-*/

.main-wrapper {
    margin-top: 87px;
    padding: 30px 0;
    min-height: calc(100% - 30px);
}
/*--Table--*/
.table td, .table th {
    padding: 0.5rem;
}
/*--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 #944725 !important;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    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: #944725;
    color: #fff;
    border-color: #944725;
}

.dataTables_paginate .pagination > li > a,
.pagination > li > span {
    color: #944725;
}

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: 10px 15px !important;
    border-right: 0px solid #ccc;
    border-left: 0px solid #ccc;
    font-weight: 600;
}

.control-form {
    padding: 7px 15px;
    background: #fff;
    border-left: 1px solid #ccc;
}

.checkbox-inline {
    padding: 5px 0;
}
/*--fieldset--*/
.custom-fieldset {
    border: 1px solid #467579 !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;
}

    .custom-fieldset legend {
        font-size: 16px !important;
        font-weight: 600 !important;
        text-align: left !important;
        width: auto;
        padding: 0 10px;
        border-bottom: none;
        color: #467579;
    }
/*--Media Screen--*/
@media (max-width: 991px) {
    .login-image {
        display: none;
    }

    .login-box {
        background: url("../images/login-bg.jpg") no-repeat;
        background-size: cover;
        height: 100vh;
        background-position: center;
        width: 100%;
        background-attachment: fixed;
        padding: 0;
        position: relative;
        z-index: 100000;
    }

        .login-box::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            background: rgb(4, 4, 4);
            opacity: 0.4;
            z-index: -1;
        }

        .login-box .card {
            position: relative;
            padding: 35px;
            margin: 0 15%;
            top: 50%;
            transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
            border: 2px solid #3d713f !important;
        }

    .select2 {
        width: 100% !important;
    }
}

label {
    font-weight: 600;
    margin-bottom: 2px;
}

@media (max-width: 576px) {
    .login-box .card {
        position: relative;
        padding: 15px;
        margin: 0 5%;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        box-shadow: 0 0 12px 5px rgba(4, 4, 4, 0.6);
    }
}
