* {
    resize: none;
    margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
    min-width: 1400px;
    color: #292929;
}

/*HEADER*/

.header-nav-wrapper {
  background-color: #7f2b28;
  
}

.header-nav {
  width: 70%;
  margin: 0 auto;
  padding: 0 10%;
  font-family: Arial, Helvetica, sans-serif;
}


.header-nav ul {
  display: flex;
  justify-content: end;
  font-weight: 700;
  list-style: none;
}

.header-nav ul li {
    display: flex;
}

.header-nav ul li a {
    text-decoration: none;
    color: white; 
    padding: 15px;
}

.header-nav ul li a:hover {
    background-color: #682321;
    transition: 0.5s;
}

.menu-bar-wrapper {
  background-color: rgba(0, 0, 0, 0.5);
}

.menu-bar {
  width: 70%;
  margin: 0 auto;
}

.menu-bar ul {
    list-style: none;
    padding: 0;
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.menu-bar ul li {
    display: inline-block;
    position: relative;
    color: #fff;
    cursor: pointer;
    text-align: left;
    
}

.menu-bar ul li a { 
    display: flex;
    padding: 25px 15px;
}


.menu-bar ul .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    padding: 0;
    width: max-content;
}

.menu-bar ul .sub-menu a {
  text-decoration: none;
  color: #fff;
}

.menu-bar ul li:hover .sub-menu {
    display: block;
    transition: 0.5s;
}

.menu-bar ul .sub-menu li {
    display: block;
    padding: 12px; 
    color: #fff;
}

.menu-bar ul .sub-menu li a {
    padding: 0
}

.menu-bar ul li:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.5s; /* Added transition property */
}

.menu-bar-background {
    background-size: cover;
    background-position: center;
    height: 700px;
    position: relative;
    z-index: 1;
}

.menu-bar-background .content {
    padding: 20px;
    color: #fff;
    text-align: center;
}

.dropdown a {
  text-decoration: none;
  color: #fff;
}

.menu-bar-background h1 {
  display: flex;
  position: absolute;
  bottom: 5%;
  left: 15%;
  font-family: 'Merriweather';
  color: #fff;
  font-size: 40px;
}


/*FOOTER*/
.top-footer {
  height: 10px;
  background-color: #7f2b28;
}

.mid-footer-wrapper {
  background-color: #f3f1e9;
}

.mid-footer {
  width: 70%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: Arial, Helvetica, sans-serif;
  padding: 20px;
}

.mid-footer-content h1 {
  color: #7f2b28;
  font-size: 17px;
  padding-bottom: 15px;
}

.mid-footer div a {
  display: block;
  text-decoration: none;
  color: #000;
  line-height: 25px;
  font-size: 15px;
}

.mid-footer a:hover {
  color: #7f2b28;
}

.apps {
  display: flex;
  justify-content: center;
}

.apps img {
  width: 40px;
  margin: 0 5px;
}

.mid-footer div p {
  text-align: center;
  line-height: 40px;
}

.bottom-footer-wrapper {
  background-color: #7f2b28;
}

.bottom-footer {
  width: 70%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  padding: 20px;
}

.bottom-footer img {
  width: 90px;
  height: 40px;
}

.information {
  color: #fff;
}

.information a {
  text-decoration: none;
  color: #fff;
}

.legal {
  display: flex;
  width: 40%;
  justify-content: space-between;
}

.legal a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  justify-content: space-between;
}



/*INDEX*/

.index-wrapper {
  background-image: url(assets/img/whitebackground.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.index {
  display: flex;
  justify-content: space-between;
  font-family: 'Merriweather';
  color: #262626;
  width: 70%;
  margin: 0 auto;
  padding: 50px;
}

.content-block {
  width: 22%;
}

.content-block img {
  width: 100%;
}

.content-block h1 {
  font-size: 22px;
  padding: 15px 0;
}

.content-block p {
  font-size: 15px;
  padding-bottom: 15px;
}

.content-block a button {
  padding: 10px 25px;
  font-weight: 700;
  font-family: 'Merriweather';
  border: none;
  background-color: #063970;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  margin: 0;
}

.content-block button:hover {
  background-color: #1169cd;
  transition: 0.5s;
}

.facts-and-figures-wrapper {
  background-color: #7f2b28;
}

.facts-and-figures {
  display: flex;
  justify-content: center;
  padding: 50px 0;
  color: #fff;
  font-family: 'Merriweather';
  width: 70%;
  margin: 0 auto;
}

.facts-and-figures img {
    position: absolute;
    display: flex;
    opacity: 0.1;
    width: 350px;
    margin-top: 200px;
    right: 5%;
}


.facts h1 {
  font-size: 40px;
}

.facts p {
  padding-top: 20px;
  font-size: 20px;
}

.facts p a {
  font-size: 18px;
  color: #fff;
  font-style: italic;
  text-decoration: none;
}

.facts p a:hover {
  color: #1169cd; 
  transition: 0.5s;
}

.figures {
  display: flex;
  margin-left: 70px;
}

.figures h1 {
  font-size: 60px;
}

.left, .right {
  width: 200px;
  text-align: center;
}

.left div, .right div {
  padding: 20px 0;
}

.vertical-decoration, .horizontal-decoration {
  background-color: #fff;
  position: absolute;
}

.vertical-decoration {
  height: 290px;
  width: 1px;
  margin: 15px 0 0 200px;
}

.horizontal-decoration {
  height: 1px;
  width: 400px;
  margin-top: 160px;
}

/*FORM*/
.contact-container {
  display: flex;
  justify-content: space-between;
  font-family: 'Merriweather';
  background-color: #f3f1e9;
}

.contact-container h1 {
  font-size: 30px;
}

.contact-container h2 {
  font-size: 18px;
}

.contact-photo {
  width: 50%;
  background: url(assets/img/form.jfif) no-repeat center center / cover;
}

.contact-form {
    width: 50%;
    margin: 100px;
}


.contact-form label {
  display: block;
  margin-bottom: 5px;
  width: 100%; 
}

.submission {
    margin-top: 25px; /* Adjust the margin-top value to lower the submit button */
    padding: 12px 100px;
    font-family: 'Merriweather';
    font-size: 12px;
    color: white;
    background-color: #000000b7;
    cursor: pointer;
}

.submission:hover {
    background-color: #000000c9;
    transition: 0.5s;
}


.contact-form-content input[type="text"],
.contact-form-content input[type="tel"],
.contact-form-content input[type="email"],
.contact-form-content select,
.contact-form-content #name {
    width: 95%;
    padding: 10px;
    background-color: #f3f1e9;
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
}


.contact-form select {
    border-radius: 1px;
}

.consent {
  display: flex;
  flex-direction: column;
}

.consent-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.consent-item input[type="checkbox"] {
  margin-right: 10px; /* Add a 10px margin between the checkbox and label */
}


/*SCHOOL LIST*/
.opener-wrapper {
  font-family: 'Merriweather';
}
.opener {
  display: flex;
  justify-content: space-between; /* Put children on opposite sides */
  width: 70%;
  margin: 0 auto;
  padding: 50px;
}

.message, .introducing-video {
  width: 45%; /* Adjust as needed */
}

.message h2 {
  font-size: 16px;
  font-weight: 100;
  padding-top: 25px;
}

.introducing-video img {
  width: 90%;
}

.opener a button {
  margin-top: 30px;
  padding: 10px 25px;
  font-weight: 700;
  font-family: 'Merriweather';
  border: none;
  background-color: #7f2b28;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
}

.opener a button:hover {
  background-color: #fff;
  color: #7f2b28;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
}

.opener a button span {
  margin: 3px 0 0 5px;
}

.search-engine {
  font-family: 'Merriweather';
  background-color: #f3f1e9;
  padding-top: 50px;
}

.table-wrapper {
  background-color: #f3f1e9;
}

table {
  border-collapse: separate;
  border-spacing: 15px;
  width: 100%;
}

td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
  width: 100px; /* Set fixed width for each cell */
  min-width: 50%; /* Set minimum width to 50% */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  border-radius: 10px;
}


input, select, button {
  padding: 5px;
  margin-bottom: 10px;
  background-color: #f3f1e9;
}

button {
  padding: 10px;
  cursor: pointer;
}

.school-info {
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
  width: 50%; /* Set the width to 50% to have two schools per line */
}

.school-logo {
  margin-right: 15px;
}

.school-info .school-details,
.school-info .school-details div {
  color: #888;
}



.school-name,
.school-region,
.school-cities {
  margin: 0;
  white-space: nowrap;
}

.school-region,
.school-cities {
  margin-top: 5px;
}

.school-logo img {
  max-width: 50px;
  max-height: 50px;
}

#schoolTable {
  width: calc(70% + 30px);
  margin: 0 auto;
  margin-top: 20px;
  padding-bottom: 50px;
}




/* Additional styles for search bars to stay on one row */

.filter {
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}

.search label {
  display: block; /* Place labels on a new line */
}

.material-symbols-outlined {
  display: inline-block;
  vertical-align: text-top; /* Adjust the vertical alignment */
  margin-right: 5px;
  font-size: 15px !important;
}

.filters-container-wrapper { 
  display: flex;
}

.filters-container {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ccc; /* Add a border to the entire search bar */
  border-radius: 10px; /* Optional: Add border-radius for rounded corners */
}

/* Additional styles for search bars to stay on one row */

.filter {
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}

.material-symbols-outlined {
  display: inline-block;
  vertical-align: text-top; /* Adjust the vertical alignment */
  margin-right: 5px;
  font-size: 15px !important;
}

.filters-container-wrapper {
  display: flex;
  width: 70%;
  margin: 0 auto;
}

.filters-container {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  border: 1px solid #ccc; /* Add a border to the entire search bar */
  border-radius: 10px; /* Optional: Add border-radius for rounded corners */
}

.filter {
  flex-grow: 1;
  margin-right: 10px;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
  padding-right: 5px; /* Adjust the right padding for spacing */
}

.filter:not(:last-child):after {
  content: "|"; /* Add "|" as pseudo-element content */
  margin-left: 5px; /* Adjust the left margin for spacing */
  color: #ccc; /* Set color for the separator */
}

.filter select,
.filter input {
  width: 150px;
  padding: 8px;
  border: none;
  border-radius: 4px;
  font-family: 'Merriweather', serif; /* Set 'Merriweather' font */
  color: #555; /* Set gray color for unchosen filters */
  outline: none; /* Remove outline on focus */
}

.filter input#name {
  width: 400px;
  color: #555; /* Set gray color for unchosen state */
  margin-left: 15px;
}

.filter select:focus,
.filter input:focus {
  color: #000; /* Set black color for chosen filters */
}

.filter select option {
  color: #000; /* Set black color for dropdown options */
}

.filter select option[value=""] {
  color: #555; /* Set gray color for the default (unchosen) option */
}

/* Add this section to make country, region, and city text gray */
.school-info .school-details div {
  color: #888;
}

#searchButton,
#clearFiltersButton {
  cursor: pointer;
  border: none;
  background-color: #f3f1e9;
  color: #000;
  font-weight: bold;
}

.school-info a {
  color: black;
  text-decoration: none; /* Remove text decoration */
}

.school-info a {
  color: black;
  text-decoration: none; /* Remove text decoration */
  transition: color 0.5s; /* Add a smooth transition effect for color changes */
}

.school-info a:hover {
  color: #7f2b28; /* Change color on hover */
}

.live-count {
  color: #7f2b28; /* Change the color to suit your design */
  font-weight: bold;
}

/*LIENHE*/
.lienhe {
  width: 70%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  font-family: 'Merriweather';
  padding: 50px;
}

.lienhe-content {
  width: 400px;
}

.lienhe-content h1 {
  padding-bottom: 20px;
}

.lienhe-content p span {
  vertical-align: middle;
}

iframe{
  padding-left: 50px;
}

.lienhe-content p a {
  text-decoration: none;
  color: rgba(60,60,60);
}


/*NEWS*/
.featured-news-wrapper {
  display: flex;
  justify-content: space-between;
  font-family: 'Merriweather';
  width: 70%;
  margin: 0 auto;
  padding: 50px;
}

.featured-news-container, .selected-news-container {
  width: 47%; /* Adjust as needed */
}

.news-item img {
  width: 100%;
  height: auto;
  padding-bottom: 10px;
}

.selected-news-container .news-item a {
  display: flex;
  width: 100%;
}

.selected-news-container .news-item img {
  width: 200px; /* Adjust as needed */
  margin-right: 20px; /* Add some space between the image and the title */
}

.other-news-wrapper {
  padding: 50px 0;
  font-family: 'Merriweather';
}

.scholarship-news-wrapper {
  background-color: #f3f1e9;
  padding: 50px 0;
  font-family: 'Merriweather';
}

.scholarship-news-wrapper h1, .other-news-wrapper h1 {
  padding-bottom: 15px;
  font-size: 30px;
  padding-left: 15%;
}

.other-news-container, .scholarship-news-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: calc(70% + 10px);
  margin: 0 auto;
}

.other-news-container .news-item, .scholarship-news-container .news-item {
  flex-basis: calc(25% - 20px);
  margin: 10px;
}

.featured-news-wrapper .news-item .text-content, .selected-news-container .news-item .text-content {
  word-wrap: break-word;
}

.selected-news-container .news-item .text-content {
  min-width: 0;
}

.featured-news-wrapper a, .other-news-wrapper a, .scholarship-news-wrapper a {
  text-decoration: none;
  color: black;
}

.featured-news-wrapper h2, .other-news-wrapper h2, .scholarship-news-wrapper h2 {
  padding-bottom: 10px;
}

.other-news-wrapper h2, .selected-news-container h2, .scholarship-news-wrapper h2 {
  font-size: 19px;
}

.featured-news-wrapper .news-item:hover h2, .other-news-wrapper .news-item:hover h2, .xemthem:hover, .scholarship-news-wrapper .news-item:hover h2 {
  color: #7f2b28;
  transition: 0.5s;
}
