/* Main */
.main {
	display: flex;
	align-items: center;
	position: relative;
	/* min-height: 700px; */
	/* padding-top: 245px; */
	/* margin-top: 95px; */
	padding-top: 130px;
	padding-bottom: 180px;
	color: #FFFFFF;
	text-align: center;
	background-image: url('../images/main/main-bg.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	transition: all .3s;
	z-index: 3;
}
.main.active {
	margin-top: 0;
	padding-top: 15px;
	padding-bottom: 15px;
}
.main.active .main-preview {
	display: flex;
	z-index: 4;
	opacity: 1;
	visibility: visible;
}
.main.active .main-base {
	opacity: 0;
	visibility: hidden;
}
.main .main-base {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s, visibility .3s;
}
.main.index {
	z-index: 2;
}
.main-preview {
	flex-direction: column;
	align-items: center;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.main-preview.disable .main-logo span {
	display: none;
}
.main-preview.disable .main-consultation {
	display: none;
}
.main-preview.disable .main-btn_arrow {
	display: none;
}
.main-preview .main-consultation {
	display: inline-block;
	margin-bottom: 0;
	font-size: 24px;
}
.main-preview .main-consultation > span {
	display: inline-block;
  overflow: hidden;
  border-right: .15em solid orange;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 1px;
  animation: 
    typing 3.5s steps(40, end),
		blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}

.main-btn_arrow {
	display: block;
}
.main-logo {
	display: flex;
	margin-bottom: 50px;
	align-items: center;
	font-size: 74px;
	font-weight: 700;
	text-transform: uppercase;
	transition: top .3s, left .3s;
}
.main-logo-img {
	width: 100%;
	max-width: 172px;
	width: 172px;
	min-width: 172px;
	height: 100%;
	height: 155px;
	max-height: 155px;
}
.main-logo-img img {
	position: fixed;
	width: 172px;
	height: 155px;
	animation-name: zoom;
	animation-duration: .8s;
	transition: transform 1s, top .8s, left .8s, width .3s, height .3s;
}
.main-logo-img img.active {
	width: 60px;
	height: 54px;
}
.main-logo span {
	width: 0;
	padding-left: 35px;
	overflow: hidden;
	transition: width 1s;
}
/* .main-logo:after {
	content: 'eligence';
	display: block;
} */
.main-logo.active span {
	width: 100%;
}

/* Zoom logo effect */
@keyframes zoom {
  0% {
		transform: scale(200);
	}
	100% {
		transform: scale(1)
	}
}

.main-devices {
	margin-bottom: 18px;
	font-size: 35px;
	line-height: 24px;
	text-transform: uppercase;
}
.main-devices span {
	font-weight: 700;
}
.main-job {
	margin-bottom: 38px;
	font-size: 47px;
	text-transform: uppercase;
}
.main-consultation {
	margin-bottom: 50px;
	font-size: 35px;
}
.main-btn .btn_primary {
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s, background-color .3s;
}
.main-btn .btn_primary.active {
	opacity: 1;
	visibility: visible;
}
.main-btn_arrow {
	display: none;
	position: absolute;
	width: 60px;
	height: 30px;
	bottom: 148px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
}
.main-btn_arrow:before,
.main-btn_arrow:after {
	content: '';
	position: absolute;
	width: 40px;
	height: 2px;
	bottom: 0;
	left: -10px;
	background-color: #FFFFFF;
	transform-origin: right;
	transition: background-color .3s;
}
.main-btn_arrow:before {
	transform: rotate(45deg);
}
.main-btn_arrow:after {
	transform: rotate(135deg);
}
.main.active .main-btn_arrow {
	display: block;
}

/* About */
.about {
	z-index: 2;
}
.about-img {
	width: 100%;
	max-width: 129px;
	min-height: 80px;
	max-height: 80px;
	margin-right: auto;
	margin-left: auto;
}
.about-item {
	text-align: center;
}
.about-item-info {
	padding-top: 14px;
}
.about-item-title {
	margin-bottom: 22px;
	font-size: 15px;
	font-weight: 700;
	color: #F64C55;
	text-transform: uppercase;
}
.about-item-title span {
	color: #242527;
}
.about-item-descr {
	line-height: 24px;
	text-align: left;
}
.about .tabs {
	padding-top: 30px;
}
.about .container_custom {
	width: 100%;
	max-width: 960px;
	margin-right: auto;
	margin-left: auto;
}
.about-icons .row {
	justify-content: center;
}
.about-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	margin-bottom: 20px;
}
/* Tabs */
.tabs-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.tabs-btn {
	display: inline-block;
	position: relative;
	min-width: 235px;
	min-height: 60px;
	font-size: 20px;
	line-height: 60px;
	color: #151515;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
}
.tabs-btn:before,
.tabs-btn:after {
	content: '';
	position: absolute;
	height: 3px;
	bottom: 0;
}
.tabs-btn:before {
	width: 0;
	right: 0;
	background-color: #F64C55;
	z-index: 1;
	transition: width .3s, left .3s, right .3s;
}
.tabs-btn:after {
	width: 100%;
	left: 0;
	background-color: #CDD0D3;
}
.tabs-btn.active:before {
	width: 100%;
	right: auto;
	left: 0;
}
.tabs-item {
	position: absolute;
	top: 60px;
	transition: transform 1s;
}
.tabs-item.active {
	display: block;
	transform: translateX(0)!important;
}
.tabs-content {
	position: relative;
	padding-top: 60px;
	overflow: hidden;
}
/* Projects */
.projects {
	padding-bottom: 100px;
}
.projects .projects-item {
	margin-bottom: 16px;
	padding-top: 15px;
	padding-bottom: 26px;
	transition: background-color .3s, box-shadow .3s;
	cursor: pointer;
}
.projects-item-content {
	height: 100%;
}
.projects-item-info {
	padding-top: 12px;
}
.projects-item-title {
	margin-bottom: 5px;
	font-size: 13px;
	line-height: 24px;
	color: #64676B;
}
.projects-item-descr {
	line-height: 24px;
	color: #151515;
	/* text-transform: uppercase; */
	transition: color .3s;
}
.projects-list-btn {
	padding-top: 14px;
	text-align: center;
}

/* Team */

.team-list {
	padding-top: 54px;
}
.team-item {
	height: 100%;
	margin-bottom: 20px;
	padding-bottom: 18px;
	text-align: center;
}
.team-img {
	position: relative;
	width: 100%;
	max-width: 172px;
	min-height: 192px;
	margin-right: auto;
	margin-left: auto;
}
.team-frame {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-image: url('../images/team/team-frame.png');
	background-repeat: no-repeat;
	background-size: 100%;
	z-index: 1;
}
.team-item-info {
	padding-top: 15px;
}
.team-name {
	margin-bottom: 6px;
	font-weight: 700;
	color: #64676B;
	text-transform: uppercase;
}
.team-position {
	color: #F04D55;
}

/* Contacts */
.contacts {
	position: relative;
	min-height: 700px;
	padding-bottom: 100px;
}
.contacts:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, .3);
	clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%, 0% 35%, 45% 35%, 45% 73.5%, 20% 73.5%, 20% 0%);
	z-index: 1;
}
.contacts-map {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.contacts-map iframe {
	display: block;
}
.contacts .container {
	position: relative;
	max-width: 930px;
	z-index: 2;
}
.contacts .section-title h2,
.contacts .section-subtitle {
	color: #FFFFFF;
}
.contacts-content {
	position: relative;
	float: right;
	width: 50%;
	height: 100%;
	padding-left: 30px;
	padding-right: 15px;
	z-index: 2;
}
.contacts-form {
	max-width: 450px;
}
.contacts-form .form-inputs {
	margin-bottom: 30px;
}
.contacts-form .form-item_btn {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.contacts-form .form-item_btn .form-info {
	font-size: 13px;
	font-weight: 600;
	color: #FFFFFF;
}
.contacts-form .form-item_btn .btn {
	max-width: 160px;
}
.contacts-window {
	width: 100%;
	height: 274px;
	background-color: rgba(255, 255, 255, .9);
	border-radius: 25px;
}
/* Frame */
.frame {
	position: absolute;
	background-color: rgba(0, 0, 0, .4);
	z-index: 2;
}
.frame1 {
	height: 100%;
	top: 0;
	left: 0;
}
.frame2 {
	height: 100%;
	top: 0;
	right: 0;
}
.frame3 {
	top: 0;
}
.frame4 {
	bottom: 0;
}

/* Footer */
.footer {
	padding-top: 3px;
	padding-bottom: 3px;
	background-color: #3C3F45;
}
.footer-line {
	height: 1px;
	margin-bottom: 28px;
	background-color: #F64C55;
}
.footer-logo {
	margin-top: 8px;
	width: 59px;
	height: 52px;
	margin-right: 30px;
}
.footer-contacts {
	flex-grow: 1;
}
.footer-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-item {
	margin-bottom: 4px;
	color: #8A9096;
}
.footer-item:last-child {
	margin-bottom: 0;
}
.footer-item span {
	display: inline-block;
	min-width: 74px;
	padding-right: 10px;
}
.footer-item a {
	color: #CDD0D3;
	transition: color .3s;
}
.footer-social {
	padding-top: 19px;
}
.footer-copyright {
	padding-top: 3px;
	font-size: 13px;
	color: #8A9096;
	text-align: center;
	text-transform: uppercase;
}

/* Hover */
@media (min-width: 1200px) {

	/* Main */
	.main-btn_arrow:hover:before,
	.main-btn_arrow:hover:after {
		background-color: #F64C55;
	}

	/* Tabs */
	.tabs-btn:hover:before {
		width: 100%;
		right: auto;
		left: 0;
	}

	/* Projects */
	.projects-item:hover {
		background-color:rgba(255, 255, 255, .4);
		box-shadow: 0 0 8px 0 rgba(0,0,0,0.3);
	}
	.projects-item:hover .projects-item-descr {
		color: #F64C55;
	}

}

/* polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%, 0% 0%, 0% 40%, 45% 40%, 45% 70%, 20% 70%, 20% 0%); */