
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300');

body,header,td,th {
font-family: Courier new, Courier, monospace;
font-size: 1em;
color: #000000;
margin: 0;
padding: 0;
}


a:link {
color: #333333;
text-decoration: underline;
}

a:visited {
text-decoration: underline;
color: #333333;
}
a:hover {
text-decoration: none;
color: #339900;
}
a:active {
text-decoration: underline;
color: #339900;
}
body {
background-color: #FFFFFF;
}
header{
    background-color: #ffffff;
    width: 100%;
    position: absolute;
    top: 90px;
    z-index: 2;
}
#nav {
    background-color: #ffffff;
    width: 1200px;
	margin: 0 auto;
}
#nav ul {
    margin: 0;
    padding: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
}
#nav ul li {
    display: inline-block;
    font-size: 16px;
    padding: 1.2em;
	text-align: center;
}
#nav ul li a{
    display: block;
}
#logo {
    float: left;
	padding: 0em;
}
div#wrapper{
    width: 100%;
    height: 697px;
    margin: 0 auto;
    /* background: url(../img/backgroundok2.jpg) no-repeat center top; */
    z-index: -2;
}
div#inner-wrapper {
    width: 90vw;
    height: 65%;
    margin: 0 auto;
    position: relative;
    top: 175px;
    bottom: 40%;
    /* left: 20%; */
    background-color: #ffffff;
	/* overflow: auto; */
}

.content-style{
	text-align: center;
	font-size: 18px;
	width: 70vw;
	margin: 5em auto;
	font-weight: bold;
	line-height: 2em;
}

.bio {
	float: left;
	width: 30%;
	max-height: 80%;
	margin: 70px 0 0;
	padding: 0 38px 0 20px;
	overflow: auto;
	font-size: 16px;
	text-align: center;
}

.fiere-text {
	margin-bottom: 5em;
}

#inner-wrapper.big-wrapper {
    height: 88%;
}

#galleria-text , #contatti-text {
    text-align: justify;
    padding-top: 0;
    padding-left: 50px;
    padding-right: 50px;
	width: 60vw;
	margin: 5% auto;
}
ul#artisti-list{
    padding: 0;
    list-style-type: none;
    margin-bottom: 50px;
}
ul#artisti-list li{
    padding: 10px;
}
ul#artisti-presenti-list{
    width: 60%;
    padding: 0;
    list-style-type: none;
    margin: 10px auto;
}
ul#artisti-presenti-list li{
    padding-right: 10px;
    margin-bottom: 10px;
    border-right: 1px solid #333333;
    display: inline-block;
}
ul#artisti-presenti-list li:last-child{
    padding-right: 10px;
    margin-bottom: 10px;
    border-right: 0px solid #333333;
    display: inline-block;
}

#slider {
    width: 100%;
    height: 70%;
}

#slider .mySlides {
    width: auto;
    height: 85%;
    margin: 15px auto;
}

#mostre-text {
    font-weight: bold;
    max-height: none;
}

#eventi-text, #fiere-text {
    overflow: visible;
    max-height: none;
}

.gallery {
  margin: 0 auto;
  padding: 5px;
  background: #fff;
	display: table;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.gallery > div {
  position: relative;
  float: left;
  padding: 5px;
}

.gallery > div > a > img {
  display: block;
  width: 200px;
  transition: .1s transform;
  transform: translateZ(0); /* hack */
}

.gallery > div:hover {
  z-index: 1;
}

.gallery > div:hover > a > img {
  transform: scale(1.7,1.7);
  transition: .3s transform;
}

.cf:before, .cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}


/* MODAL GALLERY */

.grid-gallery {
	width: 60%;
	float: right;
	text-align: center;
	padding: 70px 0;
}

a.grid-item {
  font-size: 16px; 
  display: inline-block;
  margin-bottom: 30px;
  width: calc(50% - 4px);
  margin-right: 30px;
}

/* a.grid-item:nth-of-type(2n) {
  margin-right: 0;
} */

@media screen and (min-width: 50em) {
 a.grid-item {
    width: calc(25% - 6px);
  }

  /* a.grid-item:nth-of-type(2n) {
    margin-right: 8px;
  }

  a.grid-item:nth-of-type(4n) {
    margin-right: 0;
  } */
}


a.grid-item > figure {
	margin: 0;
	padding: 0;
	width: 12vw;
	height: 12vw;
	overflow: hidden;
}

a.grid-item > figure > img {
	width: 100%;
}






