/*
 * Color variables declaration. Note: Older browsers like IE can't use variables, so please use the values instead
 */
:root {
  --esv-primary-color: #074EA2;
  --esv-secondary-color: #f9ea00; /* 249, 234, 0 in .navbar-toggler-icon SVG */
  --esv-dark-color: #074EA2;
  --esv-bright-text-color: #ffffff;
  --esv-dark-text-color: #074EA2;
}

/*
 * General text settings
 */
body {
  color: #074EA2;
}

h1 {
  font-weight: 400 !important;
}

h2 {
  font-weight: 350 !important;
}

h3 {
  font-weight: 300 !important;
}

/*
 * General page layout
 */
html {
  position: relative;
  min-height: 100%;
  padding-bottom: 70px;
}

body {
  width: 100%;
  margin-bottom: 60px; /* Margin bottom by footer height */
  background: url('../images/goldbg.jpg');
  background-repeat: repeat;
}

.mainsection .mainsection-element.top {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	padding-top: 15px;
}

.mainsection .mainsection-element.bottom {
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.mainsection-element {
	background: white;
	border: 1px solid white;
	border-radius: 10px;	
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.30)!important;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  background-color: #074EA2;
}

.page {
  margin-top: 25px;
  margin-bottom: 25px;
  display: table;
  width: 100%;
}

.sidebar {
	background: white;
	border: 1px solid white;
	border-radius: 10px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.sidebar-large h2 {
	text-align: center;
}

.sidebar-large {
  width: 200px;
  max-width: 200px;
  vertical-align: top;
  padding-left: 5px;
  padding-top: 15px;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.30)!important;
}

.sidebar-small {
  padding-left: 15px;
  width: 100%;
  margin-top: 15px;  
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}
/*
 * Departments image grid. Note: Department images must be 190x190px!
 */
.images-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: center;
}

.images-grid-item {
  position: relative;
  width: 145px;
  height: 145px;
  border: 5px solid transparent; /* Flex vs padding/margin... So let's use a border instead */
  overflow: hidden;
}

.images-grid-item-small {
  position: relative;
  width: 145px;
  height: 145px;
  border: 5px solid transparent; /* Flex vs padding/margin... So let's use a border instead */
}

.images-grid-item-medium {
  position: relative;
  width: 180px;
  height: 180px;
  border: 5px solid transparent; /* Flex vs padding/margin... So let's use a border instead */
}

.images-grid-item-large {
  position: relative;
  width: 210px;
  height: 210px;
  border: 5px solid transparent; /* Flex vs padding/margin... So let's use a border instead */
}

.images-grid-item-small .text {
  font-size: 18px;
}

.images-grid-item-medium .text {
  font-size: 18px;
}

.images-grid-item-large .text {
  font-size: 25px;
}

.images-grid-item.active {
  position: relative;
  border: 5px solid; /* Flex vs padding/margin... So let's use a border instead */
  border-color: #1E4FA4;
}

.images-grid-item img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  transition: transform .5s ease;
}

.images-grid-item:hover img {
    transform: scale(1.1);
}


.images-grid .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #074EA2;
}

.images-grid .images-grid-item:hover .overlay {
  opacity: 0.75;
}

.images-grid .text {
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.img-intro-left {
	text-align: center;
	padding-bottom: 10px;	
    overflow: hidden;
}

.img-intro-left img{
	max-width: 100%;
	max-height: 175px;
	border-radius: 7px;
	box-shadow: 0 5px 3px rgba(0,0,0,.30)!important;
    transition: .3s ease-in-out;
}

.img-intro-left img {
  transition: transform .5s ease;
}

.img-intro-left:hover img {
    transform: scale(1.1);
}

/*
 * Nav bar and footer
 */
.navbar {
  background-color: #074EA2;
  color: #ffffff;
}

.navbar a {
  color: #ffffff;
}

.navbar .navbar-brand {
  color: #f9ea00;
}

.navbar .active {
  color: #f9ea00;
}

.navbar a:hover {
  color: #f9ea00;
}

.navbar-toggler i {
  color: #f9ea00;
}

footer {
  background-color: #074EA2;
  color: #f9ea00;
}
/*
 * Articles
 */
article {
  margin-top: 25px;
}

article img, section.blog img {
	max-width: 100%;
	border-radius: 7px;
}

.phocamaps {
	max-width: 100%;
}

article .toolbar {
  display: flex;
  flex-wrap: nowrap;
}

article .toolbar .btn-toolbar {
  margin-left: auto;
}

article h2 {
	font-size: 1.5rem;
}
/*
 * Phoca Download
 */

/* Remove the border from the category title */
.pd-ctitle {
  border: none !important;
  background: none !important;
}

/* Remove the categories button */
.pdtop {
  display: none !important;
}

/* Remove the pagination and sorting */
.pgcenter {
  display: none !important;
}

h3.pd-ctitle {
  display: none !important;
}

/*
 * GDPR plugin
 */
.cc-revoke {
  display: none !important;
}

/*
 * JEM plugin (events)
 */

ul.jemmod {
  list-style-type: none;
  padding-left: 0 !important;
}

ul.jemmod li {
  padding-bottom: 8px;
}

/*
 * Login module
 */

.login-button {
  margin-top: 8px;
  margin-bottom: 20px;
  margin-left: auto;
}

.items-row {
	display: flex;
	flex-flow: row wrap;
}

.cols-2 article {
	flex-grow: 1;
	flex-basis: 50%;
}

img {
	image-rendering: -moz-crisp-edges;         /* Firefox */
	image-rendering:   -o-crisp-edges;         /* Opera */
	image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
	image-rendering: crisp-edges;
	-ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
}

.items-leading article h2:first-of-type {
	text-align: center !important;
}

.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

.alignleft {
    float: right;
    margin: 0 0 1em 1em;
}