/*
Theme Name: WSP Digital Signage
Description: Digital signage frontend.
Version: 0.1.0
Author: Unified-IT
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
}
button {
    appearance: none;
    -webkit-appearance: none;

    border: none;
    outline: none;

    background: none;

    box-shadow: none;

    font: inherit;
    cursor: pointer;
}

.signage-test h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.signage-test p {
    font-size: 28px;
}

.sectionheader{
    background-color:#df002f;
    color: #fff;
    text-align: center;
    height: 60px;
    font-size: 36px;
    padding: 5px 0;
    margin-bottom: 0 !important;
    font-weight: 300;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif;
}
.traffic-layout {
    height: 100%;
    width: 100%;
}
#traffic-map {
    width: 100%;
    height: 100%;

}

.local-amenities-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.local-amenities-main {
    width: 100%;
    height: 85%;
    display: flex;
}

#local-amenities-map {
    width: 75%;
    height: 100%;
}

#local-amenities-list {
    width: 25%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}
.local-amenity-item {
    box-sizing: border-box;
    padding: 18px 15px;
    min-height: 90px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}
.local-amenity-name {
    color:#df002f; font-weight: bold;
}
.local-amenity-item strong {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
}

.local-amenity-item div {
    font-size: 15px;
    line-height: 1.4;
}

.local-amenity-item:hover {
    background: #f5f5f5;
}

.local-amenity-item.selected {
    border-left: 6px solid #df002f;
    padding-left: 9px;
    background: #f5f5f5;
}
#reset-amenities-map {
    width: 100%;
    height: 50px;
    border: none;
    cursor: pointer;
    font-size: 18px;
}
.local-amenities-controls {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: stretch;
}

#amenity-filters {
    flex: 1;
    display: flex;
    gap: 5px;
}

.amenity-filters {
    flex: 1;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.local-amenity-item.selected {
    font-weight: bold;
}
#reset-amenities-map {
    width: 120px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
#amenity-filters {margin-left: 10px; margin-top: 10px;}
#amenity-filters button {
    appearance: none;
    -webkit-appearance: none;

    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 20px;

    padding: 8px 18px;

    font-size: 18px;
    font-weight: 500;

    color: #333;

    box-shadow: none;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

#amenity-filters button:hover {
    background: #e5e5e5;
}

#amenity-filters button.active {
    background: #333;
    border-color: #333;
    color: #fff;
}
#reset-amenities-map {
    background:#df002f;
    color: #fff;
}
/* ==========================================
   Directory
   ========================================== */
.directory-layout {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.directory-list {
    width: 100%;
}

.directory-row {
    display: grid;
    grid-template-columns: 1fr 180px;
    align-items: center;

    min-height: 70px;

    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
     font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif;
     font-weight: 400;
}

.directory-header-row {
    min-height: 55px;

    font-size: 30px;
    font-weight: 600;
    padding-top: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #333;
}
.directory-row {
    font-size: 33px;
}
.directory-company {
    padding-left: 40px;
}

.directory-suite {
    text-align: center;
    padding-right: 40px;
}

/* ==========================================
   Building Ammenities
   ========================================== */
.building-amenity {
    display: flex;
}
.building-amenity-icon {
    padding: 20px;
    align-content: center;
}
.building-amenity-content {
    padding: 10px;
}
.building-amenity-content h2 {font-size: 26px; color:#df002f;}
.building-amenity-content p {
    font-size: 20px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif;
}
/* ==========================================
   WEATHER
   ========================================== */

.weather-strip {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    box-sizing: border-box;
    padding-top: 10px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif;
}


.weather-day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}


/* Day name */

.weather-day-name {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
}


/* Weather icon */

.weather-icon {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 8px;
}


/* Temperatures */

.weather-temperatures {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 300;
}


.weather-high {
    font-weight: 400;
}


.weather-low {
    opacity: 0.6;
}


/* Error state */

.weather-error {
    width: 100%;
    text-align: center;
    font-size: 20px;
    opacity: 0.7;
}

.signage-content {
    display: flex;
    width: 100%;
    height: 99vh;
}

.signage-main {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 43%;
    min-height: 0;
}

#screen-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

#stock-ticker {
    flex: 0 0 20px;
    z-index: 999;
    background-color: #fff;
    padding-top: 30px;
    height: 40px;
}

.signage-sidebar {
    flex: 0 0 57%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    background-image: url('assets/images/sidebar-grey.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sidebar-header {
    flex: 0 0 145px;
    background-color: #464648;
    text-align: center;
    color: #fff;
    font-size: 46px;
    font-weight: 300;
    box-sizing: border-box;
    padding: 10px;
     font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif;
}

.sidebar-tv {
    flex: 0 0 565px;
    box-sizing: border-box;
    padding-left: 60px;
}

.sidebar-navigation {
    flex: 0 0 220px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
    box-sizing: border-box;
     font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif;
}
.sidebar-navigation button {
    width: 100%;
    height: 100%;
    
    border: none;
    border-radius: 15px;

    background: #df002f;
    color: #ffffff;

    font-family: inherit;
    font-size: 38px;
    font-weight: 300;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;
    box-sizing: border-box;
}
.sidebar-navigation button:active {
    transform: scale(0.98);
}
#weather-strip {
    flex: 1;
    min-height: 0;
    background-color: #fff;
}


#location-address {
    line-height: 1.2;
    font-size: 46px;
    font-weight: 300;
}

#current-date-time {
    line-height: 1.2;
    font-size: 46px;
    font-weight: 300;
}

.weather-high {
    color: red;

}
.weather-low {
    color: #0202ff;
}

/* ==========================================
   Space Available
   ========================================== */

   .space-available-layout {
    width: 100%;
    height: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}
.space-available-details {
    flex: 1;
    text-align: center;
}
   .space-suite {text-align: center; font-size: 23px; font-weight: 500; margin: 10px;}
    .space-floor-plan {
        display: flex;
        justify-content: center;
        height: 660px;
    }
    .space-floor-plan img {
        max-height: 650px;
    }
    .space-available-buttons {
        display: flex;
        justify-content: center;
        margin: 10px;
    }
    .space-available-contacts{
        display:flex;
        justify-content: space-evenly;
    }
    .space-contact-block {
        text-align: center; 
    }
.space-available-button {
    appearance: none;
    -webkit-appearance: none;

    background: transparent;
    border: 2px solid #ccc;
    border-radius: 0;

    padding: 12px 15px;

    font-size: 22px;
    font-weight: 600;

    color: #333;

    cursor: pointer;

    box-shadow: none;
    transition: background-color 0.15s ease,
                color 0.15s ease,
                border-color 0.15s ease;
}

.space-available-button:hover {
    background: #f2f2f2;
}

.space-available-button.active {
    background: #df002f;
    border-color: #a30023;
    color: #fff;
}
.space-content-block {font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif;}
.space-content-block h2 {font-size: 20px;}
#managed-by, #leased-by {line-height: 1.2;}
.contact-name {font-weight: bold;}
/* ==========================================
   Tenant Perks
   ========================================== */
    .tenant-perk {text-align: center; margin: 20px; max-height: 820px;}
    .tenant-perk img {max-height: 90%; max-width: 90%;}
    .tenant-perks-controls {display: flex; justify-content: center; margin: 20px;}
    #tenant-perk-previous,
#tenant-perk-next {
    appearance: none;
    -webkit-appearance: none;

    width: 55px;
    height: 55px;

    padding: 0;

    border: 1px solid #ccc;
    border-radius: 50%;

    background:#df002f;
    color: #fff;

    font-size: 36px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: none;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}

#tenant-perk-previous:hover,
#tenant-perk-next:hover {
    background:#a30023;
    border-color: #aaa;
}
.tenant-perks-empty {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tenant-perks-empty-message {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    font-size: 32px;
    font-weight: 300;
}

/* ==========================================
   STOCK TICKER OFFLINE
   ========================================== */

.stock-ticker-offline {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: 600;
}