/*   
Theme Name: moscow_discovery
Version: 1.0
Tags: clean, development, html5
Description: excursions site template
Author: uvarov
Author URI: well.ru
*/

/*__start reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	/*font-size: 100%;
	font: inherit;*/
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/*__end reset*/

/*variables*/
:root {
	--color: rgba(196, 33, 40, 1);
	--color-3: rgba(196, 33, 40, 0.05);
	--color-3-: #fcf4f4;
	--color-6: rgba(196, 33, 40, 0.2);
	--color-lighter: rgb(220, 42, 50);
	--color-darker: rgb(179, 17, 24);
	--color-dark: rgba(120, 0, 6, 1);
	--color-black: #2b2b2b;
}

/*text*/
body {
	font: 1rem 'Roboto Slab', serif;
	color: var(--color-black);
}
button.link {
	background:none;
	color:inherit;
	border:none; 
	padding:0;
	font: inherit;
	border: none; 
	cursor: pointer;
}
a, a:link, a:-webkit-any-link, button.link {
	cursor: pointer;
	padding-bottom: 0.05rem;
	text-decoration: none;
	color: var(--color);
	border-bottom: 1px solid var(--color-6);
}
a:hover, button.link:hover {
	color: var(--color-black);
	border-bottom: 1px solid #000;
	transition: all ease-out 0.3s;
}
a:visited {
	opacity: 0.1;
}
h1, .h1 {
	margin: 1.2rem auto 1rem;
	font: 700 2rem 'Roboto Slab', serif;
	line-height: 1;
}
h2, .h2 {
	margin: 1rem auto 0.8rem;
	font: 700 1.6rem 'PT Sans', serif;
	color: var(--color-black);
}
h3, .h3 {
	margin: 1rem 0 0.6rem;
	font: 700 1.2rem 'Roboto Slab', serif;
	color: var(--color-dark);
}
p {
	margin: 1rem auto;
	color: var(--color-black);
/*	font: 400 1rem 'PT Sans', sans-serif;*/
}
p br {
	line-height: 2.6rem;
}
h2 i {
	color: var(--color-6);
	display: flex;
	order: 2;
}

/*header*/
/*header.page__header {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0 1rem;
	position: relative;
	z-index: 1;
}*/
.page__header {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	padding: 0 1rem;
	position: fixed;
	width: 100%;
	background: #fff;
	transform: translateY(0);
	transition: 0.5s;
	z-index: 1;
}
.page__header_hide {
	transform: translateY(-95%);
}

a.logo__wrapper {
	display: inline-flex;
	flex: 1;
	align-items: center;
	color: var(--color);
	border: none;
}
.logo__image, .logo__image-inverted {
	width: 64px;
	height: 64px;
	background: url('images/logo.png') center center no-repeat;
	margin-right: 1rem;
	background-size: cover;
}
.logo__image-inverted {
	background: url('images/logo.png') center center no-repeat;
}
.contacts__phone-header {
	font: 700 1.3rem 'Roboto Slab';
	white-space: nowrap;
}

.menu-top-container, .menu-top-en-container {
	display: flex;
	flex: 2;
	justify-content: center;
	padding: 1rem;
}
.menu-top-container ul, .menu-top-en-container ul {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}
.menu-top-container ul li, .menu-top-en-container ul li {
	padding: 0.5rem 0;
}
.menu-top-container ul li a, .menu-top-en-container ul li a {
	margin: 0 1rem;
}
/*.menu-top-container .current-menu-item, .menu-top-en-container .current-menu-item {
	background-color: var(--color-black);
	border-radius: 2px;
}
.menu-top-container .current-menu-item a, .menu-top-en-container .current-menu-item a {
	color: #fff;
	border: none;
}*/

/*grids*/
.grid-5-2 {
  margin: 0 auto;
  max-width: 1280px;
  display: grid;
  grid-template-columns: 5fr 2fr;
  grid-gap: 2rem;
}
.container--flex {
  width: 100%;
  margin: auto;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
}

/*main*/
main {
	display: flex;
	justify-content: space-between;
	padding: 50px 0 0 0;
}
main ul {
	list-style-type: none;
	padding-left: 2rem;
	position: relative;
}
main ul li:before {
	content: '';
	display: inline-block;
	position: absolute;
	margin-top: 0.4rem;
	left: 0;
	height: 0.7rem;
	width: 0.7rem;
	border-radius: 4px;
	border: 3px solid var(--color-3);
	background-color: var(--color-6);
}
main li {
	margin: 0.6rem auto;
	color: var(--color-dark);
}
.main__content {
	width: 100%;
	display: flex;
	flex-flow: column;
}
.main__header {
	padding: 0 1rem;
	grid-column: 1/4;
}
.lead {
	font: 700 3rem 'Roboto Slab', serif;
}

/*footer*/
footer {
	background-color: var(--color);
}
footer a:link, footer a:-webkit-any-link {
	color: #fff;
	border-color: rgba(255,255,255,0.5);
}
.footer__container {
	display: flex;
	flex-flow: row wrap;
	max-width: 1280px;
	margin: auto;
	padding: 1rem;
}
.footer__column {
	display: flex;
	flex-flow: column;
	flex: 1;
	padding: 1rem;
}
.footer__column:nth-child(2) {
	flex: 2;
}
.bottom-menu li {
	margin: 0.5rem 0;
}
.contacts__address-footer {
	padding: 1rem 0;
	color: #fff;
}
.contacts__line-footer {
	display: grid;
	flex: 1;
	grid-template-columns: 3rem 1fr;
	margin: 1rem 0;
}
.contacts__title-footer {
	justify-content: center;
	align-items: center;
	display: flex;
}
.contacts__value-footer {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	align-content: center;
	justify-content: flex-start;
	font-size: 1rem;
}
.contacts__phone-footer {
	font: 700 1.4rem 'Roboto Slab';
	white-space: nowrap;
}
.contacts__phone-footer:first-child {
	margin-right: 1rem;
}

/*article*/
.tour__header {
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 30rem;
	position: relative;
	padding: 2rem;
	z-index: 0;
	animation: drop-down 0.3s ease-out, fade-in 0.3s ease-out;
	-webkit-animation: drop-down 0.3s ease-out, fade-in 0.3s ease-out;
}
.tour__price {
	display: flex;
	flex-flow: column;
	font: 400 1.3rem 'pt sans', sans-serif;
	color: #fff;
}
.price__old {
	padding: 0.1rem 0.5rem;
	color: #2b2b2b;
	text-decoration: line-through;
	background: rgba(255,255,255, 0.6);
}
.tourlist__item .price__old {
	padding-left: 0;
	margin-right: 0.5rem;
}
.price__actual {
	padding: 0.1rem 0.5rem;
	font: 700 2.4rem 'pt sans', sans-serif;
	color: var(--color);
	background: #fff;
}
.price__sub {
	padding: 0.1rem 0.5rem;
	text-align: right;
	line-height: 1;
	background-color: rgba(255,255,255, 0.6);
	color: #2b2b2b;
}
.tour__title {
	margin: 0.5rem 15% 0;
	text-align: center;
	color: #fff;
	text-shadow: 0 2px 1px rgba(0,0,0,0.2), 0 0 16px rgba(0,0,0,1)
}
.tour__header .tour__button {
	animation: 0.7s pulse 0.3s ease-out;
	-webkit-animation: 0.7s pulse 0.3s ease-out;
}
.tour__button, a.tour__button {
	padding: 0.5rem 1rem;
	font: 700 1.4rem 'PT Sans', sans-serif;
	color: #fff;
	background-color: var(--color);
	border-radius: 4px;
	border: 0.05rem solid var(--color-dark);
	border-bottom-width: 0.2rem;
	cursor: pointer;
}
.tour__button:hover, a.tour__button:hover {
	background-color: var(--color-lighter);
	border-color: var(--color-darker);
	transition: all ease-out .3s;
}
.tour__container {
	display: grid;
	grid-template-columns: 1fr 350px;
	grid-gap: 30px;
	max-width: 1280px;
	margin: 0 auto;
}
.tour__content {
	display: flex;
	flex-direction: column;
	padding: 0 2rem 2rem;
}
@media(max-width:575px){
	.tour__content {
		padding: 0 1rem 2rem;
	}
}
.tour__subhead p {
	background-color: var(--color-3);
	margin: 0 auto 2rem;
	padding: 2rem;
	font: 700 1.3rem 'Roboto Slab', serif;
	color: var(--color-dark);
	border-radius: 0.5rem;
	border: 1px solid var(--color-3);
	animation: fade-in-top 0.7s ease-out;
	-webkit-animation: fade-in-top 0.7s ease-out;
}
.main-photo__wrapper {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.main-photo__wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tour__icons {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-around;
	width: 100%;
	margin-bottom: 2rem;
	max-width: 1280px;
	animation: 0.7s fade-in ease-out;
	-webkit-animation: 0.7s fade-in ease-out;
}
.icon__container {
	display: flex;
	flex-flow: column;
	align-items: center;
	flex: 1;
}
.icon__fa {
	padding: 1rem;
	color: var(--color);
}
.icon__caption {
	font: 700 1.2rem 'Roboto Slab', serif;
	color: var(--color-black);
	text-align: center;
	padding: 0 1rem;
	/*max-height: 150px;*/
	overflow: hidden;
}
.icon__paragraph {
	margin-top: 0;
	padding: 0 1rem;
	text-align: center;
}
.tour__best {
	margin-bottom: 2rem;
}
.description__image {
	display: flex;
	justify-content: center;
	margin: 2rem -1rem;
	position: relative;
	overflow: hidden;
	border-radius: 0.5rem; 
}
.description__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/*.image__caption {
	position: absolute;
	bottom: 2rem;
	padding: 0.2rem 0.5rem;
	font: 400 1.2rem 'Roboto Slab', serif;
	color: #fff;
	background-color: var(--color-6);
	border-radius: 2px;
}*/
.image__caption {
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	margin: 0;
	margin-left: 1rem;
	font: 700 2.5rem 'PT Sans', serif;
	line-height: 1;
	color: #fff;
	border-radius: 2px;
	text-shadow: 0 0 1rem var(--color-black);
}
.description__paragraph {
	margin-bottom: 3rem;
	line-height: 1.6rem;
}
.description__paragraph:last-child {
	margin-bottom: 0;
}
.tour__hotel {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-gap: 0 2rem;
	font: 400 1rem 'Roboto Slab', sans-serif;
}
@media(max-width:575px){
	.tour__hotel {
		grid-template-columns: 1fr;
	}
}
.tour__footnote {
  display: flex;
  flex-flow: column;
  margin-top: 2rem;
}

/*form*/
/*aside {
	display: flex;
	flex-flow: column;
	justify-content: center;
	padding: 0 1rem;
}*/
.tour__aside {
	/*margin: 0 1rem 1rem;*/
	animation: fade-in-right 0.7s ease-out;
	-webkit-animation: fade-in-right 0.7s ease-out;
}
.form__wrapper {
	max-width: 575px;
	padding: 0.5rem 2rem;
	background-color: var(--color-3);
	align-self: flex-start;
	/*margin-top: 3rem;*/
	margin: 0 auto 1rem;
	border-radius: 0.5rem;
	border: 1px solid var(--color-3);
	border-top: 0.47rem solid var(--color);
}
.form__wrapper p {
	font-size: 0.9rem;
}
.form__wrapper p {
	margin: 1.5rem 0 0;
}
.form__line {
	display: grid;
	grid-template-columns: 3rem 1fr;
}
.form__line i {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: var(--color-6);
	background: var(--color-3);
	border-radius: 2px 0 0 2px;
	border: 1px solid var(--color-3);
	border-right: none;
}
.form__label, .form__input, .form__submit {
	display: flex;
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
}
.form__label {
	padding-left: calc(3rem + 8px);
	padding-top: 0;
	color: var(--color-dark);
}
.form__input {
	border-radius: 0 2px 2px 0;
	border: 1px solid var(--color-6);
	border-left: 0;
	font: 1rem 'PT Sans', sans-serif;
}
.form__submit {
	margin-top: 1rem;	
	padding: 0.5rem 1rem;
	font: 700 1.4rem 'PT Sans', sans-serif;
	color: #fff;
	background-color: var(--color);
	border-radius: 4px;
	border: 0.05rem solid var(--color-dark);
	border-bottom-width: 0.2rem;
	cursor: pointer;
	justify-content: center;
}
.form__submit:hover {
	background-color: var(--color-lighter);
	border-color: var(--color-darker);
	transition: all ease-out .3s;
}

/*filter*/
.filter__tabs {
	display: flex;
	justify-content: center;
	flex-flow: row wrap;
}
.filter__tabs .active,
.filter__tabs .active:hover {
	color: #fff;
	background-color: var(--color-black);
	border-color: var(--color-black);
	cursor: unset;
}
.filter__tabs button {
	border-radius: 0;
	border-left-width: 0;
}
.filter__tabs button:last-child {
	border-right-width: 1px;
	border-radius: 0 4px 4px 0;
}
.filter__tabs button:first-child {
	border-left-width: 1px;
	border-radius: 4px 0 0 4px;
}
@media (max-width: 575px) {
	.filter__tabs button {
		margin: 5px;
		border-width: 1px;
		border-radius: 4px !important;
	}
}

/*tourlist*/
.tourlist__container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 3rem;
	max-width: 1280px;
	margin: 1rem auto;
	padding: 1rem 2rem;
}
@media (max-width: 991px) {
	.tourlist__container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575px) {
	.tourlist__container {
		grid-template-columns: 1fr;
	}
}
.tourlist__item {
	position: relative;
}
.item__durability {
	padding: 0.2rem 0.6rem 0.3rem;
	position: absolute;
	font: 700 1.2rem 'PT Sans', sans-serif;
	color: #fff;
	background-color: var(--color-black);
	border-radius: 2px;
	top: 1rem;
	left: 0.5rem;
}
.item__durability i {
	color: var(--color-lighter);
}
.item__photo {
	width: 100%;
	height: 15rem;
	overflow: hidden;
	border-radius: 0.2rem;
}
.item__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.item__price {
	display: flex;
	flex-flow: row;
	align-items: center;
	font: 400 1.3rem 'pt sans', sans-serif;
}

/*reviewslist*/
.reviewslist__container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 3rem;
	max-width: 1280px;
	margin: 1rem auto;
	padding: 1rem 2rem;
}
@media (max-width: 991px) {
	.reviewslist__container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575px) {
	.reviewslist__container {
		grid-template-columns: 1fr;
	}
}
.reviewslist__item {
	display: flex;
	flex-flow: column;
	align-items: center;
}

/*tourlist*/
.articles__section {
	width: 100%;
	padding: 2rem 0;
	background-color: var(--color-3);
}
.articles__container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 3rem;
	max-width: 1280px;
	margin: 1rem auto;
	padding: 1rem 2rem;
}
@media (max-width: 991px) {
	.articles__container {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 575px) {
	.articles__container {
		grid-template-columns: 1fr;
	}
}

/*contacts*/
.contacts__container {
	display: grid;
	grid-template-columns: 2.5fr 1fr;
	max-width: 1280px;
	margin:2rem auto;
}
@media (max-width: 767px) {
	.contacts__container {
		grid-template-columns: 1fr;
	}
}
.contacts__address {
	padding: 0 2rem;
}
.contacts__line {
	display: grid;
	grid-template-columns: 4rem 1fr;
	margin: 2rem 0;
}
.contacts__title {
	justify-content: center;
	align-items: center;
	display: flex;
}
.contacts__value {
	display: flex;
	flex-flow: column;
	align-items: flex-start;
	font-size: 1.4rem;
	justify-content: center;
}
.contacts__phone {
	font: 700 2rem 'Roboto Slab';
}


/*reviews*/
.reviews__section {
	width: 100%;
	display: flex;
	flex-flow: column;
	align-items: center;
	background-color: var(--color-black);
}
.reviews__container {
	display: grid;
	grid-template-columns: 5rem 1fr 5rem;
	grid-gap: 1rem;
	max-width: 1280px;
	padding: 2rem 1rem;
	margin: auto;
}
@media (max-width: 575px) {
	.reviews__container {
		grid-template-columns: 1fr;
	}
}
.reviews__title {
	grid-column: 1/4;
	color: #fff;
}
.reviews__wrapper {
	display: flex;
	flex-flow: row;
	overflow: hidden;
}
.reviews__item {
	display: flex;
	flex-flow: row wrap;
	min-width: 100%;
	padding: 1rem;
	border-radius: 0.2rem;
	background-color: #fff;
}
.reviews__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.reviews__nav i{
	color: #fff;
	font-size: 1.4rem;
}
.reviews__photo {
	display:  flex;
	width: 8rem;
	height: 8rem;
	margin-bottom: 0.5rem;
	border-radius: 50rem;
	overflow: hidden;
}
.reviews__photo img {
	object-fit: cover;
	width: 100%;
}

.reviews__rate {
	color: var(--color-6);
}
.reviews__rate .rated {
	color: var(--color);
}
.reviews__column-left {
	display:  flex;
	padding: 2rem;
	flex-flow:  column;
	flex: 1;
	align-items: center;
	justify-content: flex-start;
}
.reviews__column-right {
	flex: 4;
	padding: 1rem 2rem;
	text-align: left;
}


.preferences__container {
	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 2rem;
}

/*attractions ul*/
.tour__attractions {
	align-self: center;
}
.tour__attractions ul {
	padding-left: 1rem;
	margin: 2rem 0;
}
.tour__attractions ul li:before {
	height: 2rem;
	width: 2rem;
	margin-top: 0;
	left: 0.2rem;
	border-radius: 5rem;
	border: 0.45rem solid var(--color-darker);
	background-color: var(--color-lighter);
}
.tour__attractions li {
	margin: 0;
	padding: 0 0 2rem 2rem;
	font: 700 1.2rem 'Roboto Slab', serif;
	color: var(--color-dark);
	border-left: 0.45rem solid var(--color-darker);
}
.tour__attractions li:last-child {
	border-color: transparent;
}

/*days*/
.day__container {
	display: flex;
	flex-flow: row wrap;
	margin-bottom: 2rem;
}
.day__image {
	display: flex;
	flex: 1;
	min-width: 280px;
	overflow: hidden;
	border-radius: 0.5rem;
}
.day__image img{
	object-fit: cover;
	width: 100%;
	height: 100%;

}
.day__description {
	display: flex;
	flex: 1;
	flex-flow: column;
	min-width: 280px;
	padding: 2rem;
}
@media(max-width:575px){
	.day__description {
		padding: 1rem;
	}
}
/*table*/
.table__container {
	display: table;
}
.table__row .table__header{
	background: var(--color-3);
}
.table__row{
	display: table-row;
}
.table__header{
	display: table-cell;
	padding: 0.5rem;
	font: 400 0.9rem 'Roboto Slab', serif;
	color: var(--color-dark);
	width:calc(100% / 6);
	text-align: left;
	border-bottom: 1px solid var(--color-6);
}
.table__cell{
	display: table-cell;
	padding: 0.5rem;
	font: 700 1.1rem 'PT Sans', serif;
	vertical-align: middle;
	border-bottom: 1px solid var(--color-6);
}
/*@media (max-width: 575px) {
	.table__container {
		display: flex;
		width: calc(100vw - 4rem);
		overflow-x: scroll;
	}
	.table__row{
		display: flex;
		flex-flow: column;
		min-width: 8rem;
		border: none;
		flex: 1;
		overflow: hidden;
	} 
	.table__header, .table__cell{
		display: flex;
		width: 100%;
		flex: 1;
	}
}*/
@media (max-width: 575px) {
	.table__row {
		display: flex;
		flex-flow: column;
		min-width: 8rem;
		border: none;
		flex: 1;
		overflow: hidden;
	} 
	.table__header, .table__cell {
		display: flex;
		width: 100%;
		flex: 1;,
	}
	.table__price:before {
		content: var(--room-1);
		padding-right: 1rem;
		color: var(--color-dark);
		font: 400 1rem 'PT Sans';
	}
	.table__price:nth-of-type(2):before {
		content: var(--room-2);
	}
	.table__price:nth-of-type(3):before {
		content: var(--room-3);
	}
	.table__price:nth-of-type(4):before {
		content: var(--room-4);
	}
	.table__price:nth-of-type(5):before {
		content: var(--room-5);
	}
}

/*progress-bar*/
#progress__container {
	position: fixed;
	top: 0;
	width: 100%;
	overflow: hidden;
	z-index: 2;
}
#progress__bar {
	width: 1%;
	height: 4px;
	background-color: var(--color);
	opacity: 1;
}

/*gallery*/
.gallery__container {
	
}
.gallery__head {
	position: relative;
}
.gallery__screen {
	width: 100%;
	height: 450px;
	overflow: hidden;
	border-radius: 0.5rem;
}
@media (max-width: 575px) {
	.gallery__screen {
		height: 300px;
	}
}
.gallery__screen img,
.slides__previews img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	animation: fade-in 0.3s ease-out;
	-webkit-animation: fade-in 0.3s ease-out;
}
.gallery__nav {
	position: absolute;
	height: 100%;
	width: 50%;
	padding: 2rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	z-index: 1;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	text-shadow: 0 2px 1px rgba(0,0,0,0.2), 0 0 16px rgba(0,0,0,0.5);
	transition: ease-out 0.1s;
}
.gallery__nav:hover {
	font-size: 3rem;
	color: var(--color-lighter);
	text-shadow: none;
	transition: ease-out 0.1s;
}
.gallery__nav:nth-child(1) {
	left: 0;
}
.gallery__nav:nth-child(2) {
	right: 0;
	justify-content: flex-end;
}
.slides__previews {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-gap: 0.5rem;
	padding: 0.5rem 0 0;
}
.slides__dot {
	opacity: 0.6;
	cursor: pointer;
}
.slides__dot:hover {
	opacity: 1;
	border-bottom: 0.5rem solid var(--color-black);
	transition: opacity ease-out 0.3s;
}
.dot--active {
	opacity: 1;
	border-bottom: 0.5rem solid var(--color) !important;
	cursor: unset;
}
.slides__previews img {
	height: 4.5rem;
	border-radius: 0.5rem;
}
@media (max-width: 575px) {
	.slides__previews {
		grid-template-columns: repeat(5, 1fr);
	}
	.slides__previews img {
		height: 3rem;
	}
}

/*sticky tour__nav*/
.tour__nav {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 0.5rem 0;
	z-index: 2;
}
.tour__nav ul {
	display: flex;
	padding: 0;
	align-items: center;
	overflow: hidden;
}
.tour__nav ul li {
	display: flex;
	padding: 0.5rem 0;
}
.tour__nav ul li:before {
	content: none;
}
.tour__nav .go-to-form {
	display:none;
}
.menu-top-container ul li {
	padding: 0.5rem 0;
}
.menu-top-container ul li a {
	margin: 0 1rem;
}
.tour__nav ul li.active {
	background-color: var(--color-black);
	border-radius: 2px;
}
.tour__nav ul li.active a{
	color: #fff;
	border: none;
}
.tour__nav ul li a {
	margin: 0 1rem;
	white-space: nowrap;
}
.tour__nav .logo__image {
	display: none;
}
.tour__nav-compensator {
	display: none;
	height: 80px;
	width: 100%;
}
.tour__nav.sticky {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0.5rem 1rem;
	justify-content: space-between;
	border-bottom: solid 2px var(--color-6);
	animation: drop-out 0.3s ease-out;
	-webkit-animation: drop-out 0.3s ease-out;
}
.tour__nav.sticky .go-to-form {
	display: flex;
}
.tour__nav.sticky .logo__image {
	display: flex;
}
.tour__nav.sticky + .tour__nav-compensator {
	display: block;
}
@media (max-width: 575px) {
	.tour__nav {
		display: none;
	}
	.tour__nav.sticky + .tour__nav-compensator {
		display: none;
	}
}

/*helpfull*/
.nomargin {
	margin: 0;
}
.centered {
	display: flex;
	margin: 0 auto;
	justify-content: center;
}
.text-centered {
	text-align: center;
}
.text-secondary {
	margin: 0.5rem 0;
	font-size: 0.9rem;
}
.text-secondary i{
	padding: 0.2rem;
	margin-right: 0.5rem;
}
.button-secondary,
a.button-secondary {
	display: inline-flex;
	padding: 0.4rem 0.8rem;
	background-color: var(--color-3);
	border: 1px solid var(--color-6);
	border-radius: 4px;
	font: 700 1rem 'PT Sans', sans-serif;
	color: var(--color-darker);
	cursor: pointer;
}
.button-secondary:hover {
	background-color: var(--color-6);
	color: var(--color);
	transition: all ease-out .3s;
}
.button-medium,
a.button-medium {
	padding: 0.5rem 1rem;
	font: 700 1.4rem 'PT Sans', sans-serif;
}
.button-small {
	padding: 0.4rem 0.8rem;
	font: 700 1rem 'PT Sans', sans-serif;
}
.flex-centered {
	display: flex;
	flex-flow: column;
	align-items: center;
}
.flex-centered-row {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
}
.text-nowrap {
	white-space: nowrap;
}
.row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -1rem;
	margin-left: -1rem;
}
.col {
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
	padding-right: 1rem;
	padding-left: 1rem;
}
.block-colored {
	padding: 0.5rem 2rem;
	border-radius: 0.5rem;
	background-color: var(--color-3);
	border: 1px solid var(--color-3);
}
.block-colored h2 {
	margin: -0.5rem -2rem 1rem;
	padding: 1rem 2rem;
	background-color: var(--color-3);
}
.padded {
	margin: 1rem;
}
.padded-half {
	margin: 0.5rem;
}
.padded-top {
	margin-top: 2rem;
}
.padded-top-half {
	margin-top: 1rem;
}
.padded-bottom {
	margin-bottom: 2rem;
}
.padded-bottom-half {
	margin-bottom: 1rem;
}
.padded-right {
	margin-right: 2rem;
}
.padded-right-half {
	margin-right: 1rem;
}
.padded-vertical {
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.padded-horizontal {
	margin-right: 2rem;
	margin-left: 2rem;
}
.padded-vertical-half {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
.padded-horizontal-half {
	margin-right: 1rem;
	margin-left: 1rem;
}
@keyframes fade-in {
 	from { opacity: 0; }
 	to { opacity: 1; }
}
@keyframes drop-out {
 	from { top: -100px; }
 	to { top: 0; }
}
@keyframes drop-down {
	from {
	  opacity: 0;
	  -webkit-transform: translate3d(0, -100%, 0);
	  transform: translate3d(0, -100%, 0);
	}
	to {
	  opacity: 1;
	  -webkit-transform: translate3d(0, 0, 0);
	  transform: translate3d(0, 0, 0);
	}
}
@keyframes fade-in-right {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fade-in-top {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes pulse {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    -webkit-transform: scale3d(0.6, 0.6, 0.6);
    transform: scale3d(0.6, 0.6, 0.6);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

/*adaptive-resize*/
@media (max-width: 575px) {
	.ms-hidden {
		position: absolute;
		clip-path: polygon(0px 0px,0px 0px,0px 0px,0px 0px);
	}
	.description__image {
		border-radius: 0;
		height: 400px;
	}
}
@media (max-width: 991px) {
	.tour__container {
		grid-template-columns: 1fr;
	}
	.grid-5-2 {
		grid-template-columns: 1fr;
	}
	html {
		font-size: 90%;
	}
	.tour__button.centered {
		display: none;
	}
	.form__wrapper {
		display: flex;
		align-self: center;
	}
	.lead {
		font-size: 2.4rem;
	}
}
@media (max-width: 1700px) {
	header .contacts__line-footer {
		grid-template-columns: 3rem min-content;
		justify-content: flex-end;
	}
}

/*hacks*/
.twitter-video {
	max-width: unset !important;
	margin: 10px -8px !important;
}