/* Global CSS that are applied for all screen sizes */

.header {
	width: 100%;
	height: 216px;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0px;
	text-align: center;
}

.noti {
	/* max-width: 1240px; */
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.03125em;
	font-weight: 300;
  	font-family: 'Kanit', sans-serif;
}

.noti li span {
	display: block;
}

.noti a {
	display: inline;
	color: rgb(255, 255, 255);
	text-decoration: none;
}

.noti i{
	/* Make the font smoother for Chrome */
	-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);
}

/* Adding some background color to the different menu items */

.noti li {
  	padding: 0px 0;
	text-align: center;
	display: block;
	float: left;
	height: 214px;
	border-top: 12px solid white;
	border-bottom: 12px solid white;
	border-left: 12px solid white;
	border-right: 12px solid white;
	border-radius: 10%;
}


.count {
	font-size: 4.5em;
}
.grey {
	background: #6e7a8f;
}
.blue {
	background: #8bc6c7;
}
.yellow {
	background: #f5c14f;
}
.red {
	background: #ef6b5b;
}
.green {
	background: #a3c4a2;
}



/* For screen bigger than 800px */
@media (min-width: 50em) {

	/* Transforms the list into a horizontal navigation */
	.noti li {
		width: 20%;
		/* float: left;
	 	height: 5.65em;
	 	*/
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
	}

	.noti a {
		/* display: block; */
		display: inline;
		width: auto;
	}
		
}

@media (min-width: 50em) and (max-width: 61.250em) {

	/* Size and font adjustments to make it fit into the screen*/
	.noti ul {
		/* font-size: 1.03125em; */
	}

}


/* The "tablet" and "big screen" version */
@media (min-width:32.5em){
	.noti li {
	  /*border-top: 2px solid white;
		border-left: 2px solid white;
	    border-bottom: 0.5px solid white;
		border-right: 0.5px solid white; */
	}
}


/* The "tablet" and "mobile" version */

@media (max-width: 49.938em) {		
	
	/* Instead of adding a border, we transition the background color */
	.no-touch .noti ul li a:hover,
	.no-touch .noti ul li a:active,
	.no-touch .noti ul li a:focus {
		background: rgb(242, 243, 246);
	}
}

/* CSS specific to the 2x3 columns version */
@media (min-width:32.5em) and (max-width: 49.938em) {
	
	/* Creating the 2 column layout using floating elements once again */
	.noti li {
		width: 20%;
		border-left: 6px solid white;
		border-right: 6px solid white;
	}
	
	/* Adding some padding to make the elements look nicer*/
	.noti a {
		/* padding: 0.5em; */		
	}

	/* Displaying the icons on the left, and the text on the right side using inlin-block*/
	.noti li span {
		display: inline-block;
		margin-left: 0.5em;
	}
}

@media (max-width: 32.438em) {

	/* Adapting the layout of the menu for smaller screens : icon on the left and text on the right*/
	
	.noti li {
		width: 33.33%;
		height: 107px;
		border-top: 6px solid white;
		border-bottom: 6px solid white;
		border-left: 6px solid white;
		border-right: 6px solid white;
		font-size: 0.5em;
		font-weight: 100;
	}
}

