﻿* {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    box-sizing: border-box;
}

body {
    direction: rtl;
    margin: 0;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


/*-----LAYOUT------*/
.top-layout {
    height: 70px;
    width: calc(100% - 20px);
    background-color: #143F64;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    margin: 10px;
}

/*-----LOGIN-----*/
.main-container  {
    height: 640px;;
    background-image: url(background.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 800px;
    position: relative;
}

    .login-container form {
        /*height: 400px;*/
        width: 300px;
        margin: auto;
        padding: 20px 24px;
        display: flex;
        flex-direction: column;
    }

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.login-container form img {
    margin: 0 0 40px 0;
}

.login-column {
    display: flex;
    flex-direction: column;
    margin: 4px;
}

.login-row {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin: 8px;
    width: 100%;
}


input[type="text"],
input[type="password"],
input[type="date"] {
    height: 40px;
    width: 250px;
    border-radius: 5px;
    background: white;
    border: solid 1px #143F64;
    font-size: 16px;
}

input[type="checkbox"] {
    height: 20px;
    width: 20px;
}

.login-row#Password {
    flex-direction: row;
}

input[type="submit"] {
    height: 44px;
    width: 250px;
    border-radius: 30px;
    background: #143F64;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.error {
    color: red;
    width: 100%;
    text-align: center;
    background-color: white;
}

/*-----MY-COMPANIES-----*/
.company-container {
    max-width: 400px;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    grid-row-gap: 30px;
}


    .company-container a {
        height: 40px;
        width: calc(100% - 20px);
        border-radius: 30px;
        background: #3EC3DA;
        color: white;
        border: none;
        font-size: 20px;
        text-decoration: none;
        text-align: center;
        line-height: 38px;
        margin: 10px;
        cursor: pointer;
    }

.user-details {
    border-collapse: collapse;
}

.user-details tbody tr td {
    border-bottom: 1px solid #3EC3DA;
    padding-top: 10px;
}

.user-details tbody tr td:last-child {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    color: #143F64;
}

.company-details thead th {
    color: #3EC3DA;
    padding: 6px 0;
    font-weight: normal;
    font-size: 18px;
}

.company-details td {
    padding: 4px 0;
    color: #143F64;
    text-align: center;
}

/*-----SUCCESS-ERROR -----*/
.result-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 400px;
    height: calc(100vh - 100px);
    margin: 0 auto;
}

    .result-container img {
        margin: 80px 0 0 0;
    }

    .result-container h2 {
        text-align: center;
        font-size: 28px;
        color: #143F64
    }

    .result-container a {
        height: 40px;
        width: calc(100% - 20px);
        background-color: white;
        border: 2px solid #143F64;
        border-radius: 30px;
        font-size: 20px;
        text-align: center;
        text-decoration: none;
        color: #143F64;
        line-height: 38px;
        margin: 10px;
        cursor: pointer;
    }