/*
 v0.0.1-test
Poppins Font included
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {

    --base1: #000;
    --base2: #565654;
    --base3: #90908f;
    --base4: #bababa;
    --base5: #d6d6d6;
    --base6: #ececec;
    --base7: #f6f6f6;


    --core1: #010143;
    --core2: #1544c1;
    --core3: #66effa;
    --core4: #7effd4;
    --core5: #ffb5ff;
    --core6: #ff8b78;
    --core7: #fff489;

    --tint-core1-1: #443e89;
    --tint-core1-2: #6a68c0;
    --tint-core1-3: #8388db;
    --tint-core1-4: #8388db;
    --tint-core1-5: #a6b5f8;
    --tint-core1-6: #cad1ff;


    --tint-core2-1: #287bdf;
    --tint-core2-2: #4f9ae8;
    --tint-core2-3: #70c1fd;
    --tint-core2-4: #a9dffe;
    --tint-core2-5: #b6e0ff;
    --tint-core2-6: #e5f4ff;


    --tint-core3-1: #8cebfe;
    --tint-core3-2: #a2effe;
    --tint-core3-3: #b2f1fe;
    --tint-core3-4: #caf6ff;
    --tint-core3-5: #d3f7ff;
    --tint-core3-6: #ebfbff;


    --tint-core4-1: #8affd7;
    --tint-core4-2: #a1ffdf;
    --tint-core4-3: #b2ffe5;
    --tint-core4-4: #cbffed;
    --tint-core4-5: #d6fff1;
    --tint-core4-6: #edfff9;


    --tint-core5-1: #ffc3fe;
    --tint-core5-2: #ffcdfe;
    --tint-core5-3: #ffd6fd;
    --tint-core5-4: #ffe3fd;
    --tint-core5-5: #ffeafc;
    --tint-core5-6: #fff5fd;

    --tint-core6-1: #ffa698;
    --tint-core6-2: #ffbab7;
    --tint-core6-3: #ffc8c8;
    --tint-core6-4: #ffdbe1;
    --tint-core6-5: #ffe3e9;
    --tint-core6-6: #fff2f5;

    --tint-core7-1: #fff6a1;
    --tint-core7-2: #fffbc7;
    --tint-core7-3: #fffac0;
    --tint-core7-4: #fffdd3;
    --tint-core7-5: #fffedf;
    --tint-core7-6: #fffef1;


}

/* apply a natural box layout model to all elements, but allowing components to change */
html {
    box-sizing: border-box;
    background-color: var(--base7);
}

*,
*:before,
*:after {
    box-sizing: inherit;
}


body {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-size: 14px;
    background-color: var(--base7);
    color: var(--base1);
    padding: 0px;
    margin:0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
    color: var(--core1);
    font-weight: bold;
}

h1,
.heading-1 {
    font-size: 2rem;
}

h2,
.heading-2 {
    font-size: 1.6rem;
}

h3,
.heading-3 {
    font-size: 1.2rem;
}

h4,
.heading-4 {
    font-size: 1rem;
}

a {
    font-size: 1rem;
    color: var(--core2);
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    line-height: 21px;
}

label {
    font-weight: bold;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    display: inline-block;
    line-height: 1.5rem;
    background: var(--core1);
    color: white;
    border: 1px solid var(--core1);
    margin: 0 10px 5px 0;
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 400;
    transition: background-color 0.25s, color 0.25s;
    cursor: pointer;
    font-weight: bold;
}

button[type="submit"]{
    background-color: darkgreen ;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: var(--core2);

}

button[disabled],
input[type="button"][disabled],
input[type="reset"][disabled],
input[type="submit"][disabled],
button[disabled]:hover,
input[type="button"][disabled]:hover,
input[type="reset"][disabled]:hover,
input[type="submit"][disabled]:hover,
button[disabled]:focus,
input[type="button"][disabled]:focus,
input[type="reset"][disabled]:focus,
input[type="submit"][disabled]:focus {
    cursor: default;
    background: #f0f0f1;
    color: #676463;
    border-color: #d4d2d2;
    opacity: 1;
    font-weight: 400;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    background-color: #fff;
    border: 1px solid #676463;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555555;
    border-radius: 4px;
    vertical-align: middle;
}

textarea[disabled],
input[type="text"][disabled],
input[type="password"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="date"][disabled],
input[type="month"][disabled],
input[type="time"][disabled],
input[type="week"][disabled],
input[type="number"][disabled],
input[type="email"][disabled],
input[type="url"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="color"][disabled],
textarea[disabled],
.uneditable-input[disabled] {
    cursor: not-allowed;
    background-color: #eee;
}


textarea {
    min-height: 20px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

table {
    width: 100%;
}

table th {
    color: #fff;
    background-color: var(--core1);
    text-align: left;
    padding: 6px;
    padding-left: 10px
}

table td {
    text-align: left;
    padding: 6px;
    padding-left: 10px
}

table tr:nth-child(odd) {
    background-color: var(--tint-core1-6);
}

table caption {
    text-align: left;
    padding: 10px;
    border: 1px dotted #ccc;
    border-left: 5px solid #ccc;
    margin: 2px;

}






/* Generic */
.block {
    padding: .7rem;
}

.message {
    display: inline-block;
    border: 1px solid #eed3d7;
    border-radius: 4px;
    padding: 4px;
    margin-bottom: 4px;
}

.error {
    border: 1px solid #f4cece;
    background: #a51e1e;
    color:#fff;
    font-weight: bold;
    padding:5px 15px;
    margin-bottom: 5px;
    border-radius: 4px;
}

/* Colour Pallete */
.primary-1 {
    background-color: #002158;
    color: #ffffff;
    padding:5px 15px;
        margin-bottom: 5px;
    border-radius: 4px;
}

.primary-2 {
    background-color: #0b55a8;
    color: #ffffff;
    padding:5px 15px;
        margin-bottom: 5px;
    border-radius: 4px;
}

.primary-3 {
    background-color: #d8e7f6;
    padding:5px 15px;
        margin-bottom: 5px;
    border-radius: 4px;
}

.primary-4 {
    background-color: #ffc23d;
    padding:5px 15px;
        margin-bottom: 5px;
    border-radius: 4px;
}

/* Form */

form .fitem {
    margin-bottom: 10px;
}

form .fitem>* {
    vertical-align: top;
}


/* Additions (Not Osep Official) */

.title-1 {
    font-size: 1rem;
    ;
}

fieldset {
    display: inline-block;
    border: 1px solid #ccc;
    padding: .5rem;
    margin: .5rem;
}

fieldset legend {
    display: inline;
    width: auto;
    padding: 0 .3rem;
    border: 1px solid #ccc;
}

@media (min-width: 1200px) {
    form .fitem>* {
        display: inline-block;
    }

    form .fitem>.fitemtitle {
        width: 13%;
        text-align: right;
        margin-right: 1%;
    }

    form .fitem>.felement {
        width: 85%;
    }
}