﻿@charset "utf-8";
/* CSS Document */
/*	Reset & General
---------------------------------------------------------------------- */
* { margin: 0px; padding: 0px; }
html, body {
	font-size: 1rem;
}

/* Resize font */
@media screen and (max-width: 1920px) {
  legend {
    font-size: calc(1.275rem + 0.3vw);
  }
  h1,
  .h1 {
    font-size: calc(1.375rem + 1.5vw);
  }
  h2,
  .h2 {
    font-size: calc(1.325rem + 0.9vw);
  }
  h3,
  .h3 {
    font-size: calc(1.3rem + 0.6vw);
  }
  h4,
  .h4 {
    font-size: calc(1.275rem + 0.3vw);
    font-variant: small-caps;
  }
  .display-1 {
    font-size: calc(1.725rem + 5.7vw);
  }
  .display-2 {
    font-size: calc(1.675rem + 5.1vw);
  }
  .display-3 {
    font-size: calc(1.575rem + 3.9vw);
  }
  .display-4 {
    font-size: calc(1.475rem + 2.7vw);
  }
  .close {
    font-size: calc(1.275rem + 0.3vw);
  }
}

/*
CSS testo responsive, margini row top e interni candidati e comendo per fare full height elemento
*/
.h-5{ 
    height: 5% !important;
}
.h-10{ 
    height: 10% !important;
}
.h-30{ 
    height: 30% !important;
}
.h-60{ 
    height: 70% !important;
}
.h-90{ 
    height: 90% !important;
}
.mr-05, .mx-05 {
    margin-right: 0.1rem !important;
}

/*
	Pannelli voto, visualizzazione scelta, errore
*/

.iconError{
	background-color: white;
	border-radius: 7px;
	color: #e01818; 
	 -webkit-box-shadow: 0px 0px 0px 10px #e01818 inset, 0px 0px 0px 20px #fff inset;
          box-shadow: 0px 0px 0px 10px #e01818 inset, 0px 0px 0px 20px #fff inset;
}

.error {
  position: relative;
  left: 0;
  top: 0;
  width: 170px;
  height: 170px;
  background: #e01818;
  border-radius: 7px;
  -webkit-box-shadow: 0px 0px 0px 10px #e01818 inset, 0px 0px 0px 20px #fff inset;
          box-shadow: 0px 0px 0px 10px #e01818 inset, 0px 0px 0px 20px #fff inset;
}

.error h1 {
  font-family: 'Chango', cursive;
  color: #fff;
  font-size: 118px;
  margin: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: inline-block;
  height: 60px;
  line-height: 60px;
}

.dates{
	border:1px solid #ebeff2;
	border-radius:5px;
	color:#0000b3;
	font-weight:600;	
	overflow:auto;
}

.dates strong{
	display:block;
	color:#adb8c2;
	font-weight:700;
}
.dates span{
	width:1px;
	height:40px;	
	background:#ebeff2;
}

/* Stili container */

.tile{
	width: 99%;
	background:#fff;
	border-radius:5px;
	box-shadow:0px 2px 3px -1px rgba(151, 171, 187, 0.7);

}
.bg-header{
	background-color: #5aadef;
}
.header{
	border-bottom:1px solid #ebeff2;
	text-align:center;
	color: #ff4000;
	position:relative;
	margin-top: 15px;
}

div.footer {
	text-align: center;
	position: relative;
}

/* Stili box candidato */

.statsSelected{ 
        box-shadow: 0 0 0 4px green; 
        overflow: hidden; 
        color: var(--dark); 
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><line x1='0' y1='0' x2='100' y2='100' stroke-width='4' stroke='green' vector-effect='non-scaling-stroke'/><line x1='0' y1='100' x2='100' y2='0' stroke-width='4' stroke='green' vector-effect='non-scaling-stroke'/></svg>"); 
        background-repeat: no-repeat; 
        background-position: center center; 
        background-size: 100% 100%, auto; 
}

.vertical-align {
  height: 9ex;
  display: flex;
}

.vertical-align .content {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

/* Stili Stampa */

.line{
	page-break-after:always;
}

/* Versione online */

.list-label {
  width: 15vw;
  text-align: center;
}

.page-header {
  background-color: #e8e8e8;
  color: #202020;
  font-variant: small-caps;
  text-align: center;
}

#summary,
#candidates {
  background-color: #f5f5f5;
}

#votedCategoryName {
  text-decoration: underline;
}

ul.list-summary li h2 {
  font-size: 120%;
}

ul.list-summary li.bg-blank {
	background: transparent;
	border-top: none;
	border-bottom: none;
	border-left: none;
	border-right: 1px solid rgba(0, 0, 0, .125);
}

.mega-padding .button-inside {
    display: inline-block;
    min-height: 8rem;
    padding: 1rem 5px 0 !important;
}

span.name {
    font-size: 80%;
    font-style: italic;
}
