﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    margin-top: 6rem;
    font-family: 'Yekan Bakh', 'Estedad';
    -moz-font-feature-settings: 'ss01';
    -webkit-font-feature-settings: 'ss01';
    font-feature-settings: 'ss01';
}

.ltr {
    direction: ltr !important;
}

.rtl {
    direction: rtl !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
p, ol li, ul li {
    font-family: 'Yekan Bakh', 'Estedad' !important;
    text-align: right;
}

.form-check.rtl .form-check-label::before, .form-check .form-check-label::after {
    right: 0;
    left: unset;
}

.form-check.rtl .form-check-label {
    padding-right: 1.375rem;
    padding-left: unset;
}

.form-control {
    font-family: 'Yekan Bakh', 'Estedad';
    -moz-font-feature-settings: 'ss01';
    -webkit-font-feature-settings: 'ss01';
    font-feature-settings: 'ss01';
}

.navbar-brand {
    font-size: 1.2rem;
}

.table {
    background-color: #ECF0F3 !important;
    /*border: 0.0625rem solid #D1D9E6 !important;*/
    box-shadow: 6px 6px 12px #b8b9be, -6px -6px 12px #ffffff !important;
    border-radius: 0.55rem !important;
}

    .table tr th {
        border-top: none !important;
        white-space: nowrap !important;
    }

        .table tr th .sort {
            color: #0b5cb5;
            text-shadow: -1px -1px #e2e6e9;
        }

    .table tr:last-child th:first-child {
        border-top-right-radius: 0.55rem;
    }

    .table tr:first-child th:last-child {
        border-top-left-radius: 0.55rem;
    }

    .table tbody tr:nth-of-type(odd) {
        background-color: rgba(38, 40, 51, 0.05);
    }

    .table tbody tr:hover {
        color: #44476A;
        background-color: rgba(171, 186, 212, 0.3);
    }

    .table tbody td:last-child a:first-child {
        color: #F0B400 !important;
    }

    .table tbody td:last-child a:nth-child(2) {
        color: #0056B3 !important;
    }

    .table tbody td:last-child a:last-child {
        color: #A91E2C !important;
    }

    .table thead th {
        background: #b1bcce !important;
    }

    .table td img {
        width: 5rem;
        height: 5rem;
        border-radius: 1rem;
    }

    .table td:has(> img) {
        font-size: 12pt;
        text-align: center;
    }

.modal {
    z-index: 99999 !important;
    top: 50% !important;
    left: 50% !important;
    max-width: 20rem;
}

    .modal.modal-in {
        /*margin: auto;*/
    }

.countdown {
    color: #2784cb;
}

.pagination-container {
    direction: ltr !important;
    background-color: #ECF0F3 !important;
    padding: 1rem !important;
    border: 0.0625rem solid #fafbfe !important;
    border-radius: 0.55rem !important;
}

    .pagination-container .pagination {
        width: fit-content;
        margin: auto !important;
    }

a[href$="Create"] {
    display: flex !important;
    align-items: center !important;
    font-size: 1.35rem;
    color: #2784cb;
    position: relative;
    transition: all 0.2s ease;
    letter-spacing: 0.025em;
    border-color: #D1D9E6;
    box-shadow: 3px 3px 6px #b8b9be, -3px -3px 6px #ffffff;
    padding: 0 .8rem;
    width: fit-content;
    line-height: 1.5;
    border-radius: 0.55rem;
    user-select: none;
    background-color: #e2e6e9;
    border: 0.0625rem solid transparent;
    font-weight: 400;
    text-align: center;
}

    a[href$="Create"]:before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: '\f055';
        margin-left: .5rem;
        font-size: 1.5rem;
    }

.container.text-right {
    margin-bottom: 5rem !important;
}

.container {
    position: relative !important;
}

    .container > p {
        position: absolute !important;
        top: .3rem;
        left: 1.2rem;
    }

.return {
    width: fit-content;
    position: absolute;
    bottom: 0;
    left: 1rem;
}

    .return a {
        position: relative;
        transition: all 0.2s ease;
        letter-spacing: 0.025em;
        font-size: 1rem;
        border-color: #D1D9E6;
        box-shadow: 3px 3px 6px #b8b9be, -3px -3px 6px #ffffff;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        vertical-align: middle;
        border: 0.0625rem solid transparent;
        padding: 0.55rem 0.95rem;
        line-height: 1.5;
        border-radius: 0.55rem;
        color: #31344b;
        background-color: #D1D9E6;
    }

form[action*="Delete"],
.detailsReturn {
    display: flex !important;
    justify-content: space-between !important;
}

    form[action*="Delete"] a,
    .detailsReturn a {
        position: relative;
        transition: all 0.2s ease;
        letter-spacing: 0.025em;
        font-size: 1rem;
        border-color: #D1D9E6;
        box-shadow: 3px 3px 6px #b8b9be, -3px -3px 6px #ffffff;
        display: inline-block;
        font-weight: 400;
        color: #44476A;
        text-align: center;
        user-select: none;
        background-color: transparent;
        border: 0.0625rem solid transparent;
        padding: 0.55rem 0.95rem;
        line-height: 1.5;
        border-radius: 0.55rem;
    }

        .detailsReturn a:first-child {
            color: #ECF0F3;
            background-color: #F0B400;
        }

        form[action*="Delete"] a,
        .detailsReturn a:last-child {
            color: #31344b;
            background-color: #D1D9E6;
        }

.search {
    margin-top: 2rem;
}

button#button-addon1 {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

    button#button-addon1:after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: '\f002';
        margin-left: .5rem;
        font-size: 1rem;
        line-height: 0;
    }

.alert {
    box-shadow: 0 0.125rem 0.25rem rgba(38, 40, 51, 0.075) !important;
    font-weight: bolder;
    font-size: large;
    background: #ffffff90;
}

::placeholder {
    color: #ababae !important;
}