@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,800&subset=cyrillic');

* {
  font-family: 'Open Sans', sans-serif;
}

.navbar.bg-dark {
  background-color: rgba(52, 58, 64, 0.9) !important;
}

.navbar-dark .navbar-nav .nav-link {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: white;
  padding-right: 20px;
}

.navbar .container {
  display: flex;
  flex-direction: column;
}

header {
  min-height: calc(100vh - 53px);
  background-image: url('../img/people.jpg');
  background-size: cover;
  background-position: center center;
  color: white;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: normal;
}

header p {
  font-size: 1rem;
}

.report-year {
  border: 1px solid #b61a33;
  background: rgba(182, 26, 51, 0.05);
  border-radius: 4px;
  padding-top: 100%;
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.report-year a {
  display: block;
  position: absolute;
  top: calc(50% - 30px);
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  font-size: 3rem;
  color: #b61a33;
}

.month-block {
  width: 50%;
  height: 100px;
  border-right: 2px solid #b61a33;
  display: flex;
  justify-content: flex-end;
}

.month-block:nth-child(even) {
  border-right: none;
  border-left: 2px solid #b61a33;
  justify-content: flex-start;
  position: relative;
  left: calc(50% - 2px);
}

.month-block:after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #eee;
  border: 2px solid #b61a33;
  border-radius: 10px;
  position: absolute;
  right: calc(50% - 9px);
  margin-top: 25px;
}

.month-block:nth-child(even):after {
  left: -11px;
}

.month-report {
  margin-top: 22px;
  padding-right: 50px;
}

.month-block:nth-child(even) .month-report {
  padding-right: 0px;
  padding-left: 50px;
}

.month-report .month {
  text-transform: capitalize;
  font-weight: bold;
}

.month-report a {
  color: #b61a33;
}

header.report {
  background-image: url('../img/c86b8baa.jpg');
}

header .overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
}

header img {
  margin-bottom: 30px;
}

header .container {
  position: relative;
  z-index: 2;
  text-align: center;
  align-self: center;
}

header .title {
  font-family: 'Gotham', 'Times New Roman', Times, serif;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 50px 0;
}

h1 {
  font-size: 2.25rem;
  text-transform: uppercase;
  font-family: 'Mediator',sans-serif;
  font-weight: 600;
  color: #b61a33;
  margin: 50px 0;
}

p {
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 20px;
}

div.info * {
  color: #948a54;
}

.map {
  box-shadow: rgba(0,0,0,0.3) 0 0 40px;
  max-width: 100%;
}

.pic {
  display: block;
}

footer {
  background: #848a54;
  padding: 40px 0;
}

footer nav {
  column-count: 2;
}

footer nav a, footer nav a:hover, footer nav a:visited {
  color: white;
  font-size: 1.2rem;
  font-weight: 300;
  display: block;
  line-height: 2;
}

.text-logo {
  font-size: 24px;
  font-weight: 800;
  line-height: 0.8;
  margin-bottom: 20px;
  margin-top: 10px;
}

.copyright {
  opacity: 0.3;
  font-size: 0.8rem;
}

.carousel .image, .carousel-control-prev, .carousel-control-next {
  display: none;
}

.carousel-item h1 {
  font-weight: bold;
  color: #444;
  text-transform: uppercase;
  font-size: 1.6rem;
  flex: 0;
}



.carousel-item .number {
  font-size: 2.25rem;
  text-transform: uppercase;
  font-family: 'Mediator',sans-serif;
  font-weight: 600;
  color: #b61a33;
  position: relative;
  flex: 1;
  top: 100px;
}

.carousel-item .header {
  display: flex;
  flex-direction: row;
}

.carousel-item .body {
  margin-left: 25px;
  margin-top: -10px;
}

.carousel-indicators {
  bottom: -20px;
}

@media (min-width: 768px) {
  header {
    min-height: auto;
    height: 600px;
  }

  .navbar .container {
    display: flex;
    flex-direction: row;
  }
}
@media (min-width: 992px) {
  .carousel-indicators {
    bottom: -40px;
  }

  .modal-lg {
    max-width: 80%;
  }
  .pic {
    float: right;
    box-shadow: #ccc -50px 60px 0;
    margin: 0 0 70px 70px;
  }

  .navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
  }

  header {
    margin-top: -53px;
  }

  header p {
    font-size: 1.2rem;
  }

  .carousel .image {
    display: block;
  }

  .carousel-control-prev, .carousel-control-next {
    display: flex;
  }

  .carousel-item .container {
    /* height: 200px; */
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
  }

  .carousel-item .text {
    display: flex;
    flex-direction: column;
  }

  .carousel-item img {
    margin-right: 20px;
    display: block;
  }
}

.modal-body p {
  font-size: 0.8rem;
}

.carousel span {
  filter: invert()
}

.carousel-indicators li {
  background-color: #888;
}

.carousel-indicators li.active {
  background-color: #444;
}

#benefits {
  margin-top: 40px;
}

