@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Playfair+Display:400,400i,700,700i,900,900i';

/*
font-family: 'Playfair Display', serif;
font-family: 'Lato', sans-serif;
*/
body{overflow-x: hidden !important;}

/* typography
==================================================*/
h1, p, h4{color: #444;}
#home h1 {
    font-family: 'Playfair Display', serif;
    font-size:90px;
    line-height: 70px;
}
#home h1 span{font-size: 45px;}
#home h4 {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    color: #444;
    margin-left: 40px;
    font-weight: 400;
    font-size: 13px;
    
}

#home h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 1px;
    background: #444;
    top: 9px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 70px;
}
h1 span{font-size: 45px;}
h4 {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    color: #444;
    margin-left: 40px;
    font-weight: 400;
    font-size: 13px;
}

h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 1px;
    background: #444;
    top: 9px;
}
.timeline-event-copy h3.sottotitolo{font-family: 'Playfair Display', serif;}
.timeline-event-copy p strong{color: #444;}


/* General
==================================================*/

body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 24px;
}

.size-50 {
    font-size: 50px;
    line-height: 50px
}

.h-50 {
    height: 50px;
}

#banda{background-color: #e9e5d9;padding-top: 5%;padding-bottom: 5%;color: #fff;text-align: center;}
/* preloader
==================================================*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 10000
}

#status,
.preloader {
    top: 50%;
    left: 50%;
    position: absolute
}

#status {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center;
    margin: -50px 0 0 -50px
}

.preloader {
    height: 40px;
    width: 40px;
    margin-top: -20px;
    margin-left: -20px
}

.preloader:before {
    content: "";
    display: block;
    position: absolute;
    left: -1px;
    top: -1px;
    height: 100%;
    width: 100%;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
    border: 2px solid #e9e5d9;
    border-top: 2px solid transparent;
    border-radius: 100%
}

.preloader>.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 25px;
    width: 10.6px;
    margin-top: -12.5px;
    margin-left: -5.3px;
    -webkit-animation: wink 1s ease-in-out infinite alternate;
    animation: wink 1s ease-in-out infinite alternate
}

@media only screen and (min-width:768px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader:before {
        left: -2px;
        top: -2px;
        border-width: 2px
    }
    .preloader>.icon {
        height: 37.5px;
        width: 15.9px;
        margin-top: -18.75px;
        margin-left: -7.95px
    }
}

@media only screen and (min-width:1200px) {
    .preloader {
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px
    }
    .preloader>.icon {
        height: 50px;
        width: 21.2px;
        margin-top: -25px;
        margin-left: -10.6px
    }
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

@keyframes rotation {
    from {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg)
    }
}

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

@keyframes wink {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}


/* Header
==================================================*/

header {
    text-align: center;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
}

nav ul {
    display: inline-block;
    padding-left: 0;
    list-style: none;
    padding: 20px;
    margin-bottom: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-size: 11px;
    font-weight: bold;
    padding-left: 3px;padding-right: 3px;

}

.bg-nav {
    background: #fff;
    border-bottom: 1px solid #f3f3f3
}

.bg-nav ul {
    padding: 10px;
}

a:focus {
    color: #444;
    text-decoration: none;
}

a:hover {
    background-color: #e9e5d9;
     color: #444;
    text-decoration: none;
}

a.active {
    background-color: #e9e5d9;
     color: #444;
}


/* home section
==================================================*/

#home {
    background: url(../img/home-bg-2.jpg);
    background-size: cover;
    height: 100vh;
    background-repeat: no-repeat;
}
.header_page{background: url(../img/header-page.png);background-size: 100% auto;height: 50vh;background-color: #e9e5d9;background-position: center right;background-repeat: no-repeat;}
.header_page_sudinoi{background: url(../img/header-su-di-noi.png);background-size: 100% auto;height: 50vh;background-color: #e9e5d9;background-position: center right;background-repeat: no-repeat;}
.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.disply-table {
    display: table;
    height: 100vh;
}
.disply-table-interno{display: table;height: 50vh;}
.disply-table-interno h4, .disply-table-interno h1{color: #444;}
.disply-table-interno h4:before{background-color: #444;}
#img_fixed{background-attachment: fixed;height: 70vh;background-image: url(../img/ale-silva.jpg);background-position: center;background-repeat: no-repeat;background-size: cover;}
#img_fixed2{background-attachment: fixed;height: 70vh;background-image: url(../img/cerimonia.jpg);background-position: center;background-repeat: no-repeat;background-size: cover;}
.paragrafo_padding{border-left: 10px solid #e9e5d9;padding-left: 25px;padding-top: 10px;padding-bottom: 10px;}
p{font-size: 16px;letter-spacing: 1px;font-family: 'Lato', sans-serif;}
/* about section
==================================================*/

#about,  #about2{
    padding: 100px 0;
}

.about-img-div img {
    margin: 0 auto;
}

.about-border {
    position: absolute;
    border: 10px solid #e9e5d9;
    width: 400px;
    height: 400px;
    top: 40px;
    left: 50px;
    z-index: 1
}
p.silvia_quote{border-left: 1px solid #444;padding-left: 50px; color: #444;font-size: 4em;line-height: 1.3em; text-align: left;font-style: italic; font-family: 'Playfair Display', serif;}

/* experience section
==================================================*/

#experience {
    padding: 100px 0;
    background: #f3f3f3
}

.experience-row {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.experience-row h3 {
    font-family: 'Lato', sans-serif;
    text-transform: capitalize;
    letter-spacing: 2px;
    color: #e9e5d9;
    font-size: 16px;
    font-weight: bold
}

.experience-row p {
    color: #888;
    margin-top: 20px;
    font-size: 15px;
}

.experience-row .date {
    color: #000;
    font-size: 17px;
}

.timeline {
    padding-left: 0;
    list-style: none;
    position: relative;
}

.timeline:before {
    background-color: #444;
    content: '';
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 2em;
    width: 1px;
    height: 100%;
}

.timeline-event {
    position: relative;
}

.timeline-event:hover .timeline-event-icon {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #444;
}

.timeline-event:hover .timeline-event-thumbnail {
    box-shadow: inset 40em 0 0 0 #444;
}

.timeline-event-copy {
    padding: 2em;
    position: relative;
    top: -1.875em;
    left: 4em;
    width: 100%;
}

.timeline-event-copy h3 {
    font-size: 1.75em;
}

.timeline-event-copy h4 {
    font-size: 1.2em;
    margin-bottom: 1.2em;
}

.timeline-event-copy strong {
    font-weight: 700;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
    padding-bottom: 1.2em;
}

.timeline-event-icon {
    -webkit-transition: -webkit-transform 0.2s ease-in;
    transition: -webkit-transform 0.2s ease-in;
    transition: transform 0.2s ease-in;
    transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #e9e5d9;
    outline: 10px solid #f3f3f3;
    display: block;
    margin: 0.5em 0.5em 0.5em -0.5em;
    position: absolute;
    top: 0;
    left: 2em;
    width: 1em;
    height: 1em;
}

.timeline-event-thumbnail {
    -moz-transition: box-shadow 0.5s ease-in 0.1s;
    -o-transition: box-shadow 0.5s ease-in 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in;
    -webkit-transition-delay: 0.1s;
    -webkit-transition: box-shadow 0.5s ease-in 0.1s;
    transition: box-shadow 0.5s ease-in 0.1s;
    color: white;
    font-size: 12px;
    font-weight: bold;
    background-color: black;
    box-shadow: inset 0 0 0 0em #e9e5d9;
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 0.25em 1em 0.2em 1em;
}


/* projects section
==================================================*/

#projects {
    padding: 100px 0;
}

.portfolio .categories-grid span {
    font-size: 30px;
    margin-bottom: 30px;
    display: inline-block;
}

.portfolio .categories-grid .categories ul li {
    list-style: none;
    margin: 20px 0;
}

.portfolio .categories-grid .categories ul li a {
    display: inline-block;
    color: #60606e;
    padding: 0 10px;
    margin: 0 14px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
    text-decoration: none;
}

.portfolio .categories-grid .categories ul li a.active {
    background-color: #e9e5d9;
    padding: 0px 20px;
    color: white;
    text-decoration: none;
}

.portfolio_filter {
    padding-left: 0;
}

.portfolio_item {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 30px;
}

.portfolio_item .portfolio_item_hover {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: #e9e5d9;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    color: #333;
}

.portfolio_item .portfolio_item_hover .item_info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    font-weight: bold;
}

.portfolio_item .portfolio_item_hover .item_info span {
    display: block;
    color: #444;
    font-size: 21px;
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
        font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.portfolio_item .portfolio_item_hover .item_info em {
    font-style: normal;
    display: inline-block;
    padding: 0px 20px;
    color: #444;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
    font-size: 11px;
    letter-spacing: 2px;
        font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-weight: lighter;
    margin-top: 0;
}

.portfolio_item:hover .portfolio_item_hover {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio .categories-grid .categories ul li {
    float: left;
}

.portfolio .categories-grid .categories ul li a {
    padding: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio_filter {
    padding-left: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}



.portfolio-padding {
    padding: 50px 0;
}

.portfolio-inner {
    padding-bottom: 0 !important;
    padding-top: 55px;
}

.modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
    border: none;
}

.popup-modal {
    background: #fff;
}

.close-popup-modal {
    float: right;
    margin: 20px;
    font-size: 22px;
    opacity: 0;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
    position: fixed;
    z-index: 100000;
    right: 14px;
}

.animatedModal-on .close-popup-modal {
    opacity: 1;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    line-height: 50px;
}


/* contact
==================================================*/

#contact {
    padding: 100px 0;
    background: #f3f3f3
}

#contact-form input,
#contact-form textarea {
    height: 50px;
    margin-bottom: 10px;
    border-radius: 0;
}

#contact-form label {
    display: block;
    margin-bottom: .2em;
    font-size: 13px;
    line-height: 13px;
    font-size: 1.3rem;
    line-height: 1.3rem;
    color: #000;
}

#contact-form label.error {
    margin-top: 10px;
    margin-bottom: 1em;
    font-size: 12px;
    line-height: 12px;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #D33E43;
    margin-left: 10px
}

#contact-form input[type="text"].error,
#contact-form input[type="password"].error,
#contact-form input[type="date"].error,
#contact-form input[type="datetime"].error,
#contact-form input[type="datetime-local"].error,
#contact-form input[type="month"].error,
#contact-form input[type="week"].error,
#contact-form input[type="email"].error,
#contact-form input[type="number"].error,
#contact-form input[type="search"].error,
#contact-form input[type="tel"].error,
#contact-form input[type="time"].error,
#contact-form input[type="url"].error,
#contact-form textarea.error {
    border-color: #D33E43
}

textarea {
    resize: none;
}

fieldset {
    border: 0px;
    margin: 0;
    padding: 0
}

.required {
    color: #e9266d
}

#success,
#error {
    display: none
}

#success p,
#error p {
    display: block;
}

#success p {
    color: #e9e5d9;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #e9e5d9;
    margin-top: 10px;
}

#error p {
    color: #D33E43;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    border: 2px solid #D33E43;
    margin-top: 10px;
}

#submit {
    background-color: #e9e5d9;
    color: #444;
    padding: 10px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    width: 100%;
}

.social {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.social li {
    float: left;
}

.social li a {
    color: #333;
    font-size: 35px;
    margin-right: 15px;
    transition: all .3s;
    -webkit-transition: all .3s;
}

.social li a:hover {
    color: #e9e5d9;
}


.timeline-event-copy h4 {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    color: #444;
    margin-left: 40px;
    font-weight: bold;
    font-size: 11px;
}

.timeline-event-copy h4:before {
    position: absolute;
    width: 19px;
    left: -40px;
    content: "";
    display: block;
    height: 1px;
    background: #444;
    top: 5px;
}
.dati_contatto h3{}
.timeline-event-copy p{padding-right: 40%;}
.save_the_date{border-left: 4px dotted  rgba(68,68,68,0.27);color: #fff;padding-top: 40px;padding-bottom: 40px;}
.save_the_date img{text-align: center;display: block;margin: 0 auto;width: 43px;height: auto;margin-bottom: 20px;}
.titolo{color: #444;opacity: 0.25; font-family: 'Playfair Display', serif;font-size: 90px;line-height: 70px;text-align: left;font-style: italic;}
.save_the_date h4{color: #fff;display: block;text-align: center;margin: 0 auto;font-family: 'Lato', sans-serif;font-size: 12px;font-weight: bold;color: #444;opacity: 0.6;}
.save_the_date h3{color: #444;display: block;text-align: center;margin: 0 auto;font-family: 'Playfair Display', serif;font-size: 21px;}
.titolo span{font-size: 45px;}
#banda_home{background-color: #e9e5d9;padding-top: 30px;padding-bottom: 30px;}
.small_line{text-align: center;display: block;margin: 15px auto;height: 1px; width: 13px;background-color: rgba(68,68,68,0.27);}
.lineBB{text-align: left;display: block;margin: 15px auto;height: 1px; width: 26px;background-color: rgba(68,68,68,0.27);margin-left: 0;}
.save_the_date h4:before{display: none;}
p a{color: #444;border-bottom: 2px solid #e9e5d9;}
p a:hover{color: color: #444;border-bottom: 0px solid #e9e5d9;}

#bottom_banda_home{background-color: #fff;padding-top: 10px;padding-bottom: 16px;border-top: 1px solid rgba(68,68,68,0.3);}
#bottom_banda_home h5{font-family: 'Playfair Display', serif;font-size: 19px;text-align: right;display: block;color: #444;float: right;}
#bottom_banda_home a{color: #444;transition: all 0.6s ease;-ms-transition: all 0.6s ease;-webkit-transition: all 0.6s ease;-moz-transition: all 0.6s ease;-o-transition: all 0.6s ease;}
#bottom_banda_home a span{margin-left: 1px; font-weight: bold; transition: all 0.6s ease;-ms-transition: all 0.6s ease;-webkit-transition: all 0.6s ease;-moz-transition: all 0.6s ease;-o-transition: all 0.6s ease;}
#bottom_banda_home a:hover span{margin-left: 5px; transition: all 0.6s ease;-ms-transition: all 0.6s ease;-webkit-transition: all 0.6s ease;-moz-transition: all 0.6s ease;-o-transition: all 0.6s ease;}
/*p.apici{color: rgba(000,000,000,0.17);font-weight: bold;font-family: 'Playfair Display', serif;position: absolute;font-size: 200px;font-style: italic;left: 0;top: }*/
.dati_contatto h3{font-family: 'Playfair Display', serif;font-size: 23px;}
.table-cell h5{    font-family: 'Lato', sans-serif;    letter-spacing: 2px;
    position: relative;text-transform: uppercase;
    color: #444;padding-right: 10px;border-right: 1px solid rgba(68,68,68,0.5);line-height: 20px;
    font-weight: 400;
    font-size: 12px;float: right;text-align: right;margin-top: 40px;}
.citazione{display: block;text-align: center;margin: 18% auto;max-width: 60%;width: 60%;}
#banda .citazione{display: block;text-align: center;margin: 1% auto;max-width: 60%;width: 60%;}
.citazione h3{ font-family: 'Playfair Display', serif;color: #444;font-size: 37px;text-align: left;font-weight: lighter;line-height: 50px;padding-left: 25px;margin-left: 35%;border-left: 1px solid rgba(68,68,68,0.5);padding-top: 50px;}
.line-verticale{background-color: rgba(68,68,68,0.7);width: 1px;height: 61px;text-align: center;display: block;margin: 10% auto;}  
.quoteHome{font-family: 'Lato', sans-serif; font-weight: 300;font-style: italic;font-size: 19px;color: rgba(68,68,68,0.6);text-align: left;}
.virgolette{font-weight: bold;font-family: 'Playfair Display', serif;color: #444;font-size: 190px;text-align: left;opacity: 0.2;display: block;margin-bottom: 40px;}
iframe.contatti-mappa{width: 100% !important;height: auto;min-height: 450px !important;}


/* Responsive media queries
==================================================*/
.hide-mobile{display: block;}
.hide-dsk{display: none;}

@media (max-width: 1200px) {.citazione{max-width: 70%;width: 70%;}}

@media (max-width: 991px) {
    #circle{position: absolute;right: 0;top: 120px;height: 60vh;width: auto;}
    #img_fixed{height: 50vh;background-attachment: scroll !important;background-position: bottom center;}
#img_fixed2{height: 50vh;background-attachment: scroll !important;background-position: bottom center;}
    .hide-mobile{display: none;}
    .hide-dsk{display: block;}
    .header_page_sudinoi, .header_page{margin-top: 65px; background-size: cover;background-position: bottom right;height: 40vh;}
    #home{background: none;margin-top: 70px;}
    .disply-table{height: 70vh;}
    #home{height: 70vh;}
    .portfolio .categories-grid .categories ul li a {
        padding: 0 2px;
    }
    .save_the_date{border-left: 0px;}.titolo{text-align: center;font-size: 55px;line-height: 36px;}
        h1 {font-size: 49px;line-height: 50px;}
}

@media (max-width: 768px) {
    #citazione_home{margin-top: 40px;}
    .size-50{font-size: 39px;}
        #img_fixed{height: 35vh;}
#img_fixed2{height: 35vh;}
    .disply-table{height: 50vh;}
    #home{height: 50vh;background: none;margin-top: 70px;}
    #circle{height: 40vh;}
    .timeline-event-copy {
        width: 90%;
        left: 2em;
    }
    img.img-responsive{width: 100%;height: auto;}
    /*.about-border{height: 250px;width: 250px;}*/
    .about-border{display: none;}
    .citazione{max-width: 100%;width: 100%;}
    .citazione h3{margin-left: 15%;font-size: 32px;line-height: 44px;}
    h1{font-size: 70px;line-height: 60px;}
    #about, #about2 {padding: 50px 0;}
    h1 {font-size: 41px;line-height: 50px;}
}
@media (max-width: 551px) {
    .virgolette{margin-bottom: 20px;}
    #home h4{letter-spacing: 2px;font-size: 12px;}
    #home h4:before{width: 25px;}
    #home h1{font-size: 55px;line-height: 40px;}
    #circle{height: 30vh;}
    .h-50{height: 20px;}
    #about, #about2, #contact {
    padding: 40px 0;
}
     .disply-table-interno{height: 30vh;}
    .header_page_sudinoi, .header_page{height: 30vh;}
}
@media (max-width: 500px) {
    h1 {font-size: 36px;line-height: 42px;}
       .size-50{font-size: 36px;}
    #home,
    .disply-table {
        height: 35vh;
    }
    .about-border {
        width: 265px;
    }
    .portfolio .categories-grid .categories ul li {
        list-style: none;
        margin: 10px 0;
    }
    nav li a{padding-left: 0 !important;padding-right: 0 !important;font-size: 11px;letter-spacing: 0 !important;}
}

@media (max-width: 420px) {
    #circle{height: 30vh;}
    nav li {
        margin: 6px;
    }
    nav li a {
        font-size: 10px;
    }
    h1 {
        font-family: 'Playfair Display', serif;
        font-size: 29px;
        line-height: 33px;
    }
}