/*
Theme Name: EM Edilizia Moderna
Description: EM Edilizia Moderna Theme
Theme URI: https://andreamantegazza.it
Author: AM Dev
Version: 1.0
*/


@font-face {
	font-family: 'HelvMono';
	src: url('fonts/HelvMono.eot');
	src: local('☺'), url('fonts/HelvMono.woff') format('woff'), url('fonts/HelvMono.ttf') format('truetype'), url('fonts/HelvMono.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'HelveticaNowDisplayMedium';
	src: url('fonts/HelveticaNowDisplayMedium.eot');
	src: local('☺'), url('fonts/HelveticaNowDisplayMedium.woff') format('woff'), url('fonts/HelveticaNowDisplayMedium.ttf') format('truetype'), url('fonts/HelveticaNowDisplayMedium.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}



/* 
-------------------------------------------------------------------------------*/

html{
    overflow-y: auto;
}
body {
    font-size: 1vw;
    font-family: 'HelvMono';
}

/* We like off-black for text. */
body, select, input, textarea {color: #000;}

a {color: #000; text-decoration: none;}
a:hover {color: #000;}

::-moz-selection{background: rgba(33, 217, 115, 0.99); color: #000; text-shadow: none;}
::selection {background: rgba(33, 217, 115, 0.99); color: #000; text-shadow: none;}


ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }

.text-right { text-align: right; }

.clearafter:after{
    content: '';
    display: block;
    clear: both;
}

p {
    margin-bottom: 0.5em;
}

.font-size-2 {
    font-size: 1.6vw;
}

/* C O D E
-------------------------------------------------------------------------------*/

#header {
    padding: 5px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
}
#header .navigation a{
    width: 33.33%;
    display: inline-block;
}
#header .contact {
    text-align: right;
}
#header .contact a{
    width: 16.66%;
    display: inline-block;
}




.home .entry {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
}
.entry {
    padding-top: calc(1em + 10px);
}

.home .featured-image {
    height: calc(100vh - 3em - 10px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 70%;
}

.home .content {
    text-align: left;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 2em;
}
.home .descrizione div:first-child {
    padding-right: 10px;
}

.home .images-wrappper {
    margin-top: 5vw;
}
.home .images-wrappper .row{
    padding-bottom: 10px;
}
.home .images-wrappper .image-1 {
    display: block;
    width: 40%;
}
.home .images-wrappper .image-2 {
    display: inline-block;
    float: left;
    margin-right: 10px;
    width: 50%;
}
.home .images-wrappper .image-3 {
    display: inline-block;
    float: left;
    width: 35%;
}
.home .images-wrappper .image-4 {
    display: inline-block;
    width: 25%;
}




.footer-navigator {
/*    font-family: 'HelveticaNowDisplayMedium';*/
}
.footer-navigator a {
    display: block;
    font-size: 8vw;
    line-height: 1.1em;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    letter-spacing: 0;
    transition: letter-spacing 0.2s;
}
.footer-navigator a:last-of-type {
    border-bottom: 0;
}
.footer-navigator a:hover {
    letter-spacing: 6vw;
}



/* Landing
-------------------------------------------------------------------------------*/
#landing {
    color: #21D973;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
}

#landing .contact-details {
    text-align: center;
    padding-top: 5px;
}

#landing .inner-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
}
#landing .inner-footer .email {
    text-align: right;
}
#landing .inner-footer a {
    color: #21D973;
}

/* SERVIZI
-------------------------------------------------------------------------------*/

.page-template-page-servizi .entry {
    padding-left: 5px;
    padding-right: 5px;
}
.page-template-page-servizi .description {
    margin-bottom: 10px;
}
.page-template-page-servizi .servizi-wrapper {

}
.page-template-page-servizi .single-servizio {
    padding: 5px;
    height: 5em;
    box-shadow: 
        1px 0 0 0 #000, 
        0 1px 0 0 #000, 
        1px 1px 0 0 #000,   /* Just to fix the corner */
        1px 0 0 0 #000 inset, 
        0 1px 0 0 #000 inset;
}
.page-template-page-servizi .single-servizio.expandable {
    background-color: #ccc;
}
.page-template-page-servizi .single-servizio.expandable:hover {
    background-color: #000;
    color: #fff;
}
.page-template-page-servizi .single-servizio .label-grid {
    width: 2vw;
    float: left;
    min-height: 4em;
}
.page-template-page-servizi .single-servizio .label-grid span {
    background-color: #000;
    color: #fff;
    font-size: 0.6vw;
    letter-spacing: 0.4em;
    text-align: center;
    padding-left: 0.4em;
    font-family: 'HelveticaNowDisplayMedium';
    vertical-align: middle;
}
.page-template-page-servizi .single-servizio .label-title {
    width: calc(100% - 2vw);
    float: left;
}

.page-template-page-servizi .featured-image img {
    width: 75%;
}


/* MATERIALI
-------------------------------------------------------------------------------*/

.page-template-page-materiali .entry {
    padding-left: 5px;
    padding-right: 5px;
}
.page-template-page-materiali .description {
    margin-bottom: 10px;
}
.page-template-page-materiali .materiali-wrapper {

}
.page-template-page-materiali .single-materiale {
    padding: 5px;
    height: 5em;
    box-shadow: 
        1px 0 0 0 #000, 
        0 1px 0 0 #000, 
        1px 1px 0 0 #000,   /* Just to fix the corner */
        1px 0 0 0 #000 inset, 
        0 1px 0 0 #000 inset;
}
.page-template-page-materiali .single-materiale.expandable {
    background-color: #ccc;
}
.page-template-page-materiali .single-materiale.expandable:hover {
    background-color: #000;
    color: #fff;
}
.page-template-page-materiali .single-materiale .label-grid {
    width: 2vw;
    float: left;
    min-height: 4em;
}
.page-template-page-materiali .single-materiale .label-grid span {
    background-color: #000;
    color: #fff;
    font-size: 0.6vw;
    letter-spacing: 0.4em;
    text-align: center;
    padding-left: 0.4em;
    font-family: 'HelveticaNowDisplayMedium';
    vertical-align: middle;
}
.page-template-page-materiali .single-materiale .label-title {
    width: calc(100% - 2vw);
    float: left;
}

.page-template-page-materiali .featured-image img {
    width: 75%;
}






/* MATERIALE SINGOLO
-------------------------------------------------------------------------------*/
.single-materiali .entry {
    padding-left: 5px;
    padding-right: 5px;
}
.single-materiali .lista {
    margin-bottom: 10px;
}
.single-materiali .lista span {
    background-color: #000;
    color: #fff;
    font-size: 0.75vw;
    letter-spacing: 0.4em;
    text-align: center;
    padding-left: 0.4em;
    margin-right: 5px;
}

.single-materiali .single-element span {
    background-color: #000;
    color: #fff;
    font-size: 0.75vw;
    letter-spacing: 0.4em;
    text-align: center;
    padding-left: 0.4em;
    margin-right: 5px;
    float: left;
    margin-top: 0.2em;
}
.single-materiali .single-element {
    padding-right: calc(50% + 1vw);
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.single-materiali .single-element.double {
    padding-right: 0;
    column-count: 2;
    column-gap: 2vw;
}

.single-materiali .featured-image img {
    width: 25%;
    display: block;
    margin-bottom: 10px;
}


/* SERVIZIO SINGOLO
-------------------------------------------------------------------------------*/
.single-servizi .entry {
    padding-left: 5px;
    padding-right: 5px;
}

.single-servizi .featured-image img {
/*    width: 25%;*/
    height: 16vw;
}

.single-servizi .single-element {
    padding-right: calc(50% + 1vw);
    margin-bottom: 10px;
    padding-bottom: 10px;
}




/* ABOUT
-------------------------------------------------------------------------------*/
.page-template-page-about .entry {
    padding-left: 5px;
    padding-right: 5px;
}
.page-template-page-about .gallery .row {
    margin-bottom: 10px;
}
.page-template-page-about .gallery .row img {
    display: block;
    float: left;
    margin-right: 10px;
}
.page-template-page-about .gallery-details {
    margin-top: 5vw;
}



.page-template-page-about .gallery .image-1 { width: 30%; }
.page-template-page-about .gallery .image-2 { width: 50%; }
.page-template-page-about .gallery .image-3 { width: 30%; }
.page-template-page-about .gallery .image-4 { width: 30%; }
.page-template-page-about .gallery .image-5 { width: 25%; }
.page-template-page-about .gallery .image-6 { width: 15%; }
.page-template-page-about .gallery .image-7 { width: 60%; }

.page-template-page-about .gallery .image-8 { width: 30%; }
.page-template-page-about .gallery .image-9 { width: 50%; }
.page-template-page-about .gallery .image-10 { width: 30%; }
.page-template-page-about .gallery .image-11 { width: 30%; }


/* CONTACT
-------------------------------------------------------------------------------*/
.page-template-page-contact .entry {
    padding-left: 5px;
    padding-right: 5px;
}

.page-template-page-contact .orari {
    margin-top: 12vw;
}

.page-template-page-contact #footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.page-template-page-contact .entry .content a {
    border-bottom: 1px solid #000;
}



/* FOOTER
-------------------------------------------------------------------------------*/
#footer {
    padding: 5px;
}
#footer.fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}
#footer .inner-footer {
    padding-top: 5px;
    border-top: 1px solid #000;
}
#footer .email {
    text-align: right;
}

/* STYLE
-------------------------------------------------------------------------------*/
.col-md-1{
    float: left;
    width: 8.33%;
}
.col-md-2{
    float: left;
    width: 16.66%;
}
.col-md-3{
    float: left;
    width: 25%;
}
.col-md-4{
    float: left;
    width: 33.33%;
}
.col-md-6{
    float: left;
    width: 50%;
}
.col-md-8{
    float: left;
    width: 66.66%;
}
.col-md-9{
    float: left;
    width: 75%;
}
.col-md-12{
    float: left;
    width: 100%;
}


.mobile{display: none;}

@media screen and (max-width: 960px) {
    
    .mobile{display: block;}
    .desktop{display: none;}
    
    
    body {
        font-size: 4vw;
    }
    
    
    .font-size-2 {
        font-size: 6vw;
    }

    /* Landing
    -------------------------------------------------------------------------------*/

    #landing {
        background-size: 70% auto;
        text-align: center;
    }
    
    #landing .inner-footer .email {
        text-align: center;
    }

    
    
    .toggle-menu,
    .toggle-menu-close {
        height: 5vw;
        float: right;
        display: block;
    }
    
    #header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
    }
    .entry{
        margin-top: calc(5vw + 10px);
    }
    
    #header .navigation a {
        width: 100%;
        display: inline-block;
        font-size: 16vw;
        line-height: 1em;
        text-transform: uppercase;
        border-bottom: 1px solid #000;
    } 
    
    
    
    #header .inner-footer.clearafter {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5px;
    }


    
    
    
    
    
    
    
    .footer-navigator a {
        font-size: 16vw;
        line-height: 1em;
    }
    .footer-navigator a:hover {
        letter-spacing: 0;
    }
    
    
    
    
    /* PAGE MATERIALI
    -------------------------------------------------------------------------------*/
    .page-template-page-materiali .single-materiale .label-grid {
        width: 9vw;
    }
    .page-template-page-materiali .single-materiale .label-grid span {
        font-size: 2.5vw;
    }
    
    
    /* PAGE MATERIALI
    -------------------------------------------------------------------------------*/
    .page-template-page-servizi .single-servizio .label-grid {
        width: 9vw;
    }
    .page-template-page-servizi .single-servizio .label-grid span {
        font-size: 2.5vw;
    }
    
    
    /* SGINLE MATERIALI
    -------------------------------------------------------------------------------*/    
    .single-materiali h1.entry-title {
        border-bottom: 1px solid #000;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .single-materiali .lista {
        
    }
    .single-materiali .lista span {
        font-size: 2.5vw;
        vertical-align: middle;
    }
    .single-materiali .featured-image img {
        width: 75%;
        margin-top: 20vw;
    }

    .single-materiali .single-element span {
        font-size: 2.5vw;
        margin-top: 0.4em;
    }
    
    .single-materiali .single-element {
        padding-right: 0;
    }
    .single-materiali .single-element.double {
        column-count: 1;
    }
    
    
    
    
    #footer .email {
        text-align: left;
    }

    
    

    /* SERVIZIO SINGOLO
    -------------------------------------------------------------------------------*/
    .single-servizi .featured-image img {
        width: 75%;
        height: auto;
    }

    .single-servizi .single-element {
        padding-right: 0;
    }
    
    
    


    /* ABOUT
    -------------------------------------------------------------------------------*/
    .page-template-page-about .gallery-details {
        margin-top: 20vw;
    }

    .page-template-page-about .gallery .row {
        margin-bottom: 0;
    }
    .page-template-page-about .gallery .row img {
        margin-bottom: 10px;
    }

    .page-template-page-about .gallery .image-1 { width: 75%; }
    .page-template-page-about .gallery .image-2 { width: 100%; }
    .page-template-page-about .gallery .image-3 { width: 75%; }
    .page-template-page-about .gallery .image-4 { width: calc(50% - 5px); }
    .page-template-page-about .gallery .image-5 { width: calc(50% - 5px); margin-right: 0 !important; }
    .page-template-page-about .gallery .image-6 { width: 60%; }
    .page-template-page-about .gallery .image-7 { width: 75%; }

    .page-template-page-about .gallery .image-8 { width: 100%; }
    .page-template-page-about .gallery .image-9 { width: 75%; }
    .page-template-page-about .gallery .image-10 { width: 100%; }
    .page-template-page-about .gallery .image-11 { width: 75%; }

    
    

    /* CONTACT
    -------------------------------------------------------------------------------*/
    .page-template-page-contact .cta-mobile {
        margin-top: 20px;
    }
    .page-template-page-contact .cta-mobile a {
        display: block;
        font-size: 6vw;
        background-color: #e8e8e8;
        margin-bottom: 10px;
        padding: 5px 0;
    }

    .page-template-page-contact .fax {
        display: inline-block;
        margin-top: 1em;
    }


    
    
    
    
    /* STYLE
    -------------------------------------------------------------------------------*/
    .col-sm-25{
        float: left;
        width: 25%;
    }
    .col-sm-50{
        float: left;
        width: 50%;
    }
    .col-sm-100{
        float: left;
        width: 100%;
    }
}

