:root {
  --gray: #e0e0e0;
  --accent: #1c6674;
  --accent-dark: #1c6674;
  --accent-light: rgba(28, 102, 116, 0.73);
  --secondary: #f3f4ee;
  --primary: #222222;
}

/* LOGO */
#header .container #block-boxes-site-logo {
  margin-top: 13px;
  float: left;
  width: 180px;
}

/*Menu*/
.front header#header {
  padding-bottom: 0;
}

/*Secondary menu*/
#block-os-secondary-menu li:first-of-type a {
  background-color: var(--accent);
  color: #fff;
  padding: 20px;
  font-weight: 600;
}
#block-os-secondary-menu li:nth-of-type(2) a {
  background-color: var(--accent-light);
  color: #fff;
  padding: 20px;
  font-weight: 600;
}

/*
Block Title
*/
.front .block-title {
  font-size: 34px;
  text-align: center;
  margin: 2rem 0;
  padding-bottom: 0.5rem;
  font-weight: 600;
}

/*News LOP*/
.front .os-sv-list.sv-list-view-teaser.sv-list-layout-grid .node {
  border: 1px solid #ddd;
  text-align: center;
  border-bottom: 4px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: 0.2s all;
}
.front .os-sv-list.sv-list-view-teaser.sv-list-layout-grid .node:hover {
  transform: scale(1.02);
}
.front .os-sv-list.sv-list-view-teaser.sv-list-layout-grid .node h2 > a {
  text-decoration: none;
  color: var(--accent-light);
  font-size: 26px;
}
.front .os-sv-list.sv-list-view-teaser.sv-list-layout-grid .node .header-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.front .os-sv-list.sv-list-view-teaser.sv-list-layout-grid .node .content {
  padding-right: 1rem;
  padding-left: 1rem;
}
.front .os-sv-list.sv-list-view-teaser.sv-list-layout-grid .node .readmore {
  display: none;
}

/*Research*/
section.Research {
  padding: 2rem 0;
}
section.Research h2 {
  margin-bottom: 2rem;
}
section.Research .row {
  display: flex;
}
section.Research .row img {
  width: 100% !important;
  height: 215px !important;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
  display: block;
}
section.Research .row-1 .col .content {
  border-radius: 0 0 5px 5px;
  background-color: #f5f5f5;
  height: 100%;
  padding-bottom: 10px;
}
section.Research .row-1 .col .content h5 {
  font-size: 24px;
  margin-bottom: 0.5rem;
  color: var(--secondary);
  margin-top: 10px;
  padding: 0 1.25rem;
}
section.Research .row-1 .col .content p {
  margin: 0;
  padding: 0 1.25rem;
}

/*video*/
.VideosHome iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  display: block;
}

/*study programs*/
.block-boxes-os_sv_list_box
.sv-list-link.sv-list-view-teaser.sv-list-layout-grid .node {
  cursor: pointer;
  text-align: center;
  border: 1px solid #e0e0e0;
  padding-top: 30px;
  padding-bottom: 20px;
  border-radius: 2px;
  transition: 0.3s all;
  background-color: white;
}
.block-boxes-os_sv_list_box
.sv-list-link.sv-list-view-teaser.sv-list-layout-grid .node:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.block-boxes-os_sv_list_box
.sv-list-link.sv-list-view-teaser.sv-list-layout-grid .node header h2 a {
  color: var(--primary);
}
.block-boxes-os_sv_list_box
.sv-list-link.sv-list-view-teaser.sv-list-layout-grid .node .header-wrapper a img {
  width: 50px;
  height: 50px;
  margin: auto;
}

/*people*/
.block-boxes-os_sv_list_box .os-sv-list.sv-list-person.sv-list-view-teaser.sv-list-layout-grid .node-person {
  background-color: white;
  text-align: center;
  border: 1px solid #e0e0e0;
  padding-top: 30px;
  padding-bottom: 20px;
  border-radius: 2px;
  transition: 0.3s all;
  padding: 24px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.block-boxes-os_sv_list_box .os-sv-list.sv-list-person.sv-list-view-teaser.sv-list-layout-grid .node-person:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.block-boxes-os_sv_list_box .os-sv-list.sv-list-person.sv-list-view-teaser.sv-list-layout-grid .node-person .field-name-body {
  border-top: 1px solid var(--forth);
  padding-top: 10px;
  margin-top: 10px;
  line-height: 1;
}
.block-boxes-os_sv_list_box .os-sv-list.sv-list-person.sv-list-view-teaser.sv-list-layout-grid .node-person .field-name-field-office-hours {
  color: var(--accent-dark);
  line-height: 1.2;
  margin-bottom: 5px;
}
.block-boxes-os_sv_list_box .os-sv-list.sv-list-person.sv-list-view-teaser.sv-list-layout-grid .node-person .field-name-field-professional-title {
  margin-bottom: 10px;
}

.modal-dialog .node-person.readmore-as-popup .group-personal-name {
  margin-bottom: 0;
}
.modal-dialog .node-person.readmore-as-popup .field-name-field-office-hours {
  color: var(--accent-dark);
  line-height: 1.2;
  margin-bottom: 5px;
}
.modal-dialog .node-person.readmore-as-popup .field-name-field-professional-title {
  margin-bottom: 10px;
}

.modal-dialog {
  max-width: 600px;
  margin: 30px auto;
  position: relative;
  z-index: 1050;
}
.modal-dialog .modal-header {
  padding: 10px;
  background: transparent;
  position: relative;
  height: 20px;
}
.modal-dialog .modal-header .close {
  color: var(--primary);
  width: 40px;
  height: 30px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 1;
  font-size: 30px;
}
.modal-dialog .modal-header .close:hover {
  color: var(--gray);
}
.modal-dialog article > a[href*="create-profile"] {
  display: none;
}
.modal-dialog .field-name-og-vocabulary .field-items .field-item {
  display: none;
}

/*News*/
.node-news img {
  border-radius: 2px;
}

/*Front*/
.front .slide img {
  max-height: 370px !important;
  object-fit: cover;
}

/* Contact Us */
.ContactUs {
  padding: 2rem 0;
}
.ContactUs h2 {
  margin-bottom: 2rem;
}
.ContactUs .col .content {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 1rem;
  text-align: center;
}

/*Front LOP GRID Events*/
html[dir="ltr"] .front .addtocal-wrapper .addtocal,
html[dir="ltr"] .front .addtocal-wrapper .addtocal {
  margin-left: auto;
  margin-right: auto;
}

/*Seminars*/
section.seminar {
  padding: 2rem 0;
}

.seminar .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.seminar .col-1 {
  padding-right: 15px;
}
.seminar .col-1 .content > p {
  padding: 15px 0;
}
.seminar .col-1 table {
  width: 100% !important;
  border-collapse: collapse;
  table-layout: auto;
}
.seminar img {
  width: 100% !important;
  object-fit: cover;
  display: block;
}
.seminar .btgrid {
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 0;
  overflow: hidden;
}

/* Footer */
.FooterContainer {
  background-color: #f5f5f5;
  /*social media links*/
}
.FooterContainer .boxes-box {
  padding: 30px 30px 30px 30px;
}
.FooterContainer .col-0 .content p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.FooterContainer .FooterContainer a[href^="mailto:"] {
  text-decoration: none;
}
.FooterContainer a[href^="mailto:"]:hover {
  text-decoration: underline;
}
.FooterContainer .col-1 .content {
  display: flex;
  align-items: center;
  padding-top: 15px;
  justify-content: flex-end;
}
.FooterContainer .col-1 .content p {
  margin: 0;
  display: contents;
}
.FooterContainer .col-1 .content img {
  width: 32px !important;
  height: 32px !important;
  margin: 0;
  transition: transform 0.3s ease;
}
.FooterContainer .col-1 .content img :hover {
  transform: scale(1.1);
}

.not-front .FooterContainer {
  background-color: #f5f5f5;
}

.not-front .region.region-footer-bottom {
  margin-top: 50px;
}

/* Remove default padding */
#footer .col-md-12.col-xs-12 {
  padding: 0;
}

/*Publication*/
.biblio-category-section:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

@media (max-width: 576px) {
  section.Research .col-1,
  section.Research .col-3 {
    padding-top: 0px !important;
    margin-top: 0px;
  }
  section.Research .row {
    flex-direction: column;
  }
  section.Research .col {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
  }
}
/* Responsive layout */
@media (max-width: 768px) {
  .seminar .col-1 {
    text-align: center;
  }
  .seminar img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
    margin-bottom: 1rem;
  }

  .FooterContainer .row {
    flex-direction: column;
  }
  .FooterContainer .col-0,
  .FooterContainer .col-1 {
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
  }
  .FooterContainer .col-1 {
    margin-top: 20px;
    justify-content: center;
  }
  .FooterContainer .FooterContainer .col-1 .content {
    justify-content: center;
  }

  .footer {
    margin-right: 1px !important;
    margin-left: 1px !important;
  }

  .front #border {
    display: none;
  }
  .front header#header .col-md-6 {
    padding-bottom: 0;
  }
  .front header#header .container h2 {
    margin-bottom: 0;
  }

  /* Research */
  section.Research img {
    height: auto !important;
    max-height: 220px;
  }
  section.Research .col:not(:last-child) {
    margin-bottom: 20px;
  }

  /*video*/
  .boxes-box-hum_os_boxes_html_videos .col-md-6 {
    width: 100%;
  }

  .sv-list-layout-grid {
    margin: 0;
  }

  .btgrid .col-md-6 {
    width: calc(100% - 30px);
  }
}
@media (max-width: 1200px) {
  .ContactUs .col {
    max-width: 100%;
    width: 100%;
  }
}
