@charset "UTF-8";
@import "css/fonts/Roboto/stylesheet.css";
@import "css/fonts/MontserratAlternates/stylesheet.css";

/*
Theme Name: КСПсоюз
Theme URI: ksprem.by
Author: Mikol42 (Factory of projects)
Author URI: https://fpro.by/
Description: 
Version: 1.0.1
License: Commercial software
License URI:
Tags: ksprem
Text Domain: ksprem
*/

/**
 * Table of Contents
 *
 * 0.0 - Fonts import
 *   0.1 - Roboto
 *   0.2 - MontserratAlternates
 * 1.0 - General styles
 *   1.1 - Captions
 *   1.2 - Lists
 *   1.3 - Table
 *   1.4 - Images
 *   1.5 - Gallery
 *   1.6 - Button
 *   1.7 - Phone
 *   1.7 - Layout
 *   1.9 - Colorbox
 *   1.10 - Sharing block
 *   1.11 - Bx-Slider
 *   1.12 - Menu
 * 2.0 - Wrapper
 * 3.0 - Header
 *   3.1 - Header-top
 *   3.2 - Header-content
 *   3.3 - Header-bottom
 * 4.0 - Sidebar
 * 5.0 - Footer
 * 6.0 - Page content
 *   6.1 - 
 *   6.2 - 
 *   6.3 - 
 *   6.4 - 
 *   6.5 - 
 *   6.6 - 
 *   6.7 - 
 *   6.9 - 
 * 7.0 - Colorbox
**/


/**
 * 1.0 - General styles
**/

*,
*::after,
*::before {
	box-sizing: border-box;
    padding: 0;
    border: 0;
    outline: 0;
    margin: 0;
}

html,
body {
	width: 100%;
	min-width: 320px;
	color: #222;
	font: normal normal 400 18px/1.1 "Roboto";
	letter-spacing: 0.0em;
}

iframe {
	max-width: 100%;
}

input,
select,
textarea,
button {
	color: inherit;
	font: inherit;
}

p {
	margin: 1.25em 0;
}

blockquote {
	padding: 1px 1em;
	margin: 1em 0;
	background: #f0f0f0;
	font-style: italic;
}

hr {
	border-bottom: 1px solid;
}

b,
strong {
	font-weight: 700;
}

.none, 
.hide {
    display: none !important;
}

a {
	color: #00bdbf;
	text-decoration: none;
    transition: 0.5s;
}

a:hover {
	color: #00bdbf;
}
 
em {
	font-weight: 400;
}

/**
 * 1.1 - Captions
**/
 
h1,
h2,
h3,
h4,
h5,
h6,
.caption {
	display: block;
	position: relative;
	margin: 1.5em 0 0.5em;
	font-weight: bold;
	font-size: 28px;
	font-family: 'Montserrat Alternates';
} 

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
.caption:first-child {
	margin-top: 0;
}

h1, h6 {
	font-size: 48px;
}

h2,
.caption {
}

h3 {
	font-size: 22px;
}

h4 {
	font-size: 18px;
}

h5 {
	font-size: 16px;
}

h1 b,
h2 b,
h3 b,
h4 b,
h5 b,
h6 b,
.caption b {
	font-weight: inherit;
}

@media (max-width: 1024px) {
	h1, h6 {
		font-size: 24px;
	}

	h2,
	.caption {
		font-size: 22px;
	}
}

/**
 * 1.2 - Lists
**/ 

ol, 
ul {
    list-style-type: none;
    counter-reset: item;
	position: relative;
	margin: 1.25em 0;
}

ol > li, 
ul > li {
	position: relative;
	padding-left: 1.6em;
	margin: 0.5em 0;
	min-height: 1.2em;
}

ul > li::before,
ol > li::before {
	position: absolute;
	top: 0;
	left: 0;
	color: #222;
}	
	
ul > li::before {
	content: "";
	display: inline-block;
	top: -1.5px;
	left: -1.5px;
	border: 3px solid;
	border-radius: 50%;
	margin: 0.5em 0 0 0.5em;
}

ol > li::before {
	content: counter(item) ".";
	counter-increment: item;
	font-weight: 700;
}

/**
 * 1.3 - Table
**/ 
 
.table-box {
	margin: 1.25em 0;
	overflow-x: auto;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	font-weight: 400;
	font-style: normal;
}

td,
th,
caption {
	position: relative;
	padding: 12px;
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: #b4b4b4;
	font: inherit;
	text-align: left;
	background-clip: border-box;
}

td:last-child,
th:last-child {
	border-right-width: 1px;
}

tr:last-child td,
tr:last-child th {
	border-bottom-width: 1px;
}

th {
	background-color: #e7e7e7;
}

thead th,
tfoot th {
	border-color: transparent;
}

th + th {
	border-right-color: transparent;
	border-left-color: transparent;
}

caption {
	caption-side: bottom;
	text-align: center;
} 

thead,
tfoot,
caption{
	font-weight: 400;
	font-style: normal;
	font-size: 100%;
	background-color: #00bdbf;
}

thead td,
tfoot td,
caption {
	border-color: transparent;
	color: #fff;
}

caption{
	background: transparent;
	color: #555;
	font-size: 15px;
}

th + th::before,
thead td + td::before,
tfoot td + td::before {
	content: "";
	position: absolute;
	top: 0;
	right: 100%;
	bottom: 0;
	left: -1px;
	background: #fff;
}

thead td::after,
thead th::after,
tfoot tr:not(:first-child) td::after,
tfoot tr:not(:first-child) th::after {
	content: "";
	position: absolute;
	top: -1px;
	right: 0;
	bottom: 100%;
	left: -1px;
	background: #fff;
}

th:first-child::after,
thead td:first-child::after,
tfoot tr:not(:first-child) td:first-child::after {
	left: 0px;
}

table img {
	max-width: none;
    max-height: none;
}

/**
 * 1.4 - Images
**/ 

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-caption-dd {
	margin: 5px 0;
	color: #555;
	font-size: 15px;
	font-style: italic;
	text-align: center;
}

img {
	position: relative;
	max-width: 100%;
	height: auto;
}

.alignleft {
	float: left;
	margin: 0.5em 1.25em 0.5em 0;
	max-width: 50%;
}

.alignright {
	float: right;
	margin: 0.5em 0 0.5em 1.25em;
	max-width: 50%;
}

.aligncenter {
    display: block;
	margin: 0.5em auto;
}

.alignnone {
	margin: 0.5em 0 0.5em;
}

@media (max-width: 720px) {
	.alignleft,
	.alignright {
		float: none;
		margin-left: auto;
		margin-right: auto;
		max-width: 100%;
	}
}

/**
 * 1.5 - Gallery
**/

.gallery {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin: 1.25rem 0 1.25rem -18px;
	font-size: 0;
}

.main-sidebar + .main-content .gallery {
	margin-left: -19px;
}

.gallery .gallery-item {
	display: inline-block;
	position: relative;
	margin: 18px 0 0 10px;
	max-width: 296px;
	width: calc((100% - 3*19px) / 3);
}

.main-sidebar + .main-content .gallery-item {
	margin-left: 19px;
}

.gallery-item a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.gallery-item a:hover {
	color: #00bdbf;
}

.gallery-item .gallery-icon {
	display: flex;
	position: relative;
	width: 100%;
	padding-top: calc(100% * 190 / 296);
	overflow: hidden;
	transition: inherit;
}

.gallery-item a .gallery-icon {
	opacity: 0.8;
}

.gallery-item a:hover .gallery-icon {
	opacity: 1;
}

.gallery-item img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: auto;
	height: auto;
}

.gallery-item .gallery-caption {
	margin: 0.5em 0;
	max-width: 100%;
	color: inherit;
	font-style: italic;
	font-size: .9rem;
	word-wrap: break-word;
}

@media (max-width: 780px) {		
	.gallery {
		justify-content: space-around;
	}
	
	.gallery .gallery-item {
		width: calc((100% - 2*19px) / 2);
	}
	.gallery-item .gallery-icon {
	}
}


/**
 * 1.6 - Button
**/

.button-block {
	margin: 10px 0;
	width: 100%;
	font-size: 0;
	text-align: left;
}

.button,
input[type="submit"] {
    display: inline-block;
    position: relative;
    z-index: 1;
	padding: 17px 40px;
	max-width: 100%;
	background: none;
	color: #fff;
	font-weight: 400;
	font-size: 18px;
	line-height: 1;
	text-decoration: none;
    text-align: center;
	transition: 0.3s;
    cursor: pointer;
    -webkit-user-select: none;  
	   -moz-user-select: none;  
	    -ms-user-select: none;  
	        user-select: none;
}

.button:hover,
input[type="submit"]:hover {
	color: #222;
}

.button::before,
.button::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;	
	z-index: -1;
	border-radius: inherit;
	width: 100%;
	height: 100%;
	transition: inherit;
	transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
	backface-visibility: hidden;
	pointer-events: none;
}

.button::before {
	background: #00bdbf;
	transform: scale3d(1.2, 1.2, 1);
	opacity: 0;
}

.button::after {
	background: #222;
}

.button:hover::before {
	transform: scale3d(1, 1, 1);
	opacity: 1;
}
.button:hover::after {
	transform: scale3d(0.8, 0.8, 1);
	opacity: 0;
}

.button:active,
input[type="submit"]:active {
    top: 3px;
}

/**
 * 1.7 - Phone
**/

a.phone {
	color: inherit;
	font-size: inherit;
	white-space: nowrap;
}

.phones-block {
	position: relative;
	padding-left: 50px;
	margin: 0 10px;
}


.phones-block .phone {
	display: block;
}

.phones-block::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 25px;
	margin: -10px 0 0 -10px;
	width: 20px;
	height: 20px;
	background: url("css/img/sprite.png") -630px 0;
}

.phone + .phone {
	margin-top: 5px;
}


.phone:hover {
	
}

.totop {
	position: fixed;
	right: 20px;
	bottom: -100px;
	z-index: 100;
	border: 1px solid #fff;
	width: 50px;
	height: 50px;
	background: #00bdbf;
	color: #fff;
	cursor: pointer;
}

.totop:hover {
	color: #fff;
	background: #00bdbf;
}

.totop::after {
	content: "";
	position: absolute;
	top: 27px;
	left: 35px;
	z-index: 1;
	border-left: 4px solid;
	border-bottom: 4px solid;
	width: 15px;
	height: 15px;
	line-height: 1;
	transform: rotate(135deg);
	transform-origin: 0 0;
}

@media (max-width: 1300px) {
	.totop {
		display: none;
	}
	
}

/**
 * 1.9 - Colorbox
**/

#colorbox, 
#cboxOverlay, 
#cboxWrapper {
	background: #fff;
	overflow: visible;
}

#cboxOverlay {
	background: rgba(31, 31, 31, 0.85);
}

#cboxWrapper {
}

#cboxContent {
	margin: 0;
	height: 100% !important;
}
	
#cboxBottomRight, 
#cboxBottomLeft,
#cboxTopRight, 
#cboxTopLeft, 
#cboxMiddleRight,
#cboxMiddleLeft,
#cboxBottomCenter,
#cboxTopCenter {
	background: #fff;
}

#cboxBottomRight, 
#cboxBottomLeft, 
#cboxTopRight, 
#cboxTopLeft, 
#cboxBottomCenter,
#cboxTopCenter {
	height: 0;
}

#cboxBottomRight, 
#cboxBottomLeft, 
#cboxTopRight, 
#cboxTopLeft, 
#cboxMiddleRight,
#cboxMiddleLeft {
	
}

#cboxTitle {
	top: -35px;
	padding: 10px 5px 3px 5px;
	width: 100%;
	min-height: 35px;
	color: #bcbcbc;
	font-style: italic;
	white-space: nowrap;
	overflow: hidden;
}

#cboxClose {
	top: 0;
	left: 100%;
	padding: 0;
	margin-left: 10px;
	width: 28px;
	height: 28px;
	background: transparent;
	color: #fff;
	font-style: italic;
	font-size: 16px;
	transition: 0s;
}

#cboxClose:hover {
	color: #ee4035;
}

#cboxClose::before {
	content: "";
	display: flex;
	position: absolute;
	left: 50%;
	top: 50%;
	border: 1px solid;
	margin: -14px 0 0 -14px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	transition: inherit;
}

#cboxClose::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -5.5px 0 0 -5.5px;
	width: 11px;
	height: 11px;
	background: linear-gradient(to right, 
		rgba(239, 255, 255, 0) 0,
		rgba(255, 255, 255, 0) 5px,
		rgba(255, 255, 255, 1) 5px,
		rgba(255, 255, 255, 1) 6px,
		rgba(255, 255, 255, 0) 6px,
		rgba(255, 255, 255, 0) 100%
	), linear-gradient(to bottom, 
		rgba(255, 255, 255, 0) 0,
		rgba(255, 255, 255, 0) 5px,
		rgba(255, 255, 255, 1) 5px,
		rgba(255, 255, 255, 1) 6px,
		rgba(255, 255, 255, 0) 6px,
		rgba(255, 255, 255, 0) 100%
	);
	transform: rotate(45deg);
	transition: inherit;
}

#cboxClose:hover::after {
	background: linear-gradient(to right, 
		rgba(239, 64, 54, 0) 0,
		rgba(239, 64, 54, 0) 5px,
		rgba(239, 64, 54, 1) 5px,
		rgba(239, 64, 54, 1) 6px,
		rgba(239, 64, 54, 0) 6px,
		rgba(239, 64, 54, 0) 100%
	), linear-gradient(to bottom, 
		rgba(239, 64, 54, 0) 0,
		rgba(239, 64, 54, 0) 5px,
		rgba(239, 64, 54, 1) 5px,
		rgba(239, 64, 54, 1) 6px,
		rgba(239, 64, 54, 0) 6px,
		rgba(239, 64, 54, 0) 100%
	);
}

#colorbox #cboxPrevious,
#colorbox #cboxNext  {
	position: absolute;
	top: 50%;
	right: auto;
	bottom: auto;
	left: -30px;
	border-width: 0 0 1px 1px;
	border-style: solid;
	margin: -10px 0 0;
	width: 20px;
	height: 20px;
	background: transparent;
	color: #fff;
	text-decoration: none;
	transform: rotate(45deg);
	overflow: hidden;
	transition: none;
}

#colorbox #cboxPrevious:hover,
#colorbox #cboxNext:hover  {
	color: #00bdbf;
}

#colorbox #cboxNext {
	right: -30px;
	left: auto;
	transform: rotate(-135deg);
}

#cboxLoadedContent {
	padding: 0;
	background: #fff;
}

/**
 * 1.10 - Sharing block
**/

.m42-sharing-block {
}

.m42-sharing-block .ya-share2__item {
	border-radius: 50%;
	overflow: hidden;
}

#wrapper .m42-sharing-block .ya-share2__badge {
	padding: 3px;
	background: #bec0c2;
	transition: 0.3s;
}

#wrapper .m42-sharing-block .ya-share2__container_size_m .ya-share2__icon {
	width: 28px;
    height: 28px;
}

#wrapper .m42-sharing-block .ya-share2__link:hover .ya-share2__badge {
	background: #00bdbf;
}
/**
 * 1.11 - Bx-Slider
**/
 
body .bx-wrapper {
	position: relative;
	border: none;
	box-shadow: none;
	padding-bottom: 50px;
	margin: 0 auto;
	background: transparent;
}

body .bx-wrapper .bx-viewport {
}

body .bx-wrapper .bx-pager {
	bottom: 0;
	text-align: left;
}

body .bx-wrapper .bx-pager.bx-default-pager a {
	border-radius: 0;
	width: 10px;
	height: 10px;
	background: #eee;
}

body .bx-wrapper .bx-pager.bx-default-pager a.active,
body .bx-wrapper .bx-pager.bx-default-pager a:focus,
body .bx-wrapper .bx-pager.bx-default-pager a:hover {
	background: #00bdbf;
}

.bx-wrapper .bx-controls-direction .bx-prev,
.bx-wrapper .bx-controls-direction .bx-next {
	position: absolute;
	top: auto;
	right: auto;
	bottom: 0;
	left: 50%;
	border: 1px solid;
	margin: 0 0 28px -180px;
	width: 33px;
	height: 33px;
	background: transparent;
	color: #000;
	font-size: 0;
	border-radius: 50%;
	transition: 0.3s;
}

.bx-wrapper .bx-controls-direction .bx-next {
	margin-left: 147px;
}

.bx-wrapper .bx-controls-direction .bx-prev:hover,
.bx-wrapper .bx-controls-direction .bx-next:hover {
	color: #00bdbf;
}

.bx-wrapper .bx-controls-direction .bx-prev::after,
.bx-wrapper .bx-controls-direction .bx-next::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	border-width: 0 1px 1px 0;
	border-style: solid;
	margin: -4px 0 0 -2px;
	width: 8px;
	height: 8px;
	transform: rotate(135deg);
	transition: inherit;
}

.bx-wrapper .bx-controls-direction .bx-next::after {
	margin-left: -6px;
	transform: rotate(-45deg);
}

@media (max-width: 768px) {
	
	
	.bx-wrapper .bx-controls-direction .bx-prev {
		left: 15px;
		margin-left: 0;
	}
	
	.bx-wrapper .bx-controls-direction .bx-next {	
		right: 15px;
		left: auto;
		margin-left: 0;
	}
	
}
/**
 * 1.12 - Scroll
 */

.scrollbarX {
	position: relative;
	width: 100%;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.scrollbarX .viewport {
	position: relative;
	height: 165px;
	overflow: hidden;
}

.scrollbarX .overview {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	padding: 0;
	margin: 0;
	font-size: 0;
}

.scrollbarX .scrollbar { 
	position: absolute;
	right: 0;
	bottom: 10px;
	left: 0;
	height: 1px;
	background: #cacaca;
	overflow: visible;
}

.scrollbarX .track {
	background: transparent;
}

.scrollbarX .thumb {
	position: absolute;
	top: -4px;
	left: 0;
	border-radius: 4px;
	height: 8px;
	background: #00bdbf;
	overflow: hidden;
	cursor: pointer;
	width: 140px;
}

.scrollbarX .disable { 
	display: none; 
}

/**
 * 1.13 - Menu
**/

.menu {
	padding: 0;
	margin: 0;
}

.menu-item {
	padding: 0;
	margin: 0;
}

.menu-item::before {
	content: none;
}

.menu-item a {
	display: block;
	padding: 10px;
	color: inherit;
	text-decoration: none;
}

.menu-item.current-menu-item a,
.menu-item a:hover {
	color: #00bdbf;
}

/**
 * 2.0 - Wrapper
**/

#wrapper {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	min-width: 320px;
	min-height: 100vh;
	overflow: hidden;
}

.content {
	position: relative;
	z-index: 2;	
	padding: 0 15px;
	margin: 0 auto;
	width: 100%;
	min-width: 320px;
	max-width: 1270px;
}

.page-content {
	flex-grow: 1;
	position: relative;
	z-index: 1;
}

.page-content > .content {
	display: flex;
	justify-content: space-between;
}

.main-content {
	width: 100%;
}

.main-sidebar + .main-content {
	flex-grow: 1;
	width: calc(100% - 314px);
}

.main-sidebar {
	flex-shrink: 0;
	width: 296px;
	margin-right: 18px;
}


@media (max-width: 960px) {
	.main-sidebar {
		display: none;
	}

	.main-sidebar + .main-content {
		width: 100%;
	}
}

/**
 * 3.0 - Header
 */
 

.main-header {
	position: relative;
	z-index: 5;
	margin-bottom: 60px;
}

.main-header::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	width: 1240px;
	transform: translateX(-50%);
	border-bottom: 1px solid #d5d5d5;
}

/**
 * 3.1 - Header-top
**/ 

.header-top {
	display: none;
	padding: 10px 0;
	background: #f9f9f9;
}

.header-top .content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-menu-block {
	flex-grow: 1;
	display: flex;
}

.menu-button {
	position: relative;
	margin: 10px 0 10px 20px;
	color: #ff4f52;
	font-size: 18px;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	-webkit-user-select: none;  
	   -moz-user-select: none;     
	    -ms-user-select: none;      
	        user-select: none;
}

.menu-button::after {
	content: "";
	display: block;
	width: 30px;
	height: 24px;	
	background: linear-gradient(to top, 
		rgba(24, 37, 54, 1) 0px, 
		rgba(24, 37, 54, 1) 4px, 
		rgba(24, 37, 54, 0) 4px, 
		rgba(24, 37, 54, 0) 10px,
		rgba(24, 37, 54, 1) 10px,
		rgba(24, 37, 54, 1) 14px,
		rgba(24, 37, 54, 0) 14px,
		rgba(24, 37, 54, 0) 20px,
		rgba(24, 37, 54, 1) 20px,
		rgba(24, 37, 54, 1) 24px
	);
}

/**
 * 3.2 - Header-content
**/

.header-content {
	padding: 20px 0;
	background: #eee;
}

.header-content .content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #86817d;
	font-size: 16px;
}

.header-content .mobile-logo {
	display: none;
}

.header-content .contacts-block {
	display: flex;
	align-items: center;
	margin: 0 10px;
}

.header-content .contacts-block .weekdays,
.header-content .contacts-block .weekend {
	text-align: center;
}

.header-content .contacts-block .shedule {
	display: flex;
	margin-left: 10px;
}

.header-content .contacts-block .calendar {
	display: flex;
}


.header-content .contacts-block .day {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 28px;
	height: 28px;
	margin-bottom: 5px;
	margin-left: 5px;
}

.header-content .contacts-block .weekdays .day {
	background: #86817d;
	color: #fff;
}

.header-content .button-block {
	width: auto;
}

.header-content .button {
	color: #fff;
}

.header-content .button:hover {
}

.header-content .button::before {
	background: #222;
}

.header-content .button::after {
	background: #00bdbf;
}

@media (max-width: 1124px) {
	.header-content .button-block {
		display: none;
	}
}

@media (max-width: 1024px) {
	
	.header-content .content {
		justify-content: space-around;
		padding-bottom: 40px;
	}
	
	.header-content .message-block,
	.header-content .phones-block {
		display: none;
	}

	.header-content .mobile-logo {
		display: block;
	}
}

@media (max-width: 680px) {
	
	.header-content .content {
		flex-direction: column;
	}
	
	.header-content .mobile-logo {
		margin-bottom: 30px;
	}
	
}


/**
 * 3.3 - Header-bottom
**/ 


.main-header .header-bottom {
	padding: 40px 0;
}
.main-header .header-bottom .content {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.header-bottom .logo-block {
	margin-right: 30px;
}


.fixed-menu {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	bottom: auto;
	left: 0;
	z-index: 12;
}

.main-header .header-bottom.fixed-menu {
	padding: 20px 0;
}

.fixed-menu::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: -1;
	border-bottom: 1px solid #fff;
}

.main-header .header-bottom {
	background: #fff;
}
.main-header .header-bottom .content {
	display: flex;
	align-items: center;
}

.header-menu-block {
	flex-grow: 1;
	max-width: 900px;
}

.header-menu {
	flex-grow: 1;
	display: flex;
	justify-content: space-between;
}

.header-menu .menu-item {
	text-align: center;
}

.header-menu .menu-item a {
	display: block;
	position: relative;
	padding: 16px 10px;
	font-weight: 500;
	font-size: 18px;
}

.header-menu .menu-item:last-child a {
	padding-right: 0;
}

.header-menu .menu-item a:hover {
	color: #00bdbf;
}

@media (max-width: 1024px) {
	body.active-menu {
		overflow: hidden;
		height: 100vh;
	}
	
	.header-top {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		z-index: 100;
		height: 64px;
	}
	
	.header-content {
		margin-top: 64px;
	}
	
	.main-header .header-bottom {
		position: fixed;
		top: 64px;
		right: 0;
		left: 0;
		z-index: 100;
		padding: 0;
		height: calc(100vh - 64px);
		background: #00bdbf;
	}
	
	body:not(.active-menu) .header-bottom {
		display: none;
	}
	
	.header-bottom .logo-block {
		display: none;
	}
	
	.header-menu-block {
		max-width: 100%;
	}
	
	.header-menu-block .menu {
		flex-grow: 1;
		display: block;
		overflow: auto;
	}
	
	.header-menu-block .menu > .menu-item:not(:first-child) {
		border-top: 1px solid #fff;
	}
	
	.header-menu-block .menu-item a {
		background: transparent;
		color: #fff;
		justify-content: left;
		text-align: left;
	}
	
	.header-menu-block .menu-item a:hover {
		color: #fff;
	}
}


@media (max-width: 580px) {
}


/**
 * 6.0 - Front Page
 */

.front-page-content {	
}

.front-page-content .content > .text {
	margin-bottom: 40px;
}

.front-page-content .content > .text > h1,
.front-page-content .content > .text > h2,
.front-page-content .content > .text > h3,
.front-page-content .content > .text > h4,
.front-page-content .content > .text > h5,
.front-page-content .content > .text > h6,
.front-page-content .content > .text > .caption {
	font-size: 48px;
}


@media (max-width: 780px) {
	.front-page-content .content > .text > h1,
	.front-page-content .content > .text > h2,
	.front-page-content .content > .text > h3,
	.front-page-content .content > .text > h4,
	.front-page-content .content > .text > h5,
	.front-page-content .content > .text > h6,
	.front-page-content .content > .text > .caption {
		font-size: 30px;
	}
}

/**
 * 6.1 - Front Services Block 
 */

.front-services-block {
	padding: 60px 0;
}

.front-services-block .content {
	display: flex;
	position: relative;
}

/*.front-services-block .content:before {
	content: "";
	position: absolute;
	top: 30px;
	left: -290px;
	width: 416px;
	height: 464px;
	background: url("css/img/sprite.png");
}*/

.front-services-block .content > .text {
	flex-shrink: 0;
	width: 400px;
}

.services-block {
	display: flex;
	flex-wrap: wrap;
}

.bx-wrapper .services-block {
	flex-wrap: nowrap;
	justify-content: flex-start;
	margin-left: 0;
}

 :not(.bx-viewport) > .services-block {
	 transform: none !important;
 }

.services-block .service {
	flex-shrink: 0;
	position: relative;
	padding: 25px;
	margin: 0 0 20px 20px;
	width: 260px;
	background: #eee;
	font-weight: 500;
	font-family: 'Montserrat Alternates';
	word-wrap: break-word;
	transition: 0.5s;
}

.bx-wrapper .service {
	margin: 0;
}


.services-block .service:hover {
	background: #00bdbf;
	color: #fff;
}

.services-block .service:last-child:after {
	content: "";
	position: absolute;
	top: -36px;
	right: -256px;
	width: 214px;
	height: 241px;
	background: url("css/img/service-img.png");
}

@media (max-width: 1270px) {
	.front-services-block .content::before {
		content: none;
	}
	
	.front-services-block .content {
		flex-direction: column;
		align-items: center;
	}
	
	.front-services-block .content > .text {
		width: 100%;
		max-width: 700px;
		text-align: center;
	}
	
	.front-services-block {
		text-align: center;
	}

	.services-block {
		justify-content: center;
		margin-left: -20px;
	}
}

@media (max-width: 569px) {
	
	.front-services-block .content > .text {
		text-align: left;
	}
}

/**
 * 6.1 - Front Extra Services Block 
 */
 
.front-extra-services-block {
	padding: 40px 0 90px;
}

.extra-services-block {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
	margin-left: -24px;
}

.extra-service {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	width: 292px;
	margin: 0 0 24px 24px;
	font-weight: 600;
	font-size: 16px;
	font-family: 'Montserrat Alternates';	
}

.extra-service .caption {
	font-size: 18px;
}

.extra-service .buttons {
	position: relative;
	margin: 5px 0;
	font-weight: 400;
	font-size: 18px;
}

@media (min-width: 1271px) {
	.extra-service .text {
		position: absolute;
		top: 100%;
		right: -80px;
		left: -10px;
		z-index: 10;
		padding: 10px;
		background: rgba(255, 255, 255, 0.8);
	}
}

.extra-service .more,
.extra-service .less {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	color: #00bdbf;
	cursor: pointer;
    -webkit-user-select: none;  
	   -moz-user-select: none;  
	    -ms-user-select: none;  
	        user-select: none;
}

.extra-service .more::after,
.extra-service .less::after {
	content: '';
	display: inline-block;
	position: relative;
	top: -5px;
	left: -5px;
	width: 13px;
	height: 13px;
	border-style: solid;
	border-width: 1px 1px 0 0;
	transform: rotate(135deg);
}

.extra-service .less {
	color: #c7c7c7;
}

.extra-service .less::after {
	top: 2px;
	transform: rotate(-45deg);
}

.extra-service:not(.active) .text,
.extra-service:not(.active) .less,
.extra-service.active .more {
	display: none;
}

.front-extra-services-block .button-block {
	text-align: left;
}

@media (max-width: 1440px) {

	.extra-service .text {
		right: -10px;
		padding: 10px;
	}
}

@media (max-width: 1270px) {
	.extra-services-block {
		justify-content: center;
	}
	
	.extra-service{
		border-bottom: 1px solid #d5d5d5;
		width: 100%;
	}
}

/**
 * 6.1 - Front Advantages Block 
 */

.front-advantages-block {
	padding: 40px 0;
	background: url("css/img/advantages-block-bg.png") 11% 100% #222 no-repeat;
}

.front-advantages-block .content {
}

.front-advantages-block .content > .text {
	color: #fff;
}

.front-advantages-block .content > .text .caption {
	color: #00bdbf;
}

.advantages-block {
	display: flex;
	justify-content: space-between;
	margin-left: -20px;
}

.advantages-block .advantage {
	flex-shrink: 0;
	position: relative;
	margin: 0 0 20px 20px;
	width: 174px;
	color: #fff;
}

.advantages-block .advantage:hover {
}

.advantages-block .advantage .image-box {
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 100px;
}

.advantages-block .advantage img {
	max-height: 100%;
}

.advantage .caption {
	font-size: 18px;
}

.bx-wrapper .advantages-block {
	justify-content: flex-start;
	margin-left: 0;
}

:not(.bx-viewport) > .advantages-block {
	transform: none !important;
}

.bx-wrapper .advantage {
	margin: 0;
}


/**
 * 6.1 - Front Stages Block 
 */

.front-stages-block {
	padding: 40px 0;
}

.front-stages-block .content > .text .caption mark {
	background: none;
	color: #86817d;
}

.stages-block {
	display: flex;
	justify-content: space-between;
	margin-left: -26px;
	counter-reset: stage;
}

.stages-block .stage {
	flex-shrink: 0;
	position: relative;
	margin: 0 0 26px 26px;
	width: 290px;
}

.stages-block .stage::before {
	content: counter(stage)" /";	
	counter-increment: stage;
	position: absolute;
	top: 179px;
	left: 20px;
	z-index: 2;
	font-weight: 700;
	font-size: 48px;
	font-family: "Montserrat Alternates";
}

.stages-block .stage .image-box {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 200px;
}

.stages-block .stage img {
	max-height: 100%;
}

.stage .caption {
	padding-left: 85px;
	margin: 25px 0;
	font-weight: 400;
	font-size: 18px;
	font-family: 'Roboto';
}

.bx-wrapper .stages-block {
	justify-content: flex-start;
	margin-left: 0;
}

:not(.bx-viewport) > .stages-block {
	transform: none !important;
}

.bx-wrapper .stage {
	margin: 0;
}

.front-stages-block .button-block {
	margin-top: 30px;
}

/**
 * 6.1 - Front Questions Block 
 */

.front-questions-block {
	padding: 40px 0;
	background: #00bdbf;
}

.front-questions-block .content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.front-questions-block .content::before {
	content: url("css/img/question.png");
	order: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 20px;
	height: 0;
}

.front-questions-block .content > .text {
	order: 0;
	margin-bottom: 0;
	color: #3f3f3f;
}

.front-questions-block .content > .text .caption {
	margin-bottom: 20px;
	color: #222;
}

.front-questions-block .button-block {
	order: 2;
	width: 290px;
}

.front-questions-block .button {
	padding: 17px 30px;
	width: 100%;
	font-weight: 500;
	text-transform: uppercase;
	
}

.front-questions-block .button::before {
	background: #fff;
}

@media (max-width: 820px) {
	.front-questions-block .content {
		flex-wrap: wrap;
	}
	
	.front-questions-block  .content > .text .caption {
		font-size: 36px;
	}

	.front-questions-block .button-block {
		margin-top: 30px;
	}
}

@media (max-width: 720px) {
	
	.front-questions-block {
		padding: 15px 0;
	}
	
	.front-questions-block  .content > .text {
		padding-right: 95px;
	}

	.front-questions-block .content::before {
		position: absolute;
		top: -85px;
		right: -10px;
		margin: 0;
		height: 263px;
		transform: scale(0.65);
	}
	
}

@media (max-width: 420px) {
	.front-questions-block .button-block {
		width: calc(100% + 30px);
		margin: 15px -15px -15px;
	}
}

/**
 * 6.1 - Phone Form
**/

#colorbox.form,
#colorbox.form #cboxContent,
#colorbox.form #cboxOverlay,
#colorbox.form #cboxWrapper,
#colorbox.form #cboxLoadedContent {
}

#cboxLoadedContent {
	overflow-x: hidden !important;
}

.request-form {
	padding: 45px;
	width: 610px;
}

.request-form .caption {
	position: relative;
	font-size: 48px;
}

.request-form .description {
	margin: 30px 0;
	font-size: 18px;
}

.request-form .title {
	display: none;
	font-weight: 700;
	font-size: 16px;
}

.request-form .field.not-valid .title {
	color: #ff4f52;
}

.request-form textarea,
.request-form input[type="text"] {
	padding: 15px 0;
	border-width: 0 0 4px 0;
	border-style: solid;
	margin: 20px 0 30px;
	width: 100%;
	background: transparent;
	font-weight: 500;
	font-family: 'Montserrat Alternates';
}

.request-form.not-valid .field.not-valid textarea,
.request-form.not-valid .field.not-valid input[type="text"] {
	border-color: #ff4f52;
}

.request-form.not-valid .field.not-valid textarea::placeholder,
.request-form.not-valid .field.not-valid input[type="text"]::placeholder {
	color: #ff4f52;
}

.request-form .message {
	color: #9e9e9e;
	font-size: 12px;
}
.request-form .btn-field {
	position: relative;
	padding: 30px 0;
	height: 80px;
	overflow: hidden;
}

.request-form .button {
	width: 100%;
	font-weight: 700;
	font-size: 16px;
	font-family: 'Montserrat Alternates';
	text-transform: uppercase;
}

.request-form .success-message,
.request-form .error-message {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	margin-top: 0px;
	font-weight: 500;
	font-size: 14px;
	text-align: center;
}

.request-form .error-message {
	color: #ff4f52;
}

.request-form .success-message {
	color:  #53a08e;
	font-weight: 600;
	font-size: 18px;
	text-transform: uppercase;
}

.request-form .success-message .big {
	font-weight: 700;
	font-size: 24px;
}

.request-form.success .button,
.request-form:not(.not-valid) .error-message,
.request-form:not(.success)  .success-message{
	display: none;
}

@media (max-width: 768px) {
	.request-form {
		width: auto;
		padding: 15px;
	}
	.request-form .caption {
		font-size: 30px;
	}
	
	.request-form .button {
		padding: 15px;
		font-weight: 400;
	}
}

.main-footer {
	padding: 50px 0;
}

.footer-content .content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
}

.footer-content .contacts-block {
	margin: 0 10px;
}

.footer-content .logo-block {
	filter: grayscale(100%) contrast(0%);
}

.footer-content .shedule {
	margin: 10px 0;
}

.footer-content .email {
	color: inherit;
}

.footer-content .email:hover {
	color: #00bdbf;
}

.footer-content .phones-block::before {
	filter: grayscale(100%) contrast(0);
}

.footer-content .button-block {
	width: auto;
}

.footer-content .button:after {
	background: #86817d;
}

.footer-bottom .content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
}

.footer-bottom .copyright {
	color: #86817d;
	font-size: 16px;
}

.fpro-block {
	flex-shrink: 0;
	padding-left: 20px;
}

a.fpro {
	display: inline-block;
	position: relative;
	padding-top: 40px;
	min-width: 150px;
	color: inherit;
	text-decoration: none;
	text-align: right;
	transition: 0.5s;
}
.fpro:hover {
	color: #6538b9;
}

.fpro .fpro-image,
.fpro .fpro-image-hover {	
	position: absolute;
	top: 0;
	right: 0;
	transition: inherit;
}

.fpro .fpro-image-hover {
	opacity: 0;
}

.fpro:hover .fpro-image {
	opacity: 0;
}

.fpro:hover .fpro-image-hover {
	opacity: 1;
}

.fpro .label {
    display: none !important;
    text-decoration: none;
    opacity: 1 !important;
}

@media (max-width: 1024px) {
	.footer-content .phones-block {
		display: none;
	}
}

@media (max-width: 780px) {
	.footer-content .content {
	}
	
	.footer-content .button-block {
		display: none;
	}
}

@media (max-width: 570px) {	
	
	.footer-content .content {
		flex-direction: column;
		justify-content: center;
		margin-top: 0;
	}
	
	.footer-content .contacts-block {
		margin-top: 20px;
	}
	.footer-bottom .content {
		flex-direction: column;
		align-items: center;
	}
	.footer-bottom .copyright {
		margin-bottom: 20px;
	}
}












