/* Default video*/
 .video-wrapper {
    position: relative;
    padding-bottom: 41.6667%; /* +/- 16:9 */
    width: 100%;
    height: 0;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../assets/img/home/200y/200y-video-bg.jpg) center top no-repeat; background-size: cover;
}

@media screen and (max-width: 768px) {
    .video-wrapper { padding-bottom: 100%; background: url(../assets/img/home/200y/200y-video-bg-mob.jpg) center top no-repeat; background-size: cover;}
    .video-wrapper video { display: none; }
}

/* Once upon a time section */
.bg-image-once-upon-a-time { background: url(../assets/img/home/200y/once-up-time-bg.jpg); padding: 75px 20px 300px; position: relative; overflow: hidden; }
.bg-image-once-upon-a-time .lindemans-logo-200-anniversary { display: block; margin: 0 auto 100px;}
.bg-image-once-upon-a-time h2 { font-family: 'birch', serif; font-size: 70px; color: #84553B; text-transform: uppercase; text-align: center; position: relative; z-index: 2; }

@keyframes dot-flashing {
    0% {
        background-color: #84553B;
    }

    50%,100% {
        background-color: #cbb5aa;
    }
}

.bg-image-once-upon-a-time h2 .animated-dots,
.bg-image-once-upon-a-time h2 .animated-dots::before,
.bg-image-once-upon-a-time h2 .animated-dots::after {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: #84553B;
}
.bg-image-once-upon-a-time h2 .animated-dots {
    position: relative;
    animation: dot-flashing 1s infinite linear alternate;
    animation-delay: .5s;
    margin-left: 20px;
}
.bg-image-once-upon-a-time h2 .animated-dots::before,
.bg-image-once-upon-a-time h2 .animated-dots::after {
    content: '';
    position: absolute;
    top: 0;
    animation: dot-flashing 1s infinite alternate;
}
.bg-image-once-upon-a-time h2 .animated-dots::before {
    left: -13px;
    animation-delay: 0s;
}
.bg-image-once-upon-a-time h2 .animated-dots::after{
    left: 13px;
    animation-delay: 1s;
}
.bg-image-once-upon-a-time::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 0; padding-bottom: 22%; background: url(../assets/img/home/200y/once-up-time.png) center bottom no-repeat; background-size: cover; }
.bg-image-once-upon-a-time .neck-bottom {
    position: absolute;
    z-index: 99;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 35px;
    background: url(../assets/img/neck-bottom-white.png) no-repeat center bottom;
}
.bg-image-once-upon-a-time .neck-bottom:before,
.bg-image-once-upon-a-time .neck-bottom:after{
    content: "";
    position: absolute;
    bottom: 0; top: 0;
    background-color: #fff;
}
.bg-image-once-upon-a-time .neck-bottom:before{
    left: 0; right: 50%;
    margin-right: 49px;
}
.bg-image-once-upon-a-time .neck-bottom:after{
    left: 50%; right: 0;
    margin-left: 49px;
}

@media screen and (max-width: 1024px) {
    .bg-image-once-upon-a-time { padding-bottom: 200px;}
}
@media screen and (max-width: 992px) {
    .bg-image-once-upon-a-time { padding-bottom: 140px;}
}
@media screen and (max-width: 768px) {
    .bg-image-once-upon-a-time { padding: 35px 20px 100px; }
    .bg-image-once-upon-a-time .lindemans-logo-200-anniversary { margin: 0 auto 50px;}
    .bg-image-once-upon-a-time h2 { font-size: 40px }
    .bg-image-once-upon-a-time h2 .animated-dots { margin-left: 15px; }
    .bg-image-once-upon-a-time h2 .animated-dots,
    .bg-image-once-upon-a-time h2 .animated-dots::before,
    .bg-image-once-upon-a-time h2 .animated-dots::after { width: 5px; height: 5px; }
    .bg-image-once-upon-a-time h2 .animated-dots::before { left: -8px }
    .bg-image-once-upon-a-time h2 .animated-dots::after { left: 8px }
    .bg-image-once-upon-a-time::after {padding-bottom: 22%}
}

/* Media-text */
@media screen and (min-width: 768px) {
    .home-media-text .media-text { display: flex; justify-content: space-between; align-content: flex-start;}
    .home-media-text .media-text ~ .media-text {margin-top: 120px}
    .home-media-text .media-text .media-text__media { width: 50%; overflow: hidden; }
    .home-media-text .media-text .media-text__content { width: 43%; }
    .home-media-text .media-text.media-right .media-text__media { order: 1;}

    .home-media-text .media-text .media-text__media,
    .home-media-text .media-text .media-text__content {
        display: flex; flex-direction: column; justify-content: center;
    }
    .home-media-text .media-text h2.title { margin: 0 }
    .home-media-text.container-art-deco { padding-bottom: 120px }
    .home-media-text .art-deco-cta-container.my { margin: 80px auto; }
}

.home-media-text .media-text h2.title span.txt { border-bottom: 0 }

@keyframes dot-flashing-black {
    0% {
        background-color: #000000;
    }

    50%,100% {
        background-color: #cccccc;
    }
}

.home-media-text .media-text h2.title span.txt .animated-dots,
.home-media-text .media-text h2.title span.txt .animated-dots::before,
.home-media-text .media-text h2.title span.txt .animated-dots::after {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 5px;
    background-color: #000000;
}
.home-media-text .media-text h2.title span.txt .animated-dots {
    position: relative;
    animation: dot-flashing-black 1s infinite linear alternate;
    animation-delay: .5s;
    margin-right: 10px;
}
.home-media-text .media-text h2.title span.txt .animated-dots::before,
.home-media-text .media-text h2.title span.txt .animated-dots::after {
    content: '';
    position: absolute;
    top: 0;
    animation: dot-flashing-black 1s infinite alternate;
}
.home-media-text .media-text h2.title span.txt .animated-dots::before {
    left: -7px;
    animation-delay: 0s;
}
.home-media-text .media-text h2.title span.txt .animated-dots::after{
    left: 7px;
    animation-delay: 1s;
}

.home-media-text .media-text__media-video { position: relative; }
.home-media-text .media-text__media-video .video-play { position: absolute;  top: 0; right: 0; bottom: 0; left: 0; border: 0; margin: auto; background: transparent}
.home-media-text .media-text__media-video .video-play span {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.home-media-text .media-text__media-video .video-play .play-button-triangle{
    fill: #7d4544;
    transition: fill .3s ease-out;
}

.home-media-text .media-text__media-video .video-play .play-button-bg,
.home-media-text .media-text__media-video .video-play .play-button-border{
    fill: rgba(255, 255, 255, 0.4);
}

.home-media-text .media-text__media-video .video-play .play-button-border{
    stroke: #7d4544;
    transition: stroke .3s ease-out;
    stroke-width: 2px;
}

.home-media-text .media-text__media-video .video-play:hover .play-button-triangle,
.home-media-text .media-text__media-video .video-play:focus .play-button-triangle{
    fill: #D2A049;
}
.home-media-text .media-text__media-video .video-play:hover .play-button-border,
.home-media-text .media-text__media-video .video-play:focus .play-button-border{
    stroke: #D2A049;
}

.home-media-text .art-deco-cta-container { text-align: center; }
.home-media-text .art-deco-cta {
    display: inline-block;
    text-decoration: none;
    background-color: #B4985B; color: white;
    border-radius: 10px;
    padding: 15px;
    margin: 20px;
    position: relative;
    min-width: 370px;
    transition: all .3s ease-in-out;
}
.home-media-text .art-deco-cta::before,
.home-media-text .art-deco-cta::after {
    content: "";
    position: absolute;
    top: -20px;
    width: 144px;
    height: 75px;
    background: url(../assets/img/home/200y/cta.svg) no-repeat center;
    background-size: cover;
}
.home-media-text .art-deco-cta::before { left: -20px }
.home-media-text .art-deco-cta::after { right: -20px; transform: scaleX(-1)}
.home-media-text .art-deco-cta:hover, .home-media-text.container-art-deco .art-deco-cta:focus { background-color: #D2A049; }

@media screen and (min-width: 1025px) {
    .home-media-text .art-deco-cta-container {  margin-top: -30px }
}

@media screen and (max-width: 768px) {
    .home-media-text { padding-bottom: 80px }
    .home-media-text h2.title { margin: 40px 0 0; }
    .home-media-text .art-deco-cta { min-width: 280px;  }
}

.section-fullscreen-video.corporate-video {
    position: relative;
    background: url(../assets/img/home/200y/200y-corporate-video-bg.jpg) center bottom no-repeat;
    background-size: cover;
}

.section-fullscreen-video.corporate-video .video-content,
.section-fullscreen-video.corporate-video .video-content h2{
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.section-fullscreen-video.corporate-video .video-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section-fullscreen-video.corporate-video .video-play {
    margin: 30px 0 0;
}

@media screen and (min-width: 768px) {
    .section-fullscreen-video.corporate-video .video-play {
        width: 70px;
        height: 70px;
    }
}

.section-fullscreen-video.corporate-video .video-play svg { width: 100%; height: 100%; }

@media screen and (max-width: 767px) {
    .section-fullscreen-video.corporate-video { background-image: url(../assets/img/home/200y/200y-corporate-video-bg-mob.jpg)}
}

body.modal-open {
    overflow: hidden;
}

.modal{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 1000;
    font-family: "Open Sans Condensed", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translate(0, 50px);
    pointer-events: none;
    transition: opacity .3s ease-out, transform .3s ease-out ;
}

.modal.light {
    background-color: white;
}

.modal.dark {
    background-color: rgba(0,0,0, .5);
}

.modal.open{
    opacity: 1;
    transform: translate(0, 0);
    pointer-events: auto;
}

.modal-header{
    position: relative;
    z-index: 5;
    padding-right: 40px;
}

.modal-header h2{
    font-size: 18px;
    padding: 20px 0;
}

.modal-header .modal-close{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #c09a3a;
    text-align: center;
    line-height: 25px;
    color: #c09a3a;
    text-transform: uppercase;
    font-size: 10px;
    text-decoration: none;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    transition: background-color .3s ease-out;
    padding: 2px 7px;
}

.modal-header h2 + .modal-close {
    top: 20px;
}
.modal-header .modal-close span{
    /* screen reader's support */
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.modal-header .modal-close svg{
    display: block;
    width: 14px;
    height: 14px;
    fill: #c09a3a;
}

.modal-header .modal-close:hover,
.modal-header .modal-close:focus {
    background-color: #c09a3a;
}

.modal-header .modal-close:hover svg,
.modal-header .modal-close:focus svg {
    fill: white;
}

.modal-dialog{
    width: 90%;
    max-height: 90vh;
    background-color: white;
    padding: 20px;
    color: #000;
}

.modal-dialog.small {
    max-width: 400px;
}

.modal-dialog.containerSize {
    max-width: 960px;
}

.modal-dialog.fullwidth {
    max-width: 100%;
}
