 html {

/*-------- ЦВЕТА ----------*/

	--main-color-white: white;
	--main-color-red: red;
	--main-color-red-hover: red;
	--main-color-orange: orange;
	--main-color-orange-hover: orange;
	--main-color-yellow: yellow;
	--main-color-yellow-hover: yellow;
	--main-color-green: #508885;
	--main-color-green-hover: #497977;
	--main-color-lightblue: aqua;
	--main-color-lightblue-hover: aqua;
	--main-color-blue: #0bafdb;
	--main-color-blue-hover: #0890b4;
	--main-color-purple: purple;
	--main-color-purple-hover: purple;
	--main-color-light: lightgray;
	--main-color-light-hover: lightgray;
	--main-color-dark: black;
	--main-color-dark-hover: black; 
	--main-color-gray: gray;
	--main-color-gray-hover: lightgray;
	--main-color-muted: gray;

/*-------- РАЗМЕРЫ ШРИФТОВ ----------*/

	--main-size-h1: 2.5rem;
	--main-size-h2: 2.5rem;
	--main-size-h3: 1.5rem;
	--main-size-h4: 1rem;
	--main-size-h5: 1rem;
	--main-size-h6: 1rem;
	--main-size-display-1: 6rem;
	--main-size-display-2: 5rem;
	--main-size-display-3: 2.5rem;
	--main-size-display-4: 2rem;
	--main-size-small: 0.8rem;

/*-------- КНОПКИ ----------*/

	--main-size-btn-font: 1rem;
	--main-size-btn-radius: 25px;

/*-------- ЦВЕТ ФУТЕРА И ШАПКИ ----------*/

	--main-color-header: url("/img/img_header.png") center bottom no-repeat;
	--main-color-footer: #eaeaea;

/*-------- ПАГИНАЦИЯ ----------*/

	--main-color-nav-border: blue;
	--main-color-nav-border-disable: gray;

	--main-color-nav-text: black;
	--main-color-nav-text-hover: white;
	--main-color-nav-text-disable: white;

	--main-color-nav-bg: white;
	--main-color-nav-bg-hover: blue;
	--main-color-nav-bg-disable: lightgray;

}

/*------------------------CSS------------------------------*/

a {text-decoration: none; outline: none;}
a:hover {text-decoration: none; outline: none;}

body, html {
	width: 100%;
	min-width: 320px;
}

div.counter {
	width: 100%;
	margin: 0 0 40px;
	font: bold 12px/24px Verdana;
	text-align: left;
	clear: both;
}

.free_block img {
	width: 100%;
}
.description {
  	min-height: 165px;
}
div.counter a,
div.counter span {
	display:inline-block;
	width: 26px;
	height: 26px;
	text-align: center;
	color: #000 !important;
	text-decoration: none !important;
	vertical-align: middle;
}

div.counter a:first-child,
div.counter span:first-child,
div.counter a:last-child,
div.counter span:last-child {
	width: 37px;
	height: 30px;
}

div.counter a:first-child {
	background: url('/img/c_left_a.png') center center no-repeat;
	
}

div.counter span:first-child {
	background: url('/img/c_left.png') center center no-repeat;
	
}

div.counter a:last-child {
	background: url('/img/c_right_a.png') center center no-repeat;
	
}

div.counter span:last-child {
	background: url('/img/c_right.png') center center no-repeat;
	
}

div.counter .p {
	font-weight: 900;
	background-color: #0bafdb;
	border-radius: 13px;
	color: white !important;
}

.header_info_page > div {
	display: flex;
	align-items: center;
	justify-content: center;
}

.header {
	min-height: 589px;
	background: var(--main-color-header);
}

.header_info_page a {
	color: white!important;
}

.breadcrumb-item > a {
	color: #919191;
}

.breadcrumb-item.active {
	color: #0bafdb;
}

.header_page {
	min-height: 289px;
	background: url('/img/img_header_page.png');
}

.header, .header_page {
	background-size: cover;
	-webkit-box-shadow: 0px 0px 30px 6px rgba(0,0,0,0.35);
	-moz-box-shadow: 0px 0px 30px 6px rgba(0,0,0,0.35);
	box-shadow: 0px 0px 30px 6px rgba(0,0,0,0.35);
}

h1, h2, h3, h4, h5 {
	color: #0bafdb;
}

.form input::placeholder, .form textarea::placeholder {
	color: #0bafdb;
}
.form input, .form textarea {
	border-color: #0bafdb;
}

.container_color_header, .container_color_footer {
	width: 100%;
	min-width: 320px;
	padding: 0;
}

.last_preim li {
	width: 200px;
}

.last_preim_img {
	position: relative;
	border-bottom: 2px solid #d7d7d7;
	height: 100px;
}

.last_preim_circle {
	border-radius: 50%;
	background-color: #d7d7d7;
	position: absolute;
	bottom: -7px;
	left: 0;
	right: 0;
	margin: auto;
	width: 12px;
	height: 12px;
}

.container_color_footer {
	background-color: var(--main-color-footer);
}

.container {
	max-width: 1240px;
	padding: 0;
	margin: auto;
}

.galaxy_text a {
	text-decoration: underline;
}
.galaxy_text {
	line-height: 16px;
}

/*--------------------АРТИКЛ-------------------------*/

.img_wrapper, .img_wrapper_banners {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position:relative;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	overflow: hidden;
}

.btn_header {
	position: relative;
	top: 14px;
}

.img_wrapper_banners {
	width: 300px;
	height: 200px
}

.img_wrapper {
	width: 213px;
	height: 213px;
}

.photos {
	width: 215px;
}

.article {
	padding-top: 1rem;
}

article h1 {
	padding-bottom: 10px;
}

body img {
	position: relative;
}

body img:after {
	content: "2612" attr(alt);
	display: block;
	font-size: 13px;
	font-style: normal;
	color: rgb(100, 100, 100);
	position: absolute;
	top: 0;
	width: 100%;
	min-width: 20px;
	padding: 0 2px; 
	height: 20px;
	text-align: center;	
}
body img:before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  min-width: 20px;
  height: 20px;
  background-color: rgb(230, 230, 230);
  border: 2px dotted rgb(200, 200, 200);
}

.gorizontal {
	/*width: 100%;*/
  width: 80%;
    height: 80%;
}
.vertical {
	/*height: 100%;*/
  height: 80%;
    width: 65%;
}

.mod_img_big {
	float: left;
}

.btn_pols {
	float: right;
}

.albums li {
	width: 215px;
	margin: 5px 0;
}

.card-body {
	padding: 20px 5px;
}

.review_form_cont label {
	display: block;
}

.header_info a {
	color: white;
}

footer a {
	color: black;
}

/*--------------------ПРЕЛОДЕР-------------------------*/

#page-preloader {
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: lightgray;
    z-index: 100500;
}

#page-preloader .spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid blue;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
            animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.search {
	position: absolute;
	top: 40px;
	left: 31px;
	width: calc(25% - 23px);
	padding: 0;
	font: 14px MontserratRegular;
	color: #919191;
	border: 1px solid #0287aa;
	border-radius: 5px;
	overflow: hidden;
}
.srch_f {
	display: block;
	width: 100%;
	padding: 17.5px 45px 17.5px 0.75rem;
	border: none;
}
.srch_b {
	display: block;
	position: absolute;
	top: 1px;
	bottom: 1px;
	right: 1px;
	width: 40px;
	background: url('/img/srch.png') center center no-repeat;
	border: 0;
	cursor: pointer;
}

.srch_list {
	list-style-position: inside;
}

.srch_list a {
	color: #000;
}

.srch_list a:hover {
	color: #007bff;
}

/*-------------------МЕДИА--------------------------*/

@media (max-width: 715px) {
	.header_info > div:last-child {
		text-align: left!important;
	}

	.dropdown-menu a {
		color: white!important;
	}
	.dropdown-menu {
		position: static;
		background-color: transparent;
	}

	.top_menu .nav-item.dropdown {
		align-items: flex-start;
    	flex-direction: column;
	}
	.search {
		position: relative;
		top: 0;
		left: 0;
		width: 100% !important;
		margin-top: 3rem;
	}
	.article {
		margin-top: 0  !important;
		padding-top: 0  !important;
	}
}
@media (max-width: 588px) {
	.logo img {
		width: 100%;
	}

	h1, h2 {
		font-size: 2rem;
	}
	article img {
		width: 100%;
	}
	.container_color_header .container {
		padding: 0!important;
	}

	.form .form-group {
		width: 100%!important;
	}

	.header {
		min-height: 670px;
	}
  .header_page {
    min-height: 465px;
  }
}

@media (max-width: 415px) {
	.mod_img_big {
		width: 90%;
	}
	.modal .modal-dialog {
		margin-top: 20px!important;
	}
}

@media (max-width: 716px) {
  	.breadcrumb > li {
		margin: 5px 0;
      	text-align:center;
      	width: 100%;
    }

}
@media (max-width: 850px) {
  	.search {
		width: calc(100% - 48px);
	}
	
	.article {
		margin-top: 3rem;
		padding-top: 3rem;
	}

}