body {
	padding: 10px 0px;
	align-items: center;
	font-size: 10wv;
	display: block;
	font-family: 'Fira Sans Condensed', sans-serif;
	color: rgb(102, 102, 102);
	background: repeating-linear-gradient(0deg, rgb(197, 197, 197) 0%, rgba(255, 255, 255, 1) 6%, rgba(255, 255, 255, 1) 100%);
}
section{
	min-height: calc(90vh - 50px);
}
.main {
	height: 100%;
}

#history_img{
	width: 80%;
	margin-bottom: 30px;
}
.history{
	text-align: center;
}


.history p{
	text-indent: 1.5em;
	text-align: justify;
}
.col-md-3 {
	min-width: 300px;
	max-width: 500px;
}

/* заголовок */

header {
	height: 120px;
}

header img {
	height: 100px;
	width: auto;
}

/* подвал */

footer {
	margin-top: 30px;
	text-align: center;
}

/* Главная карточки */

.card {
	border-radius: 5px;
	box-shadow: 0 5px 12px rgba(0, 0, 0, .15);
	text-align: center;
	margin-bottom: 30px;
}


.card-img-top {
	height: 16rem;
	width: auto;
	object-fit: cover;
}

.btn {
	color: #F0F0F0;
	background-color: #bd0000;
	border-color: #a50202;
}

@media (max-width: 768px) {
	.card {
		margin: 15px 30px;
	}
	.col-md-3 {
		min-width: 300px;
		max-width: 760px;
	}
	.col-md-2 {
		text-align: center;
	}
	header {
		text-align: center;
	}
	.nav {
		max-width: 250px;
		min-width: 130px;
	}
}

/*слайды*/

#example5 .sp-thumbnail-image-container {
	width: 100px;
	height: 80px;
	overflow: hidden;
	float: left;
}

#example5 .sp-thumbnail-image {
	height: 100%;
}

#example5 .sp-thumbnail-text {
	width: 200px;
	float: right;
	padding: 6px;
	background-color: #F0F0F0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#example5 .sp-thumbnail-description {
	font-size: 14px;
	color: rgb(139, 139, 139);
}

@media (max-width: 500px) {
	#example5 .sp-thumbnail {
		text-align: justify;
	}
	#example5 .sp-thumbnail-image-container {
		display: none;
	}
	#example5 .sp-thumbnail-text {
		width: 120px;
	}
	#example5 .sp-thumbnail-description {
		display: none;
	}
}

/* меню */

.fancy-hover {
	cursor: pointer;
	padding: 5px;
	z-index: 2;
}

.fancy-hover:hover {
	background-color: rgba(231, 231, 231, 0.61);
}

.active {
	background-color: rgba(231, 231, 231, 0.61);
	color: #b90000;
}

.nav {
	box-shadow: 0 5px 12px rgba(0, 0, 0, .15);
	border-radius: 5px;
	text-align: center;
}

a {
	color: #979797
}

a:hover {
	color: #b90000;
	text-decoration: none;
}

a :active {
	color: #810505;
	text-decoration: none;
}