/*
 * Globals
146c99
-webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0))
 */
 
#update{  
	border-top: 1px solid #eee;
    margin-bottom: 4em;
}

#update .row:nth-child(even){  background-color: #fbfbfb; }
#update .row{ 
	margin:0px;
	padding: 0.8em 0.4em 1.4em 0.4em;
}

#updateAnswer{
    border-top: 1px solid #eee;
    margin-bottom: 4em;
}

#updateAnswer .row:nth-child(even){  background-color: #fbfbfb; }
#updateAnswer .row{
    margin:0px;
    padding: 0.8em 0.4em 1.4em 0.4em;
}

#boxscontrino{   
	margin:0px;
	border-top: 1px solid #eee;
	padding-top: 1.5em;
	margin-top: 2em;
    margin-bottom: 3em;
}


/* Links */
a,
a:focus,
a:hover {
  color: #146c99;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


body {
  background-color: #fff;
  
  font-family: "gothic","Arial",sans-serif;
} 

/*
.container {
  width: 100%;
  height: 100%; 
  min-height: 100%;
}
*/

h2 {
    padding-top: 0.8em;
    border-top: 1px solid #eee;
    font-weight: bold;
    font-size: 1.35em;
    color: #666;
}

#listacod {
    margin-left: 0px;
    margin-bottom: 4em;
}


.btn {
    position: relative;
    outline: none !important;
    background: #e6e6e6 !important;
    border: none;
    border-radius: 7px;
    color: #146c99 !important;
    font-weight: bolder;
    font-size: 1.15em;
    padding: 0.5em 1em;
    text-transform: uppercase;
    text-shadow: none;
    box-shadow: 0px 4px 0px -1px #cccccc;
}

.btn:active{
    color: #146c99 !important; 
    background: #f6f6f6 !important;
    box-shadow: 0px 2px 0px -1px #cccccc;
	top:1px;
}

header{
	background:#FFFFFF;
    padding: 15px 25px; 
	margin-bottom: 0.8em;
}

#voucherutente{ 
    padding: 0px;
	list-style-type:none; 
}


#voucherutente li:nth-child(even){
	 background-color: #fbfbfb;
}

#voucherutente li{
    padding: 0.8em 0em;
}


.form-control, input[type="text"], input[type="email"], input[type="password"], select{ 
	border: 1px solid #ccc;
    border-radius: 0px;
    box-shadow: none;
    display: block;
    width: 100%;
    height: 30px;
    padding: 6px 8px;
    font-size: 14px;
    line-height: 30px;
    color: #555;
    background-color: #fff;
}

input[readonly]{ 
   background-color: #e3e3e3;
}


.cover-container {
  margin-right: auto;
  margin-left: auto;
}

#frmlogin{
    max-width: 500px;
    margin: 0 auto;
    display: block;
}


/*  Header */
.masthead-brand{
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
	color:#111;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}

.masthead-nav > .active > a,
.masthead-nav > li > a{
    color: #146c99;
    font-size: 14px;
    padding-bottom: 0px;	
}
.masthead-nav > li > a:hover,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
    border-bottom: 1px solid #146c99;
}

.masthead-nav {
    margin-bottom: -1em;
    margin-top: 1em;
}

label{
	color: #777;
    font-size: 12px;
    margin-bottom: 1px;
    margin-top: 8px;
}

.menuchild{ margin-bottom: 0.5em; }

#tablesc td, #tabutenti td{  padding:5px; } 
#tablesc th, #tabutenti th{  padding: 21px 6px 22px 6px;  }


@media (min-width: 768px) {
/*  .masthead-brand {
    float: left;
  }
*/  .masthead-nav {
    float: right;
  }
}



/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */


 

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    /* position: fixed; */
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }

}

@media (min-width: 992px) {
  .mastfoot,
  .cover-container {
    width: 100%;
  }

}


@media screen and (max-width: 768px) {
  
  .masthead-brand {
	  margin-top: 15px;
	  margin-bottom: 15px;
  }
	
  #frmlogin {
	  margin-bottom: 50px;
	  max-width: 90%;
  }

}


#promozioni{
    color:#222;
}

#utenti{
    color:#222;
}

table a:link {
	color: #666;
	font-weight: bold;
	text-decoration:none;
}
table a:visited {
	color: #999999;
	font-weight:bold;
	text-decoration:none;
}
table a:active,
table a:hover {
	color: #bd5a35;
	text-decoration:underline;
}
table {
	font-family:Arial, Helvetica, sans-serif;
	
	font-size:12px;
	text-shadow: 1px 1px 0px #fff;
	background:#eaebec;
	margin:20px;
	border:#ccc 1px solid;

	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;

	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
}
table th {
	padding:21px 25px 22px 25px;
	border-top:1px solid #fafafa;
	border-bottom:1px solid #e0e0e0;

	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
}
table th:first-child {
	text-align: left;
	padding-left:20px;
}
table tr:first-child th:first-child {
	-moz-border-radius-topleft:3px;
	-webkit-border-top-left-radius:3px;
	border-top-left-radius:3px;
}
table tr:first-child th:last-child {
	-moz-border-radius-topright:3px;
	-webkit-border-top-right-radius:3px;
	border-top-right-radius:3px;
}
table tr {
	text-align: center;
	padding-left:20px;
}
table td:first-child {
	text-align: left;
	padding-left:20px;
	border-left: 0;
}
table td {
	padding:18px;
	border-top: 1px solid #ffffff;
	border-bottom:1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;

	background: #fafafa;
	background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
	background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
}
table tr.even td {
	background: #f6f6f6;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
	background: -moz-linear-gradient(top,  #f8f8f8,  #f6f6f6);
}
table tr:last-child td {
	border-bottom:0;
}
table tr:last-child td:first-child {
	-moz-border-radius-bottomleft:3px;
	-webkit-border-bottom-left-radius:3px;
	border-bottom-left-radius:3px;
}
table tr:last-child td:last-child {
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-right-radius:3px;
	border-bottom-right-radius:3px;
}
table tr:hover td {
	background: #f2f2f2;
	background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
	background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);	
}

table{
    margin:auto;
    margin-bottom: 30px;
}