body.popup-open {
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.scroll-popup {
    display: none;
    position: fixed;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 50%;
}
.paoc-popup-click {
    cursor: pointer;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-container {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.popup-image img {

    max-width: 100%;
    border-radius: 8px 0 0 8px;
}

.banner-forminner{
		text-align: center;
    margin-bottom: 20px;
    margin-top: 00px;
    padding-bottom: 0px !important;
    font-weight: bold;
    font-size: 18px;
}
.widget-title {
    text-align: center;
    width: fit-content;
    font-size: 22px !important;
    margin: 0 auto;
    font-weight: bold;
    color: #000;
}
	/* Overlay to cover the entire screen */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;  
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-container {
     display: flex;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    width: 100%;
	max-width:100%
    padding: 0px;
}

/* Left side: Image */
.popup-image {
    flex: 1;
}

.popup-image img {
    width: 100%;
    height: auto;
    border-radius: 8px 0px 0px 8px;
}

/* Right side: Form */
.popup-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
	margin-right: 20px;
}

.popup-form form {
    display: flex;
    flex-direction: column;
}

.popup-form label {
    margin-bottom: 5px;
}

.popup-form input {
    margin-bottom: 15px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popup-form button {
    padding: 10px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 38px;
}

#scrollPopup1{
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
	margin: 0 auto;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
}
#scrollPopup2 {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
	margin: 0 auto;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
}
#scrollPopup1 button{
    color: #000000;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 38px;
    font-weight: 900;
    top: 0px;
    right: 0;
}
#scrollPopup2 button {
    color: #000000;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 38px;
    font-weight: 900;
    top: 0px;
    right: 0;
}
.popup-form .gform_wrapper.gravity-theme .gfield input.large{
    height: 38px !important;
}
.popup-form .gform_wrapper.gravity-theme .gfield select.large {
    height: 38px !important;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

@media only screen and (max-width: 767px) {
  	#scrollPopup1{
	width: 65% !important;	
	top: 40% !important;
	}
	#scrollPopup2{
	width:65%;
	top: 40%;
	}
	.popup-form {
	margin-right: 20px;
	margin-left:20px;
}
	#scrollPopup1 .banner-forminner{	
    margin-top: 0px !important;
}
	#scrollPopup2 .banner-forminner{	
    margin-top: 0px !important;
}
.banner-forminner{	
    margin-bottom: 10px;
}
	.popup-form .gform_wrapper.gravity-theme .gfield input.large {
    height: 30px !important;
}
	.popup-form .gform_wrapper.gravity-theme .gfield select.large {
    height: 30px !important;
    padding: 5px !important;
}
	.popup-form input[type="submit"] button {
    padding: 9px 20px !important;
    font-size: 14px !important;
}
	.popup-form  gform_wrapper.gravity-theme .gform_footer {
    margin: 0 !important;
    padding: 0 !important;
}

}