/* ENU red - #e5233f */


@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Titillium Semibold';
  src: url('/fonts/TitilliumWeb-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Titillium Web', sans-serif;
  font-size: 16px;
  color: #333333;
}

a {
  color: #333333 !important;
}

#back_to_index {
  color: #ffffff !important;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-family: 'Titillium Web', sans-serif;
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-family: 'Titillium Semibold', sans-serif;
  font-size: 2rem;
  font-weight: 600;
}

#enu-logo-header {
  height: 50px;
  margin: 25px 0 25px 0;
}

#welcome-header {
  background-color: #e5233f;
}

.custom-container {
  max-width: 1057px;
  width: 100%;
  margin: 0 auto;
  /* Center the container */
}

.custom-container-90 {
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
  /* Center the container */
}

#school-timetables {
  background-color: #f6f6f6;
}

.full-width-section {
  height: 100px;
}

.top-header {
  font-size: 16px;
}

.text-white {
  color: #ffffff !important;
}

.bg-red {
  background-color: #e5233f;
}

.bg-grey {
  background-color: #f6f6f6;
}

.bg-image {
  background-size: cover;
  background-position: center;
  border-radius: 0.5rem;
  overflow: hidden;
  height: 220px;
  position: relative;
}

.bg-opacity {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
}

.card-title {
  background-color: #e5233f;
  padding: 0.5rem 1rem;
  margin: 0 0 -1rem -1rem;
  font-weight: bold;
}

.card,
.btn,
.form-control {
  border-radius: 0 !important;
}

.u-resetUL {
  padding: 4px;
}

.u-resetUL {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.u-overflow {
  overflow: hidden;
}

.footer-dark {
  background-color: #282828;
}

.footer-dark a {
  color: #ffffff !important;
  text-decoration: none;
}

.footer-list {
    list-style-type: none; /* Removes bullet points */
    padding: 0; /* Removes default padding */
    margin: 0; /* Removes default margin */
    display: flex; /* Uses Flexbox for horizontal layout */
}

.footer-list li {
    margin-right: 1rem; /* Adds space between items */
}

/* Optional: Remove the margin from the last item */
.footer-list li:last-child {
    margin-right: 0;
}

.image-container-right {
    display: flex; /* Enables Flexbox */
    justify-content: flex-end; /* Aligns items to the right */
}


.bottom-right-cut {
    position: relative; /* Position relative to allow absolute positioning of the triangle */
    background-color: #f6f6f6; /* Background color */
    overflow: hidden; /* Ensure no overflow from the triangle */
  
}

.bottom-right-cut::after {
    content: ""; /* Necessary for pseudo-elements */
    position: absolute; /* Position it absolutely within the parent */
    bottom: -20px; /* Align to the bottom */
    right: 0; /* Align to the right */
    width: 100px; /* Set the width of the triangle */
    height: 100px; /* Set the height of the triangle */
    background-color: white; /* Color of the triangle */
    clip-path: polygon(0 100%, 100% 100%, 100% 0); /* Create an upward-pointing triangle */
    z-index: 1; /* Ensure the triangle is on top */
}

.mt-10 {
  margin-top: 10px;
}

.label {
  font-weight: bold;
}

span.item-date {
  font-size: 2rem;
  font-weight: bold;
}

span.item-year {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 0.5rem;
}

#search-heading:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
    position: relative;
    margin: 0 0.5em 0 0;
    top: -1px;
    font-size: 0.8em;
}

.school-list:hover {
    cursor: pointer;
}

a {
    text-decoration: none;
}

a h2.card-title.school-list {
    color: #ffffff;
}

span.highlight {
  font-weight: bold;
}

.img-waiting {
  width: 40px;
}

ul.programme-list li {
    font-weight: bold;
    font-size: 1.2rem;
}

.alert-custom {
    background-color: #ffffff;
    border-color: #dee2e6;
    border-radius: 0;
    margin: 1rem 0 0 4px;
}

.alert-link {
  padding: 0 0.5rem;
  font-weight: normal !important;
}

.nolistitem {
    list-style-type: none;
    margin: 0 0 0 -2rem;
    font-weight: normal !important;
}

a.btn-yearbutton,
button.btn-yearbutton {
  margin-right: 0.5rem;
}

/*
a.btn-yearbutton:hover {
  outline: 3px solid #e5233f;
  outline-offset: 2px;
}
*/

a.btn.btn-yearbutton:not(:disabled):not(.btn-dark),
button.btn.btn-yearbutton:not(:disabled):not(.btn-dark) {
    border: 1px solid #333333;
    background-color: #ffffff;
}

a.btn.btn-yearbutton.disabled:not(.btn-dark),
button.btn.btn-yearbutton.disabled:not(.btn-dark) {
    border: 1px solid #ffffff !important;
    background-color: #ffffff;
}

a.btn.btn-yearbutton:disabled:not(.btn-dark),
button.btn.btn-yearbutton:disabled:not(.btn-dark) {
    border: 1px solid #000000;
    background-color: #f0f0f0;
    color: #000000;
    cursor: not-allowed;
}

a.btn.btn-dark.btn-yearbutton,
button.btn.btn-dark.btn-yearbutton {
    color: #ffffff !important;
}

a.btn.btn-notselected.btn-yearbutton {
    background-color: #EDEDED !important;
    border: 1px solid #EDEDED !important;
    margin-bottom: 0px;
    width: 100px;
    height: 56px;
    padding-top: 16px;
    text-decoration: underline;
}

a.btn.btn-selected.btn-yearbutton {
    background-color: #BFBFBF !important;
    border: 1px solid #BFBFBF !important;
    margin-bottom: 0px;
    width: 100px;
    height: 56px;
    padding-top: 16px;
    text-decoration: underline;
}

div#yearbuttons {
    border-bottom: 2px solid #DCDCDC;
}

button.btn.btn-yearbutton:disabled {
    display: none;
}

#img-waiting {
  width: 40px;
}

div.userlist .list-item {
    margin-bottom: -1px;
    border: 1px solid #DCDCDC;
}

button.btn.btn-del_user,
button.btn.btn-add_user,
button.btn.btn-add_session,
button.btn.btn-del_session,
button.btn.btn-del_keyword,
button.btn.btn-add_keyword {
    margin: 0 1rem 0 -0.75rem;
}

select#holding {
    width: 75px;
}

div#user_add_alert {
    margin-top: 1rem;
}

button.current_session.alert {
    padding: 3px 10px;
    margin: 0 0 0 0.75rem;
}

/* bootstrap overrides - start */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0;
}
h2 {
  padding: 1rem 0 !important;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

.form-control {
  width: 101%;
}

#loginform input.form-control,
#loginform #submitbutton {
  width: 250px;
}

.h-100 {
  height: 426px !important
}

.bg-opacity {
  background-color: rgba(0, 0, 0, 0.3);
}

/* bootstrap overrides - end */

.activity-name{
    font-weight: bolder;
    font-size: 1.4rem;
    color: #4d5154;
}

.additional-info{
    font-size: 1.2rem;
}

p.additional-info a {
    text-decoration: underline !important;
}