﻿
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}
.popup-wrapper .flex-container {
    width: 100%;
}
.modal {
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: 950px;
    width: 90%;
    margin: 0 auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
     font-size: 48px;
    cursor: pointer;
    color: #000;
}

.popup-wrapper {
    height: 50vh;
	min-height: 510px;
	display: flex;
    width: 100% !important;
	    background-color: #fff;
    box-sizing: border-box;
	color: #000;
}

.popup-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.inner-wrap {
        max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.image-half img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.inner-wrap p {font-size: 18px !important;}

.image-half, .text-half {
    flex-basis: 50%;
}

.text-half {align-content: center;}

.inner-wrap h2 {
    font-size: 48px;
    line-height: 1;
}

.inner-wrap em {
       font-style: normal;
    font-size: 18px;
    display: block;
    font-weight: 600;
    color: #0A7C3D;
    text-transform: uppercase;
}

.inner-wrap img {width:100%;max-width: 200px;margin-bottom: 60px}


@media screen and (max-width: 950px) {
		.inner-wrap h2 {font-size: 42px;}
	.inner-wrap em {font-size: 16px;}
}


@media screen and (max-width: 650px) {
	.popup-wrapper .flex-container {
    flex-direction: column;
    width: 100%;
}
	.modal-close {color:#fff;}
	
.image-half {
    height: 220px;
    flex: unset !important;
    overflow: hidden;
}
	
	.text-half {
		flex:1;
    align-content: center;
    padding: 30px 0 60px 0;
}
	
	.inner-wrap img {display: none;}
}