﻿/* ---------------------------------------------------------------
	hijack overlay
--------------------------------------------------------------- */
.hijack-overlay, .hijack {
    transition: opacity .5s;
}

.hijack-hidden {
    opacity: 0;
    display: none;
}

.hijack-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: rgba(54, 54, 54, 0.9);
    color: #fff;
    text-align: center;
    padding-top: 2rem;
    z-index: 100;
}

.hijack {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 65%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 101;
    opacity: 1;
}

.hijack-content {
    display: flex;
    flex-flow: column;
    height: 100%;
    overflow: hidden;
}

.hijack-logo, .hijack-link {
    text-align: center;
    padding: 15px;
}

.hijack-img-txt {
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.hijack-img {
    width: 100%;
    height: 20%;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hijack-txt {
    width: 100%;
    height: auto;
    float: left;
    text-align: center;
    padding: 20px;
    overflow: auto;
}

    .hijack-txt h3 {
        color: #087ec5;
        font-size: 18px;
    }
    .hijack-content {
        z-index: 1000;
    }
    .hijack-content > .section {
        margin: 0 auto;
        padding: 20px 20px 30px;
    }

        .hijack-content > .section > .section-connected {
            padding-top: 0;
            padding-bottom: 0;
        }
            .hijack-content > .section > .section-connected form {
                margin-bottom: 0;
            }

.hijack p {
    font-size: 14px;
}

.hijack-txt .limited-offer p {
    font-family: "factoria";
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
}

.hijack-hashtag {
    text-align: center;
    display: none;
}

    .hijack-hashtag h2 {
        width: 75%;
        margin: 0 auto;
        color: #fff;
        background: #ed1b2e;
        padding: 10px 0;
        line-height: 1.3;
        font-size: 20px;
    }

.hijack-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 100000;
    touch-action: pan-x pan-y pinch-zoom;
}
    .hijack-close.fa-times {
        touch-action: pan-x pan-y pinch-zoom;
    }
    .fa-highjack-fb {
        color: #3b5998;
        display: inline-block;
        font-size: 32px;
        line-height: 28px;
        vertical-align: bottom;
    }

.hijack.no-img .hijack-img {
    display: none;
}

.hijack.no-img .hijack-txt {
    width: 100%;
}

.fb-btn-margin {
    margin: 20px 0;
}

@media (min-width: 768px) {
    .hijack-img {
        width: 50%;
        height: 100%;
        float: left;
        background-size: cover;
    }

    .hijack-txt {
        width: 50%;
        height: 100%;
        float: left;
        text-align: center;
        padding: 20px;
    }

        .hijack p {
            font-size: 14px;
        }

    .hijack-txt h3 {
        font-size: 20px;
    }

    .hijack-hashtag h2 {
        font-size: 24px;
        width: 60%;
    }

    .hijack-hashtag {
        top: 40px;
    }
}
@media (min-width: 992px) {
    .hijack p {
        font-size: 18px;
    }

    .hijack-txt h3 {
        font-size: 22px;
    }

    .hijack-hashtag h2 {
        font-size: 32px;
    }
}

@media (max-width: 797px) {
    .fb-btn-margin {
        margin: 0 0 10px;
    }
    .hijack {
        overflow: auto;
        width: 90%;
        height: 90%;
    }

    .hijack-content {
        height: auto;
        overflow: auto;
    }

    .hijack-hashtag h2 {
        width: 100%;
    }

    .hijack-close {
        top: 20px;
        touch-action: pan-x pan-y pinch-zoom;
    }
        .hijack-close.fa-times {
            touch-action: pan-x pan-y pinch-zoom;
        }
}
