* {margin: 0; padding: 0;}

body {
	width: 100%;
	min-width: 100%;
	font-family: 'Montserrat', sans-serif;
	webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	color: #003366;
	background-color: #050302;
	background: url(opendc-punta-ala-BG.jpg) no-repeat center center fixed;

}
    
a:link {
	color: #003366;
	text-decoration: none;
} 
a:visited {
	text-decoration: none;
	color: #003366;
}
a:hover {
	text-decoration: underline;
	color: #003366;
}
a:active {
	text-decoration: none;
	color: #003366;
}
.box h1 { margin: 1em 0; }
.box .title { margin-top: 0;
	font-size: 18px;
	line-height: 1.5em;
}

.box .dati { margin-top: 0;
	font-size: 14px;
	line-height: 1.5em;
}

span.evidenza {
	font-weight: bold;
}

span.italico {
	font-style: italic;
}

div.box { /* contenitore, stili comuni a tutte le risoluzioni */
	display: block;
	position: absolute;
	top: 50%;
	left: 50%; /* modificare qui l'aspetto */	/* arrotondato */
	font-family: 'Montserrat', sans-serif;	/*border-radius: 1em;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	line-height: 2em;*/
	
}


@media screen and (min-width:961px) { /* tutte le risoluzioni fino a 960px */
	div.box {
		width: 400px; 	/* nel caso serva più testo o si voglia l'immagine del logo più grande, aumentare la larghezza */
		height: 400px;	/* e/o l'altezza del box */
		margin: -200px 0 0 -200px; /* e settare il margine superiore e sinistro pari alla metà del contenitore con il valore negativo */
	} 
}


@media screen and (max-width:960px) {
	div.box {
	width: 300; 	/* nel caso serva più testo, aumentare la larghezza */
	height: 300;	/* e/o l'altezza del box */
	margin: -150px 0 0 -150px; /* e settare il margine superiore e sinistro pari alla metà del contenitore con il valore negativo */
	} 
	
	.box .logo img {
		max-width: 90%;
		margin: 0 auto; 
		max-height: 300px; /* aumentare per loghi non a sviluppo orizzontale */
		/* ogni logo inserito sarà automaticamente ridimensionato per coprire al massimo la larghezza impostata al box e un'altezza di 200px, se il logo è di dimensioni inferiori non viene ridotto */
	}
	
	.box .title { margin-top: 0;
	font-size: 15px;
	line-height: 1.5em;
}

.box .dati { margin-top: 0;
	font-size: 11px;
	line-height: 1.5em;
}
}

.box .logo {
	width: 100%;
}

@media only screen and (orientation:portrait) and (max-width:768px) {
  div.box {
  	position: fixed;
  	top: 25%;
  	left: 25%;
	margin: 0px;
  }
}

@media only screen and (orientation:portrait) and (max-width:600px) {
  div.box {
  	position: fixed;
  	top: 25%;
  	left: 100px;
	margin: 0px;
  }
}

/*@media only screen and (max-width:568px) {
	div.box {
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0%;
		left: 0%;
		margin: 0px;
		border-radius: 0em;
		-moz-border-radius: 0em;
		-webkit-border-radius: 0em;
	}
}
*/

@media only screen and (max-width:568px) {
	div.box {
		width: 80%;
		height: 80%;
		position: fixed;
		top: 15%;
		left: 10%;
		margin: 0px;
		border-radius: 0em;
		-moz-border-radius: 0em;
		-webkit-border-radius: 0em;
	}
}

@media only screen and (max-width:568px) and (orientation: landscape) {
		div.box {
			line-height: 1em;
		}
}

@media only screen and (max-width:568px) and (orientation: portrait) {
		div.box {
			padding-top: 10%;
		}
}

.ribbon {
    top: 3.2em;
    right: -3.7em;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    color:#fff;
    display: block;
    padding: .6em 3.5em;
    position: fixed;
    text-align: center;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.bg-black {
  background-color: #FFFFFF; }
  
  