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

/** * STILI DEI CONTENUTI DEL SITO */
/** * Skin advanced
	* @author Blancks
*/

/** * Parametri di default nella pagina
*/

/* ---------------------------------------------------------
   COOKIE BANNER
--------------------------------------------------------- */

.logo_home{
    
    width: 280px;
    
}


#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 15px;
    display: none;
    justify-content: center;
    z-index: 9999;
}

.cookie-box {
    background: #222;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    max-width: 600px;
}

#cookie-accept,
#cookie-policy,
#privacy-policy {
    margin-top: 10px;
    padding: 8px 20px;
    background: #4caf50;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

#cookie-policy {
    background: #2196f3;
}

#privacy-policy {
    background: #9c27b0;
}

/* ---------------------------------------------------------
   MODALI (COOKIE + PRIVACY)
--------------------------------------------------------- */
.cookie-modal,
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Contenuto modale */
.modal-content {
    background: #fff;
    color: #000;
    padding: 20px;
    width: 70%;
    max-width: 700px;

    /* Scroll interno */
    max-height: 80vh;
    overflow-y: auto;

    border-radius: 8px;
    position: relative;
}

/* Pulsante chiusura */
.modal-close {
    position: sticky;
    top: 0;
    float: right;
    font-size: 28px;
    cursor: pointer;
    background: #fff;
    padding: 0 5px;
    z-index: 10;
}

/* Stile generale del testo nelle modali */
.modal-content h1,
.modal-content h2,
.modal-content h3 {
    margin-top: 20px;
}

.modal-content p,
.modal-content ul {
    margin-bottom: 15px;
}

.modal-content ul {
    padding-left: 20px;
}


body {
    
    /* width: 100%; */
    height: 93vh;
    margin: 0;
    color: #222;
    font-family: Verdana, Sans;
    font-size: 11px;

     /*background: url("img/bg.gif") top left repeat;*/
}

body.transparent_body {
    background-color: transparent;
    background-image: none;
	background: url("img/bg.gif") top left repeat;
}

div, ul, li {
    margin: 0;
    padding: 0;
}

.blank {
    clear: both;
}

a, a:visited {
    color: #ebebeb;
    text-decoration: none;
}

a:hover {
    color: #ebebeb;
    font-weight: bolder;
    text-decoration: underline;
}

div.form_field table {
    margin: 5px auto;
}

input, textarea, select {
    /* width: 80%; */
    margin-bottom: 10px;
    border-radius: 20px;
    border: 3px solid #4f0e0e;
    padding: 8px 25px 8px 25px;
    margin: 0 auto;
    text-align: center;
	transition: all 0.3s ease; /* oppure solo le proprietà che ti servono */
    background-color: #c7c5c5b3;
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
    /* width: 80%; */
    margin-bottom: 10px;
    border-radius: 10px;
    border: 3px solid #4f0e0e;
    padding: 8px 25px 8px 25px;
    margin: 0 auto;
    text-align: center;
    background-color: #96794b75;
    outline: 1px solid #671919;
}

input[type='submit'] {
    width: auto;
    margin: 5px 0 15px 0;
}

textarea {
    height: 100px;
}

div.form_label {
    font-size: 13px;
    font-weight: bolder;
    margin-top: 5px;
}

div.form_info {
    font-size: 12px;
    margin-bottom: 15px;
}

select.day, select.month, select.year {
    width: 60px;
    display: inline-block;
}

/** * Stile dei messaggi d'avviso dell'engine */
div.warning, div.error {
    background-color: #cf8888;
    font-size: 12px;
    text-align: center;
    margin: 15px;
    font-weight: bolder;
    padding: 10px;
    border: solid 1px #800;
    color: #970b0b;
}

div.warning.mysql, 
div.error.mysql {
	text-align:left;
	font-weight:normal;
}

div.warning.mysql summary, 
div.error.mysql summary{
	margin-top:1em;
	font-weight:bold;
}

div.link_back {
    text-align: center;
    background-color: #d1d1d1;
    padding: 2px;
}


/** * 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;
}

/** * Sottotitolo
*/
div.subtitle {
    margin-left: 78px;
    color: #666;
    font-family: Verdana, Sans;
    font-size: 12px;
}

/** * Stili del form di login
*/
div.login_form {
    /* float: right; */
    /* width: 230px; */
    padding: 0px;
    margin: 11px auto;
}

/** * 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;
    font-weight: bolder;
}

div.login_form input {
    width: 145px;
    margin: 0;
}
div.login_form input[type=checkbox]{
	width: auto;
	vertical-align: middle;
}

/** * Stile per il bottone del login
*/
div.login_form input[type='submit'] {
    /* width: 65px; */
    margin: 18px 0 !important;
}

/** * Contenuti principali della pagina
*/

/** * Titolo della sezione */
h2 {
    font-size: 25px;
    font-weight: normal;
    margin: 0;
    padding-bottom: 4px;
    border-bottom: solid 1px #d9d9d9;
}

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

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

/** * Men� di navigazione
*/
div.sidecontent ul {
    margin: 20px 0 0 10px;
    padding: 20px 10px 20px 10px;
    background-color: #a1a1a1;
    list-style-type: none;
    -moz-border-radius: 5px; /* Bordi arrotondati */
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

/** * Contenitore delle voci nel men� **/
div.sidecontent ul li {
    margin-bottom: 5px;
}

/** * Link voce men� al passaggio del mouse **/
div.sidecontent ul li a, div.sidecontent ul li a:visited {
    color: #f1f1f1;
    text-decoration: none;
    display: block;
    font-size: 17px;
    padding: 2px;
    background-color: transparent;
}

/** * Link voce men� al passaggio del mouse
*/
div.sidecontent ul li a:hover {
    background-color: #b2b2b2;
    color: #444;
}

/** Stile generico contenitore per altri contenuti nella sidebar
*/
div.side_modules {
    margin: 32px auto 4px auto;
    /* background-color: #b9b9b9; */
    text-align: center;
    /* padding: 10px; */
    /* text-align: center; */
    -moz-border-radius: 5px;
    -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: #b9b9b9;
    padding: 32px 0 30px 0;
}
div#footer p {
    font-size: 10px;
    margin: 0;
    padding: 0 15px 2px 15px;
    text-align: center;
}

/** * LAYOUT SITO */

/** * Struttura contenitore di tutto il sito 
*/
div#main {
    z-index: 5;
    height: 100%;
    width: 100%;
    position: relative;
    background-image: url(img/bg_home.png);
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/** * Larghezza della struttura del sito
*/
div#site_width {
    padding: 25px;
    margin: 0 auto;
    width: 75%;
    /* text-align: left; */
    height: 100%;
    /* height: auto; */
}

/** * Header
*/
div#header {
   /* height: 180px;
    background-color: #ffffff61;
    padding: 10px;
     margin: 10px; */
}

div#header > div {
    float: left;
    height: 100%;
}

div#header .titlecontent {
    width: calc(100% - 250px);
}



.titlecontent{
    margin: 45px -42px -56px 35px;
}
/** * Corpo contenuti della pagina
*/
div#content {
    /* padding: 134px 60px 50px 60px; */
    /* border-radius: 20px; */
    width: 40%;
    margin: 198px auto 0 auto;
    height: 61%;
    z-index: 0;
    position: relative;
    box-shadow: -6px 10px 15px -7px #4e1010;
    border-radius: 19px;
    border: 3px solid #4f0e0e;
}

/** * Struttura colonna di lato
*/
div.sidecontent {
    width: 200px;
    float: left;
}

/** * Struttura corpo contenuti pagina 
*/

.logincontent{
    
    text-align: center;
    
}

div.content_body {
    /* width: 620px; */
    padding: 0 26px 1px 37px;
    /* float: left; */
    text-align: left;
    font-size: 11px;
}

/** * pie di pagina
*/
div#footer {
    margin: -21px 0px 0px 0px;
    
    height: 68px;
}


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

/**
 * TABELLA
 */

div.elenco_record_gioco {
    padding: 20px;
}

div.elenco_record_gioco table {
    width: 100%;
    
    -moz-border-radius: 5px; /* Bordi arrotondati */
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}

div.elementi_elenco {
    padding-top: 5px;
    text-align: left;
}

div.titoli_elenco,
span.titoli_elenco {
    font-weight: bold;
    font-size: 12px;
    font-style: italic;
}

img.colonna_elenco_messaggi_icon {
    width: 30px;
    height: 30px;
}

div.controlli_elenco {
    width: 60px;
}

div.controllo_elenco {
    width: 20px;
    float: left;
}

div.controllo_elenco input[type='image'] {
    width: 15px;
}


div.elementi_elenco {
    min-height: 20px;
}

td.casella_elemento, div.elementi_elenco {
    font-size: 12px;
    /* background-color: #d9d9d9; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#content > div.right > div > div > div.page_body > div > div > table > tbody > tr > td > div > img{
    width: 50px;
}

div.controllo_elenco input[type='image'] {
    height: 15px;
    width: 15px;
    display: block;
    margin: 2px 5px;
}

div.elementi_elenco a {
    font-weight: bolder;
}

div.elementi_elenco a:hover {
    text-decoration: none;
}

.homepage-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

/* Colonna sinistra */
.homepage-layout .left {
    width: 25%;
}

/* Colonna centrale (menu) */
.homepage-layout .center {
    width: 30%;
    text-align: center;
}

.homepage-layout {
    background-color: #4f4e4ebf;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
    color: #fff;
}

.homepage-layout .center .menu li a {
    text-decoration: none;
    font-weight: bold;
}

/* Colonna destra */



.homepage-layout {
    background-color: #1e1d1dba;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

/* SINISTRA: 25% */
.homepage-layout .left {
    width: 25%;
}

/* CENTRO: menu centrato */
.homepage-layout .center {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
	    display: flex;

}

.homepage-layout .center .menu {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.center > .menu {
    display: flex;
    gap: 20px;
    background-color: #4f0e0e;
    color: #fff !important;
    padding: 5px 0px 4px 21px;
    /* margin: 4px 8px 10px 9px; */
}


#site_width > div.center > ul > li{
    text-decoration: none;
    font-weight: bold;
	list-style: none;
    margin: 4px 3px 4px;
    display: flex;
}

/* DESTRA: 75% */
.homepage-layout .right {
    height: 93%;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 15px auto;
}
.homepage-layout .right::-webkit-scrollbar {
    width: 10px;
}

.homepage-layout .right::-webkit-scrollbar-track {
    background: #222;        /* sfondo */
    border-radius: 10px;
}

.homepage-layout .right::-webkit-scrollbar-thumb {
    background: #b30000;     /* colore barra */
    border-radius: 10px;
    border: 2px solid #222;  /* effetto “incassato” */
}

.homepage-layout .right::-webkit-scrollbar-thumb:hover {
    background: #ff0000;     /* colore quando passi sopra */
}
/* Desktop (default) */
.container {
  padding: 40px;
}

/* Mobile */
@media (max-width: 750px) {
	
	body {
    margin: 0;
    overflow: scroll;
    background: #000;
}
	.logo_home{
    
    width: 180px;
    
}
	input, textarea, select {
    /* width: 80%; */
    margin-bottom: 10px;
    border-radius: 20px;
    border: 3px solid #4f0e0e;
    padding: 7px 6px 13px 6px;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #c7c5c5b3;
}
	
	div#main {
    z-index: 5;
     height: 100%; 
     width: 100%; 
    position: relative;
    background-image: url(img/bg_home.png);
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
}
    div#content {
        padding: 44px 30px 39px 27px;
        border-radius: 20px;
        width: 79%;
        margin: 73px auto 0 auto;
        height: 48%;
        z-index: 0;
        position: relative;
        box-shadow: -6px 10px 15px -7px #4e1010;
        border-radius: 19px;
        border: 3px solid #4f0e0e;
    }
	
div#site_width {
        padding: 25px;
        margin: 0 auto;
        width: 75%;
        text-align: left;
        height: 100%;
        
    }
div.login_form {
        /* float: right; */
        /* width: 230px; */
        /* padding: 10px; */
        margin: 15px auto;
    }
	
    .homepage-layout .right {
        height: 100%; 
        overflow-x: hidden;
        width: 100%;
        /* overflow-y: auto; */
        margin: 0 0;

        /* height: 100%; */
        overflow-x: hidden;
        width: 100%;
        overflow-y: auto;
        margin: 0 0;
    }

	
    div.side_modules {
        margin: 0 auto 0 auto;
        /* background-color: #b9b9b9; */
        text-align: center;
        /* padding: 10px; */
        /* text-align: center; */
        font-size: 12px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        -khtml-border-radius: 5px;
        border-radius: 5px;
    }

	    div.login_form input {
        width: 70%;
        margin: 0;
    }
	
      div.login_form input[type='submit'] {
        width: 105px;
        margin: 14px 3px 11px 5px;
        height: 28px;
        font-size: 15px;
        padding: 0 0;
    }
	div.content_body {
    /* width: 620px; */
    padding: 0 2px 1px 2px;
    /* float: left; */
    text-align: left;
    font-size: 11px;
}
	div.elenco_record_gioco {
        padding: 0px ! IMPORTANT;
    }
    td.casella_elemento, div.elementi_elenco {
        font-size: 8px;
        /* background-color: #d9d9d9; */
        display: table-cell;
        flex-direction: column;
        /* overflow-anchor: auto; */
        /* height: 100px; */
        /* align-items: flex-start; */
    }

    div.elementi_elenco {
        min-height: 20px;
        /* padding-top: 5px; */
        text-align: left;
    }
#cookie-banner {
        position: fixed;
        bottom: 0;
        font-size: 15px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.75);
        color: #fff;
        padding: 0px 1px 47px 0;
        display: none;
        justify-content: center;
        z-index: 9999;
    }
	.cookie-box {
    background: #222;
    padding: 15px 20px;
    /* border-radius: 6px; */
    text-align: center;
    max-width: 600px;
}
	
	    #cookie-accept, #cookie-policy, #privacy-policy {
        margin-top: 10px;
        padding: 8px 20px;
        background: #4caf50;
        border: none;
        font-size: 12px;
        color: white;
        cursor: pointer;
        border-radius: 4px;
    }
    .center > .menu {
        /* display: flex; */
        /* gap: 20px; */
        background-color: #4f0e0e;
        color: #fff !important;
        padding: 13px 0px 10px 14px;
        font-size: 6px;
        margin: 0 auto;
        right: 0px;
        left: 0;
        top: 0;
        flex-direction: row;
        position: absolute;
        width: 100%;
    }
    div#footer div {
        background-color: #b9b9b9;
        /* width: 100%; */
        /* height: 100%; */
        padding: 11px 0 8px 0;
    }
	
    div#footer {
        margin: -55px 0px 36px 0px;
        height: 68px;
        position: absolute;
        padding: 17px 0 21px 0;
        z-index: 7;
    }
	
	#content > div > div > a > img{
    position: relative;
    /* width: 280px; */
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 0px auto;
    align-items: center;
}
div#footer p {
    font-size: 8px;
    margin: 0;
    padding: 0 15px 15px 15px;
    text-align: center;
}	
	
}
