body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #777;
    line-height: 1.6em;
}
.no-laterl-padding {
    padding: 0;
}
.img-responsive {
    width: 100%;
}


body::-webkit-scrollbar {
    width: 5px;
}
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
body::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

footer a{ color:#CCCCCC;}

@media screen and (min-width: 320px) {
    body { padding-top: 50px;}
    header .header {
        height: 72px;
    }
    header .header ul {
        float: right;
        list-style: none;
        margin-bottom: 0;
    }
    header .header ul li {
        float: left;
        padding: 10px 30px;
    }
    header .header ul li a, header .header ul li a:hover, header .header ul li a:focus {
        color: #555;
        text-decoration: none;
    }
    header .header ul.lower-menu {
        background-color: #eee;
    }
    header .header ul.upper-menu {}
    header .header ul.upper-menu li:last-child {
        /*background-color: #eee;*/
    }
    .homepage-slider {
        width: 100%;
        position: relative;
    }
    .homepage-slider div {
        width: 100%;
    }
    .cd-logo {
        top: 0!important;
    }
    .cd-logo img{
        height: 50px;
    }


	.evento{ background:#e8e8e8; padding:0 10px 15px 10px; margin:25px 0 0 0;}
	span.prossimo-evento{ background:#555555; color:#FFFFFF; font-size:40px; padding:5px 15px; font-weight:200;}
	.calendar{ text-align:center; margin:0}
	span.giorno-data{color:#13618d; font-size:30px; text-align:center; margin-top:15px; font-weight:bold;}
	span.mese-data{ color:#13618d; font-size:30px; text-align:center; font-weight:bold;}
	span.tipologia-evento{ font-weight:bold; color:#555555;}
	span.titolo-evento{ color:#555555; font-size:25px; line-height:100%; padding:10px 0;}
	span.dove-evento{ color:#13618d; text-transform:uppercase; font-size:18px;}
	span.maggiori-info-evento{ background:#13618d; color:#FFFFFF; padding:4px;}
	span.maggiori-info-evento a{ color:#FFFFFF;}
	.third-block {
        /*margin-top: 300px;*/
    }

    /*.homepage-slider div img{ width: 100%; overflow: hidden;}*/
    .slick-prev.slick-arrow, .slick-prev.slick-arrow:focus {
        position: absolute;
        background: none;
        border: 0;
        color: white;
        font-size: 30px;
        outline: none;
    }
    .slick-next.slick-arrow, .slick-next.slick-arrow:focus {
        position: absolute;
        background: none;
        border: 0;
        color: white;
        font-size: 30px;
        outline: none;
    }
    .slick-slide {
        position: relative;
    }
    .slide1 {
        background-image: url("../img/slide-ceramiche.jpg");
        background-size: cover;
    }
    .slide2 {
        background-image: url("../img/slide-pietra.jpg");
        background-size: cover;
    }
    .slide3 {
        background-image: url("../img/slide-edili.jpg");
        background-size: cover;
    }
	.slide4 {
        background-image: url("../img/slide-ferramenta.jpg");
        background-size: cover;
    }
	.slide5 {
        background-image: url("../img/slide-ferro.jpg");
        background-size: cover;
    }
	.slide6 {
        background-image: url("../img/slide-ferro.jpg");
        background-size: cover;
    }

    .scroll-icon{
        position: absolute;
        font-size: 40px;
        color: white;
        bottom: 25px;
        left: 50%;
        margin: -25px;
        -webkit-animation: updownfade 3s infinite;
        animation: updownfade 3s infinite;
    }

    @-webkit-keyframes updownfade {
        0% {bottom: 25px; opacity: 1;}
        50% {bottom: 40px; opacity: 0;}
        100% {bottom: 25px; opacity: 1;}
    }

    .homepage-slider .slick-slide .opacity, .default-slider .slick-slide .opacity {
        height: 100%;
        width: 100%;
        opacity: 0.5;
        position: absolute;
        background-color: black;
    }
    .slide-didascalia {
        left: 0;
    }
    .slide-didascalia img {
        width: 50%;
        margin-left: 25%;
    }
    .slide-didascalia .titolo {
        font-size: 26px;
        color: white;
        font-weight: lighter;
        line-height: 30px;
    }
    .slide-didascalia .testo {
        color: white;
        font-size: 15px;
		width:80%;
		margin:0 auto;
    }
    .first-block {
        margin-bottom: 40px;
    }
    .first-block .home-nome-azienda {
        color: #005584;
        color: #f29631;
        font-size: 45px;
        margin: 30px 0 10px 0;
        font-weight: 300;
    }
    .first-block .home-testo-due {
        color: #b8b8b8;
        font-size: 20px;
        font-weight: 100;
        line-height: 50px;
        margin-bottom: 0;
    }
    .first-block .home-testo-tre {
        color: #555;
        font-size: 18px;
        font-weight: 300;
        line-height: 30px;
        margin-bottom: 0;
        margin: 0 auto;
        margin-top: 40px;
    }
    .second-block {}
    .second-block .sinistro, .second-block .destro {
        /*height: 100px;*/
    }
    .second-block .sinistro .sx, .sinistro .second-block .dx {
        /*background-color: #eee;*/
        height: 100%;
    }
    .second-block .dx {
        background-image: url('');
    }
    .second-block .sinistro .in-promozione {
        font-size: 40px;
        line-height: 40px;
        color: black;
        padding: 25px 10px 0 10px;
        margin-bottom: 50px;
    }
    .second-block .sinistro .esempio {
        font-size: 20px;
        color: #555;
        padding: 0 10px 0 10px;
        line-height: 25px;
        margin-top: 50px;
    }
    .second-block .sinistro .esempio span {
        font-size: 30px;
        color: #c4c4c4;
        line-height: 70px;
    }
    .second-block .sinistro .testo {
        font-size: 30px;
        color: #c4c4c4;
        padding: 0 10px 0 10px;
    }
    .second-block {
        margin-top: 20px;
    }
    .second-block .box-contatti {
        background-color: #3d3d3d;
        height: 100%;
    }
    .second-block .box-in-promozione {
        background-color: #eee;
        height: 100%;
    }
    .second-block .box-contatti .sx {
        padding: 15px;
    }
    .second-block .box-contatti p {
        color: white;
        margin: 0;
        font-size: 18px;
    }
    .second-block .box-contatti p.title {
        font-size: 30px;
        padding: 25px 0 5px 0;
        line-height: 30px;
    }
    .second-block .box-contatti img {
        padding: 30px 40px;
        margin: 0 auto;
        display: table;
    }
    .third-block {
        /*margin-top: 300px;*/
    }
    .third-block .riga-box.uno {
        margin-top: 30px;
        position: relative;
    }
    .third-block .riga-box.due {
        margin-top: 20px;
        position: relative;
    }


	.third-block .riga-box .box-vai-alla-sessione {
        /*background-color: #e8e8e8;*/
        /*padding: 15px;*/
        margin-bottom: 30px;
    }
    .third-block .riga-box .box-vai-alla-sessione .titolo {
        font-size: 30px;
        font-weight: 100;
        color: #555;
        line-height: 40px;
        margin-bottom: 0;
        padding-top: 15px;
    }
    .third-block .riga-box .box-vai-alla-sessione .testo {
        font-size: 18px;
        font-weight: 400;
        color: #555;
        padding: 0 5px 15px 5px;
    }
    .third-block .riga-box .riga-separatrice {
        border-bottom: 1px solid #c6c6c6;
        margin: 0 15%;
        margin-bottom: 15px;
    }
    .third-block .riga-box .box-vai-alla-sessione a.btn-vai-alla-sessione-box {
        padding: 10px 40px;
        width: 200px;
        /*background-color: #3d3d3d;*/
        color: white;
        font-size: 12px;
    }
    .fourth-block {
        margin-top: 100px;
    }
    .fourth-block .titolo-newsletter {
        font-size: 15px;
        color: #555;
    }
    .footer {
        width: 100%;
        /*height: 350px;*/
        background: #333333;
        color: white;
        font-size: 15px;
        padding: 15px 15px;
    }
    .footer .nome-azienda {
        /*font-weight: 400;*/
        margin: 0;
        font-size: 20px;
    }
    .footer i {
        color: white;
        padding-right: 5px;
        /*font-size: 25px;
        /*padding: 10px;
        border: 1px solid white;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        text-align: center;*/
    }
    .footer .follow {
        text-align: center;
    }
    .title-page-interna{
        margin-top: -40px; color: white; font-weight: 100; font-size: 30px;
    }
    #cd-primary-nav, #cd-primary-nav ul {
        padding-left: 0;
    }
    #cd-primary-nav li a:focus, #cd-primary-nav li a:hover,
    #cd-primary-nav ul li a:focus, #cd-primary-nav ul li a:hover { text-decoration: none; }
    .cd-overlay {
        background-color: rgba(158, 158, 158, 0.6);
    }
}

@media screen and (min-width: 700px) {
    header .header {
        height: 72px;
    }
    header .header ul {
        float: right;
        list-style: none;
        margin-bottom: 0;
    }
    header .header ul li {
        float: left;
        padding: 10px 30px;
    }
    header .header ul li a, header .header ul li a:hover, header .header ul li a:focus {
        color: #555;
        text-decoration: none;
    }
    header .header ul.lower-menu {
        background-color: #eee;
    }
    header .header ul.upper-menu {}
    header .header ul.upper-menu li:last-child {
        /*background-color: #eee;*/
    }
    .homepage-slider {
        width: 100%;
    }
    .homepage-slider div {
        width: 100%;
    }

	.slide-didascalia .testo {
		width:100%;
    }

    /*.homepage-slider div img{ width: 100%; overflow: hidden;}*/
    .slick-prev.slick-arrow:hover, .slick-next.slick-arrow:hover {
        color: white;
        transition: all 0.25s ease;
    }
    .slick-prev.slick-arrow, .slick-prev.slick-arrow:focus {
        position: absolute;
        background: none;
        border: 0;
        color: rgba(255, 255, 255, 0.7);
        font-size: 30px;
        outline: none;
    }
    .slick-next.slick-arrow, .slick-next.slick-arrow:focus {
        position: absolute;
        background: none;
        border: 0;
        color: rgba(255, 255, 255, 0.6);
        font-size: 30px;
        outline: none;
    }
    .slick-slide {
        position: relative;
    }

	.evento{ background:#e8e8e8; padding:0 10px 15px 10px; margin-top:25px;}
	span.prossimo-evento{ background:#555555; color:#FFFFFF; font-size:40px; padding:5px 15px; font-weight:200;}
	.calendar{ text-align:center; margin:0}
	span.giorno-data{color:#13618d; font-size:30px; text-align:center; margin-top:15px; font-weight:bold;}
	span.mese-data{ color:#13618d; font-size:30px; text-align:center; font-weight:bold;}
	span.tipologia-evento{ font-weight:bold; color:#555555;}
	span.titolo-evento{ color:#555555; font-size:25px; line-height:100%; padding:10px 0;}
	span.dove-evento{ color:#13618d; text-transform:uppercase; font-size:18px;}
	span.maggiori-info-evento{ background:#13618d; color:#FFFFFF; padding:4px;}
	span.maggiori-info-evento a{ color:#FFFFFF;}


    .homepage-slider .slick-slide .opacity {
        height: 100%;
        width: 100%;
        opacity: 0.5;
        position: absolute;
        background-color: black;
    }
    .slide-didascalia {
        left: 10%;
    }
    .slide-didascalia img {
        width: auto;
        margin-left: 0;
    }
    .slide-didascalia .titolo {
        font-size: 70px;
        color: white;
        font-weight: lighter;
        line-height: 60px;
    }
    .slide-didascalia .testo {
        color: white;
        font-size: 30px;
        font-weight: lighter;
    }
    .first-block {
        margin-bottom: 40px;
    }
    .first-block .home-nome-azienda {
        color: #005584;
        color: #f29631;
        font-size: 70px;
        margin: 30px 0 10px 0;
        font-weight: 300;
    }
    .first-block .home-testo-due {
        color: #b8b8b8;
        font-size: 36px;
        font-weight: 300;
        line-height: 38px;
        margin-bottom: 0;
    }
    .first-block .home-testo-tre {
        color: #555;
        font-size: 24px;
        font-weight: 300;
        line-height: 30px;
        margin-bottom: 0;
        /*width: 90%;*/
        margin: 0 auto;
        margin-top: 40px;
    }
    .second-block {}
    .second-block .sinistro, .second-block .destro {
        min-height: 300px;
    }
    .second-block .sinistro .sx, .sinistro .second-block .dx {
        /*background-color: #eee;*/
        height: 100%;
    }
    .second-block .dx {
        background-image: url('');
    }
    .second-block .sinistro .in-promozione {
        font-size: 40px;
        line-height: 40px;
        color: black;
        padding: 25px 10px 0 10px;
        margin-bottom: 50px;
    }
    .second-block .sinistro .esempio {
        font-size: 20px;
        color: #555;
        padding: 0 10px 0 10px;
        line-height: 25px;
        margin-top: 50px;
    }
    .second-block .sinistro .esempio span {
        font-size: 30px;
        color: #c4c4c4;
        line-height: 70px;
    }
    .second-block .sinistro .testo {
        font-size: 30px;
        color: #c4c4c4;
        padding: 0 10px 0 10px;
    }
    .second-block {
        margin-top: 30px;
    }
    .second-block .box-contatti {
        background-color: #3d3d3d;
        height: 100%;
    }
    .second-block .box-in-promozione {
        background-color: #eee;
        height: 100%;
    }
    .second-block .box-contatti .sx {
        padding: 15px;
    }
    .second-block .box-contatti p {
        color: white;
        margin: 0;
        font-size: 18px;
    }
    .second-block .box-contatti p.title {
        font-size: 30px;
        padding: 25px 0 5px 0;
        line-height: 30px;
    }
    .second-block .box-contatti img {
        padding: 30px 40px;
        margin: 0 auto;
        display: table;
    }

	.third-block .riga-box.due {
        margin-top: 0;
        position: relative;
    }

    .third-block {
        /*margin-top: 100px;*/
    }
    .third-block .riga-box.uno {
        margin-top: 30px;
        position: relative;
    }
    .third-block .riga-box.due {
        margin-top: 0;
        position: relative;
    }
    .third-block .riga-box .box-vai-alla-sessione {
        /*background-color: #e8e8e8;
        padding: 15px;*/
    }
    .third-block .riga-box .box-vai-alla-sessione {
        margin-bottom: 30px;
    }
    .third-block .riga-box .box-vai-alla-sessione .titolo {
        font-size: 40px;
        font-weight: 100;
        color: #555;
        line-height: 40px;
        margin-bottom: 0;
        padding-top: 15px;
    }
    .third-block .riga-box .box-vai-alla-sessione .testo {
        font-size: 18px;
        font-weight: 400;
        color: #555;
        padding: 0 5px 15px 5px;
    }
    .third-block .riga-box .riga-separatrice {
        border-bottom: 1px solid #c6c6c6;
        margin: 0 15%;
        margin-bottom: 15px;
    }
    .third-block .riga-box .box-vai-alla-sessione a.btn-vai-alla-sessione-box {
        padding: 10px 40px;
        width: 200px;
        /*background-color: #3d3d3d;*/
        color: white;
        font-size: 18px;
    }
    .fourth-block {
        margin-top: 100px;
    }

	.fourth-block .titolo-newsletter {
        font-size: 18px;
        color: #555;
    }
    .footer {
        width: 100%;
        /*height: 300px;*/
        background: #333333;
        color: white;
        font-size: 16px;
        font-weight: 300;
        padding: 15px 15px;
    }
    .footer .nome-azienda {
        font-weight: 400;
        margin: 0;
        font-size: 25px;
    }
    .footer i {
        color: white;
        /*font-size: 25px;
        /*padding: 10px;
        border: 1px solid white;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        text-align: center;*/
    }
    .footer a {
        color: #ffffff;
    }
    .footer .follow {
        text-align: center;
    }
}
@media screen and (min-width: 720px) {
    body { padding-top: 0;}
    .cd-main-content {
        /*background: transparent;*/
    }
    .interna-first-block h2{
        font-size: 27px; margin-top: 15px; margin-bottom: 0; color: #cdcdcd; font-weight: lighter;
    }
    .interna-img-header-block {
        position: relative;
    }
    .interna-img-header-block h1 {
        color: white;
        font-weight: 100;
        position: absolute;
        bottom: 0px;
        /*left: 13%;*/
        margin: 0;
        font-size: 60px;
    }
    .interna-first-block  .main-content{
        width: 80%; font-weight: 100; padding-top: 30px;
    }
    .interna-first-block .nav-sub-menu {
        background-color: #e8e8e8;
        min-height: 300px;
        width: 100%;
        margin-top: -80px;
    }
    .interna-second-block{
        margin: 40px 0 70px 0;
    }
    .scroll-icon{
        position: absolute;
        font-size: 50px;
        color: white;
        bottom: 60px;
        left: 50%;
        margin: -25px;
        -webkit-animation: updownfade 3s infinite;
        animation: updownfade 3s infinite;
    }

    /* Chrome, Safari, Opera */
    @-webkit-keyframes updownfade {
        0% {bottom: 60px; opacity: 1;}
        50% {bottom: 80px; opacity: 0;}
        100% {bottom: 60px; opacity: 1;}
    }

    .third-block {
        /*margin-top: 50px;*/
    }
    .third-block .riga-box .box-vai-alla-sessione {
        /*background-color: #e8e8e8;*/
        /*padding: 15px;*/
        margin-bottom: 30px;
    }
    .third-block .riga-box .box-vai-alla-sessione .titolo {
        font-size: 40px;
        font-weight: 100;
        line-height: 40px;
        margin-bottom: 0;
        padding-top: 15px;
    }


	.fourth-block .titolo-newsletter {
        font-size: 24px;
        color: #555;
    }

    .footer {
        width: 100%;
        /*height: 150px;*/
        font-size: 14px;
        padding: 15px 15px;
        line-height: 2em;
    }

    .title-page-interna{
        margin-top: -70px; color: white; font-weight: 100;
        font-size: 60px;
    }
}

@media screen and (min-width: 900px) {
    .third-block .riga-box .box-vai-alla-sessione {
        margin-bottom: 0;
    }
    header .header ul li {
        float: left;
        padding: 10px 6px;
    }
}

@media screen and (min-width: 1400px) {
    header .header ul li {
        float: left;
        padding: 10px 15px;
    }

		.offerte{ min-height:600px;}
}





/* PROMOZIONI */
.prezzo, .prezzo-offerta, .sconto {
    display: block; font-size:24px;
}
.prezzo:before { content: "Prezzo: "; }
/*.prezzo:after { content: " €"; }*/
.prezzo-offerta:before { content: "Offerta: "; }
/*.prezzo-offerta:after { content: " €"; }*/
.sconto:before { content: "Sconto: "; }
/*.sconto:after { content: "%"; }*/

@media screen and (min-width: 450px) and (max-width: 755px)  {
    body { padding: 0 5%; }
    .homepage-slider { margin-top: 50px; }
    .footer { /*height: 225px;*/ }
    .slide-didascalia .testo { font-size: 22px; }
    .slide-didascalia .titolo { font-size: 50px; }
    .second-block .sinistro, .second-block .destro { height: 140px; }
    .first-block { margin-bottom: 0px; }
    .fourth-block { margin-top: 30px; }

}

.container {
    max-width: 1240px;
}

h1 {
    color: #333!important;
    font-weight: 600!important;
}
h2 {
    position: relative;
    margin: 1.5em 0!important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em!important;
    font-weight: 400!important;
    color: #333!important;
}
h2:after {
    position: absolute;
    left: 0;
    bottom: -10px;
    content: '';
    width: 60px;
    height: 2px;
    background: #f39832;
}
h2.text-center:after {
    left: 50%;
    margin-left: -30px;
}

a {
    color: #f89139;
    text-decoration: none!important;
}

a h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #444;
}

.heading-line {
    margin: 0.5em 0;
    width: 60px;
    height: 2px;
    background-color: #f39832;
}

.cd-main-header {
    height: 80px!important;
}

ul.lower-menu {
    list-style: none!important;
}
ul.lower-menu li {
    margin: 0!important;
    padding: 0!important;
    display: inline-block!important;
}
ul.lower-menu li a {
    display: block!important;
    padding: 0 1.2em!important;
    color: #333!important;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px!important;
    font-weight: 600!important;
    line-height: 40px!important;
    text-decoration: none!important;
    text-transform: uppercase!important;
    -o-transition:.5s;
    -ms-transition:.5s;
    -moz-transition:.5s;
    -webkit-transition:.5s;
    transition:.5s;
}
ul.lower-menu li a:hover {
    color: #f39832!important;
}


/* PARTNERS LOGHI */
.container.partners div {
    margin-bottom: 2em;
}
.container.partners div img {
    border: 1px solid #F4F4F4;
}