html,
body {
    height: 100%;
}

nav.navbar {
    margin-bottom: 0px;
}

a.gallery-item img {
    width:  110px;
}

img.background {
  min-height: 100%;
  min-width: 640px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

@media screen and (max-width: 640px){
    img.bg {
        left: 50%;
        margin-left: -320px; 
    }
}

div#accordion.panel-group
{
    margin-top: 10px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

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

.footer {
    visibility: hidden;
    display: none;
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
    background-image: url(../imgs/photo-1516281717304-181e285c6e58.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #ffffff;
}

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

.th-line {
    max-width: 150px;
    min-width: 135px;
    overflow: auto;
    word-wrap: break-word;
}

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

a.victory_75 {
    margin-top: -30px;
    margin-bottom: 10px;
/*    display: block;*/
    display: none;
    width: 100%;
    height: 82px;
    background: url(http://kremlin.ru/static/img/svg/victory_logo.svg) no-repeat center #f12706;
    opacity: 1;
    /*position: fixed;*/
    top: 60px;
    left: 20px;
    z-index: 4;
}

div.water-control-index table tr td:nth-child(2){
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 19px;
}

@media only screen and (max-width: 730px){
    a.victory_75 {
        width: 100%;
        height: 60px;
        left: 0;
        background: url(http://kremlin.ru/static/img/svg/victory_logo.svg) no-repeat center #f12706;
        position: static;
    }
}

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

@media(max-width:865px) {
    #waterControlForm .attachments{
        margin-bottom: 20px;
    }
    
    #waterControlForm input#files-url {
        /*background-color: #008d4c;  Green */
        border: none;
        /*color: white;*/
        padding: 12px 24px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
    }
    
    #waterControlForm .btn{
        padding: 12px 24px;
    }
    
    .hideOnmobile{
        display: none;
    }
    
}

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

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