// -----[ MAINPAGE ]-----------------------------------------------------------

$size: 45px;

.rotate {
	animation: rotate infinite;
	animation-duration: 100s;
	// animation-delay: 5s;
	transition-timing-function: ease;
	transform-origin: 0 100%;
}

@-webkit-keyframes rotate {
	0%, 24% { transform: rotate(0deg); }
	25%, 49% { transform: rotate(270deg); }
	50%, 74% { transform: rotate(540deg); }
	75%, 99% { transform: rotate(810deg); }
	100% { transform: rotate(1080deg); }
}

.shape {
	background: $grenade;
	border-top-right-radius: $size * 2;
	display: inline-block;
	height: $size;
	width: $size;
}

.section {
	background-repeat: no-repeat;
	display: table;
	height: 100vh;
	position: relative;
	width: 100%;
}

.section__bg {
	@include single-transition;
	background-repeat: no-repeat;
	left: 0;
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}

.section__desc {
	display: table-cell;
	vertical-align: middle;
}

// -----[ INTRO ]--------------------------------------------------------------

.intro {
	.section__bg {
		@include img-url('bg/mainpage/intro.jpg');
		background-position: 100% 100%;
		// background-size: contain;
		background-size: auto calc(100% - 100px);
	}

	.cell {
		padding-left: 20px;
	}

	.img-lloyds {
		display: none;
	}

	.grid-container {
		width: 100%;
	}
}

.intro-lloyd {
	position: relative;

	> .img-lloyds,
	.fp-tableCell > .img-lloyds {
		bottom: 30px;
		display: block;
		left: 30px;
		position: absolute;
	}
}

.intro {
	.grid-container {
		position: relative;
		top: -60px;
		z-index: 1;
	}
}

.protection {
	.grid-container {
		position: relative;
		z-index: 1;

		h2 {
			a {
				color: #313d51;

				&:hover,
				&:focus {
					text-decoration: underline;
				}
			}
		}
	}
}

// -----[ ABOUT US ]-----------------------------------------------------------
.about-us {
	h2 {
		margin-bottom: 50px;
	}

	.list-default__desc {
		p {
			margin: 0;
		}
	}
}

// -----[ PROTECTION ]---------------------------------------------------------
.protection {
	@extend %shape-small;
	overflow: hidden;
}

.shapes-small {

}

.protection--legal {
	&::before {
		left: auto;
		right: 190px;
		top: calc(50% + 200px);
		transform: scaleX(-1);
	}
}

.protection--cyber {
	.section__bg {
		@include img-url('bg/mainpage/cyber-protection.jpg');
		background-position: 0 100%;
		// change 17.07.2019
		// background-size: contain;
		background-size: auto calc(100% - 100px);
	}

	.cell {
		padding-right: 20px;
	}
}

.protection--legal {
	.section__bg {
		@include img-url('bg/mainpage/legal-protection.jpg');
		background-position: 100% 0;
		background-size: contain;
	}

	.cell {
		padding-left: 20px;
	}
}

// -----[ NEWS ]---------------------------------------------------------------
.news {
  @include img-url('bg/shapes/news.svg');
  background-position: calc(50% + 50px) calc(50% - 100px);
  background-size: auto auto;

	h2 {
		text-align: center;
	}

	.list-default {
		display: table;
		width: 100%;
	}

	.list-default__item {
		margin: 0 20px;
		width: 32%;
		display: table-cell;
	}

	_:-ms-fullscreen, .list-default {
		display: table;
		margin: 0;
	}

	_:-ms-fullscreen, .list-default__item {
		display: table-cell;
		margin: 0;
		width: 25%;
	}
}

// -----[ PARTNERS ]-----------------------------------------------------------
.partners {
	overflow: hidden;
	position: relative;

	h4 {
		@extend %short-line;
		padding: 25px;
	}

	.dark {
		position: relative;

		h3 {
			margin: 17px 0;
		}
	}
}

.dark {
	overflow: hidden;
	position: relative;

	&::before {
		background: $grenade repeat;
		@include img-url('pattern/partners.png');
		border-radius: 100%;
		content: '';
		display: block;
		height: 1860px;
		left: 50%;
		position: absolute;
		// top: -57%;
		top: calc(50% - 930px);
		width: 1860px;
		z-index: -1;
	}

	h3 {
		color: $white;
	}
}

.partners-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	width: calc(100% + 200px);

  width: calc(100% + 125px);
}

@media only screen and (max-width: 1850px) {

	.partners-grid {
	  width: calc(100% + 125px);
	}

}

.partners-grid__item {
	width: 33.3%;
	margin: 50px 0;
}

.img-lloyds {
	margin: 100px 0 0;
}







