/*--------------------------------------------------------------------------------------------------
Theme Name: Divi Child Theme
Description: Child theme customized
Author: Giovanni Nicolazzo
Version: 1.0
Template: Divi
--------------------------------------------------------------------------------------------------*/
@import url("../Divi/style.css");

/* GENERAL */
#tablepress-1_wrapper .column-4, #tablepress-1_wrapper .column-5, #tablepress-1_wrapper .column-6 { display:none}
#classifica #tablepress-1_wrapper .column-4, #classifica #tablepress-1_wrapper .column-5, #classifica #tablepress-1_wrapper .column-6 { display: table-cell}
table.cart th, #main-content table.cart th, table.cart td, #main-content table.cart td, table.cart tr, #main-content table.cart tr, #content-area table tr, #content-area table td, #content-area table th { padding: .587em 0.587em!important;  }
/* fix popup/menu conflict */   
#main-header { z-index: 99!important; }
.et_pb_button {  border-radius: 3px 3px 3px 3px; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; 
        -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75); -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75); box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75);}
.et_pb_button:hover { padding: 0.3em 1em; }
.et_pb_contact_right p input { max-width: 65px!important; }
/* HOME PAGE */
.et_pb_post h2 { margin-top: 5px; line-height: 1em;}
.et_pb_slide { height: 400px; }
#classifica-home .column-1 { padding: 6px 0px 6px 5px!important; }
#classifica-home .column-3 { padding: 6px 0px 6px 5px!important; }

/* NEWS */
.archive .post-meta { float: left; background-color: #146c0f; padding: 8px;  line-height: 180%;
                        max-width: 70px; text-transform: uppercase; color: #fff6d5; text-align: center; margin-right: 10px;}
.archive .post-meta span { display:block}
.archive .post-meta span:nth-child(1) { font-size: 24px; }
.archive .post-meta span:nth-child(2)  { font-size: 34px; }
.archive .post-meta span:nth-child(3)  { font-size: 20px; }
.sib-category-image {   float: left; margin-right: 10px;  min-width: 240px; max-width: 240px; }
.sib-meta-container { /*float:left*/; /*max-width: 350px;*/ }
.sib-meta-container h4 {   line-height: 1.2em;} 
.sib-meta-container.sib-only-place { max-width: 450px; }
.sib-read-more { float:right; padding: 6px; margin-bottom: 15px;
    border-radius: 3px 3px 3px 3px; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; 
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75); -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75); box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75);}
.sib-preview-content { text-align:justify}
.separator { clear:both; margin-bottom: 20px;  padding-bottom: 25px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #e2e2e2; }

/* DOWNLOADS HANDLING */
.et-protected, #sib-registration, #sib-login, #sib-lost-password { display:none; width:50%; background-color: #fff6d5; border:1px solid #1d8e3e; padding:10px; text-align:center;
    border-radius: 3px 3px 3px 3px; -moz-border-radius: 3px 3px 3px 3px; -webkit-border-radius: 3px 3px 3px 3px; 
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75); -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75); box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75);}  
#sib-registration .form-submit  { clear:both; float:none;   position: relative; left: 32%; }
#sib-lost-password .form-submit { clear:both; float:none;   position: relative; left: 10%; }
/*#wppb_register_pre_form_message { display:none}*/
#crp_related h6:before { 	font-family: 'ElegantIcons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased; content: "\55"; margin-right: 5px;}

/* CONTACT FORM AS DIVI */
.wpcf7-form input:not([type=submit]), .wpcf7-form textarea {
    -moz-border-radius: 5px !important; border: 3px solid #076b00!important; color: #000000 !important; font-size: 14px; padding: 15px !important; background-color: rgba(114,135,37,0.17)!important;
    -webkit-border-radius: 5px !important; border-radius: 5px !important;  -moz-box-sizing: border-box; -webkit-box-sizing: border-box;
    box-sizing: border-box; 
}

.wpcf7-form input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #000;
}
.wpcf7-form input::-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #000;
   opacity:  1;
}
.wpcf7-form input::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #000;
   opacity:  1;
}
.wpcf7-form input:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #000;
}
.wpcf7-form input::placeholder-shown { /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
  color:    #000;
}

.wpcf7-form textarea::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #000;
}
.wpcf7-form textarea::-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #000;
   opacity:  1;
}
.wpcf7-form textarea::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #000;
   opacity:  1;
}
.wpcf7-form textarea:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #000;
}
.wpcf7-form textarea::placeholder-shown { /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
  color:    #000;
}

.sib-captcha { text-align: right;}
.cf7-sib-left {  width: 49%; margin-right: 5px!important; }
.wpcf7-text { width:49% }
.wpcf7-textarea { width:99%; height:130px; margin-right: 5px!important;  }
.wpcf7-captchar { width:20%; margin-right: 5px!important; }
.wpcf7-submit { margin-top: 5px!important; }
/*.wpcf7-submit:hover { background-color: #eee;  border-color:#eee; padding: 6px 20px !important; }*/


/* FOOTER */
#footer-info { text-align: center!important; }


@media only screen and ( min-width: 961px ) and ( max-width: 1300px ) {
    .et-protected, #sib-registration, #sib-login, #sib-lost-password { width:70%; }

}

@media only screen and ( min-width: 767px ) and ( max-width: 960px ) {
    .et-protected, #sib-registration, #sib-login, #sib-lost-password { width:80%; }

}

@media only screen and ( min-width: 478px ) and ( max-width: 766px ) {
    .et-protected, #sib-registration, #sib-login, #sib-lost-password { width:90%; }
}

@media only screen and ( max-width: 478px ) {
    .et-protected, #sib-registration, #sib-login, #sib-lost-password { width:100%; }
}