/* @import url(https://fonts.googleapis.com/css?family=Gafata); */
/* @import url(https://fonts.googleapis.com/css?family=Roboto+Condensed); */

@font-face {
  font-family: 'Gafata';
  src: url('gafata-regular-webfont.woff2') format('woff2'),
    url('gafata-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('opensans-regular-webfont.woff2') format('woff2'),
         url('opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
  padding-top: 60px; /* padding superiore per menu */
  padding-bottom:0;
  padding-left:0;
  padding-right:0;
	background-image:url("../images/tiny_grid.png");
	font-size:13px;
}

/* ombra testo */
body{text-shadow: 1px 1px 1px #ffffff;}
.tooltip,.navbar{text-shadow: none;}

/* elimina ombra su upload perché si vede male */
.qq-upload-list{
  text-shadow: none;
}

/* label in grassetto */
label {font-weight:bold;}

/*******************
*      SFONDI      *
*******************/
/* SFONDO CENTRO PAGINA */
.premain{
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
/*  background-color: #f5f5f5; */
	background-image:url("../images/sfondo1.png");
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* sfondo front error page */
.front-error.error-page{
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  min-height: 300px;
 	background-image:url("../images/sfondo1.png");
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/*
body#site .premain{
  min-height: 0;
  padding: 0;
  margin-bottom: 0;
	background-image:none;
  border: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
*/
body#site{
	background-image:url("../images/calcio17front.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; 	background-size:cover;
}
/* Repertori */
body#campi{
	background-image:url("../images/calcio20sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; 	background-size:cover;
}
body#categorie{
	background-image:url("../images/calcio15sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#punteggi{
	background-image:url("../images/calcio24sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#schemipartite{
	background-image:url("../images/calcio25sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#stagioni{
	background-image:url("../images/calcio01sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#squadre{
	background-image:url("../images/calcio05sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#tornei{
	background-image:url("../images/calcio04sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#anagrafica{
	background-image:url("../images/calcio06sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#listacomuni{
	background-image:url("../images/calcio23sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* Gestione */
body#gironi{
	background-image:url("../images/calcio07sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#calendario{
	background-image:url("../images/calcio26sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#risultati{
	background-image:url("../images/calcio11sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#disciplina{
	background-image:url("../images/calcio08sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#stampa{
	background-image:url("../images/calcio17sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* arbitri */
body#anagreferti{ /* anagrafica giocatori per referti */
	background-image:url("../images/calcio12sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#designazioni{
	background-image:url("../images/calcio03sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#disponibilita{
	background-image:url("../images/calcio20sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; 	background-size:cover;
}
body#refertiarbitrali{
	background-image:url("../images/calcio16sfondoB.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* impostazioni */
body#impostazioni{
	background-image:url("../images/calcio14sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* home */
body#home{
	background-image:url("../images/calcio14sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* homelogged */
body#homelogged{
	background-image:url("../images/calcio14sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* homearbitri */
body#homearbitri{
	background-image:url("../images/calcio14sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* varie */
/* upload comunicati */
body#uploadcomunicati{
	background-image:url("../images/calcio20sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* comunicati vista utente */
body#comunicati{
	background-image:url("../images/calcio20sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; 	background-size:cover;
}
/* disponibilitaarbitri */
body#disponibilitaarbitri{
	background-image:url("../images/calcio14sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/* stampe varie */
body#stampadirigenti{
	background-image:url("../images/calcio17sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#stampacalendario{
	background-image:url("../images/calcio21sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#stamparisultati{
	background-image:url("../images/calcio11sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#stampadisciplina{
	background-image:url("../images/calcio15sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#stamparecuperi{
	background-image:url("../images/calcio18sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
body#stampaanagrafiche{
	background-image:url("../images/calcio22sfondo.jpg");
  background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size:cover;
}
/**********************
*     FINE SFONDI     *
**********************/

/* altezza minima corpo centrale della pagina */
.main {min-height:300px;}
body#admin .main{min-height:0;} /* eccezione per gestione utenti */


h1, h2, h3, h4 {
	font-family: 'Gafata', sans-serif;
/*	font-family: 'Roboto Condensed', sans-serif; */
	text-shadow: 1px 1px 1px #ffffff;
}

/* colori menu inverso */
/*
.navbar-inverse .navbar-inner {
	background-image:none !important;
	background-color:#000000 !important;
}

.navbar-inverse .nav .active>a, .navbar-inverse .nav .active>a:hover, .navbar-inverse .nav .active>a:focus {
	color: #ffffff;
	background-color: #555555;
}
*/

.navbar {
  position:fixed; /* posiziona il menu fisso in alto */
  top:0;
}

.navbar-fixed-top {
  position:fixed !important; /* tiene il menu fisso in alto - per IE */
}

.navbar .container {
  padding-left:20px;
  padding-right:20px;
}

.nav ul {
  display:none; /* nasconde menu' a discesa */
}

.nav  .dropdown-menu{
	margin-top:0; /* sposta in alto menu' a discesa di un pixel */
}

.nav-collapse .nav>li>a, .nav-collapse .dropdown-menu a {
	font-weight:normal; /* font normale sul menù cellulare */
}

/* colore hover su voci menù a discesa */
.nav-collapse .dropdown-menu a:hover{background:#333333;}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus,.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus, .dropdown-submenu:hover>a, .dropdown-submenu:focus>a {
	background-image:none;
	background-color: #333333;
}

/*
.nav-collapse.in.collapse {
  height:auto !important; */  /* per sistemare la dimensione del dropdown nella versione mobile */
/*
}
*/

/* per sottomenu sempre aperti su schermo piccolo */
@media (max-width: 979px) {
	ul ul ul.dropdown-menu{display:block !important;}
}

/* Margini pagina */
body>.container{padding-left:5px!important;padding-right:5px!important;}

/* per allineamento campi form */
form div.row{margin-left:0}
form div.row div:first-child{
	margin-left:0;
	padding-left:0;
}

/* centratura immagini */
img.img_center{display:block;margin:auto}

h1{
  display: block;
  width: 100%;
  padding: 0;
  font-size: 30px;
  line-height: 36px;
  color: #333333;
  border: 0;
/*	text-shadow: 1px 1px 2px #ccc; */
}

/* titolo home */
header h1 {font-size:30px;text-align:center;}

/* stili dei campi di input */
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{
	width:100%;
  font-family: 'open_sansregular', sans-serif;
}
/* stili dei campi di input */
select, textarea, input[type="text"], input[type="password"], input[type="number"], input[type="email"], input[type="url"], input[type="search"]{
	height:30px;
	box-sizing: border-box;
}
.grid-view input, .editable-input input {width:auto}

/* campi input a tutta larghezza */
input[type="text"], textarea, input[type="password"] {
	padding-left:5px;
	padding-right:0;
}

/* tabelle striped */
/*.grid-view .table tbody>tr:nth-child(odd)>td, .table-striped tbody>tr:nth-child(odd)>th {
background-color: #f9f9f9;
}
*/

/* posiziona a sinistra in alto il sommario delle tabelle in modo che rimanga fermo anche se la tabella dovesse scrollare */
/*
.grid-view .summary{
	position:absolute;
	margin-top:-20px;
}
*/

/* sfondo grigio intestazione tabelle */
.grid-view .table-bordered th{
	background-color:#e8e8e8;
}

.grid-view th,.portlet-decoration{
background-color:#e8e8e8;
background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#dcdcdc));
background: -webkit-linear-gradient(top, #fbfbfb, #dcdcdc);
background: -moz-linear-gradient(top, #fbfbfb, #dcdcdc);
background: -ms-linear-gradient(top, #fbfbfb, #dcdcdc);
background: -o-linear-gradient(top, #fbfbfb, #dcdcdc);
background: linear-gradient(top, #fbfbfb, #dcdcdc);
/* border-top: 1px solid #f4f4f4 !important; */
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
}

/* Breadcrums */
.breadcrumb {
  padding: 7px 14px;
  margin: 0 0 18px;
  list-style: none;
  background-color: #fbfbfb;
  background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
  background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: linear-gradient(top, #ffffff, #f5f5f5);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
  border: 1px solid #ddd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
}
.breadcrumb li {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  text-shadow: 0 1px 0 #ffffff;
}
.breadcrumb .divider {
  padding: 0 5px;
  color: #999999;
}
.breadcrumb .active a {
  color: #333333;
}

/* menu a sinistra */
/* div.portlet-title{font-weight:bold;} */
div.portlet-decoration {
	font-size: 13px;
	padding: 10px 15px;
	border: 1px solid #e8e8e8;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
	border-bottom:0;
}
ul li { font-size:13px; }
ul.sidebar {
	margin:0px;
}
ul.sidebar li{
	position: relative;
	display: block;
	padding: 10px 15px;
	margin-bottom: -1px;
	background-color: #ffffff;
	border: 1px solid #dddddd;
}
.divider-vertical{
	display:none !important;
}
.portlet-content .nav>li>a:hover,.portlet-content  .nav>li>a:focus {
	background:none;
}

/* Table */

.sort-link{
/*	color:#000000; */
}

.grid-view table.items {
	background-color:#ffffff;
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapse;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

table.items tr{ 
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapse;
  border-left: 0;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

/* colore strisce table-striped */
.table-striped tbody>tr:nth-child(odd)>td, .table-striped tbody>tr:nth-child(odd)>th {
/*	background-color: #f4f4f4; */
}

/* finestra modale */
.modal-header h4{
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
	padding-right:15px;
}
.modal-body{
	background:url("../images/tiny_grid.png");
}
/* frame finestra modale */
.modal-frame{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
}

/* errore */
span.error{
	font-weight:bold;
}

/* logo home */
.img-aics{
	border: 1px solid #dedede;
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
	-webkit-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
	-moz-box-shadow: 0 0 10px rgba(189, 189, 189, 0.4);
}

/* padding superiore sezione aggiornamento */
#record-update{
	padding-top:40px;
}

/* impostazioni hr */
hr{
	border: 0;
	border-top: 1px solid #dddddd;
}
.footer .container .row hr {
	margin: 20px 0 0 30px;
}
@media (max-width: 1199px) {
	.footer .container .row hr {
		margin-left:20px;
	}
}
@media (max-width: 767px) {
	.footer .container .row hr {
		margin-left:0;
	}
}

#footer-copyright{
	padding:10px 5px;
	text-shadow: 1px 1px 1px #ffffff;
}

/* righe verticali schema partite */
#Schemipartitedettaglio-grid tbody td:nth-of-type(odd),
#Schemipartitedettaglio-grid thead th:nth-of-type(odd) {
	background-color: #f4f4f4;
}

/* riduce dimensione titolo nella home */
@media (max-width: 540px) {
	body#site .span12 .main header h1 {
		font-size:18px;
	}
}

/* dimensioni finestra modale */
.modal{
	width:97% !important;
	max-width:1250px !important;
	height:auto !important;
	max-height:100% !important;
	top:5% !important;
	left:1.5% !important;
	right:1.5% !important;
	bottom:100px !important;
	margin:0 auto !important;
}

.modal-header{
	max-height:20px;
}

.modal-header h4{
	margin:0;
}

.modal-body{
	height:100%;
	max-height:90%;
	min-height:0;
/*	padding:5px; */
}

.modal-footer{
	height:30px !important;
	padding:5px;
}

/* distanza bottoni colonna bottoni */
.button-column{
/*	width:90px !important; */
	min-width:100px !important;
}
/* .button-column [class^="icon-"], .button-column [class*=" icon-"]{margin:0 7px;} */
.button-column .btn-small{padding:2px 6px;margin:0 2px;}
.table th, .table td {
	padding: 8px;
	line-height: 24px;
}
/* gruppo bottoni */
/*.blocco-bottoni .btn{margin:5px 0 5px 10px;}
.blocco-bottoni .btn:first-child{margin-left:0;}*/
.blocco-bottoni {line-height:40px;}
.blocco-bottoni .btn{margin-right:10px;}
.blocco-bottoni .btn:last-child{margin-right:0;}

table {
	background-color:#ffffff;
}

/* immagine caricamento Ajax per finestra modale */
.caric-ajax, #modal-body iframe{
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:url('../images/ajax-loader.gif') no-repeat center center;
}
/* immagine caricamento Ajax per update e altri campi */
.caric-ajax2{
	width:100%;
	height:32px;
	background:url('../images/ajax-loader.gif') no-repeat center center;
}

/* rende non interrompibile il testo delle etichette dei form e degli header delle grid-view */
form label, .grid-view th {
	overflow:hidden !important;
	white-space:nowrap !important;
	text-overflow:ellipsis !important;
}

/* imposta una larghezza minima per le colonne delle grid-view, eccetto che per Schemipartitedettaglio-grid */
.grid-view td {
	min-width:50px;
}
.grid-view#Schemipartitedettaglio-grid td {
	min-width:0;
}

.scelta a {
	display:block;
	float:left;
}

.scelta input {
	margin-top:35px;
}

.scelta table {
	background:transparent;
}

.scelta td:first-child{
	margin:0;
	padding:0;
}

.scelta td:last-child{
	width:100%
}

.row .span12 .well {
	margin:20px 0 0 0;
	padding:0 10px 10px 10px;
}

.row .span12 .well h3 {
	border-bottom:1px solid #dddddd;
}

/* visualizza il codice fiscale in maiuscolo nel form dell'anagrafica */
input#Anagrafica_ACf,input#Campi_Provincia,input#Listacomuni_Provincia{text-transform:uppercase;}
/* visualizza sigla provincia in maiuscolo nel form */
/* input#Listacomuni_Provincia{text-transform:uppercase;} */

/* nasconde di default i campi opzioniGiocatore ed opzioniArbitro */
#opzioniGiocatore, #opzioniArbitro {display:none}

.grid-view .button-column{text-align:right}

/* colore input squadra a riposo */
input.riposa{
	color:#66aa66;
	background:#f8f8f8;
}

/* colore input squadra che gioca */
input.gioca{
	color:#333333;
	background:#f8f8f8;
}

/* per help */
.help-heading{
	cursor:pointer;
/*	background-color:#ffffff;
	padding:10px;
  border: 1px solid #cccccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px; */
  padding: 7px 14px;
  margin: 0 0 1px;
  background-color: #fbfbfb;
  background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
  background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: -o-linear-gradient(top, #ffffff, #f5f5f5);
  background-image: linear-gradient(top, #ffffff, #f5f5f5);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);
  border: 1px solid #ddd;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
  -moz-box-shadow: inset 0 1px 0 #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
}
.help-body{
	background-color:#ffffff;
	padding:10px;
  border: 1px solid #dddddd;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
	display:none;
}

.nascosto{display:none;}

/**************************************
 *
 * effetto zoom al passaggio del mouse
 *
 **************************************/
.zoom9,.zoom19, .social-buttons img {
	opacity: 1;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;
	z-index:100;
}
/* zoom a 1.09 */
.zoom9:hover{
	-webkit-transform: scale(1.09);
	-moz-transform: scale(1.09);
	-ms-transform: scale(1.09);
	-o-transform: scale(1.09);
	transform: scale(1.09);
}
/* zoom a 1.19 */
.zoom19:hover, .social-buttons img:hover {
	-webkit-transform: scale(1.19);
	-moz-transform: scale(1.19);
	-ms-transform: scale(1.19);
	-o-transform: scale(1.19);
	transform: scale(1.19);
}

/* per pagine menù */
.stampe-titolo, .vocimenu{
	text-align:center;
}
.vocimenu img{
	margin:50px 50px 10px 50px;
	width:64px;
	height:auto;
}
.vocimenu .immagine{
	display:inline-block;
}
.torna-menu-stampe{
	max-width:200px;
	height:auto;
}
/* FINE per pagine menù */

.rosso {
	font-weight:bold;
	color:#a71212;
}

.editable-click, a.editable-click, a.editable-click:hover{
  border-color:#bbbbbb;
}
.editable {height:21px;}
.editable-empty{
  display:block;
}

a {color: #000000;}
.error-page a {color: #0088cc;}

/* NS-Toggle */
.ns-toggle .btn.off.btn-default, .ns-toggle .btn.on.btn-default{color:#cccccc !important;}
