@import "tailwindcss/base";

@import "tailwindcss/components";

@import "tailwindcss/utilities";

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css');

@layer base {

    ul,
    ol {
        margin-left: 20px;
        list-style: revert;
    }
}

.list-none {
    margin-left: 0px !important;
}


/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    padding: 50px 0px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    /* background-color: #fff; */
    margin: auto;
    padding: 0;
    /* border: 1px solid #888; */
    /* width: 80%; */
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
/* .close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
} */

/* .modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
} */

/* .modal-body {
    padding: 2px 16px;
} */

/* .modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
} */

.dataTables_wrapper select,
.dataTables_wrapper .dataTables_filter input {
    color: #212121;
    /*text-gray-700*/
    padding-left: 1rem;
    /*pl-4*/
    padding-right: 1rem;
    /*pl-4*/
    padding-top: .5rem;
    /*pl-2*/
    padding-bottom: .5rem;
    /*pl-2*/
    line-height: 1.25;
    /*leading-tight*/
    border-width: 1.5px;
    /*border-2*/
    border-radius: .5rem;
    border-color: #eee;
    /*border-gray-200*/
    background-color: #fff;
    /*bg-gray-200*/
}

/*Row Hover*/
/* table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background-color: #eee;
    bg-indigo-100
} */

/*Pagination Buttons*/
.dataTables_wrapper .dataTables_paginate .paginate_button {
    font-weight: 700;
    /*font-bold*/
    border-radius: .25rem;
    /*rounded*/
    border: 1px solid transparent;
    /*border border-transparent*/
}

/*Pagination Buttons - Current selected */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: #fff !important;
    /*text-white*/
    /* box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06); */
    /*shadow*/
    font-weight: 700;
    /*font-bold*/
    border-radius: .25rem;
    /*rounded*/
    background: #dc2626 !important;
    /*bg-indigo-500*/
    border: 1px solid transparent;
    /*border border-transparent*/
    transition: .25s ease-in-out;
}

/*Pagination Buttons - Hover */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #fff !important;
    /*text-white*/
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    /*shadow*/
    font-weight: 700;
    /*font-bold*/
    border-radius: .25rem;
    /*rounded*/
    background: #dc2626 !important;
    /*bg-indigo-500*/
    border: 1px solid transparent;
    /*border border-transparent*/
}

/*Add padding to bottom border */
table.dataTable.no-footer {
    border-bottom: 1px solid #eee;
    /*border-b-1 border-gray-300*/
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}

/*Change colour of responsive icon*/
table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
    background-color: #dc2626 !important;
    /*bg-indigo-500*/
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 20px;
}

.fontawesome-list ul,
.fontawesome-list ol {
    list-style: none !important;
    padding: 0;
}

.fontawesome-list li {
    padding-left: 1.5em;
    margin-bottom: 5px;
}

.fontawesome-list li:before {
    content: "\f058";
    color: #16a34a;
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    margin-left: -1.5em;
    width: 1.5em;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    position: absolute;
    /* width: 120px; */
    background-color: #0F1D1D;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-top {
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
}

.tooltip-top::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #0F1D1D transparent transparent transparent;
}

.tooltip-right {
    top: -5px;
    left: 125%;
}

.tooltip-right::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #0F1D1D transparent transparent;
}

.tooltip-bottom {
    top: 135%;
    left: 50%;
    margin-left: -60px;
}

.tooltip-bottom::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #0F1D1D transparent;
}

.tooltip-left {
    top: -5px;
    bottom: auto;
    right: 128%;
}

.tooltip-left::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0F1D1D;
}

.tooltip:hover .tooltiptext {
    visibility: visible !important;
    opacity: 1;
}

.dropdown-hover-list {
    visibility: hidden;
    position: absolute;
    opacity: 0;
    background-color: #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .15);
    transform: translateY(-10px);
    transition: all 0.3s ease 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.dropdown-hover .dropdown-hover-list::after {
    content: "";
    position: absolute;
    bottom: 100%;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #e5e7eb transparent;
}

.dropdown-notif-list {
    min-width: 300px;
    margin-top: 15px;
    margin-left: -160px;
    /* padding: 25px 20px 10px; */
}

.dropdown-notif .dropdown-notif-list::after {
    left: 167.5px;
}

.dropdown-profile-list {
    min-width: 150px;
    margin-top: 10px;
    margin-left: -55px;
}

.dropdown-profile .dropdown-profile-list::after {
    left: 67.5px;
}

.dropdown-hover:hover .dropdown-hover-list {
    visibility: visible;
    opacity: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
}

.swiper-button-prev::after, .swiper-button-next::after {
    font-family: "Font Awesome 6 Free";
    font-size: 20px;
}

.swiper-button-prev::after {
    content: "\f359";
}

.swiper-button-next::after {
    content: "\f35a";
}