﻿/* Setup stuff */
@import url(http://fonts.googleapis.com/css?family=Raleway:400,300,800|Lora:400italic|Playfair+Display:700);

h1 { font-size: 1.5em; font-weight: bold; margin: 1em 0; }

.container {
  max-width: 100%;
  margin-top:50px;
  margin-left:auto;
  margin-right:auto;
}

img {
  max-width: 100%;
}


@media (min-width: 1140px) {
  .container {
    max-width: 100%;
    
  }
}

/* Flexy image grid stuff below */
.plegma ul { 
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style:none;
}

.plegma li {
  float: left;
  background:#eaeaea;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-bottom: 1px solid #eaeaea;
  padding: 1em;
  text-align: center;
  list-style:none;
}

.plegma li:a {
	text-decoration:none;
}

.logo {
  width: 100%;
  /* Next Level Flex Box */
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  -webkit-box-pack: center;
  -webkit-box-align: center;

  display: box;
  box-orient: horizontal;
  box-pack: center;
  box-align: center;
}

.work-img {
  max-height:12em; /* max-height == .logo height */
  
}

.plegma li:last-of-type {
  border-right: none;
}

.plegma li {
  max-height: 30em;
  width: 100%;
}

@media (min-width: 320px) {
	.logo { 
    height: 12em; 
  }
  .plegma li {
    width: 50%;
    border-right: 1px solid #eaeaea;
  }
  .plegma li:nth-of-type(2n+2) {
    border-right: none;
  }

}
@media (min-width: 700px) {
  .plegma li {
    width: 33.333%;
  }
  .plegma li:nth-of-type(2n+2) {
    border-right: 1px solid #eaeaea;
  }
  .plegma li:nth-of-type(3n+3) {
    border-right: none;
  }
}
@media (min-width: 1140px) {
  .plegma li {
    width: 25%;
  }
  .plegma li:nth-of-type(3n+3) {
    border-right: 1px solid #eaeaea;
  }
  .plegma li:nth-of-type(4n+4) {
    border-right: none;
  }
}


/* Modal */
.lightModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.8s ease;
          transition: all 0.8s ease;
}
.lightModal .lightModal-inner {
  display: block;
  width: 90%;
  height: 92vh;
  margin: 0 auto;
  padding: 0;
}
.lightModal .lightModal-inner .lightModal-title {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 500;
  font-size:15px;
  line-height:15px;
  color: #000;
}

.lightModal .lightModal-inner .lightModal-title > span {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 100;
  font-size:15px;
  color: #777;
}

.lightModal .lightModal-inner .lightModal-close {
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  background: #FFF;
  border: none;
  font-size: 2em;
  line-height: 1;
  font-family: serif;
  color: #464646;
}
.lightModal .lightModal-inner .lightModal-close:hover {
  color: #f55;
}
.lightModal .lightModal-inner .lightModal-image {
  display: block;
  margin: 0 auto;
  width: auto;
  max-height: 95%;
}
.show {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.8s ease;
          transition: all 0.8s ease;
}

.etik {
color:fuchsia;
font-size:15px;
line-height:1;
text-decoration:none;
	
}

.etik >span {
color:lime;
font-size:10px;
line-height:1;
	
}

