/******************************************************************
Theme Name: DIMORESTUDIO
Theme URI: localhost
Description: DIMORE STUDIO site
Author: Davide Cappelletti
Author URI: http://www.zipzupzap.com
Version: 1
******************************************************************/

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  border: none;
}

body {
  margin: 0;
  padding: 0;
  border: none;  
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.5em;
  background-color: #000;
  color: #fff;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;   
}

.wrapper {
  margin: 0 auto;
  max-width: 100%;
}

h1,h2,h3,h4 {
  font-weight: normal;
  text-transform: uppercase;
	padding: 0;
	margin: 0;  
}

h1 {
  font-size: 1.5em;
  line-height: 2em;
  margin-bottom: 1em;
  font-weight: 100;
  font-family: arial;
  font-weight: bold;
  letter-spacing: -1.2px;
}

h2 {
  margin-bottom: 1em;
  font-size: 15px;
}

h3 {
  font-size: 10px;
}

h4 {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-bottom: 1em;
}

h5 {
  padding: 0;
	margin: 0;
  font-size: 1.5em;
  font-weight: normal;
  margin-bottom: 1em;
}

p {
  font-size: 1em;
  line-height: 1.5em;
  margin: -5px 0 1em 0;
}

a {
  color: #fff;
  text-decoration: none;
  outline: none;
}

a:hover {
  color: #999;
}

a.selected, li.current-menu-item a, li.current-menu-parent > a, li.current-projects-ancestor > a, .didascalia h2 {
  color: #999;
}

.didascalia h2 {
  margin-bottom: 0.5em;
}

.grigino {
  color: #999;
}

figure {
  padding: 0;
	margin: 0;
}

a img {
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	-webkit-backface-visibility: hidden;
}  

a img:hover {
  opacity:0.8;
	filter: alpha(opacity=80);
	-webkit-backface-visibility: hidden;
}

input, select, textarea {
  border: 1px solid #ccc;
  padding: 0.3em;
  border-radius: 0;
  width: 160px;
  max-width: 100%;
}  

input[type="submit"] {
  width: auto;
}

.wpcf7-response-output {
  margin-left: 0 !important;
}

.full {
  width: 100%;
  height: auto;
}

.videofull {
  position: relative;
	overflow: hidden;
}

@media screen and (min-width: 1025px) {
  .videofull {
    background: none !important;
  }
}

video {
  z-index: 1;
  width: 100%;
  height: auto;
}

.videoplay {
  display: none;
  left:0;
  top:0;
  right:0;
  bottom:0;
  width: 100%;
  height: 100%;
  background-image: url(video_play.png)/*tpa=http://www.dimorestudio.eu/wp-content/themes/dimorestudio/images/video_play.png*/;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;  
}

.menu-container {
  position: fixed;
  top: 40px;
  left: 30px;
  z-index: 33;
}   

@media screen and (min-width: 1400px) {
  .menu-container {
    position: fixed;
    top: 40px;
    width: 200px;
    z-index: 33;
  }
}

@media screen and (max-width: 640px) {
  .menu-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    transition: top 0.2s ease-in-out;
  }
}  

@media screen and (min-width: 641px) {
  .admin-bar .menu-container {
    top: 72px;
  }
}  

.menu-bottom-container {
  position: fixed;
  bottom: 40px;
  left: 30px;
  z-index: 33;
}

@media screen and (min-width: 1400px) {
  .menu-bottom-container {
    position: fixed;
    bottom: 40px;
    width: 200px;
    z-index: 33;
  }
}

@media screen and (max-width: 1024px) {  
  .menu-bottom-container {
    right: 30px;
    margin-bottom: 10px;
    text-align: center;
  }
}

@media screen and (max-width: 640px) { 
  .menu-bottom-container {  
    display: none
  }
}  

.logo a {
  display: inline-block;
  /* text-indent: -9000px; */
  /* background-image: url(logo_white.png); */
  background-size: 108px 11px;
  width: 108px;
  height: 11px;
  font-size: 42px;
  color:#ccc;
  font-family: 'DilleniaUPC', Georgia, Times;
  font-weight: lighter;
}

.menu {
  margin-top: 10px;
}

#menu-main, #menu-main ul, .menu-bottom {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu-main {
  display: block;
  margin-top: 40px;
}

#menu-main ul.sub-menu {
  display: none;
  opacity: 0; 
  margin-left: 10px;
  -webkit-transition: opacity 0.4s ease-in-out;
  -moz-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;  
}

#menu-main .current-menu-parent > .sub-menu, #menu-main .current-projects-ancestor > .sub-menu {
  display: block;
  opacity: 1;
}

#menu-main ul.sub-menu.reveal {
  opacity: 1;  
}

#menu-main li a, #slideshow-menu li a {
  font-size: 9px;
  line-height: 1em;
  padding: 0.4em 0;
  display: inline-block;
  text-transform: uppercase;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  cursor: pointer;  
}

@media screen and (max-width: 640px) {
  #menu-main {
    display: none;
    opacity: 0;
    padding: 15px 15px 0 15px;
    margin-top: 0;
    margin-left: -15px;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
  }
  
  #menu-main.reveal {
    opacity: 1;
  }  
  
  #menu-main li a, #slideshow-menu li a {
    font-size: 1em;
  }
  
  .nav-up {
    top: -70px;
  }  
}

@media screen and (max-width: 1024px) {
  #slideshow-menu li a {
    display: none;
  }
  #slideshow-menu li a.selected {
    display: inline-block;
  }
}  

.container {
  display: inline-block;
  width: 100%;
  height: auto;
  padding: 40px 30px;
  -webkit-transition: opacity 0.4s ease-in-out;
  -moz-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;  
}

@media screen and (max-width: 640px) {
  .container {
    padding: 80px 15px 40px 15px;
  }
}
  
.single-container {
  margin-top: 0;
}

.single-left {
  display: block;
  width: 250px;
  float: left;
}

.single-right {
  width: auto;
  margin-left: 200px;
  xfloat: left;
}

.grid {
  width: 100%;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;  
}

.grid-item {
  position: relative;
  float: left;
  width: 31%;
  margin-bottom: 10px;
}

.gutter-size {
  display:inline-block;
  width: 3.5%;
}

.grid-item-press {
  position: relative;
  float: left;
  width: 18%;
  margin-bottom: 10px;
}

.gutter-size-press {
  display:inline-block;
  width: 2.5%;
}

.single-immagini {
  position: relative;
  float: left;
  width: 66%;
  margin-right: 3%;
  background-color: #000;
}

.single-didascalia {
  position: relative;
  float: right;
  width: 31%;
  margin-bottom: 30px;
}

.didascalia-projects p {
  text-align: justify; 
}

.didascalia-press, .didascalia-page  {
  text-align: left;
  padding-bottom: 5px;
}

.gallery-link {
  margin-bottom: 30px;
}

.gallery-link a { 
  color: #999;
  font-size: 9px;
  text-transform: uppercase;
}

.gallery-link a:hover { 
  color: #000;
}

@media screen and (max-width: 1024px) {  
  .grid-item, .grid-item-press {
    width: 48%;
  }  

  .gutter-size, .gutter-size-press {
    width: 4%;
  } 

  .single-didascalia , .single-immagini {
    position: relative;
    width: 100%;
  }   
  
  .single-didascalia {  
    margin-bottom: 0;
  }  
  
}

@media screen and (max-width: 640px) { 
  .grid-item, .grid-item-press {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .grid-item:nth-last-of-type(1), .grid-item-press:nth-last-of-type(1){
    margin-bottom: 0 !important;
  }
  
  .grid-item-2x {
    position: relative;
    float: left;
    width: 100%;
    margin-bottom: 30px;
  }  

  .gutter-size, .gutter-size-press {
    width: 0;
  }  
  
  .single-left {
    width: 0
  }
  
  .single-right {
    margin-left: 0
  }    
}

.item {
  margin-bottom: 30px;
}

.item:nth-last-of-type(1) {
  margin-bottom: 0 !important;
}

.item figcaption, .grid-item figcaption {
  text-transform: uppercase;
  text-align: right;
}

.home .item figcaption {
  text-align: center;
}

.left-careers {
  float: left;
  margin-top: 60px;
}

.right-careers {
  float: left;
  margin-left: 3%;
}

.menu-aligned {
  margin-top: 58px;
}

.privatearea {
  padding-top: 68px;
}

@media screen and (max-width: 640px) { 

  .left-careers {
    margin-top: 0;
  }

  .menu-aligned, .privatearea {
    margin-top: 0;
  }
  
  .privatearea {
    padding-top: 0;
  }

}

@keyframes spinner-black {
    to {transform: rotate(360deg);}
}
 
@-webkit-keyframes spinner-black {
    to {-webkit-transform: rotate(360deg);}
}
 
.spinner-black {
    min-width: 24px;
    min-height: 24px;
}
 
.spinner-black:before {
    content: 'Loading…';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -10px;
    margin-left: -10px;
}
 
.spinner-black:not(:required):before {
    content: '';
    border-radius: 50%;
    border-top: 2px solid #000;
    border-right: 2px solid transparent;
    animation: spinner-black .6s linear infinite;
    -webkit-animation: spinner-black .6s linear infinite;
}

/* MOBILE MENU HAMBURGER TOGGLE */

.menu-toggle {
  cursor: pointer;
  padding-top: 6px;
  width: 24px;
  height: 14px;
}

.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
  -webkit-transition: all 200ms cubic-bezier(0.305,0.1,0.485,0.87);
  -moz-transition: all 200ms cubic-bezier(0.305,0.1,0.485,0.87);
  -o-transition: all 200ms cubic-bezier(0.305,0.1,0.485,0.87);
  transition: all 200ms cubic-bezier(0.305,0.1,0.485,0.87);
}

.menu-toggle span:before {
  top: -6px;
}

.menu-toggle span:after {
  top: 4px;
}

.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 2px;
  width: 24px;
  position: relative;
  display: block;
  background-color: #fff;
  content: '';
}

.menu-toggle.close span {
  background-color: transparent;
  top: 0;
}

.menu-toggle.close span:before {
  top: 0;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.menu-toggle.close span:after {
  top: -2px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/***************************/


/* CLASSI UTILITY */

.opaco {
  opacity: 0;
}

.hidden {
  display: none;
}

.visible-mobile, .visible-tablet {
  display: none;
}

.hidden-mobile, .hidden-tablet {
  display: block;
}

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}
.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  border: 0;
}
.embed-responsive.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}
.embed-responsive.embed-responsive-4by3 {
  padding-bottom: 75%;
}
/*
#scritta {
    color: #930202;
    font-size: 22px;
    font-variant: small-caps;
    height: 20px;
    margin: -86px 0 0 205px;
    position: absolute;
    text-shadow: -1px 0 0 #333;
    transform: rotate(331deg);
    z-index: 2147483647;
}
*/

#scritta {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#959595+0,0d0d0d+0,010101+50,0a0a0a+66,383838+83,4e4e4e+89,4e4e4e+90,4e4e4e+95,1b1b1b+100 */
    background-color: #444;
    color: #ffffff;
    float: right;
    font-size:120%;
    /* font-variant: small-caps; */
    text-transform: uppercase;
    height: 20px;
    margin: 30px 0 62% 45%;
    position: absolute;
    text-align: center;
    text-shadow: -1px 0 0 #333;
    top: 0;
    vertical-align: middle;
    width: 55%;
    box-shadow: -1px 2px 5px #888; 
    font-family: Trebuchet, Tahoma, Arial, sans-serif; 
    /* border-radius:4px 2px 5px 4px;*/
}

figure > img{
    border: 1px solid #aaa;
}

.sup {
    margin-top: 0;
}
p {
    line-height: 1.8em;
    margin: -5px 0 30px;
    color: #555;
}

@media screen and (max-width: 1024px) { /* TABLET */
  .visible-tablet {
    display: block;
  }
  .hidden-tablet {
    display: none;
  }     
}

@media screen and (max-width: 640px) { /* MOBILE */
  .visible-mobile {
    display: block;
  }
  .hidden-mobile {
    display: none;
  }    
}

/***************************/


/*******Animation************/
.animatedFast {
  /* */
  -webkit-transition:all 0.25s ease-out;
  -moz-transition:all 0.25s ease-out;
  -o-transition:all 0.25s ease-out;
  -ms-transition:all 0.25s ease-out;
  transition:all 0.25s ease-out;
}

.animatedMedium {
  /* */
  -webkit-transition:all 0.5s ease-out;
  -moz-transition:all 0.5s ease-out;
  -o-transition:all 0.5s ease-out;
  -ms-transition:all 0.5s ease-out;
  transition:all 0.5s ease-out;
}

.animatedSlow {
  /* */
  -webkit-transition:all 1s ease-out;
  -moz-transition:all 1s ease-out;
  -o-transition:all 1s ease-out;
  -ms-transition:all 1s ease-out;
  transition:all 1s ease-out;
}

.clearfix::before,
.clearfix::after {
  content:"";
  display:table;
  clear:both;
}

.wrapper {
  margin:0 auto;
  position:relative;
  width:100%;
}

.item.visible {
  opacity: 1;
  transform: translateX(0);
}