
/* 
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com 
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

.et_pb_blog_grid .et_pb_salvattore_content[data-columns] .column .et_pb_post { opacity: 1!important; -webkit-animation: none !important; }


body p {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h3 { line-height: 1.3em; }

.single .et_pb_post .entry-content { padding-top: 10px !important; }
.single h3 { font-size: 18px; }

/* Header */
#main-header {
    -webkit-box-shadow: 0 1px 0 #ccc;
    -moz-box-shadow: 0 1px 0 #ccc;
    box-shadow: 0 1px 0 #ccc;
}

#top-menu li a { font-weight: 500 !important; }

#top-menu .current-lang:before {
    content: '\2022';
    position: absolute;
    left: -7px;
    font-size: 12px;
    color: #333;
}

#top-menu .lang-item-it a:after {
    content: '/';
    position: absolute;
    right: -15px;
}

#top-menu .lang-item-it {
    margin-left: 30px;
}

/* Generic */
#main-content .container {
    padding-top: 30px;
}

.heading h4 {
    padding: 0 0 0.5em;
    font-size: 1em;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
}

.heading h1 {
    padding: 0 0 0.2em;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
}

.heading h2 {
    padding: 0 0 0.2em;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
}

.heading h4:after,
.heading h1:after,
.heading h2:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -10%;
    width: 100%;
    border-bottom: 1px solid #222;
}

/* Social */
.et-social-twitter a.icon:before { content: '\e09a'; }

/* Contact */
.page-id-31 .et_pb_button:hover { color: #fff !important; }
.page-id-31 .et_pb_contact_field_options_title { display: none; }

/* Mostre + Concerti */
.shows h2 { font-size: 40px; font-weight: 600; }
.et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description { padding: 16% 0; }
.shows .et-pb-active-slide .et_pb_slide_description {
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
}


/* Footer */
#main-footer .footer-widget h4 {
    font-weight: 600 !important;
}

.footer-widget .lang-item { display: none; }

.footer-social img { width: 33px; margin-right: 7px; }

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
    .footer-widget .widget_media_image { width: 50%; display: block; }
}

/* Smartphones in portrait mode (0-479px) */
@media only screen and ( max-width: 479px ) {
    .footer-widget .widget_media_image { width: 70%; display: block; }
    .shows h2 { font-size: 26px; font-weight: 600; }
}



#main-footer .menu li { padding-left: 0; margin-bottom: 0; }
#main-footer .menu li a { color: #222 !important; text-transform: uppercase; }
#main-footer .menu li:before { display: none; }

@media (min-width: 981px), all {
    .et_pb_gutters3 .footer-widget {
    margin: 0 5.5% 3.5% 0;
}

/* Social Sharing */
#dpsp-content-bottom { max-width: 1000px; margin: 30px auto 50px; }
.dpsp-networks-btns-wrapper li { margin-right: 7px; }



/* Cookie notice */
#cookie-notice .cn-button { color: #fff; text-decoration: underline; }

/* Events */

.events article { position: relative; background-color: #000; width: 100%; margin: 0 0 20px 0!important; padding: 0 !important; text-align: center; color: #fff; font-size: 18px; }
.events article:before { display: block; content: ""; padding-top: 40%; }
.events .et_pb_image_container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; margin: 0; background-color: #000; }
.et_pb_column .et_pb_blog_grid .events .column.size-1of3 { width: 100% !important; margin: 0% !important; }
.et_pb_column .et_pb_blog_grid .events .column.size-1of2 { width: 100% !important; margin: 0% !important; }
.et_pb_column .et_pb_blog_grid .events .column.size-1of1 { width: 100% !important; margin: 0% !important; float: none !important; }
.events .et_pb_image_container img { object-fit: cover !important; overflow: hidden !important; opacity: 0.6 !important; object-position: 50% 40% !important; height: 100%; width: 100%; }
.events .post-content { position: absolute; top: 0; left: 0; }
.events h2 { font-size: 34px; font-weight: 600; color: #fff; /* text-transform: uppercase; */ padding: 10px 6% !important; }
.events .post-content { display: flex; align-items: center; justify-content: center; flex-direction: column; height: 100%; padding: 0 20px; width: 100%; }
.events .post-link { display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 999; }
.et_post_video { margin-bottom: 20px; }
.envira-gallery-wrap { margin-top: 20px !important; }

/* Single post */
#left-area { float: none; padding-right: 0 !important; width: 100%; }
#main-content .container:before { display: none; }
.single .entry-title { font-weight: 600; }

@media only screen and ( max-width: 479px ) {
    #dpsp-content-bottom { margin: 30px auto 0; }
    .single .entry-title { font-weight: 600; font-size: 20px; }
    p { font-size: 15px; }
    .home .et_pb_column { margin-bottom: 0; }
    #main-footer .footer-widget h4 { font-size: 16px; }
    #footer-widgets { padding: 10% 0 0 0; }
    .footer-widget, .footer-widget li, .footer-widget li a, #footer-info { font-size: 14px !important; }
    #footer-widgets .footer-widget:nth-child(3) { display: none; }
    .et_mobile_menu li a { padding: 10px 10px; font-weight: 500; }
    .events .post-content { font-size: 14px; line-height: 1.3em; }
    .events h2 { font-size: 19px; padding: 5px 0 !important; }
    h3 { font-size: 16px; line-height: 1.2em; }
    h1 { font-size: 24px; }
    .events article:before { display: block; content: ""; padding-top: 65%; }
    .events article { font-size: 16px; line-height: 20px; }
    .page #dpsp-content-bottom { width: 90%; margin: 0px auto 50px; }
    .dpsp-networks-btns-wrapper li { margin-right: 7px; }
}

@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
    .events h2 { font-size: 26px; }
    .events article:before { display: block; content: ""; padding-top: 45%; }
    .events article { font-size: 16px; line-height: 20px; }
    .et_pb_blog_grid .column { float: none !important; }
}

/* ==========================================================================
IMAGE ZOOM FEATURE
========================================================================== */
.imageWrap {
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1.0, 1.0);
}
.imageWrap img {
  vertical-align: bottom;
  -webkit-transition: -webkit-transform 0.5s ease;
  -moz-transition: -moz-transform 0.5s ease;
  -o-transition: -o-transform 0.5s ease;
  transition: transform 0.5s ease;
}
.imageWrap img:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
/* ==========================================================================
  END IMAGE ZOOM FEATURE
  ========================================================================== */

