/*
* Custom styles for Erasmus Jobs Landing page
*/
:root {
  --siem-pink: #ec008c;
  --siem-pink-dark: #a00060;
  --siem-blue: #262261;
  --siem-yellow: #f6b40d;
  --siem-cyan: #3a72ff;
  --siem-purple: #68245f;
  --white: #fff;
  --black: #000;
  --footer: #212529;
  --icon-wrapper: #f4f4f4;
  --muted-text: #56616a;
}

/* atkinson-hyperlegible-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Atkinson-Hyperlegible-Regular.eot"); /* IE9 Compat Modes */
  src:
    url("../fonts/Atkinson-Hyperlegible-Regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/Atkinson-Hyperlegible-Regular.woff2") format("woff2"), /* Super Modern Browsers */
    url("../fonts/Atkinson-Hyperlegible-Regular.woff") format("woff"), /* Modern Browsers */
    url("../fonts/Atkinson-Hyperlegible-Regular.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/Atkinson-Hyperlegible-Regular.svg#AtkinsonHyperlegible") format("svg"); /* Legacy iOS */
}

/* atkinson-hyperlegible-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Nunito Bold";
  font-style: normal;
  font-weight: bold;
  src:/* Modern Browsers */
    url("../fonts/Nunito-Bold.ttf") format("truetype"); /* Legacy iOS */
}

::selection {
  background:var(--siem-yellow);
  text-shadow:none;
}

/* Basic general styling */
body {
  font-family: "Atkinson Hyperlegible", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito Bold", sans-serif;
}

h3.section-subheading {
  font-family: "Nunito Bold", sans-serif !important
}

.text-muted {
  color: var(--muted-text) !important;
}

.btn-primary {
  background-color: var(--siem-pink);
  border-color: var(--siem-pink);
  color: var(--black);
  margin: 1em;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: var(--siem-purple) !important;
  border-color: var(--siem-purple) !important;
  color: var(--white);
  text-decoration: underline;
}

.btn-secondary {
  color: var(--white);
  background-color: var(--siem-cyan);
  border-color: var(--siem-cyan);
}
.btn-secondary:hover {
  color: var(--white);
  background-color: var(--siem-purple);
  border-color: var(--siem-purple);
}

a {
  color: var(--siem-pink);
}
a:hover {
  color: var(--siem-purple);
}

a.external {
  color: var(--siem-blue);
  border-bottom: 2px solid var(--siem-blue);
  background-size: 200% 100%;
  background-position: left bottom;
  transition: all 0.5s ease;
  text-decoration: none;
}
a.external:hover {
  color: var(--siem-purple);
  background-position: right bottom;
  text-decoration: none;
  border-bottom: 2px solid var(--siem-purple);
}
a.external i {
  margin-left: 5px;
}

.text-highlight{
  /* Highlight color */
  background: linear-gradient(120deg, #00aeef 0%, #00aeef 100%);
  background-repeat: no-repeat;
  background-size: 125% 0.5em; /*lenght and thickness of the highlight */
  background-position: -0.2em 0.7em; /*raise or lower the highlight. The lower the percentage the “higher” the highlight and the higher the percentage the “lower” the highlight. */
}

/* Navigation */
#mainNav {
  background-color: var(--siem-blue);
  /* max-height: 5em; */
}

.navbar-brand {
  height: 5rem;
  width: 6em;
  text-align: left;
  background-image: url("../img/Website-logo.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 100%;
  font-weight: 600;
  padding: 0.5em !important;
  color: var(--white);
  width: max-content;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--siem-pink);
  text-decoration-thickness: 0.25em;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: var(--black);
  border: 0;
  background-color: var(--white);
  font-family: "Nunito Bold", sans-serif;
}

#mainNav .navbar-logo {
  height: 4rem;
  width: 10rem;
  text-align: left;
  background-image: url("../img/Website-logo.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}


@media (min-width: 992px) {
  #mainNav{
    background-color: var(--siem-blue) !important;
  }

  /* Menu styling for full screen */
  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 100%;
    font-weight: 700;
    padding: 0.5em !important;
    color: var(--white);
    width: max-content;
    /* Highlight color */
    background: linear-gradient(120deg, var(--siem-purple) 0%,  var(--siem-purple) 100%);
    background-repeat: no-repeat;
    background-size: 90% 0.5em; /*lenght and thickness of the highlight*/
    background-position: 0.25em 1.4em; /*raise or lower the highlight. The lower the percentage the “higher” the highlight and the higher the percentage the “lower” the highlight.*/
  }

  #mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: var(--black);
    /* Hover background animation*/
    background-size: 100% 100%;
    background-position: 0.25em 1.35em;
    margin-right: var(--margin-s);
    transition: all 0.2s ease;
    text-decoration: none;
    background-position: right bottom;
    text-decoration: none;
    background: var(--siem-pink);
  }

  /* Navbar shrink */
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
    color: var(--white);
    background-color: var(--siem-blue) !important;
    font-size: 90%;
  }

  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: var(--siem-pink);
    text-decoration-thickness: 0.25em;
  }

  #mainNav.navbar-shrink .navbar-brand {
    background-image: url("../img/Website-logo-shrink.png");
    background-size: auto 75%;
  }
}

/* Header */

header.masthead {
  background-position: bottom;
  font-family: "Nunito Bold", sans-serif;
  background-color: var(--siem-blue);
}

header.masthead .intro-text {
  padding-top: 15rem;
  padding-bottom: 10rem;
  color: var(--white);
}

@media (min-width: 768px) {
  header.masthead .intro-text {
    margin-left: 75%;
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 30px;
    font-style: italic;
    line-height: 40px;
    margin-bottom: 25px;
    font-family: "Nunito Bold", sans-serif;
    width: fit-content;
    right: 20px;
    position: relative;
  }
  header.masthead .intro-text .intro-heading {
    color: var(--siem-pink);
    font-size: 75px;
    font-weight: 700;
    line-height: 75px;
    margin-bottom: 50px;
    font-family: "Nunito Bold", sans-serif;
  }
}

@media (min-width: 1199.8px) {
  header.masthead .intro-text {
    margin-left: 75%;
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 45px;
    font-style: italic;
    line-height: 40px;
    margin-bottom: 25px;
    font-family: "Nunito Bold", sans-serif;
    width: fit-content;
    right: 60px;
    position: relative;
  }
  header.masthead .intro-text .intro-heading {
    color: var(--siem-pink);
    font-size: 75px;
    font-weight: 700;
    line-height: 75px;
    margin-bottom: 50px;
    font-family: "Nunito Bold", sans-serif;
  }
}

@media (max-width: 767px) {
  header.masthead .intro-text {
    margin-left: 30%;
    padding-top: 10rem;
  }
  header.masthead .intro-text .intro-lead-in {
    font-family: "Nunito Bold", sans-serif;
    right: 20px;
    position: relative;
  }
  header.masthead .intro-text .intro-heading {
    font-family: "Nunito Bold", sans-serif;
  }
}

.alert-info {
  background-color: var(--white);
  color: var(--siem-cyan);
  justify-content: space-around;
  margin-top: 120px;
}

.alert-info .alert-text {
  margin: 0px 30px;
}

.alert-info img {
  height: 150px;
  max-height: 150px;
  width: auto;
}

.alert-text p {
  background-color: var(--white);
}

.alert-info .alert-link {
  color: var(--siem-cyan);
  font-weight: 400;
}

.alert-link:hover {
  text-decoration: none;
}

.alert-link strong {
  border-bottom: 2px solid var(--siem-pink);
}

.text-shadow {
  text-shadow: 0px 0px 5px black;
}

/* Cookies banner */
.cookies-eu-banner{
  background-color: var(--footer);
  position:fixed;
  bottom: 0;
  padding: 1rem;
  width: 100%;
  z-index: 1000;
}

.cookies-eu-banner a{
  color: var(--white);
  text-align: left;
  border-bottom: 2px solid var(--siem-pink);
  background: linear-gradient(to right, var(--footer) 50%, var(--siem-pink) 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  margin-right: var(--margin-s);
  transition: all 0.5s ease;
  text-decoration: none;
}

.cookies-eu-banner a:hover{
  color: var(--black);
  background-position: right bottom;
  text-decoration: none;
  padding: 0 4px;
}

.cookies-eu-banner button{
  text-decoration: none;
  background-color: #dee2e6;
  color: var(--footer);
  border: 1px solid var(--footer);
  margin-left: 0.5rem;
  font-size: medium;
  font-weight: 700;
  transition: background 0.07s, color 0.07s, border-color 0.07s;
}

.cookies-eu-banner button:hover{
  text-decoration: none;
  background-color: var(--siem-pink);
  color: var(--black);
  border: 1px solid var(--siem-pink);
  cursor: pointer;
}

.hidden {
  display: none;
}

/* Scroll to top button */
#arrowBtn {
  display: none;
  position: fixed;
  width: 5%;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: 1px solid var(--siem-pink);
  outline: none;
  background-color: var(--siem-pink);
  color: black;
  cursor: pointer;
  padding: 15px;
  border-radius: 5px;
}

#arrowBtn:hover {
  color: var(--white);
  background-color: var(--siem-pink-dark);
}
#arrowBtn:focus {
  border: 1px solid var(--siem-pink-dark);
}
#arrowBtn:focus-visible {
  border: 1px solid var(--siem-pink-dark);
}

/* Goals */
.text-primary {
  color: var(--siem-cyan) !important;
}

.icon-wrapper {
  background-color: var(----icon-wrapper);
  border-radius: 50%;
  display: inline-block;
  height: 8em;
  width: 8em;
  border-right: 1px solid var(--icon-wrapper);
  padding: 0.25em;
  margin-left: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), 0 1px 2px rgba(0, 0, 0, 0.24);
  right: 0;
  margin: 0 0 15px;
}

.icon-wrapper img {
  height: 7em;
  width: 7em;
  position: relative;
  top: 0.3em;
}

.goal-header {
  font-family: "Nunito Bold", sans-serif;
}

/* News */
#portfolio .portfolio-item .portfolio-link .portfolio-hover {
  background-color: var(--siem-blue);
}

#news img {
  padding: 0 20px;
}

#news .news-item {
  border: 1px solid var(--white);
  border-radius: 0px;
  height: 710px;
  padding-top: 2rem;
  margin-left: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  right: 0;
  margin: 0 0 15px;
  background-color: var(--white);
}

#news .news-twitter {
  padding-top: 0px;
}

.news-header {
  font-family: "Nunito Bold", sans-serif;
}

#erasmusJobsFinalConference .news-twitter {
  margin: auto;
  max-width: 550px;
}

#news .news-item .news-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#news .news-item .news-link .news-hover {
  position: absolute;
  right: 20px;
  width: calc(100% - 40px);
  height: 100%;
  transition: all ease 0.5s;
  opacity: 0;
  background: var(--siem-cyan);
}

#news .news-item .news-link .news-hover:hover {
  opacity: 1;
}

#news .news-item .news-link .news-hover .news-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: var(--white);
}

#news .news-item .news-link .news-hover .news-hover-content i {
  margin-top: -12px;
}

#news .news-item .news-link .news-hover .news-hover-content h3,
#news .news-item .news-link .news-hover .news-hover-content h4 {
  margin: 0;
}

#news .news-item .news-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  background-color: var(--white);
}

#news .news-item .news-caption h4 {
  text-align: left;
  margin: 0;
  text-transform: none;
}

#news .news-item .news-caption p {
  text-align: right;
  font-size: 16px;
  font-style: normal;
  margin-top: 1rem;
  margin-bottom: 0;
}

.news-modal figure {
  margin-bottom: 2rem;
}

.news-modal blockquote {
    margin: 0;
}

.news-modal blockquote p {
    padding: 15px;
    background: #eee;
    border-radius: 5px;
}

.news-modal .modal-content blockquote p {
  margin-bottom: 8px;
}

.news-modal blockquote p::before {
    content: '\201C';
}

.news-modal blockquote p::after {
    content: '\201D';
}

@media (min-width: 768px) {
  #news .news-item {
    margin: 0 0 30px;
  }
}

.news-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.news-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}

.news-modal .modal-content h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.news-modal .modal-content p {
  margin-bottom: 30px;
}

.news-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: normal;
  margin: 20px 0 30px;
}

.news-modal .modal-content p.item-content {
  text-align: left;
}

.news-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.news-modal .modal-content img {
  margin-bottom: 30px;
}

.news-modal .modal-content button {
  cursor: pointer;
}

.news-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.news-modal .close-modal:hover {
  opacity: 0.3;
}

.news-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  transform: rotate(45deg);
  background-color: var(--footer);
}

.news-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  transform: rotate(90deg);
  background-color: var(--footer);
}

/* Trainings */
#trainings {
  margin-top: 100px;
}

#trainings .card-item .card-download .disabled {
  background-color: #ced4da;
  border-color: #ced4da;
  color: var(--footer);
}

/* Research reports */
#publication .card-item {
  border: 1px solid #fff;
  border-radius: 5px;
  padding-bottom: 50px;
  padding-top: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
  height: 100%;
}

#publication .card-item .card-title {
  height: 65px;
}

#publication .card-item .card-download {
  bottom: 40px;
  left: 120px;
  position: absolute;
}

#publication .card-item .card-download .disabled {
  background-color: #ced4da;
  border-color: #ced4da;
  color: var(--footer);
}

/* Timeline */
.timeline > li .timeline-image {
  background-color: var(--siem-blue);
  border-color: var(--siem-blue);
}
.timeline:before {
  background-color: var(--siem-blue);
}

/* Partners */

#partners .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  padding-bottom: 2em;
}

/* Stay updated */
.mauticform-button-wrapper {
  text-align: center;
}

#mauticform_input_erasmusjobsnewsletterform_submit {
  background-color: var(--siem-cyan);
  border-color: var(--siem-cyan);
  color: var(--white);
  font-size: 20px;
  padding: 20px 40px;
  text-transform: uppercase;
}

/* Footer */
footer {
  background-color: rgb(33, 37, 41);
}

footer p.text-muted-white {
  color: var(--white);
}

.footer-left{
  padding: 1.5rem 8rem 2rem 1.5rem;
  text-align: left;
}
@media (max-width: 900px) {
  .footer-left{
    padding-right: 4rem;
  }
}
@media (max-width: 768px) {
  .footer-left{
    padding-right: 1.5rem;
  }
}

.footer h3{
  padding: 0;
}

.footer-right{
  border-left: 1.5px solid var(--white);
  padding: 1.5rem 2rem 0 1.5rem;
  text-align: left;
}

.footer img {
  height: auto;
  max-height: 50px;
  margin-bottom: 1.5rem;
}

.privacy_and_terms{
  padding-top: 1em;
}

/* .footer a,a:hover {
  color: var(--white);
} */

a.footer-links {
  color: var(--white);
  text-align: left;
  border-bottom: 2px solid var(--siem-pink);
  background: linear-gradient(to right, var(--footer) 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  margin-right: var(--margin-s);
  transition: all 0.5s ease;
  text-decoration: none;
}

a.footer-links:hover {
  color: var(--footer);
  background-position: right bottom;
  text-decoration: none;
  padding: 0 4px;
}


ul.social-buttons li a, ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: var(--siem-cyan);
}

@media (max-width: 575px) {
  section#partners .img-fluid {
    max-width: 50%;
  }

  section#partners div.col-md-2.col-sm-6:not(:last-child) {
    margin-bottom: 50px;
  }

  footer img {
    margin-bottom: 20px;
  }
}
