body {
    display: block;
    margin: 0;
}

p {
    color:#fff;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
	font-size: 16px;
	letter-spacing: 0.05em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
	text-shadow: #000000 0px 0px 20px;
}

a {
	color: #5e9ff3;
    text-decoration: none;
}

.clear {
	clear: both;
}

.block-container {
	vertical-align: top;
    text-align: center;
	max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.block-children {
	display: inline-block;
    text-align: center;
	margin-bottom: 20px;
    margin-top: 20px;
}

.block-children img {
	margin-left: 10px;
	margin-right: 10px;
}

.fullscreen-bg {
    overflow: auto;
	position: fixed;
    z-index: -100;
    height: 100%;
    width: 100%;
}
 
.fullscreen-bg__video {
    position: fixed;
	overflow: auto;
    top: 0;
    left: 0;
    height: 100%;
	width: 100%;
	object-fit: cover;
}

.overlay-main {
	background: rgba(0,0,0,0.4);
    position: fixed;
    overflow: auto;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 4;
	text-align: center;
}
 
.overlay {
    position: fixed;
    overflow: auto;
	background: rgba(31, 30, 30, 0.8);
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 4;
	text-align: center;
}
 
.overlay-main h1 {
    text-align:center;
    color:#fff;
    font-size: 60px;
	line-height: 1.7;
    margin-top:7%;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
}

.overlay h1 {
    text-align: center;
    color: #fff;
    font-size: 30px;
    margin-top: 40px;
    font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
    width: 80%;
    border-bottom: 1px solid #ffffff2e;
    text-shadow: #000000 0px 0px 20px, #000000 0px 0px 20px;
    padding: 2px;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 40px;
}

.overlay h2 {
    text-align: center;
    color: #fff;
    font-size: 24px;
    margin-top: 40px;
    font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
    width: 80%;
    border-bottom: 1px solid #ffffff2e;
    text-shadow: #000000 0px 0px 20px, #000000 0px 0px 20px;
    padding: 2px;
    margin-left: auto;
    margin-right: auto;
}

.overlay h3 {
    text-align: center;
    color: #63a4f9;
    font-size: 18px;
    margin-top: 10px;
    font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
    text-shadow: #ffffff52 0px 0px 20px;
    padding: 2px;
}

.overlay-main img {
    padding-top: 10%;
}

.overlay-menu {
    background: rgba(0,0,0,0.6);
	color:#fff;
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 82px;
}

.menu-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 45px;
	~box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.menu-list li.active a {
    color: #5e9ff3;
	font-weight: 900;
    border-bottom: none;
}

#menu {
	text-align: center;
	width: 100%;
    z-index: 10;
	border-bottom: 1px solid #72737387;
	margin-bottom: 30px;
}

.menu-list li {
	display: inline-block;
	padding: 3px 0px 5px 0px;
	width: calc(100%/6 - 2px);
	text-align: center;
	font-size: 20px;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
}

.menu-list li:first-child {
	border-left: none;
}

.menu-list li a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #fff;
}

.menu-list li a:hover {
	color: #5e9ff3;
	border-bottom: 1px solid #5e9ff3;
}

.active {
    border-bottom: none !important;
}

#menu-clicker {
	cursor: pointer;
	font-weight: bold;
	display: block;
	padding: 6px;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
	color: #fff;
}

#mobile-menu {
	display: none;
	text-align: center;
}

.mobile-active {
	border-bottom: none !important;
}

.fullscreen-bg-other {
	position: fixed;
    overflow: auto;
    z-index: -100;
    height: 100%;
    width: 100%;
    background: url('/images/fon-desktop.jpg') center center / cover no-repeat;
	background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.footer-title {
    position: fixed;
	bottom: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
	border-top: 1px solid #72737387;
}

.footer-title p {
	text-align: center;
	font-size: 15px;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
	color: #fff;
}

.map {
	margin-left: auto;
	margin-right: auto;
	max-width: 1150px;
}

.map img {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	width: 48%;
}

.map h2 {
	display: table;
	text-align: center;
	width: 48%;
	margin-left: 0;
	margin-right: 0;
}

.map p {
	display: table;
}

.map-ptz {
	width: 700px;
	height: 400px;
	float: left;
}

.contacts {
	margin-left: auto;
	margin-right: auto;
	max-width: 1030px;
}

.contacts-text {
	float: right;
}

.contacts p {
	text-align: left;
	margin-left: 15px;
}

.contacts a {
	color: #5e9ff3;
	text-decoration: none;
}

.list p {
	color:#fff;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
	font-size: 16px;
	letter-spacing: 0.05em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
	margin-top: 2px;
	margin-bottom: 9px;
	text-shadow: #000000 0px 0px 20px;
}

.dir_maps {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

.rtable {
  /*!
  // IE needs inline-block to position scrolling shadows otherwise use:
  // display: block;
  // max-width: min-content;
  */
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  
  overflow-x: auto;
  
  // optional - looks better for small cell values
  white-space: nowrap;

  border-collapse: collapse;
  border-spacing: 0;
}

.rtable,
.rtable--flip tbody {
  // optional - enable iOS momentum scrolling
  -webkit-overflow-scrolling: touch;
  
  // scrolling shadows
  background: radial-gradient(left, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 0 center,
              radial-gradient(right, ellipse, rgba(0,0,0, .2) 0%, rgba(0,0,0, 0) 75%) 100% center;
  background-size: 10px 100%, 10px 100%;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat;
}

// change these gradients from white to your background colour if it differs
// gradient on the first cells to hide the left shadow
.rtable td:first-child,
.rtable--flip tbody tr:first-child {
  background-image: linear-gradient(to right, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-size: 20px 100%;
}

// gradient on the last cells to hide the right shadow
.rtable td:last-child,
.rtable--flip tbody tr:last-child {
  background-image: linear-gradient(to left, rgba(255,255,255, 1) 50%, rgba(255,255,255, 0) 100%);
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 20px 100%;
}

.rtable th {
	font-size: 13px;
	font-family: Veranda,'Open sans',Sans-Serif;
	text-align: center;
	vertical-align: middle;
	padding: 6px 8px;
}

.rtable th,
.rtable td {
  padding: 6px 12px;
  	text-align: center;
}

.buttons {
	max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

.butFrame * {
  transition: all .5s ease;
}

.butFrame {
  width: 250px;
  float: left;
  position: relative;
  overflow: hidden;
  margin-right: 18px;
  margin-left: 18px;
  margin-bottom: 20px;
  background: #111;
  font-family: inherit;
  font-size: 1em;
  text-align: center;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
          flex-direction: row;
  -webkit-align-items: center;
  -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  text-decoration: none;
  background-position: center!important;
  background-size: cover!important;
  padding-bottom: 200px;
}

.butFrame:before{
  position: absolute;
  top: 0;
  left: 0;
  width:100%;
  height: 100%;
  content:"";
  background: #111;
  opacity: .3;
}

.buttons > .butHeading {
  clear: both;
  margin: 0;
  padding: 4em 1% 0;
  color: #484B54;
  font-weight: 800;
  font-size: 1.5em;
}

.butFrame .butTextWrap {
  font-family: monospace;
  padding: 2.6em;
  padding-top: 1.8em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.3em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.butFrame .butTextWrap::before{
  pointer-events: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.butFrame .butTextWrap::after {
  pointer-events: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.butFrame .butTextWrap,
.butFrame .butTextWrap > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */

.butFrame .butTextWrap > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.butFrame .butHeading {
  word-spacing: -0.15em;
  letter-spacing: 0.1em;
  font-weight: 900;
  font-size: 18px;
  font-family: inherit;
}

.butFrame .butHeading .butText {
  font-weight: 300;
}

.butFrame .butHeading,
.butFrame p {
  margin: 0;
  color: #fff;
  text-shadow: #000000 0px 0px 30px;
}

.butFrame p {
  letter-spacing: 1px;
  font-size: 90%;
  font-family: inherit;
  margin-left: auto;
  margin-right: auto;
}

/* EFFECT */


.butFrame .butTextWrap::before,
.butFrame .butTextWrap::after {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  content: '';
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
.butFrame .butTextWrap::before {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}
.butFrame .butTextWrap::after {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  box-sizing: border-box;
}
.butFrame .butHeading {
  padding-top: 10%;
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(0, -20px, 0);
  transform: translate3d(0, -20px, 0);
}
.butFrame p {
  padding: 30px 0;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, 20px, 0);
  transform: translate3d(0, 20px, 0);
}

/* HOVER STYLES */

.butFrame:hover:before{
  opacity:.6;
}

.butFrame:hover .butTextWrap::before,
.butFrame:hover .butTextWrap::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.butFrame:hover .butHeading,
.butFrame:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

@media screen and (max-width: 1045px) {

.menu-list	{
	height: 35px;
}

.menu-list li {
	display: inline-block;
	padding: 3px 0px 5px 0px;
	width: calc(100%/6 - 2px);
	text-align: center;
	font-size: 15px;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
}

.overlay-main h1 {
    text-align:center;
    color:#fff;
    font-size: 40px;
	line-height: 1.5;
    margin-top:7%;
	font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
}

.contacts {
	margin-left: auto;
	margin-right: auto;
	max-width: 930px;
}

.map-ptz {
	width: 600px;
	height: 400px;
	float: left;
}

.contacts-text {
	float: right;
}

.contacts p {
	text-align: left;
	margin-left: 15px;
}
.butFrame {
	width: 210px;
}

}

@media (max-width: 824px) {
    .fullscreen-bg {
        background: url('/images/fon-desktop.jpg') center center / cover no-repeat;
    }
 
    .fullscreen-bg__video {
        display: none;
    }
	.overlay-main img {
		padding-top: 15%;
		width: 60%;
	}
	.overlay-main h1 {
		font-size: 30px;
		line-height: 1.4;
	}
	#menu {
		display: none;	
	}
	#mobile-menu {
		display: block;
		position: fixed;
		background-color: #636262;
		width: 100%;
		z-index: 1;
	}
	#mobile-menu .menu-list {
		background-color: #666666;
	}
	#mobile-menu .menu-list li {
		padding: 0;
		~width: calc(100%/4 - 2px);
		width: 100%;
		background-color: gray;
		text-align: center;
		font-weight: bold;
		font-size: 13px;
		font-family: 'Manrope', Veranda,'Open sans',Sans-Serif;
		border-left: none;
		border-bottom: none;
	}
	#mobile-menu .menu-list li a {
		display: block;
		padding: 15px;
	}
	.map img {
		float: none;
		margin-left: auto;
		margin-right: auto;
		width: 60%;
	}
	
	.map h2 {
		display: table;
		text-align: center;
		width: 45%;
		margin-left: auto;
		margin-right: auto;
	}
	.footer-title {
		display: none;		
	}
	.map-ptz {
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 20px;
		width: 85%;
	}
	.contacts-text {
		float: none;
	}
	.contacts p {
		text-align: center;
	}
	.contacts-text img {
		display: none;
	}
	.dir_maps {
		max-width: 90%;
	}
	.buttons {
		margin-left: 10%;
	}
}

@media (max-width: 420px) {
	p {
		margin-left: 15px;
		margin-right: 15px;
	}
	.overlay-main img {
		padding-top: 50%;
		width: 60%;
	}
	.overlay-main h1 {
		font-size: 20px;
		line-height: 1.3;
	}
	.overlay h2 {
		font-size: 23px;
	}
	.map img {
		float: none;
		margin-left: auto;
		margin-right: auto;
		width: 90%;
	}
	
	.map h2 {
		display: table;
		text-align: center;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.dir_maps {
		max-width: 90%;
	}
	.butFrame {
		width: 70%;
		margin-right: 10%;
		margin-left: 10%;
	}
}
-
@media (max-height: 768px) {
	.footer-title {
		position: relative;
	}
}
-
