/*
Theme Name: Collettivo Zed
Author: Catullo
Description: A basic theme using the Bootstrap framework.
Version: 1.0 
*/


/*=======================================================================
	
	Item Name 		|		Prova Sito
	
	Author Name		|		Catullo
	
-------------------------------------------------------------------------
	CSS Structure
-------------------------------------------------------------------------
	
	01- General CSS
	02- Preloader
	03- Front Section
	04- About Section
	05- News Section 
	06- Works Section 
	07- Contact Section
	08- Single Work Page 
	09- Single Post Page 
	10- Responsive CSS
	
	*Colors are in separate files.
	
=======================================================================*/


/*Importing Google Fonts */

@import url(https://fonts.googleapis.com/css?family=Raleway:400,700,600,300|Playfair+Display:700italic,400italic|Crimson+Text:400italic,600italic|Open+Sans:400,700);

/* @import url(https://fonts.googleapis.com/css?family=Quicksand:400,500,700);
@import url(https://use.fontawesome.com/releases/v5.7.2/css/all.css);
@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital@1&display=swap); */

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
/*=======================================================================
	General CSS
=======================================================================*/
* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

::-webkit-scrollbar {
    height: 10px;
    width: 10px;
    background: #FFF;
}

::-webkit-scrollbar-thumb {
    background: #BBB;
    border: solid 2px #FFF;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

::-moz-scrollbar {
    height: 10px;
    width: 10px;
    background: #FFF;
}

::-moz-scrollbar-thumb {
    background: #BBB;
    border: solid 2px #FFF;
}

::-moz-scrollbar-thumb:hover {
    background: #888;
}

img {
    max-width: 100%;
}

.parallax {
    background-size: cover;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.section-show {
    overflow: hidden;
}

body a.close-btn,
body.section-show .close-btn {
    opacity: 1;
    z-index: 100;
    -webkit-transition: opacity .4s 1.2s ease, background .3s ease;
    -moz-transition: opacity .4s 1.2s ease, background .3s ease;
    transition: opacity .4s 1.2s ease, background .3s ease;
    overflow: hidden;
}

.close-btn {
    position: fixed;
    height: 64px;
    width: 64px;
    cursor: pointer;
    display: block;
    top: 18px;
    right: 18px;
    opacity: 0;
    z-index: -99;
}

.close-btn>span {
    height: 3px;
    width: 40px;
    background: #BBB;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -1.5px;
}

.close-btn>span:before {
    content: ' ';
    position: absolute;
    top: 0;
    width: 0;
    height: inherit;
    background: #B7A389;
}

.close-btn>span:nth-of-type(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.close-btn>span:nth-of-type(2) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.close-btn>span:nth-of-type(1):before {
    left: 0;
}

.close-btn>span:nth-of-type(2):before {
    right: 0;
}

.close-btn:hover>span {
    background: transparent;
}

.close-btn:hover>span:before {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
    width: 100%;
}

.close-btn:hover>span:nth-of-type(2):before {
    -webkit-transition-delay: .3s;
    -moz-transition-delay: .3s;
    transition-delay: .3s;
}

.section-header h2 {
    font-size: 32px;
    letter-spacing: 6px;
    color: #333;
    margin-top: 0;
    margin-bottom: 35px;
    font-weight: 300;
}

.section-header p {
    margin-top: 30px;
    line-height: 1.7em;
    color: #8A8A8A;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

#wrapper {
    overflow-x: hidden;
}

.front-section {
    background: #FFF;
}

.section {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border: solid 4px #BBB;
    padding-top: 100px;
    z-index: -9;
    background: #FFF;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

body.section-show .section.active {
    -webkit-transition: opacity .4s 1.2s ease;
    -moz-transition: opacity .4s 1.2s ease;
    transition: opacity .4s 1.2s ease;
    z-index: 99;
    opacity: 1;
    visibility: visible;
}

.bg-lightgray {
    background: #F5F5F5;
}

.footer {
    padding: 30px 0;
    background: #FFF;
    border-top: solid 1px #F0F0F0;
    margin-top: auto;
}

.footer h4,
h6 {
    font-size: 10px;
    letter-spacing: 4px;
    margin: 0;
    margin-top: 3.5px;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    color: #999;
}

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

@media only screen and (max-width: 991px) {
    .footer-social {
        padding-top: 10px;
    }
}

.footer-social>li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin-left: 30px;
}

.footer-social>li>a {
    text-decoration: none;
    height: 26px;
    width: 26px;
    line-height: 26px;
    /* vertical-align:middle; */
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    display: block;
    text-align: center;
    color: #BBB;
    background: #F0F0F0;
    font-size: 0;
}

.footer-social>li>a>i {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: inline-block;
    *display: inline;
    *zoom: 1;
    line-height: inherit;
    width: inherit;
    height: inherit;
    vertical-align: middle;
}

.footer-social>li>a>i:before {
    font-size: 14px;
    line-height: 1em;
    vertical-align: middle;
}

.footer-social>li>a:hover {
    background: #B7A389;
    color: #FFF;
}

.section-block>.container,
.section-block {
    position: relative;
}

.section-block {
    overflow: hidden;
}


/*NAVBAR*/

@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');

/* Navbar section */

.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index: 999;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav div.logo a {
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 2.5rem;
    font-weight: 600;
}

.nav div.logo a:hover {
    color: #087c8d;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
    color: rgb(0, 0, 0);
    line-height: 65px;
    font-size: 2.4rem;
    font-weight: 600;
}

.nav div.main_list ul li a:hover {
    color: #087c8d;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


/*Underline*/

#mainListDiv ul.navlinks li.underline a {
    text-decoration: underline;
}


/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container-fluid {
        margin: 0;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: -15px;
        margin-top: -22px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: rgb(202, 192, 192);
        opacity: 0.9;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.media_button {
        display: block;
    }
}


/* Animation */


/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: rgb(0, 0, 0);
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    background-color: rgb(202, 192, 192);
    opacity: 0.9;
}

@media screen and (min-width:768px) {
    .affix {
        padding: 0;
    }
}


/*=======================================================================
	Preloader
=======================================================================*/

.js #preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFF;
    z-index: 199;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
}

.js #preloader .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.js body.loaded #preloader {
    -webkit-transform: scale(.6) translateY(-100%);
    -moz-transform: scale(.6) translateY(-100%);
    -ms-transform: scale(.6) translateY(-100%);
    -o-transform: scale(.6) translateY(-100%);
    transform: scale(.6) translateY(-100%);
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.no-js #preloader {
    display: none;
}

.divider-draft {
    position: relative;
    height: 2px;
    background: #333;
    width: 40px;
    display: block;
    margin: 15px 0;
}

.divider-draft:before,
.divider-draft:after {
    content: ' ';
    width: 25px;
    height: 1px;
    background: #333;
    position: absolute;
    left: 0;
}

.divider-draft.center {
    margin: auto;
}

.divider-draft.center:before,
.divider-draft.center:after {
    right: 0;
    margin: auto;
}

.divider-draft:before {
    top: -6px;
}

.divider-draft:after {
    bottom: -6px;
}


/*=======================================================================
	Front Section
=======================================================================*/


/* SLIDER */

.slider-piero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    /* background-position: center center; */
    /* questi due sono per far riempire tutto lo schermo */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}


/* POTREI FAR SPARIRE LA SCRITTA TOGLIENDO QUESTO
   POSSO USARLO PER INTERVENIRE DIRETTAMENTE SU DI ESSA */

.slide.current {
    opacity: 1;
}

.content-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
}

.centro {
    z-index: 99;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.centro span,
h2 {
    font-size: 5rem;
    color: #000000;
}

.buttons button#next {
    position: absolute;
    top: 40%;
    right: 15px;
}

.buttons button#prev {
    position: absolute;
    top: 40%;
    left: 15px;
}

@media (max-width: 500px) {
    .slide .centro {
        bottom: -300px;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 616px) {
    .centro span,
    h1 {
        display: none;
    }
}


/*=======================================================================
	About Section
=======================================================================*/

.basic-info {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.basic-info .section-header {
    margin-bottom: 80px;
}

.about-info>p {
    line-height: 1.8em;
    margin-top: -.4em;
/*     text-align: justify; */
	text-align: center;
}

.about-person-img {
    /*text-align: center;
    max-width: 100%;*/
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.about-profiles {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.about-card {
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
}

.about-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.intro>p {
    text-align: justify;
}


/* .about-person-img > img{
	max-width:100%;
} */

.person {
    border: 10px solid transparent;
    margin-bottom: 25px;
    width: 80%;
    height: 80%;
    opacity: 0.7;
}

.person:hover {
    border-color: #f1f1f1;
}

.piero>a>img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.collapse {
    text-align: justify;
}

.about-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
    padding: 0 20px;
}


/*=======================================================================
	News Section
=======================================================================*/

.posts-block {
    padding: 90px 0;
    padding-top: 100px;
}

.posts-block .section-header {
    margin-bottom: 60px;
}

.post {
    position: relative;
    margin-bottom: 60px;
}

.post>.media>img {
    width: 100%;
}

.post>.content {
    margin-top: 25px;
}

.post>.content>h4 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 8px;
}

.post>.content>h4>a {
    color: inherit;
    text-decoration: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

.post>.content>h4>a:hover {
    color: #B7A389;
}

.post>.content>p {
    line-height: 1.8em;
    color: #777;
    margin-bottom: 22px;
}

.post .post-icons {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 0;
    margin-bottom: 22px;
}

.post .post-icons>li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    font-size: 14px;
    color: #777;
    padding-right: 20px;
}

.post .post-icons>li>i {
    margin-right: 5px;
}

.post .read-more {
    color: #333;
    text-decoration: none;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.post .read-more:hover {
    color: #B7A389;
}

.post .read-more>i {
    vertical-align: middle;
    font-size: 1.5em;
    margin-left: 8px;
    position: relative;
}


/* @media (max-width: 768px) {
    .post {
        margin: auto;
        width: 50%;
    }
} */


/*=======================================================================
	Works Section
=======================================================================*/

.portfolio-block {
    padding-bottom: 100px;
    padding-top: 100px;
}

.portfolio-block .section-header {
    margin-bottom: 45px;
}

.portfolio-items>.item {
    width: 33.333%;
    position: relative;
    padding: 10px;
    float: left;
}

@media(max-width:992px) {
    .portfolio-items>.item {
        width: 50%;
    }
}

@media(max-width:768px) {
    .portfolio-items>.item {
        width: 100%;
    }
}

.portfolio-items>.item>.inner>img {
    width: 100%;
    /*	padding: 10px; mettendo questo esce il bordo scuro */
}

.portfolio-items>.item>.inner {
    position: relative;
}

.portfolio-items>.item>.inner>.caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #333;
    background: rgba(51, 51, 51, .8);
    color: #FFF;
    text-align: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

.portfolio-items>.item>.inner:hover>.caption {
    opacity: 1;
    visibility: visible;
}

.portfolio-items>.item>.inner>.caption>.caption-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 75%;
}

.portfolio-items>.item>.inner>.caption>.caption-inner>h4 {
    font-size: 22px;
    margin: 0;
    margin-bottom: 30px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(15px);
    -moz-transform: translateY(15px);
    -ms-transform: translateY(15px);
    -o-transform: translateY(15px);
    transform: translateY(15px);
    -webkit-transition: all .3s .1s ease;
    -moz-transition: all .3s .1s ease;
    transition: all .3s .1s ease;
}

.portfolio-items>.item>.inner:hover>.caption>.caption-inner>h4 {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.portfolio-items>.item>.inner>.caption>.caption-inner>.links {
    list-style: none;
    color: #FFF;
}

.portfolio-items>.item>.inner>.caption>.caption-inner>.links>li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin: 0 11px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(15px);
    -moz-transform: translateY(15px);
    -ms-transform: translateY(15px);
    -o-transform: translateY(15px);
    transform: translateY(15px);
    -webkit-transition: all .3s .2s ease;
    -moz-transition: all .3s .2s ease;
    transition: all .3s .2s ease;
}

.portfolio-items>.item>.inner>.caption>.caption-inner>.links>li:nth-of-type(2) {
    -webkit-transition-delay: .3s;
    -moz-transition-delay: .3s;
    transition-delay: .3s;
}

.portfolio-items>.item>.inner:hover>.caption>.caption-inner>.links>li {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.portfolio-items>.item>.inner>.caption>.caption-inner>.links>li>a {
    display: block;
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 0;
    border: solid 1px #FFF;
    color: #FFF;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-items>.item>.inner>.caption>.caption-inner>.links>li>a>i {
    display: block;
    height: inherit;
    width: inherit;
    line-height: inherit;
    /* vertical-align: top; */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.portfolio-items>.item>.inner>.caption>.caption-inner>.links>li>a>i:before {
    font-size: 16px;
    vertical-align: middle;
    line-height: 1em;
}

.portfolio-items>.item>.inner>.caption>.caption-inner>.links>li>a:hover {
    background: #FFF;
    background: rgba(255, 255, 255, .9);
    color: #333;
}

#portfolio-filters {
    text-align: center;
    margin-bottom: 45px;
}

#portfolio-filters>ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
}

#portfolio-filters>ul>li {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    font-size: 14px;
    padding: 0 26px;
    position: relative;
}

#portfolio-filters>ul>li:last-of-type:after {
    display: none;
}

#portfolio-filters>ul>li:after {
    content: ' ';
    position: absolute;
    right: -9px;
    top: 50%;
    margin-top: -3px;
    height: 6px;
    width: 6px;
    border: solid 1px #E5E5E5;
    transform: rotate(45deg);
}

#portfolio-filters>ul>li>a {
    display: block;
    color: #999;
    text-decoration: none;
}

#portfolio-filters>ul>li>a:hover,
#portfolio-filters>ul>li>a.active {
    color: #333;
}

#portfolio-filters>ul>li>a.active {
    text-decoration: line-through;
}


/*bottone */


/*=======================================================================
	Contact Section
=======================================================================*/

.contact-block {
    padding-bottom: 100px;
    padding-top: 100px;
}


/*mappa google*/

.map-container {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-container iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.divider {
    position: relative;
    height: 2px;
    background: #333;
    width: 40px;
    display: block;
    margin: 15px 0;
}

.divider.center {
    margin: auto;
    margin-bottom: 20px;
    margin-top: 10px
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10;
    margin-top: 20px;
    margin-bottom: 20px;
}

.info-list:before,
.info-list:after {
    content: ' ';
    display: table;
}

.info-list:after {
    clear: both;
}

.info-list>li>.inner {
    padding: 10px 0;
}

.info-list>li>* {
    line-height: 1em;
    margin: 0;
}

.info-list>li>.inner>h4 {
    font-size: 13px;
    letter-spacing: 4px;
    margin-right: 16px;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.info-list>li>.inner>p {
    font-size: 16px;
    color: #777;
    display: block;
}

.collaboration>p {
    text-align: justify;
}


/*=======================================================================
	Single Work Page
=======================================================================*/

.single-work {
    padding-top: 90px;
    padding-bottom: 100px;
    /* oppure 130px*/
}

.work-info {
    list-style: none;
    margin: 0;
    margin-top: 100px;
}

@media(min-width:992px) {
    .work-info {
        padding-left: 25px;
        margin-top: 100px;
    }
}

.work-info>li {
    margin-bottom: 55px;
    margin-top: 5px;
    padding: 0;
}

.work-info>li>h4>i {
    margin-right: 8px;
}

.work-info>li>h4 {
    font-size: 16px;
    letter-spacing: 2px;
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.work-info>li>p {
    color: #777;
}

.work-content>.block {
    margin-top: 60px;
}

.work-content>.block h4 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.work-content>.block p {
    line-height: 1.9em;
}


/*miniatureee*/

.owl-carousel {
    padding-top: 15px;
}

.owl-carousel img {
    padding: 5px;
}


/*=======================================================================
	Single Post Page
=======================================================================*/

.news-info {
    list-style: none;
    margin: 0;
    margin-top: 100px;
}

@media(min-width:992px) {
    .news-info {
        padding-left: 25px;
        margin-top: 10px;
    }
}

@media(max-width:991px) {
    .news-info>li {
        float: left;
        margin-bottom: 55px;
        margin-top: 5px;
        margin-left: 25px;
        padding: 0;
    }
}

.news-info>li {
    margin-bottom: 55px;
    margin-top: 5px;
    padding: 0;
}

.news-info>li>h4>i {
    margin-right: 8px;
}

.news-info>li>h4 {
    font-size: 16px;
    letter-spacing: 2px;
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.news-info>li>p {
    color: #777;
}

.news-content>.block {
    margin-top: 60px;
}

.news-content>.block h4 {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.news-content>.block p {
    line-height: 1.9em;
}


/*=======================================================================
	Responsive CSS
=======================================================================*/

@media (max-width:992px) {
    .about-person-img {
        margin-bottom: 40px;
        text-align: center;
    }
    .info-list>li {
        /* width: 50%; */
    }
    .front-section {
        padding-bottom: 110px;
    }
    .front-heading>h2 {
        font-size: 50px;
    }
    .front-person-img {
        height: 360px;
        width: 360px;
    }
    .front-person-img>img {
        -webkit-transform: rotate(-45deg) translateY(45px);
        -moz-transform: rotate(-45deg) translateY(45px);
        -ms-transform: rotate(-45deg) translateY(45px);
        -o-transform: rotate(-45deg) translateY(45px);
        transform: rotate(-45deg) translateY(45px);
    }
    .front-person-links {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        margin-top: 110px;
        text-align: center;
        position: relative;
        margin-bottom: 0;
        width: auto;
        height: auto;
    }
    .front-person-links>ul {
        top: 0;
        left: auto;
        position: relative;
        display: inline-block;
        *display: inline;
        *zoom: 1;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }
    .front-person-links>ul>li {
        margin-bottom: 1px;
        display: block;
    }
    .front-person-links>ul>li>a:before,
    .front-person-links>ul>li>a:after {
        position: absolute;
        left: 0;
        height: 2px;
        top: 50%;
        margin-top: -1px;
        display: block;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        opacity: .5;
        display: none;
    }
    .front-person-links>ul>li>a:after {
        left: auto;
        right: 0;
    }
    .front-person-links>ul>li>a:hover:before {
        width: 15px;
    }
    .front-person-links>ul>li>a {
        text-align: center;
        padding: 22px 48px;
        display: block;
        font-size: 22px;
        letter-spacing: 2px;
        text-transform: none;
    }
    .front-person-titles {
        margin-top: 125px;
        transform: none;
        text-align: center;
        width: 80%;
        height: auto;
        opacity: 1;
    }
    .front-person-titles>span {
        position: relative;
        transform: none !important;
        display: block;
        margin: 25px 0;
        letter-spacing: 10px;
        font-size: 16px;
        text-transform: uppercase;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
    }
    .front-heading {
        margin-top: 80px;
    }
}

@media (max-width:768px) {
    .front-person-links {
        margin-top: 65px;
    }
    .front-person-img {
        width: 65%;
        padding-top: 65%;
        height: 0;
        margin-top: 120px;
    }
    .front-person-img>img {
        -webkit-transform: rotate(-45deg) translateY(45px);
        -moz-transform: rotate(-45deg) translateY(45px);
        -ms-transform: rotate(-45deg) translateY(45px);
        -o-transform: rotate(-45deg) translateY(45px);
        transform: rotate(-45deg) translateY(100px);
        position: absolute;
        bottom: 0;
        left: -40px;
    }
}