﻿.form-custom {
    text-align: left;
    padding-left: 5%;
    padding-right: 5%;
    vertical-align: middle;
}

.form-inline-std {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    width: 100% !important;
}

.divider {
    color: rgb(10,64,88);
}

/**********************************************************/
/*-----------------------Buttons--------------------------*/
.btn-gray-custom {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: auto;
    border: 1px solid rgb(10,64,88);
    border-radius: 50px;
    background-color: rgb(24,177,157);
    color: rgb(10,64,88);
    font-weight: 700;
    padding-left: 5rem;
    padding-right: 5rem;
}

.btn-gray-custom:hover {
    background-color: rgb(24,177,157) !important;
    color: rgb(10,64,88) !important;
}

.btn:focus, .btn:active {
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem white !important;
}

a.disabled {
    pointer-events: none;
}

.action-btn, .action-btn-blue, .action-btn-green, .action-btn-red {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.8rem;
    height: 2.8rem;
    padding: 1rem !important;
    background-color: rgb(24,177,157);
    color: white;
    border-radius: 10px 10px 10px 10px;
    border: 1px solid rgb(10,64,88);
    font-size: 1.2rem;
    text-decoration: none;
}

.action-btn:hover {
    background-color: rgb(24,177,157) !important;
    color: white !important;
}

.action-btn-blue {
    background-color: rgb(0,123,182);
}

.action-btn-blue:hover {
    background-color: rgb(0,123,182) !important;
    color: white !important;
}

.action-btn-green {
    background-color: forestgreen;
}

.action-btn-green:hover {
    background-color: forestgreen !important;
    color: white !important;
}

.action-btn-red {
    background-color: indianred;
}

.action-btn-red:hover {
    background-color: indianred !important;
    color: white !important;
}
/*-----------------------Buttons--------------------------*/
/**********************************************************/



/**********************************************************/
/*-----------------------Labels--------------------------*/
.title1, .title2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(10,64,88);
}

.form-label {
    color: rgb(10,64,88);
    font-weight: bold !important;
}

.form-label-2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(10,64,88);
    margin-left: 1rem;
    font-weight: 400 !important;
}

.form-validation {
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    border-radius: 0.2rem;
}
/*-----------------------Labels--------------------------*/
/**********************************************************/



/**********************************************************/
/*-----------------------Inputs--------------------------*/
/*select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}*/

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
    font-weight: bold !important;
}

.form-input {
    color: rgb(10,64,88) !important;
    font-weight: 500 !important;
    background-color: white !important;
    border: 1px solid rgb(10,64,88) !important;
    border-radius: 12px 12px 12px 12px;
    width: 100% !important;
    box-shadow: none !important;
    padding: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 1rem;
}

.form-search-val-input, .form-search-val-button-2, .form-search-val-button, .form-search-val-x-button, .form-search-criteria {
    font-weight: 500 !important;
    border: 0.5px solid rgb(10,64,88) !important;
    box-shadow: none !important;
    padding: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 1rem;
    outline: none;
}

.form-search-criteria {
    margin-right: 1rem;
    width: auto !important;
    background-color: rgb(24,177,157) !important;
    color: rgb(10,64,88) !important;
    border-radius: 12px 12px 12px 12px !important;
    overflow: hidden;
    padding: 5px;
}

.form-search-criteria option {
    padding: 5px;
}

/*option:hover {
    background-color: rgb(10,64,88) !important;
    color: rgb(24,177,157) !important;
}*/

option:checked {
    background-color: rgb(10,64,88) !important;
    color: rgb(24,177,157) !important;
}

.form-search-val {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.form-search-val-input {
    color: rgb(10,64,88) !important;
    background-color: white !important;
    border-radius: 12px 0px 0px 12px;
}

.form-search-val-button {
    color: rgb(10,64,88) !important;
    background-color: rgb(24,177,157) !important;
    border-radius: 0px 12px 12px 0px;
    text-align: center;
}

.form-search-val-button-2 {
    background-color: rgb(24,177,157) !important;
    color: rgb(10,64,88) !important;
    border-radius: 0px;
    text-align: center;
}


.form-search-val-x-button {
    background-color: rgb(255,68,70) !important;
    color: rgb(10,64,88) !important;
    border-radius: 0px 12px 12px 0px;
    text-align: center;
}
/*-----------------------Inputs--------------------------*/
/**********************************************************/



/**********************************************************/
/*-----------------------Tables--------------------------*/
.table-div {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    max-height: 98vh;
    max-width: 98vw;
    overflow: visible;
    z-index: 1;
}

.std-table-row {
    font-size: 1.2rem;
}

tr {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(10,64,88);
}

th {
    background-color: white;
}

.add-container, .search-container {
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: white;
    padding: 0.5rem;
    padding-left: 0;
    margin-right:15vw;
    height: auto;
    flex-wrap: wrap;
}

.title-container p {
    color: white;
    flex-wrap: wrap;
}

table-1000 {
    width: 100%;
    min-width: 1000px;
    table-layout: auto;
}

table tr td:first-child, table tr th:first-child {
    position: sticky;
    left: -1rem;
    z-index: 2;
}

tbody tr:nth-child(even) {
    background-color: white !important;
}

tbody tr:nth-child(odd) {
    background-color: white !important;
}

tr:nth-child(even) td:first-child {
    background-color: white;
}

tr:nth-child(odd) td:first-child {
    background-color: white;
}

thead {
    position: sticky;
    top: 0;
    background-color: white !important;
    color: rgb(10,64,88);
    font-size: 1.2rem;
    z-index: 3;
}

tbody {
    font-size: 1rem;
}

th, td {
    border-bottom: 1px solid rgb(10,64,88);
    padding: 1rem;
    word-break: break-word !important;
    text-align: center;
}

tr:hover td {
    color: rgb(10,64,88) !important;
    background-color: white !important;
    cursor: pointer !important;
}

.table-btn {
    outline: none;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: rgb(10,64,88);
}

.table-btn:hover {
    color: rgb(10,64,88);
}

.pagination {
    display: flex;
    justify-content: left;
    width: auto;
    margin: 2rem;
    background-color: white;
    max-height: 5vh;
    align-items: center;
}

.pagination div {
    padding: 0.5rem;
    border: 1px solid black;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(24,177,157);
    color: rgb(10,64,88) !important;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
    margin: 0 5px;
}

.pagination a {
    color: rgb(10,64,88) !important;
}

.pagination > .disabled {
    background-color: rgb(180,180,180);
}

.pagination span {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(10,64,88) !important;
    /*font-weight: bold !important;*/
    font-size: 1rem;
}
/*-----------------------Tables--------------------------*/
/**********************************************************/

@media (max-width: 600px) {
    .form-custom {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .form-search-val, .form-search-container {
        width: 100% !important;
        margin: 0;
        /*display: inline;*/
    }

    .form-search-criteria {
        margin: 0;
        margin-bottom: 10px;
        width: 100% !important;
        padding-top:5px;
        padding-bottom:5px;
    }

    .form-search-val-input, .form-search-val-button-2, .form-search-val-button, .form-search-val-x-button {
        margin: 0;
        font-size: 14px;
    }

    .form-input {
        font-size: 14px;
    }

    .btn-gray-custom {
        font-size: 14px;
        border-radius: 12px 12px 12px 12px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .search-btn {
        width: 100%;
        border-radius: 12px 12px 12px 12px;
    }

    .form-validation {
        border-radius: 2px;
    }

    .btn:focus, .btn:active {
        box-shadow: 0 0 0 2px rgb(30,30,32) !important;
    }

/*    .table-div {
        overflow: unset;
    }*/

    .form-label {
        font-size: 14px;
        font-weight:300;
    }

    .pagination span {
        font-size: 12px;
    }

    .title1 {
        font-size: 1.2rem;
    }

    .title2 {
        font-size: 1.1rem;
    }

    .std-table-row {
        font-size: 14px;
    }

    thead {
        font-size: 1px;
    }

    tbody {
        font-size: 14px;
    }

/*    table {
        min-width: 800px;
    }*/

    input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill::first-line {
        font-size: 14px;
        font-weight: 600;
    }

    .action-btn, .action-btn-blue, .action-btn-green, .action-btn-red {
        width: 2.5rem !important;
        height: 2.5rem !important;
        font-size: 1rem;
    }

    .table-div {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width:600px) and (max-width:768px) {
    .table-div {
        margin-left: 0;
        margin-right: 0;
    }

    .form-label {
        font-size: 0.8rem;
    }

    .title1 {
        font-size: 1.2rem;
    }

    .title2 {
        font-size: 1rem;
    }

    .form-custom {
        min-width: 25rem;
    }

    .action-btn, .action-btn-blue, .action-btn-green, .action-btn-red {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .btn-gray-custom {
        font-size: 1rem;
    }

    .form-label {
        font-size: 1rem;
    }

    .title1 {
        font-size: 1.4rem;
    }

    .title2 {
        font-size: 1.1rem;
    }

    .form-custom {
        min-width: 30rem;
    }

    input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill::first-line {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .action-btn, .action-btn-blue, .action-btn-green, .action-btn-red {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

@media (min-width:992px) {
    .btn-gray-custom {
        font-size: 1.2rem;
    }

    .form-label {
        font-size: 1.2rem;
    }

    .title1 {
        font-size: 1.8rem;
    }

    .title2 {
        font-size: 1.2rem;
    }

    .form-custom, .form-custom {
        min-width: 40rem;
    }

    input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill::first-line {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .action-btn, .action-btn-blue, .action-btn-green, .action-btn-red {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.2rem;
    }
}