﻿/* ==========================================================================
   STL Pool - Consolidated Stylesheet (Mobile-First)
   ==========================================================================
   Replaces: css/mobile-first.css, css/site.css (shim), Content/Site.css
   ========================================================================== */

/* ==========================================================================
   1. BASE / RESET
   ========================================================================== */
html {
    background-color: #000;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    color: #aaa;
    font-size: 0.9rem;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    padding-top: 70px; /* Space for mobile header */
}

header, footer, hgroup,
nav, section {
    display: block;
}

/* ==========================================================================
   2. LINKS
   ========================================================================== */
a {
    color: #07A;
    outline: none;
    text-decoration: underline;
}

a:link, a:visited {
    color: #08B;
}

a:hover {
    color: #fff;
}

/* External-link indicator */
a[href^="http"] {
    background: url('../Images/external.gif') center right no-repeat;
    padding-right: 15px;
}

a[href^="http://www.stlpool.net"] {
    background: none;
    padding-right: 0;
}

/* Bootstrap buttons should keep white text when visited */
.btn a:visited,
a.btn:visited,
a.btn:link,
.btn-primary,
.btn-primary:visited,
.btn-primary:link,
.btn-outline-primary:visited {
    color: #fff;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: #aaa;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

h5 a:link, h5 a:visited, h5 a:active {
    padding: 0;
    text-decoration: none;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
    border-top: none;
    padding-bottom: 5px;
}

#body {
    background-color: #000;
    clear: both;
    padding-bottom: 5px;
}

.main-content {
    background-color: #000;
    background: linear-gradient(to right, #333 0%, #000 100%);
    border: 1px solid white;
    border-radius: 15px;
    color: #aaa;
    padding: 1rem;
    margin: 1rem;
}

.container-fluid {
    padding-top: 0;
}

.float-left  { float: left; }
.float-right { float: right; }

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/* Content & Sidebar */
article {
    float: left;
    width: 80%;
}

article.indented {
    padding-left: 25px;
}

aside {
    float: right;
    width: 17%;
}

aside a[href^="http"] {
    background: url('../Images/external.gif') center left no-repeat;
    padding-left: 15px;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    background: url("../Images/bullet.png") no-repeat 0 50%;
    padding: 2px 0 2px 20px;
}

/* ==========================================================================
   5. MOBILE HEADER & NAVIGATION
   ========================================================================== */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: linear-gradient(to bottom, #4c4c4c 0%, #131313 100%);
    border-bottom: 1px solid #fff;
    padding: 0.5rem 0;
}

.header-logo img {
    max-height: 50px;
    width: auto;
}

.headerImage {
    background-color: transparent;
}

.headerImage:hover {
    background-color: transparent;
}

.navbar-toggler {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.25rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Offcanvas Menu */
.offcanvas {
    background-color: #2e2e2e;
    color: #fff;
}

.offcanvas-header {
    background: linear-gradient(to bottom, #4c4c4c 0%, #131313 100%);
    border-bottom: 1px solid #555;
}

.offcanvas-title {
    color: #fff;
    font-size: 1.2rem;
}

.btn-close {
    filter: invert(1);
}

/* Mobile Accordion Menu */
.accordion-item {
    background-color: transparent;
    border: 1px solid #555;
    margin-bottom: 0.5rem;
}

.accordion-button {
    background-color: #333;
    color: #fff;
    border: none;
    text-decoration: none;
    padding: 1rem;
    display: block;
    width: 100%;
}

.accordion-button:not(.collapsed) {
    background-color: #069;
    color: #fff;
}

.accordion-button:hover {
    background-color: #069;
    color: #fff;
}

.accordion-body {
    background-color: #2a2a2a;
    padding: 0.5rem;
}

.accordion-body .nav-link {
    color: #aaa;
    padding: 0.5rem 1rem;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #444;
}

.accordion-body .nav-link:hover {
    background-color: #069;
    color: #fff;
}

/* ==========================================================================
   6. FEATURED SECTION & CAROUSEL
   ========================================================================== */
.featured {
    background-color: #000;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #0094ee;
    border-radius: 15px;
}

.featured h1, .featured h2, .featured h3,
.featured hgroup.title h1, .featured hgroup.title h2 {
    color: #0094ee;
}

.featured p {
    font-size: 1.1em;
}

.featured-card {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    border: 1px solid #0094ee;
    color: #aaa;
    margin: 0 1rem;
    min-height: 200px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #0094ee;
    border-radius: 50%;
    padding: 1rem;
}

section.feature {
    width: 300px;
    float: left;
    padding: 10px;
    padding-top: 0;
}

/* ==========================================================================
   7. HOME PAGE - HERO, EVENTS, RESULTS
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0094ee 0%, #069 100%);
    color: white;
    padding: 1rem 0;
    margin-top: 2em;
    margin-bottom: -1rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.section-title {
    color: #0094ee;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Event Cards */
.event-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #555;
    border-radius: 8px;
    background: rgba(51, 51, 51, 0.3);
}

.event-date {
    background: #0094ee;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    min-width: 60px;
    margin-right: 1rem;
}

.event-details { flex: 1; }

.event-title {
    color: #0094ee;
    margin-bottom: 0.5rem;
}

.event-description {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Result Cards */
.result-card {
    padding: 1.5rem;
    border: 1px solid #555;
    border-radius: 8px;
    background: rgba(51, 51, 51, 0.3);
}

.result-title {
    color: #0094ee;
    margin-bottom: 0.5rem;
}

.result-date {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    border-left: 3px solid #0094ee;
}

.result-item h4 {
    color: #0094ee;
    font-size: 1rem;
}

.position-badge {
    background: #069;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.5rem;
    min-width: 35px;
    text-align: center;
}

.player-link {
    color: #0094ee;
    text-decoration: none;
}

.player-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ==========================================================================
   8. CARDS (Bootstrap overrides for dark theme)
   ========================================================================== */
.card {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    border: 1px solid #555;
    color: #aaa;
}

.card-header {
    background: rgba(0, 148, 238, 0.1);
    border-bottom: 1px solid #0094ee;
}

.card-title {
    color: #0094ee;
}

.card-footer {
    background: rgba(51, 51, 51, 0.3);
    border-top: 1px solid #555;
    text-align: center;
}

/* ==========================================================================
   9. DATA SECTIONS & SIDEBAR
   ========================================================================== */
.data-section {
    background-color: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.data-section img {
    max-width: 100%;
    height: auto;
}

.sidebar-content {
    margin-top: 1rem;
}

.sidebar-section {
    background-color: rgba(51, 51, 51, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.sidebar-section h3 {
    color: #0094ee;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.sidebar-section ul {
    list-style: none;
    padding: 0;
}

.sidebar-section ul li {
    background: url("../Images/bullet.png") no-repeat 0 50%;
    padding: 2px 0 2px 20px;
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   10. BUTTONS
   ========================================================================== */
.btn {
    border-radius: 5px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-primary {
    border: 1px solid #0094ee;
    color: #0094ee;
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: #0094ee;
    color: #fff;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   11. FORMS
   ========================================================================== */
label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

label.checkbox {
    display: inline;
}

input, textarea, select {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1rem;
    margin: 5px 0 6px 0;
    padding: 0.5rem;
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
}

textarea {
    font-family: inherit;
    width: 500px;
}

input:focus, textarea:focus {
    border: 2px solid #7ac0da;
    outline: none;
}

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    margin-right: 8px;
    width: auto;
}

td input[type="submit"],
td input[type="button"],
td button {
    font-size: 1em;
    padding: 4px;
    margin-right: 4px;
}

.form-horizontal {
    width: 100%;
    padding: 5px;
    margin: auto;
}

.form-row {
    height: 75px;
    display: block;
}

.form-row-captcha {
    height: 135px;
    display: block;
}

.float-Control {
    float: left;
    padding-right: 5px;
}

.control-label {
    display: block;
    height: 25px;
}

.control-section {
    height: 25px;
    display: block;
}

textarea.htmlEditor {
    height: 300px;
    width: 600px;
}

/* Validation */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

/* ==========================================================================
   12. TABLES
   ========================================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.75em;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
}

th, td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #555;
}

th {
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

th a {
    display: block;
    position: relative;
}

th a:link, th a:visited, th a:active, th a:hover {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
}

th a:hover {
    color: #000;
}

th.asc a, th.desc a {
    margin-right: .75em;
}

th.asc a:after, th.desc a:after {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.75em;
}

th.asc a:after  { content: '▲'; }
th.desc a:after { content: '▼'; }

tr.pager td {
    padding: 0 0.25em 0 0;
}

/* ==========================================================================
   13. JQUERY UI ACCORDION (Events)
   ========================================================================== */
#accordion .ui-accordion-header {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

#accordion .ui-accordion-header:hover {
    background: #069;
}

#accordion .ui-accordion-content {
    background: #2a2a2a;
    color: #aaa;
    border: 1px solid #555;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.ui-state-default .ui-icon {
    background-image: url("../Images/ui-icons_cccccc_256x240.png");
}

.ui-state-active .ui-icon {
    background-image: url("../Images/ui-icons_888888_256x240.png");
}

/* Mobile Accordion Improvements */
.mobile-accordion .accordion-item {
    border: 1px solid #555;
    border-radius: 8px;
    background-color: rgba(51, 51, 51, 0.3);
    overflow: hidden;
}

.mobile-accordion .accordion-header {
    background: #333;
    color: #fff;
    padding: 0.75rem;
    margin: 0;
    font-size: 0.95rem;
    cursor: pointer;
    border-bottom: 1px solid #555;
}

.mobile-accordion .accordion-content {
    padding: 0.75rem;
    background: #2a2a2a;
}

/* ==========================================================================
   14. MESSAGES & ERRORS
   ========================================================================== */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* ==========================================================================
   15. ARTICLE STYLES
   ========================================================================== */
.articleHeader {
    text-align: center;
}

.articleTitle {
    font-size: xx-large;
}

.articleByLine {
    font-size: small;
    margin-left: 20px;
}

.article-link a {
    padding: 0.5rem;
    border-radius: 5px;
    background-color: rgba(51, 51, 51, 0.2);
    border-left: 3px solid #0094ee;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.article-link a:hover {
    background-color: rgba(0, 148, 238, 0.1);
}

/* ==========================================================================
   16. MISCELLANEOUS
   ========================================================================== */
.label {
    font-weight: 700;
}

.contact h3 { font-size: 1.2em; }
.contact p   { margin: 5px 0 0 10px; }

.lightBorderRow {
    border-top: solid 1px silver;
    border-bottom: solid 1px silver;
}

.linkSidebar  { text-align: right; }
.locTable     { width: 99%; }

.tableRow    { background-color: transparent; border: 1px solid #ccc; }
.tableRowAlt { background-color: #333;        border: 1px solid #ccc; }

.tableHeader a {
    background-color: silver;
    color: #333;
}

.gridImage {
    max-height: 150px;
    max-width: 150px;
    border: none;
    padding: 3px;
}

.newsItem { padding: 5px; }
.shortText { width: 100px; }

/* Badge Styling */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.bg-secondary {
    background-color: #6c757d !important;
}

/* Section Headers */
.section-header     { text-align: center; }
.section-header img { max-width: 200px; height: auto; }

/* List Improvements */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Loading Overlay */
.loading {
    display: none;
    position: fixed;
    left: 45%;
    top: 30%;
    width: 250px;
    height: 250px;
    background: rgba(5,5,5,0.5);
    background-image: linear-gradient(to right, #555 0%, #111 100%);
    z-index: 1000;
}

.loadingcontent {
    display: table;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.loadingspinner {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    text-align: center;
    font-size: larger;
    padding-top: 80px;
    color: white;
}

/* Expander plugin */
.content   { display: none; padding: 15px; }
.expander  { font-size: 1.25em; }

#container.expanded .expander {
    padding-left: 13px;
    background: url(../Images/expanded.gif) left center no-repeat;
}

#container.collapsed .expander {
    padding-left: 13px;
    background: url(../Images/collapsed.gif) left center no-repeat;
}

/* Ads/logo layout */
#divAds {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

#divAds > p          { flex: 1 1 100%; margin: 0 0 8px 0; }
#divAds > div        { float: none !important; flex: 0 1 auto; display: flex; align-items: center; }
#divAds img          { max-width: 220px; height: auto; display: block; }
#divAds > div p      { margin: 0 12px 0 0; color: #ccc; }

/* Site title */
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 0;
}

.site-title a, .site-title a:hover, .site-title a:active {
    background: none;
    color: #c8c8c8;
    outline: none;
    text-decoration: none;
}

/* Login */
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

#login a {
    background-color: #d3dce0;
    margin-left: 10px;
    margin-right: 3px;
    padding: 2px 3px;
    text-decoration: none;
}

#login a.username {
    background: none;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

#login ul { margin: 0; }
#login li { display: inline; list-style: none; }

/* Page titles */
hgroup.title    { margin-bottom: 10px; }
hgroup.title h1,
hgroup.title h2 { display: inline; }
hgroup.title h2 { font-weight: normal; margin-left: 3px; }

/* Footer */
footer {
    background-color: #000;
    color: #aaa;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 2rem;
    clear: both;
}

/* ==========================================================================
   17. RESPONSIVE - SMALL SCREENS (< 1024px)
   ========================================================================== */
@media (max-width: 480px) {
    #divAds img { max-width: 140px; }
}

@media (max-width: 1023px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .result-card {
        padding: 1rem;
    }

    .event-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   18. RESPONSIVE - DESKTOP (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    body {
        font-size: 1rem;
        padding-top: 75px;
    }

    .container-fluid {
        padding-top: 45px;
    }

    .mobile-header {
        display: none;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .sidebar-content {
        margin-top: 0;
    }

    table {
        display: table;
        white-space: normal;
    }

    .main-content {
        max-width: 960px;
        margin: 0 auto;
        padding: 2rem;
        border-radius: 25px;
    }

    /* Desktop Header & Navigation */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: linear-gradient(to bottom, #4c4c4c 0%, #131313 100%);
    }

    .headerSpacer {
        text-align: center;
        margin: 0 auto;
        height: 100px !important;
        background: linear-gradient(to bottom, #4c4c4c 0%, #131313 100%);
    }

    .headerBar {
        border-top: solid 1px #fff;
        border-bottom: solid 1px #fff;
        height: 35px !important;
        background: linear-gradient(to bottom, #4c4c4c 0%, #131313 100%);
    }

    .headerImage {
        position: relative;
        top: -138px;
        float: right;
        height: 99px;
    }

    .navigation {
        margin: 0 auto;
        max-width: 960px;
        position: relative;
    }

    .nav {
        position: absolute;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-wrap: nowrap;
        padding: 0;
        list-style: none;
        margin: 0;
        z-index: 1001;
        width: auto;
        height: 35px;
        align-items: center;
    }

    .nav li {
        float: left;
        width: 150px;
        position: relative;
    }

    .nav li a,
    .nav li span {
        color: #fff;
        display: flex;
        align-items: center;
        padding: 0 8px;
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        height: 35px;
    }

    .nav li a:hover,
    .nav li span:hover {
        color: #fff;
        background-color: #069;
    }

    /* Desktop Submenu */
    .nav ul {
        display: none;
        position: absolute;
        margin-left: 0;
        list-style: none;
        padding: 0;
        top: 100%;
        left: 0;
        z-index: 9999;
    }

    .nav li:hover > ul {
        display: block;
    }

    .nav ul li {
        width: 150px;
        float: left;
    }

    .nav ul a {
        display: block;
        height: 27px;
        padding: 7px 8px;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid #222;
        background: #333;
        font-size: 14px;
    }

    .nav ul li a:hover {
        color: #fff;
        background-color: #069;
    }

    /* Featured */
    .featured {
        width: 600px;
        margin: 0 auto;
        margin-bottom: 5px;
        border-radius: 20px;
    }

    /* Event & Result Cards */
    .event-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .result-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Accordion */
    .mobile-accordion .accordion-header {
        font-size: 1rem;
        padding: 1rem;
    }

    .mobile-accordion .accordion-content {
        padding: 1rem;
    }

    .section-header img {
        max-width: 250px;
    }

    /* Desktop image replacements */
    .upcoming-events-title {
        text-indent: -9999px;
        background: url('../images/upcoming.png') no-repeat center;
        background-size: contain;
        height: 40px;
        margin: 0;
    }

    .recent-results-title {
        text-indent: -9999px;
        background: url('../images/recentresults.png') no-repeat center;
        background-size: contain;
        height: 40px;
        margin: 0;
    }

    .hero-title {
        text-indent: -9999px;
        background: url('../images/stlpool.png') no-repeat center;
        background-size: contain;
        height: 80px;
        margin: 0;
    }

    .hero-subtitle {
        text-indent: -9999px;
        background: url('../images/tagline.png') no-repeat center;
        background-size: contain;
        height: 30px;
        margin: 0;
    }

    .hero-section {
        background: none;
    }
}

/* ==========================================================================
   19. LARGE DESKTOP (>= 1200px)
   ========================================================================== */
@media (min-width: 1200px) {
    .main-content {
        max-width: 1140px;
    }
}

/* ==========================================================================
   20. PRINT
   ========================================================================== */
@media print {
    .mobile-header,
    .offcanvas,
    header,
    footer {
        display: none;
    }

    body {
        background: white;
        color: black;
        padding-top: 0;
    }

    .main-content {
        border: none;
        background: white;
        color: black;
    }
}