H1.titolo_evento {
    line-height: 25px;
    padding-top: 20px;
}
H1.titolo_evento SMALL {
    font-size: 18px;
}
H5.ending {
    color: #0099cc;
    text-align: center;
}


DIV.important {
	padding: 30px;
	border: solid 3px green;
	background: #eaffea;
	color: green;
}


DIV.important2 {
	padding: 30px;
	border: solid 10px green;
	background: #eaffea;
}
DIV.important2 > H2 {
	margin-top: 0;
	color: green;
}

#img_header {
   width: 100%;
   margin: 20px 0;
}

DIV.box {
   max-width: 600px;
   background: #e4f3fa;
   padding: 10px 50px;
   box-sizing: border-box;
   margin: auto;	
}
#iscrizione {
   margin-top: 3em;
   background: #e4f3fa;
   padding: 2em;   
}

.bs_table {
	font-size: 12px;
}
.bs_table TBODY TR  {
   height: 50px;
}


TABLE#risultati TD,
TABLE#iscritti TD {
	text-align: left;
	vertical-align: top;
}
TABLE#iscritti TD:first-child {
	padding-left: 25px;
	cursor: pointer;
	min-width: 30%;
}
TABLE#iscritti TD:last-child {
	font-size: 12px;
}
TABLE#iscritti TR.already TD:first-child::after {
   content: ' *';
   color: red;
}
TABLE#iscritti TR.choosen TD:first-child::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin-top: 1px; 
    margin-left: -20px;
    background: url('../../img/star.png') no-repeat center center;
    background-size: contain;
}

TABLE.colors SPAN {
	padding: 1px 5px;
	border-radius: 2px;
	cursor: pointer;
}

TABLE.colors SPAN.c0 {
	background: #ffcbcb;
}
TABLE.colors SPAN.c1 {
	background: #ffe8bd;
}
TABLE.colors SPAN.c2 {
	background: yellow;
}
TABLE.colors SPAN.c3 {
	background: #c1ffc1;
}
TABLE.colors SPAN.conf {
	font-weight: bold;
}
TABLE.colors SPAN:not(.conf) {
	color: silver;
}

DIV.card {
	border: solid 2px #eee;
	max-width: 125px;
	min-height: 160px;
	background: #FFF;
	padding: 3px;
	margin: 8px 1.3%;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	position: relative;
	overflow: hidden;	
}
DIV.card DIV.head {
	font-size: .8em;
}
DIV.card IMG.picture {
	width: 100%;
}
DIV.card A {
	text-decoration: none;	
}

@media screen and (max-width: 1000px) {
   H1.titolo_evento  {
      font-size: 24px;
      line-height: 1;
      padding-bottom: 20px;
   }   
   H1.titolo_evento SMALL {
       font-size: 14px;
   }   
}
@media screen and (max-width: 500px) {
   #iscrizione {
      width: 100%;
      padding: 10px;
   }

   #img_villa {
      float: none;
      margin: 0 0 20px 0;
      width: 100%;
   }
   H1.titolo_evento SMALL {
       font-size: 14px;
   }   
}
