/* TABLE OF CONTENTS
    01. General
    02. Header
    03. Footer
    XX. Queries
        a. Mobile
        b. Tablet
        c. iPad Pro
*/

/* 01. GENERAL */
    :root {
        --white: #fff;
        --black: #000;
        --grey: #666666;
        --light-grey: #c4c4c4;
        --orange: #fd9729;
        --orange-light: #ffac54;
        --teal: #1d495e;
        --yellow: #d6af00;
        --red: #b21c1c;
    }
    @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

    html, body {
        width: 100%;
        height: 100%;
    }
    body {
        font-size: 1em;
        font-weight: 500;
        color: var(--grey);
        overflow-x: hidden;
    }
    * { font-family: 'Arial', sans-serif; }
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Bebas Neue', 'Arial Black', sans-serif;
        color: var(--teal);
    }
    button {
        background: none;
        border: 0;
        outline: none;
    }
    a, button {
        color: var(--orange);
        text-decoration: none;
    }
    a:hover, a:focus, a:target, button:hover, button:focus, button:target {
        color: var(--orange-light);
        font-weight: bold;
    }
    .mobile-hide { display: block; }
    .row.mobile-hide { display: flex; }
    .mobile-only { display: none !important; }
    .tablet-only { display: none !important; }
    .quarter-width { width: 25%; }
    .half-width { width: 50%; }
    .three-quarter-width { width: 75%; }
    .full-width { width: 100%; }
    .text-center { text-align: center; }
    .text-left { text-align: left; }
    .text-right { text-align: right; }
    .text-uppercase { text-transform: uppercase; }
    .header-light { font-weight: 500; }
    .header-medium { font-weight: 700; }
    .header-heavy { font-weight: 900; }
    .hide { display: none; }
    .main-body { min-height: calc(100% - 205px); }
    .teal { color: var(--teal); }
    .btn:hover, .btn:focus, .btn:target { color: var(--white); }
    a.btn, a.btn:visited, a.btn:active, .btn {
        display: block;
        border: 2px solid var(--orange);
        padding: 10px;
        background: var(--teal);
        color: var(--white);
        font-weight: 700;
        text-transform: uppercase;
    }
    a.btn:hover, a.btn:focus, a.btn:target { background: var(--orange); }
    a:hover i.teal, a:focus i.teal, a:target i.teal { color: var(--orange); }


/* 02. HEADER */
    header {
        z-index: 198;
        position: relative;
        top: 0;
        width: 100%;
        height: 140px;
        background: var(--white) url("/img/graphics/brushed-metal.png") repeat-x center 100%;
        background-size: cover;
        overflow: hidden;
    }
    header h1, header h2, header h3, header h4, header h5, header h6 { color: var(--orange); }
    header .container, header .container h1, header .container p {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    header .container {
        z-index: 1;
        width: 100%;
        max-width: 100%;
        padding: 10px;
    }
    header .container .logo { padding: 40px; }
    header .container .logo img { width: 100%; }
    header .container p {
        color: var(--white);
        text-transform: uppercase;
    }
    header .gear {
        z-index: 0;
        position: absolute;
        right: 0;
        top: 0;
    }
    header nav, header nav ul { 
        height: 100%;
        margin: 0;
        padding: 0;
    }
    header nav ul { 
        list-style: none;
        width: 100%;
    }
    header nav ul li {
        display: inline-block;
        width: 15%;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
    }
    header nav ul li a {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 20px;
    }
    header nav ul li a, header nav ul li a:active, header nav ul li a:visited { color: var(--white); }
    header nav ul li a:hover, header nav ul li a:focus, header nav ul li a:target { color: var(--orange-light); }

    .fixed-nav {
        position: fixed;
        top: 0;
    }
    .header-links {
        z-index: 198;
        width: 100%;
        background: linear-gradient(270deg, var(--teal), var(--teal));
        background: -moz-linear-gradient(270deg, var(--teal), var(--teal));
        background: -o-linear-gradient(270deg, var(--teal), var(--teal));
        background: -webkit-linear-gradient(270deg, var(--teal), var(--teal));
        border-bottom: 5px solid var(--orange);
        margin-bottom: 20px;
    }
    .header-links a {
        display: block;
        float: left;
        width: 16.6%;
        height: 100%;
        padding: 15px 6px;
        font-size: 1em;
        font-weight: 700;
        text-transform: uppercase;
        text-align: center;
        color: var(--white);
        text-decoration: none;
    }
    .header-links a:hover, .header-links a:focus, .header-links a:target { background: var(--orange); }
    .header-links ul {
        list-style: none;
        list-style-position: inside;
        margin: 0;
        padding: 0;
    }
    #menu-toggle {
        display: none;
        margin-bottom: 4px;
        font-size: 1.6em;
        text-transform: uppercase;
        text-align: right;
        color: var(--white);
    }
    .menu-opened {
        z-index: 999;
        position: fixed;
        left: 0;
        top: 0;
        width: 104%;
        height: 100%;
        padding: 14px;
        background: var(--teal);
        color: var(--white);
    }
    .menu-opened ul li a, .menu-opened ul li a:visited { color: var(--white); }
    .menu-opened ul li a:active, .menu-opened ul li a:focus, .menu-opened ul li a:hover { color: var(--white); }
    .page-nav {
        z-index: 199;
        width: 100%;
        padding: 10px;
        background: var(--white);
    }
    .page-nav.submenu {
        z-index: 195;
        width: 100%;
    }
    .page-nav.fixed-nav {
        top: 48px;
        border-bottom: 2px solid var(--teal);
    }
    .page-nav a {
        font-weight: 700;
        text-transform: uppercase;
        color: var(--orange);
    }
    .page-nav a:hover {
        font-weight: 900;
        color: var(--orange);
    }
    .page-nav .container .row div {
        border-left: 2px solid var(--teal);
        text-align: center;
    }
    .page-nav .container .row div:first-child { border-left: 0; }
    .page-nav ul {
        border: 2px solid var(--teal);
        padding: 10px;
        list-style: none;
    }
    .page-nav ul li {
        border: 0px solid var(--teal);
        padding: 4px;
        text-align: center;
    }


/* 03. FOOTER */
    footer {
        z-index: 198;
        position: relative;
        bottom: 0;
        width: 100%;
        height: 40px;
    }
    footer .logo { padding: 10px; }
    footer img { width: 100%; }


/* 04. FORMS */
    form.body-center {
        position: relative;
        top: 0;
        left: 0;
        /* transform: translateX(-50%); */
        width: 100%;        
    }
    form label {
        color: var(--teal);
        text-transform: uppercase;
        font-weight: 700;
    }
    form .col-12 { margin-bottom: 20px; }
    form input, form select, form textarea {
        width: 100%;
        background-color: var(--white);
        border: 2px solid var(--orange);
        border-radius: 2px;
        padding: 10px;
    }
    form input[type=checkbox] { width: initial; }
    select { -webkit-appearance: none; }
    form textarea:focus { outline: none; }
    form input:target, form input:focus { outline: none; }
    form input[type=submit].center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 30%;
    }
    form input[type=submit] {
        background: var(--teal);
        font-weight: 700;
        text-transform: uppercase;
        color: var(--white);
    }
    form input[type=submit]:hover { background: var(--orange); }
    form .password-input { position: relative; }
    form .password-input img {
        width: 40px;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }
    .search-bar {
        position: relative;
        top: 0;
        left: 0;
    }
    .search-bar button {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        padding: 10px 14px;
        outline: 0;
        background: var(--teal);
        color: var(--white);
        border: 2px solid var(--orange);
    }
    .search-bar button:hover, .search-bar button:focus, .search-bar button:target {
        background: var(--orange);
    }


/* 05. TEMPLATE */
    .tab a {
        text-transform: uppercase;
        font-weight: 700;
        font-size: 1.4em;
        padding-bottom: 10px;
        color: var(--teal);
    }
    .tab a.active {
        border-bottom: 4px solid var(--orange);
    }
    .tab a:hover, .tab a:focus, .tab a:target { 
        color: var(--orange);
        border-bottom: 4px solid var(--orange);
    }
    .errs {
        width: 100%;
        text-align: center;
        border: 2px solid var(--orange);
        background: var(--teal);
        color: var(--white);
        padding: 20px;
    }
    .errs strong { 
        font-size: 1.4em;
        text-transform: uppercase;
    }


/* 06. SEARCH */
    #results.tickets {
        border: 2px solid var(--orange);
        color: var(--teal);
        font-size: 1.2em;
    }
    #results .row {
        font-weight: 700;
        color: var(--teal);
        margin-bottom: 10px;
        border-bottom: 2px solid var(--light-grey);
        padding: 10px;
    }
    #results .row.last { 
        margin-bottom: 0; 
        border-bottom: 0;
    }
    #results.tickets .row { padding: 10px; }
    #results .row .title {
        position: relative;
        top: 0;
        left: 0;
        font-size: 1.4em;
    }
    #results .row .title p {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    #results .row .action a, #results .row .action button {
        display: block;
        width: 100%;
        color: var(--white);
        border: 2px solid var(--white);
        padding: 10px;
        background: var(--teal);
        text-align: center;
        text-transform: uppercase;
    }
    #results .row .action a:hover, #results .row .action a:focus, #results .row .action a:target, #results .row .action button:hover, #results .row .action button:focus, #results .row .action button:target { background: var(--orange); }
    .results-box {
        height: 200px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 2px solid var(--orange);
        padding: 10px;
    }
    #results.results-box .row .title { font-size: 1em; }
    .results-box.md { height: 400px; }
    .results-box.lg { height: 600px; }
    .results-box.xl { height: 800px; }


/* 07. CMS */
    #project-delete {
        display: none;
        z-index: 100;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.4);
    }
    #project-delete .container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 400px;
        padding: 20px;
        background: var(--white);
        border: 2px solid var(--orange);
        text-align: center;
    }
    #project-delete .btn { margin: 0 auto; }
    .row.soon .title {
        background: var(--yellow);
    }
    .row.critical .title {
        background: var(--red);
    }
    .row.soon .title, .row.critical .title { color: var(--white); }
    .row.log { 
        padding: 10px;
        border: 2px solid var(--grey); 
    }

/* 04. CONFIRM MODAL */
    div#confirmation {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
        display: none;
    }
    div#confirmation .container {
        position: fixed;
        z-index: 1001;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 30%;
        background: var(--white);
        border: 2px solid var(--orange);
        padding: 20px;
    }


/* xx. QUERIES */
    /* a. Phones and Lower Res Tablets */
        @media only screen and (max-width: 600px) {
            .mobile-hide { display: none !important; }
            .mobile-only { display: initial !important; }
            body.float-nav { margin-top: 350px; }
            #menu-toggle { display: block; }
            .mobile-head {
                z-index: 999;
                position: fixed;
                top: 0;
                left: 0;
                background: #fff;
                box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.1);
            }
            #menu ul { display: none; }
            #menu.menu-opened ul {
                display: block;
                position: absolute;
                top: 20%;
                left: 0;
                width: 100%;
                padding: 0;
                text-align: center;
            }
            #menu.menu-opened a {
                clear: both;
                width: 100%;
                margin-bottom: 10px;
                padding: 10px;
            }
            header { height: 120px; }
            header nav ul li { 
                width: 49%; 
                padding: 4px;
            }
            header nav ul li a {
                position: relative;
                top: 0;
                transform: none;
                padding: 20px;
            }
            form.body-center { width: 100%; }
            #results .row .title p {
                position: initial;
                top: 0;
                transform: none;
            }
            .tab a { font-size: 1em; }
            div#confirmation .container {
                width: 90%;
            }
        }

    /* b. Tablet */
        @media only screen and (min-width: 601px) and (max-width: 1024px) {
            .tablet-hide { display: none !important; }
            .header-links a {
                width: 25%;
                height: auto;
                padding: 5px;
            }
            .header-socials .fas, .header-socials .fab, .footer-socials .fas, .footer-socials .fab {
                margin-bottom: 12px;
                margin-top: 5px;
                font-size: 0.8em;
            }
            .tablet-only { display: initial !important; }
            .header-socials .fab.fa-facebook-f, .footer-socials .fab.fa-facebook-f { padding: 6px 10px; }
            header { height: 120px; }
            header nav ul li { 
                width: 25%; 
                padding: 4px;
            }
            header nav ul li a {
                position: relative;
                top: 0;
                transform: none;
                padding: 20px;
            }
            #results .row .title p {
                position: initial;
                top: 0;
                transform: none;
            }
            div#confirmation .container {
                width: 50%;
            }
        }

    /* c. iPad Pro */
        @media only screen and (width: 1024px) and (height: 1366px) and (orientation: portrait) {

        }
