html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.nav-menu {
    background-color: #9b222b;
    color: #ffffff !important;
}

a[class*="ctx"] {
    color: #9b222b !important;
}

.nav, a {
    color: #ffffff !important;
}

.header-bg {
    background-image: url('/static/hbg.png');
    color: #ffffff;
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-color: #ffffff;
}

.nav-box {
    margin-top: 138px;
    margin-bottom: 138px;
}

.imgGray {
    -webkit-filter: grayscale(100%) brightness(400%);
    -moz-filter: grayscale(100%) brightness(400%);
    -ms-filter: grayscale(100%) brightness(400%);
    -o-filter: grayscale(100%) brightness(400%);
    filter: grayscale(100%) brightness(400%);
    filter: gray;
}

.carousel-box {
    position: static;
    right: 0;
    padding-bottom: 138px;
    left: 0;
    padding-top: 138px;
    z-index: 15;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: left;
    justify-content: left;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style: none;
}

.carousel-box > div > img {
    -webkit-filter: opacity(.5);
    -moz-filter: opacity(.5);
    -o-filter: opacity(.5);
    filter: opacity(.5);
}

.carousel-box > div[class*="active"] > img {
    -webkit-filter: opacity(1);
    -moz-filter: opacity(1);
    -o-filter: opacity(1);
    filter: opacity(1);
}

.imgGray:hover {
    -webkit-filter: grayscale(0);
    -moz-filter: grayscale(0);
    -o-filter: grayscale(0);
    filter: grayscale(0);
}

.bps {
    background-image: url('/static/i-bg2.png');
    color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    background-color: #063060;
}

.footer {
    background-color: #9b222b;
    padding-top: 20px;
    color: #ffffff;
    font-size: 12px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.ug-title {
    background-color: #A30014;
    color: #FFF;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    padding: 10px;
}

.ug-unit {
    background-color: #FDD000;
    color: #A01E23;
    font-size: 20px;
    border-top: 1px solid #AA3327;
    font-weight: 800;
    text-align: center;
    padding: 10px;
}

.ug-unit a {
    color: #A01E23 !important;
}

.ug-unit[class*="active"] {
    background-color: #FFE364;
}

.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;
}
.text-main {
    color: #a94442;
}
.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;
}