/*************************
* Author: Circle Studio 
*************************/

@font-face {
    font-family: Trajan;
    src: url(../fonts/TrajanPro-Regular.otf);
}

@font-face {
    font-family: Quickpen;
    src: url(../fonts/Quickpen.otf);
}

html, body {
    font-size: 100%; /* Raffaele */
    background: #FFF;
    font-family: 'Trajan';
    color: #232323;
    height: 100%;
}
.vh-100{
    height: 100vh;
}
.fit-content{
    max-width: fit-content(10em); 
    width: -moz-max-content;    /* Firefox/Gecko */  
    width: -webkit-max-content;
}
/* Preloader */

#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#232323; /* change if the mask should have another color then white */
    z-index:9999999; /* makes sure it stays on top */
}

.logo-splash {
    width: 80%;
    max-width: 300px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 200px;
}

.logo-splash img {
    width: 100%;
}

/*.opacity-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    background-color: black;
    z-index: 1;
}*/

#status {
    position: absolute;
    background-color: #222124;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: table;
}

.pace .pace-progress {
  background: #C51919;
  position: fixed;
  z-index: 99999999;
  top: 50%;
  left: 0;
  height: 2px;
  margin-top: -1px;
  -webkit-transition: width 1s;
  -moz-transition: width 1s;
  -o-transition: width 1s;
  transition: width 1s;
}

.pace-inactive {
  display: none;
}

.cursor-hand {
    cursor: pointer;
}

.clear {
    clear: both;
}

.zero .col-xs-1, .zero .col-sm-1, .zero .col-md-1, .zero .col-lg-1, .zero .col-xs-2, .zero .col-sm-2, .zero .col-md-2, .zero .col-lg-2, .zero .col-xs-3, .zero .col-sm-3, .zero .col-md-3, .zero .col-lg-3, .zero .col-xs-4, .zero .col-sm-4, .zero .col-md-4, .zero .col-lg-4, .zero .col-xs-5, .zero .col-sm-5, .zero .col-md-5, .zero .col-lg-5, .zero .col-xs-6, .zero .col-sm-6, .zero .col-md-6, .zero .col-lg-6, .zero .col-xs-7, .zero .col-sm-7, .zero .col-md-7, .zero .col-lg-7, .zero .col-xs-8, .zero .col-sm-8, .zero .col-md-8, .zero .col-lg-8, .zero .col-xs-9, .zero .col-sm-9, .zero .col-md-9, .zero .col-lg-9, .zero .col-xs-10, .zero .col-sm-10, .zero .col-md-10, .zero .col-lg-10, .zero .col-xs-11, .zero .col-sm-11, .zero .col-md-11, .zero .col-lg-11, .zero .col-xs-12, .zero .col-sm-12, .zero .col-md-12, .zero .col-lg-12 {
	padding:0 !important;
}

.grey, a.grey, a.grey:hover, a.grey:active, a.grey:visited {
    color: #666666;
}

.trajan {
    font-family: 'Trajan';
}

a.trajan, a.trajan:hover, a.trajan:active, a.trajan:visited {
    font-family: 'Trajan';
}

ul {
    padding: 0;
    margin: 0;    
    list-style: none;
}

.content {
    padding-top: 5em;
}

#row {
    position: relative;
    width: 100%;
    overflow: hidden;    
    min-height: 100vh;
}

.header-wrapper {
    position: fixed;
    width: 100%;
    height: 3em;
    top: 0;
    background: white;
    z-index: 999;
    font-size: .8em;
}

.header-wrapper-hp {
    position: fixed;
    width: 100%;
    height: 3em;
    top: 0;
    z-index: 999999;
    font-size: .8em;
}

.header {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 3em;
    
}

.logo-home {
    margin: 2em;
    position: fixed;
    z-index: 999999;
    background-position: 0 100%;
    background-size: 100%;
    background-repeat: no-repeat;
}

.menuscritto {
    position: relative;
    font-size: .9em;
    margin-left: 1em;
}

#menu-icon {
    height: 3em;
    margin: 0 auto;
    cursor: pointer;
    z-index: 999999;
    padding: 11px 0;
}

#menu-icon .base {
    z-index: 1;
    padding: 0;
    float: left;
    width: 25px;
    margin: -4px 1em;
    position: relative;
}

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

#menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 4px 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);
    max-width: 25px;
}

#menu-icon.on {
    background-color: white;
}

#menu-icon.on .base{
/*    left:12.5px;
    top: 12.5px;*/
}

#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: #C51919;
}

#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: #C51919;
}

.category-wrapper {
/*    z-index: 9;
    position: absolute;
    top: 10em;
    left: 0;
    right: 0;
    margin: 0 auto;*/
    z-index: 9;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    display: table;
}

.category-albums {
/*    display: table-cell;
    vertical-align: middle;
    width: 100%;*/
    position: relative;
    z-index: 3;
}

.biopic {
    list-style: none;
    height: 350px;
    width: 350px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    margin: 2em auto;
    display: block;
    background-size: cover;
    background-position: center;
}

.textpage-cover {
    margin-top: 48px;
}

.textpage-cover img {
    width: 100%;
}

.category-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin-top: 0;
    background-color: rgba(0,0,0,.3);
    /*margin-left: 15px;*/
    overflow: hidden;
}

ul.category-list {
    z-index: 99999;
}

ul.category-list li {
    list-style: none;
    color: #fff;
    font-family: 'Lato';
    font-weight: 300;
    font-size: .9em;
    line-height: 2em;
}

ul.category li.album {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: table;
}

ul.category li.album a {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: white;
}

/* HEADINGS */

.trajan {
    font-family: 'Trajan';
}

.lato {
    font-family: 'Lato';
    font-weight: 300;
}

.bold {
    font-weight: 700;
}

.category-title {
    font-family: 'Lato';
    font-weight: 700;
    font-size: 1.3em;
    letter-spacing: 14px;
    text-transform: uppercase;
    margin: 1em auto;
}

.media-title {
    font-family: 'Lato';
    font-weight: 700;
    font-size: 1.3em;
    letter-spacing: 14px;
    text-transform: uppercase;
    margin: 1em auto;
}

.side-border {
    border-bottom: 1px solid #999;
    height: 2em;
}

.multimedia-text {
    background-color: #ebebeb;
}

.video-embed {
    background: black;
}

.video-embed iframe {
    margin: 2em auto;
    position: relative;
    display: block;
}

a.light-grey, a.light-grey:active, a.light-grey:visited, a.light-grey:hover {
    color: #999;
}

a.dark-grey, a.dark-grey:active, a.dark-grey:visited, a.dark-grey:hover, .dark-grey {
    color: #737373;
}

li.main_menu a:hover {
    color: #C51919;
}

.dark {
    color: #232323;
}

.red {
    color: #C51919;
}

.separator-line {
    border-bottom: 3px solid #C51919;
    width: 40px;
    margin: 2em auto;
    clear: both;
}

.description {
    font-family: 'Lato';
    font-weight: 300;
    color: #5A5A5A;
    font-size: .9em;
    line-height: 2em;
    text-align: justify;
}



h1:after {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    content: "";
    display: block;
    position: relative;
    left: 0;
    bottom: 0px;
    width: 40%;
    height: 1px;
    background: #fff;
    right: 0;
    margin: 0 auto;
}

h1:hover:after {
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}

h1.dark {
    color: #232323 !important;
}

.quickpen {
    font-family: 'Quickpen';
    font-size: 3em;
    text-align: center;
}

/* /HEADINGS */

/* PARAGRAPHS */

p.last {
    padding-bottom: 3em;
}

/* /PARAGRAPHS */

.full-menu {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: #232323;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* NAV MENU */

/* full page menu */
.menu-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;
}

.menu-wrapper-hp {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;
}

.nav {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: #232323;
    opacity: 0.99;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.nav-menu {
    text-align: center;
}

.nav ul {
    padding: 0;
    margin: 0;
}

.nav ul.main_menu, .full-menu ul.main_menu {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
}

.opacity-layer-menu {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    display: table-column;
}

.nav ul.main_menu li.main_menu, .full-menu ul.main_menu li.main_menu {
    list-style: none;
    display: table;
    text-align: center;
    margin: 0;
    height: 50%;
    font-size: 1.1em;
    letter-spacing: 1px;
    font-weight: 300;
}

.nav ul.main_menu li.main_menu a, .full-menu ul.main_menu li.main_menu a {
    display: table-cell;
    vertical-align: middle;
    font-family: 'Lato';
    font-weight: 700;
    letter-spacing: 3px;
}

.menu-separator {
    display: none;
    border-bottom: 2px solid #ba987e;
    margin: 0 auto 1em auto;
    width: 2.5em;
}

.nav-copyright {
    position: absolute;
    bottom: 1em;
    color: white;
    font-size: 0.8em;
    text-align: center;
    width: 90%;
    font-family: 'Lato';
    font-weight: 100;
    left: 0;
    right: 0;
    margin: 0 auto;
}


/* submenu */

/*.menubar {
    background-color: rgba(255, 255, 255, 1);
    display: none;
    width: 90%;
    height: 46px;
    padding: 1em 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-top: 2.5%;
    position: absolute;
}

.submenu-wrapper {
    position: relative;
    width: 100%;
    height: 25px;
    left: 0;
    right: 0;
    line-height: 35px;
    margin: 5% auto 2.5% auto;
}

.subnav {
    position: fixed;
    width: 60%;
     height: 100%; 
    z-index: 9999;
    opacity: 0.99;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.line-white-submenu {
    border-bottom: 3px solid;
    border-color: #fff;
    width: 50px;
    margin: .5em auto;
    text-align: center;
    display: none;
}

ul.sub_menu {
    width: 100%;
    text-align: center;
}

ul.sub_menu li.sub_menu_item {
    display: inline-block;
    margin: auto 2em;
    letter-spacing: 1px;
    font-weight: 400;
    cursor: pointer;
}

ul.submenu {
    font-size: 0.75em;
    margin-top: 2em;
    text-align: left;
}

ul.submenu li a:hover {
    color: #f1da9e;
}

li.submenu {
    list-style: none;
    margin: 0.5em 0;
}*/

/* language nav */
.active{
    color: #C51919 !important;
}
ul.nav-language {
    position: absolute;
    right: 2%;
    z-index: 10000;
    margin: 0;
}

ul.nav-language li {
    list-style: none;
    float: left;
    max-width: 150px;
    margin: 4em 0.5em;
}

.lang {
    position: absolute;
    top: 50%;
    text-align: center;
    left: 0;
    right: 0;
    margin-top: 100px;
    font-family: 'Lato', serif;
    color: #231f20;
}

.current-lang {
    position: relative;
    left: -11px;
    width: 30px;
}

.current-lang:before {
    left: 0;
    right: 0;
}

/*.language {
    padding: 8px 10px;
    text-align: center;
    line-height: 1;
    font-family: 'Lato';
    font-size: 0.9em;
    cursor: pointer;
    width: 30px;
    height: 30px;
    z-index: 999;
    color: #ba987e;
    border: 1px solid #ba987e;
    vertical-align: middle;
}

ul.list-lang {
    display: none;
    padding: 10px;
    text-align: center;
    line-height: 1;
    font-family: 'Lato';
    font-size: 0.9em;
    cursor: pointer;
    width: 35px;
    height: 35px;
    z-index: 999;
    color: #ba987e;
    vertical-align: middle;
    margin-left: -11px;
    margin-top: 0px;
}

ul.list-lang li {
    display: block;
    padding: 10px;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    width: 35px;
    height: 35px;
    z-index: 999;
    margin-left: -10px !important;
    background-color: rgba(186, 152, 126, 0.59);
    border-left: 1px solid #ba987e;
    border-right: 1px solid #ba987e;
    border-bottom: 1px solid #ba987e;
    margin-bottom: 0 !important;
    margin-top: 0px !important;
}

ul.list-lang li a {
    font-family: 'Lato';
    font-size: 0.9em;
    color: #ebebeb;
}

ul.list-lang li a.hover {
    text-decoration: underline;
}*/

/* nav social */
.nav-social {
    position: absolute;
    margin: 4em 0;
    right: 10%;
    z-index: 10000;
    height: 1.1em;
}

ul.social {
    text-align: right;
    position: absolute;
    right: 5.25%;
    margin-top: 2.5%;
}

ul.social-menu {
    margin-top: 1%;
}

ul.social li {
    list-style: none;
    display: inline-block;
    margin: 0.55em 0.25em;
}

.social-icon {
    width: 36px;
}

.menu-container{
}
/* /NAV MENU */

/* FOOTER */

.footer-container {
    position: relative;
    bottom: 0;
    padding-top: 1em;
    text-align: center;
    width: 100%;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.footer-copyright {
    font-size: .8em;
    padding-top: .5em;
    padding-bottom: .5em;
    display: table;
    color: #232323;
}

#wrapper {
    min-height: 100%;
    position: relative;
}

.footer {
    font-size: 0.8em;
    color: #bebebe;
    font-family: 'Lato';
    width: 100%;
    position: relative;
    display: table;
    background: #EDEDED;
}

#footer-hp {
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 99999;
    padding: 1em 0;
    font-weight: 400;
    background: black;
}

#footer {
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.footer-text {
    position: absolute;
    width: 90%;
    left: 0;
    right: 0;
    bottom: .5em;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8em;
    color: #999;
}

.footer-info {
    text-align: left;
    font-size: 1.2em;  
}

.footer-info-small {
    text-align: left;
    font-size: 1em;  
}
.footer-logo-leica{
    padding: 1em 0;
    max-width: 150px;
    width: 100%;
    height: auto;
}
/* /FOOTER */

/* LINKS */

.white {
    color: #fff;
}

a.white, a.white:visited, a.white:active, a.white:hover {
    color: #fff;
    text-decoration: none;
}

a, a:visited, a:active, a:hover {
    color: #232323;
    font-family: 'Lato';
    text-decoration: none;
}

a.empty {
    position: relative;
    display: inline-block;
    height: 100%;
    width: 100%;
}

a.bold, a.bold:visited, a.bold:active {
    font-weight: 700;
}

a.bold:hover {
    text-decoration: underline;
}

/* /LINKS */

/* HOME PAGE LAYOUT */

#content {
    /*height: 100%;*/
    width: 100%;
    position: relative;
    font-family: 'Lato';
}

#content #header {
    position: relative;
    width: 100%;
    display: table;
}

#content #header #header_parallax {
    width: 90%;
    top: 5%;
    left: 5%;
    position: relative;
    z-index: 0;
    display: table-cell;
    vertical-align: middle;
/*    background-size: cover;
    background-position: center;
    background-image: url(../images/welcome-splash.jpg);*/
}

#content #header #pointer, .scroll-bottom {
    width: 5%;
    min-width: 30px;
    max-width: 60px;
    padding: 5px;
    right: 0;
    bottom: 6em;
    position: absolute;
    cursor: pointer;
    opacity: 0.9;
    left: 0;
    margin: 0 auto;
}

#content #header #pointer img, .scroll-bottom img {
    width: 100%;
}

#content #section1 {
    top: 0px;
    width: 100%;
    position: relative;
    -webkit-backface-visibility: hidden;
}

#content #section1 #section1_inner {
/*    padding: 0px 1em;*/
    position: relative;
    margin: auto;
/*    padding-top: 4em;
    padding-bottom: 4em;*/
    z-index: 9;
    text-align: center;
}

#content #header #header_parallax #header_background {
    position: absolute;
    width: 100%;
}

#home-thumbs .parallax {
    position: relative;
    width: 100%;
    height: 100px;
}

#home-thumbs .parallax img {
    height: 100px;
    position: absolute;
    border: 3px solid black;
    box-sizing: content-box;
}

.featured {
    position: fixed !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -9999;
    background-size: cover;
}

.featured-title {
    font-size: 3em;
    font-family: 'Lato';
    font-weight: 700;
    color: white;
}

.featured-title h1, .featured-title h3 {
    background: #1F1F1F;
    padding: .25em .5em;
    display: table;
    margin-top: 0px;
}

.featured-gallery-cover {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.featured-gallery-cover a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* /HOME PAGE LAYOUT */

/*.flexslider {
    margin: 0;
    padding: 0;
    background: #fff;
    position: relative;
    zoom: 1;
    width: 100%;
}*/

.thumbnail a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.flexslider .slides {
  zoom: 1;
  width: 100%;
  height: 100%;
}

.flex-viewport {
    width: 100%;
}

.flexslider .slides > li {
    height: 100%;
}

.map-canvas {
    width: 100%;
}

.map-container {
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    z-index: 0;
}

ul.sections-list {
    width: 100%;
    text-align: center;
}

ul.sections-list li.section-li {
    list-style: none;
    display: inline-block;
    font-family: 'Trajan';
    text-align: left;
    padding-left: 0;
}

.section-name {
    border-bottom: 1px dotted #BFBFBF;
}

.section-name a {
    letter-spacing: 5px;
}

ul.section-works {
    margin: 0 0 2em 0;
}

.separator {
    color: #C51919 !important;
}

ul.section-works li {
    font-family: 'Lato';
    font-size: .8em;
    color: #999;
    padding-left: 0;
    display: inline-block;
    font-weight: 300;
}

#sections {
    background: #EDEDED;
    color: #737373;
    padding: 4em 2em 0 2em;
/*    padding: 4em 2em;*/
    /*margin-top: 4em;*/
}

.home-text {
    margin: 0 0 3em 0;
    font-weight: 300;
    text-align: justify;
    line-height: 2em;
}

.title {
    font-family: 'Trajan';
    color: #666;
    
}

.post-content {
    font-family: 'Lato';
    text-align: justify;
    font-weight: 300;
    line-height: 1.5em;
    
}

.tearsheet-slider {
    margin: 1em 0;
    padding: 2em 2.5em;
    height: 500px;
}

.tearsheet-slider-content {
    background: #ebebeb;
    padding: 2em;
    font-size: .8em;
    height: 100%;
}

.expanded {
    letter-spacing: 3px;
}

.tearsheet {
    max-width: 100%;
    max-height: 300px;
}

.tearsheet-slide {
    position: relative;
    text-align: center;
}

.tearsheet-container {
    margin: 1em 0;
}

.book-container {
    position: relative;
    display: flex;
    background: #ebebeb;
    padding: 30px 15px;
    margin: 2em 0;
}

.book-info {
    text-align: left;
    font-size: .9em;
}

/* CONTATTI */

.logo-leica-contatti{
    padding: 1em 0;
    max-width: 250px;
    width: 100%;
    height: auto;
}