/* Overwrites on base theme. */
@media screen and (min-width: 768px) {
  body {
    font-size: 17px;
  }
}

/* Home page banner. */
.mt-count-down__title .typed-cursor {
  margin-top: -10px;
  display: inline-block;
}

.col-12 .block .mt-count-down-block {
  padding: 10px 0 40px 0;
}

@media screen and (min-width: 768px) {
  .col-12 .block .mt-count-down-block {
    padding: 25px 0 90px 0;
  }
}

.col-12 .mt-count-down-block .mt-count-down__title {
  padding-bottom: 20px;
}

/* Sponsors logo. */
.view-mt-sponsors-grid .sponsor-wrapper {
  border: 0;
}

.footer__section {
  padding: 20px 0 0;
}

.view-mt-contact-info .views-field-field-mt-ci-email {
  padding-left: 0;
}

.view-mt-contact-info .views-field-field-mt-ci-email ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.view-mt-contact-info .views-field-field-mt-ci-email::before {
  display: none;
}

.view-mt-contact-info .views-field-field-mt-ci-email li {
  overflow-wrap: break-word;
  padding: 0 0 0 30px;
  margin: 0 0 20px 0;
  position: relative;
  width: 50%;
}

.view-mt-contact-info .views-field-field-mt-ci-email li:last-child {
  overflow-wrap: break-word;
  padding: 0 0 0 30px;
  margin: 0 0 20px 0;
  position: relative;
}

.view-mt-contact-info .views-field-field-mt-ci-email li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  content: "\f0e0";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
  width: 22px;
  text-align: left;
  color: #878787;
}

/* Reduce title font size. */
h1 {
  font-size: 40px;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 50px;
  }
}

h2,
.col-12 h2.title,
.col-12 nav > h2,
.col-12 .block-search > h2 {
  font-size: 30px;
}

@media screen and (min-width: 768px) {
  h2,
  .col-12 h2.title,
  .col-12 nav > h2,
  .col-12 .block-search > h2 {
    font-size: 35px;
  }
}

h3 {
  font-size: 20px;
}

@media screen and (min-width: 768px) {
  h3 {
    font-size: 30px;
  }
}

h4 {
  font-size: 15px;
}

@media screen and (min-width: 768px) {
  h4 {
    font-size: 25px;
  }
}

/* Banner */
.banner {
  padding: 0 0 10px 0;
}

/* Site branding */
.col-12 .site-branding {
  margin-bottom: 0;
}

/* Footer */
.region--light-typography .subfooter__container {
  border-top: none;
}

/* To be removed if logo is removed from footer. */
.subfooter__container {
  padding: 10px 0 20px;
}

/* Buttons */
@media screen and (max-width: 767px) {
  .col-12 .view > .more-link a,
  a.button, .button > a,
  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
    padding: 8px 15px;
  }
}

@media screen and (max-width: 767px) {
  .cta-button {
    padding: 0 55px 0 0;
    display: inline-block;
  }
}

/* Front banner */
.page-node-type-mt-conference-information .background-image-section {
  position: relative;
  background-size: cover;
}

.page-node-type-mt-conference-information .background-image-section::before {
  background-image: url('../../images/circles.png');
  background-repeat: no-repeat;
  background-position: left center;
  content: '';
  position: absolute;
  left: 0;
  top: -20px;
  bottom: 70px;
  width: 305px;
  background-size: contain;
  z-index: 1;
}

.page-node-type-mt-conference-information .background-image-section .block-views-blockmt-event-information-banner-block-1 {
/*   min-height: 430px; */
  min-height: 270px;
}
@media screen and (min-width: 768px) {
  .page-node-type-mt-conference-information .background-image-section .block-views-blockmt-event-information-banner-block-1 {
    min-height: 430px;
  /*   min-height: 300px; */
  }
}

.page-node-type-mt-conference-information .background-image-section .view-mt-event-information-banner::before {
  content: '';
  height: 0;
  padding-top: 20.72%;
  background-image: url('../../images/Athens-democracy-forum-banner-logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
  margin-top: 120px;
}

@media screen and (min-width: 768px) {
  .page-node-type-mt-conference-information .background-image-section .view-mt-event-information-banner::before {
    height: 80px;
    padding-top: 0;
    margin-top: 195px;
  }
}

.view-id-mt_event_information_banner {
  min-height: 270px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .view-id-mt_event_information_banner {
    min-height: 320px;
  }
}

.view-id-mt_event_information_banner .view-content {
  width: 100%;
}

.page-node-type-mt-conference-information .background-image-section .view-mt-event-information-banner::after {
  content: '';
  background-image: url('../../images/Athens-democracy-forum-nyt-banner-logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
  height: 45px;
  margin-bottom: 20px;
  margin-top: auto;
}

@media screen and (min-width: 768px) {
  .page-node-type-mt-conference-information .background-image-section .view-mt-event-information-banner::after {
    margin-bottom: 45px;
  }
}

.header-container ul.sf-menu > li.menuparent > span {
  padding-right: 20px;
}

.header-container .region--light-typography ul.menu > li > span {
  text-decoration: none;
  color: #ffffff;
}

ul.menu li > span:before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0px;
  font-size: 15px;
  top: 8px;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

.region--light-typography ul.menu li > span:before {
  color: #ffffff;
}

.header-container ul.menu li span:before {
  content: "";
  font-family: sans-serif;
  width: 0;
  height: 0;
}

.header-container ul.sf-menu > li > span .sf-sub-indicator:after {
  content: "\f107";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  left: 50%;
  top: -2px;
  margin-left: -3px;
  font-size: 10px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  position: absolute;
  transform: none;
}

.page-container {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.page-container > * {
  width: 100%;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
}

.footer {
  margin-top: auto;
}

/* Front header */

@media screen and (max-width: 767px) {
  .path-frontpage.fixed-header-enabled header.header,
  .page-node-type-mt-conference-information.fixed-header-enabled header.header {
    opacity: 1;
  }

  .path-frontpage .region-header-first .logo {
    opacity: 0;
    pointer-events: none;
  }

  .path-frontpage .header {
    width: 100%;
  }

  .path-frontpage .header .container {
    max-width: 100%;
  }

  .path-frontpage .header .col-lg-8 {
    padding-left: 0;
    padding-right: 0;
  }

  .path-frontpage .background-image-section[style] .banner {
    background-color: #00AFF0;
  }

  .path-frontpage .block-superfish {
    background-color: #00AFF0;
  }

  .path-frontpage.page-node-type-mt-conference-information .background-image-section::before {
    z-index: 150;
    pointer-events: none;
  }

  .header__section .block:first-child:last-child.block-superfish {
    padding-left: 15px;
    padding-right: 15px;
  }

}

