* {
	margin: 0;
}

div.header {
	width: 100%;
	height: 100px;
	background-color: rgb(147, 19, 38);
	position: fixed;
	z-index: 999;
	transition: 0.2s;
}

div.header_bottom {
	width: 1480px;
	margin: auto;
	height: 65px;
}

div.write_legenda {
	width: auto;
	margin: auto;
	background-color: #fff;
	opacity: 0.9;
}

div.write_legenda p {
	text-align: center;
	font-size: 2em;
	font-style: italic;
	font-weight: bold;
	letter-spacing: 11px;
/*	color: rgb(147, 19, 38);  */
	color: #fff;
	opacity: 0.8;
	text-transform: uppercase;
	background-image: url("Images/supporters_fence1480x985.jpg");
	background-position: 0 -160px;
	width: 1480px;
	margin: auto;
}

div.logo_rapid, div.navigation {
	float: left;
}

div.locomotiva {
	float: right;
}

ul.nav_menu {
	list-style-type: none;
    margin-top: 38px;
    margin-left: 170px;
    padding: 0px;
}

ul.nav_menu li {
	float: left;
	position: relative;
	margin: 0 46px;
}

ul.nav_menu li a {
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	letter-spacing: 1px;
	display: block;
	padding: 3px 10px;
}

ul.nav_menu li a:hover {
	color: rgb(178, 178, 178);
}

ul.nav_history {
	list-style-type: none;
	position: absolute;
	white-space: nowrap;
	z-index: 1000;
	left: -40px;
	padding-top: 8px;
	margin-top: -5px;
	display: none;
}

ul.nav_history li {
	float: none;
	margin: 0;
	background-color: rgb(147, 19, 38);
	border-radius: 10px;
	margin-bottom: 4px;
}

ul.nav_history li a {
	color: #fff;

}

.header.smaller {
	height: 30px;
	width: 100%;
	z-index: 999;
	transition: 0.2s;
	box-shadow: 0 4px 4px #d3d3d3;
}

.header.smaller .write_legenda, .header.smaller .logo_rapid,
 .header.smaller .locomotiva {
	display: none;
}

.header.smaller .navigation {
	height: 30px;
}

.header.smaller ul.nav_menu {
	margin-top: 0;
	margin-left: 245px;
}

.header.smaller ul li {
	margin-top: 3px;
}

/*  ------------ END OF HEADER   ----------    */


/* --------------- IMAGES SLIDE GALLERY   -----------  */

.imn, .cantec{
	float: left;
}

.imn {
	margin-top: 65px;
	margin-left: -40px;
}

pre {
	color: #fff;
	font-family: georgia;
	font-style: italic;
}

.cantec {
	margin-left: 30px;
	margin-top: 65px;
}

iframe { 
    border: 1px solid #fff;
    display: block;
    margin-bottom: 148px;
}

div.empty_section {
	margin: auto;
	width: 1480px;
	height: 100px;
	clear:both;
}

div.section {
	clear: both;
	margin: auto;
	width: 1480px;
	background-color: rgb(147, 19, 38);
	height: 800px;
}

div.section.section1 {
	background-image: url("Images/supporters_fence1480x985opacity70.jpg");
	height: 800px;
}

div.section div.slide_show {
	width: 804px;
	height: 690px;
	float: left;
	margin-left: 20px;
}

div.section div.slide {
	float: left;
	position: relative;
	height: 540px;
	width: 800px;
	top: 65px;
	border: 2px solid #fff;
}

div.section div.slide img { 
	position: absolute;
	z-index: 0;	
}

div.section div.slide img.visible {
	z-index: 2;
}

div.section div.slide img.next {
	z-index: 1;
}


div.image_info {
	position: absolute;
	height: 540px;
	width: 800px;
}

/* 'Controls for images in the gallery' DIV created with JavaScript:  */

.controls {
	position: absolute;
	float: left;
	width: 100px;
	height: 20px;
	margin-left: 352px;
	margin-top: 645px;
	text-align: center;
}

.controls a {
	width: 12px;
	height: 12px;
	margin-right: 4px;
	margin-left: 4px;
	margin-bottom: 30px;
	border-radius: 50%;
	border: 4px solid rgb(147, 19, 38);
	text-indent: -10000px;
	display: inline-block;
	background-color: #d1d1d1;
}

.controls a.current {
	background-color: rgb(204, 75, 94);
	border-color: rgb(147, 19, 38);
}

.controls a:hover {
	border-color: rgb(102, 13, 26);
}


/*   -------------------   HISTORY SECTION  -------------- */

div.section.section2 {
	width: 100%;
	height: 865px;
}

div.section.section_history {
	padding-top: 65px;
}

div#beginnings img {
	border: 2px solid #fff;
}

div#beginnings img:first-child {
	border: none;
}

div.history_photos {
	float: left;
	margin-left: 50px;
}

div.history_photos.right {
	margin-left: 40px;
}

div.history_photos img {
	display: block;
	margin-bottom: 50px;
}

div.history_wiki {
	margin-left: 300px;
	width: 1120px;
}

div.history_wiki.recent_wiki {
	float: left;
	margin-left: 50px;
	padding-bottom: 65px;
}

div.history_wiki p, div.history_wiki h3 {
	text-align: justify;
	color: #fff;
}

div#recent_history {
	background-color: #fff;
}

div#recent_history p, div#recent_history h3 {
	color: #000;
}

div.history_photos.right img {
	border: 2px solid rgb(147, 19, 38);
}

div#recent_history_photos img:first-child {
	border: none;
}


/*    -----------------   LEGENDS  SECTION   ------------------  */

#section4 {
	height: 1300px;
	background-image: url("Images/giulesti_match2000x1500_A.png");
}

#legends {
	width: 1480px;
	margin: auto;
}

#legends h3 {
	margin-left: 50px;
	padding: 65px 0;
	color: #fff;
	text-align: center;
	letter-spacing: 1px;
}

#legends h4 {
	clear: both;
	margin-left: 50px;
	color: #fff;
	letter-spacing: 1px;
	text-decoration: underline;
	padding: 15px 0;
}

#legends h4.defender_right {
	text-align: right;
	margin-right: 50px;
}

.legends_row {
	clear: both;
	margin-left: 0px;
}

.legends_row_right {
	float: right;
	margin-right: 50px;
}

.legend {
	position: relative;
	display: inline-block;
	opacity: 0.9;
	border: 1px solid #fff;
}

.legend:first-child {
	margin-left: 50px;
}

.legend p {
	position: absolute;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: -50px;
	margin-left: 5px;
	background-color: rgba(153, 153, 153, 0.7);
	padding: 3px;
	border-radius: 2px;
	display: none;
}

.legend:hover {
	opacity: 1;
}

.legend:hover p {
	display: block;
}

/*  WHEN CLICKING ON A 'LEGENDS' IMAGE, ENLARGE IT  */

.overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	min-height: 1300px;
	min-width: 1140px;
	left: 0;
	top: auto;
	z-index: 10000;
	background-color: #999;
	background-color: rgba(153,153,153,0.7);
	display: none;
}

.overlay img {
	position: absolute;
	z-index: 10001;
	top: 50%;
	left: 50%;
	background-color: #fff;
	border: 3px solid #333;
	padding: 10px;
	border-radius: 10px;
}


/*  -------------------  TROPHIES  SECTION  ----------------  */

div.section.section5 {
	clear: both;
}

div.section5 h3 {
	text-align: center;
}

div.section5 img {
	border: 2px solid rgb(147, 19, 38);
}


/* ---------------------- STADIUM SECTION  -----------------   */

div.section6 h3 {
	text-align: center;
	color: #fff;
}

div.section6 p {
	color: #fff;
	text-align: justify;
	padding: 0 50px;
}

div.stadium_div {
	float: left;
	margin-left: 93px;
	margin-top: 40px;
	width: 600px;
	height: 400px;
	border: 2px solid #fff;
}


/* ------------------------  FOOTER  SECTION ----------------- */

div.footer {
	width: 100%;
	height: 50px;
	background-color: #fff;
}

div.footer p {
	text-align: center;
	line-height: 50px;
}


/*  ------------------------  BACK BUTTON  ---------------------- */

div.back_to_alex {
	position: fixed;
	z-index: 20;
	bottom: 4%;
	right: 2%;
}
div.back_to_alex a {
	text-transform: uppercase;
	text-decoration: none;
	font-family: verdana;
	font-weight: bold;
	font-size: 0.8vw;
	color: #fff;
	background-color: rgb(147, 19, 38);
	padding: 3px 5px;
	border: 1px solid #fff;
	opacity: 0.6;
}
div.back_to_alex a:hover {
	color: #fff;
	opacity: 1;
}



