/* Сетка */
html,body{
  margin:0;
  padding:0;
  width: 100%;
  height: 100%
}
body{
  display: flex;
  flex-direction: column;
}
.layout-wrapper{
  width: 60%;
  max-width: 60% !important;
  min-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}
.header .col{
}
header{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.header .logo{
  width: 150px;
  font-family: CentureGothic;
}
div.navigation{
}

div.navigation ul{
  list-style-type: none;
  display: block;
  padding: 0;
  margin: 0;
}
nav ul > li{
  display: inline-block;
}
nav li{
  display: block;
  margin-right: 5px;
}
nav li:last-child{
  margin-right: 0;
}
nav a{
  display: table-cell;
  width: 150px;
  height: 40px;
}
.header.layout-wrapper{ position: relative;}
.content.section-wrapper{
  flex-grow: 2;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
.footer.layout-wrapper div{ height: 30px; display: table-cell; vertical-align: middle;}
#footer-container{padding: 10px;}

/*
Элементы контента
*/
.content-block{
  margin: 0;
  display: block;
  padding-bottom: 30px;
}
.wrapper{
  margin: 0 5px;
}
.col.wrapper{
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.col.wrapper .col{
  padding: 0 5px 5px 5px;
  margin: 10px;
  text-align: justify;
  width: 100%;
  align-self: stretch;
}
.sticker.bordered{
  border-right: 1px solid gray;
  border-bottom: 1px solid gray;
  border-radius: 5px;
}
h1{
  padding: 20px 0;
  margin: 0;
}

/* Цвета */
body, html {
  font-size: 16px;
  font-family:verdana,arial,helvetica;
/*
  background-color: #E4E4E4;
*/
  background-color: white;
}
body, html, a:link, a:visited {
  color: #3C4A65;
}

nav a{
  background-color: white;
  border-radius: 5px;
  border: 1px solid lightgrey;
  vertical-align: middle;
  text-align: center;
  color: grey;
}
nav a:hover{
  border-color: grey;
  color: black;
}

/*
.header.layout-wrapper{ background-color: white;}
*/
.content.layout-wrapper{
/*
  background-color: rgba(255,255,255,0.8);
*/
}
.content .sticker{
  background-color: #F9F3BE;
  color: #5B401B;
}

.footer.layout-wrapper{
/*
  background-color: #587388;
*/
  background-color: #4a5461;
  color: #E3DFDF;
  font-size: small;
}
.header.section-wrapper,.footer.section-wrapper{
  background-color: #4a5461;
}

a:link, a:visited {
  text-decoration: none;
}
img {
  border: none;
}

#content img {
  border: solid #6075A0; /*#FFA54F; /*rgb(96, 117, 160);*/
border-width: 0 1px 1px 0;
/*
  border-width: 1px 3px 3px 1px;
*/
  background-color: #EEEEEF;
  padding: 4px;
}
.hidden {
  display: none !important;
}
.h-center{ text-align: center;}
.h-left{ text-align: left;}
.h-right{ text-align: right;}
.fl-left{float: left;}
.fl-right{float: right;}
.clear-left{clear: left;}
.clear-right{clear: right;}
.clear-both{clear: both;}
.clearfix:after{content: ""; display: block; clear: both;}

.debug-bg{ background-color: yellow !important;}
.debug-border{ border: 1px dashed brown !important;}


/*
Фоны
*/
.bg_hall{
  background-image: url('/images/presentation/2611.jpg');
}
.bg_fixed{
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}
.bg_deposit{
  background-image: url('/assets/templates/bkn/images/depositary.jpg');
}
.darker{
  background-color: rgba(0,0,0,0.6);
}
.lighter{
  background-color: rgba(255,255,255,0.3);
}

input {
  font-size: 12px;
}
input[type="text"], input[type="password"] {
  width: 170px;
}

#userblock {
  font-size: 90%;
  font-family: verdana,arial,helvetica;
  z-index: 9999;
  position: fixed;
  right: 0;
  top: 0;
  background-color: rgba(8,8,8,0.8);
  color: white;
  border-radius: 0 0 0 8px;
  padding: 10px 20px;
}
.ui-clickable {
  cursor: pointer;
}
[role=button].btn-close {
  width: 15px;
  height: 15px;
  background-image:url('/images/close.png');
  background-repeat:no-repeat;
  background-size: cover;
  position: fixed;
  right: 2px;
  top: 2px;
}
[role=button].btn-close:hover {
  background-image:url('/images/close-hover.png');
}
fieldset.input {
  padding: "5px";
}
#footer {
  background-color: #6075a0;
  color: #CCCCCC;
  text-align: center;
  padding: 3px 0;
}
h1 {
  display: block;
  text-align: center;
}
.last {
  margin-bottom: 0;
}
p   {
  text-indent: 0pt;
}

#imageflow div.imageflow_thumbnail {
  border-top: 1px solid dimgray;
  border-left: 1px solid dimgray;
  border-right: 1px solid dimgray;
  border-bottom: 1px solid black;
  margin-top: -1px;
  margin-left: -1px;
  margin-right: 1px;
  position: absolute;
}
#imageflow {
  width: 100%;
  max-width: 700px;
  min-height:100%;
  text-align: left;
  margin: 0 auto;
  position: relative;
  padding: 0px 20px;
}
#imageflow div#imageflow_images img {
  position:absolute;
  top:0px;
  border:none;
}
#imageflow div#imageflow_images {
  visibility:hidden;
}
#imageflow div#imageflow_loading{
  margin-top:164px;
  margin-bottom:200px;
  text-align:center;
  color: blue;
  width:100%;
}
#imageflow div#imageflow_loading img{
  margin-top:10px;
  position:relative;
}
#imageflow div#imageflow_captions{
  visibility: hidden;
  font-weight:bold;
  position:relative;
  text-align:center;
  color: yellow;
  height: 20px;
}
#imageflow div#imageflow_scrollbar{
  visibility:hidden;
  position:relative;
  border: 1px solid #6075A0;
  background-color: #CEE1EA; //blue;
  height: 4px;
}
#imageflow div#imageflow_slider {
  position:absolute;
  margin-top:-5px;
  margin-left:-7px;
  background-image:url(/images/M_images/slider_blue.png);
  background-repeat:no-repeat;
  width:14px;
  height:14px;
}
#imageflow div.imageflow_thumbnail {
  border-top: 1px solid dimgray;
  border-left: 1px solid dimgray;
  border-right: 1px solid dimgray;
  border-bottom: 1px solid black;
  margin-top: -1px;
  margin-left: -1px;
  margin-right: 1px;
  position: absolute;
}
.nowrap, .no-wrap{
  white-space: nowrap;
}
img { border: none;}
table, .table{ display: table; border-collapse: collapse;}
.row{ display: table-row;}
.cell{ display: table-cell;}
.cell, td, th{ padding: 5px;}


/*
Меню Кафе-Буффет
*/
.cb-menu-bg{background: url(/assets/templates/bkn/images/chief.jpg) no-repeat;background-attachment: fixed;background-position: 50px 200px;}
.cb-menu{}
.cb-menu .caption {}
.cb-daygroup .caption{text-decoration: underline;}
.cb-quantity{}
.cb-content{
  border-bottom: 1px dashed gray;
  margin-bottom: 5px;
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-content: stretch;
}
.cb-menu {  padding: 10px;}
.cb-content > div{ vertical-align: middle;}
.cb-content .cb-name.wrapper{  flex-grow: 2;}
.cb-content .cb-name.name{  font-size: x-large;}
.cb-content .cb-name.description{  font-size: small;}
.cb-content .cb-price.wrapper{
  width: 100px;
  min-width: 100px;
}
.cb-content .cb-price.price{  font-size: 18pt;}
.cb-content .cb-price.quantity{  font-size: smaller;}
.cb-content .thumbnail{
  width: 150px;
  min-width: 150px;
}

@font-face {
  font-family: CentureGothic;
  src: url(/bkn/CenturyGothic.woff);
  font-weight: normal;
}
@font-face {
  font-family: CentureGothic;
  src: url(/bkn/CenturyGothic-Bold.woff);
  font-weight: bold;
}
