/* -------------------------------------------------------

	Description: CSS3 + jQuery Counter
	Version: 1.0
	Author: Anli Zaimi
	Author URI: http://azmind.com

------------------------------------------------------- */


body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: # url(images/bg.jpg) top left repeat;
	font-family: 'Myriad Pro', Arial, Helvetica, sans-serif;
}



#counter {
	width: 320px;
	height: 50px;
	margin: 10px auto 0 auto;
	font-size: 30px;
	color: #f8f8f8;
	font-weight: normal;
	
	overflow: hidden;
}

#counter p {
	float: left;
	padding: 0;
	margin: 0px 0px 0 0px;
	color: #2d2d2d;
	text-shadow: 0 1px 0 #dcefef;
}

#counter div {
	float: left;
	position: relative;
	margin: 0 4px 0 0;
	padding: 0;
	background: #2d2d2d url(images/separator.jpg) center left repeat-x;
	border: 1px solid #222;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px; 
	border-radius: 4px;
}

#counter div::before, #counter div::after {
	content: "";
        position: absolute;
        bottom: -4px;
        left: 1px;
        right: 1px;
        top: 0;
        z-index: -1;
        background: #2d2d2d;
        border: 1px solid #222;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px; 
	border-radius: 4px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(29,29,29,0)), to(rgba(255,255,255,.03)));
	background-image: -webkit-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: -moz-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: -ms-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: -o-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
}

#counter div::after {
        left: 2px;
        right: 2px;
        bottom: -7px;
        z-index: -2;
	-moz-box-shadow: 0 10px 10px -6px rgba(0,0,0,.5);
	-webkit-box-shadow: 0 10px 10px -6px rgba(0,0,0,.5);
	box-shadow: 0 10px 10px -6px rgba(0,0,0,.5);
}

.digit {  position: absolute; top:0; left:6px; padding:0; }

#counter div p {
	position:relative; width: 30px; height: 30px;line-height: 30px;
	padding: -10px;
	margin: 0;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px; 
	border-radius: 6px;
	border: 0;
	border-top: 1px solid #4e4e4e;
	color: #f8f8f8;
	text-shadow: 1px 1px 0 #222;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(29,29,29,0)), to(rgba(255,255,255,.03)));
	background-image: -webkit-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: -moz-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: -ms-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: -o-linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
	background-image: linear-gradient(top, rgba(29,29,29,0), rgba(255,255,255,.03));
}


#text {
	width: 380px;
	margin: 0 auto;
	font-size: 14px;
	font-weight: bold;
	color: #2d2d2d;
	overflow: hidden;
}

.days, .hours, .minutes, .seconds {
	float: left;
	text-shadow: 0 1px 0 #dcefef;
}

.days {
	margin: 0 0 0 40px;
}
.hours {
	margin: 0 0 0 40px;
}
.minutes {
	margin: 0 0 0 25px;
}
.seconds {
	margin: 0 0 0 15px;
}


#footer {
	width: 780px;
	margin: 160px auto 0 auto;
	font-size: 16px;
	color: #4e4e4e;
	text-shadow: 1px 2px 0 #dcefef;
}

#footer a { color: #d73759; text-decoration: none; }
#footer a:hover { color: #4e4e4e; text-decoration: none; }


