/* Oh god you're in here... I know it's bad but please do not judge me to hard... */

/* Every Browser */
* {
    outline: none;
}

/* FireFox */
* {
    box-sizing: border-box;
    scrollbar-width: thin;
}

/* Chrome/Edge/Safari */
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-thumb {
    border-radius: 20px;
    border: 0px solid;
}

body, html {
    font-family: Arial;
    margin: 0;
    padding: 0;
    font-size: 18px;

    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
}

img {
    width: 100%;
}

article {
    padding: 10px;
    margin: 0;
}

main {
    padding: 0;
    margin: 0;
}

/* Default Table */
table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

table th, table td, table tr {
    border: 1px solid;
    padding: 0px;
}

/* Grid Boxes and row management */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.basic-grid {
    display: grid;
    gap: .25em;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* HR Tags */
hr:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

hr {
    position: relative;
    border: 0;
    height: 1.5em;
    clear: both;
}

/* No Select (This is so the cursor won't change unless we say so in CSS)*/
.noselect {
    /* iOS Safari */
    -webkit-touch-callout: none;
    /* Safari */
    -webkit-user-select: none;
    /* Konqueror HTML */
    -khtml-user-select: none;
    /* Old versions of Firefox */
    -moz-user-select: none;
    /* Internet Explorer/Edge */
    -ms-user-select: none;
    /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
    user-select: none;
}

/* Top Button */
#toTop {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 0px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    margin: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 0px;
    width: 15px;

    transition: all 500ms;
}

#toTop:hover {
    font-size: 18px;
    width: 75px;
    padding: 15px;
}

/* Nav Menu */
nav {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

nav a {
    float: left;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;

    margin-left: auto;
    margin-right: auto;
}

.dropdown {
    float: left;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.dropdown .dropbtn {
    border: none;
    padding: 14px 16px;
    margin: 0;
    font-size: 18px;
}

.dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 1;
}

.dropdown-content .menuheader {
    padding: 16px;
    text-align: center;
}

.menuheader>h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

.dropdown:hover .dropdown-content {
    display: block !important;
}

.menucolumn {
    float: left;
    width: 33.33%;
    padding: 10px;
    height: 100%;
}

.menucolumn a {
    float: none;
    padding: 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.menucolumn>h3 {
    text-align: center;
}


.singledropdown {
    float: left;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.singledropdownbut {
    font-size: 18px;
    border: none;
    padding: 14px 16px;
    background-color: inherit;
    margin: 0;
}

.singledropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    width: 250px;
    z-index: 1;
}

.singledropdown-content a {
    float: none;
    color: black;
    padding: 14px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.singledropdown:hover .singledropdown-content {
    display: block;
}

/* Headers & Footers */
h1, h2 {
    text-align: center;
}

header {
    text-align: center;
    margin: 0;
    padding: 15px;
}

footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 30px;
    margin-top: 5px;
}

footer p {
    display: inline;
}

/* Cards */
.cardstatic {
    padding: 10px;
    margin: 5px;
    margin-left: 0;

    justify-content: center;

    height: 100%;
    width: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 10px;
}

.card {
    padding: 10px;
    margin: 5px;
    margin-left: 0;

    justify-content: center;

    height: 100%;
    width: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 10px;
    transition: all 500ms;
}

.card h1, .card h2, .card h3, .cardstatic h1, .cardstatic h2, .cardstatic h3, .FourColumn h4 {
    text-align: center;
}

.card:hover {
    transform: translateY(-3px) scale(1.01);
}

/* Columns */
.LastCol {
    width: 0%;
}

.Left {
    float: left;
    width: 75%;
    padding-right: 5px;
}

.Right {
    float: left;
    width: 25%;
    padding-left: 5px;
}

.TwoColumns {
    float: left;
    width: 50%;
    padding-left: 5px;
    padding-right: 5px;
}

.ThreeColumns {
    float: left;
    width: 33.33%;
    padding-left: 5px;
    padding-right: 5px;
}

.FourColumns {
    float: left;
    width: 25%;
    padding-left: 5px;
    padding-right: 5px;
}

.FiveColumns {
    float: left;
    width: 20%;
    padding-left: 5px;
    padding-right: 5px;
}

.SevenColumn {
    float: left;
    width: 14.2857%;
    padding-left: 5px;
    padding-right: 5px;
}

/* Clock & Button */
.timenbutt {
    position: absolute;
    float: left;
    right: 25px;
    font-size: 24px;
}

/* Tables */
.ATable {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.ATable th, .ATable td, .ATable tr {
    border: 1px solid;
    padding: 5px;
}

.Diffy {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.Diffy th, .Diffy td, .Diffy tr {
    border: 1px solid;
    padding: 7px;
}

.GearTruck {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.GearTruck th, .GearTruck td, .GearTruck tr {
    padding: 2px;
}

/* Timeline */
.timeline {
    margin: 0px auto;
    padding: 0;
}

.timelinepiece {
    position: relative;
    margin: 0 0 10px 10px;
    padding: 5px;
    background: #333;
    color: white;
    border-radius: 15px;
    max-width: 500px;
}

.info {
    display: flex;
    flex-direction: column;
}

.title {
    position: relative;
    padding: 0;
    margin: 0;
}

.title::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    left: -23px;
}

.lock {
    display: flex;
    justify-content: center;
}

.info>p {
    padding: 0;
    margin: 0;
}

/* Tabs */
.tab {
    overflow: hidden;
    border: 1px solid;
    animation: fadeInEffect 1s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;

    display: flex;
    flex-grow: 1;
}

.tab input[type=button] {
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 1s;
    font-size: 16px;
    text-align: center;

    margin-left: auto;
    margin-right: auto;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid;
    border-top: none;
    animation: fadeInEffect 1s;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.vertab {
    float: left;
    border: 1px solid;
    width: 15%;
    height: 100%;
    border-radius: 25px;
    animation: fadeInEffect 1s;
}

.vertab input[type=button] {
    display: block;
    padding: 22px 16px;
    width: 100%;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 15px;
    font-size: 16px;
}

.vertabcontent {
    float: left;
    padding: 0px 12px;
    border: 1px solid;
    width: 85%;
    border-left: none;
    height: 100%;
    animation: fadeInEffect 1s;
}

@keyframes fadeInEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.TabControl .TabTitles {
    position: relative;
    padding-left: 20px;
    height: 36px;
    font-size: 18pt;
    padding-bottom: 2px;
    margin-top: 10px;
}

.TabControl .TabTitle {
    float: left;
    padding: 4px 12px;
    border: 1px solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
}

.TabControl .TabTitleSelected {
    font-weight: bold;
}

.TabControl .TabContents {
    min-height: 60px;
    border: 1px solid;
    border-radius: 10px;
    padding: 15px;
}

.TabControl .FormContainer {
    border: 0px;
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    position: absolute;
    z-index: 1;
    top: 100%;
    left: 5%;
    margin-left: -75px;

    opacity: 0;
    transition: opacity 0.75s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Staging */

/* Might use in the future!
::selection {
    
}
*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 25px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 1400px;
}
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}
.closeapppic {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.closeapppic:hover, .closeapppic:focus {
    text-decoration: none;
    cursor: pointer;
}

@media screen and (max-width: 1000px) {
    nav {
        display: block;
    }
}