﻿body {
    /*padding-top: 50px;*/
    padding-bottom: 20px;
}

/* Set padding to display errors that occur during databinding */
.padding-error {
    padding-top: 20px;
}

@media only screen and (max-width: 767px) {
    .nofloat {
        float: none;
        padding: 10px 15px;
    }
}

/* This is for Parts/Index.cshtml - Start */
    .fabutton {
        background: none;
        padding: 0px;
        border: none;
    }

    .k-button {
        /*background-color: transparent;*/ /* This is for Add/Update/Cancel buttons on top of the grid. */
        border: none;
    }

    /*This is to remove X from delete command*/
    /*.k-i-close:before {
        content: "";*/ /*"\e11b"*/
    /*}*/
    .k-grid .k-button {
        margin: 0 .26em;
    }
    /*
    .k-grid tbody .k-button {
        min-width: 0px;
        background-color: transparent; /* This is the background color of delete icon on each row of the grid.
    }*/


    /* This is to change the size of buttons in Grid Toolbar */
    .k-i-add:before {
        content: "\e11f";
    }

    .k-grid .k-grid-toolbar .k-grid-add,
    .k-grid tbody .k-grid-edit,
    .k-grid tbody .k-grid-update,
    .k-grid tbody .k-grid-cancel,
    .k-grid tbody .k-grid-delete {
        min-width: 0;
    }

        .k-grid .k-grid-toolbar .k-grid-add .k-icon,
        .k-grid tbody .k-grid-edit .k-icon,
        .k-grid tbody .k-grid-update .k-icon,
        .k-grid tbody .k-grid-cancel .k-icon,
        .k-grid tbody .k-grid-delete .k-icon {
            margin: 0;
        }

    .k-icon, .k-tool-icon {
        font-weight: bolder;
        font: 24px/1 WebComponentsIcons; /* This sets the size of icons for Kendo ui icons - default is 16px */
    }

/* This is for Parts/Index.cshtml - End */

/* ===== Bootstrap 5.3 + Kendo UI 2020.3 (BlueOpal LESS theme with kendo.common-bootstrap) ===== */
/* Bootstrap 5 underlines links; Kendo's links (pager, sortable headers, buttons) were not underlined. */
.k-widget a,
.k-grid a.k-link,
.k-pager-wrap a,
a.k-button {
    text-decoration: none;
}

/* Keep Kendo grids inside the viewport: the grids are Scrollable with column widths, so on a phone the
   grid content scrolls horizontally instead of the whole page. */
.k-grid {
    max-width: 100%;
}

/* Navbar logo (was an inline style in the old layouts). */
.brand-logo {
    background-color: #dddddd;
    border-radius: 25px 25px 5px 5px;
}

/* Small screens: use the full width (replaces the old layout script that removed the panel padding below 700px). */
@media (max-width: 699.98px) {
    #body.container-fluid {
        padding-left: 4px;
        padding-right: 4px;
    }

    #gameGrid.card-body {
        padding: 0;
    }
}

/* ===== MyGame: one-tap "I'm in / I'm out" for players on phones ===== */
.mygame {
    max-width: 32rem;
    margin: 0 auto;
}

    .mygame .btn-answer {
        font-size: 1.5rem;
        padding: 1.25rem 1rem;
        min-height: 4.5rem; /* large touch target */
    }

    .mygame .status {
        font-size: 1.25rem;
    }

/* ===== Navigation bar ===== */
/* "New" marker next to recently added menu items (remove the badge in the layouts once they are no longer new). */
.badge-new {
    font-size: .65em;
    vertical-align: .15em;
    margin-left: .25rem;
}

/* DEV label next to the logo when the site runs on localhost (the navigation bar is light there, dark in production). */
.badge-env {
    font-size: .7rem;
    letter-spacing: .08em;
}
