/* ---------------------------------------------- */
/* Popup for structure */

/* <section class="popup"> 		*/
/* 	<div class="layer"></div> */
/* 	<div class="popup-container"> */
/* 		<div class="popup-close-btn-container">X</div> */
/* 		<div class="popup-img-container"> */
/* 			<img th:src="@{/img/immochallenge/popup_img.png}" /> */
/* 		</div> */
/* 		<div class="popup-button-container"></div> */
/* 	</div> */
/* </section> */

/* 	For images 490px x 370px */
/* ---------------------------------------------- */

.popup {
	position: fixed;
	top: 0;
	z-index: 10000;
}

.layer {
	background-color:rgba(237, 237, 237, 0.85);
	height: 100%;
	width: 100%;	
}

.popup-container {
    position: absolute;
    z-index: 10001;
    top: calc(50% - 200px);
    left: calc(50% - 245px);
}

.index .popup-container {
    top: calc(50% - 300px);
    left: calc(50% - 310px);
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.5);
}

.index .popup-container {
	max-width: 620px;
}

.index .popup-container img {
	max-width: 100%;
}

.popup-text-container {
	background-color: #ffffff;
	padding: 35px;
}

.popup-close-btn-container {
	background-color: #fff;
	color: #777;
	height: 30px;
	width: 30px;
	position: absolute; 
    top: -10px;
    right: -10px;
	border-radius: 15px;
    font-weight: bold;
	text-align: center; 
	line-height: 30px; 
	cursor: pointer; 
	z-index: 10002;
    box-shadow: -3px 6px 10px rgba(0, 0, 0, 0.5);
}

.popup-close-img-container {
	position: absolute; 
    top: 13px;
    right: 13px;
	cursor: pointer; 
	z-index: 10002;
	
}


.popup-close-btn-container:hover {
	background-color: #ededed;
}

.popup-img-container {
	
}

.popup-button-container {
    position: absolute;
    bottom: 45px;
    left: 24px;
}

.popup-button, 
.popup-button:visited {
    transition: background-color 0.4s;
    background-color: #e6007e;
	color: #fff;
    height: 40px;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #e6007e;
    text-decoration: none;
    -webkit-transition: background-color 0.4s;
    text-align: center;
    font-size: 20px;
    
    box-shadow: -8px 8px 10px rgba(0, 0, 0, 0.5);
}


.popup-button:hover {
	color: #e6007e;
    background-color: #fff;
    box-shadow: -8px 8px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.popup-hidden {
	display: none;
}

.popup-title-fixed {
	font-size: 23px;
    font-weight: bold;
    text-align: center;
}

.popup-text-fixed {
	font-size: 15px;
    text-align: center;
    margin: 0 15px;
}


/**** Site specific popups ****/
#immoplus-popup-button-container {
	bottom: 18px;
}

#immoplus-popup-button,
#immoplus-popup-button-to-slide {
	height: 70px;
}

@media screen and (max-width: 475px) {
	.popup {
		display: none !important;
	}
}

