/*===========================================================================
Green thank-you window of form 2513/2 (task GP01).
Business purpose: after the last form is sent, the visitor sees the green window of the site above the end screen.
Source: the rules of the site, style-main.css lines 5217 to 5261 (copied as they are) and 5275 to 5280 (phone);
the lines marked "GP01" are the only additions.
===========================================================================*/
.thanks-message {
	opacity: 0;
	visibility: hidden;
	background-color: #25e585;
	padding: 25px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 15;
	min-height: 248px;
	max-width: 500px;
	width: 100%;
	transition: .5s linear 1s;
	box-sizing: border-box; /* GP01: without it the window is wider than a phone screen (SINGLEPAGE 10.2 item 3) */
}
.thanks-message-vi {
	opacity: 1;
	visibility: visible;
}
.thanks-message-x {
	text-align: right;

}
.thanks-message-x img {
	height: 40px;
	cursor: pointer;

}
.thanks-message-text {
	font-size: 23px;
    color: black;
    /*padding-left: 25px;*/
    padding-top: 25px;
}
.thanks-message-text-titel {
    color: black;
	display: inline-block;
	font-size: 27px;
	margin-bottom: 20px;
	font-weight: bold;
}

/* GP01: the close control is a button (keyboard and focus) that looks like the image of the site. */
.thanks-message-close {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	line-height: 0;
}

/* GP01: dark layer behind the window (owner request 19:06); same show and hide rule as the window. */
.thanks-overlay {
	opacity: 0;
	visibility: hidden;
	background-color: rgba(0, 0, 0, .6);
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 14;
	transition: .5s linear 1s;
}

.thanks-overlay.thanks-message-vi {
	opacity: 1;
	visibility: visible;
}

/* GP01: the text is Hebrew, so the title is not forced to left to right (the site rule at 5284 to 5287 is dropped). */
.thanks-message-text-titel {
	unicode-bidi: embed;
	direction: rtl;
}

@media (max-width: 480px){
	.thanks-message{padding: 15px 15px 55px; min-height: 0;}
	.thanks-message-x img{height: 35px;}
	.thanks-message-text{padding-top: 10px; font-size: 18px;}
	.thanks-message-text-titel{font-size: 21px;}
}
