/*Global*/

a {
    color: #00573f;
}

a:hover {
    text-decoration: none;
    color: #005e5a;
}

.vh-100 {
    height: 100vh;
}

.vh-global {
    height: calc(100vh - 50px);
    padding-bottom: 25px;
    overflow: auto;
}
.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}

.primary-color {
    color: #00573f;
}

.secondary-color {
    color: #a29161;
}

.g-create-btn {
    font-weight: bolder;
}

.btn-outline-primary {
    color: #333333;
    border-color: #00573f;
}

.btn-outline-primary:hover {
    color: #ffffff;
    background-color: #a29161;
    border-color: initial;
}

.btn-outline-primary.focus,
.btn-outline-primary:focus {
    color: #ffffff;
    background-color: #a29161;
    border-color: #00573f;
    box-shadow: 0 0 7px #a2916177;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #ffffff;
    background-color: #a29161;
    border-color: #00573f;
    box-shadow: 0 0 7px #a2916177;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    color: #ffffff;
    background-color: #a29161;
    border-color: #00573f;
    box-shadow: 0 0 7px #a2916177;
}

.bg {
    width: 100%;
    background-image: url('../images/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*Form*/
.form-control {
    border: 0px;
    border-bottom: 0.5px solid #00573f30;
    padding: 0px;
    border-radius: 0px;
}

.form-control:focus {
    box-shadow: inherit;
}

label {
    margin-bottom: 0px;
}

/*Navbar*/
.logo {
    height: 50px;
    width: auto;
}

.navbar {
    padding: 0px;
}

.navbar.navbar-expand-lg.navbar-light.bg-light {
    box-shadow: 0 0 5px #777777;
    background-color: #00573f30 !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #333333;
}

.navbar-light .navbar-nav .active .nav-link {
    color: #00573f !important;
    background: #ffffff !important;
    border-bottom: 2px solid #005e5a !important;
    border-radius: 0px 0px 10px 10px !important;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.link-active {
    color: #00573f !important;
    background: #ffffff !important;
    border-bottom: 2px solid #005e5a !important;
    border-radius: 0px 0px 10px 10px !important;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff;
    background: #a29161;
    border-radius: 0px 0px 10px 10px;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        height: 50px;
    }

    .nav-link {
        height: 50px;
        line-height: 2;
    }
}

.active {
    font-weight: bold;
}

/*Body Icon Links*/
.body-menu img {
    height: 100px;
    width: auto;
    overflow: hidden;
    border-radius: 50%;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.body-menu:hover img {
    transform: scale(0.9);
    box-shadow: 0 0 20px #00573f;
}

.body-menu:focus img,
.body-menu:active img {
    animation: body-menu 0.2s linear;
}

@keyframes body-menu {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 20px #00573f;
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 10px #a29161;
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        box-shadow: 0 0 0;
        opacity: 0;
    }
}

/*Pagination*/

.page-item.active .page-link {
    background: #a29161;
    border-color: #a29161;
}

.page-link {
    color: #00573f;
}

/*Icons*/

.fa.fa-eye {
    color: green;
}

.fa.fa-edit {
    color: blue;
}

.fa.fa-trash-alt {
    color: red;
}
/*Footer*/
.footer {
    position: fixed;
    bottom: 0;
    color: #000000;
    width: 100%;
    background: #f1f1f1;
    text-align: center;
    color: #000000;
}

.footer a {
    color: #000000;
}

.footer a:hover {
    color: #777777;
}

.footer p {
    margin: 5px;
}

.footer-image {
    max-height: 25px;
    width: auto;
    vertical-align: bottom;
}

/*Table*/
thead {
    position: sticky !important;
    top: 0;
    background-color: #cfdfdb !important;
}

/*Picture Upload*/
.wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wrapper .file-upload {
    height: 100px;
    width: 100px;
    border-radius: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    border: 4px solid #ffffff;
    overflow: hidden;
    /* background-image: url('../images/g-pp.png'); */
    background-size: 100% 100%;
}
.wrapper .file-upload input[type='file'] {
    height: 100px;
    width: 100px;
    position: relative;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.wrapper .file-upload:after {
    content: 'Upload';
    background-color: #37373777;
    color: #ffffff;
    text-align: center;
    font-size: 10px;
    position: absolute;
    bottom: 0;
    padding: 3px 0 5px 0;
    width: 100%;
}

.btn-outline-danger.focus,
.btn-outline-danger:focus {
    color: #ffffff;
    background-color: #a29161;
    border-color: #00573f;
    box-shadow: 0 0 7px #a2916177;
}

.btn-outline-danger:not(:disabled):not(.disabled).active,
.btn-outline-danger:not(:disabled):not(.disabled):active,
.show > .btn-outline-danger.dropdown-toggle {
    color: #ffffff;
    background-color: #a29161;
    border-color: #00573f;
    box-shadow: 0 0 7px #a2916177;
}

.btn-outline-danger:not(:disabled):not(.disabled).active:focus,
.btn-outline-danger:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-danger.dropdown-toggle:focus {
    color: #ffffff;
    background-color: #a29161;
    border-color: #00573f;
    box-shadow: 0 0 7px #a2916177;
}
.wrapper img {
    height: 100px;
    width: auto;
}
.w-auto {
    width: auto;
}

@media (min-width: 992px) {
    .modal-xl {
        max-width: 1400px;
    }
}

.row.h-100 {
    overflow: auto;
    padding: 20px 0;
}

/* my */

.search-icon:hover > div {
    display: block !important;
    /* position: relative; */
    padding: 10px;
    border: 1px solid #bbb8b8;
    background: #fff;
    z-index: 9999;
    top: 7px;
    left: -81px;
}
.search-icon:focus > div {
    display: block !important;
    /* position: relative; */
    padding: 10px;
    border: 1px solid #bbb8b8;
    background: #fff;
    z-index: 9999;
    top: 7px;
    left: -81px;
}
.search-icon > div {
    display: none;
    position: absolute;
}

.search-icon {
    position: relative;
}
.search-input {
    width: 150px !important;
    border: 1px solid #d2d2d2;
    box-shadow: 0 1px 0 0 #d2d2d2;
    font-size: 1rem;
    outline: 0;
    box-sizing: content-box;
    transition: all 0.3s;
    height: 20px;
}
.search-input:focus {
    border: 1px solid #000;
    box-shadow: 0 1px 0 0 #000;
}
.search-icon-button {
    border-radius: 0;
    border: none;
    width: 58px;
}

.search-icon-button {
    background-color: #9b0b0f;
}

.search-icon-button:focus,
.search-icon-button:hover,
.search-icon-button.focus,
.search-icon-button:focus,
.search-icon-button:hover {
    background-color: #ff5256;
}

.search-icon-button.disabled,
.search-icon-button:disabled,
.search-icon-button:not([disabled]):not(.disabled).active,
.search-icon-button:not([disabled]):not(.disabled):active {
    background-color: #ed1c24;
}

.centered {
    height: 80vh; /* Magic here */
    display: flex;
    justify-content: center;
    align-items: center;
}

.react-bootstrap-table {
    height: 67vh !important;
    overflow: auto;
    overflow: auto;
}

.react-bootstrap-table::-webkit-scrollbar {
    width: 10px;
    box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.12),
        2px 0 15px 0 rgba(0, 0, 0, 0.09);
}
.react-bootstrap-table::-webkit-scrollbar-thumb {
    background: #a29161;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.react-bootstrap-table::-webkit-scrollbar-track {
    background: #d1d4da;
    border-radius: 15px;
}

.scroll4::-webkit-scrollbar {
    width: 10px;
    box-shadow: 2px 0 10px 0 rgba(0, 0, 0, 0.12),
        2px 0 15px 0 rgba(0, 0, 0, 0.09);
}
.scroll4::-webkit-scrollbar-thumb {
    background: #a29161;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.scroll4::-webkit-scrollbar-track {
    background: #e1dbcc;
    border-radius: 15px;
}

.f-r {
    float: right;
}
.f-l {
    float: left;
}
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #e74a3b;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23e74a3b' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e74a3b' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.custom-select.is-invalid:focus,
.form-control.is-invalid:focus,
.was-validated .custom-select:invalid:focus,
.was-validated .form-control:invalid:focus {
    box-shadow: none;
}

.disable-all input {
    pointer-events: none;
}

.disable-all div {
    pointer-events: none;
}
.disable-all label {
    pointer-events: none;
}
.disable-all button {
    pointer-events: all;
}
.disable-all .scroll4 {
    pointer-events: unset;
}

.css-r93niq-MuiButtonBase-root-MuiPaginationItem-root.Mui-selected {
    color: white !important;
    border: 1px solid rgba(25, 118, 210, 0.5);
    background-color: #a29161 !important;
}

.css-r93niq-MuiButtonBase-root-MuiPaginationItem-root.Mui-selected:hover {
    background-color: #a29161 !important;
}
.css-r93niq-MuiButtonBase-root-MuiPaginationItem-root:hover {
    background-color: #a29161 !important;
    color: white !important;
}

.select-search {
    font-size: 0.875rem;
}
.css-93ilmd-DropDown {
    width: 265px !important;
    top: 43px !important;
}
thead {
    position: sticky !important;
    top: -1% !important;
    background-color: #cfdfdb !important;
}
.modal-dialog1 .modal-dialog {
    max-width: none;
    margin: 10px 10px;
}
.sc-bdvvtL {
    overflow: auto;
}
input[type='number'] {
    -moz-appearance: textfield;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;

    margin: 0;
}
td .fa:hover,
td .fas:hover {
    text-shadow: 0 0 2px #005e5a;
    font-size: small !important;
    transition: 0.2s all;
}

.capar-img {
    height: 330px;
    width: inherit;
}

.asd input[type='file'] {
    height: 100px;
    width: 100px;
    position: relative;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.bubble {
    position: relative;
    background: #000000;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    line-height: 48px;
    text-align: center;
    width: 220px;
    height: 47px;
    border-radius: 10px;
    padding: 0px;
}
.bubble:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: #000000 transparent;
    border-width: 17px 14px 0;
    bottom: -17px;
    left: 50%;
    margin-left: -14px;
}
