/* ------------------------------
Popup
------------------------------ */

#tipup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20000;
	width: 100%;
	height:100%;
	background-color:#000;
    filter:alpha(opacity=50);
    -ms-filter: "alpha(opacity=50)";
    -moz-opacity:0.5;
    opacity: 0.5;
}

#tipup-wrap {
	overflow: auto;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20100;
    margin: 0;
    padding: 0;
	width: 100%;
	height:100%;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
#tipup-wrap-outer {
	display: table;
    margin: 0;
    padding: 0;
	width: 100%;
	height:100%;
}
#tipup-wrap-inner {
	display: table-cell;
    padding:5%;
	text-align: center;
	vertical-align: middle;
}

.tipup-block {
}
.tipup-ready {
    position: relative;
	box-sizing: border-box;
	margin: auto;
	padding: 0;
	width:100%;
    text-align: left;
	border-radius : 5px;
}
.tipup-ready.tipup-no-overlay{
	padding : 5px;
	background-color: rgba(200,200,200,0.5);
}
.tipup-block .tipup-body{
	box-sizing: border-box;
	margin: 0;
	padding : 2rem;
	width: auto;
	height: 100%;
	background-color: #fff;
	border-radius : 5px;
}
.tipup-block .tipup-close {
	display: block;
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	box-sizing: border-box;
	margin:0;
	padding: 0.5rem;
	width: 2.5rem;
	height: 2.5rem;
    cursor: pointer;
    /*
    border: 1px solid #000;
    */
}
.tipup-block .tipup-close::before, .tipup-close::after {
	position: absolute;
	top: 0.5rem;
	left: 0;
	right: 0;
	margin:auto;
	padding: 0;
	width: 0.2rem;
	height: 1.5rem;
	content: "";
	background-color: #666;
}
.tipup-block .tipup-close::before {
	transform: rotate(45deg);
}
.tipup-block .tipup-close::after {
	transform: rotate(-45deg);
}

@media print, screen and (min-width: 769px) {
	.tipup-ready {
		max-width: 900px;
	}

}