@charset "utf-8";

/* ============================================================
   GLOBAL RESET & TYPOGRAPHY (Apple Style – Option C)
============================================================ */

/* Full global reset */
html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 17px !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    background: transparent;
    color: #222;
    color-scheme: light !important; /* Prevents dark-mode shrinking */
}

/* Unified text elements */
p,
.text-normal,
#slt-page p,
#slt-page .text-normal {
    font-size: 17px !important;
    line-height: 1.58 !important;
    margin-bottom: 16px;
}

a {
    text-decoration: none;
    color: #939598;
}
a:hover {
    text-decoration: none;
}

/* Titles */
#slt-page .section-title {
    font-size: 34px !important;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

#slt-page .section-sub {
    font-size: 21px !important;
    font-weight: 600;
    margin-top: 28px;
}

/* Links inside panel */
#slt-page a {
    font-size: 17px !important;
}

/* ============================
   GLOBAL LISTS, TABLES, INPUTS
============================ */
ul, ol { list-style: none; }

fieldset, img { border: 0; }

button, input, select, textarea {
    font-family: inherit !important;
    font-size: inherit !important;
}

/* ============================
   LIGHT MODE OVERRIDES
============================ */
.panel-footer {
    background: #000;
    color: #ccc;
}

/* ============================
   DARK MODE OVERRIDES
============================ */
@media (prefers-color-scheme: dark) {

    /* Prevent browser auto-dark rendering changes */
    html, body {
        font-size: 17px !important;
        line-height: 1.58 !important;
        color: #e5e5e5 !important;
        color-scheme: light !important;
    }

    a {
        color: #b5b7bb;
    }

    .panel-footer {
        background: #000;
        color: #aaa;
    }

    .picshade {
        background-color: #000 !important;
    }

    #slt-page p,
    #slt-page .text-normal {
        color: #eee !important;
    }

    #slt-page .section-title,
    #slt-page .section-sub {
        color: #ff9955 !important;
    }

    #slt-page a {
        color: #ff9955 !important;
    }
}

/* ============================================================
   RESPONSIVE LAYOUT & HOMEPAGE PANEL ALIGNMENT
============================================================ */

.row[name="carousel"] .col-lg-12 {
    padding: 0 !important;
}
.row[name="carousel"] .col-lg-12 img {
    width: 100%;
    height: auto;
}

.customContent {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .customContent { max-width: 95%; }
}
@media (max-width: 600px) {
    .customContent {
        max-width: 100%;
        padding: 10px;
    }
}

/* Homepage panel spacing */
[name="customContent"] .col-lg-12 {
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 768px) {
    [name="customContent"] .col-lg-12 {
        margin-top: 30px;
    }
}

/* ============================================================
   PIC EYES IMAGE VIEWER
============================================================ */

.picshade {
    position: fixed;
    inset: 0;
    background-color: #000;
    opacity: 0.91;
    z-index: 99;
    display: none;
}

.pictures_eyes_close {
    position: fixed;
    top: 70px;
    right: 30px;
    width: 26px;
    height: 26px;
    background: url(../images/core/close.png) no-repeat;
    z-index: 1001;
    display: none;
    cursor: pointer;
}

.pictures_eyes {
    position: fixed;
    width: 100%;
    left: 0;
    top: 10vh !important;
    z-index: 199;
    display: none;
}

.pictures_eyes_in {
    position: relative;
    text-align: center;
}

.pictures_eyes_in img {
    max-height: 500px;
}

.pictures_eyes_in .prev,
.pictures_eyes_in .next {
    position: absolute;
    top: 50%;
    width: 51px;
    height: 51px;
    cursor: pointer;
}

.pictures_eyes_in .prev {
    left: 35px;
    background: url(../images/core/Tleft.png) no-repeat;
}

.pictures_eyes_in .next {
    right: 35px;
    background: url(../images/core/Tright.png) no-repeat;
}

.pictures_eyes_indicators {
    position: fixed;
    left: 0;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 299;
}

.pictures_eyes_indicators a {
    display: inline-block;
    width: 70px;
    height: 70px;
    margin: 6px 3px 0;
    box-shadow: 0 0 2px rgba(0,0,0,0.4);
    opacity: 0.5;
    overflow: hidden;
}

.pictures_eyes_indicators img {
    width: 100%;
    height: 70px;
}

.pictures_eyes_indicators .current {
    opacity: 1;
}

/* Clearfix */
.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}
.clearfix::after {
    clear: both;
}
/* ===========================================================
   THEME-AWARE ALERT (works in light + dark mode)
=========================================================== */
.custom-alert {
    padding: 15px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Light mode */
@media (prefers-color-scheme: light) {
    .custom-alert {
        background: #e8f3ff;
        color: #003366;
        border: 1px solid #bcdcff;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .custom-alert {
        background: #1c1f24;
        color: #c9defa;
        border: 1px solid #2f3947;
    }
}

