/** * Skin Advanced
	* Il presente files regola gli stili CSS della homepage
	* @author Blancks
*/

/** * STILI DEI CONTENUTI DEL SITO */

/** * Titolo del sito
*/
h1 {
    margin: 0;
    padding: 30px 0 0 76px;
    font-size: 38px;
    font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
}

/** * Stile del link sul titolo */
h1 a, h1 a:visited, h1 a:hover {
    color: #222;
    text-decoration: none;
}

	
@font-face {
    font-family: 'Atteron';
    src: url('fonts/Atteron.eot');
    src: local('Atteron'), url('fonts/Atteron.ttf') format('truetype');
    }

/** * Stili del form di login
*/
div.login_form {
    padding: 10px;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    bottom: 40px;
    margin-left: auto;
    margin-right: auto;
	    color: white;
}

/** * stile che ingloba i gruppi label/input
*/
div.login_form div {
    margin-bottom: 4px;
}

/** * Stile per le label dei form
*/
span.form_label {
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    text-shadow: 0px 0px 3px black;
    font-family: 'Atteron';
}

div.login_form input {
    width: 145px;
    margin: 0;
}

input#username, input#password {
	border: 2px solid #1a0d03;
}

/** Iscrizione **/

.page_body_iscrizione{
	text-align: center;
	padding: 10px;
}

.disclaimer_iscrizione {
	padding: 5px;
	text-align: justify;
background: url(imgs/pattern_dark.jpg);
    border: 3px solid transparent;
    border-image-slice: 9 9 9 9;
    border-image-width: 10px 10px 10px 10px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: repeat repeat;
    border-image-source: url(imgs/border2.png);
    box-shadow: inset 0px 0px 6px black;
    color: #c5bea6;
}

.welcome_message {
	padding: 5px;
	text-align: justify;
background: url(imgs/pattern_dark.jpg);
    border: 3px solid transparent;
    border-image-slice: 9 9 9 9;
    border-image-width: 10px 10px 10px 10px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: repeat repeat;
    border-image-source: url(imgs/border2.png);
    box-shadow: inset 0px 0px 6px black;
    color: #c5bea6;	
}

.pass_rec{
	text-align: center;
}

.rec_link{
	color: white;
}

/** * Stile dei messaggi d'avviso dell'engine */
div.warning, div.error	div.warning.success {
	height: 20px;
    color: #D7CEB2;
    text-align: center;
    font-size: 14px;
    margin-bottom: 1vw;
    padding-top: 0.5vw;
	background: linear-gradient(90deg, rgba(76, 74, 69, 0) 0%, #2e6f79 40%, #2e6f79 60%, rgba(76, 74, 69, 0) 100%);
}

/** * Stile per il bottone del login
*/
div.login_form input[type='submit'] {
    background-position: center;
	box-shadow: none;
}

/** * Contenuti principali della pagina
*/

/** * Titolo della sezione */
h2 {
    font-size: 25px;
    font-weight: normal;
    margin: 0;
}

/** * Contenuti testuali */
div.content_body p {
    font-size: 13px;
    padding: 0 10px;
}

div.content_body a {
    color: #999;
    text-decoration: underline;
}



/** Stile generico contenitore per altri contenuti nella sidebar
*/
div.side_modules {
    margin: 10px 0 0 10px;
    background-color: #b9b9b9;
    font-color: #333;
    padding: 10px;
    text-align: center;
    -moz-border-radius: 5px; /* Bordi arrotondati */
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

div.side_modules .form_label {
    font-size: 10px;
    margin-right: 2px;
}

/** * Tabella statistiche */
table.statistics {
    text-align: right;
    margin-top: 10px;
    font-size: 10px;
}

table.statistics td {
    padding-right: 5px;
}

/** * Stile di colorazione per definire le righe pari */
table.statistics tr.pair {
    background-color: #c9c9c9;
}

/** * Stile per definire il titolo del parametro statistico */
table.statistics td.label {
    font-weight: bolder;
    text-align: left;
    padding: 2px;
}

/** * Recupero password */
div.pass_rec {
    margin-top: 10px;
}

input#passrecovery {
    width: 126px;
}

div.pass_rec input[type='submit'] {
    margin-top: 3px;
}

/** * Footer info */
div#footer div {
    background-color: #1d1005;
    padding: 5px 0 3px 0;
	color: #bdaf81;
}

div#footer p {
    font-size: 0.8vw;
    margin: 0;
    padding: 0 15px 2px 15px;
    text-align: center;
	color: #bdaf81;
}

div#footer a {
	color: #bdaf81;
}

/** * LAYOUT SITO */

/** * Struttura contenitore di tutto il sito 
*/
div#main {
    height: 100%;
    width: 100%;
    text-align: center;
}

/** * Larghezza della struttura del sito
*/
div#site_width {
    margin: 0 auto;
    width: 960px;
    text-align: left;
}

/** * Header
*/
div#header {
    height: 180px;
}

/** * Corpo contenuti della pagina
*/
div#content {
    background: black;
    height: 100%;
    width: 100%;
    position: fixed;
    background-image: url(imgs/logo.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
	margin:auto;
}

/** * Struttura colonna di lato
*/
div.sidecontent {
	display: flex;
    justify-content: center;
    font-family: 'Atteron';
    font-size: 30px;
    color: wheat;
    width: 100%;
    position: absolute;
	flex-wrap: wrap;
}

div.sidecontent a {
	color: #bdaf81;
	margin:10px;
}

/** * Struttura corpo contenuti pagina 
*/
div.content_body img{
	height: 100vh;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;

}


/** Sezione news **/
.news_container {
display: flex;
    justify-content: space-between;
    margin: 10px;
    height: 100%;
    align-items: center;
}

.news_home_title {
	font-family: Atteron;
    font-size: 20px;
	height:4vh;
	text-align: center;
	border-bottom: 1px dashed black;
}

.news_cont_home {
	font-family: Arvo;
	box-shadow: 0px 1px 3px black;
    text-align: justify;
    color: black;
    font-size: 1.5vh;
    background: #6b6a66b0;
    margin: 0.5vw;
    padding: 0.2vw;
    border-radius: 2px;
    margin-top: 0;
}

.news_home_box {
	    height: 56vh;
		overflow: auto;
}

.available_contract {
	width: 300px;
    max-height: 60vh;
    background: url(imgs/pattern_dark.jpg) repeat;
    border: 3px solid transparent;
    border-image-slice: 9 9 9 9;
    border-image-width: 10px 10px 10px 10px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: repeat repeat;
    border-image-source: url(imgs/border2.png);
    box-shadow: inset 0px 0px 6px black;
    color: #c5bea6;
    margin: 5px;
    padding: 5px;
}

.contract_list {
	max-height:56 vh;
	overflow:auto;
}

.active_cont {	
    display: flex;
    flex-wrap: wrap;
}

.news_homepage {
	font-family: Balgruf;
    font-size: 14px;
    letter-spacing: 0.2px;
    color: rgb(64, 59, 41);
    padding-top: 5px;
    -webkit-text-stroke: 0.6px rgba(41, 35, 21, 0.38);
    background: url(imgs/presentilittle.jpg) center;
    background-size: 150%;
    box-shadow: inset 0px 0px 7px rgba(0, 0, 0, 0.77);
    width: 300px;
    height: 60vh;
    text-align: justify;
    padding: 3px;
    margin-right: 2px;
    border-style: solid;
    border-width: 7px;
    -moz-border-image: url(imgs/ui_border.png) 8 repeat;
    -webkit-border-image: url(imgs/ui_border.png) 8 repeat;
    -o-border-image: url(imgs/ui_border.png) 8 repeat;
    border-image: url(imgs/ui_border.png) 8 fill repeat;
}
/** * pie di pagina
*/
div#footer {
	position: absolute;
    width: 100%;
    bottom: 0px;
}

/** *** Fine stili regolatori del layout *** */