/**
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/

html {
    box-sizing: border-box;
}

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

:root {
    --beam-mascot-orange: #ff570b;
    --beam-dark-orange: #e74d1a;
    --beam-orange: #f26628;
    --beam-light-orange: #ff8337;

    --beam-mascot-yellow: #1f1f19;
    --beam-dark-yellow: #febb25;
    --beam-yellow: #feec2d;
    --beam-light-yellow: #fff200;

    --beam-white: #ffffff;
    --beam-black: #1e1e1f;
    --dark-grey: #424143;
    --light-grey: #cbc9cf;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

a {
    text-decoration: none;
    color: var(--dark-grey);
}

a:hover {
    text-decoration: underline;
}

a.button {
    border: 2px solid var(--beam-dark-orange);
    color: var(--beam-orange);
    border-radius: 4px;
    padding: 6px 24px;
    font-size: 14px;
    font-weight: 400;
}

a.button:hover {
    text-decoration: none;
    background-color: var(--beam-dark-orange);
    color: var(--beam-light-orange);
}

header {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    background-color: var(--beam-light-orange);
    padding: 5px 10px;
    align-items: center;
}

footer {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    background-color: var(--beam-light-orange);
    padding: 5px 10px;
    align-items: center;
}

.logo {
    color: var(--beam-white);
}

#page-container {
    position: relative;
    min-height: 100vh;
}
  
#content-wrap {
    padding-bottom: 2.5rem;    /* Footer height */
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 0px;
}

.child {
    float: left;
    margin-right: 20px;
}

.main-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.main-table thead tr {
    background-color: var(--beam-orange);
    color: var(--beam-white);
    text-align: left;
}

.main-table th,
.main-table td {
    padding: 12px 15px;
}

/* Tooltip container */
.tooltip {
    display: inline-block;
    border-bottom: 1px dotted var(--beam-black);
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: max-content;
    max-width: 400px;
    background-color: var(--dark-grey);
    color: var(--beam-white);
    text-align: left;
    padding: 5px 10px;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 18%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-grey) transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 550px) {
    header {
        flex-direction: column;
        height: auto;
        padding-bottom: 10px;
    }

    footer {
        flex-direction: column;
        height: auto;
        padding-top: 10px;
    }

    .logo {
        display: inline-block;
        margin-bottom: 10px;
    }
}

/* Make Job action related buttons more visible. */
.job-action button {
    border-radius: 5px;
    padding: 5px;
}
