/* Main settings */
body {
  background-color: #339cc2;
  background-image: linear-gradient(to bottom right, #339cc2, #339cc2, #44d4aa 102%);
  background-repeat: no-repeat;
  min-height: 100vh;
  height: 100%;
  font-family: 'Rubik', sans-serif;
}
a {
  color: #339cc2;
  text-decoration: none;
}
a:hover {
  color: #287c9a;
}
.btn-primary {
  background-color: #339cc2;
  font-size: 18px;
  border: none;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus{
  background-color: #287c9a;
}
.btn-check:focus + .btn-secondary,
.btn-secondary:focus,
.btn-primary:active:focus,
.btn-primary:focus{
  box-shadow: none;
}
body.header_disabled {
  padding-top: 20px;
}
.container-fluid,
.row {
  min-height: 100vh;
  height: 100%;
}
#mate-gtm-iframe {
  display: none;
  visibility: hidden;
}
.alert-danger {
  color: #ff4040;
  background-color: #ffebeb;
  border-color: #ffebeb;
  font-size: 14px;
}
.alert-success {
  color: #747474;
  background-color: #f3f3f3;
  border-color: #f3f3f3;
  font-size: 14px;
}

/* Navbar */
.navbar {
  position: absolute;
  z-index: 99;
  min-height: 54px;
}
.navbar-header {
  height: 54px;
}
.navbar-brand {
  padding: 5px 0 7px 20px;
  height: 54px;
}
.navbar-brand img {
  height: 26.25px;
}
.navbar-text {
  display: none;
}
.mate-header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  height: 54px;
}
.mate-header {
  width: 100%;
  display: flex;
  border: none;
  background-color: transparent;
}
.mate-brand {
  display: flex;
  align-items: center;
}

.mate-header-logo {
  padding: 0 14px 0 7px;
}

/* Panel */
.mate-panel {
  border: none;
  width: 100%;
  box-shadow: none;
}
.mate-panel-heading {
  border-bottom: none;
  padding-bottom: 14px;
  font-weight: lighter;
  color: #747474;
}
.panel-wrapper {
  align-self: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 90vh;
}
.panel {
  background-color: transparent;
}
.panel-title {
  font-size: 30px;
  font-weight: 300;
}
.panel-body {
  padding: 40px;
  background-color: #fff;
  -webkit-box-shadow: 10px 7px 15px -6px rgba(0, 0, 0, 0.45);
  box-shadow: 10px 7px 15px -6px rgba(0, 0, 0, 0.45);
  border-radius: 5px;
}
.panel-body .small {
  color: #afafaf;
  font-size: 10px;
}
.icons {
  padding: 0 10%;
}
.icons .icon--text {
  color: #747474;
  font-size: 18px;
  font-weight: 300;
}

/* Links */
.mate-action-links {
  margin-top: 20px;
  text-align: center;
}
.mate-action-links p {
  text-align: center;
  color: #747474;
}

/* Form */
.form-default {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.mate-form-default h1 {
  font-weight: lighter;
  color: #747474;
  font-size: 36px;
}
.form-group {
  margin-bottom: 25px;
}
.form-control {
  font-size: 16px;
  font-weight: lighter;
}
.form-group select {
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -ms-appearance: none;
}
.form-group label {
  font-weight: normal;
  font-size: 0.875rem;
  color: #747474;
}
.form-group label.btn-secondary {
  background-color: transparent;
  color: #b8b8b8;
  border-color: #b8b8b8;
  font-size: 14px;
  font-weight: 500;
}
.form-group label.btn-secondary:hover {
  background-color: #339cc2;
  color: #fff;
}
.form-group .btn-check:active + .btn-secondary,
.btn-check:checked + .btn-secondary,
.btn-secondary.active,
.btn-secondary:active,
.show > .btn-secondary.dropdown-toggle {
  background-color: #339cc2;
  color: #fff;
  border-color: #b8b8b8;
}
.btn-check:active + .btn-secondary:focus,
.btn-check:checked + .btn-secondary:focus,
.btn-secondary.active:focus,
.btn-secondary:active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: none;
}
.form-group input#inputUsername,
.form-group input#inputUsername:focus,
.form-group input#inputPassword,
.form-group input#inputPassword:focus {
  padding-left: 35px;
}

.form-group input,
.form-group select {
  border: 0;
  background-color: transparent;
  color: #303030;
  box-shadow: none;
  border-bottom: 1px solid #afafaf;
  padding-left: 10px;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.15s ease;
}
.form-group input:focus,
.form-group select:focus{
  background-color: #e9f5f9;
  box-shadow: none;
  padding-left: 10px;
}
.form-group.has-error input,
.form-group.has-error select {
  background-color: #f2dede;
}
.form-group.has-error input:focus,
.form-group.has-error select:focus {
  background-color: #ebccd1;
}
.form-group input::placeholder,
.form-group select::placeholder {
  color: #9c9c9c;
}
.input-group-addon {
  border: 0;
}
#password-addon,#user-addon {
  background: none;
  border: none;
  border-radius: unset;
  padding-left: .65rem;
  position: absolute;
  z-index: 99999;
  top: 5px;
}
.lead {
  font-size: 14px;
  color: #747474;
}
.registration-form-warning-already-responded {
  background-color: white;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px;
  padding-bottom: 0;
  position: relative;
}
.footer p {
  padding: 0;
}
.footer,
.footer a {
  color: #fff;
  font-size: 16px;
  font-weight: lighter;
}
.footer a {
  padding: 0 10px;
  border-right: 1px solid #fff;
}
.footer a:last-of-type {
  border: none;
}
.footer a:hover {
  color: #747474;
}

@media (min-width: 768px) {
  body.header_disabled {
    padding-top: 100px;
  }
  .mate-panel {
    justify-content: center;
    width: 50%;
    margin: auto;
    max-width: 456px;
  }
}
@media (max-width: 768px) {
  body {
    background-color: #fff;
    background-image: none;
  }
  .navbar {
    position: unset;
  }
  .panel-body {
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
  }
  .panel-wrapper {
    align-self: unset;
    padding: 0;
  }
  .mate-panel {
    padding: 0;
  }
  .footer,
  .footer a {
    color: #747474;
    font-size: 14px;
    font-weight: lighter;
  }
  .footer a {
    padding: 0 5px;
    border-right: 1px solid #747474;
  }
}
@media screen and (max-width: 414px) and (orientation: portrait),
  screen and (max-width: 736px) and (orientation: landscape) {
  .mate-panel {
    flex-direction: column;
  }
  .mate-wider-form-content {
    width: 100%;
  }
  .panel-title {
    text-align: center;
  }
}
/* ----- Carousel ----- */
.ads-slider {
  max-width: 650px;
  display: none;
  background-color: #fff;
}
@media (max-width: 1920px) {
  .ads-slider {
    max-width: 560px;
  }
}
.main-carousel--wrapper {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 82%;
}
.carousel {
  position: unset;
}
.carousel-cell {
  width: 100%;
  overflow: hidden;
  min-height: 500px;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
.carousel-cell--quote {
  color: #afafaf;
  font-weight: 200;
  font-size: 26px;
  padding: 5px;
}
.carousel-cell--spaekerInfo {
  word-break: break-word;
}
.carousel-cell--speaker {
  margin: 50px 0;
  color: #afafaf;
  padding: 5px;
}
.carousel-cell--spaekerImage {
  display: inline-block;
  position: relative;
  object-fit: cover;
}
.flickity-enabled.is-draggable .flickity-viewport {
  min-height: 400px;
  position: relative;
  top: 20%;
}
.flickity-page-dots .dot {
  margin: 0 4px;
}
.flickity-page-dots .dot.is-selected {
  background: #339cc2;
}

.sidepanel--widgets {
    position: absolute;
    bottom: 20px;
    left: 20px;
}
/* Spinner */
.spinner {
  animation: rotator 1.4s linear infinite;
}
@keyframes rotator {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(270deg);
  }
}
.path {
  stroke-dasharray: 187;
  stroke-dashoffset: 0;
  transform-origin: center;
  animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}
@keyframes colors {
  0% {
    stroke: #70beda;
  }
  25% {
    stroke: #339cc2;
  }
  50% {
    stroke: #44d4aa;
  }
  75% {
    stroke: #28ac86;
  }
  100% {
    stroke: #339cc2;
  }
}
@keyframes dash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 46.75;
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    transform: rotate(450deg);
  }
}

/* Use this class for elements that should only be visible for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
