/*
 Theme Name:     Enfold ERAKLE
 Theme URI:      http://ikreativo.it/enfold_erakle/
 Description:    Enfold Child Theme
 Author:         Johan Soderkvist
 Author URI:     http://ikreativo.it
 Template:       enfold
 Version:        20150629
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
/* Imposto il font TexGyroAdventor */
@import "webfonts/texgyreadventor_regular_macroman/stylesheet.css";

#top #wrap_all * {
    font-family: texgyreadventorregular, 'Open Sans', sans-serif, entypo-fontello !important;
}

h5 {
    font-size: 13px !important;
}
/* Togliere tutti i bordi nel menu */
#header_main, #header_main * {
    border: none !important;
}

/* Togliere le bandiere di WPML dal secondary menu in alto a sinistra */
.avia_wpml_language_switch {
    display: none !important;
}

.logo {
    padding-bottom: 10px !important;
}
.logo img {
    width: 150px !important;
}

.avia-menu-text {
    font-size: 1em !important;
}

#avia-menu li.menu-item-top-level {
    width: 20%;
}
/*.sub-menu {
    position: inherit !important;
    display: none;
}*/

/* Aggiusta gli spazi tra le righe nel menu */
.html_header_sidebar #header .av-main-nav > li > a {
    padding: 4px 3px;
}

.single-post .avia_image {
    /*width: 500px;*/
}
.avia-custom-sidebar-widget-area.sidebar.sidebar_right {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 5px 30px !important;
    width: 15%;
}
#search-2 .widgettitle {
    display: none;
}
#text-2, #search-2, #icl_lang_sel_widget-2 {
    padding: 5% 0 !important;
}

#searchform input {
    height: 30px !important;
    font-size: 0.9em !important;
    line-height: 30px !important;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
}

.lang_sel_sel {
    background-color: #f8f8f8 !important;
}
.social_bookmarks li:hover a {
    background-color: #ffffff !important;
}
.social_bookmarks li.social_bookmarks_facebook:hover a {
    color: #37589b !important;
}
.social_bookmarks li.social_bookmarks_instagram:hover a {
    color: #a67658 !important;
}
.social_bookmarks li.social_bookmarks_pinterest:hover a {
    color: #cb2027 !important;
}

#main {
    border: none !important;
}

.av-special-heading-tag {
    padding-top: 20px !important;
}
.page .avia_textblock {
    min-height: 500px !important;
    padding: 0 50px;
}

.template-page.content.av-content-full {
    padding-top: 20px !important;
}
@media only screen and (max-width: 767px) {
    .flex_column.av_one_fifth {
        display: none !important;
    }
}

.flex_column.av_one_fifth {
    width: 10% !important;
}

.flex_column.av_three_fifth {
    -webkit-background-size: contain !important;
    background-size: contain !important;
}

.wysija-paragraph {
    float: left;
    width: 45%;
    margin: 0 5% 0 0;
}

.wysija-paragraph:first-child  {
    width: 95%;
}

.widget_wysija_cont input {
    height: 2em !important;
    margin-bottom: 0 !important;
}

.widget_wysija_cont select {
    width: 33.33% !important;
    float: left !important;
    font-size: 0.8em !important;
}

.wysija-radio-label {
    width: 100px !important;
    float: left !important;
}

.wysija-date label {
    clear: both !important;
}

.widget_wysija_cont .wysija-submit {
    clear: both !important;
    height: auto !important;
}

.wysija-paragraph label {
    font-weight: normal !important;
}

/*
 * Widget in home
 * Mostrare solo su cellulare e tablet
 */
.page-id-584 #after_layer_slider_1,
    .page-id-9 #after_layer_slider_1 {
        display: none;
}

/*
 * Immagini in Collezione
 */
.page-id-153 .avia-image-container-inner {
    border: solid 1px;
    margin: 1px !important;
}
.page-id-153 .avia-slideshow-inner {
    border: solid 1px;
    /*margin: 1px !important;*/
}
.image-overlay-inside, .image-overlay.overlay-type-extern {
    display: none;
}
/*
 * Scheda Informativa in Collection
 * usando Lightbox e il campo title della foto in media
 */
/* il contenitore del contenuto */
.mfp-bottom-bar {
    top: 0;
    left: 50%;
    margin-top: 40px;
    width: 50%;
}
.mfp-image-holder .mfp-content {
    width: 70% !important;
}
.mfp-content .mfp-img {
    margin-right: 50%;
}

.mfp-title {
    /*background-color: white;*/
    /*color: #11202a;*/
    color: #FFFFFF;
    padding: 5%;
    text-align: center;
    margin: 10% 5%;
}
.mfp-title .share {
    position: absolute;
    left: -15px;
    color: #000000;
    text-decoration: none !important;
}
.mfp-title .share.facebook {
    top: 10px;
}
.mfp-title .share.pinterest {
    top: 40px;
}
.mfp-title .share.instagram {
    top: 70px;
}
figcaption img {
    width: 150px;
}

figcaption .title {
    font-size: 2em;
    padding: 5% 0;
}
figcaption .look {
    font-size: 5em;
    padding: 10% 0;
}
figcaption .collection {
    padding: 5% 0 50% 0;
}
figcaption .item {
    font-size: 0.7em;
}
figcaption .itemName {
    /*display: inline;*/
    padding-right: 1em;
    font-weight: bold;
}
figcaption .itemID {
    display: inline;
    padding-right: 1em;
}
figcaption .itemCol {
    display: inline;
}

#av-masonry-1 {
    background-color: #FFFFFF;
}
#after_masonry {
    border: none;
}

@media only screen and (max-width: 768px) {
    /* socialicons, language, search and credits */
    /* perch� sparisce la colonna sinistra con il widget */
    .page-id-584 #after_layer_slider_1,
    .page-id-9 #after_layer_slider_1 {
        display: block;
        text-align: center;
    }

    .page-id-9 #after_layer_slider_1 #lang_sel,
    .page-id-9 #after_layer_slider_1 #lang_sel li,
    .page-id-584 #after_layer_slider_1 #lang_sel,
    .page-id-584 #after_layer_slider_1 #lang_sel li {
        width: 100%;
    }

    .page-id-9 #after_layer_slider_1 .av-sidebar-social-container,
    .page-id-584 #after_layer_slider_1 .av-sidebar-social-container {
        width: 120px;
        margin: 0 auto;
    }

    .page-id-9 #after_layer_slider_1 .av-sidebar-social-container li,
    .page-id-584 #after_layer_slider_1 .av-sidebar-social-container li {
        border: none;
    }
}

@media only screen and (max-width: 768px) {

    /* Schede in collezione */
    .mfp-bottom-bar {
        top: auto;
        left: auto;
        margin-top: auto;
        width: 100%;
    }

    .mfp-title {
        margin-top: 0;
    }

    figcaption .collection {
        padding: 5% 0px 10%;
    }

    /* share icons */
    .mfp-title .share {
        left: 90%;
    }
    .mfp-title .share.facebook {
        top: -110%;
    }
    .mfp-title .share.pinterest {
        top: -100%;
    }
    .mfp-title .share.instagram {
        top: -90%;
    }
}