body {
    background-color: #fafafa;
    font-family: 'Open Sans', sans-serif;
  }

.btn:focus {
    outline: none!important;
    box-shadow: none!important;
  }

/************** BUTTONS **************/
.geomag-button{
    width:auto;
    padding: 5px 15px;
    background-color: #e8f2f6;
    color:black!important;
    display:flex;
    justify-content:center; align-items:center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition:smooth 0.4s;
    border:1px rgba(255, 255, 255, 0) solid;
    border-radius: 1px;
    font-size: clamp(18px, 5vw, 26px);
    max-width:75vw;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    font-weight:550!important;
  }

.wds-button{
    width:auto;
    padding: 5px 5px;
    background-color: hsl(43, 27%, 56%);
    color:rgb(255, 255, 255);
    display:flex;
    justify-content:center; align-items:center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition:smooth 0.4s;
    border:1px rgba(255, 255, 255, 0) solid;
    border-radius: 1px;
    font-size: clamp(14px, 3vw, 18px);
    max-width:75%;
    overflow:hidden;
    margin-top:auto!important;
    font-weight:550!important;
}

.geomag-button:hover{
    background-color: #eaeaea;
    color:black!important;
    transform: scale(1.025);
    border:1px rgba(255, 255, 255, 0) solid;
}
  
.wds-button:hover{
    background-color: #dbdbdb;
    transform: scale(1.05);
    border:1px rgba(255, 255, 255, 0) solid;
    color: rgb(110, 110, 110) !important;
}

.wds-button:focus {
    background-color: #dbdbdb;
    transform: scale(1.1);
    color: rgb(255, 255, 255) !important;
    outline: none; 
}


/************** TITLES **************/
.subtitle{
    width:auto;
    padding: 60px 25px;
    background-color: #002E40;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color:white!important;
    display:flex;
    justify-content:center; align-items:center;
    border:1px rgba(255, 255, 255, 0) solid;
    border-radius: 1px;
    font-size: clamp(18px, 5vw, 32px);
    max-width:75vw;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    }

.subtitle:hover{
    text-decoration: none!important;
}

.subtitle-obsinfo{
    width:100%;
    padding: 40px 25px;
    background-color: #002E40;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color:white!important;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius: 1px;
    font-size: clamp(18px, 5vw, 32px);
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.content-title{
    font-size:clamp(16px, 4vw, 24px);
}
  

/****************** ACCORDIANS ******************/
.accordian-bgs{
    display:flex;
    text-align:center;
    justify-content: center;
    background-color: hsl(43, 27%, 56%);
    padding:10px;
    font-size: 20px;
}

.accordian-bgs:hover{
    cursor: pointer;
}

.accordion-table {
    border-collapse: collapse;
    width: 100%!important;
}

table td:last-child {
    width: 100%;
}

.accordion-link {
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-overflow: ellipsis;
    white-space: normal; 
    overflow:hidden;
    color:#3693b8;
    text-decoration: none;
    font-weight:bold;
}



.no-border{
    border:none!important
}

td.break {
        word-break: break-word; /* Breaks words at the end of the line */
        overflow-wrap: break-word; /* Ensures long words or URLs break properly */
        hyphens: auto; /* Automatically hyphenates words if needed */
      }

.accordion-table th, .accordion-table td {
    background-color: #ffffff; 
    color:#002E40;
    text-align: left;
    padding: 8px;}

.accordion-table th {
    background-color: #002E40;
    color:white;
    font-weight: bold;
}

.geojson th {
    width:30%!important;
}

.accordion-table-container {
    margin: 20px 0;
}

.arrow {
    position: relative;
}

.arrow::after {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
}

.arrow[aria-expanded="true"]::after {
    content: " \25B2"; /* Up arrow */
}

.arrow[aria-expanded="false"]::after {
    content: " \25BC"; /* Down arrow */
}



.title-banner{
    background-color: #002E40;
    color:white;
    z-index:999;
    height:200px;
    max-height:60vh;
    display:flex;
    align-items: center;
    justify-content: center;
    text-align:center;
    padding-left:2vw;
    padding-right:2vw;
    border-radius:0;
    margin-top:clamp(3vh,15px,20px);
}

@media screen and (max-width: 998px) {
    .title-banner {
        margin-top:15px;
    }
}
@media screen and (max-width: 650px) {
    .title-banner {
        margin-top:-5px;
    }
}


.title-banner-secondary{
    background-color: #002E40;
    color:white;
    z-index:999;
    height:200px;
    max-height:60vh;
    align-items: center;
    display:flex;
    text-align:center;
    justify-content: center;
    margin-top:clamp(50px, 10vh, 70px);
    border-radius:0;
}

@media screen and (max-width: 650px) {
    .title-banner-secondary {
        margin-top:clamp(30px,10vh, 50px);
    }
}


.title-font {
    font-size: clamp(28px, 6vw, 36px);
    font-weight:550;
    padding-left:5px;
    padding-right:5px;
}

.background-map {
    height: 300px;
    max-height:50vh;
    background-image: url('/images/wmm-map.png');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat; 
    z-index:0;
    margin-bottom:50px;
    margin-top:60px;
    padding-top:0;
}

.main-nav{
    background-color: #fafafa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-nav{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1000px) {
    .content-nav {
        padding: 0px 3vw!important;
    }
}

@media screen and (max-width: 1000px) {
    .main-nav {
        padding: 0px 3vw!important;
    }
}

/************** FOR BGS LOGO **************/
.logo-size{
    display:flex;
    width:100%;
    align-items: start;
    justify-content: flex-start;
    min-height:clamp(40px,12vh, 80px);
    max-height:70px;
    max-width:50vw;
}

@media screen and (max-width: 755px) {
    .logo-size {
        max-height:60px
    }
}

@media screen and (max-width: 405px) {
    .logo-size {
        min-height:50px;
        max-width:50vw;
    }
}

/************** FOR FOOTER LOGOS **************/
.logo-height {
    height: 45px !important;
    object-fit: contain;
    margin-bottom: 5px;
    margin-top: 5px;
}

@media (max-width: 767px) {
    .logo-height {
        height: clamp(25px, 20vw, 40px) !important;
    }
}

@media (min-width: 1200px) {
    .logo-height {
        height: clamp(45px, 4vw, 70px) !important;
    }
    .border-right-xl {
        border-right: none !important;
    }
}


/************** LINKS **************/
.a-text {
    text-decoration: underline;
    color:inherit!important;
    font-weight:bold!important;
}

.a-text-normal {
    text-decoration: None;
    color:inherit!important;
}

.a-text-darker {
    text-decoration: none;
    color:hsl(43, 22%, 51%);
    font-weight:550;
    transition: transform 0.4s smooth;
}

.a-text-darker:hover{
    text-decoration: none;
    color:inherit;
    color:grey;
}


/***************** NAVBAR ******************/
.navbar-collapse-home{
    background-color: #fafafa!important;
    padding:10px;
    font-weight: 550;
}

.navbar-collapse-content{
    background-color: #002E40!important;
    padding:10px;
    font-weight: 550;
}

.bg-nav{
    background-color: #002E40;
}

.navbar-expand-md{
    border-bottom: 2px solid white!important;
}


/****************** UTILS ******************/
.large-margin{
    box-sizing: border-box;
    margin-left:10%;
    margin-right:10%;
    transform: translateY(-5vh)!important;
    width:80%;
    border-bottom: 6px solid #002E40;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.position-relative {
    position: relative;
  }
  
.position-absolute {
position: absolute;
}

.main{
    min-height: 77vh
}

.page-desc{
    justify-content:center;
    display:flex;
    text-align:center;
    font-weight:400;
    font-size: clamp(16px, 3vw, 20px);
    color: #002E40;
}

.white-border{
    border-bottom: 2px solid rgb(255, 255, 255);
}

.b-shadow{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.b-shadow-intense{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.img-width{
    max-width:clamp(100px, 8vw, 200px);
    width:100%;
}

.img-vh{
    position: relative;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    height:clamp(100px, 25vh, 300px);
    transition: transform 0.4s smooth!important;
}

/******************* CARDS *******************/
.card{
    background-color: #eff3f500!important;
    margin-bottom:10px!important;
    overflow-x: auto;
    border-radius:0;
}

.card-white {
    background-color: rgb(239, 244, 244) !important;
}

.card-white:hover{
    border: 1px solid #002e4085!important;
}

.card-title{
    color:#002E40!important;
}

.copyright-banner{
    background-color: #002E40;
    height:auto;
    padding:20px;
    width:100%;
    font-size: clamp(15px, 3vw, 19px);
}

.data-card{
    transition: transform 1s smooth;
}
.data-card:hover img{
    transform: scale(1.01)!important;
    cursor: pointer!important;
}

/******************* MAP *******************/
.map-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom:50px;
}

.map-body {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}


/******************* TABLES *******************/
.geomag-table{
    width: 100%!important;
    border-collapse: collapse!important;
    margin-bottom:30px!important;
}

.geomag-table th, td {
    padding: 8px!important;
    text-align: center!important;
}
.geomag-table th {
    color:white;
    background-color: #002E40!important;
    font-size: clamp(10px, 2vw, 16px)!important;
}

.geomag-table td {
    font-size: clamp(10px, 2vw, 16px)!important;
}

table, tr {
    border: 1px solid grey;
    border-left: none;
    border-right: none;
}


/******************* PAGINATION *******************/
.page-item.active .page-link {
    background-color: #002E40!important;
    border: 1px rgb(72, 72, 72) solid;
    color:white!important;
}

.page-link{
    color:#002E40!important;
}

.pagination {
    display: flex; 
    flex-wrap: wrap; 
    padding-left: 0;
    margin: 0; 
    list-style: none; 
  }
  
.pagination .page-link {
    display: block; 
    text-align: center; 
  }

#pagination-controls {
    overflow-x: auto; 
  }


/******************** BOOSTRAP OVERRIDE ********************/
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #002e4085;
    outline: 0;
    box-shadow: 0 0 0 .2rem #002e4085;
}

.pub-table td, .pub-table th {
    padding: 30px!important;
}

.custom-control-label::before{
    margin-top:2px;
    cursor:pointer;
}

.custom-control-label::after{
    margin-top:2px;
    cursor:pointer;
}

.custom-control-input:checked~.custom-control-label::before{
    background-color: #002E40;
    border:none;
}

.custom-control-input:focus:not(:checked)~.custom-control-label::before{
    border-color: #002e407d!important;
    box-shadow: 0 0 0 .2rem #002e4020!important;
}

.custom-control-input:focus~.custom-control-label::before {
    border-color: #002e407d!important;
    box-shadow: 0 0 0 .2rem #002e4020!important;
}

#toTopButton {
    display: none;
    position: fixed;
    bottom: 3vh;
    right: 3vh; 
    z-index: 99999;
    border: none; 
    outline: none; 
    background-color: #495057;
    color: white; 
    cursor: pointer; 
    padding: 15px; 
    font-size: 18px;
    width:60px;
    height:60px;
    text-align:center;
    justify-content: center;
    align-items: center;
    border-radius:50px;
    box-shadow: 0 0 0 .2rem #002e406a;
    border: 1px solid white;
  }
  
  #toTopButton:hover {
    background-color: #555;
  }

  /**************************************************************************************/
  /******************** COMMENT OUT EVERYTHING BELOW WHEN NO ALERTS! ********************/
  /**************************************************************************************/
  /* .navbar::after {
    content: "! Notice: Planned maintenance scheduled on Saturday 8 March and Sunday 9 March. Services may be unavailable.";
    display: flex;
    align-items: center;
    justify-content: center;
    text-align:center;
    font-size: clamp(11px, 1.5vw, 16px)!important;
    color:white!important;
    width: 100%;
    background: rgb(196, 191, 149);;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 5px!important;
    position: absolute;
    height:40px;
    bottom: -50px;
    left: 0;
    z-index: 9999;
    margin:0;
    margin-bottom:10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.title-banner{
    margin-top:60px!important;
}

@media screen and (max-width: 998px) {
    .title-banner {
        margin-top:50px!important;
    }
}

@media screen and (max-width: 786px) {
    .title-banner {
        margin-top:30px!important;
    }
} */