﻿/*Epiox DataTable (based on DataTable JQuerry Plugin)*/

.dataTables_wrapper input[type=search] {
    border: .125rem solid var(--entry-border-color);
    border-radius: 1rem;
    background-color: var(--entry-inactive-color);
    padding: .5rem 1.5rem;
    margin-bottom:1.5rem;
}

    .dataTables_wrapper input[type=search]:hover {
        box-shadow: var(--third-shadow);
        color: var(--entry-active-text-color);
        background-color: var(--entry-hover-color);
        border: 0.125rem solid var(--entry-active-text-color);
    }

    .dataTables_wrapper input[type=search]:focus {
        box-shadow: var(--secondary-shadow);
        color: var(--entry-active-text-color);
        background-color: var(--entry-focus-color);
        border: 0.125rem solid var(--entry-active-text-color);
    }

.dataTables_wrapper select {
    border: 1px inset;
    border-radius: 0.25rem;
    padding: 0.25rem;
}

.dataTables_wrapper {
    width: 96%;
    margin-top:3rem;
    margin-bottom:3rem;
    margin-left:1.5%;
}

@media screen and (max-width:1200px){
    .dataTables_wrapper {
        overflow-x: auto;
    }
}


.dataTables_length{
    display:flex;
    justify-content: flex-end;
    align-items:center;
}

.dataTables_filter{
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
}

.dataTables_filter label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-end;
}

.dataTables_paginate{
    margin-top:1.5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    border-radius: 0.5rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: var(--primary-color) !important;
    background: var(--primary-light-color) !important;
    font-family: Montserrat-Semibold !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: var(--secondary-shadow) !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate{
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.dataTables_paginate span{
    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.dataTables_paginate span a{
    border:none !important;
}

.dataTables_paginate span a:not(:last-child){
    margin-right:0.5rem;
}

    .dataTables_paginate span a.paginate_button:hover {
        background: var(--neutral-dark-color) !important;
        border: none !important;
        box-shadow: var(--third-shadow);
        color: var(--black-color) !important;
    }

.td__options {
    display: flex;
    justify-content: stretch;
    align-items: center;
}

.td__options a:not(:last-child){
    margin-right:0.5rem;
}
.thCheckBox .m-checkbox,
.row-click .m-checkbox {
    display: block;
    height: 20px;
    width: 20px;
    margin: 0 auto;
}
    .thCheckBox .m-checkbox div,
    .row-click .m-checkbox div {
        margin: 0 auto;
    }

.patient_type{
    width:3rem;
}

