html,
body {
    height: 100%;
}

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

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

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

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

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

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

.button, .button_ua, .button_animate, .button_animate_grey {
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    color: #333333;
    padding: 4px 6px 4px 6px;
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #333333;
    border-bottom: 1px solid #333333;
    border-left: 1px solid #CCCCCC;
}

.button {
    background-color: #EEEEEE;
}

.button_ua {
    background-image: linear-gradient(to right, rgba(255,255,255, 0.3) 0 100%), url('https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Flag_of_Ukraine.svg/1920px-Flag_of_Ukraine.svg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.button_animate {
  -webkit-animation: BUTTON-ANIMATION 1s infinite;  /* Safari 4+ */
  -moz-animation: BUTTON-ANIMATION 1s infinite;  /* Fx 5+ */
  -o-animation: BUTTON-ANIMATION 1s infinite;  /* Opera 12+ */
  animation: BUTTON-ANIMATION 1s infinite;  /* IE 10+, Fx 29+ */
}

.button_animate_grey {
  -webkit-animation: BUTTON-ANIMATION-GREY 1s infinite;  /* Safari 4+ */
  -moz-animation: BUTTON-ANIMATION-GREY 1s infinite;  /* Fx 5+ */
  -o-animation: BUTTON-ANIMATION-GREY 1s infinite;  /* Opera 12+ */
  animation: BUTTON-ANIMATION-GREY 1s infinite;  /* IE 10+, Fx 29+ */
}

@-webkit-keyframes BUTTON-ANIMATION {
  0%, 25% {
    background-color: rgb(255, 192, 0);
    }
  26%, 50% {
    background-color: rgb(255, 255, 0);
  }
  51%, 75% {
    background-color: rgb(144, 209, 79);
    }
  76%, 100% {
    background-color: rgb(3, 174, 243);
  }
}

@-webkit-keyframes BUTTON-ANIMATION-GREY {
  0%, 25% {
    background-color: rgb(245, 245, 245);
    }
  26%, 50% {
    background-color: rgb(218, 218, 218);
  }
  51%, 75% {
    background-color: rgb(192, 192, 192);
    }
  76%, 100% {
    background-color: rgb(165, 165, 165);
  }
}

a.button,
a.button:hover,
a.button:visited,
a.button_ua,
a.button_ua:hover,
a.button_ua:visited,
a.button_animate,
a.button_animate:hover,
a.button_animate:visited,
a.button_animate-grey,
a.button_animate-grey:hover,
a.button_animate-grey:visited {
    text-decoration: none;
    color: #333333;
}

a.button:hover {
    background-color: #E0E0E0;
}
