/**
 * Style Home page
 */
#sub-header {
    display: none;
}
body a {
    color: #005596;
}
a:hover{
    text-decoration: none;
}
body .btn-outline-primary {
    color: #005596;
    border-color: #005596;;
}
body .btn-outline-primary:hover {
    background-color: #005596;
}
.bold{
    font-weight: bold;
}
small.evidence{
    font-size: 65%!important;
}

.evidence{
    background: #005596;
    color: #fff;
    padding: 0.5% 2.5%;
    text-transform: uppercase;
    font-weight: bold;
}
.text-2r{
    font-size: 1.8rem;
    line-height: 1.6rem;
}
.box-hover{
    padding: 1% 4%!important;
}
.box-hover:hover{
    box-shadow: 0px 15px 80px -6px rgba(0,0,0,0.2);
}
.home h2, .home h3, .home h4{
    color: #005596;
}
.home .sp3{
    padding-top: 3%;
    padding-bottom: 3%;
}
.home header.v-divider-bottom h3 {
    font-size: 2.5rem;
    margin-top: 2%;
}
.home header.v-divider-bottom .vetrine-subtitle {
    font-size: 1.3rem;
    font-weight: lighter;
    width: 1024px;
    max-width: 90%;
    margin: auto;
}
.bk-grey-light{
    background: #f1f1f1;
}
.fill-video video {
    /*height: 100vh;*/
}
.content-video video{
    width: 100%;
}
.content-video, .content-img {
    background-position: 50% center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0px;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative; }

.content-video::after {
    /*background-color: rgba(9, 65, 145, 0.65);*/
    background-color: rgba(0, 0, 0, 0.3);
    content: "";
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 5; }

.content-video::after {
    position: absolute;
    width: 100%; }

#other-services {
    width: 1024px;
    max-width: 100%;
    margin: auto;
}
#other-services h5 {
    font-size: 1rem;
}
/* Content-info */
.today-date .day{
    font-size: 4rem;
    line-height: 1;
    font-weight: bold;
}
.today-date .month{
    font-size: 2rem;
    text-transform: uppercase;
}

/* Info section */
.content-news-home {
    position: absolute!important;
    bottom: 0;
    left: 15px;
    z-index: 9;
    background: #fff;
    padding: 1%;
    box-shadow: 0px -15px 80px -6px rgba(0,0,0,0.4);
}
.carousel-news {
    overflow: hidden;
}
.carousel-news-header h3 {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.3rem;
    cursor: pointer;
}
.carousel-news-header span {
    position: absolute;
    right: 20px;
    font-weight: bolder;
    text-align: right;
    cursor: pointer;
}
.rotate-plus {
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

/**/

#sub-header h2 {
    line-height: 1.5;
    letter-spacing: 1px;
    width: 80%;
    margin: auto;
}
/* Focus home */
.focus-box{
    padding: 0!important;
}
#focus img{
    width: 100%;
}
.np_b, .np_b.sp3 {
    padding-bottom: 0;
}
.hover-focus-box {
    /*visibility: hidden;
    opacity:0;
    display:none;*/
    width: 100%;
    position: absolute;
    top: 27%;
    font-weight: 400;
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 0 0 30px rgba(0,0,0,0.9);
    z-index: 5;
}
.focus-box:hover > .hover-focus-box{
    /*visibility:visible;
    opacity:1;
    display:block;*/
    position: absolute;
    top: 27%;
    font-weight: 400;
    color: #fff;
    font-size: 1.5rem;
}
#focus .overlay-row-color {
    opacity: 0.3;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#focus .focus-box:hover .overlay-row-color {
    opacity: 0.8;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
/*#focus .focus-box:hover .overlay-row-color {
    opacity: 0.8;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    width: 93%;
    height: 93%;
    left: 3.5%;
    bottom: 2.5%;
    top: 3.5%;
    right: 2.5%;
}*/
/* Item FG Square */
.item-fg-sq{
    background-color: rgb(255, 255, 255);
    animation-duration: 1000ms;
    animation-delay: 0ms;
    opacity: 1;
    animation-timing-function: ease-in-out;
    /*transform: perspective(2000px) rotateY(-45deg);*/
    animation-name: et_pb_flipLeft;
    box-shadow: 0px 15px 80px -6px rgba(0,0,0,0.2);
}
/* Slider control */
.slider-next{
    text-align: right;
    margin-right: 0px;
    float: right;
    width: 40%;
}
.slider-prev{
    text-align: left;
    margin-left: 0px;
    width: 40%;
    float: left;
}
body .bx-wrapper{
    max-width: inherit!important;
}
.carousel-control-next-icon, .carousel-control-prev-icon{
    background-color: rgba(0,0,0,0.2)!important;
    padding: 15px!important;
    background-size: 24px auto!important;
    min-width: 50px;
    min-height: 50px;
}
.today-date{
    background: #005596;
    color: #ffffff;
    line-height: 1;
    padding: 3%;
    text-align: center;
}
.today-date .date-day{
    font-size: 7rem;
    font-weight: bold;
}
.today-date .date-month{
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
}
.today-date .date-year{
    font-size: 3rem;
}

/* Newsletter */
section#newsletter .inner-nl {
    padding: 2%;
    background-color: #f1f1f1;
    border: solid 3px #005596;
    margin-top: 3%;
}

form.wpcf7-form p{
    font-size: 0.8rem;
}
form .wpcf7-form .wpcf7-form-control-wrap {
    display: inline-block;
}
body input.wpcf7-form-control.wpcf7-submit.btn.btn-primary{
    float: right;
}

body .wpcf7-form input[type="radio"], body  .wpcf7-form input[type="checkbox"] {
    width: 20px !important;
}
.wpcf7-form-control-wrap {
    float: left;
}
.wpcf7-form-control.wpcf7-checkbox.form-control {
    background-color: transparent;
    border: none;
    padding: 0;
}
#newsletter h3 {
    margin-top: 10px;
}
h4.newsletter-subtitle {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-right: 20px;
}
p.newsletter-subtitle {
    line-height: 1.6rem;
    letter-spacing: 1px;
    font-size: 17px !important;
    font-weight: lighter;
}
/* IG home*/
#sb_instagram .sb_instagram_header{
    text-align: center;
}
#sb_instagram .sb_instagram_header a{
    display: inline-block;
    float: none;
}
#wdi_feed_0_users{
    text-align: center;
}
.wdi_layout_th .wdi_single_user{
    float: inherit;
    margin-bottom: 2%;
}

/* Section Archive Blog */
.home .item-xp {
    height: 50vh;
    min-height: 400px;
    padding: 2%!important;
    margin: 5px;
}
.item-xp ul{
    margin: 0;
    padding: 0;
}
.post-categories li {
    display: inline-block;
    margin: 0 2px;
    /*background: rgba(255,255,255,0.8);
    padding: 1%;*/
    background: #ffffff;
    padding: 5px 8px;
    text-transform: uppercase;
    font-size: 80%;
    font-weight: bold;
}
.content-exp {
    height: 100%;
    padding: 15px;
    z-index: 5;
    position: relative;
}
/*.item-xp:hover .content-exp{
    background: rgba(0,0,0,0.4);
    transform: scale(1.1);
}*/
.gradient {
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 4;
    opacity: 0.6;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}
#blog .overlay {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 4;
    opacity: 0.6;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    background-color: #000000;
    opacity: 0.5;
}
#blog article:hover > .overlay {
    opacity: 0.7;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    width: 95%;
    height: 95%;
    left: 2.5%;
    bottom: 2.5%;
    top: 2.5%;
    right: 2.5%;
}
article:hover > .gradient {
    opacity: 0.8;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    width: 95%;
    height: 95%;
    left: 2.5%;
    bottom: 2.5%;
}

.item-xp .item-title{
    font-weight: 500;
    padding-top: 20px;
    display: inline-block;
    text-shadow: 0 0 30px rgba(0,0,0,0.9);
    text-transform: uppercase;
}
.item-xp .footer-action {
    position: absolute;
    bottom: 20px;
}
.item-xp .item-title a{
    color: #fff;
}

.only-mobile {
    display: none;
}
@media screen and (max-width: 1024px) {
    .only-mobile {
        display: block;
    }
}
@media screen and (max-device-width: 1366px) {
    #promozioni .slider-next{
        text-align: right;
        float: right;
        width: 50%;
        background: #005596;
        margin: 0;
    }
    #promozioni .slider-prev{
        text-align: left;
        margin-left: 0;
        width: 50%;
        float: left;
        background: #005596;
    }
    section#newwsletter .inner-nl {
        width: 98%;
        margin: auto;
    }
}
@media screen and (max-device-width: 1024px) {
    body.home .row {
        margin-left: 0;
        margin-right: 0;
    }
    .today-date.col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    #blog .col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 48%;
        max-width: 46%;
    }
}
@media screen and (max-width: 1023px) {
    #promozioni .today-date div {
        display: inline;
        font-size: 3rem !important;
    }
    #promozioni .today-date div:after {
        content: '.';
    }
    #promozioni .today-date div:last-child:after {
        content: ' ';
    }
    #promozioni .today-date {
        padding: 20px;
    }
}
@media only screen and (max-width: 979px) {
    .content-video, .content-img{
        height: inherit;
    }
    .content-news-home {
        float: inherit !important;
        z-index: 9;
        left: 0;
    }
}

@media screen and (max-width: 768px) {
    .col-md-6.focus-box {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .item-xp.col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 48%;
        flex: 0 0 48%;
        max-width: 48%;
        height: 250px;
    }
}
@media only screen and (max-width: 767px) {
    .content-video, .content-img3{
        /*height: 50vh;*/
        height: auto;
    }
    .content-news-home {
        position: relative;
    }
    #focus {
        overflow: hidden;
    }
    body .hover-focus-box, body .hover-focus-box:hover {
        top: 12% !important;
        font-size: 1.1rem !important;
    }
    #premium-services img {
        width: 50%;
    }
    #other-services .col-sm-3 {
        width: 50%;
    }
    /*body #instagram-stream  #wdi_feed_0 .wdi_feed_item {
        width: 33,3% !important;
    }*/
    .text-2r {
        font-size: 1.5rem;
    }
    .home header.v-divider-bottom h3 {
        font-size: 2rem;
    }
    .home header.v-divider-bottom .vetrine-subtitle {
        font-size: 1.1rem;
    }
    body .content-news-home {
        position: relative !important;
    }
    #promozioni .today-date div {
        display: inline;
        font-size: 2rem !important;
    }
    #sub-header h2 {
        font-size: 1.3rem;
    }
    #vetrine .item-fg-sq {
        width: 200px !important;
    }
    #promozioni .item-fg-sq {
        width: 50%;
    }
}
@media screen and (max-width: 560px) {
    #fg-video video, #vetrine .slider-controls {
        display: none;
    }
    .content-news-home {
        border-bottom: 1px solid #dddddd;
    }
    .home .item-xp {
        height: 70vh !important;
        padding: 2%!important;
        margin: 5px;
        min-height: inherit !important;
    }
}
@media screen and (max-width: 320px) {
    .home .item-xp {
        height: 40vh !important;
        padding: 2%!important;
        margin: 5px;
        min-height: inherit !important;
    }
}

