#sib-form .sib-form .input_replaced {
    opacity: 1;
    position: absolute;
    z-index: 1;
    margin-top: 30px;
}

.sib-form .input:not(textarea),
.sib-form .input__button {
    height: calc(3.5rem - 2px) !important;
}



/* POPUP
----------------------------------------------------------*/


.jtpl-section-aside__inner #mypopup {
    max-width: 500px;
    margin: auto;
    margin-bottom: -150px;
    margin-top: -50px;
    height: auto;
}

@media(max-width:512px) {
    .jtpl-section-aside__inner #mypopup {
        width: 100%;
        margin: auto;
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: -158px;
        margin-top: -20px;
    }
}



button.open.active {
    display: none !important;
}

.popup-overlay {
    /*Hides pop-up when there is no "active" class*/
    display: none;
    position: relative;
    /* background: #999;*/
    width: 100%;
    height: auto;

}

.popup-overlay.active {
    /*displays pop-up when "active" class is present*/
    display: block;
    text-align: center;
}

.popup-content {
    /*Hides pop-up content when there is no "active" class */
    display: none;
}

.popup-content.active {
    /*Shows pop-up content when "active" class is present */
    display: block;
}



#mypopup button {
    display: block;
    text-align: center;
    vertical-align: middle;
    position: relative;
    margin: 20px auto !important;
    padding: 25px !important;
    background-color: #eee;
    border: 1px solid #666;
    border-radius: 10px;
    color: #666 !important;
    font-weight: 700 !important;
    font-size: 24px;
    font-size: 2.4rem;
    line-height: 1.25;
}

#mypopup button:hover {
    border: 1px solid #666666;
    background: #666666;
    color: #fff;
    background-color: #ccc;
}


#mypopup button.close {
    position: absolute;
    padding: 3px 10px !important;
    background: #fff !important;
    color: #666 !important;
    margin-top: 30px !important;
    right: calc(50vw - 280px - 30px);
    border-radius: 50%
}

@media(min-width: 1180px) {
    #mypopup button.close {
        right: calc(275px);
    }

}

#mypopup button.close:hover {
    border: 1px solid #333 !important;
    background: #666 !important;
    color: #fff !important;
}
