/* ================================================================= */
/* Portal General                                                    */
/* ================================================================= */

:root {
  --portal-font: rgba( 0, 0, 0, .85);
  --portal-primary: #bd1220 !important;
  --portal-secondary: #ee8027 !important;
  --portal-tertiary: #ee8027 !important;
  --portal-fourth: #bd1220 !important;
  /* --speaker-bg: url("https://cdn.congress-online.com/ecp2021/web/portal/op/bg-images/default-speaker.png"); */
  --portal-sidebar-central-button-background-color: #ee8027 !important;
  --portal-toolip-background-color: #bd1220 !important;
}

@media only screen and (max-height: 760px) {
  :root {
    --sidebar-icons-size: 25px;
    --sidebar-margin-from-cental: 45px;
    --central-button-size: 50px;
    --sidebar-icon-central-size: 30px;
  }

  #sidebar-quick-wrapper .nav-item.nav-item-main {
    top: calc(50% - (var(--central-button-size) / 1.5));
    margin: 0;
  }
}

#wrapper {
    margin: 0;
}

.btn, .btn a {
    color: white !important;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.portal-page-wrapper .content-area {
    flex: 1;
}

.portal-page-bg-image {
    min-height: auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment:fixed;
}

.content-main {
    height: 100vh;
}

.content-main .wrapper {
    height: 100%;
}

input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color:
      #4a4b4d !important;
  opacity: 1; /* Firefox */
}

/* ================================================================= */
/* Player Mode Captions                                              */
/* ================================================================= */

/* .player-mode-caption {
  display: none;
}

.player-mode-live-stream {
  display: none;
}

.player-mode-on-demand {
  display: none;
}

.player-mode-no-stream {
  display: none;
}

.player-mode-spacer {
  display: none;
} */


.carousel .item img {
    margin-top: 0;
}

#cong-form {
    overflow: inherit;
}

/* ================================================================= */
/* Videoplayer                                                       */
/* ================================================================= */

.op-session__player {
  margin-bottom: 1em;
}

.player__container {
    display: grid;
    grid-template-columns: auto 1.5rem 25%;
    grid-template-rows: auto;
    grid-template-areas:
        "Video . QandA"
        "SessionInfo . QandA"
        "SuggestedSessions . QandA";
}

.op-player__session {
    grid-area: Video;
    margin: 0 0 2rem;
}

.op-player__sessionInfo {
    grid-area: SessionInfo;
}

.op-player__suggestedSessions {
    grid-area: SuggestedSessions;
}

.op-player__mode {
    font-weight: bold;
}

.op-player__noStream {
    color: #a5242c;
    font-weight: bold;
}

.op-player__session,
.op-player__QandA,
.op-player__sessionInfo,
.op-player__suggestedSessions {
    margin: 0 0 2rem;
}

.op-player__iFrameQA {
	width: 100%;
	height: 100%;
  margin: 0;
}

.op-player__QandA .op-player__iFrameQA {
    height: 300px;
    width: 100%;
    grid-area: QandA;
    border: 0;
}

.op-player__QandA .op-player__iFrameQA_questionBox {
    height: 382px;
    width: 100%;
    grid-area: QandA;
    border: 0;
}


/* tablets, less than 992px */
@media (max-width: 991.98px) {
    .op-player__container {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "Video"
            "QandA"
            "SessionInfo"
            "SuggestedSessions";
    }
}

@media (max-width: 575.98px) {
  .op-player__QandA .op-player__iFrameQA_questionBox {
      height: 245px;
      grid-area: QandA;
  }
}

#op-session__contribution-info {
    margin-top: 1rem;
}

#op-session__contribution-info .tpl-op-session-item__contribution-item {
    flex-direction: column;
}

.op-session-contribution__dividerText {
    display: block;
    padding-bottom: 1rem;
}

.op-session-contribution__dividerText {
    display: block;
    padding-bottom: 1rem;
}

.tpl-op-session-additional-description__contribution {
    border-bottom: 1px solid #ddd;
}

/* ================================================================= */
/* Kacheln / Tiles                                                   */
/* ================================================================= */

.tpl-op-tiles__container {
  display: flex;
  flex-flow: row wrap;
}

.tpl-op-tiles__container a {
  color: #4a4a4a;
  padding: 0 .35rem;
  margin-bottom: 1rem;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 33.333%;
  text-decoration: none;
}

.tpl-op-tiles__container a {
  color: #4a4a4a;
  padding: 0 .35rem;
  margin-bottom: 1rem;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 33.333%;
  text-decoration: none;
}

.tpl-op-tiles__container a:nth-child(3n+1) {
  padding-left: 0rem;
  padding-right: .65rem;
}

.tpl-op-tiles__container a:nth-child(3n+0) {
  padding-left: .65rem;
  padding-right: 0rem;
}

.tpl-op-tiles__content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 50%;
  padding: 5px 1rem 5px 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.9) 100%);
}

.tpl-op-tiles__tile {
  height: 300px;
  width: 100%;
  display: flex;
  background-repeat: no-repeat, no-repeat;
  background-size: cover;
  align-items: flex-end;
  width: 100%;
}

.tpl-op-tiles__borderDefault {
  border-radius: 8px;
  /* border-top: #4a4a4a solid 5px; */
  border-bottom: #4a4a4a solid 5px;
}

.tpl-op-tiles__publicNumber {
  font-weight: bold;
  white-space: nowrap;
}

.tpl-op-tiles__publicNumber:after {
  content: " |";
}

.tpl-op-tiles__title {
  color: #4a4a4a;
  font-weight: bold;
}

.tpl-op-tiles__headline {
  font-size: 0.95rem;
}

.tpl-op-tiles__description {
  display: flex;
  flex-wrap: wrap;
  margin: .5em 0;
  font-size: 14px;
}

a .tpl-op-tiles__description {
  color: #4a4a4a;
}

.tpl-op-tiles__description-detail {
  margin: 0 0.5em 0.5em 0;
  padding: 0.25em 0.875em;
  border-radius: 5px;
  color: rgba(0,0,0,.85);
  font-size: 0.750rem;
  border: 1px solid #B6B6B6;
  background-color: #fff;
}

a.tpl-op-tiles__description-detail {
  color: rgba(0,0,0,.85);
}

.tpl-op-tiles__description-detail img {
  vertical-align: middle;
  height: 1rem;
  margin: 0;
  margin-top: -3px;
  margin-right: 0.5em;
}

/* not HD desktops, less than 1680px */
@media (max-width: 1679.98px) {
    .op-player__suggestedSessions .tpl-op-tiles__container a {
        flex-basis: 50%;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(3n+1),
    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(3n+0) {
        padding: 0;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+1) {
        padding: 0 .5rem 0;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+0) {
        padding: 0 0 0 .5rem;
    }
}

/* desktops, less than 1200px */
@media (max-width: 1199.98px) {
    .tpl-op-tiles__container a {
        flex-basis: 50%;
    }

    .tpl-op-tiles__container a:nth-child(3n+1),
    .tpl-op-tiles__container a:nth-child(3n+0) {
        padding: 0;
    }

    .tpl-op-tiles__container a:nth-child(2n+1) {
        padding: 0 .5rem 0;
    }

    .tpl-op-tiles__container a:nth-child(2n+0) {
        padding: 0 0 0 .5rem;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container {
        flex-direction: column;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a {
        flex-basis: 100%;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+1),
    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+0) {
        padding: 0;
    }
}

/* tablets, less than 992px */
@media (max-width: 991.98px) {
    .tpl-op-tiles__headline {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container {
        flex-direction: column;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a {
        flex-basis: 100%;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+1),
    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+0) {
        padding: 0;
    }

}

/* landscape phones, less than 768px */
@media (max-width: 767.98px) {
    .tpl-op-tiles__container {
        flex-direction: column;
    }

    .tpl-op-tiles__container a {
        flex-basis: 50%;
    }

    .tpl-op-tiles__container a:nth-child(2n+1) {
        padding: 0 .5rem 0;
    }

    .tpl-op-tiles__container a:nth-child(2n+0) {
        padding: 0 0 0 .5rem;
    }

    .tpl-op-tiles__content {
        background-color: transparent;
        background: transparent;
    }

    .tpl-op-tiles__content .tpl-op-session__headline {
        background: rgba(255,255,255, 0.9);
        padding: 0.5rem;
        border: 1px solid #b6b6b6;
        border-radius: 5px;
    }

    .tpl-op-tiles__description-detail {
        background: rgba(255,255,255, 0.9);
    }
}

/* phones, less than 576px */
@media (max-width: 575.98px) {
    .tpl-op-tiles__container {
        flex-direction: column;
    }

    .tpl-op-tiles__container a {
        flex-basis: 100%;
    }

    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+1),
    .op-player__suggestedSessions .tpl-op-tiles__container a:nth-child(2n+0) {
        padding: 0;
    }
}

/* ================================================================= */
/* AdBanner                                                          */
/* ================================================================= */

/* .AdBanner {
  width: 100% !important;
} */

.AdBanner__container {
  margin: 0 auto 1em;
  border: 0px !important;
  height: 600px;
}

.AdBanner__desktop {
  display: block;
}

.AdBanner__mobile {
  display:none;
}

@media (max-width: 575.98px) {

  .AdBanner__container {
    margin: 0 auto;
    height: 100px;
    margin-bottom: 0.565em;
    text-align: center;
  }

  .AdBanner__desktop {
    display:none;
  }

  .AdBanner__mobile {
    display:block;
  }

  .AdBanner__container {
	  width: 320px !important;
  }
}

/* ================================================================= */
/* Raffle                                                            */
/* ================================================================= */

.raffle {
  width: 100% !important;
}

.raffle__container {
  margin: 0 auto 1em;
  border: 0px !important;
  height: 600px;
}

.raffle__desktop {
  display: block;
}

.raffle__mobile {
  display:none;
}

@media (max-width: 575.98px) {

  .raffle {
    margin: 0 auto;
    margin-top: 1em;
  }

  .raffle__container {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    text-align: center;
  }

  .raffle__desktop {
    display:none;
  }

  .raffle__mobile {
    display:block;
  }
}

/* ================================================================= */
/* Adjust                                                           */
/* ================================================================= */

.tooltip.bs-tooltip-right .arrow::before,
.tooltip-central .arrow::before {
    border-right-color: var(--portal-toolip-background-color);
}

.tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: var(--portal-toolip-background-color);
}

.tooltip-central .tooltip-inner,
.tooltip .tooltip-inner,
.tooltip.right .tooltip-inner,
.tooltip.bottom .tooltip-inner  {
    background: var(--portal-toolip-background-color);
}

.tooltip-inner,
.tooltip-central .tooltip-inner {
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
}
