/* DEFINE VARABLE */
/* ANIMAZIONI */
@-webkit-keyframes border_remove {
    from {
        padding: 30px;
    }
    to {
        padding: 0px;
    }
}

@keyframes border_remove {
    from {
        padding: 30px;
    }
    to {
        padding: 0px;
    }
}

@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-moz-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-webkit-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-o-keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* GENERICI */
* {
    font-family: "Montserrat", sans-serif;
    font-weight: 100;
}

h3 {
    color: #1b1b1c;
    font-size: 24px;
    line-height: 42px;
}

p {
    color: #8e8d8d;
    font-size: 16px;
    line-height: 32px;

}

.btn {
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0px 45px;
    line-height: 38px;
    font-size: 12px;
    border-radius: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    outline: none;
}

.btn span {
    font-weight: 500;
    display: inline-block;
    vertical-align: middle;
}

.btn-arrow {
    margin-left: 10px;
}

.btn-black {
    border: 1px solid #8e8d8d;
    color: #000;
    background-color: transparent;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.btn-green {
    border: 1px solid #00ff95;
    color: #00ff95;
    background-color: transparent;
}

.btn-green:hover {
    color: #00ff95;
}

.btn-black:hover {
    color: #FFF;
}

.btn-black::after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: #1b1b1c;
}

.btn-black:hover::after,
.btn-black:active::after {
    width: 100%;
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

body {
    overflow-x: hidden;

}

.no-padding {
    padding: 0;
}

/* SEZIONI */

.header .overlay {
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #000000;
    overflow-x: hidden;
    transition: .2s all linear;
    z-index: 3;
}

.menu-opened .header .overlay {
    opacity: 1;
    visibility: visible;
    transition: .5s all linear;
}

.header .overlay .overlay-content {
    position: relative;
    top: 50%;
    width: 100%;
    padding-left: 100px;
    transform: translateY(-50%);
}

.header .overlay a {
    text-decoration: none;
    font-size: 40px;
    letter-spacing: 2px;
    color: #818181;
    position: relative;
    display: block;
    transition: 0.3s;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

.header .overlay a:hover,
.header .overlay a:focus {
    color: #f1f1f1;
}

.header .overlay .closebtn {
    position: absolute;
    top: 60px;
    right: 100px;
    cursor: pointer;
    width: 50px;
}

.header .overlay .closebtn img {
    width: 100%;
}

.header .overlay .social {
    position: absolute;
    right: 100px;
    bottom: 60px;
}

.header .overlay .social ul {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.header .overlay .social ul li {
    margin-top: 40px;
}

.header .overlay .social ul li a {
    font-size: 15px;
}

.header .overlay .contatti, .contatti-overlay .contatti {
    position: absolute;
    left: 100px;
    bottom: 60px;
}

.header .overlay .contatti span, .contatti-overlay .contatti span {
    color: #818181;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 13px;
}

.header .overlay .contatti span:last-child, .contatti-overlay .contatti span:last-child {
    margin-left: 100px;
}

.header .main-logo {
    width: 121px;
    position: fixed;
    left: 100px;
    top: 60px;
    z-index: 4;
}

.header .main-logo img {
    height: 46px;
    left: 0;
    position: relative;
    transition: .3s all cubic-bezier(.89, -0.16, .21, 1.17);
}

.logo-scritta {
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;

}

.logo-scritta.hide-logo img {
    left: -100%;
}

.banner {
    padding: 60px 100px;
    overflow: hidden;
    box-sizing: border-box;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #1b1b1c;
    overflow: hidden;
}

.contatti-overlay {
    padding: 60px 100px;
    overflow: hidden;
    box-sizing: border-box;
    position: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    background-color: #1b1b1c;
    overflow: hidden;
    z-index: 4;
    visibility: hidden;
    opacity: 0;
    transition: .3s all linear;
}

.contatti-overlay .social {
    position: absolute;
    top: 60px;
    right: 100px;
}

.contatti-overlay .social ul {
    color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
}

.contatti-overlay .social ul li {
    margin-top: 40px;
}

.contatti-overlay .social ul li a {
    color: #fff;
    font-size: 15px;
}

.contatti-overlay .chat {
    z-index: 4;
    position: absolute;
}

.banner .lavoro-overlay {
    visibility: visible;
    opacity: 1;

}

.banner .title-header {
    position: absolute;
    right: -210px;
    top: 50%;
    transform: translateY(-50%);
}

.banner .title-header h1 {
    font-size: 270px;
    font-family: "Montserrat", sans-serif;
    color: #202121;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    text-transform: uppercase;
}

.banner .header-content-cell {
    position: relative;
    width: 100%;
    height: 100%;
}

.icon-menu {
    height: 50px;
    position: fixed;
    right: 100px;
    top: 60px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid #00ff95;
    line-height: 2px;
    text-align: center;
    z-index: 4;
    cursor: pointer;
}

.chat-opened .contatti-overlay {
    visibility: visible;
    opacity: 1;
}

.menu-opened .line-menu:nth-child(2) {
    visibility: hidden;
    opacity: 0;

}

.menu-opened .line-menu:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;

}

.menu-opened .line-menu:nth-child(3) {
    transform: rotate(-45deg);
    top: -5px;

}

.line-menu {
    margin-top: 2px;
    height: 2px;
    background-color: #00ff95;
    display: inline-block;
    width: 22px;
    position: relative;
    transition: .3s all ease;

}

.line-menu:first-of-type {
    margin-top: 15px;
}

.icon-menu img {
    height: 100%;
}

.chat {
    height: 50px;
    position: fixed;
    right: 100px;
    z-index: 1;
    bottom: 60px;
    z-index: 3;
    cursor: pointer;
}

.chat img {
    height: 100%;
}

.banner .header-content-cell .claim {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 50%;
}

.banner .header-content-cell .claim h2 {
    color: #FFF;
    font-size: 45px;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 100px;
}

.banner-lavoro .header-content-cell .claim h2 {
    color: #FFF;
    font-size: 38px;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 10px;
    font-weight: 300;
}

.banner-lavoro .lavoro-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

.banner .header-content-cell .claim .arrow {
    height: 30px;
    display: block;
    cursor: pointer;
}

.sottotitolo-lavoro {
    color: #fff;
    margin-bottom: 40px;
}

.anno {
    margin-bottom: 60px;
    color: #fff;
}

.anno:before {
    content: '';
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    background-color: #fff;
    height: 1px;
    vertical-align: middle;
}

.sect-100 {
    padding: 100px 0;
}

.sect-120 {
    padding: 120px 0;
}

#intro p {
    line-height: 32px;
}

.call-to-action {
    padding: 100px 0;
    background-color: #1b1b1c;
    width: 100%;
    display: table;
    height: 100%;
}

.call-to-action .call-to-action-cell {
    display: table-cell;
    vertical-align: middle;
}

.call-to-action .call-to-action-cell .testo {
    width: 70%;
    display: block;
    margin: 0 auto;
}

.call-to-action .call-to-action-cell .testo h2 {
    color: #FFF;
    font-size: 28px;
    line-height: 46px;
    font-weight: 400;
}

.da-slide p {
    font-weight: 400;
    top: 40%;
}

.da-slide h3 {
    top: 20%;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.gallery {
    padding: 0 15px;
}

.lavoro-immagine {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lavoro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: .3s all linear;
    -moz-transition: .3s all linear;
    -webkit-transition: .3s all linear;
    -o-transition: .3s all linear;
    -ms-transition: .3s all linear;
    background-color: rgba(49, 49, 49, 0.6);
}

.lavoro-info-overlay {
    padding: 0 50px;
    position: absolute;
    top: 80px;
    left: 0;
}

.lavoro-titolo-overlay {
    z-index: 1;
    opacity: 0;
    top: 15px;
    color: #fff;
    position: relative;
    font-size: 24px;
    font-weight: 400;
    transition: .3s all ease .2s;
    -moz-transition: .3s all ease .2s;
    -webkit-transition: .3s all ease .2s;
    -o-transition: .3s all ease .2s;
    -ms-transition: .3s all ease .2s;
}

.lavoro-categoria-overlay {
    opacity: 0;
    top: 15px;
    display: block;
    margin-top: 10px;
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    z-index: 1;
    font-weight: 400;
    position: relative;
    transition: .3s all ease;
    -moz-transition: .3s all ease;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    -ms-transition: .3s all ease;
}

.lavoro-categoria-overlay:hover, .lavoro-titolo-overlay:hover {
    color: #fff;
    text-decoration: none;

}

.lavoro-small .lavoro-immagine {
    padding-bottom: 60%;
}

.lavoro-big .lavoro-immagine {
    height: 100%;
}

.lavoro-immagine:hover .lavoro-overlay {
    opacity: 1;
    visibility: visible;
}

.lavoro-immagine:hover .lavoro-categoria-overlay {
    opacity: 1;
    top: 0;
    transition-delay: .2s;
    -moz-transition-delay: .2s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    -ms-transition-delay: .2s;
}

.lavoro-immagine:hover .lavoro-titolo-overlay {
    opacity: 1;
    top: 0;
    transition-delay: 0s;
    -moz-transition-delay: 0s;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    -ms-transition-delay: 0s;
}

.editlab-img {
    background-image: url("../img/editlab.png");
    background-position: left center;
    background-size: cover;
    background-repeat: no-repeat;
}

.footer {
    background-color: #1b1b1c;
}

.link-underlined {
    text-decoration: underline;
}

.mappa {
    height: 450px;
    position: relative;
    width: 100%;
    min-height: 100%
}

.infowindow-name {
    font-size: 16px;
    margin-top: 5px;
}

.infowindow-info {
    line-height: 20px;
}

.infowindow-info a {
    color: #000;
}

/*CHI SIAMO*/
.subtitle {
    color: #8e8d8d;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.studio-immagine {
    background-image: url('../img/studio.jpg');
}

.principi-immagine {
    background-image: url('../img/principi.jpg');
}

.immagine-sfondo {
    height: 0px;
    padding-bottom: 25%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.titolo-principio {
    color: #1b1b1c;
    font-size: 24px;
    line-height: 42px;
}

.persona {
    position: relative;
    height: 0;
    padding-bottom: 130%;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.persona-marco {
    background-image: url('../img/team/marco.jpg');
}

.persona-paolo {
    background-image: url('../img/team/paolo.jpg');
}

.persona-toz {
    background-image: url('../img/team/toz.jpg');
}

.team {
    margin-top: -100px;
    padding-bottom: 100px;
}

.bio {
    padding: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.nome-persona {
    position: relative;
    color: #fff;
    font-size: 18px;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.nome-persona:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #00ff95;
}

.persona:hover .lavoro-overlay {
    opacity: 1;
    visibility: visible;
}

.bio p {
    font-size: 14px;
    color: #fff;
}

.intro-portfolio {
    padding-top: 100px;
}

.versione-desktop, .versione-mobile {
    background-color: #1b1b1c;
}

.immagine-trasparente {
    position: relative;
    width: 100%;
}

.immagine-trasparente img {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.landing-page {
    width: 100%;
}

.form-title {
    color: #818181;
    font-size: 46px;
    font-weight: 300;
    margin-bottom: 60px;
    margin-top: 20px;
}

.form-field {
    height: 42px;
    padding: 10px 0px;
    background-color: transparent;
    color: #818181;
    border-top: 0;
    border-bottom: 1px solid #818181;
    width: 100%;
    border-left: 0;
    border-right: 0;
    margin-bottom: 50px;
}

.portfolio-section, .portofolio-full {
    background-color: #1b1b1c;
}

.work-title-wrap {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.work-title {
    top: 60px;
    font-size: 220px;
    font-family: "Montserrat", sans-serif;
    color: #202121;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    text-transform: uppercase;
    left: -100px;
    position: absolute;
}

.current-lavoro-immagine {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transform: scale(1.10);
    -webkit-transform: scale(1.10);
    transform: scale(1.10);
    opacity: 0.6;
    -webkit-transition: none;
    transition: none;

}

.current-image-wrap {
    overflow: hidden;
}

.current-lavoro-immagine.active {
    transform: scale(1, 1);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    opacity: 1;
}

.current-lavoro-immagine .lavoro-overlay {
    visibility: visible;
    opacity: 1;
}

.portfolio-section {
    position: relative;
}

.portfolio-item h3 {
    color: transparent;
    font-size: 60px;
    text-decoration: none;
    line-height: 69px;

    position: relative;
    -webkit-text-stroke: 1px #fff;
}

.portfolio-item h3 a {
    text-decoration: none;
    font-weight: 500;
    color: transparent;
}

.portfolio-item.swiper-slide-active h3 {
    color: #fff;
}

.portfolio-item.swiper-slide-active h3 a {
    color: #fff;
}

.portfolio-slider {
    position: absolute;
    top: 0;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: auto;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.portfolio-slider .swiper-pagination {
    top: 30px;
    right: 60px;
}

.portfolio-item {
    padding: 0 80px;
}

.swiper-pagination .arrow-prev img {
    width: 30px;
    transform: rotate(90deg);
}

.swiper-pagination span {
    cursor: pointer;
}

.swiper-pagination .arrow-next img {
    width: 30px;
    transform: rotate(-90deg);
    margin-left: 15px;
}

.portfolio-numer {
    font-size: 18px;
    position: absolute;
    line-height: 27px;
    top: 0;
    left: -25px;
}

.see-all {
    position: absolute;
    bottom: 60px;
    right: 60px;
    font-size: 20px;
    z-index: 11;
    color: #fff;
    font-weight: 400;
}

.portfolio-slider .slider-pagination {

    bottom: 60px;
    left: 60px;
    width: auto;
    color: #fff;
    position: absolute;

}

.slider-pagination-number {
    display: block;
    border-radius: 0;
    height: auto;
    width: auto;
    background: transparent;
    opacity: 0;
    position: absolute;
    top: -20px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
    transition: .3s all linear .3s;
}

.total-pagination {
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    vertical-align: top;
    width: 30px;
    height: 30px;
    position: relative;
    line-height: 30px;
    text-align: center;
    margin-left: 60px;
}

.total-pagination:before {
    content: '';
    height: 1px;
    background-color: #fff;
    width: 40px;
    position: absolute;
    top: 15px;
    left: -55px;
}

.slider-pagination-number.swiper-pagination-bullet-active {
    opacity: 1;
    top: 0;
}

.slider-pagination-inner {
    vertical-align: top;
    overflow: hidden;
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    line-height: 30px;
    text-align: center;
    position: relative;
    line-height: 30px;
}

/*FOOTER*/
.immagine-footer {
    height: 100%;
    padding: 80px 60px;
    background-position: center;
    background-image: url("../img/footer.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.footer small {
    font-weight: 300;
    color: #fff;
    font-size: 14px;
}

.footer .social ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .social li {
    display: inline-block;
    margin-right: 20px;
}

.footer .social li a {
    color: #8e8d8d;
}

.footer .footer-flex-column {
    padding: 80px 15px;
    display: flex;
    flex: 1 0 50%;
    align-items: center;
    justify-content: center;
}

.mouse {
    top: 0px;
    left: 0px;
    width: 35px;
    height: 35px;
    position: fixed;
    border-radius: 50%;
    border: 1px solid #8e8d8d;
    transform: translateX(-50%) translateY(-50%);
    transition: .3s border ease, .3s background-color ease, .3s width ease, .3s height ease;

}

.mouse.big {
    width: 60px;
    height: 60px;
    border-color: transparent;
    background-color: rgba(255, 255, 255, 0.3);
}

.servizi-item span {
    display: block;
}

.servizi-item {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 60px;
}

.servizi-item span, .servizi-item h3, .servizi-item p {
    color: #fff;
    text-align: left;
}

.servizi-item-wrap {
    width: 50%;
}

.servizi-slider .swiper-pagination {
    bottom: 30px;
    left: 60px;
}

/* RESPONSIVE */

@media screen and (max-width: 767px) {
    .immagine-trasparente img {
        position: relative;
        top: auto;
        left: auto;
        width:200px;
        transform: translateX(0);
    }
    p {
        font-size: 14px;
    }
    .header .main-logo {
        top: 15px;
        left: 15px;
    }

    .icon-menu {
        top: 15px;
        right: 15px;
    }
    .chat{
        bottom: 15px;
        right: 15px;
    }
    .banner .title-header h1, .work-title {
        font-size: 115px;
    }

    .banner {
        padding: 15px 15px;
    }
    .banner .header-content-cell .claim{
        max-width: 100%;
    }

    .banner .header-content-cell .claim h2 {
        font-size: 36px;
        margin-bottom: 50px;
    }
    .sottotitolo-lavoro{
        margin-bottom: 25px;
    }
    .sect-100 {
        padding: 50px 0;
    }

    .call-to-action {
        padding: 50px 0;
    }

    .work-title-wrap {
        height: 250px;
    }

    .portfolio-slider {
        position: absolute;
        top: auto;
        height: 55%;
        bottom: 0;

    }
    .mappa {
        height: 300px;
    }
    .call-to-action .call-to-action-cell .testo h2 {
        font-size: 22px;
        line-height: 40px;
    }
    .immagine-footer{
        padding: 30px 15px;
    }
    .footer .footer-flex-column{
        padding: 15px 7px;
    }
    .footer h3{
        font-size: 22px;
    }
    .portfolio-item h3{
        font-size: 46px;
    }
    .current-lavoro-immagine{
        padding-bottom: 60%;
    }
    .portfolio-item{
        padding: 0 40px;
    }
    .portfolio-slider .swiper-pagination {
        top:15px;
        right:15px;
    }
    #intro h3 {
        font-size: 22px;
        line-height: 38px;
    }
    .servizi-item{
        padding: 15px 15px 30px 15px;
    }
    .servizi-item-wrap {
        width: 100%;
    }
    .servizi-slider .swiper-pagination{
        left:15px;
    }
    .call-to-action .call-to-action-cell .testo{
        padding: 0 15px;
        width:100%;
    }
    .contatti-overlay{
        padding: 15px 15px;
    }
    .form-field {
        height: 35px;;
        margin-bottom: 15px;
    }
    .form-title {
        font-size: 32px;
        margin-bottom: 15px;
        margin-top: 0;
    }
    .immagine-sfondo {
        padding-bottom: 55%;

    }
    .lavoro-big .lavoro-immagine{
        padding-bottom: 60%;
        height: 0;
    }
    .portfolio .row-eq-height{
        flex-direction: column;
    }
    .lavoro-info-overlay{
        padding: 0 15px;
        top: 30px;
    }
    .team{
        margin-top: 0;
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .sect-120{
        padding: 30px 0;
    }
    .header .overlay .overlay-content{
        padding-left: 15px;
    }
    .header .overlay a{
        font-size: 30px;
    }
    .header .overlay .contatti, .contatti-overlay .contatti{
        left: 15px;
        bottom: 15px;
    }
    .header .overlay .social{
        right:15px;
    }
    .header .overlay .contatti span:last-child, .contatti-overlay .contatti span:last-child{
        margin-left: 50px;
    }
}


@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}
