/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 3.0.105
Template: Divi
Author: Jellyfish Design
Author URI: http://www.jellyfishdesign.it
Text Domain: Jellyfish
*/
/**********************************************************
******************** GENERALI  ************************
********************************************************/
.five-columns .et_pb_module {
    width: 20%; 
    float: left;
}
@media (max-width: 980px){
.five-columns .et_pb_module {width: 33.3%;}
}
 
@media all and (max-width: 767px) {
.five-columns .et_pb_module {width: 100%;}
}

h1 {
	text-transform:uppercase!important;
}

/*menu*/
.nav li ul {
    width:300px;
}

.sub-menu li,
.sub-menu li a{
    width:270px!important;
}

/*slider*/
#metaslider_125.flexslider .slides li {
    border:1px solid #ddd;
}

.light {
    padding:15px;
    box-sizing:border-box;
}

.light:hover {
    background-color:#ffffff;
    cursor:pointer;
}


/*CONTATTI*/

.clearfix:after {visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0;}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


.float{
    width:50%;
    float:left;
}

.float input{
    width:90%;
    height:50px;
    background-color:#f4f4f4;
    color:#000;
    padding:5px;
    border:none;
    font-size:13px;
}

.float select{
    width:92%;
    height:38px;
    background-color:#f4f4f4;
    color:#000;
    padding:5px;
    border:none;
    font-size:13px;
}

textarea{
    width:95%;
    height:100px;
    background-color:#f4f4f4;
    color:#000;
    padding:5px;
    border:none;
    font-size:13px;
}

.spacer{
    content:" ";
    height:20px;
    width:100%;
}

.invia input{
    width:200px;
    height:50px;
    margin-top:20px;
    border:2px solid #D52B38;
    border-radius:4px;
    background:none;
    color:#ffffff;
    font-size:20px;
    font-weight:600;
    background-color:#D52B38;
}

.invia input:hover{
    cursor:pointer;
    border:2px solid #fded4b;
    background-color:#fded4b;
    color:#000;
}

form p{
    display:none;
}

span.wpcf7-not-valid-tip{
    color:#C8102E;
}

div.wpcf7-validation-errors{
    width:84%;
    margin:20px 0;
    border: 2px solid #C8102E;
    color:#C8102E;
}

.minimum{
    width:90%;
    font-size:11px;
    line-height:12px;
}

/*GALLERY*/
.et_pb_gallery_title {
    background-color:#C02935;
    text-align: center;
    color: #fff;
    box-sizing:border-box;
    padding:10px;
    padding-bottom:10px!important;
}

.et_pb_gallery_caption {
    text-align:center;
}

/*FOOTER*/

#footer-info {
    font-size:10px;
}


#main-footer .footer-widget h4 {
    text-align: center;
    text-transform:uppercase;
}
.textwidget p img {
    display: block;
    max-width: 70%;
    margin: 0 auto;
}
.textwidget p{
    text-align: center;
    max-width:320px;
    font-size:12px;
    line-height:20px;
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
    .et_pb_widget {
        float:none;
        text-align:center;
    }

    .et_pb_widget p {
        margin:0 auto;
        max-width:250px;
    }
}

@media only screen and (max-width: 767px) {
    .et_pb_widget {
        float:none;
        text-align:center;
    }

    .et_pb_widget p {
        margin:0 auto;
        max-width:250px;
    }
}

/*******************************************************************
******************** BARRA COOKIES  ************************
******************************************************************/

/*barra cookies*/
#cookie-notice .button.bootstrap
{
    background-image:none; 
    background-color:#BE2C39 !important;
}

#cookie-notice .button.bootstrap:hover
{
    background-color:#FCED4B !important; 
    color:#000;
}
