@keyframes slide {
    from {top: -200px;}
    to {top: 0px;}
}

html {
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	overflow-x: hidden;
}

html.modal-open {
	/* padding-right: 17px; */
	overflow: hidden;
}

body {
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	color: #000;
	padding-right: 0 !important;
}

#iframe1 {
	width: 100%;
	height: 700px;
	height: calc(100vh - 100px);
}

a {
	color: inherit;
	text-decoration: inherit;
	font-size: inherit;
	font-weight: inherit;
}

a:focus {
	outline: none;
}

header {
	background-color: #ffffff;
}

.wrapper {
	width: 80%;
	max-width: 1200px;
	margin: 0 auto;
	clear: both;
}

.wc {
	color: #373737;
	margin-top: 30px;
}



.nav li>a>div>img:last-of-type {
	position: absolute;
	transform: scale(0);
	transition: all 0.1s ease-in-out .1s;
    -webkit-transition: all 0.1s ease-in-out .1s;
}

.nav li.active>a>div>img:last-of-type {
	position: absolute;
	transform: scale(1);
}

.nav li>a>div>img:first-of-type {
	position: absolute;
	top: 3px;
	left: 6px;
	transform: scale(1);
	transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
}



.nav li>a>div {
	width: 44px;
	height: 40px;
	display: inline-block;
	position: relative;
}

.nav li>a span {
	position: relative;
	top: -18px;
}



.navbar-nav:first-of-type {
	margin-top: 30px
}
.nav>li>a {
	padding: 10px 25px;
	cursor: pointer;
}

.navbar-right>li>a {
	padding: 10px 5px;
}

.navbar-right {
	margin-top: 30px
}

.navbar-right img:hover {
	opacity: 0.92;
}

.cover img {
	width: 100%;
}

#who {
	/* margin-top: 70px; */
	padding-top: 70px;
	position: relative;
}

#who p {
	font-size: 30px;
	margin: 11px 0;
}

#who .container {
	background-color: #ffffff;
	border: 3px solid #404041;
	border-bottom: none;
	position: relative;
	padding: 30px;
	z-index: 1;
}

.modal-open .container {
	/* padding-right: 17px !important; */
}

.title {
	font-size: 30px;
	line-height: 30px;
	font-weight: 600;
	position: absolute;
	left: 10%;
	top: -20px;
	background: rgb(255,255,255);
	padding-right: 10px;
	color: #404041;
}

.title img {
	margin-right: 10px;
	margin-left: -2px;
}

.t1,
#why p.t1 {
	font-size: 64px;
	font-weight: 600;
}

#why p.t1 {
	
line-height: 66px;
	
margin-bottom: 40px;
}

.t2 {
	font-size: 40px;
	font-weight: 600
}

p {
	font-size: 18px;
	font-weight: 600;
}

.cloud img {
	width: 100%;
	margin-top: 30px;
}

#what .textura1 {
	top: 150px;
	height: 298px;
}

.grid>div {
	padding: 0;
}

#proiect3 .grid img {
	height: 450px;
	width: 100%
}

.textura1 {
	background-image: url('../img/texturan2.png');
	height: 140px;
	position: absolute;
	bottom: 0;
	/* z-index: 3; */
	width: 100%;
	transition: all 0.05s ease-in-out;
	-webkit-transition: all 0.05s ease-in-out;
}

.modal_proiect .textura1 {
	background-image: url('../img/texturan2.png');
	height: 140px;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	transition: all 0.05s ease-in-out;
	-webkit-transition: all 0.05s ease-in-out;
}

.modal_proiect video {
	width: 100%;
}

.textura2 {
	background-image: url('../img/texturan2.png');
	height: 465px;
	position: absolute;
	bottom: -261px;
	width: 100%;
	z-index: -1;
	transition: all 0.05s ease-in-out;
	-webkit-transition: all 0.05s ease-in-out;
}

.textura3 {
	background-image: url('../img/texturan2.png');
	height: 465px;
	position: absolute;
	top: -223px;
	width: 100%;
	z-index: -1;
	transition: all 0.05s ease-in-out;
	-webkit-transition: all 0.05s ease-in-out;
}

#there {
	background-color: #333132;
	margin-top: 100px;
	padding-bottom: 150px;
	position:  relative;
}

#why {
	background-color: #333132;
	margin-top: 0;
	padding-bottom: 150px;
	position:  relative;
}

.title2 {
	position: relative;
	left: 5%;
	color: #fff;
	font-size: 30px;
	font-weight: 600;
	display:  inline-block;
}

#what .title2 {
	color: #404040;
	margin-bottom: 20px
}

.title2 span {
	position: relative;
	top: 29px;
	margin-left: 10px
}

.team p {
	color: #fff;
	font-weight: 400;
	font-size: 15px;
}

.team p:last-of-type {
	min-height: 132px;
}

.team p:nth-of-type(2) {
	min-height: 3em;
}

.team img {
	margin-top: 20px;
	/* width: 100%; */
	height: 295px;
	/* margin: 0 auto 0 auto; */
	margin-left: 50%;
	transform: translateX(-50%);
}

.team>div {
	width: 20%;
	float: left;
	border: 4px solid #333132;
	background: rgb(51,49,50);
	background: linear-gradient(180deg, rgba(50,50,50,0.9) 0%, rgba(0,0,0,0.8) 56%);
	padding: 20px 15px 0px 15px;
	overflow: hidden;
}

.team p.t3 {
	font-size: 27px;
	font-weight: 600;
	margin-bottom: 2px;
	line-height: 32px;
}

.team {
	background-image: url('../img/textura.png');
	background-size: 200px;
	margin-top: 30px;
}

#why .bg {
	background-image: url('../img/textura.png');
	background-size: 200px;
	margin-top: 30px;
}

#why .bg-ov {
	background: rgb(51,49,50);
	background: linear-gradient(180deg, rgba(50,50,50,0.9) 0%, rgba(0,0,0,0.8) 56%);
	padding: 60px 0 60px 5%;
	overflow: hidden;
}

#why p {
	/* text-transform: uppercase; */
	color: #fff;
	font-size: 20px;
	line-height: 26px;
}

.t4 {
	padding: 30px 3px 60px 3px;
	color: #fff;
	text-align: center;
}

#what {
	margin-top: -150px;
	position: relative;
}

#what .container>div {
 background-color: #fff; 
 border: 3px solid #404041;
 padding: 0; 
 }


.title3 {
	color: #000;
	padding: 20px 30px;
	font-size: 44px;
	font-weight: 600;
}


.proiect {
	background-color: #FFF;
	/* background-blend-mode: luminosity, normal; */
	background-size: cover;
	background-position: center;
	margin: 0px;
	height: 400px;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
}

.proiect>div {
    color: #fff;
    text-align: center;
    margin: 0 auto;
    position:  absolute;
    text-align: center;
    bottom: 20px;
    left:  0;
    width: 100%;
    right: 0;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

.proiect .brand {
	font-size: 18px;
	margin: 0;
	text-transform: uppercase;
	display:  inline-block;
	background: #000;
	padding: 8px 16px;
}

.proiect .subbrand {
	font-size: 22px;
	margin: -5px 0 0 0 ;
}

.proiect:hover>div {
	cursor: pointer;
	/* padding: 200px 0; */
	background-color: #2c2b3500;
	/* text-shadow: 3px 2px 0px #000; */
	/* color:  transparent; */
}

.proiect:hover {
	/* background-blend-mode: initial; */
	transform: scale(1.02);
	z-index: 1;
}

.proiect:hover .brand,
.proiect:hover .subbrand {
	
/* text-shadow: none; */
	
/* color:  transparent; */
}

#brands img {
	width: 100%;
}


#where {
	margin-top: 70px;
	position: relative;
	z-index: 1;
	color: #404041;
}

#where .container {
	background-color: #ffffff;
	border: 3px solid #404041;
	position: relative;
	padding: 50px 30px 0px 30px;
}

#map-canvas {
    height: 500px;
    margin: 30px -30px 0 -30px;
}

.social {
	list-style: none;
	padding: 0;
	margin: 0;
	/* display: none; */
}

.social li {
	float: right;
	margin: 0 5px
}

footer {
	background-color: #000;
	padding: 200px 0 70px 0;
	color: #fff;
	text-align: center;
	position: relative;
	z-index: initial;
	margin-top: -173px;
}


footer p span:after {
	content: '';
	display: inline-block;
	height: 2px;
	background-color: red;
	width: 57px;
	position: absolute;
	top: 13px;
	left: -2px;
	transform: rotate(-8deg);
}

footer p span {
	position: relative;
}


.slide video,
.slide img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	/* flex: 1; */
	/* height: 100%; */
	/* width: 100%; */
	/* object-fit: cover; */
	margin: 0 auto;
}

.portofoliu {
	margin: 0;
}
.modal {
    display: block;
    visibility: hidden;
    overflow-y: hidden;
}

.modal::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE and Edge */
.modal {
    -ms-overflow-style: none;
}
.modal.in {
    visibility: visible;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.slick-track {
  display: flex;
}
.slick-track .slick-slide {
  display: flex;
  height: auto;
  max-height: calc(100vh - 216px);
  align-items: center;
  justify-content: center;
}

.modal_proiect img {
	max-width: 100%
}

.gard {
    border: 3px solid #404041;
    position: relative;
    padding: 30px;
    margin: 60px 0;
    font-size: 26px;
    background: #f9fdf9;
}


.modal_proiect .modal-body {
	padding: 1px 80px 160px 80px;
	min-height: calc(100vh - 83px);
	padding: 0 0 160px 0;
}

.modal-header {
	border-bottom: none;
	background: #f9fdf9;
}

.modal-header img {
	width: 64px
}

.modal-dialog.modal-lg {
	width: 100%;
	margin: 0;
}

.close {
	font-size: 40px;
	font-weight: 400;
	color: #222;
	opacity: 1;
}
.modal-content {
	border: none;
	border-radius: 0;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #555
}

.navbar-default .navbar-toggle {
    border-color: #555;
}

.fixed header {
		top: -200px;
		position: fixed;
		left: 0;
		width: 100%;
		background-color: #fff;
		animation: slide 0.3s forwards;
		z-index: 2;
		border-bottom: 3px solid #404041;
	}

	.fixed .navbar-brand>img {
		width: 61px;
	}

	.fixed .nav>li>a {
		padding: 0 25px;
	}

	.fixed .navbar-right>li>a {
		padding: 0 5px
	}

	.fixed .navbar-nav:first-of-type{
		margin-top: 10px;
	}

	.fixed .navbar-brand {
		padding: 5px 15px;
	}

	.fixed .navbar-right {
   		margin-top: 10px;
	}

	.fixed .navbar {
		margin-bottom: 5px
	}

	.fixed body {
		padding-top: 117px;
	}










@media (min-width: 1300px) {
.modal-lg {
    width: 1300px;
}
}

/* iPads (portrait) ----------- */
@media only screen and (max-width : 1200px) {
	.navbar-brand>img {		
		width: 93px;
	}

	.nav>li>a {
		padding: 10px 16px;
	}

	.navbar-right>li>a {
    	padding: 10px 5px;
	}

}

/* iPads (landscape) ----------- */
@media only screen and (max-width : 1199px) {
	
	.team p:last-of-type {
		min-height: 152px;
	}
}


@media (max-width: 1215px) {

	.team p.t3 {
		font-size: 20px;
		line-height: 24px;
	}

	.team p:last-of-type {
		min-height: 233px;
	}

  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }

  .navbar-left,.navbar-right li {
  	display: inline-block;
  }
  .navbar-toggle {
      display: block;
      margin-right: 0;
      margin-top: 20px;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
      display:  table;
      margin: 0 auto;
  }
  .navbar-nav>li {
      float: none;
      text-align: left;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }

  .navbar-collapse {
  	
  	border-top: none;
  	text-align: center;
  }

  .nav li>a>div {
  	text-align: left
  }

  .nav li>a span {
  	font-size: 20px;
  	top: -14px;
  }

}





/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 800px) {

	.team>div {
		width: 100%;
		display: block;
		position: relative;
		padding-left: 120px;
		border-bottom: 20px solid #333132;
		border-top: none;
	}

	.team p:last-of-type {
		min-height:0;
	}

	.team img {
		max-width: 100px;
		position: absolute;
		/* bottom: 0; */
		left: 5px;
		/* top: 0; */
		bottom: 0;
		margin-left: 0;
		transform: translateX(0%);
		height: auto;
	}

	.team p.t3 br {
		display: none;
	}

	.team p:nth-of-type(2) {
		min-height: 0;
	}

	.team {
		/* background-image: none; */
	}

}

@media only screen and (min-width : 500px) {
	.mobile {
		display: none;
	}

	
}

@media only screen and (min-width : 1215px) {
    .nav li:hover>a>div>img:last-of-type {
    	transform: scale(1);
    } 

    .nav li:hover>a>div>img:first-of-type {
    	transform: scale(0);
    }
}    

@media only screen and (max-width : 500px) {
	.t1 {
    	font-size: 36px;
    }

	.t2 {
		font-size: 28px;
	}

	#why p {
		font-size: 18px;
		line-height: 25px
	}

	.desktop {
		display: none;
	}

	.title2 img {
		width: 50px;
		top: -5px;
		position:  relative;
	}

	.title2 span {
		font-size: 32px;
		top: 9px;
	}

	.t4 {
		padding: 0 20px;
	}

	#who .container,
	#where .container {
		width: 94%;
    	margin-left: 3%;
	}

	.title3 {
		text-align: center;
		padding: 20px 0;
		font-size: 35px;
	}

	.proiect .brand {
		font-size: 28px;
	}

	.proiect .subbrand {
		font-size: 19px;
	}

	.navbar-brand>img {
		width: 66px;
	}

	.title {
		font-size: 22px;
	}

	.modal .title {
	width: 100%;
	left: 0;
	padding-left: 0px;
	font-size: 25px;
	position: relative;
	}



	.modal .title img {
		display: none;
	}

	#who p {
		font-size: 22px
	}

	.textura1 {
		display: none;
	}

	#why p.t1 {
		font-size: 40px;
		line-height: 44px
	}

	.modal_proiect .modal-body {
		padding: 1px 0px 160px 0px;
	}
}