html,
body {
    height: 100%;
    font-family: "Times New Roman";
    font-size: 12pt;
}

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

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

.footer {
    //height: 40px;
    }
.footer div:first-child{
    padding-top: 10px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    }

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

.my_row {
    min-height: 30px;
    }
.my_row section {
    padding-top: 6px;
    padding-bottom: 6px;
    }
.no_li_style { padding-left: 10px;}
.no_li_style li {
    list-style: none;
}

.ui-datepicker {
    z-index: 100;
    background-color: #eee;
    border: 1px solid #bbb;
    }
.ui-datepicker-other-month { background-color: #f6f6f6; }
.ui-datepicker-week-end { background-color: #ffe7bf; }
.ui-datepicker-current-day { background-color: #b8dafb; }
.ui-datepicker-calendar td { border: 1px solid #ddd !important;}
.ui-datepicker-calendar td,.ui-datepicker-calendar th { border: 1px solid #ddd !important;}

.controller_state_0, .controller_state_1 {
    width: 16px;
    height: 16px;
    display: inline-block;
    border: solid 1px #ddd;
    border-radius: 8px;
    }
.controller_state_0 {
    background-color: darkred;
    }
.controller_state_1 {
    background-color: darkgreen;
    }
ul#left_menu li.active a {
    color: #fff !important;
    }

span.badge {
    float: right;
    background-color: #2e6da4;
    }
ul#left_menu li.active span.badge {
    background-color: #eee;
    color: #2e6da4;}


#main_menu {
    background: rgb(173,194,135);
    background: -moz-linear-gradient(180deg, rgba(173,194,135,1) 0%, rgba(100,163,30,1) 33%, rgba(78,131,27,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(173,194,135,1) 0%, rgba(100,163,30,1) 33%, rgba(78,131,27,1) 100%);
    background: linear-gradient(180deg, rgba(173,194,135,1) 0%, rgba(100,163,30,1) 33%, rgba(78,131,27,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#adc287",endColorstr="#4e831b",GradientType=1);
    color: white;
    border-color: rgba(200,200,200,1);
    border-width: 1px;
    border-style: solid;
    border-radius: 9px;
    -webkit-box-shadow: 0px 3px 1px 0px rgba(34, 60, 80, 0.13);
    -moz-box-shadow: 0px 3px 1px 0px rgba(34, 60, 80, 0.13);
    box-shadow: 0px 3px 1px 0px rgba(34, 60, 80, 0.13);

    }
#main_menu ul.nav li {
    padding: 7px 20px;
    margin: 10px 0px;
    border-left: 2px solid rgba(250,250,250,0.2);
    }
#main_menu div.navbar-header a {
    color: #fff;
    font-size: 24px;
    padding: 15px;
}
.navbar-toggle {
    padding:inherit;
    }
#main_menu ul.nav li:first-child {
    border-left: none;
}
nav a.nav-link {
    background: none !important;
    margin-left: 0px;
    padding: 0px;
    color: #fff;
    }
li.dropdown a.nav-link span {
    margin-left: 5px;
    }
a.dropdown-item {
    color: #fff !important;
    padding: 5px 5px 5px 15px;
    display: block;
    }

.khaki {
    color: #417b00;
}

h2 { margin-top: 0px;}


@media (min-width: 750px) {
    .dropdown-menu {
        background: #417b00;
        }
}

table.table th { background: #eee; }
table.table tr:nth-child(even) { background: #f6f6f6; }
table.table tr:nth-child(odd) { background: #FFF; }
small { font-size:12px; color: grey;}
.btn { margin: 20px 5px;}

.date-shield {
    line-height: 15px;
    background-image: url(/images/basis/news-shield.png);
    background-position: 0 4px;
    background-repeat: no-repeat;
    width: 75px;
    height: 34px;
    padding-left: 18px;
    display: table-cell;

}

.date-y {
    font-size: 14px;
    font-weight: bold;
    margin-top: -3px;
    color: #427c01;
    }

.date-dm {
    font-size: 11px;
    color: #333;
    }
.catalog-item {
    display: table-row;
    }
.catalog-item-text {
    display: table-cell;
    padding-bottom: 20px;
    }
ul.catlist {
    padding-left: 0px;
}

.catlist li{
    list-style: none;

    }
.catlist li a {
    color: #cc6601;
    text-decoration: underline;
    }
div.item-date {
    display: table-cell;
    width: 160px;
    }
div.item-details {
    display: table-cell;
    padding-bottom: 10px;

}

#content nav button {
    margin-top: 0px;
    margin-bottom: 0px;
    }
#content div.container {
    padding: 5px;
}
.dropdown-menu {
    z-index: 10000;
}