*::selection {
    background: #4D4E50;
    color: #ffffff;
}

*::-moz-selection {
    background: #4D4E50;
    color: #ffffff;
}


/* gestione video */

.video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




/* stili editor JCE */

.allegato a:after {
    content: "\f019";
    font-family: 'FontAwesome';
    margin-left: 10px;
}

.link a:after,
a > .link:after {
    content: "\f101";
    font-family: "FontAwesome";
    background: none;
    padding-left: 10px;
}

p.citazione {
    font-style: italic;
    position: relative;
    font-size: 24px;
    line-height: 36px;
    font-weight: 600;
    display: block;
    padding: 0 30px;
    text-align: center !important;
}

p.citazione:before {
    font-family: 'FontAwesome';
    content: "\f10d";
    font-size: 24px;
    margin-right: 25px;
}

@media (max-width: 599px) {

    p.citazione:before,
    p.citazione:after {
        display: block;
        margin: 0 !important;
    }
}

p.citazione:after {
    font-family: 'FontAwesome';
    content: "\f10e";
    font-size: 24px;
    margin-left: 25px;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.evidenza {
    background: #f4f4f4;
    border: 1px solid #dedede;
    padding: 20px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    margin: 0 0 20px;
    color: #474747;
    font-weight: 400;
}


.allineamento {
    clear: both;
    margin: 0;

}

p.pulsante {
    line-height: 40px;
    display: block;
}

p.pulsante a:hover,
p.pulsante a:focus {
    text-decoration: none;
}

p.pulsante a {
    display: inline-block;
    text-transform: uppercase;
    padding: 8px 25px;
    color: #fff !important;
    background: #e30613;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-transition: all 600ms ease-in-out;
    -moz-transition: all 600ms ease-in-out;
    -o-transition: all 600ms ease-in-out;
    -ms-transition: all 600ms ease-in-out;
    transition: all 600ms ease-in-out;
}

p.pulsante a:hover {
    background: #e30613;
    text-decoration: none !important;
}


@media (max-width: 499px) {
    p.galleria {
        text-align: center;
    }

}



@media (min-width: 500px) {
    p.galleria {
display: grid;
grid-column-gap: 20px;
grid-row-gap: 20px;
justify-content: center;
grid-template-columns: repeat(4,auto);

    }
}

p.galleria .wf_caption {
    margin-bottom: 20px;
    font-size: 14px;
}

ul.galleria {
    list-style-type: none;
    padding: 10px 0 !important;
    margin: 0;
    text-align: center;
    background: #f4f4f4;
}

.galleria > li {
    display: inline-block !important;
    margin: 10px;
    background: none !important;
    padding: 0 !important;
    vertical-align: top;
}

.window .window-mainbody {
    background: #fff;
}

.nopadding {
    padding: 0;
}



/* chronoforms5*/


.contatti5 .gbs3 .form-control::-webkit-input-placeholder {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.contatti5 .gbs3 .form-control::-moz-placeholder {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.contatti5 .gbs3 .form-control:-ms-input-placeholder {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.contatti5 .gbs3 .form-control:-moz-placeholder {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.com_content.contatti h1.article-title {
    text-align: center;


}

.contatti5 .gbs3 form > div:nth-of-type(odd) {
    float: left;
}

.contatti5 .gbs3 form > div:nth-of-type(even) {
    float: right;
}


.contatti5 .gbs3 form > div:last-child {
    clear: both;
    float: none;
    width: 100%;
}

.contatti5 #fin-submit12 {
    width: 200px;
    margin: 20px auto;

}


.contatti5 .gbs3 .help-block {
    display: inline !important;
    padding-left: 10px;
}

.contatti5 {
    text-align: left;
}

.contatti5 label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400 !important;


}

.contatti5 input[type="submit"] {
    background: #38302b;
    height: 40px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    -webkit-transition: all 600ms ease-in-out;
    -moz-transition: all 600ms ease-in-out;
    -o-transition: all 600ms ease-in-out;
    -ms-transition: all 600ms ease-in-out;
    transition: all 600ms ease-in-out;


}

.contatti5 input[type="submit"]:hover {
    background: #39baff;

}

.contatti5 p.chrono_credits {
    display: none;
}

.contatti5 #form-row-acconsento {
    text-align: justify;
    display: block;
}

.contatti5 .campiObbligatori {
    border: 2px solid #38302b !important;
}

.contatti5 form textarea {
    height: 100px;
    width: 345px;
}

.contatti5 p a {
    color: #e2001a;
}

.contatti5 label {
    line-height: 35px;
    margin: 0;
    padding-bottom: 5px;
    padding-top: 0;
    text-transform: lowercase;
    font-size: 14px;
    line-height: 14px;
    color: #000;
}


.gbs3 .form-control {
    border-radius: 2px !important;

}

.contatti5 .help-block a {
    color: #e30613;

}

.contatti5 .help-block a:hover {
    color: #e30613;
    text-decoration: underline;

}



/* responsive */


/* smaller smartphone */
@media (min-width: 300px) and (max-width: 480px) {

    .blog.prodotti .page-subheader h2 {
        margin-bottom: 50px;

    }




    .ja-slideshow .uk-h4 {
        font-size: 45px;
        line-height: 48px;

    }

    .contatti5 #rc-imageselect,
    .contatti5 .g-recaptcha {
        clear: both;
        margin-top: 20px;
        transform: scale(0.92);
        -webkit-transform: scale(0.92);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;

    }

    .contatti5 .gbs3 form > div:nth-child(2n+1) {
        float: none;


    }



    .t3-footnav {
        padding: 0;

    }




    .blog .article-intro img,
    .categories-list .jcemediabox-zoom-span,
    .item-page .jcemediabox-zoom-span {
        display: block !important;
        float: none !important;
        margin: 0 auto 10px auto !important;

    }


    .categories-list .category-item {
        float: none;

    }





}


/* tablets e lerger smartphone */
@media (min-width: 481px) and (max-width: 768px) {

    .contatti5 .gbs3 form > div {
        width: 48%;


    }

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 #rc-imageselect,
    .contatti5 .g-recaptcha {
        transform: scale(0.94);
        -webkit-transform: scale(0.94);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;

    }

    #form-row-acconsento {
        clear: both;
        width: 100%;

    }



    .t3-footnav {
        padding: 0;

    }


}


/* laptos, larger tablets in landscape, and small desktops */
@media (min-width: 769px) and (max-width: 991px) {


    .contatti5 .gbs3 form > div {
        width: 48%;


    }

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 #rc-imageselect,
    .contatti5 .g-recaptcha {
        transform: scale(0.94);
        -webkit-transform: scale(0.94);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;

    }

    #form-row-acconsento {
        clear: both;
        width: 100%;

    }


}


/* normal desktops and monitors */
@media (min-width: 992px) and (max-width: 1279px) {

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 .gbs3 form > div {
        width: 45%;


    }

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 #rc-imageselect,
    .contatti5 .g-recaptcha {
        transform: scale(0.94);
        -webkit-transform: scale(0.94);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;

    }

    #form-row-acconsento {
        clear: both;
        width: 100%;

    }



}


/* larger desktops and monitors */
@media (min-width: 1280px) and (max-width: 1366px) {

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 .gbs3 form > div {
        width: 45%;


    }

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 #rc-imageselect,
    .contatti5 .g-recaptcha {
        transform: scale(0.94);
        -webkit-transform: scale(0.94);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;

    }

    #form-row-acconsento {
        clear: both;
        width: 100%;

    }


}



@media (min-width: 1367px) {

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 .gbs3 form > div {
        width: 45%;


    }

    .contatti5 .g-recaptcha {
        margin-top: 25px;

    }

    .contatti5 #rc-imageselect,
    .contatti5 .g-recaptcha {
        transform: scale(0.94);
        -webkit-transform: scale(0.94);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;

    }

    #form-row-acconsento {
        clear: both;
        width: 100%;

    }


}

.landing #form-row-marketing .help-block,
.landing #form-row-privacy .help-block {
    color: #fff;
}

.landing #form-row-marketing .help-block a,
.landing #form-row-privacy .help-block a {
    text-decoration: underline;
}


#form-row-marketing,
#form-row-privacy {
    clear: both;
    width: 100%;
    font-size: 12px;
    line-height: 12px;
    margin: 0;
    padding: 0;
}

#form-row-marketing .help-block,
#form-row-privacy .help-block {
    margin: 0;
    
}

.landing form > div {
    width: 100% !important;
}



/* cerca */

.search label {
    color: #5c5c5c;
}

.search input,
.search select {
    background: #fcfcfc;
    color: #ccc !important;
    box-shadow: none !important;
}

.search .small,
.search .result-created {
    display: none;
}

.search .btn-default {
    background: #000000;
    border: 0;
    color: #fff;
}

.search legend {
    border-color: #a5a5a5;
    font-size: 16px;
}

.search h1 {
    border-bottom: 1px solid #a5a5a5;
    color: #7f7f7f;
    font-size: 24px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}


/*  stili contenuti */

.homepage #t3-mainbody {
    display: none;
}

body {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    background: #313131;
}

.t3-wrapper {
    background: #fff;

}

b,
strong {
    font-weight: 700;
}

#t3-content em {
    font-family: 'Roboto', sans-serif;
}


#t3-content .item-page p {
    text-align: justify;
}



#t3-content * img {
    max-width: 100%;
    height: auto;
}

#t3-content a.jcepopup,
#t3-content a img {
    -webkit-transition: all 700ms ease-in-out;
    -moz-transition: all 700ms ease-in-out;
    -o-transition: all 700ms ease-in-out;
    -ms-transition: all 700ms ease-in-out;
    transition: all 700ms ease-in-out;
}

#t3-content a.jcepopup.jcemediabox-image:hover,
#t3-content a img:hover {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
}

#t3-content a.jcepopup span.jcemediabox-zoom-image {
    background: url("../images/zoom-img.png") no-repeat scroll right bottom;
}


/*  item page */


.contentpane h1 a,
#t3-content .item-page h1,
#t3-content .item-page h1 a {
    font-size: 34px;
    color: #e30613;
    font-family: 'LoveloBlack';
    margin-bottom: 15px;
    text-align: center;

}

.contentpane h2 a,
#t3-content .item-page h2,
#t3-content .item-page h2 a {
    font-size: 24px;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin-top: 0;
}

.module h3,
.contentpane h3 a,
#t3-content .item-page h3,
#t3-content .item-page h3 a {
    font-size: 18px;
    color: #000;
    font-family: 'LoveloBlack', sans-serif;
    font-weight: 500;
}

.module h4,
.contentpane h4 a,
#t3-content .item-page h4,
#t3-content .item-page h4 a {
    font-size: 16px;
    color: #000;
    font-family: 'LoveloBlack', sans-serif;
    font-weight: 500;
}

#t3-content .item-page h1 a:hover,
#t3-content .item-page h2 a:hover,
#t3-content .item-page h3 a:hover,
#t3-content .item-page h4 a:hover,
#t3-content .item-page h5 a:hover {}


/*  blog */

#t3-content .blog h1,
#t3-content .blog h1 a {
    font-size: 34px;
    color: #e30613;
    font-family: 'LoveloBlack';
    margin-bottom: 15px;
    text-align: center;

}

#t3-content .blog h2,
#t3-content .blog h2 a {
    font-size: 26px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;

}

#t3-content .blog h3.article-title {
    display: table;

}

#t3-content .blog h3.article-title a {
    display: table-cell;
    vertical-align: bottom;
    height: 75px;


}

#t3-content .blog h3,
#t3-content .blog h3 a {
    font-size: 22px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;


}

#t3-content .blog h4,
#t3-content .blog h4 a {
    font-size: 18px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;


}

#t3-content .blog .article-title {
    text-transform: uppercase;

}



.readmore .btn {
    position: relative;
    border-radius: 0;
    line-height: 26px;
    border: 0;
    padding: 2px 12px;
    color: #dadada !important;

}

.readmore .btn:after {
    border-bottom: 15px solid transparent;
    border-left: 10px solid #38302b;
    border-top: 15px solid transparent;
    background: transparent;
    content: "";
    right: 0;
    top: 0;
    margin-right: -10px;
    position: absolute;


}

.ja-slideshow .uk-overlay-background {
    background: rgba(0, 0, 0, 0.5) !important;


}

.ja-slideshow .uk-margin {
    font-size: 55px;
    font-family: 'LoveloBlack', sans-serif;
    color: #fff;



}

.ja-slideshow #animate {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9999;
    width: 40px;

}

.ja-slideshow #animate a:after {
    /*background: rgba(0, 0, 0, 0) url("../images/widgetkit/arrow.gif") no-repeat scroll center center;*/
    content: "\f078";
    font-family: 'FontAwesome';
    color: #fff;
    font-size: 24px;

}

.ja-slideshow #animate a:hover {
    text-decoration: none !important;

}


.ja-slideshow ul.icone {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    text-align: center;


}

.ja-slideshow ul.icone li {
    width: 140px;
    color: #fff;
    line-height: 16px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;

}

.ja-slideshow ul.icone li img {
    margin-bottom: 10px;

}



.t3-sl-2 {
    background: #fff url(../images/bg/intro-azienda.jpg) no-repeat top right;

}



.t3-sl-1 .module-title {
    color: #fff;
    font-size: 24px;
    background: url(../images/linea.gif) no-repeat bottom center;
    padding-bottom: 20px;

}

.t3-sl-1 {
    background: #313131;

}

.t3-sl-1 .gkTabsItem {
    background: transparent;

}

.t3-sl-1 .nspArt img {
    border: 4px solid #fff !important;
    margin: 0 auto;
}

.t3-sl-1 .gkTabsNav li {
    color: #ccc !important;
    text-shadow: none !important;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px !important;
    border-top: 1px solid #fff;
    border-right: 0 !important;


}

.t3-sl-1 .gkTabsNav li.active:first-child {
    border-left: 0 !important;

}

.t3-sl-1 .gkTabsNav li.active:last-child {
    border-right: 0 !important;

}

.t3-sl-1 .gkTabsNav li.active {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff !important;
    border-top: 0 !important;
    color: #fff !important;

}

.t3-sl-1 .gkTabsWrap.vertical .gkTabsContainer + ol {
    border: 0;

}

#t3-footer a {
    color: #fff;
    text-decoration: none;

}

#t3-footer a:hover {
    color: #dadada;

}



.t3-navhelper a {
    color: #fff;

}

.head-right {
    margin-top: 23px;

}

.social a {
    color: #000;
    background: #fff;
    display: block;
    margin-top: 5px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;

}

.start.homepage .t3-header {
    position: absolute;

}

.scrollDown .t3-header,
.scrollUp .t3-header {
    position: fixed;
    top: 0 !important;
    z-index: 10;
    
}

p.continua a {
    background: #e30613;
    padding: 12px 24px;
    -webkit-transition: all 600ms ease-in-out;
    -moz-transition: all 600ms ease-in-out;
    -o-transition: all 600ms ease-in-out;
    -ms-transition: all 600ms ease-in-out;
    transition: all 600ms ease-in-out;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;

}

p.continua a:hover,
p.continua a:focus,
p.continua a:active {
    text-decoration: none;
    background: #e30613;
    color: #fff;


}



/* ########################### DEFAULT ########################### */


/* xs piccoli smartphone */
@media (min-width: 300px) and (max-width: 480px) {

    .logo-image img {
        height: 35px;

    }

    .uk-margin {
        display: none;

    }

    .t3-sl-2 {
        background: none;
    }

    .gkTabsWrap.vertical ol li,
    .gkTabsWrap.horizontal ol li {
        float: none !important;
        text-align: center;

    }

    .t3-sl-1 .gkTabsNav li.active {
        background: rgba(255, 255, 255, 0.2);
        border: 0 !important;

    }

    .dropdown-menu > li > a {
        color: #fff !important;
        font-weight: 300;

    }



}


@media (min-width: 481px) and (max-width: 991px) {

    .logo-image img {
        height: 45px;

    }


}

@media (min-width: 481px) and (max-width: 768px) {

    .uk-margin {
        display: none;

    }

    .t3-sl-2 {
        background: none;
    }

}


/* sm laptos, larger tablets in landscape, and small desktops */
@media (min-width: 720px) {

    .blog .col-md-6 {
        width: 50% !important;
        float: left;

    }




}

/* md normal desktops and monitors */
@media (min-width: 992px) and (max-width: 1200px) {

    .t3-sl-2 {
        background-size: 49%;

    }



}



/* lg larger desktops and monitors */
@media (min-width: 1201px) and (max-width: 1360px) {

    .t3-sl-2 {
        background-size: 35%;

    }


}



@media (min-width: 1361px) and (max-width: 1900px) {

    .t3-sl-2 {
        background-size: 35%;

    }



}

@media (min-width: 1901px) {

    .t3-sl-2 {
        background-size: 32%;

    }



}




/* md normal desktops and monitors */
@media (min-width: 992px) {


    .homepage .t3-header {
        top: 20px;
    }

}


@media (max-width: 991px) {

    .head-right {
        display: none;

    }

    .t3-sl-2 {
        background: none;
    }


}

.validation.message {
    padding: 10px 0 !important;

}

.validation.message ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style-type: none;
    text-transform: uppercase;
    text-align: center;

}

.ringraziamento {
    background: #DFF2BF;
    border: 1px solid #4f8a10;
    color: #4f8a10;
    padding: 10px 20px;

}

.ringraziamento p {
    text-align: center !important;


}

.ringraziamento p a {
    color: #4f8a10 !important;
    font-weight: 500;
}

.wf_caption {
    font-size: 14px;
    line-height: 16px;
    font-style: italic;

}

.wf_caption span {
    margin-top: 5px;

}


/* landing */

.landing {
    background: #313131;

}

.landing .help-block a {
    color: #fff !important;
}


.landing input[type="text"] {
    height: 40px;
}


.landing input[type=submit] {
    background: #E5322C !important;
    border: 0;
    color: #fff;
    font-size: 16px;

}

.landing h5 {
    font-size: 26px;
    color: #e30613;
    font-weight: 700;


}

.landing h6 {
    font-size: 22px;
    color: #fff;
    font-weight: 600;


}



.landing input[type="text"]:focus {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}


.landing .contatti5 {
    background: none !important;
    border: 0 !important;

}

.landing .contatti5 #fin-acconsento {
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
}

.landing .gbs3 .gcore-display-table {
    width: 100%;
}


.landing #fin-submit12 {
    margin: 10px auto;
    font-weight: 700;

}


.landing .contatti5 form > div:nth-last-child(-n + 6) {
    clear: both;
    float: none;
    width: 100% !important;
}


@media (min-width: 481px) {


    .landing .contatti5 #fin-acconsento {
        text-align: center;
        margin: 0 auto;
        text-transform: uppercase;
        font-size: 12px;
    }

    .landing .contatti5 .gbs3 .gcore-form-row {
        margin-bottom: 10px;

    }

}


.land-testata {
    background: #313131;
    color: #fff;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.land-testata ul {
    list-style-type: none;
    margin: 0;

}

.land-testata ul li {
    font-weight: 700;
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 15px;


}

.land-testata ul li:before {
    content: "\f00c";
    font-family: "FontAwesome";
    padding-right: 10px;
    margin-left: -32px;

}

@media (max-width: 767px) {
    .land-testata h3 {
        text-align: center;
    }
}

.land-testata .titolo {
    font-weight: 700;
    font-size: 28px;
    line-height: 30px;
    text-align: left !important;
}


@media (min-width: 768px) {
    .land-testata > div:last-child {
        width: 50%;
    }

    .land-testata > div:first-child {
        width: 50%;
    }

}

.land-testata > div:last-child {
    padding: 20px;
}

.land-testata h3 {
    color: #e30613 !important;
    font-size: 28px !important;
}

.row.landing {
    margin: 0 !important
}



.t3-footnav {
    font-size: 10px;
}

