/*
Tutorial Title: CSS3 Metro Style Slide Out Menu
Author: Sam Norton
*/

/*@import url(https://fonts.googleapis.com/css?family=Lato:400,100,300,700,900);
body {
    font-family: 'Lato',sans-serif;
    background: #ecf0f1;
    overflow: hidden;
}

a {
    text-decoration: none;
}*/

.icon-box h2 {
    color: #fff;
	*font-size: 22px;
	font-size:14px !important;
    *margin: 0 24px;
	margin: 0 20px;
	*font-weight: 300;
	
	*line-height:normal !important;
}

/*= ICON BOXES
--------------------------------------------------------*/
ul.icon-menu {
    *margin-top: 16px;
	margin-bottom:0px;
}

li.icon-box {
    width: 70px;
    height: 80px;
    list-style: none;
    /**left: -47px;*/
    position: relative;
    margin-bottom: 3px;
	
	/**padding-top:5px;*/
	
	/*-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;*/

	-webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;

	overflow: hidden;
	
}
@media screen and (max-width:767px) {
	li.icon-box {
		width: 70px;
	    height: 70px;	
		
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
	}
}
li.icon-box:hover {

	-webkit-border-top-left-radius: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-bottomleft: 0px;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
	
	
}
@media screen and (max-width:767px) {
	li.icon-box:hover {
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
	}
}

li.icon-box.home {
	background: #f4a300/*73d4ee*/;
}
@media screen and (max-width:767px) {
	li.icon-box.home {
		*border:2px solid red !important;
		float:left;
		margin-left:5px;
	}
}
li:nth-child(2).icon-box.home {
	background: #1561ae;
}
li:nth-child(3).icon-box.home {
	background: #15aeac;
}
li.icon-box.home:hover {
	*background:#00aeef;
	*background:#73d4ee;
	background:#999999;
	
	/*/* fallback * 
	background-color: #73d4ee; 
	background-image: url(images/linear_bg_1.png); 
	background-repeat: repeat-y; 
	/* Safari 4-5, Chrome 1-9 *
	background: -webkit-gradient(linear, left top, right top, from(#73d4ee), to(#59bad4)); 
	/* Safari 5.1, Chrome 10+ *
	background: -webkit-linear-gradient(left, #73d4ee, #59bad4); 
	/* Firefox 3.6+ *
	background: -moz-linear-gradient(left, #73d4ee, #59bad4); 
	/* IE 10 *
	background: -ms-linear-gradient(left, #73d4ee, #59bad4); 
	/* Opera 11.10+ *
	background: -o-linear-gradient(left, #73d4ee, #59bad4); */
	
}

.icon-box h2 {
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(150,150,150,1);
}

.icon-box a {
    display: block;
    padding: 0;
    width: 70px;
    height: 80px;
	
	*border:1px solid pink;
	text-align:center;
	
	position:relative;
}

.icon-box i.fa {
    position: absolute;
    pointer-events: none;
    color: #fff;
    *margin: 16px 0 0 14px;
	*margin: 9px 0 0 9px;
	margin: 9px 0 0 -20px;
	
	font-size:22px;
}

.icon-box a:focus,
.icon-box a:active {
    outline: none;
}


/*= MENU ICONS
--------------------------------------------------------*/
.icon-box a {
    *padding: 120px;
	*border:1px solid red;
}

.icon-menu i {
    border-radius: 50%;
    box-shadow: 0 0 0 50px transparent;
    *padding: .2em .25em;
	
	width:42px;
	height:42px;
	line-height:42px;
	text-align:center;
	
	background: rgba(255,255,255,0.1);
	*background: rgba(0,0,0,0.1);
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-transition: box-shadow .6s ease-in-out;
    -moz-transition: box-shadow .6s ease-in-out;
    -o-transition: box-shadow .6s ease-in-out;
    -ms-transition: box-shadow .6s ease-in-out;
    transition: box-shadow .6s ease-in-out;
}

.icon-menu li:hover i,
.icon-menu li:active i,
.icon-menu li:focus i {
	box-shadow: 0 0 0 0 rgba(255,255,255,0.2);
	*box-shadow: 0 0 0 0 rgba(0,0,0,0.2);
    -webkit-transition: box-shadow .4s ease-in-out;
    -moz-transition: box-shadow .4s ease-in-out;
    -o-transition: box-shadow .4s ease-in-out;
    -ms-transition: box-shadow .4s ease-in-out;
    transition: box-shadow .4s ease-in-out;
}



/*= TITLE BOXES
--------------------------------------------------------*/
.icon-box.home h2 {
    z-index: -999;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
	*background: #2b99ce;
	background:rgba(0,0,0,0.8);
    *line-height: 60px;
	line-height:normal;
    width: 160px;
	height:80px;
	
	display: flex;
	justify-content: center; /* align horizontal */
	align-items: center; /* align vertical */

	
	padding-left:20px;
	padding-right:20px;
	
    -webkit-transition: all .3s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
	
	*border-left: 3px solid #247eaa;
	*border-left:4px solid #73d4ee;
	border-left:4px solid #999999;
	
	-webkit-border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	
   *-moz-box-shadow:    inset 0 0 10px #000000;
   *-webkit-box-shadow: inset 0 0 10px #000000;
   *box-shadow:         inset 0 0 10px #000000;
}

.icon-box.home a:hover h2 {
    opacity: 1;
    left: -160px;
    margin: 0;
    text-align: center;
}
@media screen and (max-width:767px) {
	.icon-box.home a:hover h2 {
		display:none;
	}
}

/*= EXTRAS
--------------------------------------------------------*/
.title {
    position: fixed;
    top: 39%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    font-weight: 300;
    color: #34495e;
}

.title h1 {
    font-size: 44px;
}

.title h2 {
    font-size: 30px;
    color: #7f8c8d;
    margin-top: -20px;
}

/****/
.icon-box span{
	*border:1px solid red;
	font-size:10px;
	display:inline-block;
	width:100%;
	height:24px;
	line-height:24px;
	
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-left-radius: 4px;
	
	background:rgba(0,0,0,0.5);
	color:#FFF;
	text-align:center;
}
@media screen and (max-width:767px) {
	.icon-box span{
		background:none;
		bottom:12px;
	}
	.icon-box h2{
		*display:none;
	}
}
.icon-box:hover span{
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-radius-bottomleft: 0px;
	border-bottom-left-radius: 0px;
	
}



