/*
Theme Name: MV - Flatsome Child Theme
Description: This is a child theme for Flatsome Theme
Author: Mattia Ventura
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


/* general customization */

.html .social-icons {
    font-size: 1.4em;
}

.container {
    padding-left: 24px;
    padding-right: 24px;
}

.button {
    margin-bottom: 0;
}

.lightbox-content {
    border-radius: .4em;
}

.to-front {
    position: relative;
    z-index: 10;
}

.header-main li.html.custom {
    display: block;
}

.off-canvas-center .mfp-content {
    padding-top: 0;
}

.margin-0,
.margin-0>* {
    margin: 0;
    padding-bottom: 0 !important;
}

.light,
.light>* {
    font-weight: 300 !important;
}

.uppercase,
.uppercase * {
    letter-spacing: .125em;
}

.has-dropdown .icon-angle-down {
    font-size: .8em;
}

.wp-video {
    margin-bottom: 2em;
}

.nav-sidebar.nav-vertical>li.menu-item.active,
.nav-sidebar.nav-vertical>li.menu-item:hover {
    background-color: transparent;
}

#main-menu .current-menu-item a {
    color: #f8ce47 !important;
}

.multiply {
    mix-blend-mode: multiply;
}

.body-font {
    font-family: "Instrument Sans", sans-serif;
}

.nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before {
    height: 2px;
}

.absolute-footer {
    display: none;
}

.button.primary.regular span {
    color: #000;
}

.button.primary.is-outline:hover span {
    color: #000;
}

.rounded-corners img, .rounded-corners.banner {
    border-radius: .4em;
    overflow: hidden;
}

.icon-box {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fbc115;
    width: 2.4em;
    height: 2.4em;
    box-sizing: content-box;
    border-bottom: 4px;
    border-left: 4px;
    border-color: #fff;
    color: #0a0a0a;
    border-style: solid;
    z-index: 10;
}

.custom-slider .img {
    border-top-left-radius: 4em;
    overflow: hidden;
}

.slider-style-focus .flickity-page-dots {
    bottom: -1em;
}

.header-nav .button span {
	color: #0a0a0a;
	font-weight: normal;
}

/* END - - - general customization */


/* Projects customization */

.project-info {
    text-align: left;
}

@media (min-width:550px) {
    .project-info {
        text-align: right;
    }
}

@media (min-width:850px) {
    .project-info {
        text-align: right;
    }
}

.project-thumb.has-video img {
  transition: opacity .35s ease;
  position: relative;
  z-index: 2;
}

/* video sotto sempre attivo */
.project-thumb.has-video .video-bg {
  z-index: 1;
}

/* hover → scompare thumbnail */
.project-thumb.has-video:hover img {
  opacity: 0;
}

.video-wrapper {
  position: relative;
  max-width: 100%; /* adatta alla tua pagina */
}

.video-banner {
  position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 1em;
    font-size: inherit;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* END - - - project customization */


/* CF7 customization */

form {
    margin: 0;
}

.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 0;
}

/* END - - - CF7 customization */


@media only screen and (min-width: 48em) {
    /*************** ADD DESKTOP ONLY CSS HERE  ***************/


}