/*************************
* CIRCLE STUDIO srl, 2017
**************************/ 

/* @import must be at top of file, otherwise CSS will not work */
@import url("https://hello.myfonts.net/count/32c8f6");


@font-face { font-family: 'FFClanWebProBook';
            src: url('webfonts/32C8F6_0_0.eot');
            src: url('webfonts/32C8F6_0_0.eot#iefix') format('embedded-opentype'),url('webfonts/32C8F6_0_0.woff') format('woff2'),url('webfonts/32C8F6_0_0.woff') format('woff'),url('webfonts/32C8F6_0_0.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
}


@font-face { font-family: 'FFClanWebProMedium';
             src: url('webfonts/32C8F6_1_0.eot');
             src: url('webfonts/32C8F6_1_0.eot#iefix') format('embedded-opentype'),url('webfonts/32C8F6_1_0.woff') format('woff2'),url('webfonts/32C8F6_1_0.woff') format('woff'),url('webfonts/32C8F6_1_0.ttf') format('truetype');
             font-weight: normal;
             font-style: normal;
}


html, body {
    font-size: 100%; /* Raffaele */
    color: #232323;
    font-family: 'FFClanWebProBook';
    height: 100%;
}

.Libre {
    font-family: 'Libre Baskerville';
    font-weight: 400;
    
}

.LibreItalic {
    font-family: 'Libre Baskerville';
    font-weight: 400;
    font-style: italic;
}

.ClanBook {
    font-family: 'FFClanWebProBook';
}

.ClanMedium {
    font-family: 'FFClanWebProMedium';
}

.fill { 
    min-height: 100%;
    height: 100%;
    padding-top:40px;
    box-sizing:border-box;
}

.fill-half { 
    min-height: 50%;
    height: 50%;
    /*padding-top:40px;*/
    box-sizing:border-box;
}

.clear {
    clear: both;
}


hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

pre {
    display: none;
}

p {
    /*font-weight: 300;*/
    font-size: 1em;
    /*line-height: 1.5em;*/
    /*text-align: justify;*/
}

p.white, div.white, .white {
    color: #fff;
}

.dark, p.dark, div.dark {
    color: #4b4b4d;
}

.header-wrapper {
    position: absolute;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    z-index: 99999;
}

.logo-home {
    position: relative;
    margin: 0.5em auto;
}

.nav-hr {
    border-top: 1px solid #cec3b9;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 15px;
}

nav.navbar {
    position: relative;
    margin-bottom: 0;
    min-height: 0;
    z-index: 99999;
}

#nav-sup-home {
    margin-top: 3em;
}

#nav-sup-home ul.menu-items li {
    font-family: 'FFClanWebProBook';
}

ul.menu-items {
    padding: 0;
}

ul.menu-items li {
    font-family: 'FFClanWebProMedium';
    color: #2a2a2a;
    font-weight: bolder;
    letter-spacing: 1px;
    font-size: 12px;
    margin: .5em 1em;
}

ul.menu-items li a, ul.menu-items li a:active, ul.menu-items li a:visited, a, a:active, a:visited, a>p, a>span {
    color: #b0a69d;
}

#menu-icon {
    height: 46px;
    cursor: pointer;
    position: fixed;
    z-index: 999999;
    right: 15px;
    top: 0;
    padding: 11.5px 14px;
}

#menu-icon .base {
    position: relative;
    height: 17px;
    z-index: 1;
}

#menu-icon .base span {
    background: #494949;
}

#menu-icon span {
    display: block;
    width: 100%;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background: #c6c7c8;
    -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    -moz-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    -ms-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

#menu-icon.on span:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(4px, 4px);
    -ms-transform: rotate(45deg) translate(4px, 4px);
    -moz-transition: rotate(45deg) translate(4px, 4px);
    -o-transition: rotate(45deg) translate(4px, 4px);
    transform: rotate(45deg) translate(4px, 4px);
    background: #95a56e;
}

#menu-icon.on span:nth-child(2) {
    opacity: 0;
}

#menu-icon.on span:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(6px, -6px);
    -ms-transform: rotate(-45deg) translate(6px, -6px);
    -moz-transition: rotate(-45deg) translate(6px, -6px);
    -o-transition: rotate(-45deg) translate(6px, -6px);
    transform: rotate(-45deg) translate(6px, -6px);
    background: #95a56e;
}

/* dropdown menu */

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.9);
    border: 0;
    border-radius: 0;
    top: 90%;
}

.dropdown-submenu>a:after {
    content: none;
}

.freccia-nav {
    float: right;
    height: 1em;
    margin: 0 .5em;
}


nav#nav ul.menu-items li.dropdown-submenu {
    color: #2a2a2a;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    background-color: inherit;
    color: #c7183f;
}

li.dropdown:hover .dropdown-menu {
    display: block;
}

ul.dropdown-menu li.dropdown-submenu a {
    color: #4b4b4d;
}

a.white, a.white:active, a.white:visited {
    color: white;
}

a.white:hover {
    color: #232323;
}

a.spento, a.spento:active, a.spento:visited {
    color: #DDD;
}

a.spento:hover {
    color: #CCCCCC;
}

ul.menu-items li a:hover {
    color: #232323;
    text-decoration: none;
}

.social-icon {
    float: left;
    display: inline-block;
    width: 30px;
    margin: 0;
}

.languagemenu {
    margin: .5em 0;
}

.homepage-background, .page-background {
    width: 100%;
    /*height: 100%;*/
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
/*    position: absolute;
    top: 0;*/
    z-index: -9999;
}

.home-title {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    float: none;
}

.home-title h1 {
    font-family: 'FFClanWebProBook';
    display: table;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.scrolldown {
    position: absolute;
    margin: 2em auto;
    position: absolute;
    left: 0;
    right: 0;
}

.blocchi-home {
    margin-top: -3em;
    margin-bottom: 5em;
}

.blocco-hp {
    background-size: cover;
    background-repeat: no-repeat;
}

.blocco-hp-title {
    position: absolute;
    bottom: 1em;
    left: 0;
}

.news-hp {
    background-color: #cec3b9;
    margin: 2em auto;
}

.white-line {
    border-top: 2px solid white;
    width: 50%;
    margin-bottom: 1em;
}

.brown-line {
    border-top: 2px solid #cec3b9;
    width: 50%;
}

.brown-line-full {
    border-top: 2px solid #cec3b9;
    width: 100%;
    margin: 1em 0;
}

.brown-line-full1 {
    border-top: 1px solid #cec3b9;
    width: 100%;
}

.brown-line-nav {
    border-top: 1px solid #cec3b9;
    width: 90%;
}

.leggi-tutto {
    background-color: white;
    padding: .5em 1em;
    position: relative;
    display: table;
    margin: 1.5em auto;
}

.leggi-tutto-dark {
    background-color: #cec3b9;
    padding: .5em 1em;
    position: relative;
    display: table;
    margin: 1.5em auto;
}

.news-std-hp {
    padding: 1em 2em;
    font-size: .8em;
    margin-bottom: 2em;
    min-height: 220px;
}

.azienda-block {
    padding: 1em 2em;
    font-size: .8em;
    margin-bottom: 2em;
    min-height: 260px;
    max-height: 280px;
}

.news-hp-textblock {
    margin-bottom: 4em;
}

.leggi-tutto-std-hp {
    background-color: #cec3b9;
    padding: .5em 1em;
    position: absolute;
    bottom: 0;
    display: inline-block;
    margin: 1.5em auto;
}

.leggi-tutte-le-news {
    padding: .5em 1em;
    position: relative;
    display: table;
    margin: 1.5em auto;
    border: 1px solid #cec3b9;
}

.dati-societa-hp {
    font-size: .75em;
}

.contatti-hp {
    background-color: #e6e1dc;
    padding: 3em;
}

.opacity-layer {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
}

.interne-title {
    position: relative;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 55%;
    float: none;
}

.interne-title h1 {
    font-family: 'FFClanWebProMedium';
    display: table;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-bottom: 2px solid #e6e1dc;
    text-transform: uppercase;
}

.submenu-page-ul {
    margin-top: 2em;
    padding: 0;
}

.submenu-page-ul li {
    list-style: none;
    font-size: .8em;
    line-height: 2em;
    
}
.events-page a{
    color: #b0a69d;
}
.events-page a:hover{
    text-decoration: underline;
}


.page-intro {
    /* font-size: 1.3em; */
    line-height: 1.5em;
}

.page-text {
    margin-top: 2em;
    line-height: 1.5em;
    font-size: .9em;
    
}

.video-block {
    font-size: .9em;
}

h4.gold, .gold {
    color: #cec3b9;
    margin: .5em 0;
}

.leggi-tutto-testimonianza {
    border: 1px solid #cec3b9;
    padding: .5em 1em;
    position: relative;
    display: inline-block;
    margin: 1.5em auto;
}

.shift-0 {
    margin-top: 0em;
}

.shift-1 {
    margin-top: 200px; /* da fare responsive */
    float: right;
}

.shift:nth-child(odd):not(:first-child) {
    clear: none;
}

.shift:nth-child(even):not(:first-child) {
    float: right;
}

.videopreview {
    /*background-size: cover;*/
    background-position: center;
    background-repeat: no-repeat;
    float: none;
}
.videopreview a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}
.imagepreview{  
    background-position: center center;
    background-repeat: no-repeat;
    float: none;
    background-size: auto 100%;
}
.imagepreview a {
    display: block;
    position: relative;
    height: 100%;
}


.press-icon {
    height: 30px;
    float: left;
    margin: 5px 1em 5px 0;
}

.press-title {
    line-height: 40px;
}

.press-line {
    border-top: 1px solid #cec3b9;
    width: 80%;
    margin-bottom: 10px;
}

.event-icon {
    float: left;
    margin: 5px 1em 5px 0;
}

.event-title {
    line-height: 33px;
}

.event-line {
    border-top: 1px solid #cec3b9;
    width: 100%;
    margin-bottom: 10px;
}

input[type="text"] {
    background: none;
    border: none;
    border-bottom: 2px solid #FFF;
    padding: .5em 0;
    font-family: 'FFClanWebProBook';
    font-weight: 100;
    margin: .5em 0;
    color: #4b4b4d;
}

input[type="submit"], input[type="button"] {
    padding: 1em 2.5em;
    text-align: center;
    font-family: 'FFClanWebProMedium';
    font-weight: 100;
    font-style: normal;
    color: #4b4b4d;
    background-color: #FFF;
    border: 0;
    font-size: .9em;
    left: 0;
    right: 0;
    display: block;
}

textarea {
    width: 100%;
    height: 6em;
    font-family: 'FFClanWebProBook';
    font-weight: 100;
    font-style: normal;
    background: transparent;
    margin: 1em 0;
    color: #4b4b4d;
    border: 0;
    border-bottom: 2px solid #FFF;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #4b4b4d;
    font-weight: 100;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #4b4b4d;
    font-weight: 100;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #4b4b4d;
    font-weight: 100;
}
:-moz-placeholder { /* Firefox 18- */
    color: #4b4b4d;
    font-weight: 100;
}

.alphabet {
    float: none;
    text-align: right;
    clear: both;
}

.footer-text {
    font-size: .7em;
}

.loghi-footer {
    margin: 3em auto 0em auto;
    position: relative;
    clear: both;
    width: 80%;
    max-width: 400px;
}

.gallery-cover {
    height: 200px;
}

.gallery-title-wrapper {
    height: 200px;
    display: table;
    padding: 0;
}

h1.gallery-title {
    vertical-align: middle;
    display: table-cell;
    text-align: center;
}

.next-event-hp {
    border: 1px solid #e6e1dc;
    padding: 2em;
    display: inline-block;
}

#form-messages {
    font-size: .7em;
    font-family: 'FFClanWebProMedium';
    margin: 2em 0;
    clear: both;
}

.videotestimonianza {
    width: 100%;
}

/*input#submit {
    transition:         1s ease-in;
    -o-transition:      1s ease-in;
    -ms-transition:     1s ease-in;
    -moz-transition:    1s ease-in;
    -webkit-transition: 1s ease-in;
}

.submitfill:hover {
  color: #b0a69d;
}

.submitfill:before {
  content: "";
  position: absolute;
  background: #383736;
  bottom: 0;
  left: 0;
  right: 0;
  top: 100%;
  z-index: -1;
  -webkit-transition: right 1.1s ease-in;
}

.submitfill:hover:before {
  top: 0;
}*/


.download {
    background-color: white;
    padding: .5em 1em;
    position: relative;
    display: table;
    margin: 1em 0;
}

#back_to_top {
    position: fixed;
    bottom: 15px;
    right: 35px;
    cursor: pointer;
}

.search a{
    text-decoration: none;
}