/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/*
Theme customization starts here

1. Homepage
2. Pagine Interne
3. Prodotti
4. News
5. Shortcode
*/

/* Homepage */
.menu-item-24{
    bottom:9px;
    border-right: 2px solid;
    margin-right: 6px !important;
    padding-right: 9px !important;
    height: 27px;
}

.mc4wp-form-theme {
    width: 100% !important;
}

.img-show {
    display:inline-block;
    -webkit-transition: all 2s linear;
    -moz-transition: all 2s linear;
    -ms-transition: all 2s linear;
    -o-transition: all 2s linear;
    transition: all 2s linear;
}

.img-hide {
    display:none;
    -webkit-transition: all 2s linear;
    -moz-transition: all 2s linear;
    -ms-transition: all 2s linear;
    -o-transition: all 2s linear;
    transition: all 2s linear;
}
.triangolo {
    cursor:pointer;
}
.triangolo:after {
    width: 50px;
    height:50px;
    position:absolute;
    display: block;
    text-align:center;
    background: url("../../../../devgfluid.tlco.info/wp-content/uploads/2019/03/arrow.html") no-repeat;
    content: '';
    bottom: -9999px;
    left:0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}
.triangolo-aperto:after {
    width: 50px;
    height:50px;
    position:absolute;
    display: block;
    text-align:center;
    background: url("../../../../devgfluid.tlco.info/wp-content/uploads/2019/03/arrow.html") no-repeat;
    content: '';
    bottom: -40px;
    left:0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index:2;
}
.selettore-wrapper {
    margin: 0 0 !important;
    padding: 0 0 !important;
}

/*.mc4wp-form-basic, .mc4wp-form-theme{*/
    /*width: 70% !important;*/
    /*margin: 0 auto !important;*/
/*}*/

/* Blog Order */
.et_pb_post.has-post-thumbnail {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: column wrap;
    flex-flow: column wrap;
}
.et_pb_post.has-post-thumbnail a + .entry-title {
    -webkit-box-ordinal-group: -1;
    -moz-box-ordinal-group: -1;
    -webkit-order: -1;
    -ms-flex-order: -1;
}

.et_pb_blog_0 .et_pb_post .entry-title{
    order: -1 !important;
    margin-bottom: 25px;
}

.post-meta{
    order: -1;
    margin-bottom: 31px !important;
}

/* settori */
#testo-agriculture-show, #testo-ecological-show, #testo-machinetools-show, #testo-solar-show, #testo-speciallifts-show, #testo-theatrical-show{
    background-color: rgba(0,67,104,0.64) !important;
    padding: 22px ;
    border-radius: 25px;
    margin: 10px;
}


/*************************************** Masonry *******************************************/
* {
    box-sizing:border-box;
}

.grid {
    background: none;
}

/* clear fix */
/*.grid:after {*/
    /*content: '';*/
    /*display: block;*/
    /*clear: both;*/
/*}*/

/* ---- .grid-item ---- */

.grid-sizer,.grid-item {
    width: 20%;
}

.grid-item {
    float: left;
    height:250px;
    overflow:hidden;
}

/*.grid-item img {*/
    /*display: block;*/
    /*max-width: 100%;*/
/*}*/

#sector_format{
    color: #fff;
    font-size: 20px;
    padding: 5px;
    text-align: center;
}
/* grid-item-content is visible, and transitions size */
.grid-item-content {
    width: 100%;
    height: 100%;
    background: #023669;
    border: 2px solid #333;
    border-color: hsla(0, 0%, 0%, 0.5);
    border-radius: 5px;
    -webkit-transition: all 1s linear !important;
    transition: all 1s linear !important;
    /*-webkit-transition: width 1s, height 1s;*/
    /*transition: width 1s, height 1s;*/
    color: #fff !important;
}

.grid-item:hover .grid-item-content {
    background: #0369c1;
    cursor: pointer;
    border-color: hsl(199, 60%, 50%);
}

/* both item and item content change size */
.grid-item.is-expanded {
    width: 60%;
    height: 750px;
    z-index: 2;
}

.grid-item.is-expanded .grid-item-content {
    background: #023669;
}


/****************************************************************************************/

/* Prodotti */
.dataTables_paginate{
    margin-top: 25px !important;
}

.dataTables_paginate a{
    font-size: 18px !important;
    border: 1px solid !important;
    padding: 10px !important;
    border-radius: 50px !important;
    margin: 5px !important;
    cursor: pointer;
    background-color: #3295c5;
    color: #fff;
}

.dataTables_paginate .current{
    background-color: #fff ;
    color: #3295c5 ;
}

.dataTables_paginate a:hover{
    background-color: #fff ;
    color: #3295c5 ;
}




@media (max-width: 576px) {
    #format_category, #format_titolo, #format_settore{
        font-size: 12px !important;
    }

}

@media (max-width: 768px)
and (min-width : 576px)
{
    #settori, #tipologia {
        min-height: 176px;
    }

    #format_category, #format_titolo, #format_settore{
        font-size: 14px !important;
    }
}

@media (max-width: 992px)
and (min-width : 768px)
{
    #settori, #tipologia,#caratteristiche {
        min-height: 310px;
    }
}

#main-header{
    z-index:1039 !important;
}

.modal-dialog {
    /*1300*/
    max-width: 1000px;
    margin: 30px auto;
}

.modal-body {
    height: 90vh;
    overflow-y: auto;
    -ms-overflow-style: none; /* IE 11 */
    scrollbar-width: none; /* Firefox 64 */
}

.modal-body::-webkit-scrollbar {
    display: none;
}


#pdfcanvas canvas {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.blocco-newsletter {
    background-color: #3399CA;
    min-height:30vh;
    margin-top: 4%;
}

.text-newsletter, .format-newsletter , .format-newsletter h3, .format-newsletter i{
    color: #fff;
    display: inline-block;
}

.column1_newsletter,.column2_newsletter {
    font-size: 1.25vw;
}

.column1_newsletter label,.column2_newsletter label, .column1_newsletter input,.column2_newsletter input {
    margin-bottom: 2%;
}

.format-newsletter {
    padding: 5%;
}

.format-newsletter i {
    margin-right: 2%;
    vertical-align: top;
}

.format-newsletter h3 {
    font-size: 2.3vw;
    font-weight: bold;
}

.format-newsletter p {
    font-size: 1.3vw;
}

#settori, #tipologia,#filter_portata, #filter_tensione {
    border-bottom: 1px dotted #023669;
}

#filter_portata, #filter_tensione, #filter_tenuta, #filter_regolazione{
    margin-top:10px;
}

.dataTables_filter{
    display: none;
}

table.dataTable.no-footer{
    width: 100% !important;
}

.dataTables_wrapper{
    margin-left: 5%;
    margin-right: 5%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 30px;
}

#format_category{
    border-radius: 20px;
    color: white;
    width: 90%;
    margin: 6% auto;
    padding: 7px;
    text-transform: none;
}


.format_download{
    border: 1px solid #3399CA;
    background-color: #3399CA;
    margin: 6% auto;
    padding: 0px;
    width: 15% !important;
    border-radius: 25px;
    cursor: pointer;
}
.format_subscribe{
    border: 1px solid #3399CA;
    background-color: #3399CA;
    margin: 6% auto;
    padding: 0px;
    width: 15% !important;
    border-radius: 25px;
    cursor: pointer;
}

#format_titolo{
    color:#19477e;
    font-size: 18px;
    font-weight: bold;
}

#format_settore{
    color:#000000;
    font-size: 14px;
}

.round {
    position: relative;
}

.round label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 15px;
    left: 0;
    position: absolute;
    top: 0;
    width: 15px;
}

.round input[type="checkbox"] {
    visibility: hidden;
}

.round input[type="checkbox"]:checked + label {
    background-color: #023669;
    border-color: #023669;
}

.round input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.dropd{
    width: 100px;
}


/* Singolo Articolo */

.et_pb_section, .et_pb_row{
    padding-top: 0px !important;
}

#logo{
    /*width:22%; */
    height: 70px !important;
    max-height: 100% !important;
}

@media (max-width: 1500px) {
    .et_pb_row_inner_0 {
        margin-left: 12% !important;
    }
}

.et_pb_row_inner_0{
    margin-left: 28%;
}

@media (max-width: 981px) {
    #logo{
        max-width: 70% !important;
        width: 100%;
    }

    .et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation{
        height: 118px;
    }

    #et_search_icon {
        display: none;
    }

    .et_pb_section_5.et_pb_section{
        max-height: 105px;
    }

    #change-image{
        height: auto !important;
    }
    .format_download, .format_subscribe{
        width: 50% !important;
    }

}

@media (min-width: 981px) {

    .et_pb_gutters3 .et_pb_column, .et_pb_gutters3.et_pb_row .et_pb_column{
        margin-right: 1.5%;
    }

    .et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column{
        margin-right: 1%;
    }
}


/*mobile visualization for Newsletter form*/
@media (max-width: 1430px) {

    .column1_newsletter, .column2_newsletter {
        float: left;
        padding-right: 30px;
        color: #fff;
        width: 50%;
    }

}

@media (max-width: 479px){
    .et_pb_row .et_pb_column.et_pb_column_1_4, .et_pb_row .et_pb_column.et_pb_column_1_5, .et_pb_row .et_pb_column.et_pb_column_1_6{
        width: 98% !important;
    }

    h3{
        font-size: 16px !important;
    }
}


.et_mobile_menu li a{
    text-align: center;
    font-size: 20px;
}

.mobile_menu_bar:before{
    font-size: 75px;
    color: #ffffff;
    background-color: #023669;
    left: 50%;
}


/* NEWS */

.column.size-1of3{
    padding-right: 55px !important;
}

/**************************************************************/

/*.et_pb_row_2.et_pb_row{*/
    /*max-width: 100% !important;*/
    /*width: 100% !important;*/
/*}*/


/*************************************************************/

/* TEST PANEL */

#main-content .container::before {
     display:none !important;
}
.item-panel:not(.active) {
    width:100%;
    display:none;
}

.panel-icon {
    text-align:center;
}

.pannello-foto {
    max-height:600px;
    overflow:hidden;
    margin-bottom:5%;
    z-index:1;
}

.pannello-foto img {
    position:relative;
    margin: 0 auto;
    bottom:10%;
}





/*******************Sector text on hover****************************************/

.caption-style-1{
    list-style-type: none;
    margin: 0px;
    padding: 0px;

}
.caption-style-1 li{
    float: left;
    padding: 0px;
    position: relative;
    overflow: hidden;
}
.caption-style-1 li:hover .caption {
    opacity: 1;
}
.caption-style-1 img{
    margin: 0px;
    padding: 0px;
    float: left;
    z-index: 4;
}
.caption-style-1 .caption{
    cursor: pointer;
    position: relative;
    opacity: 0;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
}
.caption-style-1 .blur{
    background-color: #0236699c;
    height: 715px;
    width: 100%;
    z-index: 5;
    position: relative;
}

.caption-style-1 .caption-text{
    z-index: 10;
    color: #fff;
    height: 300px;
    text-align: center;
    top: 45px;
    margin-left: 20px;
    position: absolute;
    font-size: 16px;
}

.entry-content ul{
    padding: 0px !important;
}




/****************************************Sector_alt************************/
.main-setttore{
	    width: 100%;
    display: inline-block;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.view {
        text-align: center;
    font-weight: bold;
    display: inline-block;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    width: 300px;
    height: 220px;
}
.view .mask,.view .content {
    width: 300px;
    height: 200px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
}
.view img {
    display: block;
    position: relative;
}
.view h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    padding-right: 10%;
    background: rgba(0, 0, 0, 0.8);
    margin: 20px 0 0 0;
}
.view p {
    font-size: 14px;
    position: relative;
    color: #fff;
    padding: 10px 20px 20px;
    text-align: center;
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    -webkit-box-shadow: 0 0 1px #000;
    -moz-box-shadow: 0 0 1px #000;
    box-shadow: 0 0 1px #000;
}
.view a.info:hover {
    -webkit-box-shadow: 0 0 5px #000;
    -moz-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
}

.view-fifth img {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    height: 100% !important;
    width: 100% !important;
    transform: rotateY(0deg);
}
.view-fifth .mask {
    /*background-color: rgba(146,96,91,0.3);*/
    /*-webkit-transform: translateX(-300px);*/
    /*-moz-transform: translateX(-300px);*/
    /*-o-transform: translateX(-300px);*/
    /*-ms-transform: translateX(-300px);*/
    /*transform: translateX(-300px);*/
    width: 100%;
    transform: rotateY(90deg);
    /*background: rgba(0,0,0,0.7);*/
    background: #023669;
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.view-fifth h2 {
    background: rgba(255, 255, 255, 0.5);
    color: #000;
    -webkit-box-shadow: 0px 1px 3px rgba(159, 141, 140, 0.5);
    -moz-box-shadow: 0px 1px 3px rgba(159, 141, 140, 0.5);
    box-shadow: 0px 1px 3px rgba(159, 141, 140, 0.5);
}
.view-fifth p {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    color: #fff;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    transition: all 0.5s linear;
}
.view-fifth:hover .mask {
    /*-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";*/
    /*filter: alpha(opacity=100);*/
    /*opacity: 1;*/
    /*-webkit-transform: scale(1) rotate(0deg);*/
    /*-moz-transform: scale(1) rotate(0deg);*/
    /*-o-transform: scale(1) rotate(0deg);*/
    /*-ms-transform: scale(1) rotate(0deg);*/
    /*transform: scale(1) rotate(0deg);*/
    transform: rotateY(0deg);
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -ms-transition-delay: 0.5s;
    transition-delay: 0.5s;
}
.view-fifth:hover img {
    /*-webkit-transform: scale(0);*/
    /*-moz-transform: scale(0);*/
    /*-o-transform: scale(0);*/
    /*-ms-transform: scale(0);*/
    /*transform: scale(0);*/
    transform: rotateY(-90deg);
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -ms-transition-delay: 0s;
    transition-delay: 0s;
}
.view-fifth:hover h2,
.view-fifth:hover p,
.view-fifth:hover a.info {
    -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -ms-transition-delay: 0.5s;
    transition-delay: 0.5s;
}
