.cover {
  position: relative;
  min-height: 100vh;
}

@media (max-width: 991px) {
  .cover {
    padding-top: 120px;
    padding-bottom: 80px;
  }
}

@media (min-width: 992px) {
  .cover {
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
  }
}

.cover-slick {
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .cover-slick {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
}

.cover-slick div {
  height: 100%;
  background-size: cover;
  background-position: center;
}

.cover-content {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  text-align: center;

  max-width: 600px;
  margin-top: -60px;
}

.cover-content h1 {
  margin-bottom: 1rem;
}

.cover-content h1 > span {
  background: rgba(3, 25, 48, 0.9);
  color: #fff;
}

.cover-content h1 > span > span {
  color: #fffc00;
}

.cover-content p {
  margin: 0;
}

.cover-content .text {
  background: rgba(204, 211, 223, 0.8);
  padding: 1rem;
  color: #333;
  display: inline-block;
}

/**/

.services {
  text-align: center;
}

@media (min-width: 992px) {
  .services {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    z-index: 5;
  }

  .services > div {
    display: inline-block;
  }
}

@media (max-width: 991px) {
  .services {
    margin-bottom: 3rem;
  }
}

.services > div > a {
  display: block;
  width: 280px;
  height: 280px;
  position: relative;
  margin: 2rem;
}

@media (max-width: 991px) {
  .services > div > a {
    margin: 0.5rem auto;
  }
}

.services > div > a:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(images/circle.png);
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 992px) {
  .services > div > a:hover {
    transform: scale(1.2);
  }
}

.services > div > a:hover:before {
  animation: fa-spin 4s infinite linear;
}

.services > div > a > span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.services > div > a > span > span {
  display: block;
  width: 30%;
  font-size: 1.3rem;
  color: #000;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  line-height: 1.4rem;
  margin-top: 0.75rem;
}

@media (min-width: 992px) and (max-width: 1369px) {
  .services {
    transform: translate(-50%, -50%) scale(0.7);
  }

  .services > div > a {
    margin: 1rem;
  }
}

/**/

@media (min-width: 992px) {
  .bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .bottom {
    bottom: 40px;
  }
}

/**/

.news {
  position: relative;
  background: #fff;
  font-size: 1.2rem;
}

.news h2 {
  background: #fff;
  color: #22a25e;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0.7rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.news .content {
  display: block;
  margin: 0;
  padding: 0.5rem;
  position: relative;
  margin-right: 100px;
}

.news ul {
  list-style: none;
  padding: 0;
  margin: 0;

  padding-left: 80px;
}

@media (max-width: 991px) {
  .news h2 {
    padding: 0.7rem 0.6rem;
  }

  .news .content {
    margin-right: 0;
    padding-top: 40px;
  }

  .news ul {
    padding-left: 0;
  }
}

.news ul a {
  color: inherit;
}

.news .buttons {
  position: absolute;
  top: 4px;
  left: 10px;
  font-size: 24px;
}

.news .buttons button {
  background: none;
  border: 0;
  float: right;
  color: #22a25e;
  width: 25px;
  margin: 0;
  padding: 0;
  display: inline;
}

/**/

.events {
  background: rgba(59, 81, 110, 0.9);
  color: #fff;
}

.events h2 {
  position: absolute;
  top: 0px;
  right: 0;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 0 2rem 2rem 0;
  padding: 1.3rem;
  width: 150px;
}

@media (max-width: 991px) {
  .events h2 {
    display: none;
  }
}

.events .content {
  display: block;
  padding: 1rem 0;
  height: 70px;
  text-align: right;
  position: relative;

  border-radius: 3rem;
}

@media (min-width: 992px) {
  .events .content {
    margin-right: 350px;
    margin-left: 150px;
    padding-right: 100px;
    padding-left: 110px;
    background: rgba(0, 0, 0, 0.2);
  }
}

.events .content a {
  color: inherit;
  display: block;
}

.events .content a:hover {
  text-decoration: none;
}

.events-slick {
  margin-top: -90px;
  padding: 0 30px;
  margin-right: 15px;
  margin-left: 15px;
}

.event-content {
  display: table;
  margin-top: 15px;
}

.event-content > div {
  display: table-cell;
  vertical-align: top;
}

.event .icon {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #334b6c;
  border: 5px solid rgba(52, 122, 179, 0.8);
  text-align: center;

  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.slick-slide:nth-child(2) .event .icon {
  border: 5px solid rgba(216, 57, 106, 0.8);
}

.slick-slide:nth-child(3) .event .icon {
  border: 5px solid rgba(156, 203, 97, 0.8);
}

@media (max-width: 667px) {
  .event .icon {
    width: 90px;
    height: 90px;
  }
}

.event:hover .icon {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 1);
}

.event .icon .day {
  display: block;
  font-size: 3rem;
  line-height: 3rem;
  font-weight: bold;
  margin-top: 25px;
}

.event .icon .month {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

.event .text {
  padding: 0 1rem;
  padding-top: 63px;
}

.event .text .name {
  font-weight: bold;
  color: #ff9595;
  font-size: 1.5rem;
}

.event .text .location {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

@media (max-width: 667px) {
  .events-slick {
    margin-top: -11px;
  }

  .event .text .name {
    height: 4rem;
    max-width: 140px;
    overflow: hidden;
  }
}

.slick-prev,
.slick-next {
  margin-top: 12px;
}

@media (max-width: 1799px) {
  .events-slick {
    margin-top: -60px;
  }

  .event .icon {
    width: 120px;
    height: 120px;
  }

  .event .icon .day {
    margin-top: 15px;
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .event .text {
    padding-top: 40px;
  }
}

/**/

.moked-banner {
  position: absolute;
  top: 180px;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  border-top-right-radius: 5rem;
  border-bottom-right-radius: 5rem;
  padding: 15px;
}

.moked-banner:hover {
  padding-left: 3rem;
}

/**/

body {
  background: #ed774f;
}

.extra-accessibility-mode body {
  background: #003f7c;
}

.cover {
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .opened-navigation {
    overflow: hidden;
  }

  .opened-navigation .cover {
    -webkit-transform: perspective(300px) rotateY(-20deg);
    transform: perspective(300px) rotateY(-20deg);
  }
}

/**/

@media (min-width: 1200px) {
  .footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 0.5rem;
    background: rgb(255 255 255 / 80%);
    backdrop-filter: blur(4px);
  }
}

/**/

video {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background-size: cover;
  transition: 1s opacity;
}

@media (max-width: 1199px) {
  video {
    display: none;
  }
}

.video-toggles {
  position: absolute;
  top: 75px;
  right: 15px;

  z-index: 99;
}

#toggle-video {
  background: #002168;
  border-radius: 50%;
  color: #fff;
  border: 0;
  padding: 10px 15px;
  cursor: pointer;

  width: 44px;

  margin-top: 15px;

  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;

  z-index: 9;

  display: block;
}

#toggle-video:hover,
#toggle-video:focus {
  background: rgba(113, 195, 5, 0.8);
  border: 3px solid #000;
}

@media (max-width: 767px) {
  #toggle-video {
    display: none;
  }
}

#toggle-sound {
  background: #56c4be;
  color: #fff;
  border: 0;
  padding: 10px 15px;
  cursor: pointer;

  width: 44px;

  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;

  z-index: 9;

  display: block;
}

#toggle-sound:hover,
#toggle-sound:focus {
  background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 767px) {
  #toggle-sound {
    display: none;
  }
}

/**/

.more-events-div {
  position: absolute;
  top: 0px;
  left: 0;
  font-size: 1rem;
  border-radius: 2rem 0 0 2rem;
  padding: 1.45rem;
}

@media (max-width: 991px) {
  .more-events-div {
    display: none;
  }
}

.more-events {
}

.more-events:hover {
}

@media (min-width: 992px) {
  .no-events {
    font-size: 2rem;
    color: #c4c4c4;
    letter-spacing: 10px;
    padding: 0 2rem 0 1rem;
    line-height: 2rem;
  }
}

@media (min-width: 1470px) {
  .no-events {
    letter-spacing: 25px;
  }
}

/**/

@media (min-width: 992px) {
  .mayor {
    position: absolute;
    top: -30px;
    right: -30px;
    height: 100px;
    width: 290px;
    color: #fff;
    padding-top: 46px;
    line-height: 1.4rem;
    font-size: 1.2rem;
    font-weight: bold;
  }
}

.mayor .img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-image: url(images/mayor.png);
  background-position: right;
  background-repeat: no-repeat;
}

.mayor .text {
  line-height: 1.4rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: var(--site1);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 2rem 0 0 2rem;
  display: block;
  padding-right: 142px;
}

@media (max-width: 991px) {
  .mayor {
    height: 100px;
    width: 290px;
    margin: 15px auto;
    color: #fff;
    padding-top: 46px;
    line-height: 1.4rem;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    display: block;
    background: rgba(59, 81, 110, 0.9);
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: 3rem;
  }

  .mayor .text {
    border-radius: 0;
  }
}

.mayor:hover {
  text-decoration: none;
}

.mayor .text {
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.mayor:hover .text {
  background: #256498;
}

/**/

@media (min-width: 992px) {
  .video-btn {
    position: absolute;
    top: 16px;
    left: 0;
    line-height: 1.4rem;
    font-size: 1.2rem;
    font-weight: bold;
    background: #d43768;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 2rem 2rem 0;
  }
}

@media (max-width: 991px) {
  .video-btn {
    line-height: 1.4rem;
    font-size: 1.2rem;
    font-weight: bold;
    background: #d43768;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem 2rem;
    margin: 15px auto;
    display: block;
    width: 290px;
    text-align: center;
  }
}

.video-btn:hover {
  text-decoration: none;
  background: #c32d5c;
  color: #fff;
}

/**/

@media (min-width: 992px) {
  .side-links {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 5;
  }

  .side-links.right {
    right: 0;
  }

  .side-links.left {
    left: 0;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .side-links {
    text-align: center;
  }

  .side-links > div {
    display: inline;
  }
}

.side-links a {
  display: inline-block;
  background: #fff;
  padding: 0.75rem 1.25rem;
  color: inherit;
  margin: 0.5rem 0;
  font-weight: bold;
}

.side-links.right a:hover {
  padding-right: 45px;
}

.side-links.left a:hover {
  padding-left: 45px;
}

@media (max-width: 991px) {
  .side-links a {
    margin: 0.5rem;
  }
}

.side-links.right a {
  border-radius: 2rem 0 0 2rem;
}

.side-links.left a {
  border-radius: 0 2rem 2rem 0;
}

@media (max-width: 991px) {
  .side-links.right a {
    border-radius: 2rem;
  }

  .side-links.left a {
    border-radius: 2rem;
  }
}

.side-links.left > div:nth-child(1) > a {
  background: rgba(151, 97, 88, 0.95);
  color: #fff;
}

.side-links.left > div:nth-child(2) > a {
  background: rgba(69, 141, 199, 0.9);
  color: #fff;
}

.side-links.left > div:nth-child(3) > a {
  background: rgba(83, 79, 117, 0.9);
  color: #fff;
}

.side-links.right > div:nth-child(1) > a {
  color: #308457;
}

.side-links.right > div:nth-child(2) > a {
  color: #22659a;
}

.side-links.right > div:nth-child(3) > a {
  color: #912459;
}

.side-links.right > div:nth-child(4) > a {
  color: #3f3895;
}

.side-links.left a img {
  margin-right: 10px;
}
