/*
Theme Name: Arrivada
Theme URI:http://www.arrivada.eu
Author: Pars.Pro.Toto Studio
Author URI:
Description:Galleria d'arte contemporanea a Milano
Tags:Galleria d'arte contemporanea, artisti contemporanei, milano, pittura contemporanea, installazioni, scultura.
Version:1.0.0
Text Domain:arrivada
*/

/* =WordPress Core
-------------------------------------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #efefef;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
/*ANIMAZIONI*/
/**effetto testo che appare del logo**/
.tracking-in-expand {
	-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}


/** Starter Set **/
* {
  margin: 0;
  padding: 0;
}
img {
  border:none;
  /**max-width: 100%;
  height: auto;**/
}
.clearer {
  clear:both;
}
*:focus {
  outline: none;
}
body,input, button, select, textarea {
  font-family: 'Poppins', sans-serif;
}
header,
nav,
article,
aside,
section,
footer,
main,
figure,
figcaption {
  display: block;
}
.clearfix::before,
.clearfix::after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.clearfix::after {
  clear: both;
}
.content {
  width: 1170px;
  margin: 0 auto;
}
.row {
  width: 100%;
  clear: both;
  display: block;
}
.col-1 {
  width: 8.33333%;
  float: left;
}
.col-2 {
  width: 16.66666%;
  float: left;
}
.col-3 {
  width: 25%;
  float: left;
}
.col-4{
  width: 33.33333%;
  float: left;
}
.col-6 {
  width: 50%;
  float: left;
}
.col-8 {
  width: 66.66666%;
  float: left;
}
.col-10 {
  width: 83.33333%;
  float: left;
}
.divider {
  padding:  20px 0;
}
.responsive,
.responsive img {
  width: 100%;
  height: auto;
}
.center {
  text-align: center;
}
/**animazione**/
.hidden {
  opacity: 0;
}
.visible {
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}
button {
  appearance: none;
  background: transparent;
}

/** Tipography **/
#logo {
  font-size: 25px;
  font-weight: 600;
  text-transform: lowercase;
  /* color:#707070; */
  line-height: 120px;
  float: left;
}
a {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-transform: lowercase;
  text-decoration: none;
}
h1 {
  font-size: 100px;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  line-height: 120px;
  margin-bottom: 30px;
}
h2 {
  font-size: 20px;
  font-weight: 400;
  text-transform: capitalize;
}
h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
  /* color: #707070; */
}
p {
  font-size: 14px;
  font-weight: 400;
  /* color: #707070; */
}
h5 {
  font-size: 11px;
  font-weight: 300;
  text-transform: capitalize;
  /* color: #707070; */
  text-align: center;
  padding-top: 60px;
}
/** Global style **/
  /******Header******/
.header {
  width: 100%;
  height: 120px;
  position: absolute;
  top:0;
  left:0;
  z-index: 99999;
}
/** Scroll to top **/

.top{
    width: 40px;
    height: 40px;
    background-color: transparent;
    line-height: 40px;
    text-align: center;
    border: 3px solid #252525;
    border-radius: 50%;
    color: #252525;
    font-size: 22px;
    position: fixed;
    bottom: 40px;
    right: 5%;
    z-index: 99999;
    cursor: pointer;
    transition: 0.3s;

}
.top:hover{
    color:#dedede;
    border: 2px solid #dedede;
}
/***Burger Button***/
.nav-but-wrap {
  float: right;
  cursor: pointer;
  margin-top: 52px;
  margin-right: 0px;
  display: none;
}
.menu-icon__line {
  height: 2px;
	width: 30px;
	display: block;
	background-color: #000;
	margin-bottom: 5px;
	cursor: pointer;
	-webkit-transition: background-color .5s ease, -webkit-transform .2s ease;
	transition: background-color .5s ease, -webkit-transform .2s ease;
	transition: transform .2s ease, background-color .5s ease;
	transition: transform .2s ease, background-color .5s ease, -webkit-transform .2s ease;
}
.menu-icon__line-left {
	width: 16.5px;
	-webkit-transition: all 200ms linear;
	transition: all 200ms linear;
}
.menu-icon__line-right {
	width: 16.5px;
	float: right;
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	transition: all 200ms linear;
}
.menu-icon:hover .menu-icon__line-left,
.menu-icon:hover .menu-icon__line-right {
	width: 30px;
}
body.nav-active .menu-icon__line {
	background-color: #000;
	-webkit-transform: translate(0px, 0px) rotate(-45deg);
          transform: translate(0px, 0px) rotate(-45deg);
}
body.nav-active .menu-icon__line-left {
	width: 15px;
	-webkit-transform: translate(2px, 2px) rotate(45deg);
          transform: translate(2px, 2px) rotate(45deg);
}
body.nav-active .menu-icon__line-right {
	width: 15px;
	float: right;
	-webkit-transform: translate(-2.5px, -1.5px) rotate(45deg);
          transform: translate(-2.5px, -1.5px) rotate(45deg);
}
body.nav-active .menu-icon:hover .menu-icon__line-left,
body.nav-active .menu-icon:hover .menu-icon__line-right {
	width: 15px;
}

ul {
  list-style-type: none;
}
.nav {
  float: right;
}
.nav li {
  text-align: center;
  padding:0 15px;
  line-height: 120px;
  display:inline;
}
.nav li:first-child {
  padding-left: 0;
}
.nav li:last-child {
  padding-right: 0;
}
.current-menu-item a{
  position: relative;
}
.nav li a span {
  display: none;
}
.current-menu-item span {
  display: inline !important;
  font-size: 20px;
  color:#000;
  position: absolute;
  top: -35px;
  left:calc(50% - 4px);
}
/*mati*/
.current-menu-item-sg a{
  position: relative;
}
.current-menu-item-sg-2 a{
  position: relative;
}
.current-menu-item-sg span {
  font-size: 20px;
  color:#000;
  position: absolute;
  top: -35px;
  left:calc(50% - 4px);
}
.current-menu-item-sg-2 span {
  font-size: 20px;
  color:#000;
  position: absolute;
  top: -35px;
  left:calc(50% - 4px);
}

/******Index******/
.hm-main,
.fof-main {
  width: 100%;
  height: 100vh;
  /* background: url("img/home-main-bg.jpg") no-repeat center center scroll;
  background-size: cover; */
}
.hm-main .object-fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top:0;
  left:0;
  /* z-index: 1; */
}
.hm-main .content,
.fof-main .content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hm-container {
  width: 100%;
  text-align: center;
}
.hm-container a {
  font-weight: 400;
  text-transform: capitalize;
  color: #fff;
  margin-left: 60%;
}
.hm-container a span {
  display: inline-block;
  width:60px;
  border-top: 2px solid #fff;
  margin:0 5px 4px 0;
}
.hm-container h2 a {
  text-align: center;
    font-size: 100px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
    line-height: 120px;
    margin-bottom: 30px;
    margin-left: 0;
  }
  .hm-container h2 a:hover{
    color:#dedede;
    transition: 0.5s;
  }
/******Fixed Content******/
.hm-bottom-container {
  width: 100%;
  position: absolute;
  bottom: 60px;
  z-index: 100;
  display: flex;
  flex-direction: row;
}
.hm-social {
  flex:1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.hm-down {
  flex:1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hm-contact {
  flex:1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}
.hm-bottom-container li {
  height: 20px;
  margin-top: 20px;
}
.hm-bottom-container li:first-child {
  margin-top: 0;
}
.hm-bottom-container i {
  font-size: 16px;
  line-height: 20px;
}
.hm-bottom-container .hm-down i {
  font-size: 30px;
  color:#000;
  position: relative;
  top:50px;
}
.hm-bottom-container i:hover {
  color:#dedede;
  transition: 0.3s;
}
.hm-bottom-container ul li p {
  display: inline-block;
  width: 0;
  line-height: 16px;
  overflow: hidden;
  white-space: nowrap;
  color:#dedede;
  text-transform: none;
  font-weight: 700;
}

/******404******/
.fof-main {
  background: url("img/404-main-bg.jpg") no-repeat center center scroll;
  background-size: cover;
}
/******About******/
.hm-main.about {
  background: url("img/ab-main-bg.jpg") no-repeat center center scroll;
}
.hm-main.about .hm-container {
  width: auto;
  margin-top: 200px;
}
.hm-main.about h1 {
  color: #000;
  line-height: 30px;
}
.hm-main.about h2 {
  text-align: left;
  text-transform: capitalize;
  font-size: 15px;
  color:#707070;
  line-height: 30px;
}
.hm-main.about h2 span {
  display: block;
  color: #bababa;
}
.ab-inner-container {
  display: flex;
  flex-direction: row;
}
.ab-section {
  flex:0.5;
  position: relative;
  bottom: -150px;
  right: -50px;
}
.ab-section h3 {
  margin-bottom: 20px;
}
.text-2{
  padding-top: 400px;
}

/******Footer******/
.footer {
  padding: 100px 0;
}
.footer .footer-container {
  display: inline-block;
  text-align: left;
}
.footer p,
.footer a {
  display: block;
  font-size: 12px;
  font-weight: 400;
  text-transform: capitalize;
}
.piva-style p{
  color:#878787;
}
/*********************** mati- single**************************/
/*** mati ***/
.sg-main .content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 9200;
  top:700px;
}
.sg-container {
  width: 100%;
  text-align: center;
}
.sg-container h1 {
    color: #000;
    font-size: 100px;
    position: relative;
    font-weight: 400;
    margin: 40px;
    z-index: 9300;
    top: 350px;
}
.sg-container a {
  font-weight: 400;
  text-transform: capitalize;
  color: #fff;
  margin-left: 60%;
}
.sg-container a span {
  display: inline-block;
  width:60px;
  border-top: 2px solid #fff;
  margin:0 5px 4px 0;
}
a:hover{
  color: #dedede;
  transition: 0.2s;
}
.current-menu-item a:hover{
  color: #252525;
}
.sg-article h2{
  padding: 100px 100px 100px 50px;
  color:#000;
  position: relative;
  bottom: 100px;
  left: 100px;
  display: block;
  background-color: rgba(239, 239, 239, 0.5);
  opacity: 0;
}
.sg-article:hover h2 {
  opacity:inherit;
  display: block;
  transition: 0.5s;
}
.grey-bg{
    height: 900px;
    width: 100%;
    background-color: #f2f2f2;
    position: absolute;
    left: 0;
    top: 900px;
    z-index: 1;
}
#anchor-text-single{
  transition: 0.5s;
}
.two-column-text{
  margin: 0 auto;
  padding-bottom: 800px;
  display: block;
}
.two-column-text p{
  color: #252525;
  font-size: 18px;
  position: absolute;
  z-index: 99990;
  column-count: 2;
  column-gap: 60px;
  padding: 0 60px;
  text-align: justify;
  line-height: 30px;
}
.wrapper-2{
  width: 100%;
  margin: 25px auto;
  padding-top: 250px;
}
.item-sg{
  padding: 50px 50px 0 50px !important;
}
.item-sg-2{
  padding: 50px 50px 0 50px !important;
}

.footer a:hover{
  color: #dedede;
}
.margin-top{
      margin-top: 100px;
}
.art-masorny-style {
  margin-top: 200px;
}
.art-masorny{

}


/************************GIULIA***************************/
/******Fixed Content******/
.art-bottom-container {
  width: 100%;
  position: absolute;
  bottom: 60px;
  display: flex;
  flex-direction: row;
}
.art-social {
  flex:1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.art-down {
  flex:1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.art-contact {
  flex:1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  z-index: 9599;
}
.art-bottom-container li {
  height: 20px;
  margin-top: 20px;
}
.art-bottom-container li:first-child {
  margin-top: 0;
}
.art-bottom-container i {
  font-size: 16px;
  line-height: 20px;
}
.art-bottom-container .hm-down i {
  font-size: 30px;
  color:#707070;
}
.art-bottom-container i:hover {
  color:#707070;
  transition: 0.3s;
}
/*HOME*/
.art-container {
  width: 100%;
  padding-left: 100px;
}
.art-container a {
  font-weight: 400;
  text-transform: capitalize;
  color: #707070;
  margin-left: 60%;
}
.art-container a span {
  display: inline-block;
  width:60px;
  border-top: 2px solid #707070;
  margin:0 5px 4px 0;
}
.art-main {
  width: 100%;
  height: 100vh;
  background-size: cover;
}
.art-main .content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.art-main h1{
  color:#707070;
  font-size: 20px;
  text-align: left;
  margin-bottom: 0;
  line-height: 2;
}
.art-main p{
  width: 400px;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
}
.art-bottom-container {
  width: 100%;
  position: absolute;
  bottom: 60px;
  display: flex;
  flex-direction: row;
}
.art-bottom-container ul li p {
  display: inline-block;
  width: 0;
  line-height: 16px;
  overflow: hidden;
  white-space: nowrap;
  color:#707070;
  text-transform: none;
  font-weight: 700;
  position: relative;
  z-index: 9605;
}
/*articoli*/
article h2{
  padding: 100px 100px 100px 50px;
  color:#000;
  position: relative;
  bottom: 200px;
  left: 100px;
  display: block;
  background-color: rgba(239, 239, 239, 0.5);
  opacity: 0;
}
.art-article:hover h2 {
  opacity:inherit;
  display: block;
  transition: 0.5s;
}
.art-style h2{
  font-size: 18px;
  font-weight: 400;
  text-transform: capitalize;
  position: relative;
  z-index: 9000;
  transition: 0.5s;
}
/**              masorny             **/
.masorny img{
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 9000;
}
.wrapper {
  width: 95%;
  margin: 55px auto;
}
/***********************CONTACT PAGE*****************/
.hm-main.contact {
  background: #fff;
}
.cn-container .content {
  width: 900px;
  height: 800px;
  position: relative;
}
.cn-container{
  position: relative;
  top:100px;
}
.cn-bk{
  background-color: #efefef;
  margin-bottom: 100px;
}
.cn-inner-container {
  display: flex;
  flex-direction: row;
}
.cn-section {
  flex:0.5;
  padding:0 50px 50px;
}
.cn-section h3 {
  margin-bottom: 20px;
}
.cn-image1{
  position: relative;
  opacity: 0.8;
}
.cn-image2{
  position:relative;
  right: 70px;
  opacity: 0.5;
  bottom: -50px;
}
.cn-image3{
  position:relative;
  right: 40px;
  opacity: 0.7;
  bottom: 70px;
}
.cn-description{
  width: 400px;
  color: #666666;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  position: relative;
  left: 780px;
  bottom: 300px;
}
.cn-description-1{
    width: 400px;
    color: #666666;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    position: relative;
    left: 780px;
    bottom: 250px;
}
.cn-container h2{
  padding-top: 100px;
  text-transform: lowercase;
  font-weight: 700;
  padding-bottom: 100px;
}
.cn-container p{
  text-transform: inherit;
  font-weight: 400;
}
.cn-container a{
  text-transform: inherit;
  font-weight: 400;
}
.cn-container a i{
  padding-right: 20px;
}
.cn-social a i{
  font-weight: 400;
  padding-right: 30px;
  font-size: 30px;
}
.contact-maps img{
  padding-top: 100px;
}


/************mati***********/
.wrapper-sg {
  /*width: 95%;*/
  margin: 25px auto;
  height: auto;
}
.item-sg {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 1px;
}
.item-sg-2 {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 1px;
}
/******/

.item {
  display: inline-block;
  padding: 40px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 3px;
}
/***/
@media only screen and (min-width: 1280px) {

 .wrapper {
   width: 1170px;
 }
 .wrapper-sg {
   width: 1170px;
 }
}

@media only screen and (min-width: 1170px) {

 .masorny {
   column-count: 2;
 }
}

@media only screen and (min-width: 992px) {

 .masorny {
   column-count: 2;
 }

}

@media only screen and (min-width: 768px) {

 .masorny {
   column-count: 2;
 }

}
/************************FINE-GIULIA***************************/
/*********************End of index*********************/






















/* Desktop, iPad PRO */
@media only screen and (min-width: 1024px) and (max-width: 1170px) {
    .content {
        width: 96%;
        margin: 0 2%;
    }
    /************************GIULIA*******************/
    .hm-main .object-fit {
      object-fit: cover!important;
      object-position: top;
    }
    .art-main{
      height: 50vh;
    }
    .art-down{
      display: none;
    }
    .art-contact{
      position: relative!important;
      right: -490px!important;
    }
    /*articoli*/
  article h2{
      padding: 0;
      color:#000;
      position: relative;
      bottom: 0px;
      left: 0px;
      display: inherit;
      background-color: inherit;
      opacity: inherit;
    }
    .art-article h2{
      padding: 0;
      color:#000;
      position: relative;
      bottom: 0px;
      left: 0px;
      display: inherit;
      background-color: inherit;
      opacity: inherit;
    }
    .art-article:hover h2 {
      display: inherit;
    }
    .art-style h2{
      padding-top: 100%;
      padding-right: 300px;
      width: 100%;
    }
    .art-style h3{
      font-size: 12px;
    }
    /***Contact***/
    .cn-image1{
      display: none;
    }
    .cn-image2{
      display: none;
    }
    .cn-image3{
    position: relative;
    width: 100%;
    margin: 0 auto;
    right: 0;
    }
    .cn-description{
      position: relative;
      width: 500px;
      margin: 0 auto;
      right: 0;
      left: 0;
      top:-450px;
      font-size: 30px;
    }
    .cn-description-1{
      position: relative;
      width: 500px;
      margin: 0 auto;
      right: 0;
      left: 0;
      top:-450px;
      font-size: 30px;
    }
    .cn-container .content {
      width: inherit;
      height: 800px;
      position: relative;
    }

    .contact-text a{
      font-size: 20px;
    }
    .contact-text p{
      font-size: 20px;
    }
    /************************FINE-GIULIA*******************/
    /*** MATI ipad pro ecc single ***/
#logo{
  margin-left: 30px;
}
.nav{
  margin-right: 30px;
}
.art-bottom-container {
display: none;
}
.top{
  display: none;
}
.sg-main .content{
  top: 660px; /** quanto la scritta principale si stacca dal top della pagina **/
}
.sg-container h1{
  font-size: 200px;
  line-height: 220px;
  padding: 30px;
  top: 150px;
}
.two-column-text p {
    position: static;
    margin-top: 90px;
    column-count: 1;
}
.wrapper-2{
padding-top: 0;
}
/******fine mati***/

}

/* Display 12", iPad PRO portrait, iPad landscape */
@media only screen and (max-width: 1024px) {
  .content {
    width: 96%;
    margin: 0 2%;
  }
  /**************************GIULIA********************/
  .hm-main .object-fit {
    object-fit: cover!important;
    object-position: top;
  }
  .art-main{
    height: 50vh;
  }
  .art-down{
    display: none;
  }
  .art-contact{
    position: relative;
    z-index: 9150;
    right: -380px;
  }
  /***Contact***/
  .cn-image1{
    display: none;
  }
  .cn-image2{
    display: none;
  }
  .cn-image3{
  position: relative;
  width: 100%;
  margin: 0 auto;
  right: 0;
  }
  .cn-description{
    position: relative;
    width: 500px;
    margin: 0 auto;
    right: 0;
    left: 0;
    top:-450px;
    font-size: 30px;
  }
  .cn-description-1{
    position: relative;
    width: 500px;
    margin: 0 auto;
    right: 0;
    left: 0;
    top:-450px;
    font-size: 30px;
  }
  .cn-container .content {
    width: inherit;
    height: 800px;
    position: relative;
  }
  .contact-text{
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }
  .cn-container h2{
    padding-bottom: 10px;
  }
  .contact-maps img{
    width: 100%;
    margin: 0 50%;
    padding-bottom: 50px;
  }

  /*masorny*/
  .item {
    display: inline-block;
    padding: 50px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 3px;
  }
  /*articoli*/
article h2{
    font-size: 24px;
    padding-top: 0;
    color:#000;
    position: relative;
    bottom: 0px;
    left: 0px;
    display: inherit;
    background-color: inherit;
    opacity: inherit;
  }
  .art-article h2{
    font-size: 24px;
    padding: 0;
    color:#000;
    position: relative;
    bottom: 0px;
    left: 0px;
    display: inherit;
    background-color: inherit;
    opacity: inherit;
  }
  .art-article:hover h2 {
    display: inherit;
  }
  .art-style h2{
    padding-top: 100%;
    padding-right: 550px;
    width: 100%;
  }
  /***single***/
  .two-column-text p {
      column-count: 1;
  }
  .sg-article h2{
    font-size: 24px;
    padding: 0;
    color:#000;
    position: relative;
    bottom: 0px;
    left: 0px;
    display: inherit;
    background-color: inherit;
    opacity: inherit;
  }
  .sg-article:hover h2 {
    display: inherit;
  }

  /**************************FINE-GIULIA********************/
  /******************** MATI ipad single *****************/

#logo{
margin-left: 30px;
}
.nav{
margin-right: 30px;
}

.top{
display: none;
}
.masorny{
column-count: 1;
}
.sg-main .content{
top: 540px; /** quanto la scritta principale si stacca dal top della pagina **/
}
.sg-container h1{
font-size: 80px;
line-height: 100px;
padding: 30px;
top: 100px;
}
.two-column-text p{
position: static;
}
.two-column-text {
padding-bottom: 0;
}
.wrapper-2{
padding-top: 0;
}
/*articoli*/
article h2{
  font-size: 24px;
  padding: 0;
  color:#000;
  position: relative;
  bottom: 0px;
  left: 0px;
  display: inherit;
  background-color: inherit;
  opacity: inherit;
}
.sg-article:hover h2 {
  display: inherit;
}

/******fine mati*****/

}
/* Display 5.5", iPad portrait, iPhone 6, 6s, 7, 8 portrait and landscape, iPhone 5s landscape */
@media only screen and (max-width: 767px) {
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-10 {
    width: 100%;
    float: none;
  }
  .nav {
    position: fixed;
    left:-270px;
    width: 260px;
    height: 100%;
    top: 0;
    z-index: 99999;
    /*overflow-y: scroll;  visualizza la barra di scorrimento nel menu nav */
    background-color: rgba(255,255,255,0.9);
    transition: transform .5s ease-in-out;
    margin-right: 0;
    float: none;
  }
  .nav li {
    display: block;
    line-height: 70px;
  }
  .nav li:first-child {
    margin-top: 150px;
    padding-left: 15px;
  }
  .nav li:last-child {
    padding-right: 15px;
  }
  .nav a {
    font-size: 25px;
  }
  .wide {
    transform: translate(270px,0); /* Permette di spostare il menù da sx a dx in .5s */
  }

  .current-menu-item span {
    top:5px;
  }
  .nav-but-wrap {
  display: block;
  }
  .hm-main,
  .fof-main {
    background-position: top;
    background-size: contain;
  }
  .hm-main .object-fit {
    object-fit: cover!important;
    object-position: top;
  }
  .hm-container h1 {
    color: #000;
    font-size: 60px;
    line-height: 55px;
    text-align: center;
    margin-bottom: 30px;
  }
  .hm-container a{
    display: block;
    width: 100%;
    margin-left: 0;
    text-align: center;
    color: #000;
  }
  .hm-container a span {
    border-top: 1px solid #000;
ù  }
  .hm-bottom-container {
    /* bottom:30px; */
  }

  /******404******/
  .fof-main h1 {
    margin-top: 80px;
  }
  .footer .footer-container {
    text-align: center;
    margin-bottom: 25px;
  }
  /********************GIULIA*********************/
  /*CONTACT*/
  .art-down{
    display: inherit;

  }
  .art-contact{
    position: relative;
    right: 0px;
  }
  /*HOME*/
  .art-container {
    padding-left: 0px;
    width: 80%;
    margin: 0 auto;
  }
  .art-main h1{
    color:#707070;
    font-size: 20px;
    text-align: center;
    margin-bottom: 0;
    line-height: 2;
  }
  .art-main p{
    padding-top: 10px;
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
  }
  /*articoli*/
article h2{
    padding: 0;
    color:#000;
    position: relative;
    bottom: 0px;
    left: 0px;
    display: inherit;
    background-color: inherit;
    opacity: inherit;
  }
  .art-article h2{
    padding: 0;
    color:#000;
    position: relative;
    bottom: 0px;
    left: 0px;
    display: inherit;
    background-color: inherit;
    opacity: inherit;
  }
  .art-article:hover h2 {
    display: inherit;
  }
  .art-style h2{
    font-size: 12px;
    padding-top: 100%;
    padding-right: 250px;
  }
  .art-style h3{
    font-size: 12px;
  }
/*masorny*/
.item {
  display: inline-block;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 3px;
}
/****ABOUT*****/
.descr-area p{
  width: 90%;
  margin: 0 auto;
  text-align: center;
}
.text-2{
  padding-top: 30px;
}
.text-2 h3{
  text-align: center;
}
/***Contact***/
.cn-image1{
  display: none;
}
.cn-image2{
  display: none;
}
.cn-image3{
position: relative;
width: 100%;
margin: 0 auto;
right: 0;
}
.cn-description{
  position: relative;
  width: 300px;
  margin: 0 auto;
  right: 0;
  left: 0;
  top:-300px;
  font-size: 15px;
  text-align: center;
}
.cn-description-1{
  position: relative;
  width: 300px;
  margin: 0 auto;
  right: 0;
  left: 0;
  top:-300px;
  font-size: 15px!important;
}
.contact-maps img{
  width: 60%;
  margin: 0 20%!important;
  padding-bottom: 100px;
}
.cn-container .content{
  width: 100%;
  height: auto;
}
/********************FINE-GIULIA*********************/
/****************** MATI mobile single **********/
/*articoli*/
article h2{
  padding: 0;
  color:#000;
  position: relative;
  bottom: 0px;
  left: 0px;
  display: inherit;
  background-color: inherit;
  opacity: inherit;
}
.sg-article:hover h2 {
  display: inherit;
}
.art-style h2{
  font-size: 12px;
  padding-top: 100%;
  padding-right: 250px;
}
.art-style h3{
  font-size: 12px;
}
/***single***/
.two-column-text p {
    column-count: 1;
    font-size: 14px;
}
.sg-article h2{
  padding: 0;
  color:#000;
  position: relative;
  bottom: 0px;
  left: 0px;
  display: inherit;
  background-color: inherit;
  opacity: inherit;
}
.sg-article:hover h2 {
  display: inherit;
}
/*masorny*/
.item-sg {
display: inline-block;
padding: 30px;
width: 100%;
box-sizing: border-box;
border-radius: 3px;
}
.item-sg-2 {
display: inline-block;
padding: 30px;
width: 100%;
box-sizing: border-box;
border-radius: 3px;
}
.sg-container h1 {
  line-height: 30px;
  color: #000;
  font-size: 30px;
  position: relative;
  font-weight: 400;
  z-index: 9999;
  top: 80px;
  padding-bottom: 100px;
}
#logo{
margin-left: 30px;
}
.nav-but-wrap{
margin-right: 30px;
}
.art-bottom-container {
display: none;
}
.top{
display: none;
}
.two-column-text p {
  position: static;
  column-count: 1;
  margin-top: 50px;
}
.wrapper-2{
padding-top: 4px;
}
.item-sg{
padding: 0 50px 0 50px !important;
}
.item-sg-2{
padding: 0 50px 0 50px !important;
}
/*********fine mati****/
}
/* Display 4", iPhone 5s portrait */
@media only screen and (max-width: 375px) and (max-height:700px) {
  .hm-main .object-fit {
    object-fit: contain;
    object-position: top;
  }
  .hm-container h1{
    font-size: 30px!important;
    font-weight: 400;
    position: relative;
  }
  .hm-container h2 a{
    font-size: 30px;
  }
  .hm-main.about h2{
    position: relative;
    top:-200px;
  }
  .hm-main.about h1{
    position: relative;
    top:-200px;
  }
  .cn-container p{
    position: relative;
  }
  .art-style h2{
    padding-top: 100%;
    padding-right: 190px;
    width: 100%;
  }
}
