body {
	background:#ECE6AB;
	margin:5px;
}

/* page */
#outer-wrap {
	position: relative;
	overflow: hidden;
	width: 100%;
}

#inner-wrap {
	position: relative;
	width: 100%;
}

.canvas {
	box-shadow:0 0 60px rgba(0,0,0,0.5);
	box-sizing:border-box;
}

.container {
	padding-right:0;
	padding-left:0;
}

.container .container {
	width:100%;
}

/* above top */

.above-top {
	background:#744C0B;
	color:#fff;
	padding:20px;
}

.above-top a {
	color:#fff;
}

.top-contacts {
	color:#DDAE62;
}

.top-contacts a {
	color:#DDAE62;
}

/* top */
.top {
	background:#D2AE51;
}

.top .navbar-toggle .icon-bar {
	background:#fff;
}

.top button.navbar-toggle {
	border:1px solid #fff;
	float:left;
	margin-left:10px;
}

.top .navbar-static-top {
	border:0;
	margin-bottom:0;
}

.top .nav a {
	color:#333;
}

.top .nav a:focus,
.top .nav a.active {
	background:#b99948;
}

.top .nav a:hover {
	color:#fff;
	background:#5e2205;
}

.top .nav li {
	float:left;
}

.nav-pills li a {
	border-radius:0;
}

/* under top */
.undertop {
}

.page-title {
	font-weight:bold;
	padding:15px;
	background:#eee;
}

.site-title {
	padding:0;
	color:#fff;
}

.site-title span {
	font-size:22px;
	display:inline-block;
}

.undertop .banner {
	padding:0;
	overflow:hidden;
	background: #ddd;
	margin-top:20px;
}

.gray-block {
	background:#ddd;
	height:250px;
}

.contacts {
	background:#D2AE51;
	min-height:250px;
	margin-right:20px;
	margin-bottom:20px;
	color:#1f1403;
	padding-bottom:20px;
}

.contacts a {
	color:#4f3407;
	font-weight:bold;
}

.banner img.banner-img {
	width:100%;
}

/* middle */
.middle {
	background:#CACACA;
}

.middle .news {
	padding:20px;
	font-size:20px;
	text-align:center;
}

.content {
	display:block;
	margin-left:20px;
	margin-right:20px;
}

h1.title {
	font-size:20px;
	background:#5E2205;
	color:#fff;
	padding:7px;
	padding-left:20px;
}

h3.title {
	font-size:20px;
	background:#744C0B;
	color:#fff;
	padding:7px;
	padding-left:20px;
}

/* footer */
.footer {
	background:#744C0B;
	padding-top:15px;
	padding-bottom:25px;
	color:#fff;
}

.footer .nav {
	margin-bottom:10px;
	margin-left:10px;
}

.footer .nav a {
	color:#fff;
	font-size:12px;
	font-weight:bold;
	padding:9px;
}

.footer .nav a:focus,
.footer .nav a:hover {
	color:#fffbd7;
	background:transparent;
}

.footer .copyright {
	margin-top:10px;
}

.footer .social {
	display:inline-block;
	margin-left:18px;
	margin-top:5px;
	text-align:center;
}

.footer .txt {
  line-height:1.8;
  margin-left:20px;
}

@media (max-width: 991px) {
	.footer .sizer {
		width:100%;
	}
}

/* responsive behaviors */
@media (max-width: 991px) {
	.top .nav li {
		float:none;
	}

	.top .nav li a {
		padding-top:10px;
		color:#333;
	}
	
	.top .nav li a.active {
		background:#ddd;
	}

	.top .nav li a:hover {
		background:#ddd;
		color:#444;
	}

	.top #nav {
		height:100%;
		background:#eee;
	}

	.top .navbar-toggle {
		display:block;
	}

	.ribbon-banner {
		width:100%;
	}

	.contacts {
		margin-right:0;
		min-height:100px;
	}

	.content {
		min-height:100px;
	}
}

@media (max-width: 1023px) {
	.footer .nav {
		display:none;
	}

	.footer .social {
	  display: block;
	  margin-left: auto;
	  margin-right: auto;
	  float: none !important;
	}

	.footer .pull-left {
	  float: none !important;
	}

	.footer .txt {
	  float: none !important;
	  display:block;
	  text-align:center;
	  line-height:1.8;
	  margin-top:10px;
	  margin-left:0;
	}
}

@media (max-width: 767px) {
	.undertop {
		height:auto;
	}

	.site-title span {
		margin-top:5px;
	}
}

.slogan {
	background:rgba(0, 0, 0, 0.5);	
	display:inline-block;
	font-size:22px;
	font-weight:bold;
	position:absolute;
	padding:10px;
	min-width:289px;
	bottom:2%;
	right:0;
	color:#fff;
}
