html,
body {
    height: 100%;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.95em;
    color: #606870;
}

h1, h2, h3, h4 {
	font-family: Palatino, serif;
	color: #102028;
}

h1 {
	font-weight: bold;
	font-size: 2.0em;
}

h2 {
	font-weight: bold;
	font-size: 1.6em;
	margin-top: 1.2em;
	margin-bottom: 0.6em;
}

h3 {
	font-size: 1.4em;
	line-height: 130%;
	margin-top: 1em;
}

h4 {
	font-size: 1.4em;
	font-style: italic;
	line-height: 130%;
	margin-top: 0.8em;
	margin-bottom: 1em;
}

ul {
	padding-left: 1.3em;
}

li {
	padding-left: 0.5em;
}

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

.navbar-fixed-top {
	background-color: #fff;
	border-bottom: 1px solid #a8b0b0;
}

#logo {
	padding: 20px 0;
	width: 122px;
}

.contact {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 0.7em;
}

#telephone {
	margin-top: -6px;	
	width: 16px;
}

#portrait {
	float: left;
	margin-left: -70px;
	margin-top: 15px;
	width: 60px;
	border: 1px solid #a8b0b0;
  	border-radius: 50%;
  	display: inline-block;
}

.wrap > .content {
    padding: 105px 15px 20px;
}

.carousel-indicators {
	list-style: none;
}

.carousel-indicators li::after {
	position: absolute;
	bottom: -10px;
	left: 0;
	display: inline-block;
	width: 100%;
	height: 10px;
	content: "";
}

.carousel-indicators li::after {
	position: absolute;
	bottom: -10px;
	left: 0;
	display: inline-block;
	width: 100%;
	height: 10px;
	content: "";
}

*, ::after, ::before {
	box-sizing: border-box;
}

.carousel-indicators li {
	position: relative;
	-webkit-box-flex: 0;
	flex: 0 1 auto;
	width: 30px;
	height: 6px;
	margin: 0 3px;
	text-indent: -999px;
	background-color: rgba(255,255,255,.5);
}

.carousel-indicators .active {
	position: relative;
	-webkit-box-flex: 0;
	flex: 0 1 auto;
	width: 30px;
	height: 6px;
	margin: 0 3px;
	text-indent: -999px;
	background-color: rgba(255,255,255);
}

.carousel-caption {
    top: 5px;
}

.carousel-caption .headline {
	min-height: 120px;
	padding: 2px;
	background-color: rgba(224,208,192,.7);
	text-shadow: rgba(0,0,0,0.9) 0px 1px 4px;
	border-radius: 6px;
}

.carousel-caption h1 {
    font-size: 1.2em;
    margin-bottom: 0.4em;
}

.carousel-caption h2 {
	color: rgba(255,255,255);
	font-style: italic;
    font-size: 0.8em;
    margin-top: 0.4em;
}

img.partner {
	width: 150px;
	margin-right: 20px;
}

.footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding: 20px 0;
    margin-top: 30px;
}

.jumbotron {
	padding: 0;
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14xp 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;
}

#privacy-statement ol {
	margin-left: 1.5em;
	padding-left: 0;
	counter-reset: item;
}

#privacy-statement ol>li {
	margin-left: 1.5em;
	padding-left: 0;
	counter-increment: item;
	list-style: none inside;
	position: relative;
}

#privacy-statement ol>li:before {
	content: "(" counter(item) ")";
	position: absolute;
    left: -2em;
}

@media (min-width: 768px) {
	
	#logo {
		width: 184px;
	}
	
	#portrait {
		width: 90px;
		margin-left: -110px;
	}
	
	.contact {
		font-size: 1.0em;
	}
	
	#telephone {
		width: 24px;
	}
	
	.wrap > .content {
		padding: 140px 15px 20px;
	}
	
	.col-lg-6, .col-sm-6 {
		padding: 0 80px;
	}
	
	.carousel-caption h1 {
    	font-size: 2.4em;
    	margin-bottom: 0.4em;
	}
	
	.carousel-caption h2 {
		color: rgba(255,255,255);
		font-style: italic;
    	font-size: 1.6em;
    	margin-top: 0.4em;
	}
}
