﻿/* =========================================================
   Global Layout
========================================================= */

body {
    padding-top: 50px;
    padding-bottom: 20px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.nav-space {
    padding-top: 60px;
}

.hide {
    display: none;
}


/* =========================================================
   Utility Classes
========================================================= */

.txt-invisible {
    border: none;
    width: 0;
    height: 0;
    color: transparent;
}

    .txt-invisible:focus {
        outline: none;
    }

.btn-len-giv {
    width: 150px;
}

.btn-site-format {
    min-width: 90px;
}

.dbx-Width {
    min-width: 30% !important;
}

.dbx-Setting {
    width: 59% !important;
}

.icon-btn {
    height: 100%;
    width: 25px;
}

.side-to-side {
    width: auto;
}


/* =========================================================
   Panels / Cards / Shared Components
========================================================= */

.panel-default > .card-red {
    background-color: #b03d34;
}

.panel-receipt {
    border-radius: 5px 5px 50px 50px;
    -moz-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.panel-head-receipt {
    border-top: 7px solid #7b7979 !important;
}

.card-overflow {
    overflow: auto;
}


/* =========================================================
   Text / Typography
========================================================= */

.glow {
    color: #b03d34;
    font: 1em Sans-Serif;
    text-shadow: 0 0 5px #fff;
    -webkit-animation: glow-anim 12s infinite;
    -moz-animation: glow-anim 12s infinite;
    animation: glow-anim 12s infinite;
}

@-webkit-keyframes glow-anim {
    25% {
        text-shadow: 0 0 15px #eee;
        color: #FF3E34;
    }

    50% {
        text-shadow: 0 0 15px #eee;
        color: #b03d34;
    }
}

@-moz-keyframes glow-anim {
    25% {
        text-shadow: 0 0 15px #eee;
        color: #FF3E34;
    }

    50% {
        text-shadow: 0 0 15px #eee;
        color: #b03d34;
    }
}

@keyframes glow-anim {
    15% {
        text-shadow: 0 0 15px #eee;
        color: #FF3E34;
    }

    50% {
        text-shadow: 0 0 15px #eee;
        color: #b03d34;
    }
}

.confirm-box {
    font-family: 'Oswald', sans-serif !important;
    font-size: 24px;
}

.heading {
    font-size: 28px;
}

.sub-heading {
    font-size: 26px;
}

.total {
    font-size: 18px;
    color: darkslategray;
}

.cash {
    font-size: 15px;
    color: darkolivegreen;
}


/* =========================================================
   Buttons / Form Helpers
========================================================= */

.btn-responsive-pad {
    padding: 15px;
}

.center-separator {
    display: flex;
    line-height: 1em;
    color: gray;
    margin-left: 10%;
    width: 80%;
}

    .center-separator::before,
    .center-separator::after {
        content: '';
        display: inline-block;
        flex-grow: 1;
        margin-top: 0.5em;
        background: gray;
        height: 1px;
        margin-right: 10px;
        margin-left: 10px;
    }


/* =========================================================
   Horizontal Rules
========================================================= */

hr.style14 {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
    background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}


/* =========================================================
   Reports / Charts
========================================================= */

.chart {
    width: 300px;
    height: 100%;
}

.report-mobile-css {
    margin-left: 12px;
}

.report-btn-top {
    margin-top: -45px;
}

.report-btn-mid {
    margin-top: -20px;
}

.report-btn-bot {
    margin-top: -13px;
}

.innerBlock {
    padding-bottom: 30px;
}


/* =========================================================
   Responsive Iframes / Embedded Content
========================================================= */

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lessons-iframe-top {
    padding-top: 80% !important;
}

.lessons-iframe-bot {
    padding-bottom: 100% !important;
}

.iframe-series-section {
    padding-bottom: 130% !important;
}


/* =========================================================
   Calendar
========================================================= */

#mycalendar .monthly-cal {
    display: none !important;
}

#mycalendar .monthly-header-title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

#mycalendar .monthly-header-title-date {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

#mobileCalendarBackWrap {
    display: none;
    margin: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

#mobileCalendarBackBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11.5px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    color: white;
    margin-right: -8px !important;
}


/* =========================================================
   Admin Dashboard
========================================================= */

.admin-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px 30px 15px;
}

.admin-title {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.admin-subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

.admin-grid {
    margin-left: -10px;
    margin-right: -10px;
}

.admin-tile-wrap {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.admin-tile {
    border-radius: 12px;
    min-height: 200px;
    padding: 25px 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

    .admin-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    }

    .admin-tile .glyphicon {
        font-size: 34px;
        margin-bottom: 15px;
        display: block;
    }

    .admin-tile h3 {
        margin-top: 0;
        margin-bottom: 18px;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2;
    }

    .admin-tile .btn {
        border-radius: 8px;
        font-weight: 600;
        padding: 10px 14px;
        margin-top: 10px;
    }

.tile-red {
    background: linear-gradient(135deg, #d9534f, #c9302c);
}

.tile-blue {
    background: linear-gradient(135deg, #5bc0de, #31b0d5);
}

.tile-green {
    background: linear-gradient(135deg, #5cb85c, #449d44);
}

.tile-purple {
    background: linear-gradient(135deg, #8e44ad, #6f2c91);
}

.tile-orange {
    background: linear-gradient(135deg, #f0ad4e, #ec971f);
}

.tile-dark {
    background: linear-gradient(135deg, #555, #333);
}

.tile-pink {
    background: linear-gradient(135deg, #d870ad, #c84b96);
}

.tile-teal {
    background: linear-gradient(135deg, #20c997, #138f77);
}

.tile-gold {
    background: linear-gradient(135deg, #c9a227, #a88412);
}


/* =========================================================
   Responsive
========================================================= */

@media screen and (max-width: 500px) {
    .center-separator {
        line-height: 1.3em;
        color: gray;
    }

        .center-separator::before,
        .center-separator::after {
            margin-top: 0.8em;
            display: inherit;
        }

    .report-btn-top {
        margin-top: -45px;
    }

    .report-btn-mid {
        margin-top: -20px;
    }

    .report-btn-bot {
        margin-top: -13px;
    }
}

@media only screen and (max-width: 600px) {
    .lessons-iframe-top {
        padding-top: 110% !important;
    }

    .lessons-iframe-bot {
        padding-bottom: 100% !important;
    }

    .side-to-side {
        width: 48%;
        padding-top: 5px;
    }

    .iframe-series-section {
        padding-bottom: 130% !important;
    }

    #mycalendar .monthly-header-title {
        gap: 6px !important;
    }

    #mobileCalendarBackBtn {
        padding: 11px !important;
        border-radius: 0 !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        color: white;
        margin-right: -5px !important;
    }
}

@media (max-width: 767px) {
    .admin-title {
        font-size: 28px;
    }

    .admin-tile {
        min-height: 170px;
        padding: 20px 15px;
    }

        .admin-tile h3 {
            font-size: 22px;
        }
}

/* Fix Chosen multi-select on mobile */
.chosen-container {
    width: 100% !important;
    max-width: 100%;
}

.chosen-container-multi .chosen-choices {
    min-height: 38px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-image: none;
    box-shadow: none;
}

    .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
        width: 100% !important;
        min-height: 24px;
    }

.chosen-container .chosen-drop {
    width: 100%;
}

/* Mobile spacing fix */
@media (max-width: 767px) {
    .form-horizontal .control-label {
        text-align: left;
        margin-bottom: 6px;
    }

    .chosen-container-multi .chosen-choices {
        min-height: 44px;
        font-size: 16px;
    }

        .chosen-container-multi .chosen-choices li.search-choice {
            margin: 4px 5px 4px 0;
            padding: 6px 24px 6px 8px;
            font-size: 14px;
            line-height: 1.3;
        }

        .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
            font-size: 16px;
        }
}


.alert-informa {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
}

.custom-admin-btn {
    background-color: #a33ac7 !important;
    border-color: #a33ac7 !important;
}

.custom-admin-panel {
    background-color: #a33ac7 !important;
    border-color: #a33ac7 !important;
    color: white !important;
}

.custom-admin-panel-team-report {
    background-color: #14cf90 !important;
    border-color: #14cf90 !important;
    color: white !important;
}

.custom-admin-btn-team-report {
    background-color: #14cf90 !important;
    border-color: #14cf90 !important;
}
/* =========================================================
   Delete button for the Calendar
========================================================= */
#mycalendar .listed-event {
    position: relative;
    padding-right: 38px !important;
}

#mycalendar .calendar-delete-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #b30000;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1;
    padding: 3px 6px;
    cursor: pointer;
    z-index: 10;
}

    #mycalendar .calendar-delete-btn:hover {
        background: #fff;
        color: #d00000;
    }

/* =========================================================
   Waiver formatting
========================================================= */

.waiver-text {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    line-height: 1.5;
    font-size: 15px;
}

.waiver-box {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    padding: 15px;
}