/* Utilities used by this page */
.mt-5 { margin-top: 15px; }
.mw-100 { max-width: 100%; }
.pb-3 { padding-bottom: 25px; }
.pr-0 { padding-right: 0; }
.pl-1 { padding-left: 5px; }
.pt-5 { padding-top: 50px; }
.pb-5 { padding-bottom: 50px; }
.w-100 { width: 100%; }
.pl-42{padding-left:42px;}
.pr-42{padding-right:42px;}

#mainbody{
    padding-top:0;
}

.top-header {
    position: relative;
}

.top-header .top-header-banner {
    display: block;
    width: 100%;
    height: auto;
}

.date-img{
    width:30% !important;
}

.overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.overlay .btn-default {
    margin-top: 0;
}

.overlay .col-md-3 img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.teal-header {
    display: inline-block;
    padding-top: 30px;
    margin-bottom: 30px;
}

.teal-h2 {
    text-shadow: none;
    font-weight: 700;
    text-transform: uppercase;
}

.article-link {
    display: block;
    text-align: center;
    color: #fff !important;
    background-color: #009ba7;
    padding: 15px;
    text-decoration: underline !important;
    text-transform: uppercase;
    font-weight: bold !important;
    overflow-wrap: break-word;
}

p {
    line-height: 1.6;
}

.panel-title {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    padding-top: 15px;
}

.white-h3,
.teal-h3 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2.5em;
    line-height: 1.15;
}

.white-h3 {
    color: #fff !important;
}

.teal-h3 {
    color: #009ba7 !important;
}

.btn-default {
    border-radius: 0;
    background-color: transparent;
    border: 4px solid #fff;
    text-transform: uppercase;
    color: #fff !important;
    font-size: 27px;
    white-space: normal;
    filter: drop-shadow(5px 5px 10px #000);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    color: #009ba7 !important;
    background-color: #fff;
    border: 4px solid #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.countdown {
    text-align: center;
    font-size: 28px;
    color: #fff !important;
    filter: drop-shadow(5px 5px 10px #000);
    font-variant-numeric: tabular-nums;
}

.countdowntext {
    text-align: center;
    color: #fff !important;
    text-transform: uppercase;
    filter: drop-shadow(5px 5px 10px #000);
}

.border-right {
    border-right: 1px solid #fff;
}

/* Shown in place of the countdown once the event starts */
.countdown-started {
    color: #fff !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    filter: drop-shadow(5px 5px 10px #000);
    overflow-wrap: break-word;
}

/* Make sure the hidden attribute wins over grid display rules */
.overlay [hidden] {
    display: none !important;
}

.mailinglist {
    padding: 80px 0;
    background-image: url('../../img/wit2026/newsletter_banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mailinglist .btn {
    min-height: 64px;
}

.subscribe {
    height: 64px;
    border-radius: 0;
    border: 4px solid #fff !important;
    background-color: transparent;
    color: #fff;
}

.subscribe::placeholder {
    color: #fff;
    opacity: 1;
}

.speakers {
    padding: 40px 0;
    background-image: url('../../img/wit2026/speakers_banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.equal-height-row {
    display: flex;
    align-items: stretch;
}

.equal-height-row > div {
    display: flex;
    min-width: 0;
}

.equal-height-row video,
.equal-height-row img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-2{
    object-fit: cover !important;
}

/* Programme image link fills its column like the video it replaces */
.programme-link {
    display: block;
    width: 100%;
}

/* Make sure the hidden attribute wins over the display rules above */
.equal-height-row [hidden] {
    display: none !important;
}

.col-5-custom {
    width: 20%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
}

.col-5-custom img {
    display: block;
    width: 100%;
    height: auto;
}

.nominees-slider img {
    display: block;
    width: 100%;
    height: auto;
    padding: 0 5px;
    box-sizing: border-box;
}

.no-shadow {
    box-shadow: none !important;
    filter: none !important;
}

/* Slick chevrons */
.slick-prev.slick-arrow,
.slick-next.slick-arrow {
    width: 40px;
    height: 50px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 0;
}

.slick-prev.slick-arrow:before,
.slick-next.slick-arrow:before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    opacity: 1;
    font-size: 0;
    border-color: #009ba7;
    border-style: solid;
    border-width: 0;
}

.slick-prev.slick-arrow:before {
    border-left-width: 5px;
    border-bottom-width: 5px;
    transform: rotate(45deg) scale(0.7);
}

.slick-next.slick-arrow:before {
    border-right-width: 5px;
    border-top-width: 5px;
    transform: rotate(45deg) scale(0.7);
}

.slick-prev.slick-arrow { left: -35px; }
.slick-next.slick-arrow { right: -35px; }

/* Tablet */
@media (max-width: 991px) {
    #mainbody{
        padding-top: 68px !important;
    }

    .col-5-custom {
        width: 33.3333%;
    }

    .overlay {
        bottom: 15px;
    }

    .overlay .btn-default {
        font-size: 20px;
        padding: 10px;
    }

    .countdown,
    .countdown-started {
        font-size: 24px;
    }

    .white-h3,
    .teal-h3 {
        font-size: 2.1em;
    }

    .equal-height-row video,
    .equal-height-row img {
        min-height: 0;
    }

    .slick-prev.slick-arrow { left: -25px; }
    .slick-next.slick-arrow { right: -25px; }
}

/* Mobile */
@media (max-width: 767px) {
    .overlay {
        position: static;
        padding: 15px 0;
        background: #063c50;
    }

    .overlay .btn-default {
        width: 100%;
        margin: 0 0 15px;
        font-size: 20px;
    }

    .overlay .col-md-3,
    .overlay .col-md-5 {
        margin-bottom: 15px;
    }

    /* The 42px desktop side padding is too wide on phones */
    .overlay .pl-42 {
        padding-left: 15px;
    }

    .overlay .pr-42 {
        padding-right: 15px;
    }

    .countdown {
        font-size: 22px;
    }

    .countdown-started {
        font-size: 22px;
        text-align: center;
    }

    .countdowntext {
        font-size: 12px;
    }

    .teal-header {
        padding-top: 20px;
        margin-bottom: 20px;
    }

    .article-link {
        padding: 12px;
        font-size: 14px;
    }

    .equal-height-row {
        display: block;
    }

    .equal-height-row > div {
        display: block;
        margin-bottom: 15px;
    }

    .equal-height-row video,
    .equal-height-row img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .speakers {
        padding: 30px 0;
    }

    .col-5-custom {
        width: 50%;
    }

    .white-h3,
    .teal-h3 {
        font-size: 1.8em;
    }

    .mailinglist {
        padding: 40px 0;
    }

    .mailinglist .pr-0,
    .mailinglist .pl-1 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mailinglist .pl-1 {
        margin-top: 10px;
    }

    .mailinglist h3 {
        margin-top: 0;
    }

    .mailinglist .btn {
        width: 100%;
    }

    .pt-5 {
        padding-top: 25px;
    }

    .pb-5 {
        padding-bottom: 25px;
    }

    .mt-5 {
        margin-top: 20px;
    }

    .slick-prev.slick-arrow { left: 2px; }
    .slick-next.slick-arrow { right: 2px; }
}

/* Small phones */
@media (max-width: 480px) {
    .col-5-custom {
        width: 100%;
    }

    .white-h3,
    .teal-h3 {
        font-size: 1.55em;
    }

    .countdown {
        font-size: 19px;
    }

    .countdown-started {
        font-size: 19px;
    }

    .countdowntext {
        font-size: 10px;
    }

    .slick-prev.slick-arrow,
    .slick-next.slick-arrow {
        width: 28px;
    }

    .slick-prev.slick-arrow:before,
    .slick-next.slick-arrow:before {
        width: 30px;
        height: 30px;
        border-width: 0;
    }

    .slick-prev.slick-arrow:before {
        border-left-width: 4px;
        border-bottom-width: 4px;
    }

    .slick-next.slick-arrow:before {
        border-right-width: 4px;
        border-top-width: 4px;
    }
}
