html,
body {
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    color: #337ab7;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
    background: url("../img/main-background.jpg") no-repeat;
    background-color: #E4F5FD;
    background-size: 100% auto;
}

.wrap > .container.no-container-padding {
    padding: 0 15px 20px;
}

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

.footer {
    border-top: 2px solid orangered;
    height: 60px;
    background: url("../img/footer-background.png");
    background-size: auto 60px;
    padding-top: 20px;
}

.footer div {
    background: #E4F5FD;
}

.page-header {
    margin-top: 0;
}

.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: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\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 th {
    white-space: nowrap;
}

.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;
    }
}

/* main layout */
.main-layout_logo {
    height: 200px;
    width: 100%;
    background: url("/img/header.png") no-repeat;
}

.main-layout_logo .header-name {
    padding-top: 40px;
    padding-left: 200px;
    color: #337ab7;
    font-size: 45px;
    font-weight: 800;
    text-shadow: orangered 4px 0 10px;
    text-align: center;
}

/* Photo gallery */
#photo_gallery div[data-key], #photo_gallery_items div[data-key] {
    display: inline-block;
    margin: 0 15px 15px 15px;
}

.photo-album-card {
    display: inline-block;
}

.photo-album-card a, .photo-album-card a:hover {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.photo-album-card img, .photo-item-card img {
    max-height: 150px;
    width: auto;
}

.photo-album-card .album-name {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    bottom: 4px;
    right: 4px;
    left: 4px;
    padding: 3px 10px;
}

.photo-album-card .shadow-block {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    z-index: 2;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5) inset;
}

.photo-item-card {
    position: relative;
}

.photo-item-card .download-orig-image-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: url("../img/download_icon.png") no-repeat;
}

/* videogallery */
#video_gallery div[data-key], #video_gallery_items div[data-key] {
    display: inline-block;
    margin: 0 15px 15px 15px;
}

.video-album-card {
    display: inline-block;
}

.video-album-card a, .video-album-card a:hover {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.video-album-card img, .video-item-card img {
    max-height: 150px;
    width: auto;
}

.video-album-card .album-name {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    bottom: 4px;
    right: 4px;
    left: 4px;
    padding: 3px 10px;
}

.video-album-card .shadow-block {
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    z-index: 2;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5) inset;
}

.video-item-card {
    position: relative;
}

.video-item-card img.play-button {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 35%;
    left: 30px;
}

.m-t-15 {
    margin-top: 15px;
}

.menu-style:before {
    content: "";
    background: url("/img/povar-malchik.png") no-repeat;
    background-size: 160px;
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}
.menu-style:after {
    content: "";
    background: url("/img/povar-devochka.png") no-repeat;
    background-size: 160px;
    width: 100%;
    height: 200px;
    position: absolute;
    bottom: 0;
    left: 70%;
    opacity: 0.5;
}

.page-content {
    background: rgba(255, 255, 255, 0.8);
}
