/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/plugins/renewable-rejection-database/public/fonts/Poppins-Regular.ttf') format('truetype');
}

.rejection-db-form-container input,
.rejection-db-form-container input[placeholder],
.rejection-db-form-container textarea,
.rejection-db-form-container select,
.rejection-db-form-container label {
    font-family: Poppins!important;
    font-size: 12px!important;
    font-weight: 500!important;
    color: #333!important;
    margin-bottom: 15px;
}

.rejection-db-form-container input,
.rejection-db-form-container input[type="text"],
.rejection-db-form-container input[type="email"],
.rejection-db-form-container input[type="number"],
.rejection-db-form-container textarea,
.rejection-db-form-container select
{
    border-color: rgba(33,18,9,0.25);
    border-width: 0px 0px 1px 0px;
    border-radius: 0px 0px 0px 0px;
    padding: 8px 16px!important;
}

.rejection-db-form-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s ease-in-out;
}

.rejection-db-form-container input,
.rejection-db-form-container textarea {
    width: 100%;
}

.rejection-db-form-container label
{
    display: flex;
    align-items: center;
    padding-left: 16px;
}

.rejection-db-form-container input.date {
    width: 50%;
}

.rejection-db-form-container input[type='number'] {
    width: 30%;
    margin-left: 10px;
}

.rejection-db-form-container .numbers-container {
    display: flex;
    justify-content: space-between;
}

.rejection-db-form-container .three-column-container {
    display: flex;
    justify-content: space-between;
}

#rejection_data,
#rejection_data_length,
#rejection_data_filter,
#rejection_data_info,
#rejection_data_paginate {
    font-family: Poppins!important;
    font-size: 12px!important;
}

#rejection_data_paginate .paginate_button {
    border: none;
    border-radius: 0;
}

#rejection_data_paginate .paginate_button.current {
    background: red;
    color: #fff!important;
}

#rejection_data_paginate .paginate_button:hover {
    background: #545454;
    color: #fff!important;
}

#table-chart-toggle {
    display: flex;
    width: 100%;
}

#table-chart-toggle > a {
    width: 50%;
    text-align: center;
    background: #eee;
    text-decoration: none;
    color: #545454;
    padding: 5px;
    font-weight: 600;
}

#table-chart-toggle > a:hover {
    background: #bbb;
}

#rejection-chart {
    display: flex;
    width: 100%;
}

#rejection-chart > div {
    width: 50%;
    padding: 5% 10%;
}

#rejection-submit {
    background-color: #BA1D21;
    color: #ffffff;
    font-family: "Poppins", Sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0px 0px 0px 0px;
    transition-duration: .3s;
    transition-property: transform;
    transition-timing-function: ease-out;
    border: none!important;
    padding: 12px 24px;
    cursor: pointer;
}

#rejection-submit:hover {
    transform: translateY(-8px);
    transition-duration: .3s;
    transition-property: transform;
    transition-timing-function: ease-out;
}

.rejection-db-form-container form #working-overlay {
    background: rgba(255,255,255, 0.5);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    justify-content: center;
    align-items: center;
}

.rejection-db-form-container form #working-overlay img {
    height: 100px;
    width: 100px;
}

.rejection-db-form-container .rejection-form-validation-error {
    border: 3px solid #BA1D21;
    margin: 20px;
    text-align: center;
    color: #BA1D21;
    padding: 20px;
    transition: 0.3s ease-in-out;
}

.rejection-db-form-container .rejection-form-thank-you {
    background-color: #55595c;
    text-align: center;
    font-weight: 700;
    color: #fff;
    padding: 20px;
    margin: 20px;
}

#table-chart-toggle .toggle-selected {
    background: #A41A1A;
    color: #fff;
}

#rejection-table .dataTables_wrapper .dataTables_length > label,
#rejection-table .rejection-custom-filter {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

#rejection-table .rejection-custom-filter {
    padding-left: 25px;
}

#rejection-table .dataTables_wrapper .dataTables_length select,
#rejection-table .rejection-custom-filter select,
#rejection_data_filter input {
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem!important;
    line-height: 1.5;
    margin: 0;
    padding: 5px;
    margin-left: 5px;
}

#rejection_data_filter input {
    margin-bottom: 15px;
}

#rejection-table .rejection-custom-filter
{
    font-family: Poppins!important;
    font-size: 12px!important;
}

@media (max-width: 1023px) {

    #rejection-chart {
        flex-flow: column;
    }

    #rejection-chart > div {
        width: 100%;
    }

    #rejection-table .dataTables_wrapper .dataTables_length > label, 
    #rejection-table .rejection-custom-filter {
        width: 100%;
        padding-left: 0;
        margin-bottom: 15px;
    }

}