
/* #### BLOCK AT THE TOP #### */

.block {
  background-color: #2bbbd8;
  height: 1.45cm;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

.block .links {
  position: absolute;
  top: 50%;
  right: 1cm;
  transform: translateY(-50%);
}

.block .links a {
  color: white;
  transition: transform .3s; /* Animation */
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  font-size: 18px;
}

.block .links a:hover {
  font-size: 20px;
}

/* #### SOCIAL CONTAINER #### */

.table-container {
    height: 100%;
}

.social-table {
    border-collapse: collapse;
    height: 100%;
}

.social-table tr {
  border-left: 1px solid #41c1dc;
  border-right: 1px solid #41c1dc;
}

.social-table td {
  height: 1.4cm;
  width: 30px;
  text-align: center;
  border-left: 1px solid #41c1dc;
}

/* #### TOP IMAGE CONTAINER #### */

.image-container {
  width: 90%;
  margin: 0 auto;
}

/* #### MAIN NAVIGATION BAR #### */

.navbar-container {
  width: 90%;
  margin: 0 auto;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.navbar-container body {
  font-family: 'Nunito Sans', sans-serif;
}

.navbar {
  overflow: hidden;
  background-color: white; 
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
  border-left: 1px solid white;
  border-right: 1px solid white;
  padding-left: 1.5cm;
}

.navbar a {
  float: left;
  font-size: 14px;
  color: black;
  text-align: center;
  padding-left: 1.5cm;
  padding: 14px 16px;
  text-decoration: none;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.subnav {
  float: left;
  overflow: hidden;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.subnav .subnavbtn {
  font-size: 14px;  
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: white;
  font-family: inherit;
  margin: 0;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.navbar a:hover, .subnav:hover .subnavbtn {
  color: white;
  background-color: #2bbbd8;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
  transition: transform .2s; /* Animation */
  transition: all 0.25s ease-in-out;
}

.subnav-content {
  font-size: 12px;  
  display: none;
  position: absolute;
  left: relative;
  background-color: white;
  z-index: 99999999999999;
  border: 1px solid lightgray;
}

.subnav-content a {
  float: left;
  color: black;
  font-size: 12px;  
  text-decoration: none;
}

.subnav-content a:hover {
  background-color: #f3f4f3;
  color: black;
  font-size: 12px;
}

.subnav:hover .subnav-content {
  display: block;
}

/* #### PORTAL WINDOW FORMATTING #### */

#page-main-window {
    font-family: 'Nunito Sans', sans-serif;
    color: #747474;
/*     font-size: 16px; */
    margin: 0 6%;
    padding-top: 40px;
    padding-bottom: 40px;
}

br {
    display: block;
    margin-bottom: 12pt;
}

table {
    font-family: 'Nunito Sans', sans-serif;
    color: #747474;
/*     font-size: 16px; */
}

h3 {
    font-family: 'Nunito Sans', sans-serif;
    color: #747474;
    font-size: 16px;
}

h4 {
    font-family: 'Nunito Sans', sans-serif;
    color: #003366;
    font-size: 16px;
}

input {
    font-family: 'Nunito Sans', sans-serif;
    color: #747474;
/*     font-size: 16px; */
}

/* #### FOOTER CONTENT #### */

    /* Set the width of the footer div to 90% of the screen */
    #footer {
      width: 90%;
      margin: 0 5%;
      font-family: 'Nunito Sans', sans-serif;
      background-color: #111111;
      color: #fff;
      padding: 20px;
    }

    /* Set the position of the acknowledgement text to 2cm from the left of the screen and 30% of the width of the footer */
    #acknowledgement {
      padding-left: 1cm;
      width: 300px;
      font-family: 'Nunito Sans', sans-serif;
      font-size: 10pt;
      line-height: 12pt;
    }

    /* Set the position of the horizontal rule */
    #footer hr {
      border-color: darkgrey;
      margin-top: 20px;
      margin-bottom: 20px;
      margin-left: 1cm;
      margin-right: 1cm;
      width: 95%;
    }

    /* Set the position of the copyright and privacy text */
    #copyright {
      float: left;
      font-size: 14px;
      color: #cccccc;
      padding-left: 1cm;
    }

    #copyright a {
      color: #cccccc;
      text-decoration: none;    
    }
    
    #copyright a:hover {
      color: #2bbbd8;
      text-decoration: none;    
      transition: transform .2s; /* Animation */
      transition: all 0.25s ease-in-out;
    }

#privacy {
      float: right;
      font-size: 14px;
      padding-right: 1cm;
    }
    
    #privacy a {
      color: #cccccc;
      text-decoration: none;    
    }

    #privacy a:hover {
  color: #2bbbd8;
  text-decoration: none;    
  transition: transform .2s; /* Animation */
  transition: all 0.25s ease-in-out;
}


/* Cookie Consent Popup */

#cookieConsentPopup {
  position: fixed;
  bottom: 5px;
  right: 5px;
  width: 400px;
  height: 20px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 10000;
  transition: height 0.5s;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;}

#cookieConsentPopup:hover {
  height: 200px;
}

#cookieConsentPopup h2 {
  margin: 0;
}

#cookieConsentPopup p {
  margin: 15px 0;
}

#cookieConsentPopup button {
  background-color: lightgrey;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

#cookieConsentPopup #accept {
  background-color: #2bbbd8;
}

/* Hide current issue on main page */
.current_issue {
  display: none;
}

.table td, .table th {
  border: none;
}

/* Top journal page */

.journal-info p {
	font-size: 12pt;
    font-family: 'Nunito Sans', sans-serif;
	color: #747474;
}

/* Issue pages */

.obj_issue_toc .section h2 {
	font-size: 14pt;
	font-weight: bold;
    font-family: 'Nunito Sans', sans-serif;
 	color: black;
}

.obj_issue_toc .section h3, a {
	font-size: 12pt;
    font-family: 'Nunito Sans', sans-serif;
	color: black;
}


.obj_issue_toc .galleys h2 {
	font-size: 14pt;
	font-weight: bold;
    font-family: 'Nunito Sans', sans-serif;
	color: black;
}

.obj_issue_toc .galleys h3, a {
	font-size: 12pt;
    font-family: 'Nunito Sans', sans-serif;
	color: black;
}

.pub_id .galleys h3, a {
	font-size: 12pt;
    font-family: 'Nunito Sans', sans-serif;
	color: black;
}



body, html {
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    box-sizing: border-box; /* Standardise box model */
}



        .page-container {
            display: flex;
        }
        .page-main {
            width: 800px;
            min-width: 400px;
            max-width: 800px;
            padding: 20px;
         }
        .page-menu {
            font-family: 'Nunito Sans', sans-serif;
            color: #747474;
            background-color: white;
            font-size: 14px;
            width: 250px;
            min-width: 250px;
            max-width: 250px;
            padding: 20px;
        }

        .page-menu a {
            font-family: 'Nunito Sans', sans-serif;
            color: #747474;
            font-size: 14px;
        }

        .page-menu a:hover {
            font-family: 'Nunito Sans', sans-serif;
            color: #2bbbd8;
            font-size: 14px;
        }

        /* Mobile view: Stack columns */
        @media (max-width:1000px) {
            .page-container {
                flex-direction: column; /* Stack columns vertically */
            }
            .page-main, .page-menu {
                flex: none; /* Ensure columns take full width */
                width: 100%; /* Make each column take up 100% width */
            }
        }
        
/* CSS FOR THE PAGE TITLE BAR */

        /* Styles for the full-width div */
        .page-div {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            width: 100vw;
            height: 120px;
            position: relative;
            color: white;
            background-color: #003366;
            overflow: hidden; /* Ensure no content spills outside */
        }

        /* Pseudo-element for the semi-transparent background */
        .page-div::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('img/banner-background.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.35; /* Set transparency for the background */
            z-index: 0; /* Place it behind the text */
        }

        /* Styles for the text */
        .page-div span {
            font-family: 'Nunito Sans', sans-serif;
            position: absolute;
            padding-left: 17%;
            bottom: 28px; 
            font-size: 24px;
            z-index: 1; /* Ensure text is above the background */
        }    

        .page-div a {
            font-family: 'Nunito Sans', sans-serif;
            font-size: 24px;
            color: white;
            text-decoration: none;
            z-index: 1; /* Ensure links are above the background */
        }

        .text-input {
            width: 100%;
            box-sizing: border-box;
        }
        .text-area {
            width: 100%;
            box-sizing: border-box;
            resize: vertical;
        }
        
        .themed-hr {
            border: 0;
            height: 5px; 
            background-color: #003366;
        }

.styled-submit {
    background-color: #003366; /* Purple background */
    color: white; /* White text */
    font-size: 18px; /* Larger text size */
    padding: 10px 20px; /* Padding to make the button larger */
    border-radius: 12px; /* Rounded edges */
    border: none; /* Remove default border */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for both colors */
}

.styled-submit:hover {
    background-color: white; /* White background on hover */
    color: #003366; /* Purple text on hover */
}

.normallink {
    text-decoration: none;
    color: #2bbbd8;
}

.normallink:hover {
    text-decoration: none;
    color: #2296ad;
}

.banner-color-span {
    color: #003366;
}

.notification {
    font-size: 16px;
    position: relative; /* For proper positioning of the badge */
}

.unread-count {
    display: inline-block;
    background-color: red; /* Circle background color */
    color: white; /* Text color */
    font-size: 12px; /* Size of the text */
    font-weight: bold; /* Bold text */
    width: 20px; /* Diameter of the circle */
    height: 20px; /* Diameter of the circle */
    line-height: 20px; /* Align text vertically */
    text-align: center; /* Align text horizontally */
    border-radius: 50%; /* Makes the span a circle */
    position: absolute; /* Position relative to the parent */
    top: -10px; /* Adjust vertical position */
    right: -10px; /* Adjust horizontal position */
}

        
        
            /* Overlay background */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.7);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    /* Modal content */
    .modal {
      background: white;
      padding: 2em;
      border-radius: 10px;
      max-width: 500px;
      width: 90%;
      position: relative;
    }

    /* Close button */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 1.2em;
      background: none;
      border: none;
      cursor: pointer;
    }