/* CONTRACTS CSS */
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
html, body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

a {
    color: #4B888C;
}

.wrapp {
    font-weight: 400;
    color: #444;
    box-sizing: border-box;
    padding: 5rem;
    background: linear-gradient(to bottom right, #97e0c7, #4B888C);
    display: grid;
    place-items: normal;
    grid-template-columns: 8rem 1fr;
    min-height: 100vh;
}

.login .wrapp {
    display: flex;
    align-items: center;
    justify-content: center;
}

img.ofir_logo {
    margin: 0 auto;
    display: block;
    margin-bottom: 40px;
}

form.login_form label {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
}

form.login_form input,
form.login_form select {
    min-height: 40px;
    font-size: 20px;
    max-width: 100%;
}

form.login_form input[type="submit"],
form.logout input {
    padding: 10px 30px;
    background-color: #76BDA4;
    border: none;
    color: #fff;
}

form.login_form input[type="submit"]:hover,
form.logout input:hover {
    cursor: pointer;
}

form.login_form.contract_form {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    overflow: hidden;
}

form.contract_form select,
form.contract_form input {
    min-height: 30px;
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 20px;
}

.hours_wrapp {
    display: flex;
    margin-bottom: 25px;
}

.hours_wrapp > button {
    padding: 10px 30px;
    background-color: #76BDA4;
    border: none;
    color: #fff;
    font-size: 20px;
    margin-left: 10px;
}

#orderedProducts {
    margin-bottom: 20px;
}

nav.main-menu {
    background-color: #4b888c;
    color: #fff;
    width: 100%;
    box-shadow: 0 0 5rem rgba(0,0,0,.4);
    border-radius: 2rem 0 0 2rem;
    z-index: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 2rem 0;
}

.content {
    width: auto;
    background-color: #fff;
    box-shadow: 0 0 5rem rgba(0,0,0,.4);
    border-radius: 2rem;
    z-index: 5;
    padding: 4rem 6rem;
}

nav.main-menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
}

nav.main-menu li {
    margin-bottom: 30px;
}

nav.main-menu li a {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

nav.main-menu img {
    max-width: 50px;
    margin: 0 auto;
    margin-bottom: 5px;
}

.recent {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 0 3rem rgba(0,0,0,.3);
    border-radius: 0.8rem;
    align-items: center;
    min-width: 40%;
    flex: 40%;
}

.recent > h2 {
    font-size: 2rem;
    letter-spacing: .2rem;
    font-weight: 400;
    color: #4B888C;
    margin: 0;
}

.recent table {
    font-size: 16px;
    text-align: left;
    border: none;
    width: 100%;
    border-spacing: 0;
    margin-top: 20px;
}

.recent tr:nth-of-type(odd) {
    background-color: #D6EBEC;
}

.recent td,
.list td,
.list th {
    padding: 10px;
}

.recent table tr th {
    padding: 10px;
}

.recent table td {
    font-size: 16px;
}

.list tr > td:last-child {
    padding-right: 0;
}

.dahsboard_info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    row-gap: 50px;
}

.welcome {
    text-align: center;
    margin: 0;
    margin-bottom: 0px;
}

.warehouse {
    margin-top: 0;
    margin-bottom: 40px;
    text-align: center;
}

.warehose_dropdown {
    display: flex;
    height: 25px;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

table.list {
    width: 500px;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    flex-direction: column;
    font-size: 18px;
}

table.list thead {
    background-color: #4B888C;
    color: #fff;
}

.list tr {
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.list tr:nth-of-type(even) {
    background-color: #D6EBEC;
}

.add_new {
    margin-top: 40px;
    display: block;
}

p.error,
p.success {
    background-color: red;
    color: #fff;
    padding: 10px;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
    font-size: 20px;
    margin-bottom: 20px;
}

p.success {
    background-color: green;
}

p.success a {
    color: #fff;
    display: block;
}

.form_add {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.form_add textarea {
    margin-bottom: 20px;
}

table.list.clients_table {
    width: auto;
    display: table;
}

table.list.clients_table tr {
    display: table-row;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pagination a {
    font-size: 20px;
    display: inline-block;
    padding: 7px;
    border: 1px solid #4B888C;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 5px;
}

.pagination a.active,
.pagination a:hover {
    background-color: #4B888C;
    color: #fff;
}

.check_wrapp {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.check_b {
    display: flex;
    align-items: center;
}

form.login_form .check_b input {
    min-height: 20px;
    margin-right: 5px;
}

form.login_form .check_b label {
    margin-bottom: 0;
}

/*********************** 
	MOBILE STYLE 
***********************/

@media (max-width: 991.98px) {

    form.login_form input, form.login_form select {
        max-width: -webkit-fill-available;
        width: 100%;
    }

    form.login_form label {
        font-size: 16px;
    }

    form.login_form .check_b input {
        min-height: 20px;
        margin-right: 5px;
        width: 20px;
        margin-right: 10px;
    }

}

/*********************** 
	MOBILE STYLE 
***********************/

@media (max-width: 767.98px) {

    .content {
        padding: 2rem 2rem;
    }

    .wrapp {
        padding: 1rem;
        display: flex;
        flex-direction: column-reverse;
    }

    .dashboard_wrapp .welcome {
        margin-bottom: 0px;
    }

    .dashboard_wrapp .recent {
        box-shadow: none;
        padding: 2rem 0;
        display: block;
        overflow: auto;
    }

    .dashboard_wrapp .recent h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    nav.main-menu {
        padding: 1rem 0;
    }

    .dashboard_wrapp .hours_wrapp {
        flex-direction: column;
        align-items: center;
    }

    .form_add {
        max-width: 100%;
    }

    .mobile_recent {
        overflow: auto;
        padding: 1rem 0;
    }

    .recent.mobile_recent table {
        display: block;
    }

    .hours_wrapp {
        flex-direction: column;
        align-items: center;
    }

}