/* General */
html, body {
    background-color: #F3F4F7;
    color: #242424;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    word-break: break-word;
}

/* Colors */
.blue {
    color: #0070C1;
}
.bg-blue {
    background-color: #0070C1;
}
.orange {
    color: #FF5F40;
}
.bg-orange {
    background-color: #FF5F40;
}

/* Fonts */
a {
    color: #FFF;
    outline: none;
    text-decoration: none;
}
h1 {
    color: #0070C1;
    font-family: 'Source Sans pro', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 2.4rem;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

h2 {
    color: #0070C1;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.7rem;
    margin: 0 0 0.7rem 0;
    text-transform: uppercase;
}
h3 {
    color: #0070C1;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    line-height: 1.5rem;
    margin: 0;
    text-transform: uppercase;
}
p {
    color: #282828;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.418rem;
    margin: 0;
}

/* Form */
input {
    border-radius: 3px;
    border: 1px solid #CCC;
    color: #242424;
    font-size: 15px;
    margin: 2px 0 0 0;
    outline: none;
    padding: 8px 10px;
    width: calc(100% - 20px);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=checkbox] {
    margin: 2px 5px 0 0;
    width: auto;
}


::placeholder {
    color: #888;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #888;
}

::-ms-input-placeholder {
    color: #888;
}

.label {
    margin: 15px 0 -2px 0;
    font-size: 13px;
    text-transform: uppercase;
    color: #888;
}

button:focus {
    outline:none;
}

.btn-blue,
.btn-orange {
    border-radius: 3px;
    border: none;
    color: #FFF;
    cursor: pointer;
    font-size: 15px;
    margin: 20px 0 0 0;
    padding: 10px 20px;
    text-align: center;
    transition: 0.2s;
    width: 100%;
}

.btn-orange {
    background-color: #FF5F40;
}

.btn-orange:hover {
    background-color: #FF6D51;
    transition: 0.2s;
}

.btn-blue {
    background-color: #0070C1;;
}

.btn-blue:hover{
    background-color: #005C9E;
    transition: 0.2s;
}

/* Navigation */
nav {
    background: #0070c1;;
    display: flex;
    position: relative;
    width: 100%;
    z-index: 3;
}

nav .item {
    padding: 20px 0;
    text-align: right;
    width: 100%;
}

nav .logo .image {
    background-image: url(/static/images/logo-inverted.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 60px;
    left: 0;
    margin: 12px 50px 9px 50px;
    top: 0;
    width: 84px;
}

nav .menu-items {
    display: flex;
    width: 100%;
}

nav .menu-item {
    border-bottom: 1px solid transparent;
    color: #FFF;
    cursor: pointer;
    margin: auto 25px auto 0;
    min-width: max-content;
}

nav .menu-item:hover {
    border-bottom: 1px solid #FFF;
}

nav .logout {
    color: #FFF;
    display: flex;
    margin: auto 50px;
    min-width: max-content;
    min-width: -moz-max-content;
    min-width: -webkit-max-content;
    position: relative;
    right: 0;
    text-align: right;
}

nav .logout .username {
    border-bottom: 1px solid transparent;
    color: #FFF;
    margin: auto 0;
    padding: 4px 0 0 0;
}

nav .logout:hover .username {
    border-bottom: 1px solid #FFF;
}

nav .logout .icon {
    background-image: url(/static/images/account.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 28px;
    margin: 0 0 0 10px;
    width: 28px;
}

nav .mobile-menu {
    display: none;
}

@media screen and (max-width: 900px) {

    h1 {
        font-size: 26px;
        letter-spacing: 0;
        line-height: 1.218em;
        font-weight: 600;
        margin: 0 0 9px 0;
    }

    h3 {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    nav .logo .image {
        height: 32px;
        margin: 12px 18px 9px 18px;
        width: 60px;
    }

    nav .logout {
        justify-content: flex-end;
        margin: auto 0 auto 18px;
        width: 100%;
    }

    nav .menu-items {
        display: none;
    }

    nav .logout .username {
        border-bottom: 0;
        font-size: 14px;
        padding: 0 0 0 0;
    }

    nav .logout .icon {
        height: 22px;
        margin: 0 0 0 8px;
        width: 22px;
    }

    nav .mobile-menu {
        background-image: url(/static/images/menu.svg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        display: block;
        height: 38px;
        margin: auto 18px;
        width: 38px;
    }

}
