/*
    Theme Name: Hueman Zalab Child
    Description: Heaman child theme for zalab.org.
    Author: Matteo De Santi
    Author URI: http://www.matteodesanti.com
    Template: hueman
    Version: 1.0.1
*/

@import url("../hueman/style.css");

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
/* ------------------------------------------------------------------------- */


/* Global */

.mystyle {}

.entry-inner {
    font-size: 16px;
}

.video-container {
    margin-bottom: 1em;
}

p {
    line-height: 1.3;
}

.wpcf7 label {
    width: 30%;
    margin: 4px 0 0 12px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    margin-top: 0px;
}

.wpcf7-recaptcha {
    display: block;
    clear: both;
    margin-bottom: 1rem;
}

.wpcf7-form-control-wrap {
    display: inline;
}


/*Masonry std layout*/

.tax-tipologia .post-list article,
.tax-autore .post-list article,
.tax-tema .post-list article {
    /*width: 33.3333%;*/
    width: 25%;
}

.tax-tipologia .post-list article .post-thumbnail,
.tax-autore .post-list article .post-thumbnail,
.tax-tema .post-list article .post-thumbnail {
    margin-bottom: 0;
}

.tax-tipologia .content > .pad:last-child,
.tax-autore .content > .pad:last-child,
.tax-tema .content > .pad:last-child {
    padding: 0;
}

.tax-tipologia .post-list .post-inner,
.tax-autore .post-list .post-inner,
.tax-tema .post-list .post-inner,
.featured article .post-inner {
    position: relative;
}

.tax-tipologia .post-list,
.tax-autore .post-list,
.tax-tema .post-list {
    margin-right: 0;
}

.post-list .post-inner {
    margin-right: 1px;
    margin-bottom: 1px;
}

.tax-tipologia .post-list .post-preview,
.tax-autore .post-list .post-preview,
.tax-tema .post-list .post-preview,
.featured article .post-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1em;
    background: rgba(0, 0, 0, .7);
}

.tax-tipologia .post-list article .post-meta,
.tax-autore .post-list article .post-meta,
.tax-tema .post-list article .post-meta {
    display: none;
}

.tax-tipologia .post-list article .post-title,
.tax-autore .post-list article .post-title,
.tax-tema .post-list article .post-title {
    margin-bottom: 0;
}

.featured .post-thumbnail {
    margin-bottom: 0;
}


/*.featured,
.featured.flexslider {
    margin-bottom: 2em!important;
}*/

.post-list .post-preview,
.featured article .post-preview {
    font-size: 14px;
    pointer-events: none;
}

.post-list .post-preview .post-title a,
.featured article .post-title a {
    background-color: #EC1C25;
    padding: 4px 8px;
    color: #fff;
    font-size: 22px;
    pointer-events: auto;
}

.post-list .post-inner:hover .post-title a,
.featured article .post-inner:hover .post-title a {
    color: #fff;
}

.post-list .post-preview .post-title a:hover,
.featured article .post-inner .post-title a:hover {
    background-color: #fff;
    color: #EC1C25;
}

.post-list .post-inner .post-preview .excerpt {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.post-list .post-inner .post-preview .excerpt p {
    margin-top: .5em;
}

.post-byline {
    display: none;
}

.featured article .post-inner .post-preview .excerpt {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.featured article .post-inner .post-preview .post-date {
    display: none;
}

.post-list .post-inner:hover .post-preview .excerpt {
    max-height: 200px;
}

.post-thumbnail {
    overflow: hidden;
}

.post-list .post-inner .post-thumbnail img,
.featured article .post-inner .post-thumbnail img {
    transition: all .3s ease-out;
}

.post-list .post-inner:hover .post-thumbnail img {
    -webkit-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1);
}

.featured article .post-inner:hover .post-thumbnail img {
    -webkit-transform: scale3d(1.05, 1.05, 1);
    transform: scale3d(1.05, 1.05, 1);
}

.tax-tipologia .main-inner,
.tax-autore .main-inner,
.tax-tema .main-inner {
    padding-right: 0;
    background: none;
}

.featured,
.featured.flexslider {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}


/* Nascondo dai menu di navigazione la lingua attiva [non applicabile per baco in wpml che associa la clase a tutte le lingue e non solo all'attiva]*/


/*.menu-item-language-current{
    display: none!important;
}*/

.widget {
    position: relative;
}

.widget a {
    color: #ec1c25;
}

.widget a:hover {
    color: #FF4E56;
}

.site-title {
    padding: 0;
}

#header .pad {
    padding-top: 0;
    padding-bottom: 0;
}

#header ul.language_list {
    font-weight: bold;
    float: left;
    width: auto;
}

#header ul.language_list > li {
    line-height: 16px;
    padding: 12px 16px;
}

#header .toggle-search {
    font-size: 16px;
    line-height: 16px;
    padding: 12px 16px;
    top: auto;
    position: relative;
    float: left;
    margin-left: 1em;
}

#header .search-expand {
    right: auto;
    left: 0;
    top: 40px;
}

#nav-topbar .nav {
    pointer-events: none;
    text-align: right;
}

#nav-topbar .nav li {
    font-size: 14px;
    display: inline-block;
    pointer-events: auto;
    text-align: left;
}

#nav-topbar .nav li a {
    line-height: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
}

#nav-topbar .nav ul {
    top: 40px;
}

#nav-header .nav li a {
    font-weight: 800;
    color: #fff
}

#nav-header .nav > li {
    text-transform: uppercase;
}

.fc-event {
    line-height: 1.3333;
    padding: .1rem;
}

.fc-event-container .fc-time {
    display: none;
}

.fc-day-grid-event .fc-content {
    white-space: normal;
    overflow: visible;
}

.entry .fc table td {
    padding: 5;
}

.entry .fc table,
.entry .fc .fc-view > table > tbody > tr > td.ui-widget-content {
    padding: 0;
    border: none;
}

.fc-scroller {
    overflow-y: auto;
}

.wpfc-calendar-wrapper .fc table,
.wpfc-calendar-wrapper .fc-head,
.wpfc-calendar-wrapper .fc-head tr,
.wpfc-calendar-wrapper .fc-head td {
    border: none;
}

.entry .fc .fc-view {
    border: 1px solid #eee;
}

.ui-widget-content {
    border-color: #ddd;
}

.ui-tooltip {
    padding: 0;
}

.ui-tooltip-content {
    padding: .815rem;
    font-size: 13px;
}

.ui-tooltip-content img {
    display: none;
}

.ui-tooltip-content .wp-post-image {
    margin: 0 1rem 1rem 0;
}

.entry table.fc-header tr.alt {
    background-color: transparent;
}

.entry table.fc-header td.fc-header-left {
    text-align: left;
}

.entry table.fc-border-separate th {
    background: #eee;
    border-color: #fff;
    color: #666
}

.entry table.fc-border-separate {
    border-bottom: 1px solid #eee;
}

.entry table.fc-border-separate td {
    vertical-align: top;
    border-color: #eee;
    border-bottom: none;
}

.em-location-map-container {
    width: 100%!important;
}

div.css-search input.em-search-text,
div.css-search input.em-search-geo {
    display: inline;
}

.em-search-form input[type="text"],
.em-search-form input[type="password"],
.em-search-form input[type="email"],
.em-search-form textarea {
    display: inline!important;
}

table.em-calendar {
    width: 100%;
}

.single-progetto .gallery-item {
    position: relative;
    overflow: hidden;
    margin-top: 0!important;
}

.single-progetto .gallery-item img {
    float: left;
    border: 1px solid #fff!important;
}

.single-progetto .gallery-item > .gallery-caption {
    position: absolute;
    bottom: -100%;
    left: 1px;
    right: 1px;
    padding: .3rem;
    font-size: .8rem;
    color: #fff;
    line-height: 1;
    text-align: left;
    background: #333;
    background: rgba(0, 0, 0, .8);
    transition: bottom .3s ease-out;
    pointer-events: none;
}

.single-progetto .gallery-item:hover > .gallery-caption {
    bottom: 1px;
}

.single-progetto .page-title .meta-single li.category {
    max-width: 80%;
}

.single-progetto .post-subtitle {
    font-size: 24px;
    line-height: 1.3em;
    font-weight: normal;
    font-style: italic;
    color: #999;
    margin-bottom: .5rem;
}

.single-progetto .widget h3 {
    font-size: 1.2em;
}

.single-progetto .related-videos dl.gallery-item {
    width: 50%;
    float: left;
}

.single-progetto .woocommerce ul.products li.product {
    width: auto;
    line-height: 1.2;
    padding: 0 0 .5em 0;
    margin: 0 0 .5em 0;
    border-bottom: 1px solid #ddd;
}

.single-progetto .woocommerce ul.products li.product {
    border: none;
}

.single-progetto .woocommerce ul.products li.product img {
    width: 40%;
    float: left;
    margin: .5em .5em .5em 0;
    padding: .5em;
    background-color: #fff;
    border: 1px solid #ddd;
}

.woocommerce-checkout #payment ul.payment_methods li {
    list-style: none;
}

.woocommerce ul.products li.product .price ins {
    font-size: 2em;
}

.woocommerce ul.products li.product .price_incl_tax {
    color: grey;
    zdisplay: block;
    font-size: .7em;
}

.single-progetto .woocommerce ul.products li.product .button {
    margin-top: 0;
}

.woocommerce span.onsale {
    min-height: 0;
    min-width: 0;
    padding: 0.3em .5em 0.3em .5em;
    line-height: 1.5;
    border-radius: 1.2em;
    font-size: 0.8em;
}

.woocommerce .quantity .qty {
    font-size: 16px;
    line-height: 1.5;
    margin: 0.2em 0;
}

.woocommerce div.product form.cart,
.woocommerce div.product p.cart {
    margin-top: .5em;
}

.single-progetto .woocommerce ul.products li.product .onsale {
    top: 0;
    right: auto;
    left: 0;
    margin: -.5em 0 0 -0.5em;
}

.single-progetto .widget_prodotti_correlati > h3 {
    margin-bottom: 1em
}

.feedzy-rss .rss_item {
    line-height: 1.2;
}


/*Recent post widget*/

.rpwe-thumb {
    padding: 0px!important;
    float: left;
    margin: 0 1em 1em 0;
    border: 1px solid #ddd;
}

.rpwe-summary {
    font-size: .9em;
    line-height: 1.2;
}

.rpwe-summary a {
    margin-left: .5em;
}

.rpwe-clearfix:after {
    content: " ";
    display: block;
    clear: both;
}


/*Home Widgets*/

#home-widgets .widget_sp_image h3 {
    position: absolute;
    top: 0.5em;
    left: 0.6em;
    padding: 0px 6px;
    background-color: #EC1C25;
    color: #fff;
    font-size: 16px;
    pointer-events: none;
    font-weight: 400;
    z-index: 10;
    text-transform: none;
}

#home-widgets .widget_sp_image .widget_sp_image-description {
    margin-top: .5em;
}

#home-widgets .widget_sp_image:hover h3 {
    background-color: #fff;
    color: #EC1C25;
}

#home-widgets .widget_sp_image a.widget_sp_image-image-link {
    overflow: hidden;
    display: block;
    max-height: 185px;
    position: relative;
}

#home-widgets .widget_sp_image a.widget_sp_image-image-link img {
    transition: all .3s ease-out;
    display: block;
    width: 100%;
    height: auto;
}

#home-widgets .widget_sp_image a.widget_sp_image-image-link:hover img {
    -webkit-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1);
}

#home-widgets .widget {
    margin-bottom: 1em
}


/*Woocommerce cart*/

.widget_shopping_cart {
    background: #fff;
}

.widget > h3 i,
.wpmenucart-contents i {
    font-size: 1.2em;
}

.wpmenucartli {
    background: #4A4D51;
}

.wpmenucartli a {
    color: #fff!important;
}

#flexslider-featured .flex-direction-nav {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 50%;
    pointer-events: none;
}

#flexslider-featured .flex-direction-nav a {
    background: rgba(255, 255, 255, .1);
}

#flexslider-featured .flex-direction-nav li {
    margin-left: 0;
    pointer-events: auto;
}

#fancybox-wrap {
    z-index: 100001;
}

textarea,
input {
    outline: none;
}

.widget_wysija .wysija-paragraph {
    font-size: 13px;
    margin-bottom: 1em;
}

.widget_wysija .wysija-checkbox-paragraph {
    font-size: 1.3em;
}

.widget_wysija input[type="text"] {
    padding: .4em .5em;
    font-size: 14px;
    color: #000;
    border: 1px solid #ccc;
    font-weight: bold;
    min-width: 260px;
    background: #f9f9f9;
}

.widget.widget_wysija select {
    padding: .6em .8em;
    font-size: 14px;
    color: #000;
    border: 1px solid #ccc;
    font-weight: bold;
    min-width: 260px;
    width: auto;
    background: #f9f9f9;
    height: 2em;
}

.widget_wysija input[type="text"]:focus {
    border-color: #999;
    background: #fff;
}

.widget_wysija input[type="submit"] {
    padding: .5em 1em;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    background: #ec1c25;
    border: 1px solid #ec1c25;
    cursor: pointer;
    margin-top: .5em;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.widget_wysija input[type="submit"]:hover {
    color: #ec1c25;
    background: #fff;
}


/* Miglioramento della formattazione del bundle prodotti */

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    margin-right: 1rem;
}

.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
    width: auto;
    float: none;
}

.yith-wcpb-product-bundled-items {
    clear: both;
}

table.yith-wcpb-product-bundled-items tr {
    border: none;
    border-bottom: 1px solid #efefef;
}

td.yith-wcpb-product-bundled-item-image,
td.yith-wcpb-product-bundled-item-data {
    padding-top: 1rem!important;
}
td.yith-wcpb-product-bundled-item-data h3 {
    font-size: 16px;
}

td.yith-wcpb-product-bundled-item-data p {
    font-size: 14px;
}

div.yith-wcpb-product-bundled-item-instock,
div.yith-wcpb-product-bundled-item-outofstock {
    background: transparent;
    border: 1px solid #eee;
    padding: 0 10px;
}
.woocommerce div.product .product_title{
        font-size: 2rem;
    line-height: 1;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 2em;
    margin-bottom: .5rem;
}

@media only screen and (min-width: 1025px) {
    .full-width.topbar-enabled #header {
        padding-top: 40px;
    }
}

@media only screen and (min-width: 720px) {
    /*#nav-header .nav li > a:hover,
#nav-header .nav li:hover > a,*/
    #nav-header .nav li.current_page_item > a,
    #nav-header .nav li.current-menu-item > a,
    #nav-header .nav li.current-menu-ancestor > a,
    #nav-header .nav li.current-post-parent > a {
        background-color: #fff;
        color: #ec1c25;
    }
    #nav-header .nav li ul li a {
        line-height: 1.2!important;
    }
    #nav-header .nav li ul li.current_page_item > a,
    #nav-header .nav li ul li.current-menu-item > a,
    #nav-header .nav li ul li.current-menu-ancestor > a,
    #nav-header .nav li ul li.current-post-parent > a {
        background-color: #FF252F;
        color: #fff;
    }
    #nav-header .nav li ul li a:hover {
        background-color: #FF252F;
        color: #fff;
    }
    .tax-tipologia .main-inner,
    .tax-autore .main-inner,
    .tax-tema .main-inner {
        padding-bottom: 150px;
    }
}

.group.pad.has-banner{
    display: flex;
    justify-content: space-between;
}

.partecipa_banner{
    display: block;
    width: 51%;
}

/* Tablet - 800px, 768px & 720px */

@media only screen and (min-width: 720px) and (max-width: 800px) {
    .mystyle {}
}


/* Mobile - 480px & 320px */

@media only screen and (max-width: 719px) {
    .mystyle {}
}


/* Mobile - 320px */

@media only screen and (max-width: 479px) {
    .tax-tipologia .post-list article,
    .tax-autore .post-list article,
    .tax-tema .post-list article {
        width: 100%;
    }
    #nav-topbar .nav {
        text-align: left;
    }
    #nav-topbar .nav li {
        display: block;
    }
    #nav-topbar .nav.language_list li a {
        border-top: none;
        line-height: 1.9em;
    }
    #nav-topbar .nav.language_list li {
        display: inline-block;
    }
    .toggle-search {
        box-shadow: -1px 0 0 rgba(255, 255, 255, 0.1);
    }
    #header .toggle-search {
        line-height: 1.6em;
    }
    .featured article .post-preview {
        position: relative;
        background: #000;
    }
    #flexslider-featured {
        margin-top: 0!important;
    }
    #flexslider-featured .flex-control-nav {
        top: 16px;
        left: 16px;
    }
    .site-title {
        padding: 0.3em 0;
    }
    .site-title a img {
        max-height: 80px;
    }
    .partecipa_banner{
    width: 100%;
    }
    .group.pad.has-banner{
    display: block;
    }
}





/** woocommerce **/

.woocommerce ul.products li.product a img{
width: inherit;
}

div.woocommerce-advanced-message{
	    color: #ec1c25;
}

