/* Local Font */
    @font-face {
    font-family: anglo;
    /* src: url(/site/assets/fonts/aa.woff); */
    src: url(/site/assets/fonts/AASmartSans-Regular.woff);
  }

    @font-face {
    font-family: anglo-bold;
    src: url(/site/assets/fonts/AASmartSans-Bold.woff);
  }


  @font-face {
    font-family: anglo-head;
    src: url(/site/assets/fonts/AASmartSansHead-Light.woff);
  }

/* General styles */
  html body{
    font-family: anglo;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
}

.flex{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.centre{
    text-align: center;
}

.position{
    position: fixed;
    bottom: 0;
    width: 100%;

    height: auto;
}

.infoblock{
    margin-bottom: 1rem;
    width:  50%;
    float:  left;
}


.infopanel{
    position: absolute;
    top: 0;
    right: 0;
    padding: 0rem;
    color: #fff;
}

/*.updated2 {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0 2rem;
    color:  #fff;
}*/

.updated p{
    position: absolute;
    top: 70px;
    right: 0;
    padding:  2rem;
    /*color: #031795;*/
}

.oneteam p {
    padding:  1rem 2rem;
    background: linear-gradient(to right top, #031795, #347ff6);
    border-radius: 0.75em 0 0 0.75em;
    font-size:  2rem;
}

.oneteam-bold {
    font-family: anglo-bold;
}

.fullscreen{
    /*position: fixed;*/
    /*bottom: 0;*/
    height:  100%;
    width: 100%;;
}

.bg-image{
    height: 100%;
    background-position: center;
    background-size: cover;
    /*height: 75%;*/
}

.bg-image-inset, .bg-image-inset-slim{
    background-position: center;
    background-size: cover;
    position: relative;
    top: -1.5rem;
    left: -1.5rem;
    /*height: 25%;*/
    height: 252px;
    padding: 1.5rem;
    width: 100%;
    display: inline-block;
}

.bg-image-inset-slim{
    top: -1.5rem;
    left: -1.5rem;
    height: 81px;
    padding: 1.5rem;
    width: 100%;
    display: inline-block;
}

.inset{
/*    top: -1.5rem;
    left: -1.5rem;
    padding: 1.5rem;
    width: 100%;
    display: inline-block;*/
}

.inset > .info-wrapper{
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(3, 23, 149, 0.9), rgba(3, 23, 149, 0.0));
    position: relative;
    top: -1.5rem;
    left: -1.5rem;
    width: 100%;
}

/****** playing with big number layout without image *****/
.bg-image-blue{
    height: 100%;
    /*padding: 1rem;*/
    background-image: url(/site/assets/images/wrapper-bg.png);
/*     background-position: center; */
    background-position: bottom;
    background-size: cover;
}

.grid-wrapper-6{
    padding: 1rem;
    /*padding: 1rem;*/
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position:  relative;
}

.grid-wrapper-8{
    padding: 1rem;
    /*padding: 1rem;*/
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position:  relative;
}

/***************/

/* Header title styles */
.info-wrapper{
    padding: 2rem;
    /*background-color: rgba(3, 23, 149, 0.7);*/
    background: linear-gradient(to right, rgba(3, 23, 149, 0.9), rgba(3, 23, 149, 0.0) 50%);
    position: relative;
}

.info{
    padding: 1rem;
    /*background-color: rgba(3, 23, 149, 0.7);*/
    /*width:  100%;*/
    grid-column: span 3;
    position:  relative;
}

.mine-title{
    font-size: 3rem;
    color: #347ff6;
    margin: 0;
}

.mine-title img{
    height:  130px;
}

.shaft-title{
    font-family: anglo-head;
    font-size: 5.5rem;
    color: #fff;
    margin: 0;
}

/* Data wrapper styles */
.blue-grid-wrapper, .blue-grid-wrapper-1, .blue-grid-wrapper-6{
    padding: 1rem;
    background-image: url(/site/assets/images/wrapper-bg.png);
/*     background-position: center; */
    background-position: bottom;
    background-size: cover;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blue-grid-wrapper-6{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blue-grid-wrapper-6.remove-bg, .blue-grid-wrapper-1.remove-bg{
        background-image: none;

}

.blue-grid-wrapper-1{
    grid-template-columns: repeat(1, minmax(0, 1fr));
}


.data-wrapper:first-of-type{
    grid-column: span 2 / span 2;
}

.data-wrapper{
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Individual squares */
.data-square{
    position: relative;
    padding: 1.5rem;
    margin:1rem;
    /*background: rgba(3, 23, 149);*/
    border:  1px solid #347ff6;
    overflow:  clip; /* added to clip graph background image */
}

.data-square table{
    width:100%;
    color: black;
    table-layout: fixed;
    font-size: 2em;
}

.data-square table tr:first-child td{
    background-color: #347ff6;
    color: white;
}

.data-square table td{
    text-align: center;
    font-size: 0.8em;
}

.data-square table tr:nth-child(odd){
    background-color: #9cbcef;
}
.data-square table tr:nth-child(even){
    background-color: #cbdaf1;
}

.bus-info{
    color:white;
}

.bus-button{
    text-align: center;
    background-color: #cbdaf1;
    padding:2em;
    margin:1em 2em;
}

.bus-button .sub-title{
        color: #1a5ecb !important;
        font-weight: bold;
}

.highlight{
    background-color:#6fe1b8 !important;
}

.timetable-link{
    text-decoration: none !important;
}

.graph-header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url(/site/assets/images/graph-header.png?v=2);
    background-position: center;
    /*background-size: 1%;*/
    z-index: 2;
    /*background-blend-mode: color-burn;*/
}

.graph-header-wide{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-image: url(/site/assets/images/graph-header.png?v=2);
    background-position: center;
    /*background-size: 1%;*/
    z-index: 2;
    /*background-blend-mode: color-burn;*/
}

/* background in image rather than applied to div background */
.graph-bg{
    position: absolute;
    background-size:  cover;
    background-position: bottom right;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.data-square > .sub-title, .infoblock .sub-title, .bus-button .sub-title{
    margin: 0;
    color: #FFF;
    font-size: 1.4rem;
    z-index: 3;
}

.data-square > .title, .infoblock .title{
    color: #347ff6;
    font-size: 3.4rem;
    margin: 0;
    /*margin-top: 1rem;*/
    font-weight: 600;
    z-index: 3;
    /*text-shadow: rgba(3, 23, 149, 0.2) 0 2px 2px;*/
    text-shadow: rgba(3, 23, 149, 0.8) 0 0px 7px;
}

.bg-image-inset .mine-title, .inset .mine-title, .bg-image-inset-slim .mine-title{
    font-size: 1.5rem;
    color: #347ff6;
    margin: 0;
}

.bg-image-inset .shaft-title, .inset .shaft-title, .bg-image-inset-slim .shaft-title{
    font-family: anglo-head;
    font-size: 2.7rem;
    color: #fff;
    margin: 0;
}

.bg-image-inset > .info-wrapper,  .bg-image-inset-slim > .info-wrapper-slim{
    padding: 1.5rem;
    /*background-color: rgba(3, 23, 149, 0.7);*/
    background: linear-gradient(to right, rgba(3, 23, 149, 0.9), rgba(3, 23, 149, 0.0));
    position: relative;
    bottom: -9.2rem;
    left: -1.5rem;
    width: 100%;
}

.bg-image-inset-slim > .info-wrapper-slim{
    position: relative;
    top: -1.5rem;
    /*left: -1.5rem;*/
    width: 100%;
}


.data-square > .text, .data-square p, .data-square li{
    color: #347ff6;
    font-size: 1.5rem;
    margin: 0;
    margin-top: 1rem;
}

/* Reposnsive */
@media only screen and (max-width: 1300px) {
   
    /* Individual squares */
    .data-square > .sub-title{
        font-size: 1rem;
    }
    
    .data-square > .title{
        font-size: 3rem;
    }

    .data-square > .text{
        font-size: 1rem;
    }

    /* Header title */
    .mine-title {
        font-size: 2.5rem;
    }
    
    .shaft-title{
        font-size: 4.5rem;
    }
}

.complete .graph-bg {
    background: linear-gradient(to right, rgba(100, 178, 70, 1), rgba(150, 228, 120, 1));
}

.complete .title{
    color:white;
}

.direction{

    position: absolute;
    top: 0;
    right: 0;
    background-color: #3498db; /* Background color for the "North" sticker */
    color: #fff !important; /* Text color for the "North" sticker */
    padding: 8px 12px; /* Adjust padding for the sticker */
    border-radius: 0 0 0 8px; /* Adjust border radius for rounded corners */
    margin-top:0 !important;

}