html {
  font-size: 16px;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #363636;
}

.logo {
  max-width: 260px;
}

#mainNavbar {
  background-color: #363636;
  min-height: 70px;
}

#mainNavbar .nav-link:hover {
  color: #d50000;
}

.navbar-light .navbar-nav .nav-link {
  color: white;
  font-weight: 300;
  text-transform: uppercase;
}

#mainNavbar .dropdown-item:hover {
  color: white;
}

.dropdown-item:focus,
.dropdown-item:hover {
  text-decoration: none;
  background-color: #363636;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #363636;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border: none; /*ni obrobe okrog hamburger ikone*/
  padding-right: 0px;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-nav .nav-link {
  color: white;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: #d50000;
}

.navbar-toggler.collapsed .close-icon {
  display: none;
}

.close-icon {
  color: white;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  display: inline;
}

.banner {
  margin-top: 70px;
}

.center-aligned {
  display: flex;
  align-items: center;
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

h1 {
  text-transform: uppercase;
  color: white;
  text-align: center;
  font-size: 64px;
  font-weight: 700;
}

h2 {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 60px;
}

h4 {
  margin-top: 30px;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  color: #d50000;
}

h5 {
  font-weight: 600;
}

.hello {
  margin-top: 80px;
  text-align: center;
}

.news {
  margin-top: 80px;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
  background-color: rgba(238, 238, 238, 1);
  height: auto;
}

.all-news {
  margin-top: 80px;
  margin-bottom: 80px;
}

.all-news h2 {
  margin-top: 130px;
}

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: rgba(238, 238, 238, 1);
  background-clip: border-box;
  border: none;
  border-radius: 0.25rem;
  max-height: 500px;
  margin-bottom: 80px;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding-top: 1.25rem;
  padding-left: 0rem;
  padding-right: 0rem;
  padding-bottom: 1.25rem;
}

.card-img-top {
  height: 220px;
}

.all-news .card {
  background-color: white;
}

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.date-added {
  margin-top: 30px;
  margin-bottom: 20px;
}

.btn-primary {
  background-color: #d50000;
  border: none;
  font-weight: 300;
  font-size: 14px;
}

.btn-primary:hover {
  color: #fff;
  background-color: rgba(213, 0, 0, 0.7);
  border-color: none;
}

.article {
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
  background-color: white;
  height: auto;
}

.article .card {
  background-color: white;
}

.social-footer {
  background-color: #d50000;
  color: white;
}

.social-footer a {
  color: white;
}

.social-footer a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer {
  color: white;
  background-color: #363636;
  padding-top: 60px;
  padding-bottom: 60px;
  font-weight: 300;
}

.footer h6 {
  margin-bottom: 50px;
}

.footer a {
  color: white;
}

.footer a.btn-primary:hover {
  color: white;
}

.footer a:hover {
  color: #d50000;
  text-decoration: none;
}

.address {
  margin-top: 16px;
}

.message {
  margin-top: 150px;
}

.message h6 {
  font-weight: 600;
}

.contact-icon {
  color: #d50000 !important;
  font-size: 20px;
}

.contact {
  margin-bottom: 80px;
  text-align: center;
}

.contact a {
  color: #363636;
}

.contact a:hover {
  color: #d50000;
  text-decoration: none;
}

.leadership {
  margin-top: 80px;
  padding-top: 80px;
  padding-bottom: 80px;
  margin-bottom: 80px;
  width: 100%;
  background-color: rgba(238, 238, 238, 1);
  height: auto;
  text-align: center;
}

.form-row {
  margin-bottom: 1rem;
}

.message .btn-primary {
  margin-top: 20px;
  width: 200px;
  text-transform: uppercase;
  font-weight: 400;
}

.map {
  margin-top: 80px;
  height: 450px;
}

.bg {
  background-image: url("../images/header.jpg");
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.login {
  margin: auto;
  max-width: 40%;
  background-color: rgba(54, 54, 54, 0.6);
  padding-top: 50px;
  padding-bottom: 50px;
  border-radius: 0.25rem;
}

.login .logo {
  padding-bottom: 40px;
}

.login .btn-primary {
  margin-top: 20px;
  width: 200px;
  text-transform: uppercase;
  font-weight: 400;
}

label {
  color: white;
}

.error-login {
  color: #d50000;
}

/* Position the image container (needed to position the left and right arrows) */
.open-gallery.container-xl {
  position: relative;
}

/* Hide the images by default */
.fullWidth {
  display: none;
  position: relative;
  margin: auto;
}

.full {
  max-height: 800px;
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  width: auto;
  color: #363636 !important;
  font-size: 40px;
}

/* Position to the left */
.prev {
  left: 16px;
  border-radius: 0 3px 3px 0;
}

/* Position to the right */
.next {
  right: 16px;
  border-radius: 3px 0 0 3px;
}

/* Add background on hover*/
.prev:hover,
.next:hover {
  color: rgba(213, 0, 0, 1) !important;
}

/* Thumb-images side by side */
.column {
  padding-top: 16px;
  padding-left: 16px;
  float: left;
  width: 16.66%;
}

.thumb {
  max-height: 80px;
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

/* Cookies */
.cookies h3 {
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 30px;
}

.cookies p {
  padding-bottom: 30px;
}

@media only screen and (max-width: 991px) {
  .footer {
    text-align: center;
  }
  .footer h6 {
    margin-top: 16px;
  }
  .login {
    max-width: 90%;
  }
  .img-center {
    width: 90%;
  }
  .thumb {
    max-height: 80px;
  }
  .prev,
  .next {
    background-color: rgba(255, 255, 255, 0.4);
  }
}

@media only screen and (max-width: 768px) {
  body {
    text-align: center;
  }
  .navbar .logo {
    max-width: 200px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .footer h6 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
  }
  .address {
    margin-bottom: 0;
  }
  .footer .btn-primary {
    margin-top: 20px;
  }
  .login {
    max-width: 90%;
  }
  .img-center {
    width: 90%;
  }
  .thumb {
    max-height: 50px;
  }
  .prev,
  .next {
    background-color: rgba(255, 255, 255, 0.4);
  }
}
