/* Add here all your CSS customizations */
div#revolutionSlider .tp-bgimg::after {
    content: "";
    background-color: #fff;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
    position: absolute;
    opacity: 0.5;
}
.hidden {
    display: none;
}
html .btn-primary {
    color: #fff;
}
#footer .footer-ribbon span {
	font-family: 'Pacifico', cursive;
}
h1, h2, h3, h4, h5 {
	font-family: 'Pacifico', cursive;
}

/* 
.Sezione { font-size: 28px; font-weight: bold; color: #FFFFFF}
.Titolo { font-size: 20px; font-weight: bold; color: #ffa800}
.Titolo2 { font-size: 18px; font-weight: bold; color: #ffa800}
.Sottotitolo {  font-size: 16px; font-weight: bold; color: #ffa800}
.Sottotitolo2 { font-size: 14px; font-weight: normal; color: #000} 
*/
.Fondo1 { font-size: 12px; font-weight: normal; color: #e3e25c; text-decoration: none ; background-color: #ECECEC; line-height:160%;}
.Fondo2 { font-size: 12px; font-weight: bold; color: #e3e25c; text-decoration: none ; background-color: #ECECEC}
.Fondo3 { font-size: 10px; font-weight: bold; color: #FFFFFF; text-decoration: none; background-color: #ECECEC; background-image: url(../Graphics/Fnd0106.gif); background-repeat: repeat-y; background-position: left;}
.Fondo4 { font-size: 12px; font-weight: bold; color: #FFFFFF; text-decoration: none; background-color: #c5c429}
.Fondo5 { font-size: 12px; font-weight: bold; color: #FFFFFF; text-decoration: none; background-color: #e3e25c}
.Fondo6 { font-size: 13px; font-weight: bold; color: #FFFFFF; text-decoration: none; background-color: #c5c429; background-image: url(../Graphics/Spaziatore.gif)}
.Fondo7 { font-size: 12px; font-weight: bold; color: #FFFFFF; text-decoration: none; background-color: #B8BEC1}
.Form { }
.FormS { width: 90px; }
.FormM { width: 200px; }
.FormB { width: 285px; }
.Form, .FormS, .FormM, .FormB {
    border: 1px solid #ccc;
 }
 .Testo { 
     color: #333;
     font-weight: normal;
}

td img { display:block;}
.Fondo1 .Segui { display:inline-block !important; float:none !important;}
.Fondo1 img, 
.Fondo2 img, 
.Fondo5 img { display: block; float:left;}
#Testo table { width:100% !important }
.Fondo5 .Titolo { margin-left:8px;}
table.Fondo2 td,
td.Fondo2 {
    padding: 2px 4px;
}

#PopUpBase {
    z-index: 1050 !important;
}

#PopUpBase .Fondo6 {
    padding: 0 5px;
}
#PopUpBase .ClosePopUp {
    top: 13px;
    position: relative;
}
#PopUpBase > div > table {
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.social-icons:not(.social-icons-clean) li a {
    background: #F42D5E;
    color: #fff !important;
    font-size: 1rem !important;
    height: 32px;
    line-height: 32px;
    width: 32px;
}
#header .header-nav.header-nav-links:not(.header-nav-light-text) nav > ul > li > a {
    color: #63d3e5;
}
.page-header {
    background-color: #f52d5e;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: left;
}
#footer {
    background: #63d3e5;
    border-top: 4px solid #7bdded;
}
#footer h2 {
    width: 100%;
}
#footer a {
    border-color: #fff;
    color: #f42d5e !important;
    font-weight: bold;
}
#footer a:hover {
    background-color: #fff;
    color: #f42d5e !important;
}

#footer .footer-copyright {
    background: #4ac2d5;
    color: #fff;
}
#container-sezioni-home h2 {
    color: #f42d5e;
}
#container-sezioni-home #section1,
#container-sezioni-home #section3 {
    background-color: #e3e25c;
}
#container-sezioni-home p {
    color: #444;
}
#container-sezioni-home a  {
    text-decoration: none;
    font-weight: bold;
}
#container-sezioni-home a.btn  {
    border-color: #63d3e5;
    font-weight: bold;
}
#container-sezioni-home a.btn:hover {
    background-color: #63d3e5;
    color: #f42d5e;
}
#container-sezioni-home #section1 a.btn ,
#container-sezioni-home #section3 a.btn  {
    border-color: #fff;
}
#container-sezioni-home #section1 a.btn:hover,
#container-sezioni-home #section3 a.btn:hover {
    background-color: #fff;
    color: #f42d5e;
}
@media (max-width: 380px) {
    #header.header-effect-shrink .header-logo {
        width: auto;
        height: auto;
    }
    #header .header-logo img {
        width: 100%;
        height: auto;
    } 
}
.hidden {
    display: none !important;
}
html .scroll-to-top {
    background: #00a8c3 !important;
}
.page-header.page-header-classic::after {
    z-index: 99;
}
#box-container {
    height: 392px;
}
#container {
    width: 1110px;
    height: 392px;
}
#wrapper {
    width: 1110px;
    height: 392px;
}
@media (min-width: 1200px) {
}
@media (min-width: 992px) and (max-width: 1200px) {
    .header-social-icons {
        width: 72px;
    }
    html.sticky-header-active .header-social-icons {
        display: none !important;
    }
}
@media (min-width: 1200px) {
}

@media (max-width: 1200px) {
    #box-container {
        height: 328px;
    }
    #container {
        width: 930px;
        height: 328px;
    }
    #wrapper {
        width: 930px;
        height: 328px;
    }
}
@media (max-width: 992px) {
    #box-container {
        height: 242px;
    }
    #container {
        width: 690px;
        height: 242px;
    }
    #wrapper {
        width: 690px;
        height: 242px;
    }
}
@media (max-width: 768px) {
    #box-container {
        height: 180px;
    }
    #container {
        width: 510px;
        height: 180px;
    }
    #wrapper {
        width: 510px;
        height: 180px;
    }
}
@media (max-width: 576px) {
    #box-container-min {
        display: block !important;
    }
    #box-container {
        display: none !important;
    }
}
#box-container {
	/* height: 392px; */
}

#container {
	position: absolute;
    /* 
	width: 1110px;
	height: 392px;
    top: 0;
	left: 0;
	background-color: #000;
	overflow: hidden;
    font-family: 'Lato', sans-serif;
    */
}

#wrapper {
    overflow: hidden;
    position: absolute;
    /* 
    width: 1110px;
    height: 392px;
     */
    z-index: 10;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#wrapper div {
    position: absolute;
    background-position: center center;
    background-size: cover;
}

.p1{
	width: 120%;
	height: 120%;
	z-index:6;
	background-image: url('/img/img-home-01.jpg');
	left: -10%;
	top: -10%;
	
}
.p2{
	width: 110%;
	height: 110%;
	z-index:7;
	background-image: url('/img/img-home-02.png');
	left:-5%;
	top: -5%;
}
.p3{
	text-align: center;
	z-index: 8;
	text-transform: uppercase;
}
.p4{
	width: 110%;
	height: 110%;
	z-index:9;
	background-image: url('/img/img-home-04.png');
	left: -5%;
	top: -5%;
	
}

html .bg-color-light-scale-1 {
    background-color: #f52d5e !important;
}
.mod_04_titolo .Fondo6 {
    padding: 0.5em;
    text-transform: uppercase;
    font-size: 16px;
}
.ModDLSottotitolo {
    font-weight: bold;
    color: #c5c429;
}
.mod_04 td.Testo {
    padding: 0.4em 0;
}
