.jumbotron {
	background-image:
		url(https://live.staticflickr.com/5199/coverphoto/81583340@N06_h.jpg?1401996965#81583340@N06);
	color: white;
	background-position: center;
	padding-top: 120px;
	padding-bottom: 0px;
}

.jumbotron .btn-primary {
	background-image: #845ac7;
	border-color: #845ac7;
}

.jumbotron .btn-primary:hover {
	background: #7646c1;
}

.jumbotron p {
	color: #d9ccee;
	max-width: 75%;
	margin: 1em auto 2em;
}

.navbar+.jumbotron {
	margin-top: -20px;
}

.jumbotron .lang-logo {
	display: block;
	background: #B01302;
	border-radius: 50%;
	overflow: hidden;
	width: 100px;
	height: 100px;
	margin: auto;
	border: 2px solid white;
}

.jumbotron .lang-logo img {
	max-width: 100%;
}

.jumbotron .container {
	background: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .03) 8%,
		rgba(0, 0, 0, .11) 21%, rgba(0, 0, 0, .61) 78%, rgba(0, 0, 0, .7) 95%,
		rgba(0, 0, 0, .7));
}

.modal-dialog {
	max-width: 1200px;
	min-width: 500px;
	margin: 1.75rem auto;
}

.detailImage {
	max-width: 100%;
}

.armyimage {
	max-height: 250px;
    overflow: hidden;
}

.armyimage img.card-img-top {
	width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (min-width: 1000px) {
	div.armyimage {
		max-height: 180px;
	}
}

a {
	color: grey;
	text-decoration: none;
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	color: tomato;
}

a:active {
	text-decoration: none;
}

#unitContainer a {
	cursor: pointer;
}

.card {
	margin-bottom: 20px;
}

img.rtk_thumbnail {
	width: 75px;
}

img.rtk_icon {
	width: 50px;
}

.armyimage img.rtk_icon_badge,.imageGrid img.rtk_icon_badge {
    position: absolute;
	max-width: 100px;
	max-height: 50px;
	width: auto;
	height: auto;
    left: 15px;
    top: 15px;
}

.modal-body img.rtk_icon_badge {
    position: absolute;
	max-width: 250px;
	max-height: 150px;
	width: auto;
	height: auto;
    left: 30px;
    top: 30px;
    z-index: 100;
}

.imageGrid .overlay img.rtk_icon {
	width: 30px;
	margin-top: 0%;
}

.chart-canvas {
	padding-bottom: 20px;
}

/* Chapter Layout */
body.chapter {
	background-image: url("/black-nature-green_.jpg");
	background-position : center;
	font-family: 'Benne', serif;
	background-attachment: fixed;
	background-position: center;
}

.uc {
	text-transform: uppercase;
}

.chapter .fact i 
{
	margin: 6px 2px 6px 2px;;
}

.chapter .fact span
{
    bottom: 2px;
    left:5px;
    position: relative;
}

.chapter .container-lg {
	margin-top: 25px;
	max-width: 1800px;
}

.chapter .card div.armyimage {
	margin: 10px;
	border: double rgb(25, 25, 25);
}

.chapter div.armyimage img {
	width: 100%;
}

.chapter .card hr {
	margin: 0px;
	margin-bottom: 5px;
	color: grey;
}

.chapter .card ul {
	list-style-type: none;
	text-align: left;
}

.chapter .card {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	text-align: center;
	border: double rgb(25, 25, 25);
	background-image: url("/paper.jpg");
	color: rgb(25, 25, 25);
}

.chapter .card li i, .legend li i {
	width: 25px;
}

.chapter .title {
	color: rgb(25, 25, 25);
	font-size: 18px;
}

.chapter button {
	border: none;
	outline: 0;
	display: inline-block;
	padding: 8px;
	color: white;
	background-color: #000;
	text-align: center;
	cursor: pointer;
	width: 100%;
	font-size: 18px;
}

.chapter .headline {
	color: white;
}

ul.legend {
	color: white;
	list-style-type: none;
}

.chapter a {
	text-decoration: none;
	font-size: 22px;
	color: black;
}

.chapter button:hover, a:hover {
	opacity: 0.7;
}

.chapter .fact {
	text-align: center;
	background-color: black;
	color: white;
}

.status-badge {
	top: 15px;
	left: 15px;
	vertical-align: middle;
	text-align: center;
	height: 18px; width : 23px;
	background-color: #ccc2b8;
	width: 23px;
}

.imageGrid .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.imageGrid .column {
  flex: 20%;
  max-width: 20%;
  padding: 0 4px;
}

.imageGrid .column img.image {
  margin-top: 8px;
  max-width: 100%;
  max-height: 250px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .imageGrid .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .imageGrid .column {
    flex: 100%;
    max-width: 100%;
  }
}

div.container-xxl {
	margin:20px;
}

.imageGrid * {box-sizing: border-box;}

/* Container needed to position the overlay. Adjust the width as needed */
.imageGrid .container {
  position: relative;
  width: 50%;
  /*max-width: 338px;*/
}

/* Make the image to responsive */
.imageGrid .image {
  display: block;
  width: 100%;
  height: auto;
}

/* The overlay effect - lays on top of the container and over the image */
.imageGrid .overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100%;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.imageGrid .container:hover .overlay {
  opacity: 1;
}
