html,
body {
    height: 100%;
    font-size: 16px;
}

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

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e154";
}

.sort-numerical a.desc:after {
    content: "\e153";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.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;
}
.nav li.active {
	font-weight:bold;
}
#main-nav a{
	color:black;
}
#main-nav button{
	color:black;
	font-size:16px;
}
#main-nav .navbar-nav a:hover,#main-nav .navbar-nav button:hover{
	color:#ddd;
	background-color:#777;
}
@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;
}
.nav .glyphicon,.glyphicon.company-state{
	top:3px;
}

/***************************************/
@media (min-width: 1300px){
	.container{
		width: 90%;
	}
}
.js {
	display: none;
}
.glyphicon.spinning {
	animation: spin 1s infinite linear;
	-webkit-animation: spinwk 1s infinite linear;
}
@keyframes spin {
	from { transform: scale(1) rotate(0deg); }
	to { transform: scale(1) rotate(360deg); }
}
@-webkit-keyframes spinwk {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}
.filter-group > legend {
	font-weight: bold;
	font-size: 150%;
	margin-bottom:10px;
}
.filter-group{
	margin-bottom:6px;
}

/* inverse dropdown */
.dropdown-menu {
	background-color: #f8f8f8;
	border-color: #080808;
}

.dropdown-menu > li > a {
	color: #9d9d9d;
}

.dropdown-menu > li > a:hover, .dropdown-menu > .active > a:hover {
	color: #fff;
	background-color: #000;
}
.dropdown-menu > .active > a {
	background-color: #111;
}

.dropdown-menu > .divider {
	background-color: #000;
}

/* hint popup */

.hint-pop {
	position: relative;
	display: inline-block;
}

.hint-pop > p.help-block {
	font-size: 14px;
	font-family:"Helvetica Neue",Helvetica, Arial,sans-serif;
	line-height:18px;
	position: absolute;
	z-index: 3;
	visibility: hidden;
	display: block;
	background-color: #2c3c5e;
	border-radius:10px 10px 0px 10px;
	color: white;
	padding: 10px;

	min-width: 320px;
	width: fit-content;
	bottom: 100%;
	right: 50%;
	text-align:center;

	opacity: 0;
	transition: opacity .5s;
}

.hint-pop-right > p.help-block {
	border-radius:10px 10px 10px 0px;
        left: 50%;
}

@media(max-width:767px) {
	.hint-pop > p {
		min-width: 180px;
	}
}

.hint-pop > p::after {
	z-index: 3;
	content: " ";
	position: absolute;
	top: 100%;
	right: 0%;
	border: 0px;
	border-top: 10px solid #2c3c5e;
	border-left: 10px solid #ff000000;
}

.hint-pop-right > p::after {
	left: 0%;
        right: 100%;
	border-left: 0px;
	border-right: 10px solid #ff000000;
}

.hint-pop:hover > p {
	visibility: visible;
	opacity: 1;
}



/*	generic pulldown */

.pulldown {
	cursor:pointer;
	display:block;
	list-style:none;
}

.pulldown a, .pulldown button {
	text-decoration:none;
	width: inherit;
	height:inherit;
	text-align:left;
	border: none;
}

.pulldown ul {
	position: absolute;
	z-index: 99;
	padding:0;
	display: none;
	list-style:none;
}

.pulldown ul li {
	border:1px solid grey;
	border-bottom: 0px;
}

.pulldown ul li:last-child{
	border-bottom: 1px solid grey;
}

.pulldown:hover ul {
	display: block;
}

.pulldown .dropdown-menu li {
	height:32px;
	font-size:16px;
}

/* lang pulldown */

#lang {
	float:left;
	text-transform: capitalize;
	width: 90px;
}

#lang a, #lang button {
	color:white;
	background-repeat: no-repeat;
	background-position: 7px 11px;
	padding-left: 30px;
	background-color: #222;
}

#lang ul li {
	width: 110px;
}

#lang ul button:hover {
	background-color: black;
}

.th-right {
	text-align: right;
}

.menu-flag{
	position:relative;
	bottom:1px;
	right:5px;
}
.img-flag{
	position:relative;
	bottom:2px;
}
.revision-current{
	border-left:5px solid #84DC5A;
}
.revision-old{
	border-left:5px solid #F3C512;
}
.link-old{
	color:#F3C512;
}
.search-criteria{
	font-size:20px;
}
