@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

#showDescription {
    display: none;
    margin-top: 0.8vw;
}

#departureBoard {
    padding-right: 25px;
    padding-left: 25px;
}

.departureBoardBackground {
    height: 100%;
    position: fixed;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-top: 15px;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-color: #195F91;
    color: #ffffff;
    /* color: #16216c; #161a57;*/
    background-image: url(img/Background.png);
    background-size: cover;
    background-position: center;
    background-repeat: repeat-y;
    font-family: 'Figtree', sans-serif;
}

#header {
    margin-bottom: 18px;
    line-height: normal;
}

.logoImage {
    max-height: 4.5vw;
    filter: drop-shadow(3px 5px 4px rgb(0 0 0 / 0.75));
}

.departureTitle {
    font-size: 4vw;
    padding: 0;
    vertical-align: top;
    text-align: right;
    margin-top: -10px;
    padding-right: 25px;
    padding-left: 25px;
    color: #FFFFFF;
    text-shadow: #048 1px 0 10px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 10vw;
    z-index: 101;
}

#timestamp {
    text-align: right;
    font-size: 1.8vw;
    vertical-align: bottom;
    color: #FFFFFF;
    margin-bottom: 0;
    text-shadow: #000 1px 0 10px;
    font-variant-numeric: tabular-nums;
    opacity: 0.6;
}

.timestampContainer {
    bottom: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Aligns content to the right */
}

.descriptionContainer {
    background: rgba(1, 60, 123, 0.8);
    margin-bottom: 15px;
    box-shadow: 7px 10px 9px 0px rgba(22, 26, 87, 1);
    padding: 20px;
    overflow: auto;
}

.descriptionImage {
    width: 25%;
    margin-left: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(22, 26, 87, 1)
}

.descriptionShowName {
    text-shadow: #024 1px 0 10px;
    font-size: 3.25vw;
    font-weight: 500;
    line-height: 100%;
}

.descriptionCompanyName {
    font-size: 2.2vw;
    display: inline-block;
    margin-bottom: 1.2vw;
    text-shadow: #024 1px 0 10px;
    font-weight: 300;
    opacity: 0.8;
}

.descriptionBlurb {
    font-size: 1.8vw;
    font-weight: 400;
    text-align: justify;
    font-style: italic;
}

.descriptionPrices {
    font-size: 1.5vw;
    display: inline-block;
    margin-top: 0.9vw;
    opacity: 0.8;
}

.descriptionReview {
    margin-top: 0.8vw;
    line-height: 1.4;
}

.reviewRating {
    font-size: 1.8vw;
    font-weight: 600;
    color: #ffd700;
    text-shadow: #024 1px 0 5px;
    margin-right: 0.5vw;
}

.reviewOrganisation {
    font-size: 1.4vw;
    font-weight: bold;
    color: white;
    text-shadow: #024 1px 0 5px;
    margin-right: 0.5vw;
}

.reviewQuote {
    font-size: 1.4vw;
    font-weight: normal;
    font-style: italic;
    color: #ffffff;
    text-shadow: #024 1px 0 5px;
    quotes: initial;
}

.venueRow {
    background: rgba(1, 60, 123, 0.8);
    margin-bottom: 24px;
    box-shadow: 7px 10px 9px 0px rgba(22, 26, 87, 1);
    /* border: solid 1px rgba(22,26,87,1); */
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: #048 1px 0 10px;
    min-width: 0;
    /* This stops the row overflowing off the screen */
    max-height: 30vh;
}

.venueRow div {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.venueShowTitle {
    font-size: 3.25vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    margin-bottom: -0.2em;
    margin-top: -0.2em;
    text-shadow: #024 1px 0 10px;
}

.venueShowCompany {
    font-size: 1.8vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
    font-weight: 300;
}

.venueName {
    font-size: 2.5vw;
    text-align: center;
    vertical-align: middle;
    opacity: 0.7;
    line-height: 105%;
}

.venueShowTime {
    font-size: 4vw;
    text-align: center;
    vertical-align: middle;
}

.venueShowTimePlaceholder {
    font-size: 3vw;
    text-align: center;
    vertical-align: middle;
}

.venueShowSoldOut {
    text-align: center;
}

.venueShowSoldOutImg {
    max-height: 6vw;
    margin-left: auto;
    margin-right: auto;
}

.venueDirection {
    font-size: 6vw;
    text-align: center;
    vertical-align: middle;
    opacity: 0.7;
}

.gly-rotate-45 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#venues {
    grid-auto-rows: 1fr;
    display: grid;
    height: 80vh;
    margin-top: 1em;
}

/* Energy Saving Screen Styles */
#energySavingScreen {
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.energy-saving-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#energySavingMessage {
    color: #666666;
    font-size: 3vw;
    font-weight: normal;
    margin: 0;
    padding: 20px;
}

/* Hero Image Screen Styles */
#heroImageScreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 100;
}

.heroContent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-left: 15px;
    padding-right: 15px;
}

.heroShowTitle {
    font-size: 3vw;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.8vw;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.heroCompanyName {
    font-size: 2.5vw;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.8;
}

.heroDescription {
    font-size: 1.2vw;
    font-weight: 300;
    font-style: italic;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.8vw;
    text-align: justify;
    line-height: 1.3;
    opacity: 0.9;
}

.heroReviews {
    margin-bottom: 0.8vw;
}

.heroReviews .descriptionReview {
    margin-top: 0.4vw;
}

.heroReviews .reviewRating,
.heroReviews .reviewOrganisation,
.heroReviews .reviewQuote {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.heroReviews .reviewRating {
    font-size: 1.4vw;
}

.heroReviews .reviewOrganisation {
    font-size: 1.2vw;
}

.heroReviews .reviewQuote {
    font-size: 1.2vw;
}

.heroPrices {
    font-size: 1.8vw;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
}

#wifiDisconnectedIcon {
    text-align: left;
    font-size: 1.8vw;
    vertical-align: bottom;
    color: #FFFFFF;
    margin-bottom: 0;
    margin-right: 5px;
    text-shadow: #000 1px 0 10px;
    font-variant-numeric: tabular-nums;
    opacity: 0.6;
}