/* layout and positioning */

/*@import url("gradients.css");
@import url("cols.css");
@import url("animations.css");
@import url("corners.css");
@import url("glows.css");
@import url("font.css");
*/


* {
	margin: 0;
	padding: 0;
}


img {
	border: none;
}


body{
	text-align: center;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}


.wrapper{
	padding-top:20px;
	width: 860px;
	margin: auto;
	text-align: left;
}

#navhead{
	width: 860px;
	height: 100px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	background: url(img/menu-head.jpg) no-repeat;
}

#nav{
	top: 25px;
	position: relative;
	height: 40px;
	width: 680px;
}

ul#menu{
	padding:10px;
	height: 25px;
	z-index: -100;
}

ul#menu li{
	float: left;
	padding: 0 10px;
	list-style: none;
}

ul#menu li a{
	text-decoration: none;
	color: white;
	text-shadow: 2px 2px 2px #000; /*text shadow*/
}

#logo{
	background: url(img/sort-it-logo.png) no-repeat;
	width: 166px;
	height: 98px;
	float: right;
	display: inline-block;
	z-index: 100;
}

#news{
	margin-bottom: 20px;
	height: 290px;
	background: url(img/new-item-bg.jpg) no-repeat;
	background-color: ;
	border: 1px solid black;
}

#news ul{
	float: right;
	list-style: none;
	background-color: silver;
	height: 290px;
	width: 180px;
}

#news ul li{
	height: 43px;
	padding-top: 15px;
	padding-left: 20px;
}

#news ul li:last-child{
	border-bottom: none;
}


#news ul a{
	text-decoration: none;
	color: white;
}

.newsbox{
	width: 680px;
	height: 290px;
	float:left;
	opacity: .9;
}

#news-1{
	background: #003333	;
}

#news-2{
	background: #336699	;
}

#news-3{
	background: #990000;
}

#news-4{
	background: #00CC99;
}

#news-5{
	background: #009999;
}

.newsbox .details{
	margin-top:190px;
	background-color: black;
	padding: 20px;
	color: #FFFFFF;
}


.button {
	float: right;
	background-color: silver;
	padding: 10px 20px;
	margin-top: -40px;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}

.icon{
	vertical-align: middle;
	margin-right: 5px;
}

h4{
	margin-bottom: 20px;
	margin-top: 20px;
}


#footer{
	margin-top: 20px;
	padding: 10px;
	background-color: silver;
	margin-bottom: 20px;
}

#footer a{
	text-decoration: none;
	color: white;
	text-shadow: 2px 2px 2px #000; /*text shadow*/
}


/* =float clearing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.floatfix {
   display: block;
   height: 1%;
}
.floatfix:after  {
   content: ".";
   display: block;
   height: 0;
   clear: both;
   visibility: hidden;
}

.rightcol{
	float: right;
	display: inline-block;
	margin-right: 20px;
}

.leftcol{
	margin-left: 20px;
}

/* =Start your CSS3 here
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*The columns*/
p#cols{
	-moz-column-width: 13em;
	-webkit-column-width: 13em;
	-moz-column-gap: 1em;
	-webkit-column-gap: 1em;
	line-height: 1.35;
}

/*The background gradients*/
ul#nav{
	background-image: url(img/grey_grad.png);/*fallback to img*/
}



/*Nav bar rounded corners */
ul#nav{
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;	
}

/*Footer rounded corners */
#footer{
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;		
}

/*nav, news and footer glow*/
ul#nav, #news, #footer{
	-moz-box-shadow: 0px 0px 10px #999;
	-webkit-box-shadow: 0px 0px 10px #999;
}

/*news list shadow*/
#news ul{
	text-shadow: 2px 2px 2px #000; /*text shadow*/
}

/*news list highlight*/
#nav, #footer{
	text-shadow: #FFF 2px 2px 2px;
}

/*newsbox animations*/
.newsbox{
	margin-left: -700px;
	-webkit-transition: margin-left;
	-webkit-transition-timing-function:ease-in;
	-webkit-transition-duration: 500ms;
}

/*transparent background*/
.newsbox details{
	background-color: rgba(0,0,0,0.7);
}

/*Rounded buttons gradient and shadows*/
.button{
	-moz-border-radius: 10px;
	-webkit-border-radius:10px;
	-moz-box-shadow: 2px 2px 0px #000;
	-webkit-box-shadow: 2px 2px 0px #000;
	background-image: -moz-linear-gradient(100% 100% 90deg, gray, silver);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(silver), to(gray));
	-webkit-transform:rotate(0deg) scale(1);
	-webkit-transition-timing-function:ease-in;
	-webkit-transition-duration: 250ms;
}

.button:hover{
	-webkit-transform:rotate(0) scale(1.05);
}

:target{
	margin-left: 0;
}

#news{
	overflow: hidden;
	position: relative;
}

.newsbox{
	position: absolute;
	top: 0;
	left: 0;
}

/*news list styling*/
#news ul li{
	background-color: rgba(0,0,0,0);
	-webkit-transition:background-color;
	-webkit-transition-timing-function:ease-in;
	-webkit-transition-duration: 1000ms;
}

#news ul li:hover{
	background-color: rgba(0,0,0,0.3);
}

