@import "mixins";

html{margin-top:0!important;}

.wphc-hide {
	height: 0;
	width: 0;
	overflow: hidden;
	// background-color: red;
}
.wphc {
	// background-color: blue;
	position: fixed;
	height: 150px;
	width: 150px;
	z-index: 9;
	border-radius: 100%;
	z-index: 999999999999999999999;
	// overflow: hidden;
	
	&:hover {
	

	}

	&.wphc--visible {

		overflow: visible;

		.wphc-items a {
			animation-name: bloop_in;
			animation-duration: .6s;
			animation-timing-function: ease-in-out;
			animation-fill-mode: both;
			// animation-delay: .2s;
		}
		.wphc-items {
			height: auto;
			width: 120px;
			opacity: 1;
		}

	}
	
	.wphc-items {
		-webkit-transition: all .6s ease-in-out;
		transition: all .6s ease-in-out;
		z-index: 999999;
		position: absolute;
		width: 120px;
		height: 0px;
		opacity: 0;
		
		&.tl {
			left: 80px;
			top: 80px;			
		}
		&.tr {
			right: 80px;
			top: 80px;			
		}
		&.bl {
			left: 80px;
			bottom: 80px;			
		}
		&.br {
			right: 80px;
			bottom: 80px;			
		}

		a {
			// bloop out!!
			animation-name: bloop_out;
			animation-duration: .6s;
			animation-timing-function: ease-in-out;
			animation-fill-mode: both;
			
			background-color: #111;
			color: #fff;
			display: block;
			width: 100%;
			padding: 8px 10px;
			text-align: center;
			line-height: 1;
			font-family: monospace;
			font-size: 14px;
			text-decoration: none;	
			margin-bottom: 3px;
			border-radius: 2px;
			box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.34);

			&:last-child {
				border: 0;
			}

			&:hover {
				background-color: lighten( #000, 80% );
				color: #000;
			}

		}
	}
}
.wphc-hover-area {
	position: fixed;
	height: 150px;
	width: 150px;
    height: 120px;
    width: 120px;
}
.wphc-hover-area.tl {
	top: -75px;
	left: -75px;
	
	.radar,
	.radar2,
	.radar3 {
		left: -75px;
		top: -75px;
	}

}
.wphc-hover-area.tr {
	top: -75px;
	right: -75px;
	
	.radar,
	.radar2,
	.radar3 {
		right: -75px;
		top: -75px;
	}		

}
.wphc-hover-area.bl {
	bottom: -75px;
	left: -75px;

	.radar,
	.radar2,
	.radar3 {
		bottom: -75px;
		left: -75px;
	}		

}
.wphc-hover-area.br {
	bottom: -75px;
	right: -75px;

	.radar,
	.radar2,
	.radar3 {
		bottom: -75px;
		right: -75px;
	}		

}
.radar,
.radar2,
.radar3 {

	// background-color: blue;
	// border: 3px solid blue;

	background-color: red;
	border: 3px solid darken( red, 10% );

	border-radius: 100%;
	position: fixed;
	z-index: 100;
	
}
.wphc-hover-area:hover .radar{
	-webkit-animation-name: radar;
	-webkit-animation-duration: 1s;		
}
.wphc-hover-area:hover .radar2{
	-webkit-animation-name: radar;
	-webkit-animation-duration: .8s;		
}
.wphc-hover-area:hover .radar3{
	-webkit-animation-name: radar;
	-webkit-animation-duration: .6s;		
}

@keyframes radar {

	0% {
		height: 0;
		width: 0;
		opacity: 1;
	}
	100% {
		height: 150px;
		width: 150px;
		opacity: 0;
	}

}
@keyframes bloop_in {
	0% {
		opacity: 0;
		transform: scale(0);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}
@keyframes bloop_out {
	0% {
	}
	100% {
		opacity: 0;
		transform: scale(0);
	}
}
