@import "standards.css";
@import "required.css";
@import "form_elements.css";

/*** body ***/

html {
	background:#fff;
}

body {
	background:url('../images/header.png') #f0f0f0 repeat-x;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#353535;
}

a {
    color:#4382c0;
	text-decoration: none;
}
a:hover {
	color:#909090;
}


/** 2018 ADDITIONS **/

.banner {
	display: flex;
	align-items: center;
	padding-top: 224px;
	justify-content: space-around;
	width: 760px;
}

.tipp-intro {display: flex;}

.fig2_img {
	margin-left: -163px;
	margin-top: 178px;
	width: 334px;
}

.tipp-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}

#content_wrapper {
	padding: 0 16px;
}

/*** containers ***/

div#page_container {
	/* width:1009px; */
	width: 760px;
	padding:0px;
	margin:auto;
}

div#header {
	height:316px;
}

div#page {
	margin-top: 196px;
}

div#content_top {
	height:15px;
	background:url(../images/header_shadow.png) repeat-x;
}
div#content_bottom {
	/* height:20px; */
	margin-bottom:100px;
	padding: 0 30px;
	/* background:url(../images/content_bg_bottom.png) no-repeat; */
}
.footer  {
	padding: 30px 0;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: space-around;
	align-items:center;
}
div#content_container {
	padding:0px 3px;
	/* padding: 0 30px; */

	/*background:url(../images/content_bg.png) repeat-y;*/
}

div#content_left {
	/*float:left;*/
	width:715px;
	display: flex;
	/* width: 962px; */
	padding:0px 20px;
}

div#content_right {
	display: none;
	float:left;
	width:225px;
	padding:0px 15px;
}

div#content {
	padding:10px 0px 15px;	
}

div#footer {
	
}

/*** header ***/

#rosso_uno_logo {
	float:left;
	margin:18px 45px 0px 15px;
	width:177px;
	height:83px;
	background:url(../images/rosso_uno_logo.png) no-repeat;
}
#rosso_uno_logo a {
	display:block;
	width:177px;
	height:83px;
}

#rosso_uno_title {
	float:left;
	margin:48px 0px 0px 0px;
	font-size:24px;
	color:#f0f0f0;
	text-shadow:#303030 0px 1px 0px;
}

#fans {
	float:right;
	margin:0px 0px 0px 0px;
	width:309px;
	height:125px;
	background:url(../images/fans.png) bottom no-repeat;
}

/*** content ***/

h1,h2,h3 {
	color:#656565;
}

h1 {
	font-size:18px;
	margin-bottom:20px;
}

h2 {
	font-size:14px;
	margin-bottom:10px;
}

#content p {
	font-size:12px;
	line-height:17px;
}

#content .more {
	margin-top:15px;
}


/*** header ***/    /* TODO TO DELETE */

#header ul {
	padding-left:20px;
}
#header ul li a {
	display:block;
	width:160px;
	height:15px;
	border-bottom:1px solid #f2f4f6;
	padding:2px 0px 0px 15px;
	font-size:11px;
	color:#505050;
	background:#fff;
}
#header ul li a.last {
	border-bottom:0;
}
#header ul li a:hover,
#header ul li.active a {
	color:#fff;
	background:#172983;
}

/*** footer ***/

#footer ul {
	margin-left:20px;
	padding-top:2px;
}
#footer ul li {
	float:left;
	margin-right:20px;
	font-size:11px;
}
#footer ul li a {
	display:block;
	padding:2px 0px;
	color:#555555;
}
#footer ul li a:hover,
#footer ul li.active a {
	color:#353535;
}

/*** buttons ***/ 

#teams {
	float: left;
	width: 230px;
}

.team {
	height: 60px;
	width: 230px;
	background:url(../images/button.png) no-repeat;
	position: relative;
	float: left;
}

.team .title {
	font-size: 16px;
	position: absolute;
	left: 65px;
	top: 18px;
	color: #666;
}

.team img {
	display: block;
	position: absolute;
	top: 9px;
	left: 13px;
}

#positions {
	float: left;
	width: 230px;
	
}

.position {
	height: 30px;
	width: 230px;
	background:url(../images/button_small.png) #eee no-repeat;
	overflow: hidden;
	position: relative;

}
.position .title {
	font-size: 16px;
	position: absolute;
	left: 0px;
	top: 6px;
	width: 230px;
	text-align: center;
	color: #c0c0c0;
	position: relative;
	background-repeat: no-repeat;
	background-position: 3px 0px;
}

.position .remove {
	display: block;
	position: absolute;
	top: 7px;
	right: 10px;
	cursor: pointer;
	visibility: hidden;
	width:16px;
	height:16px;
	cursor:pointer;
	background:url(../images/remove_bg.png) 0px -33px no-repeat;
}

.up {
	display: block;
	position: absolute;
	top: 7px;
	right: 46px;
	cursor: pointer;
	visibility: hidden;
	width:16px;
	height:16px;
	cursor:pointer;
	background:url(../images/up_arrow.png) 0px -16px no-repeat;
}

.down {
	display: block;
	position: absolute;
	top: 7px;
	right: 30px;
	cursor: pointer;
	visibility: hidden;
	width:16px;
	height:16px;
	cursor:pointer;
	background:url(../images/down_arrow.png) 0px -16px no-repeat;
}
.down:hover,
.up:hover {
	background-position:0px 0px;
}

.position .remove:hover {
background:url(../images/remove_bg.png) 0px 0px no-repeat;
}

.position_injected .remove,
.position_injected .up,
.position_injected .down {
	visibility: visible !important;
}

.position_logo {
	position: absolute;
	top: 4px;
	left: 10px;	
	font-size: 16px;
	width: 20px;
	padding-right: 25px;
	text-align: right;
	color: #FFF;
	background-image: url(../images/1_small.png);
	background-repeat: no-repeat;
	background-position: center right;
	display: none;
}
.position_team {
	position: absolute;
	top: 4px;
	left: 60px;	
	font-size: 16px;
	overflow: visible;
	
	color: #FFF;
	display: none;
}
.position_injected .position_logo {
	display: block !important;
}
.position_injected .position_team {
	display: block !important;
}
.position_injected .title {
	display: none !important;
}
/*** buttons ***/ 

.hide_form form {
	display: none;
}

.display_form {
	width:480px !important;
}

.display_form h2 {
	display: none !important;
}

.display_form form {
	display: block !important;
	margin: 0px;
	padding: 0px;
}

.display_form form h2 {
	display: block !important;
}

#teams form input.textfield {
	width: 230px;
	padding: 5px;
	font-size: 14px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	display: block;
	/*float: left;
	clear: left;*/
	margin-bottom: 5px;
}
.validation-advice {
	float: left;
	clear: right;
	padding: 5px;
	padding-top: 8px;
	padding-left: 15px;
	color: #A00;
}
.overTxtLabel {
	font-size: 14px;
	color: #CCC;
	padding: 5px;
}

/* Tabelle Startseite */

#table_teams th,
#table_users th,
#table_prices th
{
	vertical-align: middle;
	padding: 0px 5px;
	font-size:10px;
	color:#656565;
}
#table_teams td,
#table_users td,
#table_user_tipps td,
#table_prices td {
	vertical-align: middle;
	font-size:11px;
	height:24px;
}

#table_teams td.number,
#table_users td.number,
#table_user_tipps td.number,
#table_prices td.number {
	vertical-align: middle;
	text-align:center;
	font-family:Verdana, Helvetica, Arial, sans-serif;
	color:#656565;
}

/* Startseite colums */

div.column1 {
	width: 380px;
	float: left;
	/*padding-right: 20px;*/
}
div.column2 {
	width: 300px;
	float: left;
	margin-left:20px;
}
div.column3 {
	width: 150px;
	float: left;
	/*padding-right: 20px;*/
	margin-left:20px;
	font-size: 12px;
}

div.fb_column {
	width: 240px;
	float: left;
}

/* Common */

.list {
	border-bottom: 1px solid #d9d9d9;
	background:url(../images/layout/gradient_flip.png) bottom repeat-x;
}


/* Gewinnspiel */

.gewinnspiel div,
.gewinnspiel h1,
.gewinnspiel h2,
.gewinnspiel h3 {
	color:#eaeaea;
}

/*
 Price
 */

.hidden {
	display: none;
}

.pricebox h3 {
	margin-bottom: 20px;
}

.pricebox p {
	margin-bottom: 10px;
}

.pricebox img {
	margin-left: 10px;
	margin-bottom: 10px;
	float: right;
}




/** WHAT TO WIN MODAL **/

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 20px;
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

