.modal,
.toggle {
	display: none;
}
.modal {
	background-color: rgba(0, 0, 0, .8);
	position: fixed;
	z-index: 10000;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.modal-close {
	position: absolute;
	width: 25px;
	height: 25px;
	right: 0px;
	background: transparent;
	color: transparent;
	border: 0;
	cursor: pointer;
}
.toggle:checked + * {
	display: block;
}

.tooltip-panel,
.infotip, .infotip > span, .infotip:hover > div > div:first-child, .infotip input:checked ~ div > div:first-child {
	position: absolute;
}
.tooltip-panel {
	top: 0;
	width: 100%;
	height: 100%;
}
.tooltip-panel input[type=reset] {
	display: block;
	background: transparent;
	width: 100%;
	height: 100%;
	border: 0;
}
.tooltip-panel input[type=reset],
.infotip:hover > div > div:last-child
.infotip input:checked ~ div > div:last-child {
	display: block;
}


.infotip {
	cursor: pointer;
	overflow: visible;
	z-index: 1;
}
.infotip span {
	z-index: 4;
}
.infotip:hover {
	
	z-index: 5;
}
.infotip input {
	display: none;
}

.infotip:hover > div,
.infotip input:checked ~ div {
	background-image: none;
}
.infotip > div > div:last-child {
	padding: 10px 10px;
	display: none;
}
.infotip > div > div:last-child * {
	width: 225px;
	
}
.infotip > div {
	background-image: url(/images/icons/i/corner.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding: 4px 7px;
	box-shadow: rgba(0,0,0,.5) 1px 1px 5px;
	overflow: hidden;

	max-width: 100px;
	max-height: 20px;
	
}
.infotip:hover > div,
.infotip input:checked ~ div {

	max-width: 225px;
	max-height: 400px;
	
	position: relative;
	z-index: 3;

}
.infotip:hover > div > div:last-child,
.infotip input:checked ~ div > div:last-child {
	display: block;
}


.infotip > div > div:last-child,
.infotip:hover > div > div:first-child,
.infotip input:checked ~ div > div:first-child {
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    /*filter: alpha(opacity=0);*/
}
.infotip:hover > div > div:last-child,
.infotip input:checked ~ div > div:last-child {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    /*filter: alpha(opacity=100);*/
}
.infotip > div,
.infotip > div > div {
	transition-timing-function: ease;
}

.infotip > div {
	transition-duration: .5s;
	transition-property: max-width, max-height;
	
}
.infotip > div > div {
	transition-duration: .1s;
	transition-property: opacity;
}

.infotip.top span {
	width: 37px;
	height: 20px;
	top: -20px;
	background-image: url(/images/icons/i/top.png);
}
.infotip.left span {
	left: -20px;
	width: 20px;
	height: 37px;
	background-image: url(/images/icons/i/left.png);
}
.infotip.right span {
	left: 0px;
	width: 22px;
	height: 37px;
	background-image: url(/images/icons/i/right.png);
}


.infotip.right input ~ span {
	z-index: 2;
}
.infotip.right > div {
	right: 100%;
	position: absolute;
}

.infotip.bottom span {
	
}


