/*
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;
}

#footer .ux-menu-link__link {
    font-size: .9em;
    color: #e0ceaa;
}

.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 * {
    line-height: .9;
    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;
}

.framed-img:before {
    content: "";
    position: absolute;
    width: 95%;
    height: 105%;
    top: -2.5%;
    left: 2.5%;
    z-index: 1;
    border: 1px solid #fff;
    transition: .2s ease;
}

.framed-img:hover:before {
    height: 95%;
    width: 105%;
    left: -2.5%;
    top: 2.5%;
}

.framed-img:after {
    content: "";
    position: absolute;
    width: 105%;
    height: 95%;
    top: 2.5%;
    left: -2.5%;
    z-index: 1;
    border: 1px solid #fff;
    transition: .2s ease;
}

.framed-img:hover:after {
    height: 105%;
    width: 95%;
    left: 2.5%;
    top: -2.5%;
}

.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;
}

/* 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;
}

.wpcf7 .custom-newsletter input.wpcf7-email {
    color: #fff;
    font-size: .8rem;
    padding: .8rem;
    height: 2.4rem;
    margin-bottom: 0;
}

.wpcf7 .custom-newsletter {
    display: flex;
    width: 100%;
    margin-bottom: .2em !important;
}

.wpcf7 label {
    font-size: .8em;
}

.wpcf7 .custom-newsletter .wpcf7-form-control-wrap {
    width: 100%;
}

.custom-newsletter .wpcf7-submit {
    margin-right: 0;
    margin-bottom: 0;
}

.wpcf7 .wpcf7-spinner {
    display: none;
}

.custom-newsletter input.wpcf7-submit {
    height: 2.4rem;
    background-color: #ff0a00;
}

/* END - - - CF7 customization */


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


}