/*************************** header **************************/
.bg-head {
	width: 100%;
  background: none repeat scroll 0 0 black;
	opacity: 0.8;
  position: fixed;
  top: 0;
	z-index: 20;
	height: 0px;
	transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.brand {
	float: right;
	position: fixed;
	opacity: 1;
	right: 35px;
	z-index: 30;
	margin-top: 6px;
}
.isOpened {
	height: 70px;
}
/************************** end header **************************/

/************************** home ********************************/
@font-face {
	font-family: 'BigFont';
	src: url("../fonts/Montserrat-Bold.otf") format("opentype");
}
@font-face {
	font-family: 'SmallFont';
	src: url('../fonts/texgyretermes-bolditalic.otf') format("opentype"); 
}
#capt-wrapper {
	width: 100%;
	opacity: 0.95;
	left: 0;
}
@media only screen and (max-height : 220px){
	#capt-wrapper {
		position: absolute;
		margin-top: 210px;
	}
}
@media only screen and (min-height : 221px) {
	#capt-wrapper {
		position: fixed;
		bottom: 20px;
	}
}
.caption-top {
	font-family: 'SmallFont';
    text-align: center;
    color: white;
} 
.caption-bottom  {
	font-family: 'BigFont';
	text-align: center;
	color: white;
} 
	
@media only screen and (min-width : 1401px) {
	.caption-top  {
		font-size: 40px;
	}
	.caption-bottom  {
		font-size: 62px;
	} 
}
@media only screen and (min-width : 992px) and (max-width : 1400px) {
	.caption-top  {
		font-size: 30px;
	}
	.caption-bottom  {
		font-size: 54px;
	} 
}
@media only screen and (min-width : 700px) and (max-width : 991px) {
    .caption-top  {
		font-size: 24px;
	}
	.caption-bottom  {
		font-size: 40px;
	} 
}
@media only screen and (max-width : 699px) {
    .caption-top  {
		font-size: 21px;
	}
	.caption-bottom  {
		font-size: 30px;
		padding-top: 8px;
	} 
}
#nav {
	width: 100%;
	margin: 0 auto;
	z-index: 99999;
	bottom: 45%;
	position: fixed;
}
#next {
	float: right;
}
#prev, #next {
	opacity: 0.8;
	outline: 0;
}
#prev:hover, #next:hover {
	opacity: 1;
}
#prev.disabled, #next.disabled {
	color: #865;
	cursor: default;
}
/**********************end home**************************/

/********************portfolio***************************/

.background {
	position: relative;
} 
#wrapper {
   margin: 0 auto;
   /*width: 96%;*/
   padding-top: 100px;
}

@media only screen and (max-width : 250px) {
   /* Smartphone view: 1 tile */
   .brand {
      top: 5px;
	  right: -30px;
   }
   .brand > img {
		width: 78%;
   }
}
@media only screen and (max-width : 450px) and (min-width : 251px) {
   /* Tablet view: 2 tiles */
   .brand {
      top: 5px;
	  right: -30px;
   }
   .brand > img {
		width: 78%;
   }
}
@media only screen and (max-width : 650px) and (min-width : 451px) {
   /* Tablet view: 3 tiles */
   .brand {
	   top: 2px;
	  right: 10px;
   }
   .brand > img {
		width: 90%;
   }
}
@media only screen and (max-width : 850px) and (min-width : 651px) {
   /* Small desktop / ipad view: 4 tiles */
   .brand {
	  right: 22px;
   }
   .brand > img {
	  width: 97%;
   }
}
@media only screen and (max-width : 1050px) and (min-width : 851px) {
   /* Small desktop / ipad view: 5 tiles */
   .brand > img {
		width: 100%;
   }
}
@media only screen and (max-width : 1400px) and (min-width : 1051px) {
   /* Medium desktop: 6 tiles */
   .brand > img {
		width: 100%;
   }
}

.lazy-load, .lazy-loaded {
  -webkit-transition: opacity 2s;
  -moz-transition: opacity 2s;
  -ms-transition: opacity 2s;
  -o-transition: opacity 2s;
  transition: opacity 2s;
  opacity: 0;
}
.lazy-loaded { opacity: 1; }

/****************************** end portfolio ********************************/

/*********************** contact ***********************/
.wrapper-contact {
	margin: 120px auto;
	max-width:500px;
}
#contact_form { 
	text-shadow: 0 0 1.6px #D1D0DA;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	background:#000;
	padding:25px;
	color:#D1D0DA;
	font-family: 'Roboto Condensed';
}
#ff label { 
	text-shadow: 0 0 1.6px #d1d0da;
	cursor:pointer;
	margin:4px 0;
	color:#d1d0da;
	display:block;
	font-weight:100;
	font-family: 'Roboto Condensed';
	font-style:italic;
}
input, textarea{ 
	display:block;
	width:100%;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	background-color:#191919;
	color:#CACACA;
	border:1px solid #262626;
	padding:10px;
	margin-bottom:25px;
	font-family: 'Roboto Condensed';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}
.sendButton {
	background: #262626; /* Old browsers */
	background: -moz-linear-gradient(top,  #262626 16%, #0e0e0e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(16%,#262626), color-stop(100%,#0e0e0e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #262626 16%,#0e0e0e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #262626 16%,#0e0e0e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #262626 16%,#0e0e0e 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #262626 16%,#0e0e0e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#262626', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
	cursor:pointer;
	-moz-box-shadow:inset 0px 1px 0px 0px #262626;
	-webkit-box-shadow:inset 0px 1px 0px 0px #262626;
	box-shadow:inset 0px 1px 0px 0px #262626;
	background-color:#262626;
	-webkit-border-radius:16px;
	-moz-border-radius:16px;
	border-radius:16px;
	border:1px solid #262626;
	color:#cacaca;
	font-family:'Roboto Condensed';
	font-size:14px;
	width:25%;
	font-weight:bold;
	text-shadow:1px 1px 0px #262626;
}
.sendButton:hover {
	background: #b5bdc8; /* Old browsers */
	background: -moz-linear-gradient(top, #b5bdc8 0%, #828c95 36%, #28343b 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b5bdc8), color-stop(36%,#828c95), color-stop(100%,#28343b)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #b5bdc8 0%,#828c95 36%,#28343b 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #b5bdc8 0%,#828c95 36%,#28343b 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #b5bdc8 0%,#828c95 36%,#28343b 100%); /* IE10+ */
	background: linear-gradient(to bottom, #b5bdc8 0%,#828c95 36%,#28343b 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5bdc8', endColorstr='#28343b',GradientType=0 ); /* IE6-9 */
	border:1px #b5bdc8;
	background-color:#b5bdc8;
}
/*********************** end contact ***********************/

/*********************** start global ***********************/
.navbar-default .navbar-toggle:focus {
	background-color: rgba(0, 0, 0, 0);
}
#navbar-collapse-1 {
	overflow:hidden;
}
ul#context-menu {
	list-style: none;
	width: 140px;
	height: 30px;
    font-family: 'Roboto Condensed';
    font-size: 13px;
	padding: 5px;
	z-index: 9999999;
	text-align: left;
	background: rgba(0, 0, 0, .5);
}
ul#context-menu li {
	margin: 1px;
	padding: 1px;
}
ul#context-menu li a {
	color: #F0F0F0;
}
ul#context-menu li:hover {
	margin: 1px;
	padding: 1px;
	background: #6A6A6A;
}
ul#context-menu li a:hover {
	text-decoration:none;
	#F0F0F0;
}
body {
	background-color: #000;
}
/*********************** end global ***********************/

/*********************** start footer *********************/
.footer {
	clear: both;
	text-align: center;
	padding-top: 23px;
	font-family: 'Roboto Condensed';
  font-weight: 300;
	font-size: 10px;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
	text-shadow: 0 0 1px #fff;
	opacity: 0.85;
}
.footer > p {
	height: 23px;
}
.footer-small {
	padding-top: 15px;
}
.push  {
	clear: both;
	padding-top: 15px;
}
/*********************** end footer *********************/

/*********************** start gallery *********************/

/* columns no padding and margin */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutters  [class^="col-"],
.row.no-gutters  [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* container no padding */
.container-fluid {
	padding:0;
}

/*********************** stop gallery *********************

/* photoswipe caption pics*/
#wrapper figcaption {
  display: none;
}


/* main css */

div.project, div.fade-in-info {
    float: left;
    line-height: 0;
    position: relative;
    width: 100%;
}
div.project > a, div.project > div:not(.backstretch), div.fade-in-info > a, div.fade-in-info > div:not(.backstretch) {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    display: inline-block;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: background 0.5s ease 0.5s, opacity 0.5s ease 0.5s;
    width: 100%;
}
div.project > a::before, div.project > div:not(.backstretch)::before, div.fade-in-info > a::before, div.fade-in-info > div:not(.backstretch)::before {
    content: "";
    display: inline-block;
    height: 100%;
    margin-right: -0.4em;
    vertical-align: middle;
}
div.project > a div, div.project div:not(.backstretch), div.fade-in-info > a div, div.fade-in-info div:not(.backstretch) {
    display: inline-block;
    opacity: 0;
    perspective: 300px;
    text-align: left;
    transition: opacity 0.5s ease 0.4s, background 0.5s ease 0.5s;
    vertical-align: middle;
    width: 100%;
}
div.project > a div h4, div.project > a div p, div.project div:not(.backstretch) h4, div.project div:not(.backstretch) p, div.fade-in-info > a div h4, div.fade-in-info > a div p, div.fade-in-info div:not(.backstretch) h4, div.fade-in-info div:not(.backstretch) p {
    line-height: 1;
    /*margin: 0 5%;*/
		margin-left: 8%;
    width: 90%;
    word-wrap: break-word;
}
div.project > a div h4, div.project div:not(.backstretch) h4, div.fade-in-info > a div h4, div.fade-in-info div:not(.backstretch) h4 {
    color: white;
    font-family: 'BigFont';
    font-size: 54px;
    font-weight: 900;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateZ(-30px);
    transition: opacity 0.2s ease 0.2s, transform 0.2s ease 0.2s;
}
div.project > a div p, div.project > a div > a, div.project > a div > div:not(.backstretch), div.project div:not(.backstretch) p, div.project div:not(.backstretch) > a, div.project div:not(.backstretch) > div:not(.backstretch), div.fade-in-info > a div p, div.fade-in-info > a div > a, div.fade-in-info > a div > div:not(.backstretch), div.fade-in-info div:not(.backstretch) p, div.fade-in-info div:not(.backstretch) > a, div.fade-in-info div:not(.backstretch) > div:not(.backstretch) {
    color: #e3e3e3;
    opacity: 0;
		font-family: 'SmallFont';
		font-size: 30px;
    transform: translateZ(-30px);
    transition: background-color 0.5s ease 0s, opacity 0.2s ease 0s, transform 0.2s ease 0s;
}

div.project.hover > a, div.project.hover > div, div.project:hover > a, div.project:hover > div, div.fade-in-info.hover > a, div.fade-in-info.hover > div, div.fade-in-info:hover > a, div.fade-in-info:hover > div {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: background 0.5s ease 0s, opacity 0.5s ease 0s;
}
div.project.hover > a div, div.project.hover div, div.project:hover > a div, div.project:hover div, div.fade-in-info.hover > a div, div.fade-in-info.hover div, div.fade-in-info:hover > a div, div.fade-in-info:hover div {
    opacity: 1;
    transition: opacity 0.2s ease 0s;
}
div.project.hover > a div h4, div.project.hover > a div p, div.project.hover > a div > a, div.project.hover div h4, div.project.hover div p, div.project.hover div > a, div.project:hover > a div h4, div.project:hover > a div p, div.project:hover > a div > a, div.project:hover div h4, div.project:hover div p, div.project:hover div > a, div.fade-in-info.hover > a div h4, div.fade-in-info.hover > a div p, div.fade-in-info.hover > a div > a, div.fade-in-info.hover div h4, div.fade-in-info.hover div p, div.fade-in-info.hover div > a, div.fade-in-info:hover > a div h4, div.fade-in-info:hover > a div p, div.fade-in-info:hover > a div > a, div.fade-in-info:hover div h4, div.fade-in-info:hover div p, div.fade-in-info:hover div > a {
    opacity: 1;
    transform: translateZ(0px);
}
div.project.hover > a div h4, div.project.hover div h4, div.project:hover > a div h4, div.project:hover div h4, div.fade-in-info.hover > a div h4, div.fade-in-info.hover div h4, div.fade-in-info:hover > a div h4, div.fade-in-info:hover div h4 {
    transition: opacity 0.5s ease 0s, transform 0.5s ease 0s;
}
div.project.hover > a div p, div.project.hover > a div > a, div.project.hover div p, div.project.hover div > a, div.project:hover > a div p, div.project:hover > a div > a, div.project:hover div p, div.project:hover div > a, div.fade-in-info.hover > a div p, div.fade-in-info.hover > a div > a, div.fade-in-info.hover div p, div.fade-in-info.hover div > a, div.fade-in-info:hover > a div p, div.fade-in-info:hover > a div > a, div.fade-in-info:hover div p, div.fade-in-info:hover div > a {
    transition: background-color 0.5s ease 0s, opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
