.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.wrap {
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

/* popup */
.panel-modal {
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease-in;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.panel-modal.display-modal {
    opacity: 1;
    visibility: visible;
}
.panel-modal .overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border: none;
    background: rgba(0, 0, 0, .3);
}
.panel-modal .outer-wrapper {
    background: #fff;
    z-index: 9;
    position: relative;
    width: 90%;
    max-width: 750px;
    max-height: 90vh;
    margin: auto;
}
.panel-modal .outer-wrapper>button {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.5em;
    padding: 5px 10px;
    display: inline-block;
    width: auto;
}
.panel-modal .outer-wrapper .form-input {
    border-width: 0 0 1px !important;
    padding: .5em 0;
}

.popup-content h2{
margin-bottom: 10px;
    font-weight: 700;
    line-height: 32px;
}

.popup-content p{
    line-height: 21px;
}

.popup-content .form-submit{
    padding: 10px 23px;
    font-size: 18px;
    line-height: 20px;
    color: #FFF!important;
    border-radius: 8px;
    background-color: #00adb5;
    transition: .3s linear;
    margin-top: 10px;
    border: none;
} 

.popup-button:hover{
    background: #292929;
}

.button.tab {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 0 25px;
    background: #00adb5;
    color: #fff;
    width: auto;
    border: none;
    padding: 10px;
    font-size: 18px;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06); 
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.button.tab:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.popup-content,
.popup-image{
    width: 100%;
}

.popup-image img{
    width: 100%;
    margin-bottom: 0;
    object-fit: cover;
    max-height: 200px;
}

.popup-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:30px 20px;
}
.popup-content .main-button:hover,
.popup-content .main-button{
    color: #fff!important;
}

@media (min-width: 768px) {
    .popup-image,
    .popup-content {
        width: 50%;
    }
    .popup-image img {
        max-height: 450px;
        object-position: top center;
    }
}