// -----[ MEDIA QUERIES ]------------------------------------------------------

@include breakpoint(big) {
	body {
		font-size: 18px;
	}
}



@media only screen and (max-width: 1680px) {

	.partners-grid {
		width: 100%;
	}

	.partners-grid__item {
    margin: 25px 0;
		width: 50%;
	}

	.top-bar {
		.top-bar-left {
			z-index: 1;
		}
	}


	.rwd-image {
		.img-desktop {
			max-width: 80%;
		}
	}

	.subpage-protection--steps {
		.fp-slides {
			.grid-container {
				top: 0;
			}
		}
	}

	.subpage-protection--steps {
		&::before {
			display: none;
		}
	}

	.about-us {
		.list-default__desc {

			h3 {
				font-size: rem-calc(20);
			}
		}
	}

}

@media only screen and (max-width: 1460px) {
	.contact-form-container {
		margin-top: -70px;
	}

	.about-us {
		.list-default__desc {

			p {
				margin: 0;
			}
		}
	}

	.bg--insurance {
    background-size: 650px;
	}

	.bg--about-us {
		background-size: 65% auto;
	}

	.subpage-protection--cyber {
		.section__desc {
			.description {
				font-size: rem-calc(15);
			}
		}
	}

	.news {
		h2 {
			margin-top: 100px;
		}
	}

	.bg--navy-top-left {
		background-size: 90% auto;
	}

	.header-lead--about-us .lead--news {
		padding-right: 0;
	}

	.packages {
		&::after {
			left: calc(100% - 100px);
		}
	}

}

@media only screen and (max-width: 1440px) and (min-width: 1241px) {

	.content:not(.bg--about-us) {
		padding-top: 50px;
	}

	.about-us {
		.list-default {
			margin: 0 0 -50px;

			h4 {
				margin-bottom: 1rem;
			}
		}

		.list-default__desc {
			padding: 20px 0 0;

			&::before {
				left: -25px;
				top: -5px;
			}
		}

		.list-default__item {
			figure {
				margin: -90px 0 -50px;
				transform: scale(.5);
			}
		}
	}

	.protection--legal {
		overflow: hidden;
	}

	.subpage-protection--cyber {
		h2 {
			margin-top: 45px;
		}
	}

	.subpage-protection--steps {
		.cell {
			position: relative;
			left: 50px;
		}
	}

	.subpage-protection--cyber {
		.grid-x {
			display: block;
		}
	}

	.fp-slidesNav {
		&.bottom {
			bottom: 20px;
		}
	}

	_:-ms-fullscreen, :root	.fp-slidesNav.bottom {
		bottom: 20px;
	}

	_:-ms-fullscreen, :root	.chart {
		transform: scale(.8)
	}

}

@media only screen and (min-width: 1025px) {
	.top-bar-right {
		display: block!important;
	}
}

@media only screen and (max-width: 1024px) {

	.menu-icon {
		&::after {
			@include single-transition;
			background: $grenade;
			box-shadow: 0 7px 0 $grenade, 0 14px 0 $grenade;
		}

		&:hover {
			&::after {
				background: $primary-color;
				box-shadow: 0 7px 0 $primary-color, 0 14px 0 $primary-color;
			}
		}
	}

	.content {
		margin: 0;
		padding: 40px 0 0;

		&.content--no-marg {
			margin: 0;
			padding: 0;
		}
	}

	.list-default__item {
		figure {
			margin: 50px 0 -30px;
		}

		img {
			transform: scale(.8);
		}
	}

	.row {
		padding: 0 10px;
	}

	.provides {
		background: none;
		padding: 70px 0 10px;

		.row {
			padding-left: 10px;
		}
	}

	.title-bar {
		background: none;
		position: fixed;
		right: 25px;
		top: 20px;
		z-index: 6;
	}

	.top-bar {
		background: $white;
		border-bottom: 1px solid #ebebeb;

		&::before {
			display: none;
		}

		.top-bar-right {
			background: $white;
			border-left: 1px solid #ebebeb;
			border-bottom: 1px solid #ebebeb;
			max-width: 360px;
			position: absolute;
			right: 0;
			// top: 70px;
			display: none;
		}

		.menu-icon {
			display: block;
			position: absolute;
	    right: 30px;
	    top: 28px;
	    z-index: 1;
		}
	}

	.top-bar-right {
		.menu__footer {
	    display: block;
		}
	}

	.socialmedia a i,
	.menu__footer,
	.hamburger {
		display: block;
	}

	.menu__footer {
		> a {
			span {
				display: none;
			}
		}
	}

	.menu {
		display: flex;
		padding: 20px 20px 30px;

		a {
			font-size: rem-calc(18);
			font-weight: 600;
			padding: 20px 45px;

			&.hollow {
				&:hover {
					color: $grenade;
				}
			}
		}
	}

	.menu__item {
		text-align: center;
		width: 100%;

		&:nth-child(1),
		&:nth-child(2) {
			a {
				font-size: 26px;
			}
		}
	}

	.menu__footer {
		border-top: 1px solid $primary-color;
		height: 70px;
		margin: 0 20px 20px;
		text-align: center;
		padding: 25px 7px 0;
	}

	.lang {
		border-top: 1px solid #ebebeb;
		justify-content: center;
		display: flex;
		flex-wrap: wrap;
		margin: 20px 0 60px;
		overflow: hidden;
		padding: 30px 0 0;
		position: static;
		width: auto;

		&::before {
			display: none;
		}

		a {
			font-size: 26px;
			font-weight: 400;
			padding: 10px;
		}

		&__item {
			~ li {
				&::before {
					height: 20px;
					top: calc(50% - 10px);
				}
			}
		}
	}

	.menu .lang__item--active {
		a {
			color: $primary-color;
		}
	}

	.lead--news {
		margin-bottom: 50px;
	}

	.top-bar {
		padding: 7px 20px;
		width: 100%;
	}

	.wrapper {
		padding: 70px 0 0;
	}
}

@media only screen and (max-width: 1024px) {

	.footer-media {
		margin: 25px auto 50px;
		max-width: 340px;
		width: 100%;
	}

	.footer-media__item {
		width: 100%;

		~ li {
			margin-top: 10px;
		}
	}

	.top-bar {
		.top-bar-right {
			height: 100%;
			min-height: calc(100vh - 70px);
			max-width: 100%;
			overflow: auto;
			padding-bottom: 30px;
			width: 100%;

			.skip-link {
				margin: 0 auto;
				max-width: 300px;
				min-width: auto;
			}
		}
	}

}

@media only screen and (max-width: 480px) {
	.protection .section__bg {
    height: 440px;
	}

	.protection--cyber {
		.section__bg {
			@include img-url('bg/mainpage/rwd/cyber-protection.jpg');
			background-position: 50% 0;
			// background-size: auto;
			background-size: 100%;
		}
	}

	.protection--legal {
		.section__bg {
			@include img-url('bg/mainpage/rwd/legal-protection.jpg');
			background-position: 50% 0;
			// background-size: auto;
			background-size: 100%;
		}
	}

	.top-bar {
		.top-bar-right {
			height: calc(100vh - 70px);
			max-width: 100%;

			.skip-link {
				max-width: 100%;
			}
		}
	}

	.menu__footer {
		// position: absolute;
		bottom: 0;
		width: calc(100% - 40px);
	}

	.address {
		.h4 {
			margin: -25px 0 0;
		}
	}

	.contact-address-container__image {
		text-align: right;

		img {
			margin: 0 25px -100px 0;
			max-width: 80px;
		}
	}

	.bg--navy-top-left {
		background-position: 0 -110px;
	}

	.intro {
		.section__bg {
			@include img-url('bg/mainpage/rwd/intro.jpg');
		}
	}

	.list-stats__item {
		padding: 0 7px 20px;
	}

	.list-stats__nr {
		font-size: rem-calc(20);
		height: 80px;
		line-height: 80px;
		width: 80px;

		span {
			font-size: rem-calc(26);
		}
	}

	.list-accordion--decimal {
		.list-accordion__link {
			padding: 10px 30px;
		}
	}

	.list-accordion__link {
		line-height: 140%;
		padding: 10px 30px 10px 10px;
	}

	.list-accordion--decimal {
		> li {
			&::before {
    		left: 0;
			}
		}

		.list-accordion__link {
			i.ic-more {
				right: 20px;
			}
		}

		.list-accordion__desc {
    	padding: 0 0 10px;
		}
	}

	.list-package {
		padding: 0;
	}

}


@media only screen and (max-width: 380px) {
	.contact-address-container {
		.cell {
			width: calc(100% - 20px);
		}
	}

	.address {
		.h4 {
			padding: 5px 0 20px
		}
	}

	.intro {
		.section__bg {
			background-position: 50% 0;
		}
	}
}






























