{% load staticfiles %}

@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic);
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,700,300);
@import url(http://fonts.googleapis.com/css?family=Dosis:400,700);
@import url(http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);
@import url(news.css);
@import url(popup.css);
@import url(profile.css);
@import url(edit.css);
@import url(read.css);
@import url(map.css);
@import url(upload.css);
@import url(round.css);

html, body {
	font-size: 12px;
	font-family: Helvetica, Arial, sans-serif;
	background-color: #bfd0e0;
	height: 100%;
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-family: 'Dosis';
	font-weight: bold;
	font-size: 20px;
	line-height: 100%;
	text-transform: uppercase;
	display: block;
	color: #333;
}

.content {
	width: 80%;
	height: 100%;
	margin: 0 auto !important;
}

/* USERBAR */
#userbar  {
	width: 100%;
	height: 30px;
	line-height: 30px;
	background-color: #222;
	position: fixed;
	top: 0px;
	color: white;
	font-size: 16px;
	font-family: 'Dosis';
	text-transform: uppercase;
	z-index: 1;
}
#userbar a {
	margin-right: 20px;
	cursor: pointer;
	display: inline-block;
}
#userbar i {
	font-size: 18px;
	margin-right: 3px;
}
#userbar .miniuser {
	height: 20px;
	width: 20px;
	margin-right: 7px;
	margin-top: 5px;
	float: left;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: white;
}
#userbar a.right { 
	float: right;
	margin-right: 0px;
	margin-left: 20px;
}
#userbar a.right i { 
	margin-right: 0px;
	margin-left: 4px;
}
#userbar a:hover { color: #FFA500; }
#userbar a.right:hover { color: #F75D59; }
#userbar a.home:hover { color: #1F77C9; }

/* HEADER */
#header {
	width: 100%;
	height: 80px;
	background-image: url('../media/banner.png');
	background-position: center;
	background-repeat: repeat;
	background-color: #344a5f;
	padding-top: 30px;
}
#header .logo {
	width: 250px;
	height: 60px;
	background-image: url('../media/logo.png');
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	float: left;
	margin-top: 10px;
}
#header .time {
	font-size: 40px;
	font-family: 'Lato';
	font-weight: 300;
	text-align: right;
	color: white;
	float: right;
	margin-top: 3px;
	width: 100px;
}
#header .time span {
	font-size: 15px;
	text-align: right;
	display: block;
}
#header #clock {
	font-size: 40px;
	font-weight: 300;
}
#catbar  {
	width: 100%;
	height: 30px;
	line-height: 30px;
	background-color: #333;
	color: white;
	font-family: 'Dosis';
	text-transform: uppercase;
	margin-bottom: 10px;
	font-size: 0px;
}
#catbar a {
	margin: 0px;
	font-size: 14px;
	display: inline-block;
	background-color: #555;
	margin-right: 2px;
}
#catbar a span { 
	padding: 0px 7px;
}
#catbar a div {
	height: 5px;
	margin-top: -5px;
}
#catbar a.economia:hover, #catbar a.economia div { background-color: #F75D59; }
#catbar a.esports:hover, #catbar a.esports div { background-color: #4BCB69; }
#catbar a.societat:hover, #catbar a.societat div { background-color: #1F77C9; }
#catbar a.cultura:hover, #catbar a.cultura div { background-color: #BF4BFE; }
#catbar a.politica:hover, #catbar a.politica div { background-color: #CB964B; }
#catbar a.tecnologia:hover, #catbar a.tecnologia div { background-color: #4A6B86; }
#catbar form { float: right; }
#catbar form input {
	background-color: #444;
	border: 0px;
	color: white;
	font-family: 'Dosis';
	font-size: 14px;
	outline: none;
	margin: 0px;
	height: 30px;
	width: 260px;
	padding: 0px 5px;
}
#catbar div.searchicon {
	background-color: #444;
	color: white;
	font-size: 14px;
	margin: 0px;
	height: 30px;
	width: 30px;
	float: right;
	text-align: center;
}
#catbar .mapmenu {
	font-size: 16px;
	background-color: transparent;
}
#catbar .mapmenu i {
	font-size: 18px;
	margin-right: 3px;
}
#catbar .mapmenu:hover { color: #60B4FD; }

/* MAIN */
.maincontent {
	position: relative;
	width: 80%;
	margin: 0px auto !important;
	padding: 0px;
	font-size: 0px;
	background: transparent;
}
#leftbar, #leftbar-news {
	font-size: 8px;
	display: inline-block;
	vertical-align: top;
	width: -moz-calc(100% - 310px);
	width: -webkit-calc(100% - 310px);
	width: -o-calc(100% - 310px);
	width: calc(100% - 310px);
}
#rightbar, #rightbar-news {
	font-size: 9px;
	width: 300px;
	display: inline-block;
	vertical-align: top;
	float: right;
}

/* FOOTER */
#footer {
	width: 100%;
	padding: 5px 0;
	min-height: 35px;
	clear: right;
}
#footer .logos {
	height: 35px;
	float: left;
	line-height: 35px;
}
#footer .logos img {
	height: 35px;
}
#footer .copyright {
	margin-top: 5px;
	text-align: right;
	font-size: 12px;
	color: #22303e;
}

/* REGISTER */
#register {
	width: 70%;
	padding: 5px 10px;
	margin: auto;
	background-color: white;
	color: black;
	font-size: 12px;
}
#register .title {
	font-family: 'Dosis';
	font-weight: bold;
	font-size: 20px;
	text-transform: uppercase;
	display: block;
	color: #333;
}
#register .form-group {
	width: 100%;
	overflow: auto;
}
#register label {
	font-family: 'Dosis';
	font-size: 14px;
	display: inline-block;
	margin-top: 5px;
}
#register b {
	font-family: 'Dosis';
	font-size: 14px;
	margin-left: 10px;
	font-weight: normal;
	color: #AAA;
}
#register i { font-size: 15px; }
#register input {
	width: 60%;
	border: 0px;
	font-size: 14px;
	height: 25px;
	margin: 5px 0px;
	padding: 0px 5px;
	outline: none;
	background-color: #CCC;
	margin-right: 10px;
}
#register input[type=checkbox] {
	width: 20px;
	height: 12px;
	padding: 0px;
	margin-right: 0px;
}
#register input[type=submit] {
	width: 100px;
	float: right;
	clear: left;
	margin-right: 0px;
	background-color: #1F77C9;
	color: white;
	font-size: 14px;
	font-family: 'Dosis';
	font-weight: bold;
	text-transform: uppercase;
}
#register span { color: #F75D59; }
#register div.alert {
	font-size: 12px;
	display: inline-block;
}
#register div.alert-valid { color: #00CC00; }
#register div.alert-error { color: #F75D59; }
#register a.link { color: #1F77C9; }
#register a.link:hover { text-decoration: underline; }