﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }
    .body-content {
        padding: 0;
    }
}

/* ===== Desktop Enhancements ===== */

/* Tablet and up */
@media (min-width: 768px) {
    body {
        padding-bottom: 40px;
    }
    .body-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    input, select, textarea {
        max-width: 400px;
    }

    /* Tables get more breathing room */
    table td, table th {
        padding: 4px 8px;
    }

    /* Filter buttons */
    .filter-group .filter-label {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    /* Jump bar */
    .jump-bar a {
        padding: 6px 14px;
        font-size: 14px;
    }

    /* Button panel: taller buttons */
    .same-size-button {
        height: 38px !important;
        font-size: 0.95em !important;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container.body-content {
        max-width: 960px;
        margin: 0 auto;
    }

    /* Show extended columns on desktop by default */
    #mdTable .ext-col {
        display: table-cell;
    }

    /* Tables */
    table td, table th {
        padding: 6px 10px;
    }

    /* Scorecard modal wider on desktop */
    #scorecardModal > div {
        max-width: 700px;
    }

    /* Leaderboard larger font on desktop */
    #leaderboard + table tr {
        font-size: 17px;
    }

    /* Login: full-width background, centered card */
    .login-wrapper {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        min-height: calc(100vh - 50px) !important;
    }
    .login-bg {
        height: 40vh !important;
    }
    .login-card {
        max-width: 420px !important;
    }
}
