html, body {    
  width: 100%;
}
html {  
  font-size: 16px;
}
body {  
  background-color: #000;
  color: #FFF;
  font-family: "proxima-nova", sans-serif;
  font-weight: 400;   /*300 light, 400 regular, 600 semi-bold, 700 bold*/
  font-size: 62.5%;   /*10px*/
  line-height: 1.3;
}
body.gallery { 
  background-color: #FFF;
}
.container {
  position: relative;
  width: 100%;
  height: 100%;
  /*overflow: hidden;*/
}
.mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: all 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: all 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: all 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  background-color: #000;
  background-color: rgba(0,0,0,0.7);
  opacity: 0;
}
.mask.active {
  -webkit-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  opacity: 1;
  z-index: 2000;
}
.background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
body.home .background {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -ms-behavior: url(ie/backgroundsize.min.htc);
  behavior: url(ie/backgroundsize.min.htc);
}
body.about .background {
  background: url('../images/about-new.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -ms-behavior: url(ie/backgroundsize.min.htc);
  behavior: url(ie/backgroundsize.min.htc);
}
.menu-trigger {
  position: fixed;
  left: 0;
  top: 45%;
  width: 65px;
  height: 130px;
  background: url('../images/menu-trigger@2x.png') no-repeat left top;  
  -webkit-background-size: 65px 130px;  
  -moz-background-size: 65px 130px;  
  -o-background-size: 65px 130px;  
  background-size: 65px 130px;
  cursor: pointer;
  z-index: 2200;
}
.main-menu-wrapper {
  position: fixed;
  left: 225px;
  top: 41%;
  z-index: 2100;
}
.logo {
  position: absolute;
  left: 0;
  top: 0;
  width: 290px;
  height: 177px;
  vertical-align: top;
  background: url('../images/logo@2x.png') no-repeat left top;  
  -webkit-background-size: 290px 177px;  
  -moz-background-size: 290px 177px;  
  -o-background-size: 290px 177px;  
  background-size: 290px 177px; 
  -webkit-transition: all 0.5s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: all 0.5s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: all 0.5s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
  transition: all 0.5s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
  opacity: 0;
  margin-left: -400px;
}
.main-menu {
  position: absolute;
  left: 375px;
  top: 15px;
  width: 160px;
  padding-left: 38px;
  border-left: 2px solid #FFF;
  vertical-align: top;
  -webkit-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  opacity: 0;
  margin-top: -100px;
}
.main-menu ul li {
  -webkit-transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  margin-bottom: 23px;
  opacity: 0;
}
.main-menu ul li:nth-child(1) {
  margin-left: -10px;
}
.main-menu ul li:nth-child(2) {
  margin-left: -20px;
}
.main-menu ul li:nth-child(3) {
  margin-left: -30px;
}
.main-menu ul li:nth-child(4) {
  margin-left: -40px;
}
.main-menu ul li:nth-child(5) {
  margin-left: -50px;
}
.main-menu ul li:first-child {
  padding-top: 0;
}
.main-menu ul li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}
.main-menu ul li a {
	display: block;
  padding: 10px;
  color: #FFF;
  font-weight: 600; /*Semi-Bold*/
  font-size: 1.5em;
  text-transform: uppercase;
  text-decoration: none;
}
.main-menu ul ul {
  display: none;
  margin-top: 10px;
  margin-left: -5px;
}
.main-menu ul ul li {
  margin-bottom: 0;
}
.main-menu ul ul li a {
  padding: 5px 5px 5px 15px;
  text-transform: lowercase;
  font-weight: 300; /*Light*/
}

/* MOUSE CLICK EFFECT */

.main-menu-wrapper.active .logo {
  -webkit-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: all 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  opacity: 1;
  margin-left: 0;
}
.main-menu-wrapper.active .main-menu {
  -webkit-transition: all 0.5s 0.1s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: all 0.5s 0.1s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: all 0.5s 0.1s cubic-bezier(0.835, 0, 0.19, 1);
  transition: all 0.5s 0.1s cubic-bezier(0.835, 0, 0.19, 1);
  opacity: 1;
  margin-top: 0;
}
.main-menu-wrapper.active .main-menu ul li {
  -webkit-transition: all 1s 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition: all 1s 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: all 1s 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 1s 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
  margin-left: 0;
}


/* ALL PAGES */

.page-titles, .caption {
  position: absolute;
  left: 100px;
  top: 40%;
  color: #414042;
  text-align: left;
  text-transform: uppercase;
}
.page-title, .page-titles hr, .page-subtitle,
.caption-title, .caption-subtitle,
.contact-form hr, .contact-title, .contact-subtitle {
  position: relative;
}
.page-title, .caption-title, .contact-title {
  font-size: 3.5em;
  font-weight: 700;
}
.page-title, .contact-title {
  -webkit-animation: flyingTitles 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: flyingTitles 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: flyingTitles 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  animation: flyingTitles 0.5s cubic-bezier(0.835, 0, 0.19, 1);
}
.page-titles hr, .contact-form hr {
  width: 50px;
  border: 1px solid #414042;
  margin: 20px 0;
  -webkit-animation: flyingTitles 0.6s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: flyingTitles 0.6s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: flyingTitles 0.6s cubic-bezier(0.835, 0, 0.19, 1);
  animation: flyingTitles 0.6s cubic-bezier(0.835, 0, 0.19, 1);
}
.page-subtitle, .contact-subtitle {
  font-size: 1.6em;
  -webkit-animation: flyingTitles 0.7s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: flyingTitles 0.7s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: flyingTitles 0.7s cubic-bezier(0.835, 0, 0.19, 1);
  animation: flyingTitles 0.7s cubic-bezier(0.835, 0, 0.19, 1);
}
.about-text p, .contact-form p {
  color: #414042;
  font-size: 18px;
  line-height: 1.4;
}


/* ABOUT */

.about-block {
  position: absolute;
  left: 300px;
  top: 40%;
  max-width: 1380px;
  height: 60%;
  overflow: auto;
  -webkit-animation: flyingText 1.5s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-animation: flyingText 1.5s cubic-bezier(0.23, 1, 0.32, 1);
  -o-animation: flyingText 1.5s cubic-bezier(0.23, 1, 0.32, 1);
  animation: flyingText 1.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
}
.about-text {
  position: relative;
  width: 47%;
  float: left;
  opacity: 1;
}
.facebook img {
  width: 100px;
}
a.email {
  color: #414042;
  text-decoration: none;
}
a.email:hover {
  text-decoration: underline;
}


/* CONTACT */

.contact-title, .contact-subtitle, .contact-form hr {
  color: #414042;
}
.contact-title {
  text-transform: uppercase;
}
.contact-form {
  position: relative;
  float: right;
  width: 42%;
  padding-right: 30px;
  opacity: 1;
}
.contact-form input, .contact-form textarea {
  border: 1px solid #414042;
}
.form-all {
  font-family: "proxima-nova", sans-serif !important;
}
.form-line {
  margin-top: 20px;
  clear: both;
}
.form-label {
  float: left;
  width: 100px;
  color: #414042;
  font-size: 18px;
  font-weight: 600 !important;
}


/* GALLERY */

.grid-container {
  padding: 2px;
  background-color: #FFF;
}
.grid {
  display: none;
}
.grid li {
  width: 16.66%;
  padding: 2px;
}
.grid li img {
  display: block;
  max-width: 100%;
}


/* POPUP */

.with-popup {
  cursor: pointer;
}
.mfp-content {
	position: relative;
  height: 100%;
}
.mfp-bg {
	left: 0;
  -webkit-animation: GalleryBg 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: GalleryBg 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: GalleryBg 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  animation: GalleryBg 0.5s cubic-bezier(0.835, 0, 0.19, 1);
}
.caption-title {
	left: 0;
  -webkit-animation: GalleryCaption 0.6s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: GalleryCaption 0.6s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: GalleryCaption 0.6s cubic-bezier(0.835, 0, 0.19, 1);
  animation: GalleryCaption 0.6s cubic-bezier(0.835, 0, 0.19, 1);
}
.caption-subtitle {
  font-size: 1.6em;
  left: 0;
  -webkit-animation: GalleryCaption 0.8s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: GalleryCaption 0.8s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: GalleryCaption 0.8s cubic-bezier(0.835, 0, 0.19, 1);
  animation: GalleryCaption 0.8s cubic-bezier(0.835, 0, 0.19, 1);
}
.caption hr {
  position: relative;
  left: 0;
  width: 50px;
  border: 1px solid #A7A9AC;
  margin: 20px 0;
  -webkit-animation: GalleryCaption 1s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: GalleryCaption 1s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: GalleryCaption 1s cubic-bezier(0.835, 0, 0.19, 1);
  animation: GalleryCaption 1s cubic-bezier(0.835, 0, 0.19, 1);
}
.popup {
	width: 50%;
  height: 100%;
	margin: 0 auto;
	text-align: center;
	/*position: relative;*/
}
.popup .photo {
  position: relative;
	width: 100%;
  height: 100%;
	margin: 0 auto;
  -webkit-animation: GalleryPhoto 1.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: GalleryPhoto 1.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: GalleryPhoto 1.5s cubic-bezier(0.835, 0, 0.19, 1);
  animation: GalleryPhoto 1.5s cubic-bezier(0.835, 0, 0.19, 1);
}
.popup img {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: 100%;
  max-height: 85%;
}
button.mfp-arrow, .mfp-close {
  -webkit-animation: GalleryPhoto 2s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-animation: GalleryPhoto 2s cubic-bezier(0.835, 0, 0.19, 1);
  -o-animation: GalleryPhoto 2s cubic-bezier(0.835, 0, 0.19, 1);
  animation: GalleryPhoto 2s cubic-bezier(0.835, 0, 0.19, 1);
}
.mfp-close {
	width: 28px !important;
	height: 28px !important;
	line-height: 1 !important;
	right: 25% !important;
	top: 5% !important;
	opacity: 1 !important;
	color: transparent !important;
	background: url('../images/close@2x.png') no-repeat left top !important;
	-webkit-background-size: 28px 28px !important;
	-moz-background-size: 28px 28px !important;
	-o-background-size: 28px 28px !important;
	background-size: 28px 28px !important;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
}


/* REVERSE TRANSITION */

.mfp-removing.mfp-bg {
	left: -100%;
	-webkit-transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
}
.mfp-removing .caption-title {
	left: -400px;
  -webkit-transition: left 0.3s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: left 0.3s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: left 0.3s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
  transition: left 0.3s 0.3s cubic-bezier(0.835, 0, 0.19, 1);
}
.mfp-removing .caption-subtitle {
	left: -400px;
  -webkit-transition: left 0.4s 0.4s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: left 0.4s 0.4s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: left 0.4s 0.4s cubic-bezier(0.835, 0, 0.19, 1);
  transition: left 0.4s 0.4s cubic-bezier(0.835, 0, 0.19, 1);
}
.mfp-removing .caption hr {
	left: -400px;
  -webkit-transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: left 0.5s 0.5s cubic-bezier(0.835, 0, 0.19, 1);
}
.mfp-removing .popup .photo {
	opacity: 0;
	-webkit-transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
}
.mfp-removing button.mfp-arrow, .mfp-close {
  opacity: 0;
  -webkit-transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -moz-transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  -o-transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
  transition: opacity 0.5s cubic-bezier(0.835, 0, 0.19, 1);
}


/* ANIMATIONS */

@-webkit-keyframes flyingTitles {
  0% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}
@-moz-keyframes flyingTitles {
  0% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}
@-o-keyframes flyingTitles {
  0% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}
@keyframes flyingTitles {
  0% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}

@-webkit-keyframes flyingText {
  0% {
    opacity: 0;
    left: 200px;
  }
  30% {
    opacity: 0;
    left: 240px;
  }
  100% {
    opacity: 1;
    left: 300px;
  }
}
@-moz-keyframes flyingText {
  0% {
    opacity: 0;
    left: 200px;
  }
  30% {
    opacity: 0;
    left: 240px;
  }
  100% {
    opacity: 1;
    left: 300px;
  }
}
@-o-keyframes flyingText {
  0% {
    opacity: 0;
    left: 200px;
  }
  30% {
    opacity: 0;
    left: 240px;
  }
  100% {
    opacity: 1;
    left: 300px;
  }
}
@keyframes flyingText {
  0% {
    opacity: 0;
    left: 200px;
  }
  30% {
    opacity: 0;
    left: 240px;
  }
  100% {
    opacity: 1;
    left: 300px;
  }
}

@-webkit-keyframes GalleryBg {
  0% {
    left: -100%;
  }
  100% {
    left: 0px;
  }
}
@-moz-keyframes GalleryBg {
  0% {
    left: -100%;
  }
  100% {
    left: 0px;
  }
}
@-o-keyframes GalleryBg {
  0% {
    left: -100%;
  }
  100% {
    left: 0px;
  }
}
@keyframes GalleryBg {
  0% {
    left: -100%;
  }
  100% {
    left: 0px;
  }
}

@-webkit-keyframes GalleryCaption {
  0% {
    left: -400px;
  }
  50% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}
@-moz-keyframes GalleryCaption {
  0% {
    left: -400px;
  }
  50% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}
@-o-keyframes GalleryCaption {
  0% {
    left: -400px;
  }
  50% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}
@keyframes GalleryCaption {
  0% {
    left: -400px;
  }
  50% {
    left: -400px;
  }
  100% {
    left: 0px;
  }
}

@-webkit-keyframes GalleryPhoto {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes GalleryPhoto {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes GalleryPhoto {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes GalleryPhoto {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* MEDIA QUERIES */

@media screen and (min-width: 1281px) and (max-width: 1600px) {
  .grid li {
    width: 20%;
  }
}
@media screen and (min-width: 961px) and (max-width: 1280px) {
  .grid li {
    width: 25%;
  }
}
@media screen and (min-width: 641px) and (max-width: 960px) {
  .grid li {
     width: 33.333333333%;
  }
}
@media screen and (min-width: 321px) and (max-width: 640px) {
  .grid li {
    width: 50%;
  }
}
@media screen and (max-width: 320px) {
  .grid li {
    width: 100%;
  }
}