html,
body {
    height: 100%;
}
body {
  background: rgb(58, 61, 64) !important;
  background-attachment: fixed;
  background-size: cover;
}

#w2 {
  display: none;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    clear: both;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    margin-top: 50px;
    padding: 17px;
    background: rgba(0,0,0,1);
    width: 100%;
    clear: both;
    position:relative;
}

.footer .pull-right {
  display: block;
  float: none !important;
  width: 251px;
  height: 54px;
  font-size: 0;
  padding: 0;
  margin: 0;
  color: transparent;
  background: transparent url(/templates/pamyat/images/footer_logo.png) 50% 50% no-repeat;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/*--------*/
.head-block {
	position: relative;

}

.head-block .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
}
@media (min-width: 640px) {
  .head-block .row {
    flex-direction: row;
  }
}

.head-block .row::before,
.head-block .row::after {
  display: none;
}

.menu-block {
  background-color: #272b2f;
}

.menu-block .row::before,
.menu-block .row::after {
  display: none;
}

.menu-block .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 5px;
  padding-bottom: 5px;
}

.menu-block__item {
  display: block;
  padding: 10px 15px;
  color: #ddd;
  margin-left: 2px;
  font-size: 16px;
  text-decoration: none;
}

.menu-block__item:first-child {
  color: #fff;
  background-color: #d04033 !important;
}

.menu-block__item:hover {
  text-decoration: none;
  background-color: #c25555;
  color: #fff;
}



.logo-image a {
    display: block;
    width: 300px;
    height: 60px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background-size: contain;
    background-image: url(/templates/pamyat/images/logo.png);
    background-repeat: no-repeat;
    background-position: 0 center;
}

.logo-image a img {
  display: none;
}

.min-height {
	background: #fff none repeat scroll 0 0;
	height: 100%;
	min-height: 600px;
	}
@media(min-width: 992px) {
.min-height {
	height: 100%;
	min-height: 800px;
	}
}
div.logo-image {
    float: left;
    min-width: 0;
    margin-bottom: 10px;
}

@media (min-width: 640px) {
  div.logo-image {
      padding-right: 15px;
      margin-bottom: 0;
  }
}

div.logo-image img {
    height: 140px;
    max-height: 160px;
    max-width: 100%;
}

div.logo-image a {
    color: #3d4045;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 990px) {
  .logo-img {
    display: none;
  }
}
.btns {
    float: right;
    margin: 20px -5px 0;
}
.btn a {
    display: inline-block;
    margin: 0 5px;
}
.btn.btn-warning {
    background-color: #a52500;
    border: 0 none;
    box-shadow: 0 2px 0 0 #d54d0d, 0 1px 0 0 rgba(225, 225, 225, 0.2) inset;
}.btn.btn-warning:hover {
    background-color: #c55556;
}
.btn {
    padding: 8px 15px !important;
    margin-bottom: 5px !important;
}
.app-txt {
	font-size: 18px;
	/*font-weight: 600;*/
	color: #a52500;
	text-shadow: 1px 1px 0 #92695d;
	text-transform: uppercase;
	text-align: center;
	padding-bottom: 20px;
}
.h1,.h2,.h3 {
	text-transform: uppercase;
	text-align: center;
	padding-bottom: 30px;
  background-image: -webkit-linear-gradient(83deg, #000, #a5a3a3, #bdbdbe, #a08a38, #fffbfb, #a59696, #000);
  background-image: linear-gradient( 7deg,#000, #a5a3a3, #bdbdbe, #a08a38, #fffbfb, #a59696, #000);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #222;
  -webkit-background-clip: text;
}


.footer .rights {
	font-size:10px;
	text-decoration: none;
}
.footer .rights a{
padding-left: 10px;
}


.telhead {
  font-size: 20px;
}

.telhead a {
  white-space: nowrap;
  color: #d6d6d6;
}

@media (min-width: 991px) {
.telhead {
    position: relative;
	font-size: 24px;
    text-align: right;
	}
.telhead a {
	text-decoration: none;
	font-weight: 700;
	transition: all 0.3s ease 0s;
}
.telhead a:hover {
	color: #FFF;
}
}

@media (max-width: 990px) {
.telhead {
	float: none;
    position: relative;
    text-align: center;
	}
.telhead a {
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}
.telhead a:hover {
	color: #dbdbdb;
}
}


.padding-70 {
	margin-top: 70px;
	margin-bottom: 70px;
	padding: 10px 5px 20px;
}
.padding-15 {
	padding-bottom: 15px;
}

.padding-top-30 {
	margin-top: 30px;
}

.bg-gray{
background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 40%, rgba(214,214,214,1) 100%); /* ff3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,1)), color-stop(40%, rgba(242,242,242,1)), color-stop(100%, rgba(214,214,214,1))); /* safari4+,chrome */
background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 40%, rgba(214,214,214,1) 100%); /* safari5.1+,chrome10+ */
background: -o-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 40%, rgba(214,214,214,1) 100%); /* opera 11.10+ */
background: -ms-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 40%, rgba(214,214,214,1) 100%); /* ie10+ */
background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 40%, rgba(214,214,214,1) 100%); /* w3c */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#D6D6D6',GradientType=1 ); /* ie6-9 */
}

hr {
    border-top: 2px solid #000;
}

.adr {
	font-style: italic;
}
.adr .tel,  .adr .map {
    padding-bottom: 10px;

}
.navbar-header .navbar-toggle, .navbar-collapse .navbar-nav {
	display:none;
}
