@font-face {
    font-family: 'MABL_Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MABL_BebasNeue';
    src: url('../fonts/BebasNeue-Regular.ttf') format('woff2');
    font-weight: normal;
    font-style: normal;
}

a{
    text-decoration: none;
    color: #990001;
}
body{
    margin: 0;
    background-color: #c7c7c7;
    font-family: 'MABL_Montserrat';
}
.centre{
    margin-left: auto;
    margin-right: auto;
}

.right{
    margin-left: auto;
    margin-right: inherit;
}
.stick{
    position: fixed;
    top: 0;
    width: 100%!important;
    justify-content: center;
}
.main_container{
    background-color: #fff;
    width: 100%;
    color: #333;
    padding-bottom: 1%;
    padding-top: 0.1px;
}
.main_text{
    max-width: 1200px;
    position: relative;
    margin-top: 20vh;
    width: 60%;
}

#mainContentArea{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80vw;
    min-height: 100vh;
    background-color: #f2f2f2;
    margin-top: 8vh;

}

h3 {
    font-family: 'MABL_BebasNeue'!important; ;
    letter-spacing: 2px;
    font-size: 26px;
}

h4 {
    font-family: 'MABL_BebasNeue'!important; ;
    letter-spacing: 2px;
    font-size: 26px;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

/*** Navigation Bar ***/
#titleContentArea{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 20vh;
    background-color: #222222;
    user-select: none;
    z-index: 1;
}

.nav_bar_container{
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100%;
    justify-content: space-between;
    
}

.logo_container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 10%;
    margin-left: 2vw;
    margin-right: 2vw;
    height: 100%;
    color: #ffffff;
}

.MABL_logo{
    width: 5vw;
    min-width: 42px;
}

#menu{
    display: flex;
    align-items: center;
    flex-direction: row;
    font-weight: 600;
    height: 12vh;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    width: 100%;
}

#menu li{
    width: 100%;
    height: 100%;
    list-style: none;
}

#menu li a{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-size: 22px;
    letter-spacing: 2px;
    font-family: 'MABL_BebasNeue'!important; 
}

#menu li a.current{
    background-color: #222222;
}

#menu li a:hover{
    background-color: #454545;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.nav_bar_container {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100%;
    justify-content: space-between;
}

.logo_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 10%;
    margin-left: 2vw;
    margin-right: 2vw;
    height: 100%;
    color: #ffffff;
}

.MABL_logo {
    width: 5vw;
    min-width: 42px;
}

#menu {
    display: flex;
    align-items: center;
    flex-direction: row;
    font-weight: 600;
    height: 12vh;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    width: 100%;
}

#menu li {
    width: 100%; 
    height: 100%;
    list-style: none;
    position: relative; /* Add this to position dropdown properly */
}

#menu li a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    font-size: 22px;
    letter-spacing: 2px;
    font-family: 'MABL_BebasNeue'!important;
}

#menu li a.current {
    background-color: #222222;
}

#menu li a:hover {
    background-color: #454545;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.nav_bar_button_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 8vh;
}

.nav_button_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 50%;
}

.nav_bar_button {
    display: flex;
    width: 30%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 5.5vh;
    border-radius: 6px;
    background-color: #990001;
    margin-right: 1vw;
}

.nav_bar_button a {
    display: flex;
    width: 100%;
    height: 100%;
    font-weight: 800;
    font-size: 1em;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
}

.nav_bar_button:hover {
    background-color: #ce0000;
}

#navBar input[type="checkbox"],
#navBar .hamburger_lines {
    display: none;
}

.nav_bar_left {
    display: flex;
    width: 70%;
}

.nav_bar_column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute; /* Change this to absolute */
    background-color: #222222;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 0;
    align-content: center;
    top: 100%; /* Position it below the parent */
}

.dropdown-content a {
    float: none;
    color: black;
    text-decoration: none;
    display: block;
    text-align: left;
    height: 50%!important;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown_mobile {
    display: none;
}

.menu_titles {
    margin: 0;
    color: #ffffff;
    text-align: center;
    text-decoration: underline;
    font-size: 28px!important;
}

.dropbtn:hover {
    background-color: #222222!important;
    color: #ffffff;
}


/* Nav Bar End*/



/* Social Media Box */
.button_container{
    color: #fff;
    align-items: right;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    height: 42px;
    z-index: 1;
    margin-right: 2vw;
}

.social_header_icon {
    height: 30px;
    width: 30px;
    transition: 0.2s ease-in-out;
    padding: 4px;
}

.button_container img {
    padding: 4px;
}

.social_button_container {
    color: #fff;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 30%;
    height: 100%;
    z-index: 1;
}


/* Footer */
.footer_container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    background-color: #222222;

}
.footer_contents{
    display: flex;

}
.footer_contact{
    display: flex;
    justify-content: flex-start;
    justify-items: center;
    align-items: center;
}
.footer_nav {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.footer_nav a {
    padding: 5px;
}

.footer_nav_column a div{
    color: white;
    line-height: 36px;
}
.footer_nav_column a:hover div{
    scale: 1.1;
    cursor: pointer;
}
.footer_nav_column h3 {
    margin: 10px 0 0 0;
    padding: 5px;
    color: white;
}

.footer_contact {
    display: flex;
    flex-direction: column;
}
.footer_contact h3 {
    margin: 10px 0 0 0;
    padding: 5px;
    color: white;
}
.social_media_icon{
    height: 30px;
    width: 30px;
    transition: 0.2s ease-in-out;
}
.social_media_list{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    flex-direction: row;
    position: relative;
}
.footer_contact.social_media_list .social_media_icon{
    opacity: 1;
}
.social_media_container_footer{
    justify-content: space-around;
    align-items: center;
    display: flex;
    width: 120px;
    height: 42px;
    z-index: 1;
    margin: 0 5px;
    color: white;
}
.social_media_list h3{
    text-align: center;
}
.social_media_container p{
    width: 40%;
}
.copyright_info{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222222;
    color: white;
    flex-direction: column;
    width: 100%;
}
.copyright_info p{
    margin: 5px 0 10px 0
}
.footer_contact .social_media_icon:hover{
    scale: 1.1;
}

/* End */

/* Text */

h1{
    color: #ffffff;
}

.header_title {
    font-size: 30px;
    text-align: left;
    letter-spacing: 10px;
    font-family: 'MABL_BebasNeue'!important; 
    margin-bottom: 0;
}

.titles {
    font-size: 30px;
    text-align: left;
    letter-spacing: 2px;
    font-family: 'MABL_BebasNeue'!important; 
    margin-bottom: 0;
}

.select_text {
    padding-left: 20px;
    padding-bottom: 10px;
}

.tag_line {
    font-size: 24px;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'MABL_BebasNeue'!important; 
    color: #888888;
    margin-bottom: 0;
    margin-top: 2vh;
    font-weight: 200;

}

/* End */

/* Content Containers */

.large_container{
    display: flex;
    width: 100%;
    flex-direction: column;
    border-bottom: 2px solid #888888;
    margin-top: 2vh;

}

.row_container {
    display: flex;
    width: 100%;
    flex-direction: row;
    border-bottom: 2px solid #888888;
    margin-top: 4vh;
}

.left_container, .right_container {
    display: flex;
    flex-direction: column;
    width: 48%;
    margin-bottom: 2vh;
    align-items: center;
    justify-content: center;
}

.left_align {
    align-items: flex-start!important;
}

.right_align {
    align-items: flex-end!important;
}

.column_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-evenly;
}

/* End */



/* Home Content */


.news_pinned_container {
    position: relative;
    display: inline-block;
}

.news_pinned_container img {
    width: 100%;
    height: auto;
    display: block;
}

.pinned_overlay {
    position: absolute;
    top: 88%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    text-align: center;
    width: 97%;
    text-align: left;
}

.pinned_overlay h3, .pinned_overlay p {
    margin: 0;
    font-size: 35px;
}

.pinned_overlay h3 {
    font-family: 'Bebas Neue'!important; ;
    letter-spacing: 2px;
}

.news_container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 2vh;
    margin-bottom: 2vh;
}



.news_image_container, .news_text_container {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 2vh;
    margin-bottom: 2vh;

}

.news_image_container img{
    height: 250px;
    width: 90%;
    
}

.left_container_news, .right_container_news {
    display: flex;
    flex-direction: column;
    width: 48%;
    background-color: #888888;
}

.news_titles {
    font-size: 26px;
    text-align: left;
    letter-spacing: 2px;
    font-family: 'MABL_BebasNeue'!important; 
    color: #990001;
}

.news_subtitles {
    font-size: 18px;
    text-align: left;
    letter-spacing: 2px;
    font-family: 'MABL_BebasNeue'!important; 
    color: #888888;
}

.news_text_inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 380px;
    width: 90%;
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;

}

.modal_text_inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 90%;
    background-color: #ffffff;
    padding: 10px;
    box-sizing: border-box;

}

.news_text_inner p, .news_text_inner h3, .news_text_inner h4 {
    padding: 6px;
}

.read_more {
    font-size: 14px;
    margin-top: auto; /* Ensures the read more link is pushed to the bottom */
    display: flex;
    justify-content: flex-end;
    padding: 6px;
    cursor: pointer;
}


/* Modal Popup */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  .modal_content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: 75%;
    overflow: scroll;
  }
  
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  .modal_img {
    height: auto!important;
    width: 50%!important;
  }

  .no_border {
    border-bottom: none;
  }

  .pinned_link {
    font-family: 'MABL_BebasNeue'!important; ;
    letter-spacing: 2px;
    font-size: 26px;
    cursor: pointer;
}

.news_modal_img {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 50%;
    height: auto;
    margin-bottom: 2vh;
}

/* Home End */

/* Find A Team */

.MABL_map {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 2vh;
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    padding: 20px;
}

.contact h2 {
    margin-top: 0;
}

.contact_button_container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    padding: 20px;
    padding-top: 0;
    margin-top: 2vh;
}

.contact_buttons {
    display: flex;
    width: 22%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 8vh;
    border-radius: 6px;
    background-color: #990001;
    color: #ffffff;
    border: none;
    font-family: 'MABL_Montserrat';
    font-size: 16px;
    cursor: pointer;
}

#contacts, #teams {
    width: 25%;
    display: flex;
    height: 35px;
    border-radius: 4px;    
    font-family: 'MABL_Montserrat';
    margin-bottom: 2vh;
    margin-top: 1vh;
}

.team {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.team h2 {
    position: relative;
    margin-bottom: 2vh;
    padding-left: 20px;
    padding-bottom: 10px;
    margin-top: 1vh;
    color: #990001;
}

.team h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;

}

.address_container {
    display: flex;
    flex-direction: column;
    width: 45%;
    margin-bottom: 2vh;
}

.column_container_2 {
    display: flex;
    flex-direction: column;
    width: 25%;
}

.team_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    margin-bottom: 2vh;
    border-bottom: 2px solid #888888;
}

.address_link {
    color: #990001;
}

select {
    display: flex;
    width: 45%;
    margin-bottom: 2vh;
    height: 4vh;
    border-radius: 4px;
}

.find_a_team {
    margin-top: 2vh;
    margin-bottom: 2vh;
    width: 100%;
}

.team_logo_container {
    display: flex;
    align-items: center;
    width: 50%;
}

.team_logo {
    width: 100%;
    height: auto;
    max-width: 150px;
    max-height: 150px;
}

/* Find A Team End */


/* Honours */

.honours_img {
    width: 80%;
    max-width: 350px;
}


.option {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    padding: 20px;
    padding-top: 0;
}

.option h2 {
    margin-top: 0;
}

#options {
    width: 25%;
    display: flex;
    height: 35px;
    border-radius: 4px;    
    font-family: 'MABL_Montserrat';
    margin-bottom: 2vh;
    margin-top: 1vh;
}



/* Honours End */



/* Organisations */


/* Organisations End */

.document_container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.download_link {
    color: #990001;
    text-decoration: underline;
    font-family: 'MABL_BebasNeue'!important; ;
    letter-spacing: 2px;
    font-size: 24px;
}


/* Table */

.table_example {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 2vh;
    padding-left: 20px;
    padding-bottom: 10px;
    margin-top: 1vh;
}

.table_example img{
    width: 95%;
    height: auto;

}

table {
    border-collapse: collapse;
    width: 100%;
  }
  
  th, td {
    text-align: left;
    padding: 8px;
    width: 50%;
  }

  th {
    font-family: 'MABL_BebasNeue'!important; ;
    letter-spacing: 2px;
    font-size: 22px;
  }
  
  tr:nth-child(even) {background-color: #f2f2f2;}



/* Table End */

/* Contact Form */

.contact_form_container {
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
}

.inputContainerRow {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.inputContainer {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    margin-bottom: 2vh;
    width: 45%;
}

input {
    height: 4vh;
    width: 90%;
}

#contactRecipient {
    width: 90%;
}

.textAreaInput {
    width: 100%;
}


textarea {
    width: 100%;
    height: 300px;
}

.buttonContainer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    width: 100%;
    margin-top: 30px;
}

.clear_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 50px;
    min-width: 150px;
    max-width: 150px;
    font-size: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    width: fit-content;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    background-color: #454545;
    color: #ffffff;
}
.clear_btn:hover {
    cursor: pointer;
    background-color: #888888;
}

.home_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    height: 50px;
    min-width: 150px;
    max-width: 150px;
    font-size: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    width: fit-content;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    background-color: #990001;
    color: #ffffff;
}
.home_btn:hover {
    cursor: pointer;
    background-color: #ce0000;
}

/* Contact Form End */

/*Media Queries */

@media only screen and (max-width: 1200px){
    :root{
        --max_width: 100vw;
    }
    .main_container{
        flex-direction: column-reverse;
        width: 100vw;
    }
    .main_text{
        width: calc(var(--max_width) - 70px);
        padding: 0 10px;
        margin-top: 16vh;
    }
    .row_container{
        flex-direction: column;
    }
    .left_container, .right_container {
        width: 100%;
        align-items: center;
    }
  /* Nav Bar*/

#titleContentArea {
    height: 12vh;
}
.nav_bar_button a{
    font-size: 0.8em;
}

.logo_container{
    margin-left: 45vw;
}

#menu{
    display: none;
    height: 360px;
}

#navBarHamburger{
    display: block!important;
    opacity: 0; 
    width: 6vh;
    height: 6vh;
    position: absolute;
    top: 1vh;
    left: 2.5vw;
    z-index: 3;
}

.hamburger_lines{
    display: flex!important;
    height: 4vh;
    width: 5.1vh;
    position: absolute;
    top: 2vh;
    left: 3vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger_lines .line{
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #FFFFFF;
}

.hamburger_lines .line1{
    transform-origin: 0% 0%;
    transition: transform 0.3s ease-in-out;
}

.hamburger_lines .line2{
    transition: transform 0.2s ease-in-out;
}

.hamburger_lines .line3{
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
}

#menu{
    background: #222222;
    display: none;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    overflow: scroll;
    position: absolute;
    top: 12vh;
    width: 100%;
}

#navBar input[type="checkbox"]:checked ~ #menu{
    transform: translateX(0);
}

#navBar input[type="checkbox"]:checked ~ .hamburger_lines .line1{
    transform: rotate(45deg);
}

#navBar input[type="checkbox"]:checked ~ .hamburger_lines .line2{
    transform: scaleY(0);
}

#navBar input[type="checkbox"]:checked ~ .hamburger_lines .line3{
    transform: rotate(-45deg);
}

.social_button_container{
    display: none;
}

.nav_bar_left{
    flex-direction: column;
}

.dropdown_mobile {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: none;
}

.dropdown {
    display: none!important;
}
/* End */

.header_title{
    display: none;
}

/* Footer */
.footer_container{
    flex-direction: column;
}
.footer_contact_container{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    justify-items: center;
    align-items: center;
}
.social_media_list{
    right: 0;
    width: 90%;
    max-width: 230px;
    flex-direction: column;
}
/* End */

/* Honours */

.honours_img{
    max-width: 50%;
}


/* End */



}


@media only screen and (max-width: 800px){
    

    /* Home Content */

    .pinned_overlay {
        top: 86%;
        width: 97%;
        text-align: left;
    }
    
    .pinned_overlay h3, .pinned_overlay p {
        font-size: 24px;
    }

    .news_container{
        flex-direction: column;
    }

    .left_container_news, .right_container_news {
        width: 100%;
    }

    .news_text_inner {
        height: auto;
    }

    /* End */

    /* Contact Form*/

    .inputContainerRow{
        flex-direction: column;
    }

    .inputContainer {
        width: 100%;
    }

    .buttonContainer {
        flex-direction: column;
    }


    /*Contact Form End*/
}

@media only screen and (max-width: 700px){
    
    /* Home Content */

    .pinned_overlay {
        top: 84%;
        width: 96%;
        text-align: left;
    }
    
    .pinned_overlay h3, .pinned_overlay p {
        font-size: 20px;
    }
    #contacts, #teams {
        width: 60%;

    
    }

    /* End */
}


@media only screen and (max-width: 450px){
    
    /* Home Content */

    .pinned_overlay {
        top: 82%;
        width: 94%;
        text-align: left;
    }
    
    .pinned_overlay h3, .pinned_overlay p {
        font-size: 18px;
    }

    /* End */
}





