﻿@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;700&display=swap');

body {
    font-family: 'Comfortaa', sans-serif;
}

header {
    padding: 40px;
    border-bottom: solid 1px #0971ba;
}

    header img {
        margin: 0 auto;
        display: block;
        width: 240px;
    }

form.login {
    width: 240px;
    display: flex;
    flex-direction: column;
    margin: 40px auto;
}

form.edit-user-form {
    width: 720px;
    display: flex;
    flex-direction: column;
    margin: 40px auto;
}

form.edit-user-form input {
    text-align: left;
}

form input,
form select {
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    border: solid 1px #cdcdcd;
    text-align: center;
    font-family: 'Comfortaa', sans-serif;
}

form fieldset {
    margin: 10px 0;
    padding: 0;
    border: none;
    display: flex;
    width: 100%;
    align-items: center;
}

form fieldset input {
    flex: 100%;
}

form fieldset > span {
    flex: 300px;
    display: block;
}

select option {
    padding: 10px;
}

form input::placeholder {
    font-family: 'Comfortaa', sans-serif;
    color: #999999;
    letter-spacing: 1px;
}

form input[type=submit] {
    border: none;
    color: #ffffff;
    background-color: #0971ba;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.table-data {
    margin: 0 20px;
    padding-bottom: 20px;
    overflow-x: scroll;
}

table {
    font-size: 14px;
    margin: 0 auto;
}

    table th,
    table td {
        text-align: center;
        padding: 10px;
        margin: 0;
        max-width: 120px;
    }

    table th {
        border-bottom: solid 1px #0971ba;
    }

        table th .filter input,
        table th .filter select {
            width: 100px;
        }

    table td {
        border-bottom: solid 1px #cdcdcd;
    }

.newuserlink {
    text-align: center;
    margin-top: 10px;
}

.oldbutton {
    font: bold 11px Arial;
    text-decoration: none;
    background-color: #EEEEEE;
    color: #333333;
    padding: 2px 6px 2px 6px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
}

.centred {
    text-align: center;
    margin-top: 40px
}

.button {
    text-align: center;
    background: #ffffff none repeat scroll 0 0;
    border: 1px solid #0971ba;
    color: #0971ba;
    outline: medium none;
    padding: 15px;
    text-decoration: none;
}

    .button:hover {
        Background-color: #0971ba;
        Color: #ffffff;
    }

.pagination-actions {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
    .pagination-actions > div {
        padding: 0 20px;
        border-right: solid 1px #cdcdcd;
    }
    
        .pagination-actions > div:last-of-type {
            padding-right: 0;
            border-right: none;
        }

    .pagination-actions .pagination .next, .pagination-actions .pagination .previous {
        color: #0971ba;
        font-weight: bold;
        cursor: pointer;
        display: inline-block;
        padding: 5px;
    }

    .pagination-actions .actions {
        margin-left: 10px;
    }

        .pagination-actions .actions .button {
            padding: 10px;
            font-size: 14px;
        }


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #FFFFFF;
}

li {
    float: left;
}

    li a {
        display: block;
        color: #0971ba ;
        text-align: center;
        padding: 16px;
        text-decoration: none;
    }

        li a:hover {
            background-color: #0971ba;
            color: #FFFFFF;
        }


h1{
    text-align:center;
    margin-top:70px;
    margin-bottom: 20px;
}

    h1:first-of-type {
        margin-top: 20px;
    }

.error{
    color:#ff0000;
}