/*
Theme Name: Lisa Armenio
Theme URI: https://artemida.it
Description: Lisa Armenio.
Author: artemida.it
Author URI: https://artemida.it
Version: 0.1
Text Domain: b4st
Template: b4st
*/

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;400&family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body, html {
	font-family: 'Lato', sans-serif;
    font-weight: 400;
}

body.mobile .pay_titolo {
    font-size: 2rem;
    font-weight: 400;
}
.admin-bar .navbar {
    margin-top: 46px !important;
}
article {
	overflow: hidden;
}
.space-64 {
    width: 100%;
    height: 64px;
}
.hmnfw-main-container {
	border: 0 !important;
}
.pay_titolo {
    position: absolute;
    opacity: 0;
    width: 100%;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}
.pay_titolo {
    align-items: center;
    justify-content: center;
}
.corsivo {
    font-family: 'Josefin Sans', cursive;
}
.text-animation {
    position: absolute;
    z-index:200;
    width: 100%;
    height: 100%;
    max-width: 1140px;
    left: 50%;
    top:0;
    transform: translateX(-50%);
    overflow: hidden;
    font-size: 80px;
    font-weight: 200;
}
.text-animation p {
    display:inline-block;
    /*white-space:nowrap;*/
    text-shadow: 0px 0px 10px rgba(0,0,0,0.7);
    width: 90%;
    top:45%;
}
a, a:hover {
    color: #333;
    text-decoration: none;
}
a span {
    position: relative;
}
.lead,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Josefin Sans', sans-serif;
    color: #333;
    font-weight: 200;
    margin-top: .5rem;
    text-transform: uppercase;
}

.pittogramma {
    max-width: 160px;
}
a span {
    background-image: linear-gradient(180deg,transparent calc(100% - 2px),currentColor 2px);
    background-repeat: no-repeat;
    background-size: 0 100%;
    padding-bottom: 1px;
    transition: background-size .25s ease-out;
    transition-duration: 0.25s;
    will-change: background-size;
}
.btn-primary {
    color: #fff;
    background-color: #90a8ad !important;
    border-color: #90a8ad !important;
}
.btn-primary:hover {
    background-color: #63929c !important;
    border-color: #63929c !important;
}

.editfront {
	position:fixed;
	z-index:9999;
	bottom:50px;
	left:10px;
}
.editfront a {
	color: #FFF;
}
.slide-top {
    -webkit-animation: slide-top 0.5s ease-out both;
    animation: slide-top 0.5s ease-out both;
}
.after-video {
	bottom:30px;
}
.col-sm {
	min-height: inherit !important;
}
.subtitle {
    display: none;
}
@media screen and (min-width: 768px) {
    .admin-bar .navbar {
        margin-top: 32px !important;
    }
    .ml-md-10 {
        margin-left:-10vw;
    }
}
@-webkit-keyframes slide-top {
    0% {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slide-top {
    0% {
        -webkit-transform: translateY(100px);
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}
.d-3 {
    animation-delay: 0.3s;
}
.blue-bg {
    background-color: #002a47;
}
.bg-dark-grey {
    background-color: #333;
}
.blue-color {
    color: #002a47;
}
.brand-img {
    max-width: 160px;
}
body.mobile .brand-img {
    max-width: 150px;
}
.brand-img-small {
	margin: 20px auto;
    max-width: 120px;
}
/*
    FORM
*/
.wpcf7-form label {
    width: 100%;
}
/*
    NAV
    HEADER
*/
.navbar {
    transition: all .2s ease-in-out;
}
nav {
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

nav * {
  box-sizing: border-box;
  transition: all .35s ease;
}

nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.8rem;
}
.dropdown-item,
.dropdown-item:focus,
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}
.navbar .dropdown-menu {
    background-color: rgba(51,51,51,0.6);
    border: none;
    border-radius: unset;
    margin-top: 0;
}
@media screen and (min-width: 768px) {
    .navbar:before {
        content:' ';
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        background-color: rgba(255,255,255,.9);
        height: 100%;
        z-index: -1;
    }
    .home .navbar:before {
        /*width: 100%;*/
    }
    .ml-md-10 {
        margin-left:-10vw;
    }
}
@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu .dropdown-item{
        color: #FFFFFF;
        text-shadow: none;
    }
    .navbar .dropdown-menu .dropdown-item:hover{
        background-color: transparent;
    }
}
@media (max-width:767px) {
    .wp-block-group {
        padding-left: 15px;
        padding-right: 15px;
    }
    .intro .title {
        margin-top: 2rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    .boxes-p-0-m {
        padding:0;
    }
    .navbar-light {
        background-color: #333;
    }
    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .dropdown-toggle:focus,.dropdown-toggle:active {
        outline:none !important;
    }
}
@media (min-width:768px) and (max-width: 991.98px) {
    .navbar:before {
        /*background-color: rgba(0,0,0,.9);*/
    }
}
@media (max-width: 991.98px) {
    .dropdown-item {
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .nav-link {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    #menu-main-navigation {
        padding-top: 64px;
    }

    .navbar-light .navbar-nav .nav-link {
        color:#eeeeee;
    }
    .offcanvas-collapse {
        position: fixed;
        top: 56px; /* Height of navbar */
        /*bottom: 0;*/
        left: 100%;
        width: 90%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #333;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        height:100vh;
    }
    .offcanvas-collapse.open {
        visibility: visible;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}
.animateIn {
    transform: translateY(0px);
    transition-delay: 1s;
}
.animateOut{
    transform: translateY(-100%);
}
.single-page .gr-bg, .archive .gr-bg {
    background: #333;
}

.transparent {
    background-color: transparent;
}

.gr-bg.animateOut {
    background: #333;
}
header .video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.home .header {
    /*background-color: #1e1e1e;*/
}
body.desktop.page-template-home-page header.header {
	min-height: 100vh;
}
body.mobile.page-template-home-page header.header {
	min-height: 50vh;
}
.single-page .header, .archive .header {
    margin-top:56px;
}
header .video .jarallax-img {
    transition: opacity .4s ease-out;
}
header .container {
    position: relative;
    z-index: 2;
}
header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+16,000000+50 */
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(255,255,255,1) 16%, rgba(52,78,102,1) 50%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  rgba(255,255,255,1) 16%,rgba(52,78,102,1) 50%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  rgba(255,255,255,1) 16%,rgba(52,78,102,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#002a47',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    opacity: 0.1;
    z-index: 1;
    transition: opacity .2s ease-out;
}
.page-template-default header .overlay {
    opacity: 0.5;
}
.ban-sep {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 6vw;
    z-index: 3;
}
.vh-80 {
    height: 80vh;
}
.vh-75 {
    height: 75vh;
}
.vh-60 {
    height: 60vh;
}
.vh-50 {
    height: 50vh;
}
.vh-30 {
    height: 30vh;
}
.vh-35 {
    height: 35vh;
}
.vh-25 {
    height: 25vh;
}
.bg-white {
	color: #081A2C !important;
}
.cover-img {
    background-size: cover;
    background-position: center;
}
.neg-3rem {
    margin-bottom: -3rem;
}
/*
CONTENT*/
.wp-block-group.alignwide > .wp-block-group__inner-container > * {
    max-width: 1140px;
}
.wp-block-group.alignwide > .wp-block-group__inner-container > .fluid {
    max-width: none;
}
.wp-block-group {
    margin-bottom: 28px;
}
.wp-block-embed-youtube {
    padding-top: 56.25%;
}
.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.wp-block-embed__wrapper iframe {
    height: 100%;
}
.wp-block-cover {
    min-height: 300px;
    margin-bottom: 40px;
}
.wp-block-cover .has-large-font-size {
    font-weight: 200;
}
.wp-block-button__link {
    transition: all .2s ease-out;
}
.wp-block-button__link:hover {
    background-color: #fad912 !important;
    color: #002a47 !important;
}
.header-meta {
    font-size: 0.9rem;
}
.wp-block-column p {
    padding-left: 15px;
    padding-right: 15px;
}
.wp-block-group ul li {
    list-style: none;
    margin-bottom: 6px;
}
.wp-block-group ul li::before {
    content: "—";
    color: #333;
    float: left;
    margin-left: -2em;
}
.hentry li a {
    color: #333;
    position: relative;
    -webkit-transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    z-index: 1;
    padding-bottom: 2px;
}
.hentry li a:after {
    content: '';
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    -webkit-transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    -webkit-transform-origin: bottom center;
    transform-origin: bottom center;
    z-index: -1;
}
.hentry li a:hover {
    color: #fff;
}
.hentry li a:hover:after {
    height: 100%;
}
.back-button {
    position: absolute;
    color: #fff;
    text-align: center;
    transition: all 0.5s;
    right: 20px;
    text-transform: uppercase;
}
.back-button:after {
    content: ' ';
    position: absolute;
    border: 7px solid;
    border-color: transparent;
    border-right-color: #ffffff;
    opacity: 1;
    left: -20px;
    transition: 0.5s;
    top: 7px;
}

/*

FOOTER
*/

.blue-bg {
	color:#FFF;
    /*background-color: #90a8ad;*/
    background: rgba(144,168,173,1);
    background: -moz-linear-gradient(left, rgba(144,168,173,1) 0%, rgba(99,146,156,1) 50%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(144,168,173,1)), color-stop(50%, rgba(99,146,156,1)));
    background: -webkit-linear-gradient(left, rgba(144,168,173,1) 0%, rgba(99,146,156,1) 50%);
    background: -o-linear-gradient(left, rgba(144,168,173,1) 0%, rgba(99,146,156,1) 50%);
    background: -ms-linear-gradient(left, rgba(144,168,173,1) 0%, rgba(99,146,156,1) 50%);
    background: linear-gradient(to right, rgba(144,168,173,1) 0%, rgba(99,146,156,1) 50%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#90a8ad', endColorstr='#63929c', GradientType=1 );
}

#footer a {
    color:#FFF !important;
}

footer.mt-5.bg-light {
    background-color: transparent !important;
    margin-bottom: 3rem;
    margin-top: 0 !important;
}
@media (min-width: 768px ) {
    #footer > div:before {
        content: ' ';
        height: 100px;
        width: 1px;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    #footer > div:first-child::before {
        display: none;
    }
}
@media (max-width: 767px ) {
    #footer > div {
        margin-bottom:40px;
    }
}


/*ANIMATED TEXT */

/* title styles */
.home-title span {
  position: relative;
  overflow: hidden;
  display: block;
  line-height: 1.2;
}

.home-title span::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.5);
  animation: a-ltr-after 2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
  transform: translateX(-101%);
}

.home-title span::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  animation: a-ltr-before 2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
  transform: translateX(0);
}

.home-title span:nth-of-type(1)::before,
.home-title span:nth-of-type(1)::after {
  animation-delay: 1s;
}

.home-title span:nth-of-type(2)::before,
.home-title span:nth-of-type(2)::after {
  animation-delay: 1.5s;
}
.home .position-relative.header {
    position: fixed !important;
    width: 100%;
}
@keyframes a-ltr-after {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(101%);
  }
}

@keyframes a-ltr-before {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(200%);
  }
}


/* QUOTE */
blockquote {
	font-family: 'Josefin Sans', sans-serif;
    padding: 1.5rem;
    color: #63929c;
}
.page-template-page-contatti h3 {
    line-height: 38px;
    color: #fff;
}
.page-template-page-contatti h3 a {
    color:#FFF;
}
.contatti-bg {
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 50vh;
}
#scroll-down {
    display: block;
    position: absolute;
    padding-top: 79px;
    text-align: center;
    z-index: 1;
    right: 10px;
    bottom: 40px;
}
.arrow-down {
    display: block;
    margin: 0 auto;
    width: 10px;
    height: 38px;
}
.arrow-down:after {
    content: '';
    display: block;
    margin: 0;
    padding: 0;
    width: 10px;
    height: 10px;
    border-top: 3px solid #FFFFFF;
    border-right: 3px solid #FFFFFF;
    behavior: url(-ms-transform.htc);
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}
#scroll-title {
    display: block;
    text-transform: uppercase;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
}
#scroll-down::before {
    -webkit-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Safari 4+ */
    -moz-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Fx 5+ */
    -o-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Opera 12+ */
    animation: elasticus 3.5s cubic-bezier(1, 0, 0, 1) infinite;
    /* IE 10+, Fx 29+ */
    position: absolute;
    top: 0px;
    left: 50%;
    width: 1px;
    height: 90px;
    background: #FFFFFF;
    content: ' ';
}
@-webkit-keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}
@-moz-keyframes elasticus {
    0% {
        -moz-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -moz-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -moz-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -moz-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -moz-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -moz-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -moz-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -moz-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}
@-o-keyframes elasticus {
    0% {
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}
@keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

.header-ease .col-md-6 {
    overflow: hidden;
}
.image-holder img {
    width: 100%;
    height: 44vh;
    object-fit: cover;
    opacity: 0;
    object-position: top center;
}
img.obj-fit-center,
.single-post .image-holder img {
    object-position: center center;
}
.intro {
    position: relative;
    z-index: 2;
    opacity: 0;
}
.intro .title {
    display: inline-block;
    font-size: 2.5rem;
    color: #333;
}
.intro .title .underline {
   /* color: #232323;*/
}

.description {
    position: relative;
    z-index: 1;
    margin: 1rem 0 1.5rem 0;
    opacity: 0;
}

.btn-outline-primary {
    color:#63929c;
    border-color:#63929c;
    border-radius: unset;
    transition: background-color 0.2s ease-in-out;
}
.btn-outline-primary:hover {
    background-color: #63929c;
}
.btn-outline-primary.d-2, #left {
    opacity: 0;
}
.active .description, .active .btn-outline-primary{
    animation: fadeIn 0.8s 0.6s ease forwards;
}
.active .intro {
    animation: fadeIn 0.8s 0.4s ease forwards;
}
.active .image-holder img, .active #left {
    opacity: 1;
}
.d-2 {animation-delay: 0.8s !important;}
.d-4 {animation-delay: 1.0s !important;}
.d-6 {animation-delay: 1.2s !important;}



.active #left:before {
    position: absolute;
    content: '';
    z-index: 1;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform-origin: 100% 50%;
    animation: revealRight 1s cubic-bezier(0.23, 1, 0.75, 1) forwards;
}

.active .image-holder:before {
    position: absolute;
    content: '';
    z-index: 1;
    display: block;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform-origin: 0% 100%;
    animation: revealLeft 1s cubic-bezier(0.23, 1, 0.75, 1) forwards;
}
@keyframes revealRight {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}
@keyframes revealLeft {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(20%);
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}
.logo-intro {
    z-index: 2;
}
.back-out {
    /*-webkit-animation: fadeOut 6s forwards;
    animation: fadeOut 6s forwards;*/
    transform-origin: 0% 100%;
    animation: revealLeft 1s 4s cubic-bezier(0.23, 1, 0.75, 1) forwards;
    overflow: hidden;
    height: 100vh;
}
.logo-out {
    -webkit-animation: fadeOut 5s 0.5s forwards;
    animation: fadeOut 3s 0.5s forwards;
}
@-webkit-keyframes fadeOut {
    0% {opacity: 1}
    90% {opacity: 1}
    100%{opacity: 0.0}
}

@keyframes fadeOut {
    0% {opacity: 1;}
    90% {opacity: 1; }
    100%{opacity: 0.0;}
}
.logo-pulse {
    opacity: 0;
    -webkit-animation: fadeInOut 5s 0.5s forwards;
    animation: fadeInOut 5s 0.5s forwards;
}
@-webkit-keyframes fadeInOut {
    0% {opacity: 0.0}
    30% {opacity: 1}
    85% {opacity: 1}
    100%{opacity: 0.0}
}

@keyframes fadeInOut {
    0% {opacity: 0.0}
    30% {opacity: 1}
    85% {opacity: 1}
    100%{opacity: 0.0}
}
.logo-left, .logo-right, .av-left, .av-right {
    position: relative;
}
.logo-left:after, .logo-right:after {
    position: absolute;
    content: '';
    z-index: 1;
    display: block;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #333;
    transform-origin: 0% 100%;
    animation: revealLeft 1s cubic-bezier(0.23, 1, 0.75, 1) forwards;
}
.logo-right:after {
    left: 0;
    transform-origin: 100% 50%;
    animation: revealRight 1s cubic-bezier(0.23, 1, 0.75, 1) forwards;
}
.av {
    z-index: 2;
}
.av-left {
    width: 290px;
    height: 36px;
    overflow: hidden;
    animation: reveal 1s 6s cubic-bezier(0.23, 1, 0.75, 1) backwards;
}
.av-right {
    width: 290px;
    height: 36px;
    overflow: hidden;
    animation: reveal 1s 6s cubic-bezier(0.23, 1, 0.75, 1) backwards;
}
@-webkit-keyframes reveal {
    0%   {width: 0px;}
    100% { width: 290px;}
}
@keyframes reveal {
    0%   {width: 0px;}
    100% { width: 290px;}
}
.av-left img, .av-right img {
    position: absolute;
    right: 0;
    top: 0;
    height: 36px;
    max-width: unset;
}
.av-right img {
    left: 0;
  }
@media (max-width:575px) {
    .logo-left, .logo-right {margin-top: -60px;}
    .av .col-12 {
        flex-direction: column;
    }
    .av-left img {
        right: 20px;
    }
}
.card-image .news-thumbnail {
    overflow: hidden;
}
.card-image .media-item {
    transition: -webkit-transform .75s ease;
    transition: transform .75s ease;
}
.boxes > div:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.boxes.mid-size > div:before {
    content: "";
    display: block;
    padding-top: 60%;
}
.boxes.mid-size a {
    background-image: none;
}
.boxes .cont-boxes {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
}
.boxes a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 0 1px inset #333333;
    transition: box-shadow 0.3s ease-in-out;
    color:#FFFFFF;
    /*background-image: url('/wp-content/themes/la/images/dandelion-fourth.png');*/
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 140px;
}

.boxes a h4 {
    color:#333333;
    font-weight: 500;
}
/*.boxes div:nth-child(2) a,.boxes div:nth-child(3) a  {
    background-color: #90a8ad;
}
.boxes div:nth-child(1) a,.boxes div:nth-child(4) a {
    background-color: #63929c;
}*/

@media (min-width: 1200px ) {
    .entry-content {
        font-size: 1.1rem;
    }
}
@media (min-width: 768px ) {
    #left {
        position: fixed;
        top: 0;
        bottom: 0;
    }
    .active .intro {
        animation: fadeInLeft 0.8s 0.4s ease forwards;
    }
    .intro .title {
        font-size: 3.25rem;
        padding: 1rem 2.5rem 0rem 2.5rem;
        background: #fff;
    }
    .single-post .intro .title {
        font-size: 2.25rem;
    }
    .image-holder img {
        height: 60vh;
    }
    .vertical .image-holder img {
        height: 100%;
    }
    .vertical .description {
        text-align: left;
    }
    /*.single-page .boxes div:nth-child(even) a  {
        background-color: #90a8ad;
    }
    .single-page .boxes div:nth-child(odd) a {
        background-color: #63929c;
    }*/
    .intro .title {
        /*white-space: nowrap;*/
    }
    .single-page .header, .archive .header, .main-contatti {
        margin-top:60px;
    }
    .contatti-bg {
        height: 100vh;
    }
    .return {
        display: none;
    }
}
/* SWIPER */
.swiper-container {
    width: 50%;
    height: 100vh;
    float: left;
}
/*.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    height:100vh;
    !* Center slide text vertically *!
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}*/
.swiper-slide {
    overflow: hidden;
}

.slide-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-size: cover;
    background-position: center;
}
@media (max-width: 767px ) {
    .swiper-container {
        width: 100%;
    }
    .page-template-page-contatti h3 {
        line-height: 30px;
        font-size: 20px;
    }
}
/* HOVERS */
@media (min-width: 768px ) {
    a:hover span {
        background-size: 100% 100%;
    }
    .card-insight:hover .card-image .media-item {
        -webkit-transform: scale(1.25);
        transform: scale(1.25);
    }
    .card-insight:hover .h4 a span{
        background-size: 100% 100%;
    }
    .boxes a:hover {
        box-shadow: 0 0 0 10px inset #333;
    }
    .back-button {
        text-transform: capitalize;
    }
    .back-button:after {
        opacity: 0;
        left: -30px;
    }
    .back-button:hover{
        color: #f0f0f0;
    }
    .back-button:hover:after {
        opacity: 1;
        left: -20px;
    }
}