/* Header and Footer */
html {
  position: relative;
  min-height: 100%;
}
body {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  /* Margin bottom by footer height */
  margin-bottom: 75px;
}

h1 {
  color: #2F318D;
  text-transform: uppercase;
  font-weight: 700;
}
h2 {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 15px;
}
h2 + p > a.btn {
  margin-top: 10px;
}
h3 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 10px;  
}

a {
  color: #2F318D;
}
a:hover {
  color: #DA3832;
}

p .img-fluid {
  border-bottom-right-radius: 2rem;
}

/* Navbar */
.navbar {
  --bs-navbar-color: #2F318D;
  --bs-navbar-hover-color: #DA3832;
}

/* Boxes */
.min-height {
  min-height: 250px;
}
.box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /*border: 1px solid #ddd;*/
  padding: 20px;
  text-align: left;
  color: inherit;
  text-decoration: none;
  transition: background 0.3s ease;
  height: 100%;
  border-bottom-right-radius: 2rem;
  background-color: #f2f2f2; /* fallback */
}

.box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  opacity: 0.2;
  transition: filter 0.6s ease, opacity 0.6s ease;
  z-index: 0;
}

.box:hover::before {
  filter: none;
  opacity: 0.25;
}
.box-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.box:hover { background: #e0e0e0; }
.box:hover .title { color: #DA3832 !important; }

.box .title {
  color: #2F318D;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-right: 3rem;
  line-height: 1.3;
  text-transform: uppercase;
}
.box.yellow .title {
  color: #A8A035;
}
.box .desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  margin-bottom: .75rem;
}
.box .date {
  color: #000;
  font-size: .9rem;
  font-weight: 600;
  background-image:none;
}
.box .date i {
  font-weight: normal;
}


/* Left menu */
#left-menu .section-title {
  color: #A8A035;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-right: 50px;
  text-transform: uppercase;
}
#left-menu > ul {
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}
#left-menu > ul > li {
  position: relative;
  line-height: 1.1;
  margin-top: 15px;
  margin-bottom: 40px;
}
#left-menu > ul > li:not(:last-child)::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -23px;
  width: 15px;
  border-top: 1px solid #A8A035;
}
#left-menu a {
  font-weight: 700;
  color: #2F318D;
}
#left-menu a:hover {
  color: #DA3832;
  text-decoration: none;
}


/* Footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Height of the footer here */
  height: 67px;
}
.footer p {
  color: #A8A035;
  font-size: 12px;
  margin-top: 30px;
}
.footer .icons a {
  color: #A8A035;
  font-size: 16px;
  padding: 0 10px;
}
.footer .icons a:hover {
  color: #DA3832;
  text-decoration: none;
}


div.error {
  color: #999;
  padding:100px 0;
  margin:0;
  text-align:center;
}

/* TinyMCE specific rules */
body.mceContentBody {
  /* content nesmi byt positioned */
    padding:15px;
    margin:0;
    background-image:none;
}