/*
Theme Name: 	Maria Ziegelböck
*/

@import "css/reset.css";

div,
article,
section,
header,
footer,
nav,
li					    { position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }


body {
  margin: 30px 0 30px 30px;
  background:#fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
header {
  position: fixed;
  z-index: 99999;
  transform: scale(1, 1.25);
  -webkit-transform: scale(1, 1.25);
  letter-spacing: 6px;
  font-size: 24px;
}
#menu {
  position: fixed;
  z-index: 10;
  margin: 50px 0 0 0;
}
a {
  color: #000;
  text-decoration: none;
}

.h1-archive {
  display: none;
  transform: scale(1, 1.25);
  -webkit-transform: scale(1, 1.25);
  font-size: 24px;
  margin: 30px 0 75px 0;
}
.current_page_item {
  border-bottom: 1px solid #000;
}

li.page_item {
  display: inline;
  margin: 0 25px 0 0;
}
.content, ol {
  padding: 100px 0 0 0;
}
.content-about {
  padding: 65px 0 0 0;
}
.project-title {
  font-style: italic;
  padding: 0 0 20px 0;
}


/* about page */
.about {
  font-size: 15px;
}
.col-2 {
  width: 46%;
  padding: 0 4% 0 0;
  float: left; 
}
.col-2about {
  width: 46%;
  padding: 0 10px 0 0;
  float: left; 
}
.col-3 {
  width: 30%;
  margin: 60px 10px 0 0; 
  float: left; 
}
.about-block {
  padding: 60px 0 60px 0;
}
.close {
  position: absolute;
  top: 32px;
  right: 30px;
  height: 20px;
  z-index: 999999;
}
@media screen and (max-width:736px) { 
  .back-to-index {
    font-size: 18px;
    top: 20px;
    right: 20px;
  }
}


/* gallery */
.gallery-item {
  display: inline-block;
  position: relative;
  width: 10.5%;
  height: 170px;
  margin: 0 1.95% 30px 0;
}
.gallery-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
.gallery-caption {
  display: none;
}
.photo-nav {
  position: absolute;
  top: 50%;
  height: auto;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
#nav-prev {
  position: absolute;
  top: 80px;
  right: 95%;
  bottom: 70px;
  left: 0;
}
#nav-next {
  position: absolute;
  top: 80px;
  right: 0;
  bottom: 70px;
  left: 95%;
}
.next-photo {
  cursor: pointer;
  left: 0;
}
.prev-photo {
  cursor: pointer;
  right: 0;
}
.photo-height-30 { max-width:30%; max-height:30%; width: auto; height: auto; }
.photo-height-40 { max-width:40%; max-height:40%; width: auto; height: auto; }
.photo-height-50 { max-width:50%; max-height:50%; width: auto; height: auto; }
.photo-height-60 { max-width:60%; max-height:60%; width: auto; height: auto; }
.photo-height-70 { max-width:70%; max-height:70%; width: auto; height: auto; }
.photo-height-80 { max-width:80%; max-height:80%; width: auto; height: auto; }
.photo-height-90 { max-width:90%; max-height:90%; width: auto; height: auto; }
.photo-height-100 { max-width:100%; max-height:100%; width: auto; height: auto; }


/* media queries */
@media screen and (max-width:1480px) { .gallery-item { width: 14.5%; margin-right: 2.1%;} }
@media screen and (max-width:1280px) { .gallery-item { width: 18%; margin-right: 1.9%;} }
@media screen and (max-width:1020px) { .gallery-item { width: 22.5%; } }
@media screen and (max-width:840px) { 
  .gallery-item img { 
    max-width: 150px; 
    max-height: 150px; 
    width: auto; 
    height: auto; }
  .gallery-item {
    margin-bottom: 15px;
  }
}
@media screen and (max-width:760px) { .gallery-item { width: 30%; } }
@media screen and (max-width:640px) { .gallery-item { width: 48%; } }
@media screen and (max-width:375px) { 
  .gallery-item img { 
    max-width: 120px; 
    max-height: 120px; 
    width: auto; 
    height: auto; 
  }
  .gallery-item {
    margin-bottom: -20px;
  }
}


@media screen and (max-width:860px) {
	.col-3 {
  width: 46%;
  }
  .col-3:last-child {
    padding-bottom: 60px;
  }
}

@media screen and (max-width:740px) {
  #nav-prev {
    display: none !important;
  }
  #nav-next {
    display: none !important;
  }
  .photo-height-30, .photo-height-40, .photo-height-50, .photo-height-60, .photo-height-70, .photo-height-80, .photo-height-90, .photo-height-100 { max-width: 100%; max-height: 100%; width: auto; height: auto; }
}

@media screen and (max-width:736px) { 
  body {
    margin: 20px;
  }
  .close {
    top: 21px;
    right: 20px;
    height: 17px;
  }
}

@media screen and (max-width:670px) {
  .col-2 {
    width: 100%;
  }
  .col-3 {
    width: 46%;
  }
  .col-3:last-child {
    padding-bottom: 60px;
  }
}

@media screen and (max-width:370px) {
  header {
    font-size: 18px;
  }
}