/* MAIN FORMATTING */

html {
    height: 100%;
}

body {
    background-color: #ffffff;
    /* background: linear-gradient(315deg, #ffffff, #707880); */
    background: rgb(255, 255, 255);
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(152, 175, 209, 0.5) 100%);
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wrapper {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}


/* -MAIN FORMATTING- */


/* TEXT FORMATTING */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: 'Roboto', sans-serif;
    color: rgb(71, 71, 71);
    line-height: 24px;
}

h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 80px;
    padding: 30px;
    text-align: center;
    color: rgb(71, 71, 71);
}

h2 {
    font-weight: 500;
    font-size: 32px;
    padding: 20px 0;
    text-align: center;
}

h3 {
    font-weight: 500;
    font-size: 16px;
}

p {
    font-weight: 400;
    font-size: 16px;
}


/* -TEXT FORMATTING- */


/* TEXT HOVER VFX */

.txtHover {
    display: inline-block;
    position: relative;
}

.txtHover::before {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.txtHover:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* HORIZONTAL LINE */

hr {
    border-top: 1px solid rgb(0, 0, 0);
    width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* -HORIZONTAL LINE- */


/* HEADER */

header {
    background-color: #2c83ca;
    /* background: linear-gradient(315deg, #489bdf, #2c83ca); */
    position: absolute;
    right: 0;
    width: 100%;
    /* justify-content: right;
    align-items: center; */
    padding-top: 12px;
    padding-bottom: 3px;
    z-index: 10;
    border-bottom: 1px solid rgb(0, 0, 0);
    box-shadow: 0px 0px 22px 2px rgba(70, 70, 70, 0.5);
}

header .navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0;
    padding-right: 4%;
    padding-top: 0px;
}

header .navigation li {
    list-style: none;
    margin: 0 15px;
}

header .navigation li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'Varela Round', sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

nav {
    width: 100%;
    height: 50px;
    align-items: center;
}

nav .wrapper {
    width: 100%;
    height: 100%;
    justify-content: left;
    align-items: center;
}

section {
    width: 100%;
}


/* -HEADER- */


/* INDEX */

.index-intro p {
    text-align: center;
}

.index-categories-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index-categories-list div {
    width: 24%;
    height: 200px;
    background-color: #2c83ca;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* -INDEX- */


/* SIGNUP FORMS */

.signup-form-form {
    display: flex;
    justify-content: center;
}

.signup-form p {
    text-align: center;
    padding-bottom: 40px;
    color: #2c83ca;
}

.signup-form form {
    width: 40%;
}

.signup-form form select {
    width: 200px;
    background-color: white;
    border: 1px solid #cccccc;
    margin-bottom: 20px;
    border-radius: 3px;
    transition: all 0.3s ease 0s;
}

input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.signup-form form input[type="text"],
input[type="date"],
input[type="password"],
input[type="email"],
input[type="number"] {
    width: 200px;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    -moz-appearance: textfield;
    transition: all 0.3s ease 0s;
}

.signup-form form input[type="text"]:hover,
input[type="date"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
select:hover {
    outline: none;
    box-shadow: 0px 3px 10px 2px rgba(70, 70, 70, 0.1);
    transition: all 0.3s ease 0s;
}

.signup-form form input[type="text"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    box-shadow: 0px 0px 0px 2px #2c83ca;
    transition: all 0.3s ease 0s;
}

input[type="text"],
input[type="date"],
input[type="password"],
input[type="email"],
input[type="number"] {
    width: 200px;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    -moz-appearance: textfield;
    transition: all 0.3s ease 0s;
}

select {
    width: 225px;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    text-align: center;
    font-weight: 500;
    -moz-appearance: textfield;
    transition: all 0.3s ease 0s;
}

input[type="text"]:hover,
input[type="date"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
select:hover {
    outline: none;
    box-shadow: 0px 3px 10px 2px rgba(70, 70, 70, 0.1);
    transition: all 0.3s ease 0s;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    box-shadow: 0px 0px 0px 2px #2c83ca;
    transition: all 0.3s ease 0s;
}


/* -SIGNUP FORMS- */


/* $ sign infront of texts that require money */

.dollar {
    display: inline-block;
    position: relative;
}

.dollar input {
    padding-left: 15px;
}

.dollar:before {
    font-family: 'Roboto', sans-serif;
    position: absolute;
    content: "$";
    left: 3px;
    top: 11px;
    color: rgb(0, 0, 0);
}


/* -$ SIGN END- */


/* viewEmployee.php search bar */

.form-control {
    width: fit-content;
    height: fit-content;
    position: relative;
}

.input-search {
    height: 30px;
    width: 210px;
    border-style: none;
    padding: 10px;
    font-size: 18px;
    letter-spacing: 2px;
    outline: none;
    border-radius: 0px;
    transition: all .5s ease-in-out;
    background-color: rgba(255, 255, 255, 0.322);
    color: rgb(0, 0, 0);
}

.input-search::placeholder {
    color: rgba(0, 0, 0, 0.3);
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 100;
}

.input-search:focus {
    width: 500px;
    border-radius: 0px;
    background-color: rgba(255, 255, 255, 0.508);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    transition: all .35s ease-in-out;
    /* transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2); */
}

.input-search:hover,
.input-search::placeholder:hover {
    background-color: rgb(241, 241, 241);
    transition: all .3s ease-in-out;
}


/* -viewEmployee.php search bar- */


/* Form stuff */

.signup-form form button {
    color: white;
    width: 100px;
    height: 40px;
    font-size: 17px;
    text-align: center;
    margin: auto;
    background-color: #2c83ca;
    border: none;
    border-radius: 3px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.09);
    transition: all 0.3s ease 0s;
    display: block;
    padding: 10px 20px;
    margin: 10px auto;
    cursor: pointer;
}

.signup-form form button:hover {
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    background-color: rgb(255, 255, 255);
    color: #3aa6ff;
    border: 1px solid #cccccc;
    transition: all 0.3s ease 0s;
}

.signup-form form button:disabled {
    color: white;
    width: 100px;
    height: 40px;
    font-size: 17px;
    text-align: center;
    margin: auto;
    background-color: #99afc2;
    border: none;
    border-radius: 3px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.09);
    transition: all 0.3s ease 0s;
    display: block;
    padding: 10px 20px;
    margin: 10px auto;
    cursor: auto;
}

button {
    color: white;
    width: 100px;
    height: 40px;
    font-size: 17px;
    text-align: center;
    margin: auto;
    background-color: #2c83ca;
    border: none;
    border-radius: 3px;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.09);
    transition: all 0.3s ease 0s;
    display: block;
    padding: 10px 20px;
    margin: 10px auto;
    cursor: pointer;
}

button:hover {
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    background-color: rgb(255, 255, 255);
    color: #2c83ca;
    border: 1px solid #cccccc;
    transition: all 0.3s ease 0s;
}


/* -Form stuff- */


/* LABEL */

labelSpace {
    display: flex;
    flex-direction: row;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    color: rgb(51, 51, 51);
    margin: 10px auto;
    text-decoration: none;
    transition: all 0.3s ease 0s;
}

label {
    flex-direction: row;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: rgb(51, 51, 51);
    margin: 10px auto;
    text-decoration: none;
    transition: all 0.3s ease 0s;
}


/* -LABEL- */


/* TABLE */


/* viewEmployee.php table */


/* If you're looking to changing the table alternatio color, go inside viewEmployees.php,
there's a JS script that does it */

table {
    box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.35);
    padding-top: 20px;
    border-radius: 20px;
    border-collapse: collapse;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

td {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

th {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #2c83ca;
    font-family: 'Roboto', sans-serif;
    border: none;
}

td[contenteditable="true"] {
    text-align: center;
    transition: all 0.3s ease 0s;
}

td[contenteditable="true"]:hover {
    transform: scale(1.2);
    transition: all 0.3s ease 0s;
}

td[contenteditable="true"]:focus {
    outline: 0px solid transparent;
    font-size: 24px;
    box-shadow: 0px 0px 0px 2px #2c83ca;
    background-color: rgb(255, 255, 255);
    transition: all 0.3s ease 0s;
}


/* -TABLE- */


/* TOOL TIPS */

.tooltip {
    position: relative;
    /* making the .tooltip span a container for the tooltip text */
    border-bottom: 2px dashed rgb(0, 0, 0);
    /* little indicater to indicate it's hoverable */
}

.tooltip:before {
    content: attr(data-text);
    /* here's the magic */
    position: absolute;
    /* vertically center */
    top: 50%;
    transform: translateY(-50%);
    /* move to Left */
    right: 100%;
    margin-right: 20px;
    /* and add a small left margin */
    /* basic styles */
    width: 200px;
    padding: 10px;
    border-radius: 10px;
    background: #2c83ca;
    color: #fff;
    text-align: center;
    font-weight: lighter;
    white-space: pre-wrap;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    display: none;
    /* hide by default */
}

.tooltip:hover:before {
    display: block;
}


/* -TOOL TIPS- */


/* MASTER LOGIN PAGE DIVIDERS */

#divLeft {
    width: 49%;
    float: left;
}

#divRight {
    width: 49%;
    float: right;
}


/* Verticle Line down the middle */

.vl {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    border-left: 1px solid #000000;
    transform: translate(-50%);
    height: 80%;
}


/* -MASTER LOGIN PAGE DIVIDERS- */


/* MOBILE DISPLAYS */


/*IPAD size*/

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .left,
    .main,
    .right {
        width: 100%;
    }
    body {
        font-size: 1em;
    }
    h1 {
        font-size: 64px;
        padding: 40px 0;
        line-height: 100%;
        overflow-wrap: break-word;
    }
    hr {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(51, 51, 51);
    }
    header {
        flex-direction: column;
        font-size: 2em;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 0%;
    }
    header .navigation {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0px 0;
    }
    header .navigation li a {
        font-size: 30px;
        list-style: none;
        margin: 0 10px;
        padding-right: 20px;
    }
    table {
        width: 90%;
    }
    .signup-form form {
        width: 70%;
    }
    .tooltip:before {
        /* move to Left */
        padding: 10px;
        width: 200px;
        font-size: 18px;
        left: 0px;
        margin-right: 0px;
        /* and add a small left margin */
        z-index: 11;
        /* There's already something at 10 */
        background: #4d9bdb;
        box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.75);
    }
}


/* Pixel 2 */

@media only screen and (max-width: 411px) and (min-width: 393px) {
    body {
        font-size: 1em;
    }
    h1 {
        font-size: 50px;
        padding-top: 50px;
        line-height: 100%;
        overflow-wrap: break-word;
    }
    p {
        font-size: 18px;
    }
    hr {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(51, 51, 51);
    }
    header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding-top: 0px;
        padding-bottom: 0px;
        z-index: 10;
    }
    header .navigation {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0px 0;
        padding-top: 10px;
        padding-right: 10%;
    }
    header .navigation li a {
        font-size: 30px;
        list-style: none;
        margin: 0 10px;
    }
    .signup-form form {
        width: 90%;
    }
    #divLeft {
        width: 100%;
        float: left;
    }
    #divRight {
        width: 100%;
        float: left;
    }
    .vl {
        height: 0;
    }
}


/* Iphones PLUS size */

@media only screen and (max-width: 434px) and (min-width: 414px) {
    body {
        font-size: 1em;
    }
    h1 {
        font-size: 50px;
        padding-top: 30px;
        line-height: 100%;
        overflow-wrap: break-word;
    }
    hr {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(51, 51, 51);
    }
    header {
        top: 0;
        left: 0;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding-top: 0px;
        padding-bottom: 0px;
        z-index: 10;
    }
    header .navigation {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 5px 0;
    }
    header .navigation li a {
        font-size: 25px;
        list-style: none;
        margin: 0 5px;
        padding-right: 40px;
    }
    .signup-form form {
        width: 90%;
    }
    .dollar:before {
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
        position: absolute;
        content: "$";
        left: 5px;
        top: 12px;
        color: rgb(0, 0, 0);
    }
    .tooltip:before {
        /* move to Left */
        padding: 10px;
        width: 120px;
        font-size: 14px;
        left: 20px;
        margin-right: 0px;
        /* and add a small left margin */
        z-index: 11;
        /* There's already something at 10 */
        background: #4d9bdb;
        box-shadow: 0px 0px 13px 3px rgba(0, 0, 0, 0.9);
    }
    #divLeft {
        width: 100%;
        float: left;
    }
    #divRight {
        width: 100%;
        float: left;
    }
    .vl {
        height: 0;
    }
}


/* ??? Not sure what this one's for */

@media only screen and (max-width: 570px) and (min-width:540px) {
    body {
        font-size: 1em;
    }
    h1 {
        font-size: 64px;
        padding-top: 40px;
        line-height: 100%;
        overflow-wrap: break-word;
    }
    hr {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(51, 51, 51);
    }
    header {
        top: 0;
        left: 0;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding-top: 0px;
        padding-bottom: 0px;
        z-index: 10;
    }
    header .navigation {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 5px 0;
    }
    header .navigation li {
        list-style: none;
        margin: 0 5px;
        padding-right: 40px;
    }
    .signup-form form {
        width: 90%;
    }
    .dollar:before {
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
        position: absolute;
        content: "$";
        left: 5px;
        top: 12px;
        color: rgb(0, 0, 0);
    }
}


/* Iphone 5 */

@media only screen and (max-width: 375px) and (min-width: 320px) {
    body {
        font-size: 1em;
    }
    h1 {
        font-size: 50px;
        padding-top: 30px;
        line-height: 100%;
        overflow-wrap: break-word;
    }
    hr {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(51, 51, 51);
    }
    header {
        top: 0;
        left: 0;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding-top: 0px;
        padding-bottom: 0px;
        z-index: 10;
    }
    header .navigation {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 5px 0;
    }
    header .navigation li a {
        font-size: 25px;
        list-style: none;
        margin: 0 5px;
        padding-right: 30px;
    }
    .signup-form form {
        width: 90%;
    }
    .dollar:before {
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
        position: absolute;
        content: "$";
        left: 5px;
        top: 12px;
        color: rgb(0, 0, 0);
    }
    .tooltip:before {
        /* move to Left */
        padding: 10px;
        width: 120px;
        font-size: 14px;
        left: 20px;
        margin-right: 0px;
        /* and add a small left margin */
        z-index: 11;
        /* There's already something at 10 */
        background: #4d9bdb;
        box-shadow: 0px 0px 13px 3px rgba(0, 0, 0, 0.9);
    }
    #divLeft {
        width: 100%;
        float: left;
    }
    #divRight {
        width: 100%;
        float: left;
    }
    .vl {
        height: 0;
    }
}


/* Pixel 2 XL */

@media only screen and (max-height: 823px) and (min-height: 823px) {}


/* Iphone 6/7/8 */

@media only screen and (max-height: 667px) and (min-height: 667px) {
    h1 {
        padding-top: 50px;
        font-size: 35px;
    }
    header {
        padding-right: 4%;
    }
    header .navigation li a {
        font-size: 25px;
    }
    .signup-form form {
        width: 90%;
    }
    #divLeft {
        width: 100%;
        float: left;
    }
    #divRight {
        width: 100%;
        float: left;
    }
    .vl {
        height: 0;
    }
}


/* Iphone X */

@media only screen and (max-height: 812px) and (min-height: 812px) {
    h1 {
        padding-top: 30px;
        font-size: 50px;
        line-height: 100%;
        overflow-wrap: break-word;
    }
    header {
        padding-right: 4%;
    }
    header .navigation li a {
        font-size: 25px;
    }
    #divLeft {
        width: 100%;
        float: left;
    }
    #divRight {
        width: 100%;
        float: left;
    }
    .signup-form form {
        width: 90%;
    }
    .vl {
        height: 0;
    }
}


/* smaller than 360px */

@media only screen and (max-width: 360px) and (min-width: 280px) {
    h1 {
        padding-top: 30px;
        font-size: 50px;
        line-height: 100%;
        overflow-wrap: break-word;
    }
    header {
        padding-right: 4%;
    }
    header .navigation li a {
        font-size: 25px;
    }
    #divLeft {
        width: 100%;
        float: left;
    }
    #divRight {
        width: 100%;
        float: left;
    }
    .signup-form form {
        width: 90%;
    }
    .vl {
        height: 0;
    }
}


/* -MOBILE DISPLAYS- */