@charset "utf-8";
/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');


@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome/fontawesome-webfont.eot?v=4.6.3');
  src: url('../fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('../fonts/fontawesome/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('../fonts/fontawesome/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('../fonts/fontawesome/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('../fonts/fontawesome/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'ralewaysemibold';
    src: url('../fonts/raleway/raleway-semibold-webfont.woff2') format('woff2'),
         url('../fonts/raleway/raleway-semibold-webfont.woff') format('woff'),
         url('../fonts/raleway/raleway-semibold-webfont.svg#ralewaysemibold') format('svg');
    font-weight: normal;
    font-style: normal;}

/* Generated by Font Squirrel (https://www.fontsquirrel.com) on June 1, 2016 */



@font-face {
    font-family: 'latoregular';
    src: url('../fonts/lato/lato-regular-webfont.woff2') format('woff2'),
         url('../fonts/lato/lato-regular-webfont.woff') format('woff'),
         url('../fonts/lato/lato-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



@font-face {
font-family:'glyphicons';
src:url(../fonts/glyphicons/glyphicons-halflings-regular.eot);
src:url(../fonts/glyphicons/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),
    url(../fonts/glyphicons/glyphicons-halflings-regular.woff2) format('woff2'),
    url(../fonts/glyphicons/glyphicons-halflings-regular.woff) format('woff'),
    url(../fonts/glyphicons/glyphicons-halflings-regular.ttf) format('truetype'),
    url(../fonts/glyphicons/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')
}


@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icon/icomoon.eot?lfpov6');
  src:  url('../fonts/icon/icomoon.eot?lfpov6#iefix') format('embedded-opentype'),
    url('../fonts/icon/icomoon.ttf?lfpov6') format('truetype'),
    url('../fonts/icon/icomoon.woff?lfpov6') format('woff'),
    url('../fonts/icon/icomoon.svg?lfpov6#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'codelight';
  src: url('../fonts/codeLight.otf');
 
  font-weight: normal;
  font-style: normal;
}
/* This stylesheet generated by Transfonter (http://transfonter.org) on February 6, 2017 2:48 PM */

@font-face {
	font-family: 'Futura';
	src: url('../fonts/futura/FuturaLight.eot');
	src: url('../fonts/futura/FuturaLight.eot?#iefix') format('embedded-opentype'),
		url('../fonts/futura/FuturaLight.woff') format('woff'),
		url('../fonts/futura/FuturaLight.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}




/* CSS MAIN */

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address,big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul,li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed,figure, figcaption,footer, header, hgroup,menu, nav, output, ruby, section, summary,time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline; text-decoration: none;}article, aside, details, figcaption, figure,footer,header, hgroup, menu, nav, section {display: block;}body {line-height: 1;}ol, ul{list-style: none;}blockquote, q {quotes: none;}blockquote:before, blockquote:after,q:before, q:after {content: "";content: none;}table {border-collapse: collapse;border-spacing: 0;}

/* ###################################################### */
htlm, body{
    margin: 0;
    padding:0;
    bottom: 0;
    font-family: 'Open Sans';
    width: 100%;
    height: 100%;
}

.overflow-hidden{
    overflow: hidden;
}
.header-menu{
    width: 100%;
    height: 85px;
    position: absolute;
    top: 0px;
    width: 100%;
   
}

.main-menu {
    position: relative;
    margin: 0 auto;
    width: 86%;
    padding: 30px 0;
    text-align: right;
   
}

.box-text-widget {
       width: 80%;
       margin: 50px auto;
       word-break: break-word;
       line-height: 1.4em;
}
.box-text-widget b {
       font-weight: 700;
}



.popup {
       width: 50%;
       top: 50%;
       left: 50%;
       text-align: center;
       margin-top: 30px;
       margin-left: -100px;
       position: fixed;
       background: #fff;
       padding: 30px;
}
.b-close {
       position: absolute;
       right: 0;
       top: 0;
       cursor: pointer;
       color: #fff!important;
       background: #ff0000!important;
       padding: 5px 10px!important;
}


.header-menu.small{
    position: fixed;
    background: #fff;
    top:0px;
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transition: 1s all;
    -webkit-transition: 1s all;
    animation: fadegg .8s;
    -webkit-animation: fadegg .8s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadegg .8s; /* Firefox < 16 */
    -ms-animation: fadegg .8s; /* Internet Explorer */
    -o-animation: fadegg .8s; /* Opera < 12.1 */
    box-shadow: 1px -12px 36px #424242;
    z-index: 9999;
}

.header-menu.small a{
    color: #000;
    transition: 1s all;
    -webkit-transition: 1s all;
    animation: fadegg .8s;
    -webkit-animation: fadegg .8s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadegg .8s; /* Firefox < 16 */
    -ms-animation: fadegg .8s; /* Internet Explorer */
    -o-animation: fadegg .8s; /* Opera < 12.1 */   
}

.logo.small{
    background: none;
}

.logo.small img{
    max-width: 170px;
    -webkit-transition: .8s all;
    animation: fade .8s;
    -webkit-animation: fade .8s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fade .8s; /* Firefox < 16 */
    -ms-animation: fade .8s; /* Internet Explorer */
    -o-animation: fade .8s; /* Opera < 12.1 */
}

.sub-menu.small{
    background: #fff;
    
}

.main-menu li{
    display: inline;
   
}

.main-menu a{
    position: relative;
    padding: 15px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}
.main-menu a:hover{
    content: '';
    color: #5095b8;
}

.main-menu ul li ul {
    position: absolute;
    display:inline;
    visibility:hidden;
    opacity:0;
    filter:alpha(opacity=0);
    -webkit-transition:400ms ease;
    -moz-transition:400ms ease;
    -o-transition:400ms ease;
    transition:400ms ease;
    margin: 40px -120px;
    cursor: pointer;
}
.sub-menu1{
    margin: 40px -150px!important;
    
}
.main-menu ul li ul li{
    padding: 0 10px;
    display: flex;
    
}

.main-menu ul li:hover ul{
  visibility:visible;
    opacity:1;
    filter:alpha(opacity=100);
}

.active{
    border-bottom: solid 1px #5095b8;
}

.logo{
    margin: 0 auto;
    position: absolute;
    background: rgba(251,251,251,1);
    padding: 10px;
    top: 0;
}

.logo img{
    width: 100%;
    max-width: 190px;
}

.backgroung{
    position: relative;
    width: 100%;
    height: 750px;
    top: 0;
    left: 0;
    background: url(../img/background/background_img.jpeg) no-repeat fixed; 
    z-index: -1;
    background-position: 100% 95%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.backgroung:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    background: url(../img/background/pattern.png) repeat;
    width: 100%;
    height: 100%;
    opacity: .5;
}

.title{
    width: 100%;
    position: absolute;
    top: 35%;
    font-family: 'Futura';
    text-transform: uppercase;
    color: #fff;
    font-size: 45px;
    text-align: center;
    letter-spacing:2px ;
    font-weight: normal;
}

/* BOX MENU RESPONSIVE */
.btn-rep{
    display: none;
    position: absolute;
    top:0;
    right: 0;
    padding: 20px;
    font-size: 23px;
    cursor: pointer;
    z-index: 999;
}

.box-menu-resp{
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    padding: 50px 0;
    animation: fade 0.2s ease-in-out;
    -webkit-animation: fade 0.2s ease-in-out;
    -moz-animation: fade 0.2s ease-in-out;
    z-index: 99999;
    
}

@keyframes fade {
  0%,100% { opacity: 0 }
  100% { opacity: 1 }
}

@-webkit-keyframes fade {
  0%,100% { opacity: 0 }
  100% { opacity: 1 }
}

@-moz-keyframes fade {
  0%,100% { opacity: 0 }
  100% { opacity: 1 }
}

.esc{
    position: absolute;
    width: 96%;
    top: 15px;
    font-size: 25px;
    text-align: right;
    cursor: pointer;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.esc:hover{
    color: red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.menu-resp a{
    color: #000;
    text-transform: uppercase;
    font-size: 18px;
}

.menu-resp li{
    padding: 15px;
}

canvas{ 
    display: block;
    vertical-align: bottom;
} 

/* ---- particles.js container ---- */ 
#particles-js{ 
    position:absolute;
    width: 100%;
    height: 100%;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

/* ---- stats.js ---- */
.count-particles{ 
    background: none;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles{
    font-size: 1.1em;
}

#stats, .count-particles{
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats{
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles{ 
    border-radius: 0 0 3px 3px;
}

#chi, #home, #service, #media, #contact, #gear,#showreel{
    height: auto;
    padding-bottom: 50px;
}

/* CHI */
.container{
    position: relative;
    margin: 0 auto;
    text-align: center;
   
    padding: 120px 0
}

.content-chi{
    margin: 0 auto;
    width: 80%;
    text-align: justify;
    
}

.content-title{
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: normal;
    text-transform: uppercase;
    padding-bottom: 13px;
    padding-top: 10px;
}

.chi-subtitle{
    padding: 40px ;
    line-height: 1.4em;
    text-align: justify;
}

.style{
    width: 350px;
    border: 0;
    height: 1px;
    background: #5095b8;
    background-image: linear-gradient(to right, #8ac6e4, #5095b8, #8ac6e4);
}

.box-chi{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    text-align: center;    
    padding: 80px 0;
}

.box-horizontal{
    position: relative;
    width: 85%;
    margin: 15px auto;
    box-shadow: 2px 2px 10px  #cccccc;
   
    
}

.box-horizontal:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    border-bottom: solid 1px #5095b8;
    opacity: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    z-index: -1;
}

.box-horizontal:hover:before{
    opacity: 1;
}

.box-horizontal-img{
    float: left;
    width: 30%;
    margin-right: 20px;
    
}
.production{
    background: url(../img/production.jpg) no-repeat;
    width: 350px;
    height: 350px;
    background-size: cover;
    background-position:center center;
    
}

.business{
    background: url(../img/business.jpg) no-repeat;
    width: 350px;
    height: 350px;
    background-size: cover;
    background-position:center center;
    
}

.music{
    background: url(../img/music.jpg) no-repeat;
    width: 350px;
    height: 350px;
    background-size: cover;
    background-position:center center;
   
}


.box-horizontal-title{
    text-align: j;
    font-size: 22px;
    text-transform: uppercase;
    padding: 25px ;
    color: #292c3d;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 3px #767779;
}

.box-horizontal-title p{
    text-align: justify;
    padding-top: 25px;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.4em;
    color: #767779;
    text-transform: none;
    text-shadow: none;
}

.box-horizontal-social i{
    padding: 9px;
    border: solid 1px #767779;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.box-horizontal-social a{
    color: #767779;
    font-size: 18px;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.box-horizontal-social a:hover{
    color: #000;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    
}
.box-horizontal-social:hover i:hover{
    border: solid 1px #000;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.box-horizontal-link{
    font-size: 15px;
    padding: 15px;
    font-weight: 600;
}
.box-horizontal-link a{
    font-weight: normal;
    color: #000;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.box-horizontal-link a:hover{
    color: brown;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
/* ANIMATION */
.hidden{
	opacity: 0;
}

.visible{
	opacity: 1;
}

.primo{
    animation-delay: 100ms;
    animation-duration: 120ms;
    -webkit-animation-delay: 100ms;
    -webkit-animation-duration: 120ms;
    
}

.secondo{
    animation-delay: 200ms;
    animation-duration: 120ms;
    -webkit-animation-delay: 200ms;
    -webkit-animation-duration: 120ms;
}

.terzo{
    animation-delay: 300ms;
    animation-duration: 120ms;
    -webkit-animation-delay: 300ms;
    -webkit-animation-duration: 120ms;
}

/* SHOWREEL */
.video-box{
    position: relative;
    margin: 50px auto;
    height: 650px;
}

#box-showreel{
    position: relative;
    margin: 50px auto;
    height: 650px;
    background: url(../img/showreel/background.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
}

#box-showreel:before{
    content: '';
    width: 100%;
    height: 100%;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../img/background/pattern.png) repeat;
    z-index: 0;
}

#box-showreel:hover:after{
    font-family: 'FontAwesome';
    content: '\f16a';    
    position: absolute;
    top: 40%;
    left: 48%;
    font-size: 60px;
    cursor: pointer;
    color: #fff;
}

#home-video{
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

/* SERVIZI */

.conatainer-service{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    
}

.content-box{
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
}
.servizi{
    background: #eee;
}

.box-service{
    position: relative;
    width: 25em;
    background: #fff;
    margin: 10px;
    box-shadow: 2px 2px 10px #cccccc;
    padding: 5px;
}

.box-service:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-bottom: solid 2px #5095b8;
    opacity: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    z-index: -1;
}

.box-service-img{
    position: relative;
}

.box-service:hover:before{
    opacity: 1;
}

.box-service-img img{
    position: relative;
    width: 100%;
}

.box-service-title{
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    padding: 25px 10px;
    color: #292c3d;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 3px #767779;
}

.box-service-title h3 strong{
    display: block;
    font-size: 27px;
    font-style: normal;
    margin: 0 0 6px 0;
    text-shadow: 1px 1px 3px #767779;
    letter-spacing: 0;
    color: #000;
    transition: all .3s ease-in-out;
}

.box-service:hover .box-service-title h3 strong{
    color: #5095b8;
    transition: all .3s ease-in-out;
}

.box-service-title h3{
    font-size: 16px;
    text-shadow: none;
    font-style: italic;
    letter-spacing: 0;
    color: #767779;
}

.box-service-text{
    text-align: center;
    padding: 10px 40px;
    font-size: 15px;
    line-height: 1.4em;
    color: #767779;
    text-transform: none;
    text-shadow: none;
}

.button-service{
    padding: 10px 15px;
    width: 120px;
    margin: 0 auto;
    background: #4e4e4e;
    border: solid 1px #4e4e4e;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
   
}

.button-service:hover{
    border: solid 1px #000;
    color: #000;
    background: none;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.show-me{
    display: none;
    padding: 10px;
    margin: 0 auto;
}
.show-me li{
    list-style: none;
    padding: 10px;
    width: 120px;
    margin: 0 auto;
    text-transform: uppercase;
    border: solid 1px #4e4e4e;
     transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    font-size: 14px;
    
}

.show-me li:hover{
    border: solid 1px #fff;
    background: rgba(78,78,78,0.8);
    color: #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.show-title{
    text-transform: uppercase;
    color: #292c3d;
    padding: 10px;
    font-weight: 600;
}
.show-text{
    padding: 15px 20px;
    line-height: 1.5em;
}
.show-text span{
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 20px
}
.social-service{
    padding:20px 15px;
    
}

.social-service a{
    padding: 6px;
    color: #000;
    border: solid 1px #4e4e4e;
    
}

.morecontent span {
    display: none;
}
.morelink {
    display: block;
    padding: 10px;
    width: 120px;
    margin: 15px auto;
    background: #4e4e4e;
    border: solid 1px #4e4e4e;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.morelink:hover{
    border: solid 1px #000;
    color: #000;
    background: none;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;  
}
.preventivo{
    padding:10px;
    text-transform: uppercase;
    border: solid 1px #4e4e4e;
    cursor: pointer;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    z-index: 99999;
    
}

.preventivo:hover{
    border: solid 1px #4e4e4e;
    background: #424242;
    color: #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.icon-title{
    padding: 3px;
    margin: 40px auto;
}

.icon-title h2 strong{
    display: block;
    margin: 0 0 2px 0;    
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 25px;
    color: #5095b8;
    font-style: normal;
    font-weight: 600;
}

.icon-title h2{
    text-align: center;
    text-transform: uppercase;
    text-align: center;
    color: #4c4c4c;
    font-size: 17px;
    font-style: italic;
}

.icon-subtitle{
    text-align: left;
    text-justify:inter-word;
    line-height: 1.2;
    font-size: 14px;
    
}

.icon-subtitle li{
    text-align: left;
    margin:5px 10px;
    list-style: none;
}

.icon-subtitle li:before{
    content: '■';
    color: #5095b8;
    padding: 0 10px;
}
.icon-subtitle li strong{
    font-weight: bold;
}

.service-subtitle{
    padding: 40px 0;
    line-height: 1.25;
    text-align: center;
}

/* ICON */
.fa-newspaper-o,
.fa-industry, .fa-video-camera, .fa-film, .fa-group{
    color: #fff;
    font-size: 40px!important;
}

/* FORMAT */

#format{
    background: url(../img/background/format.png) repeat;
   
}

.box-format{
    margin: 20px auto;
    width: 80%;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.box-cucina{
    position: relative;
    overflow: hidden;
    background: url(../img/format/cucina.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    max-width: 350px;
    min-height: 350px;
    margin: 15px;
}

.box-cucina:before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(51,51,51,0.6);
    opacity: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.cucina{
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.35s,transform 0.35s;
    opacity: 0;
    transform: scale(0);
}

.cucina-title{
    line-height: 350px;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
}

.cucina:before{
    position: absolute;
    display: block;
    box-sizing: border-box;
    content: '';
    height: calc(100% - 40px);
    width: calc(100% - 42px);
    margin: 20px;
    z-index: -1;
    border: 1px solid rgba(255,255,255,0.50);
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.box-cucina:hover .cucina{
    transition: opacity 0.35s,transform 0.35s;
    opacity: 1;
    transform: scale(1);
}

.box-cucina:hover:before{
    opacity: 1;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.cucina a{
    line-height: 350px;
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.50);
    background: rgba(51,51,51,.5);
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.cucina a:hover{
    background: rgba(250,250,250,0.6);
    color: #000;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.isola{
    background: url(../img/format/isola.jpg) no-repeat;
    background-size: cover;
}

.food{
    background: url(../img/format/food.jpg) no-repeat;
    background-size: cover;
}

.degage{
    background: url(../img/format/de.jpg) no-repeat;
    background-size: cover;
}

.vino{
    background: url(../img/format/vino.jpg) no-repeat;
    background-size: cover;
}


/* PORTFOLIO */
.content-portfolio{
    margin: 20px auto;
    width: 60%;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.box-portfolio{
    position: relative;
    width: 180px;
    height: 180px;
    overflow: hidden;
    margin: 15px;
    
}
.box-portfolio:after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 99%;
    height: 99%;
    opacity: 0;
    z-index: 0;
    background: rgba(251,251,251,0.3);
    border-bottom: solid 1px #5095b8;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
   
}
.box-portfolio:hover:after {
    opacity: 1;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    border-bottom: solid 1px #5095b8;
    cursor: pointer;
}

.box-portfolio img{
    background-size: cover;
    width: 100%;
}

.box-portfolio a{
    display: block;
    position: absolute;
    top: 0;
    z-index: 999;
}


/* GEAR */
.gear{
    position: relative;
    background: #ddd;
    background-size: cover;
    background-position: top center;
    z-index: 2;
}
.gear:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(250,250,250,0.7);
    top: 0;
    left: 0;
    z-index: -1;
}
.content-gear{
    padding: 80px;
}

/* MEDIA */
.content-media{
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: nowrap;
    padding-bottom: 20px;
}
.content-gallery, .content-video{
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 360px 0;
    position: relative;
    overflow: hidden;
}

.content-gallery:before{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: url(../img/media/photo.jpg) no-repeat center center;
    background-size: cover;
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;
}

.content-gallery:hover:before{
    transform:scale(1.2) rotate(5deg);
    -webkit-transform:scale(1.2) rotate(5deg);
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;   
}

.content-gallery:after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(250,250,250,0.6);
    z-index: 1;
    opacity: 0;
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;
}
.content-gallery:hover:after{
    opacity: 1;
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;   
}
.photos, .video{
    position: absolute;
    font-size: 25px;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
    left: 45%;
    padding: 10px;
    border: solid 1px #424242;
    background: rgba(51,51,51,0.9);
    cursor: pointer;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;   
}
.photos:hover{
    border: solid 1px #424242;
    padding: 10px;
    background: rgba(250,250,250,0.5);
    color: #424242;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;   
    
}
/* VIDEO */
.content-video:before{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: url(../img/media/video.jpg) no-repeat center center;
    background-size: cover;
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;
}

.content-video:hover:before{
    transform:scale(1.2) rotate(5deg);
    -webkit-transform:scale(1.2) rotate(5deg);
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;   
}

.content-video:after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(250,250,250,0.6);
    z-index: 1;
    opacity: 0;
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;
}
.content-video:hover:after{
    opacity: 1;
    transition: all .6s ease-in-out;
    -webkit-transition: all .6s ease-in-out;   
}

.video:hover{
    border: solid 1px #424242;
    padding: 10px;
    background: rgba(250,250,250,0.5);
    color: #424242;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

/* CONTENITORE PHOTO */
.box-photo-gallery{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
    text-align: center;
    overflow-y: auto;
}
.content-photo{
    padding: 100px;
    margin: 0 auto;
}
.zoom-gallery img{
    width: 100%;
    height: 100%;
    max-width: 350px;
    margin: 2px;
}

.image-source-link {
	color: #98C3D1;
}

/* CONTENITORE VIDEO */
.box-gallery-video{
   position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 9999;
    display: none;
    text-align: center;
    overflow-y: auto;
    margin: 0 auto;
}
.content-youtube{
    margin: 0 auto;
    padding:0 100px;
}
.box-youtube{
    position: relative;
    width: 300px;
    height: 200px;
    margin: 5px;
    float: left;
}
.box-youtube img{
    width: 300px;
    height: 200px;
}
.box-youtube:before{
    position: absolute;
    content: '';
    background: rgba(250,250,250,0.5);
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.box-youtube:after{
   font-family: 'FontAwesome';
    content: '\f16a';    
    position: absolute;
    line-height: 200px;    
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 55px;
    cursor: pointer;
    color: red;
    opacity: 0;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
}
.box-youtube:hover:after{
    opacity: 1;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
}
.box-youtube:hover:before{
    opacity: 1;
    transition: all .3s linear;
    -webkit-transition: all .3s linear;
}
/* CONTATTI */
.box-contact{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 70%;
    margin: 100px auto;
    text-align: center;
}
.adress1{
    padding-top: 40px;
}
.adress1 h2{
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px;
    border: solid 1px #4e4e4e;
    width: 250px;
    margin: 0 auto;
}
.adress-text{
    padding: 15px;    
}
.adress-text p{
    padding: 3px;
}
.adress-text a{
    color: #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.adress-text a:hover{
    color:#2b6a8a;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.box-photo{
    overflow: hidden;
    position: relative;
    margin: 10px 10px;
    width: 300px;
    height: 100%;
}

.box-photo:after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    background: rgba(251,251,251,0.5);
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.photo img{
    width: 100%;
    height: 100%;
    background-size: cover;
    
}
.box-name{
    position: absolute;
    width: 100%;
    bottom:-80px;
    height: 160px;
    background: rgba(51,51,51,0.7);
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    z-index: 1;
    overflow: hidden;
}
.name{
    padding: 20px 0;
}
.name h3 strong{
    display: block;
    margin: 0 0 5px 0;   
    text-transform: uppercase;
    font-size: 20px;
    color: #fff;
    font-style: normal;
}
.name h3{
    text-align: center;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-style: italic;
}
.sub-name{
    padding: 30px;
    background: #5095b8;
}

.sub-name a{
    color: #fff;
    border: solid 1px #5095b8;
    padding: 15px;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.sub-name a:hover{
    color: #fff;
    border: solid 1px #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.box-photo:hover .box-name{
    bottom: -5px;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    background: rgba(51,51,51,1);
}

.box-photo:hover:after {
    opacity: 1;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.adress{
    width: 100%;
    padding: 20px 0;
}

#mappa{
    width:100%;
    height:450px;
    /*background-image: url('../img/mappa.jpg');*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#mappa iframe{
    pointer-events: none;
}

/* SHOP */
h0{
    text-transform: uppercase;
    font-weight: 600; 
}

.container-shop{
    top: 0;
    position: fixed;
    display: none;
    margin: 0 auto;       
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
}
.content-shop{
    position: relative;
    display: flex;
    justify-content: center;
    width: 80%;
    height: 350px;
    margin: 80px auto;
    
}
.box-shop{
    position: relative;
    text-align: center;
    width: 280px;
    height: 300px;
    border: solid 1px #ddd;
    float: left;
    margin:10px 50px;
    overflow: hidden;
    transition: all .3s ease-in-out;
    box-shadow: 0px 0px 15px #4e4e4e;
    
}
#box-shop-hover:hover{
    cursor: pointer;
    transition: all .3s ease-in-out;
}
    
#box-shop-hover:hover:before{
    display: block;
}
#box-shop-hover{
    position: absolute;
    width: 100%;
    transition: all .3s ease-in-out;
    left: 0;
    height: 90%;
}
    
#box-shop-hover:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-bottom: solid 2px orange;
    display: none;
}
#box-shop-hover {
    padding: 12px 0;
    font-size: 20px;
}
.radio{
    display:inline-block;
}

.box-shop input[type='radio']{
    display:none;
}

.box-shop input[type='radio']:checked + .radio{
    background:redf;
    color: darkgreen;
    transition: all .3s ease-in-out;
    border-bottom: solid 6px orange;
}
.box-shop input[type='radio']:checked + .radio:after{
    font-family: 'FontAwesome';
    content: '\f00c';
    padding: 5px;
}
    
.box-shop span{
    position: absolute;
    top: 60px;
    left: 6px;
    color: #000;
    font-size: 16px;
    line-height: 1.5em;
}

.box-shop li{
    text-align: left;
    padding: 0 8px;
    list-style: none;
}
.button-shop{
    padding: 10px;
    border: solid 1px #4e4e4e;
    background: #4e4e4e;
    color: #fff;
    transition: all .3s ease-in-out;
    text-transform: uppercase;
}

.button-shop:hover{
    color: #4e4e4e;
    background: #fff;
    border: solid 1px #4e4e4e;
    transition: all .3s ease-in-out;
}

.shop-buttom{
    position: absolute;
    bottom:-20px;
    margin:0 35px;
}
.title-shop{
    margin: 35px 0;
} 
.title-shop h1{
    text-align: center;
    text-transform: uppercase;
    color: #4c4c4c;
    font-size: 17px;
    padding: 50px;
}
.title-shop h1 strong{
    display: block;
    margin: 0 0 2px 0;
    text-align: center;
    width: 100%;
    font-family: 'Futura';
    text-transform: uppercase;
    color: #4e4e4e;
    font-size: 45px;
    text-align: center;
    letter-spacing:2px ;
    font-weight: normal;
}
#esc-shop{
    float: right;
    padding: 15px;
    font-size: 20px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
#esc-shop:hover{
    color: red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.push{
    cursor: pointer;
}
.paypal{
    text-align: center;
    font-size: 13px;
    padding: 50px;
}
.paypal img{
    width: 90px;
}
.fa-lock{
    padding: 5px;
    color:orangered;
}

/* BOX AGENTE */
.box-agente{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: #fff;
    z-index: 9999;
    padding: 50px 0;
}
.container-agente{
    position: relative;
    width: 60%;
    height: 650px;
    margin: 0 auto;
    padding: 50px;
    overflow-y: scroll;
}
.exit-agente{
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    margin: 0 50px;
    border: solid 2px #000;
    cursor: pointer;
}
.title-agente{
    text-align: center;
    text-transform: uppercase;
    font-size: 25px;
    padding: 50px;
}

.agente{
    display: flex;
    justify-content: center;
    padding: 20px;
    
}
.agente img{
    width: 500px;
}

.text-agente{
    padding: 0 20px;
    font-size: 20px;
    line-height: 1.3em;
}
/* FOOOTER */
footer{
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #333;    
    margin: 0 ;
    padding: 0;
   
}
.container-footer{
    width: 60%;
    position: relative;
    padding: 50px;
    display: flex;
    justify-content:space-around;
    flex-wrap: wrap;
}
.footer-logo{
    padding-bottom: 20px;
}
.footer-logo img{
    width: 150px;
    padding:0 0 20px;
}
.footer-text{
    padding:0 0 10px;
    color: #fff;
    line-height: 1.3;
    font-size: 14px;
}

.footer-text strong{
    margin: 15px 0;
    color: #fff;
    font-size: 15px;
}
.footer-text hr{
    margin-left: 0;
    width: 100px;
    border: none;
    border-bottom: solid 1px #ddd;
    padding: 3px;
}
.footer-text ul li{
    padding: 5px 0;
}
.footer-text ul li i{
    margin-right: 10px;
    font-size: 20px;
}
.footer-text ul li p{
    display: inline-block;
}
.footer-text ul li a{
    color:#fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.footer-text ul li a:hover{
    color: #5095b8;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.fa-envelope-o{
    font-size: 15px!important;
}

.footer-wrapper{
    width: 100%;
    margin: 0 auto;
    background: url(../img/footer/img-wrapper.png);
    color: #fff;
    font-size: 13px;
}
.footer-wrapper-content{
    margin: 0 auto;
    width: 60%;
    padding: 35px 0;
    color: #ddd;
}

.copyright{
    float: left;
}

.copyright i{
    cursor: pointer;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.copyright i:hover{
    color: #5095b8;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.social{
    float: right;
}
.social span a{
    margin-right: 10px;
    text-transform: uppercase;
    color: #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.social span a:hover{
    color: #5095b8;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}


/* FORM */

#contact input[type='text']{
    padding: 10px;
    margin: 10px 0;
    width: 280px;
    font-size: 15px;
    border-radius: 5px;
    border-bottom: solid 1px #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
#contact input[type='text']:hover{
    border-bottom: solid 1px red;
    color: red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

#contact input[type='text']:focus{
    border-bottom: solid 1px red;
    color: #2b6a8a;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

/* CHECKBOX STYLE */

.bigcheck-target {
    font-family: 'FontAwesome'; /* use an icon font for the checkbox */ 
    padding:0 10px;
    color: #fff;
    cursor: pointer;
    width: 10px;
    height: 10px;
    top: 0;
    
}
#contact input[type='checkbox'].bigcheck {     
    position: relative;
    /* hide the real checkbox */
    display: none;
   
}

#contact input[type='checkbox'].bigcheck + span.bigcheck-target:after {
    content: "\f096"; /* In fontawesome, is an open square (fa-square-o) */
    width: 15px;
    height: 15px; 
}

#contact input[type='checkbox'].bigcheck:checked + span.bigcheck-target:after {
    content: "\f046"; /* fontawesome checked box (fa-check-square-o) */
    color: #5095b8;
}

span.bigcheck { 
    display: block;
    padding: 5px 0;
    color: #fff;
    font-size: 16px;
}

/* end .squaredFour */
.normativa, .mio{
    font-size: 14px;
}

.normativa{
    cursor: pointer;
}


#contact textarea{
    font-family: 'Open Sans';
    padding: 10px;
    margin: 10px 0;
    width: 280px;
    font-size: 15px;
    border-radius: 5px;
    border-bottom: solid 1px #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

#contact textarea:hover{
    border-bottom: solid 1px red;
    color: red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

textarea:focus{
    border-bottom: solid 1px red;
    color: #2b6a8a;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.button{
    padding: 5px 10px;
    background: none;
    border: solid 1px #fff;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.button:hover{
    border: solid 1px #2b6a8a;
    color: #2b6a8a;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

#errori{
    position: absolute;
    font-size:12px;
	padding:15px 0;
	margin:8px auto;
	border-bottom: 2px solid #ce5757;
	text-shadow:1px 1px 1px #CCCCCC;
    background:#e6abab;
	color:#000;
    width: 50%;
}

#errori:before{
	content:"\f00d";
	font-family:'FontAwesome';
	margin: 5px;
	color:red;
}

#risultato{
    position: absolute;
    font-size:12px;
	padding:15px 0;
	margin:8px auto;
	border-bottom:2px solid #247514;
	text-shadow:1px 1px 1px #CCCCCC;
	background:#a9ffc1;
    color:#000;
    width: 50%;
}
#risultato:before{
	content:"\f078";
	font-family:'FontAwesome';
	margin:5px;
	color:green;
}

.loading{
    width: 100%;
    max-width: 40px;
    background: #333;
}

/* FORM PREVENTIVO */
.container-preventivo{
    display: none;
    position: fixed;
    top:0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background: rgba(51,51,51,0.8);
    z-index: 99999;
    
}

.content-preventivo{
    position: relative;
    margin: 50px auto;
    width: 70%;
    padding: 50px;
    background: #fff;
    box-shadow: 0px 0px 8px rgba(250,250,250,0.6);
    
}

#esc-prev{
    position: absolute;
    top: 0;
    right: 0;
    padding: 30px;
    cursor: pointer;
    font-size: 25px;
    color: #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

#esc-prev:hover{
    color: red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.preventivo-title h2 strong{
    display: block;
    font-family: 'Futura';
    margin: 0 0 2px 0;    
    letter-spacing: 1px;
    font-size: 35px;
    color: #4e4e4e;
    text-align: center;
    text-transform: uppercase;
    font-style: normal;
    
}

.preventivo-title h2{
    text-align: center;
    text-transform: uppercase;
    text-align: center;
    color: #4c4c4c;
    font-size: 20px;
    font-style: italic;
}

.form-preventivo{
    margin: 20px auto;
    padding: 15px;
    width: 80%;
    text-align: justify;
}
#contact-prev{
    margin: 0 auto;
    text-align: center;
}
#contact-prev span{
    padding: 5px;
   
}

#contact-prev input[type="text"]{
    border: solid 1px #4e4e4e;
    color: #000;
    padding: 10px;
    margin: 10px 0;
    font-size: 15px;
    border-radius: 5px;
    border-bottom: solid 1px #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
#contact-prev input[type="text"]:hover{
    border-bottom: solid 1px red;
    color: red;
}
#contact-prev input[type="text"]:focus{
    border: solid 1px red;
}

#contact-prev select:invalid{
  color: #4e4e4e;
}
#contact-prev select[name='servizi']{
    padding: 15px;
    cursor: pointer;
    background:
    linear-gradient(45deg, transparent 50%, #000 50%),
    linear-gradient(135deg, #000 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ddd);
    background-position:
    calc(100% - 21px) calc(1em + 2px),
    calc(100% - 16px) calc(1em + 2px),
    100% 0;
    background-size:
    5px 5px,
    5px 5px,
    2.5em 2.5em;
    background-repeat: no-repeat;
    border: 1px solid #4e4e4e;
    font: 300 1em/100% "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    width: 300px;
  /* reset */
    border-radius: 5px;
    margin: 0;      
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance:none;
    -moz-appearance:none;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

#contact-prev select[name='servizi']:hover{
    border-bottom: solid 1px red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.servizi-add{
    margin: 10px 0px;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    border: solid 1px #4e4e4e;
}

#contact-prev input[type="checkbox"]{
    cursor: pointer;
}

#contact-prev fieldset{
    margin: 0 auto;
    height: 100px;
    display: flex;
    flex-wrap:wrap;
    width: 120px;
}


.button-prev{
    margin: 50px;
    padding: 15px 25px;
    border: solid 1px #4e4e4e;
    background: #fff;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.button-prev:hover{
    border: solid 1px #4e4e4e;
    background: #4e4e4e;
    color: #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

/* NORMATIVA */

.box-normativa{
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(51,51,51,0.8);
    margin: 0 auto;
    padding: 50px 0;
    z-index: 99999;
}
#esc{
    position: absolute;
    top: 0;
    right: 0;
    padding: 30px;
    cursor: pointer;
    font-size: 25px;
    color: #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

#esc:hover{
    color: red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
#esc-v{
    position: absolute;
    top: 0;
    right: 0;
    padding: 30px;
    cursor: pointer;
    font-size: 25px;
    color: #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
#esc-v:hover{
    color: red;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}


#contenitore_candidatura{
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(51,51,51,0.8);
    margin: 0 auto;
    z-index: 99999999999;
    
    
}

.content_candidatura{
    background: #fff;
    overflow-x: auto;
    height: 950px;
    
    
   
    
}
.job{
    cursor: pointer;
}
.post_candidatura{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0;
    line-height: 1.4em;
    
}

.cookie{
    position: relative;
    width: 70%;
    height: 760px;
    margin: 0 auto;
    padding: 50px;
    background: #fff;
    text-align: justify;
    line-height: 1.3;
    overflow-y: scroll;
}

.cookie h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    padding: 20px;
    font-weight: bold;
}

.cookie h3{
    text-align: center;
    text-transform: uppercase;
    padding: 20px;
    font-size: 20px;
}

.cookie-link{
    padding: 20px;
    text-align: center; 
}

.cookie-link a{
    color: #333;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.cookie-link a:hover{
    color: #5095b8;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

/* TOP UP */
.cd-top {
    font-family: 'FontAwesome';
    display: inline-block;
    height: 55px;
    width: 55px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    font-size: 30px;
    border-radius: 50%;
    border: solid 1px rgba(80,149,184,0.84);
    white-space: nowrap;
    text-align: center;
    color: rgba(80,149,184,0.84);
    line-height: 50px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s .3s, visibility 0s .9s;
    -moz-transition: opacity .3s .3s, visibility 0s .9s;
    transition: opacity .3s .3s, visibility 0s .9s;
    z-index: 999;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch, .cd-top:hover {
  -webkit-transition: opacity .5s 0s, visibility .5s 0s;
  -moz-transition: opacity .5s 0s, visibility .5s 0s;
  transition: opacity .5s 0s, visibility .5s 0s;
}

.cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}
.cd-top.cd-fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}
.no-touch, .cd-top:hover {
    background-color: rgba(80,149,184,0.9);
    color: #fff;
    opacity: 1;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}



.form-privacy{
    padding: 30px;
    position: relative;
}
.form-privacy a{
    color: orange;
     transition: all .5s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}
.form-privacy a:hover{
    color: rgba(80,149,184,1);
     transition: all .2s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.form-privacy h1{
    font-weight: 700;
}

.form-privacy .text{
    padding: 70px 0;
    margin: 0 auto;
    text-align: left;
    width: 80%;
    line-height: 1.3em;
}

.form-privacy .text h1{
    padding: 8px 0;
}

.form-privacy .text h2{
    padding: 8px 30px;
}

.formprivacy{
    padding: 50px 0;
}


.formprivacy input[type="text"], .formprivacy input[type="date"]{
    width: 200px;
    padding: 5px ;
    border-radius: 3px;
    text-transform: uppercase;
    border: solid 1px rgba(80,149,184,0.5);
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    margin-bottom: 10px;
}

.formprivacy input[type="text"]:hover{
    
   
    border: solid 1px orange;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
   
}

.formprivacy input[type="text"]:focus{
    border-bottom: solid 1px rgba(80,149,184,0.5);
    border-top: none;
    border-left: none;
    border-right: none;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.button1{
    width: 80px;
    padding: 5px 15px;
    text-transform: uppercase;
    background: none;
    cursor: pointer;
    border: solid 1px rgba(51,51,51,0.3);
    -webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}


.button1:hover{
     
    border: solid 1px #4e4e4e;
    color: orange;
    -webkit-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}



#risultato1{
    position: absolute;
    font-size:12px;
	padding:15px 0;
	margin:8px auto;
	border-bottom:2px solid #247514;
	text-shadow:1px 1px 1px #CCCCCC;
	background:#a9ffc1;
    color:#000;
    width: 50%;
}
#risultato1:before{
	content:"\f078";
	font-family:'FontAwesome';
	margin:5px;
	color:green;
}



.container-footer-privacy{
    width: 80%;
    position: relative;
    padding: 20px;
    display: flex;
    justify-content:flex-start;
    flex-wrap: wrap;
}

/* LEADING WINER */
.head{
    position: relative;
    width: 100%;
    height: 950px;
    background: url(../img/winter/missW.jpg) no-repeat fixed;
    background-size: cover;
    background-position: 100% 10%;
    margin: 0 auto;
    text-align: center;
}

.head-top{
    position: absolute;
    top: 500px;
    width: 60%;
    margin: 0 auto;
    background: rgba(251,251,251,0.9);
    left: 15%;
    height: 350px;
    padding: 50px;
    box-shadow: 0px 0px 20px #ddd;
}
.home{
    position: absolute;
    left: 10px;
    top: 5px;
    width: 60px;
    height: 60px;
    background: url(../img/winter/home.png) no-repeat;
    background-size: cover;
}
.text-winer{
    margin: 130px 0;
    text-transform: uppercase;
    font-size: 25px;
}
.bottun-win{
    padding: 15px;
    border: solid 1px #414141;
    width: 100px;
    margin: 0 auto;
    text-transform: uppercase;
    color: #414141;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.bottun-win:hover{
    color: cadetblue;
    border: solid 1px cadetblue;
}

@media screen and (max-width:1200px){
    .btn-rep{
        display: block;
        padding: 20px;
        z-index: 9999;
    }
    .backgroung{ 
        width: 100%;
        min-height: 250px;
        -webkit-background-size: cover;
        -moz-background-size: cover;    
        -o-background-size: cover;
        background-size: cover;
        background-position:100% 0%;
    }
    .header-menu{
        height: 70px;
    }
    .logo.small img{
        max-width: 140px;
    }
   
    #particles-js{
        display: none;
    }
    .main-menu{
        height: 20px;
    }
    .logo{
        left: 0;
    }
    .logo img{
        max-width: 120px;
    }
    .main-menu ul{
        display: none;
    }
    .style{
        width: 100%;
    }
    .content-box{
        width: 100%;
    }
    .box-contact{
        width: 100%;
    }
    .content-photo{
        padding:100px 20px;
    }
    
    .content-photo img{
        width: 330px;   
    }
    .content-youtube{
        padding: 0;
    }
    .box-youtube{
       float: none;
        padding: 0;
    }
    .box-youtube img{
        width: 310px;
    }
    .footer-wrapper-content{
        width: 100%;
    }
    .copyright{
        float: none;
        text-align: center;
    }
    .social{
        margin: 0 auto;
        float: none;
        text-align: center;
        padding: 30px 0;
        width: 80%;
    }
    
    #errori, #risultato{
        width: 85%;
    }
    .content-media{
        flex-wrap: wrap;
    }
    .box-shop{
        float: none;
    }
    .content-shop{
        height: 850px;
    }
    .container-shop{
        overflow-y: auto;
    }
    .box-horizontal{
        width: 85%!important;
    }
    .box-horizontal-img{
        left: none;
        width: 100%;
        margin-bottom: 25px;
    }
    
    .box-horizontal-title{
        float: none;
        
    }
    .box-horizontal-title p{
        float: none;
        padding: 25px 0;
    }
    .content-preventivo{
        height: 550px;
        overflow-y: scroll;
    }
    #contact-prev input[name='name']{
        margin-left: 0;
    }
    .form-preventivo{
        width: 100%;
    }
    .container-agente{
        width: 100%;
        padding: 0;
       
    }
    .agente{
        flex-direction: column;
        padding: 20px 0;
        overflow-x: hidden;
    }
    
    .agente img{
        width: 450px;
        padding: 20px 0;
    }

   
}


@media screen and (max-width:1300px){
    
    .box-horizontal-img{
       
        margin-bottom: 25px;
    }
    
    .box-horizontal{
        width: 100%;
        
        
    }
    
    
    
}