body {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    background-color: #f0f8f5;
    color: #000;
}

.container {
    background-color: #fff;
    max-width: 970px;
}

.container-principale {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
}

#main-container {
    position: relative;
    height: 100%;
}

#main {
    margin-top:10px;
}

.center-icon {
    margin-bottom: 32px;
}

.sfondo-pattern {
    background-image:url("../images/pattern-sfondo.png"), -moz-linear-gradient( 90deg, rgb(230,245,253) 0%, rgb(255,255,255) 100%);
    background-image:url("../images/pattern-sfondo.png"), -webkit-linear-gradient( 90deg, rgb(230,245,253) 0%, rgb(255,255,255) 100%);
    background-image:url("../images/pattern-sfondo.png"), -ms-linear-gradient( 90deg, rgb(230,245,253) 0%, rgb(255,255,255) 100%);
    background-repeat: repeat;
}

#form-col {
    background-color: #008DB0; /*#00aec8;*/
    color: #fff;
}

#form-col input[type="text"],#form-col input[type="email"], #form-col select {
    background-color: #f0f8f5;
    border-radius: 0px;
    height: 40px;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
}

h3 {
    font-size: 15px;
	}

p {
    font-size: 14px;
}

#main-col {
    margin-left: -15px;
    margin-right: -15px;
}

#main-col h1 {
    line-height: 40px;
	font-size:28px;
	line-height: 110%;
	font-weight:700;
	margin-top:10px;
}

#secondary-col h1 {
    line-height: 30px;
	font-size:20px;
	line-height: 110%;
	font-weight:700;
	margin-top:10px;
}

#secondary-col .first-col {
border-right:1px solid #008DB0;
}

#main-col h1 strong, #secondary-col h1 strong {
    color:#008DB0;
}

#main-col img {
    margin-top: 40px;
}
.mainpad p { 
	font-size:14px;
	line-height:160%;

}
.mainpad {
	padding-left:40px;
	padding-right:40px;
}

.text-blue {
    color: #117e96;
}

.text-orange {
    color: #ee7d00;
}

.box-citation {
    max-width: 750px;
    position: relative;
    margin:32px auto;
    padding-right: 40px;
    padding-left: 40px;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.box-citation::before {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-image: url(../images/virgola-open.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}

.box-citation::after {
    content:'';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-image: url(../images/virgola-close.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
      
}

#main_form {
    max-width: 330px;
    margin: 0px auto;
}

.checkbox {
    font-size: 10px;
    margin-bottom: 5px;
}

.form-control.error {
    border: 1px solid #cc0001;
}

#form-container {
    padding-top: 15px;
}

#form-container h2, #form-container h3 {

    margin-bottom: 5px
}

#footer-up img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    transition: all 0.2s;
}

#main_form .btn {
    height: 40px;
    width: 100%;
    margin-bottom: 32px;
}

.campi-obbligatori {
    font-size: 12px;
}

#form-response {
    display: none;
}

#form-response-container {
    min-height: 400px;
    padding-top: 35%;
    padding-right: 15px;
    padding-left: 15px;
}

#loading-spinner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    text-align: center;
    padding-top: 40%;
}

#come-partecipare {
    padding-top: 32px;
    padding-bottom: 32px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin-right: 10%;
    margin-left: 10%;
}

#premio {
    padding-top: 32px;
    padding-bottom: 64px;
    line-height: 22px;
}

#footer-logo-img {
    margin-top: -54px;
}

#footer-logo {
    margin-top: 54px;
    background-color: #00aec8;
}

#scopri-integrow-btn {
    margin-top: 32px;
    margin-bottom: 32px;
}

#footer-up {
    padding-top: 10px;
    color: #fff;
    background-color: #00aec8;
}

#footer-up img {
    margin-bottom: 32px;
    margin-right: 10px;
    margin-left: 10px;
    transition: all 0.2s;
}

.centrato {
    text-align: center;
}

p.testo-footer-copy {
    font-size: 12px;
    /*font-style: italic;*/
    margin-top: 10px;
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.bottom-footer {
    /*position: absolute;*/
    bottom: 0px;
    width: 100%
}

.prefooter-container {
    padding: 10px;
    background-position: top center;
    margin-top: 0px;
}

a {
    color: #000;
    text-decoration: none!important;
}

a:hover {
    color: #117e96;
    text-decoration: none!important;
}

a:visited {
    /*color: #fff;*/
    text-decoration: none!important;
}

.fondo-nero {
    background-color: #1d1d1b;
}

.fondo-rosso {
    background-color: #cc0001;
}

.testo-rosso {
    color: #cc0001;
}

.fondo-bianco {
    background-color: #fff;
}

.fondo-viola {
    background-color: #cca4cd;
}

.btn-orange, .btn-orange:focus {
    background-color: #ee7d00;
    border: 1px solid #ee7d00;
    border-radius: 0px;
    color: #fff;
    transition: all .5s;
}

.btn-orange:hover, .btn-orange:active {
    background-color: #f0f8f5;
    color: #ee7d00;
    border: 1px solid #ee7d00;
    border-radius: 0px;
    transition: all .5s;
}

.btn-orange-negative, .btn-orange-negative:focus {
    background-color: #f0f8f5;
    border: 1px solid #ee7d00;
    border-radius: 0px;
    color: #ee7d00;
    transition: all .5s;
}

.btn-orange-negative:hover, .btn-orange-negative:active {
    background-color: #ee7d00;
    border: 1px solid #ee7d00;
    border-radius: 0px;
    color: #fff;
    transition: all .5s;
}

.header-cita {
    background-color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
}

.flipster__item--current .scprodotto-link {
    visibility: visible;
    opacity: 1;
}

.nopad-lr {
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.flipster__button {
    top: 30%;
    margin: -1em 0em;
}

.btn {
    font-size: 17px;
    font-weight: 600;
}

h3.ico-title {
    font-weight: 700;
}

.ico-text {
    font-size: 14px;
    margin-top: -6px;
}

.riga-icone div {
    padding-top: 32px;
}




#tabella {
	margin-left:-15px;
	margin-right:-15px;
	border: 24px solid #FBB900;
	background-color: #EFEFEF;
	padding:40px;
	margin-top:40px;
	position:relative;
}

#tabella td {
	border-bottom: 1px solid #333;
	padding: 10px;
	padding-left:0px;
}
#tabella td.arrow {
	border-bottom: none;
	white-space: nowrap;
	width:34px;
	padding:0px;
	padding-right:10px;
}
#tabella td.data {
	font-size:18px;
	font-weight:600;
	color: #008DB0;
	white-space: nowrap;
	padding-left:4px;
}
#tabella td.localita {
	font-size:18px;
	font-weight:400;
	white-space: nowrap;
}

#rigaprogramma h1 {
	font-size:24px;
	font-weight:800;
}
#rigaprogramma h2 {
	font-size:20px;
	margin-bottom:20px;
}

#rigaprogramma {
	padding-top:40px;
	padding-bottom:40px;
}
#rigaprogramma td {
	border-bottom: 1px solid #333;
	padding: 8px;
	font-size:13px;
	padding-left:0px;
}
#rigaprogramma td.data {
	font-size:16px;
	font-weight:600;
	color: #EF7D00;
	min-width: 100px;
	vertical-align:top;
}
#rigaprogramma td.arrow {
	border-bottom: none;
	width:34px;
	padding:0px;
	padding-right:10px;
	vertical-align:top;
	padding-top:8px;
}
#rigaprogramma tr:last-child td {
	border-bottom: none;
}


#riga-logo {padding-bottom: 20px; margin:35px 70px;border-bottom:1px solid #008DB0;}

#riga-eventi p {margin-bottom:30px; font-size:16px;}

#riga-logo div.col-sm-4 {
	border-right:1px solid #008DB0;
	padding: 2px 0px;
	min-height: 88px;
	}
	
#riga-logo div.col-sm-4 img {
	padding: 16px 0px;
	max-width:110px;
	}
#riga-logo div.col-sm-4 img.ivoclar, #riga-logo div.col-sm-4 img.dentalmachine {
	max-width:90px;
	}	
#riga-logo div.col-sm-4:nth-child(3n+1) {
	
	border-right:none;
	
}

.corner {
	position:absolute;
	bottom:0px;
	right:0px;
	width: 48px;
	height:48px;
	background-image:url(../images/angolo-piegato.png);
	background-size: cover;
	margin-right:-24px;
	margin-bottom: -24px;
	
}


@media only screen and (max-width: 990px) {
    .btn {
        width: 100%;
        margin: 0 0 10px 0!important;
    }

    /*h1,
    h2,
    h3,
    p {
        text-align: center;
    }*/
}
@media only screen and (max-width: 767px) {
	#riga-logo div.col-sm-4 {
	border-right:none;
	}
	#riga-logo div.col-sm-4 img {
	padding: 16px 0px;
	max-width:240px;
	}
#secondary-col .first-col {
border-right:none;
}
#secondary-col .col-sm-6 {
border-top: 1px solid #008DB0;
margin-top:36px;
padding-top:12px;
}	
	
#riga-logo div.col-sm-4 img.ivoclar, #riga-logo div.col-sm-4 img.dentalmachine {
	max-width:180px;
	}	
	#tabella {
	border: 12px solid #FBB900;
	padding:10px;
	}
	#tabella td.localita {
		white-space: normal
	}
	.corner {
	width: 24px;
	height:24px;
	background-image:url(../images/angolo-piegato.png);
	margin-right:-12px;
	margin-bottom: -12px;
	
}
}
@media only screen and (max-width: 460px) {
    h1 {
        font-size: 20px;
        margin-top: 10px!important;
    }

    h2 {
        font-size: 18px;
    }

	#tabella td.arrow {
		display:none;
	}
	#tabella td.data {
		font-size:14px;

	}
	#tabella td.localita {
		font-size:14px;
		white-space: normal
	}
}

}