body {
  margin: 0;
  color: rgba(60,60,60,1);
}

.container.menus {
  height: 100%;
  padding: 10% 8% 10% 8%;
  box-sizing: border-box;
  position: absolute;
}

a {
  text-decoration: none;
  color: rgba(60,60,60,1);
  line-height: 1.5;
}

p:first-child {
  margin-top: 0;
}

.menu.left {
  margin: 0 50px 20px 0;
}

.menu, .menu-page-content {
  float: left;
}

.name {
  position: absolute;
  bottom: 10%;
  left: 8%;
  font-size: 30px;
}




.container.images {
  height: auto;
  padding: 10% 8% 10% 8%;
  font-size: 0px;
}

.thumbnail {
  display: inline-block;
  width: 23.5%;
  margin-left: 1%;
  margin-right: 1%;
  margin-bottom: 2%;
}

.thumbnail:nth-child(4n - 3) {
  /*first in row*/
  margin-left: 0px;
}

.thumbnail:nth-child(4n) {
  /*last in row*/
  margin-right: 0px;
}

.img-square-pad {
  /*force square aspect ratio*/
  height: 0px;
  padding-bottom: 100%;
  position: relative;
}

.img-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.thumbnail img {
  /*center images in square*/
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  max-width: 100%;
  height: auto;
  max-height: 100%;
  width: auto;
  cursor: pointer;
}


.gallery-scrim {
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.9);
  text-align: center;
}

.white-matte {
  position: relative;
  top: 50%;
  transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  display: inline-block;
  max-width: 85%;
  max-height: 96%;
  /*padding: 0%;*/
  /*background-color: white;*/
}

.x {
  position: absolute;
  top: 0px;
  left: 100%;
  height: 50px;
  width: 50px;
  cursor: pointer;
}
.x:before, .x:after {
  content: '';
  height: 100%;
  width: 2px;
  background-color: rgba(60,60,60,0.6);
  position: absolute;
  top: 0px;
  left: 45%;
}
.x:before {
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.x:after {
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

img.full-size {
  max-width: 100%;
  max-height: 100%;
}

.text {
  padding-top: 5px;
  text-align: left;
  font-size: 16px;
}

.arrow-container {
  height: 33%;
  top: 33%;
  position: fixed;
  width: 7.5%;
  cursor: pointer;
}

.arrow {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  margin-top: -45%;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-top: 2px solid rgba(60,60,60,0.6);
  border-left: 2px solid rgba(60,60,60,0.6);
}

.left {
  left: 0;
}
.right {
  right: 0;
}

.left .arrow {
  left: 33%;
  transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.right .arrow {
  right: 33%;
  transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);

}

/*FRONTPAGE*/

.frontpage .container {
  text-align: center;
  font-size: 0px;
  max-width: 1036px;
}
.frontpage .grid-centerer {
  display: inline-block;
}
.frontpage a {
  display: inline-block;
}
.frontpage img {
  height: 130px;
  margin: 5px;
}
.frontpage-menu-container {
  height: 130px;
  display: inline-block;
  vertical-align: top;
  margin: 5px;
  font-size: 13px;
}
.frontpage-menu {
  position: absolute;
  position: relative;
  top: 50%;
  transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
}

@media screen and (min-width: 1035px) {
  .frontpage .container {
    position: absolute;
    left: 50%;
    margin-left: -518px;
  }
}
@media screen and (min-height: 700px) and (min-width: 1035px) {
  .frontpage .container {
    position: absolute;
    top: 50%;
    margin-top: -350px;
  }
}
