html {
	height: 100%;
	overflow: auto;
}
body {
	height: auto;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	font-family: 'Open Sans', Arial, 'Arial Unicode MS', Helvetica, sans-serif;
	color: #ccc;
	background-color: #ffffff;
}
#body-container {
	z-index: 0;
	margin-top: 5rem;
	padding-bottom: 2rem;
}
p.end{padding-bottom:2rem}
a, a:active, a:focus, a:hover, a:visited { 
	text-decoration: none; 
	/* color:inherit; */ 
	outline-style: none;
	outline-width: 0px; 
}
/* 
.footer {margin-left: 1rem; margin-right: 1rem;}
section a, section a:active, section a:focus, section a:hover, section a:visited, 
footer a, footer a:active, footer a:focus, footer a:hover, footer a:visited {color:inherit;}
 */

.grid-container{ max-width: 76rem;}
.bg_1 > .grid-container, 
.bg_2 > .grid-container, 
.bg_3 > .grid-container, 
.bg_4 > .grid-container {margin-top:-4rem; }
.bd-background {
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
}
.bd-background.gallery{background: linear-gradient(to top, #061332, #0c2560);}
.bd-headerarea {
	background-image: url(../images/bgnd/glavnyekartinki.png);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center top;
	background-size: cover;
	margin-top: 2rem;
}
.bd_section{
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center top;
	background-size: cover;
	padding-top: 8rem;
	padding-bottom: 8rem;
	position: relative;
	z-index: 2;
	margin-top: -5rem;
}
.bd_section.gallery{padding-top:12rem; padding-bottom: 0;}
.bg_1 {	background-image: url(../images/bgnd/fonspecstavki.png);}
.bg_2 {	background-image: url(../images/bgnd/fonokompanii.png);}
.bg_3 {	background-image: url(../images/bgnd/kartinkauslugi.png);}
.bg_4 {	background-image: url(../images/bgnd/contactsbg.png);}

.bd_section.first { 
	position: absolute;
	top: 2rem;
	bottom: 1rem;
	left: 0;
	right: 0;
	padding: 8rem 2rem;
	overflow: auto;
}
.bd_section:last-child { padding-bottom:2rem;}
.blockheader {
	background-image: url(../images/bgnd/hbg.png);
	background-repeat: no-repeat;
	background-attachment: scroll;
	margin-bottom: 3rem;
}
.bg_1 .callout {padding: 1rem 0.2rem 1rem 0.2rem;}
.bg_2 .blockheader { background-position: center bottom; }
.bg_3 .blockheader,.bg_4 .blockheader { background-position: center bottom; }
.bg_3 .thumbnall {padding-bottom: 3rem;}
.t-head { height:3.5rem; }
.bg_1 .content{
	color: #fff;
	text-align: center;
}
.bg_2 .content, .b3 .content{
	color: #000;
	text-align: left;
}
.bg_1 .callout, .bg_2 .callout{
	position: relative;
	background-color: #0c255f;
	border-radius: 1rem;
	color: #ffffff;
}
.bg_1 .container-table {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 1rem;
	margin-top: 2rem;
}
.bg_1 .table-front {
	background-color: rgba(210, 175, 99, 0.529);
	border: 6px rgb(46, 57, 102) solid;
	border-radius: 1rem;
	margin: 0;
}
.bg_1 .table-front caption {
	font-size: 1.3rem;
	height: 4rem;
	padding-top: 1rem;
	font-weight: 400;
}
.bg_1 .table-front tbody tr:nth-child(2n+1) {
	background: #0c2561;
	height: 55px;
}
.bg_1 .table-front tbody tr:nth-child(2n) {
	height: 61px;
}
.container {
	margin-right: auto;
	margin-left: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-bottom: 4rem;
}
.thumbnail {
	border:none;
	box-shadow:none;
}
.bd-headerarea .media-object {
	margin-top:3rem;
	margin-bottom:3rem;
}

tbody {
	max-width: 100%;
	background-color: transparent;
	border: none;
}
tbody tr:nth-child(even) {
	border-bottom: 0;
	background-color: transparent;
}

.text-gold {
	color: #d6aa49;
}
.text-white{color:white!important;}
.margin-0 {margin:0px;}
table h6, table h5 {margin-bottom:0px;}
table:not([class]) td, table:not([class]) th { padding: 5px; }
footer { background-color: #061332;}
footer a {color:#555555}

.navigator {
	z-index:100;
	position:fixed; 
	background-color: transparent; 
	width: 100%; 
	left: 0%; 
	right: 0%; 
	top: 0px; 
	bottom: auto;
}
.off-canvas {background: #253B71;}
.top-bar, .title-bar, title-bar-left, title-bar-right {	-webkit-box-shadow: 0px 5px 20px -5px #000; }
.menu, .top-bar, .top-bar ul, .title-bar, title-bar-left, title-bar-right {
	color: #d6aa49;
	background-color: #253B71;
}
.dropdown.menu > li > a { padding: 0.7rem 0.7rem; }
.menu a, .dropdown.menu > li.is-active > a { color: inherit; }

.menu a:hover,
.menu .active > a, 
a.text-gold:hover, .dropdown.menu > li.is-active > a:hover {
	color:#d5a948;
	text-decoration: none;
	background: none;
	border-bottom: 1px solid #d5a948;
}
a.text-gold:focus{color:#d5a948;}
.reveal{
	background-color: #0c255f;
	height: max-content;
	color: #fff;
}
.reveal .close-button:hover, .close-button:focus { color: #fff;}
.preview-button, .next-button {
	position: fixed;
	z-index: 10;
	cursor: pointer;
	top: 50%;
}
.preview-button { left: 0.5rem; }
.preview-button .arrow-left {
	display: block;
	width: 0;
	height: 0;
	border: inset 1rem;
	content: '';
	border-left-width: 0;
	border-right-style: solid;
	border-color: transparent #fff transparent transparent;
}
.next-button { right: 0.5rem; }
.next-button .arrow-right {
	display: block;
	width: 0;
	height: 0;
	border: inset 1rem;
	content: '';
	border-right-width: 0;
	border-left-style: solid;
	border-color: transparent transparent transparent #fff;
}
footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 100;
	min-height:1rem;
}
footer h6, footer .h6 {font-size: 0.7rem; line-height: 0.8rem;}

#iconWait, .icon_wait {
	display:none;
	z-index:100;
}
.centered {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -15px;
	margin-left: -15px;
	height: 30px;
	width: 30px;
}
.button.gold {background-color:#d6aa49}
.button.gold:hover {background-color:#b9933f}
.red{color: red;}
.h7{font-size: 0.7rem;}
