﻿@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

.munky body, html.munky {
    background-color: #fff;
    min-height: 100vh;
    margin: 0;
    position: relative;
    width: 100%;
}

html.munky {
    font-size: 0.8125rem;
}

.munky body {
    font-family: 'Source Sans Pro', 'Segoe UI', 'Arial', sans-serif;
    line-height: 20px;
    overflow-y: scroll;
}

body.public,
body.identity,
body.app {
    background-color: #f7fafc;
}

main {
    padding-top: 85px;
}

.identity main {
    padding-top: 33px;
}

h2 {
    font-size: 1.75rem;
    font-weight: 400;
}

label {
    cursor: pointer;
    margin-bottom: 0;
}

input + label {
    margin-left: .5rem;
}

a.link-primary {
    font-weight: 500;
}

a.link-secondary {
    color: #212529;
    text-decoration: underline;
}

    a.link-secondary:hover {
        color: #007bff;
    }

.navbar-nav {
    font-weight: 600;
}

.nav-main.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
    color: rgba(255,255,255,.9);
    font-weight: 400;
}

    .nav-main.navbar-dark .navbar-nav .nav-link:hover {
        color: #ffffff;
        color: rgba(255,255,255,1);
    }

.nav-main .nav-item.active {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.btn {
    padding: .5rem 1rem;
}

    .btn.btn-secondary {
        background-color: #bdc7ff !important;
        border-color: #bdc7ff !important;
        color: #00026b;
    }

.badge {
    border: 1px solid transparent;
    font-weight: 400;
    font-size: 0.85rem;
}

.badge-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.badge-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.badge-outline-success {
    color: #28a745;
    border-color: #28a745;
}

.badge-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

#sub-menu .nav-link {
    padding: .25rem .5rem;
}

#contextual-filtering .filter-list {
    margin-top: 24px;
}

    #contextual-filtering .filter-list .list-group > div {
        display: flex;
        align-items: center;
        margin: 0.25rem 0;
    }

.filter-list-header h6 {
    font-weight: 600;
}

.parameter-list {
    margin-top: 16px;
}

    .parameter-list dt {
        margin-bottom: .5rem;
        color: #999;
        font-weight: 400;
        text-align: right;
    }

#SeasonId {
    width: 170px;
}

button span,
a span {
    margin-left: 0.75rem;
}

h2 {
    margin-bottom: 0;
}

.form-control {
    padding: 0.25rem 0.5rem;
    font-size: inherit;
}

#login-panel {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #d8e2f0;
}

.app #page-container {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #d8e2f0;
}

/* Select2 resets */
.select2 {
    width: 100%;
}

.select2-container .select2-selection--single {
    display: block !important;
    width: 100% !important;
    height: 32px !important;
    padding: 1px 4px 1px 2px !important;
    color: #495057 !important;
    background-clip: padding-box !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px;
}

/* DETAILS TABS */
.tab-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

    .tab-content .tab-section {
        padding-bottom: 2rem;
        margin-bottom: 3rem;
        border-bottom: 1px solid #dee2e6;
    }

        .tab-content .tab-section:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 0;
        }

    .tab-content header {
        margin-bottom: 1.5rem;
    }

/* FORMS */
.form-content {
    padding-top: .5rem;
}

    .form-content .form-section {
        padding-bottom: 2rem;
        margin: 0 0 2rem;
        border-bottom: 1px solid #dee2e6;
    }

        .form-content .form-section:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 0;
        }

/* Avatar */
table.dataTable tbody td.avatar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

div.avatar {
    position: relative;
    flex: 0 0 auto;
    align-self: auto;
    border-radius: 50%;
    display: block;
    overflow: hidden;
}

    div.avatar::after {
        content: '';
        border-radius: 50%;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: box-shadow 0.15s ease-out;
        box-shadow: inset 0 0 10px 0 rgba(0,0,0,0.4);
    }

    div.avatar:hover::after {
        box-shadow: inset 0 0 7px 0 rgba(0,0,0,0.15);
    }

    div.avatar > .inner {
        height: 0;
        padding-bottom: 100%;
        position: relative;
        text-align: center;
        line-height: 128px;
    }

        div.avatar > .inner a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        div.avatar > .inner img {
            display: block;
            border: none;
            position: absolute;
            left: 50%;
            top: 50%;
            -webkit-transform: translateY(-50%) translateX(-50%);
            -moz-transform: translateY(-50%) translateX(-50%);
            transform: translateY(-50%) translateX(-50%);
            width: 100%;
            min-height: 100%;
        }

        div.avatar > .inner i {
            color: #fff;
            opacity: .5;
        }

        div.avatar > .inner.fa-1x {
            font-size: 1.3rem;
        }

td.avatar-cell div.avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

    td.avatar-cell div.avatar > .inner {
        line-height: 40px;
    }

div.avatar-details {
    width: 128px;
    height: 128px;
    margin: auto;
}

section.note {
    margin-bottom: 2rem;
}

    section.note header {
        margin-bottom: 0;
    }

    section.note article {
        padding: 8px 0 4px 0;
        border-top: 1px solid rgba(0, 0, 0, .1);
    }

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(255,255,255,0.7);
    opacity: 0;
}

    .photo-overlay:hover {
        opacity: 1;
    }

button span {
    margin-left: 0.75rem;
}

table.changes td {
    padding: 0 .75rem !important;
    border: 0;
    white-space: nowrap;
}

.direct-debet-field {
    display: none;
}

.action-history-table td {
    white-space: nowrap;
}

.player-grid {
    width: 600px !important;
}

    .player-grid > div {
        display: grid;
        grid-auto-rows: auto;
        grid-template-columns: repeat(auto-fit, minmax(100px, 192px));
        gap: 8px;
    }

        .player-grid > div > div {
            overflow: hidden;
        }

@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
    }
}
