@font-face {
  font-family: 'aileronbold';
  src: url('assets/fonts/aileron-bold-webfont.woff2') format('woff2'),
    url('assets/fonts/aileron-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'futura_hv_btheavy';
  src: url('assets/fonts/futura_heavy_bt-webfont.woff2') format('woff2'),
    url('assets/fonts/futura_heavy_bt-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
/*=======HEADER========*/
.navbar {
  overflow: hidden !important;
  background-color: white !important;
  padding: 0 !important;
  height: 100% !important;
  width: 100% !important;
  font-family: 'aileronbold' !important;
  display: flex;
  justify-content: flex-end !important;
  margin-right: 80px !important;
}
.topnav {
  display: none;
}

h1 {
  margin-left: 40px !important;
  padding: 20px;
  color: #24357e;
  font-size: 32px;
  font-family: 'futura_hv_btheavy' !important;
}

h2,
h3 {
  font-family: 'aileronbold' !important;
  text-align: right;
}

.header {
  background-color: white !important;
  position: fixed !important;
  top: 0 !important;
  width: 100vw !important;
  height: 80px !important;
  z-index: 3 !important;
  box-shadow: 0px 2px 5px #bfbfbf !important;
}

.menu {
  vertical-align: middle !important;
  height: 100% !important;
  margin-right: 200px !important;
}
.menu a {
  line-height: 48px !important;
  text-align: center !important;
}

.menu div {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

/* Links inside the navbar */
.navbar a {
  vertical-align: middle;
  float: right;
  font-size: 22px;
  color: #222222;
  padding: 12px 16px;
  text-decoration: none;
  vertical-align: bottom;
  height: 100%;
}

.navbar a:hover {
  transition: 300ms;
  color: white;
  background: #24357e;
  padding-bottom: 10px;
  cursor: pointer;
}

.navbar-logo {
  display: block;
  margin: auto;
  width: 50px;
}

body {
  background-color: #ececec;
}
/* Add a red background color to navbar links on hover */
.permanent-w {
  box-shadow: 0px 0px 50px #8d8d8d;
  display: block;
  width: 85%;
  margin: auto;
  z-index: -1;
}

/*======== HOME SECTION ==============*/
.home-section {
  margin-top: 6vh;
  height: 92vh;
  width: auto;
  background: url('assets/ccphome2.png') no-repeat center center;
  background-color: white;
  background-size: 100% auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  /* box-shadow: 0px 0px 50px #8d8d8d;*/
}

.buttons {
  margin: 40px;
}

.radar-ciudad-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content;
  gap: 0;
  margin: 40px auto;
}

.radar-ciudad-section h1 {
  color: #24357e;
  margin-top: 0;
  padding-top: 30px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.radar-ciudad-section h2 {
  color: #24357e;
  display: block !important;
  height: auto !important;
  width: fit-content !important;
  margin: auto !important;
}

.radar-ciudad-section a {
  display: block !important;
  height: auto !important;
  width: fit-content !important;
  margin: 20px auto 30px 82% !important;
  margin: auto !important;
}

.radar-logo {
  display: block;
  margin: 0 auto;
  width: 25%;
  max-width: 350px;
}

.radar-div {
  display: block;
  margin: auto;
  width: 80%;
}

.radar-button-a {
  display: block;
  margin: auto;
  width: 100%;
}

.radar-text {
  display: block;
  margin: 0 auto 30px auto;
  text-align: center;
  justify-content: center;
  font-size: 20px;
}

/* ============ Video Section ===========*/
.videos-section {
  /* box-shadow: 0px 0px 40px #757575; */
  background: url('assets/ccpfondo2.png') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: 100% auto;
  background-color: white;
  display: block;
  height: fit-content;
  min-height: 54vh;
  width: auto;
  position: relative;
}

.video {
  margin: 20px 0;
  min-width: 250px;
  width: 36vw;
  height: calc(24vw * 3 / 4);
  min-height: 240px;
  border-radius: 40px;
  background: #24357e;
  box-shadow: 3px 5px 10px black;
}

.videos-section iframe {
  height: calc(24vw * 3 / 4 - 16px);
  min-height: 224px;
  display: block;
  margin: auto;
  width: 98%;
  border-radius: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.videos-section h1 {
  color: #24357e;
  margin-top: 0;
  padding-top: 30px;
  padding-bottom: 0;
  margin-bottom: 0;
}
.videos-section h2 {
  color: #24357e;
}

.news-section h2 {
  color: #ffffff;
}
.flyers-section h2 {
  color: #fff;
}

.videos-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 90%;
  margin: 10px auto 0;
  justify-content: space-between;
}

.videos-section a {
  display: block;
  height: auto;
  width: fit-content;
  margin: 20px auto 30px 82%;
}

.audios-section iframe {
  height: 90px;
  display: block;
  margin: auto;
  width: 98%;
  border-radius: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.audios-section iframe * {
  margin-left: 15px;
}

.video div {
  width: 100%;
}

.video-see-more {
  color: #24357e;
}

/*============= News Section ============ */

.news-section,
.flyers-section {
  /* box-shadow: 0px 0px 50px blue; */
  background: url('assets/blue_ccp.png');
  background-color: #253b7e;
  background-repeat: no-repeat;
  background-size: 100% auto;
  position: relative;
  display: block;
  height: auto;
  width: auto;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.news-section h1,
.flyers-section h1 {
  padding-top: 30px;
  width: 100%;
  color: white;
  margin-top: 0px;
}
.news-section h1 {
  margin-bottom: 0px;
}

.news-section h2 {
  margin-bottom: 40px;
  margin-left: 82%;
}

.news-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 20px;
  flex-wrap: wrap;
}
.news-container span {
  box-shadow: 3px 3px 10px black;
}

.new {
  cursor: pointer;
  width: 33vw;
  margin: 20px auto 20px auto;
  height: 180px;
  max-height: 200px;
  background: white;
  color: #24357e;
  display: flex;
  justify-content: space-between;
  border-radius: 0 40px 40px 0;
}
.new div {
  width: 70%;
}
a {
  text-decoration: none !important;
}
a:hover {
  text-decoration: none !important;
}
h2 a:hover {
  text-decoration: none !important;
}
.news-text p {
  font-family: 'aileronbold';
  color: #243572;
  padding: 20px 10px 20px 10px;
  height: 90%;
  vertical-align: bottom;
  text-align: left;
  font-size: 18px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.news-text {
  display: block;
  margin: auto 0 auto 0;
}
.new img {
  display: block;
  margin: auto 10px auto 10px;
  border-radius: 0px 20px 20px 0;
  height: 90%;
  width: 220px;
  border: 1px solid #949596;
}

/* ============ About Section ===========*/
.about-section p {
  color: white;
  text-align: left;
  font-size: 20px;
  margin: 80px;
  margin-top: 40px;
}

.about-section {
  height: auto;
  background-size: cover !important;
  background-position: center;
}

/* ============ Audio Section ===========*/
.audios-section {
  background: url('assets/ccpfondo2.png') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: 100% auto;
  background-color: white;
  display: block;
  height: auto;
  width: auto;
  position: relative;
}

.audios-section h1 {
  color: #24357e;
  margin-top: 0;
  padding-top: 30px;
  padding-bottom: 0;
  margin-bottom: 0;
}
.audios-section h2 {
  color: #24357e;
}
.news-section h2 {
  color: #ffffff;
}
.flyers-section h2 {
  color: #fff;
}

.audios-container {
  display: flex;
}

.audios-container a {
  height: 0px;
  margin-top: 500px;
}

.audios-subcontainer {
  color: white;
  margin: 20px 40px 40px 40px;
  width: 60vw;
}

.audio {
  display: flex;
  margin: 30px;
  border-radius: 40px;
  background: #24357e;
  box-shadow: 3px 5px 10px black;
}
.audios-section iframe {
  height: 90px;
  display: block;
  margin: auto;
  width: 98%;
  border-radius: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.audios-section iframe * {
  margin-left: 15px;
}

.audio div {
  width: 100%;
}

.audio-see-more {
  color: #24357e;
}

/* ============ FLYERES SECTION ==========*/
.flyers-section .btn,
.news-section .btn {
  border-color: #24357e;
  border-radius: 40px;
  background: #ececec;
  color: #24357e;
}
.flyers-section .btn:hover,
.news-section .btn:hover {
  background: #ececec;
  color: #24357e;
  box-shadow: 0px 0px 7px black;
}
.audios-section .btn,
.videos-section .btn,
.radar-ciudad-section .btn {
  border-color: #24357e;
  border-radius: 40px;
  background: #24357e;
  color: #ececec;
}
.audios-section .btn:hover,
.videos-section .btn:hover,
.radar-ciudad-section .btn:hover {
  background: #24357e;
  color: #ececec;
  box-shadow: 0px 0px 7px black;
}

.flyers-section h1 {
  margin-bottom: 0;
  padding-top: 40px;
  padding-bottom: 0;
}

.carousel {
  margin: 20px 50px 20px 50px;
  border: 5px solid white;
  border-radius: 10px;
}
.carousel img {
  padding: 10px;
}
.carousel-container {
  display: flex;
  justify-content: center;
}
.carousel-control-prev {
  display: block;
  margin: auto auto auto 2%;
  height: 40px;
  width: 40px !important;
  background: #24357e5b;
  border-radius: 40px;
}

.carousel-control-next {
  display: block;
  margin: auto 2% auto auto;
  height: 40px;
  width: 40px !important;
  background: #24357e5b;
  border-radius: 40px;
}
.social-media {
  background: white;
  color: #243572;
  display: flex;
  width: 100%;
  padding-bottom: 10px;
}
.social-media h4 {
  font-size: 20px;
  color: #243572;
  font-family: 'aileronbold';
  text-align: center !important;
  word-wrap: break-word;
}

.social-media img {
  display: block;
  margin: 10px;
  margin-right: auto;
  margin-left: auto;
  height: 70px;
  cursor: pointer;
}
.social-media div {
  display: block;
  margin: 0 auto 0 auto;
  width: 220px;
}

.social-media img:hover {
  height: 75px;
  transition: 200ms;
  margin-bottom: 5px;
}

.flyers-section h2 {
  margin: 10px auto 25px auto;
}

.carousel-inner .carousel-item-right.active,
.carousel-inner .carousel-item-next {
  transform: translateX(33.33%);
}

.carousel-inner .carousel-item-left.active,
.carousel-inner .carousel-item-prev {
  transform: translateX(-33.33%);
}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left {
  transform: translateX(0);
}

/*==============SCROLL BAR ===============*/

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #363d50;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #3c4661;
}

.radar-ciudad-navbar {
  line-height: 48px !important;
  text-align: center !important;
}
/*========================================================================*/
/*=============================  RESPONSIVE ==============================*/
/*========================================================================*/

@media screen and (max-width: 1920px) {
  .flyers-section h2 {
    right: 90px !important;
    top: 600px !important;
  }
}

@media screen and (max-width: 1650px) {
  .flyers-section h2 {
    right: 90px !important;
    top: 600px !important;
  }
}

@media screen and (max-width: 1450px) {
  .menu {
    margin-right: 100px !important;
  }
  .header {
    height: 60px !important;
  }

  .menu a {
    line-height: 20px !important;
    text-align: center !important;
    font-size: 18px !important;
    padding-top: 5px !important;
  }
  .flyers-section h2 {
    height: fit-content;
    right: 60px !important;
    top: 100% !important;
  }
}

@media screen and (max-width: 1450px) {
  .home-section {
    background-size: 105% auto !important;
    margin: 0 !important;
  }
  .flyers-section,
  .news-section {
    background-size: 105% auto !important;
  }
  .header {
    height: 60px !important;
  }
  .menu {
    margin-right: 80px !important;
  }
  .menu a {
    line-height: 54px !important;
    font-size: 18px !important;
  }
  .news-section h1,
  .flyers-section h1 {
    margin-right: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
  }

  .flyers-section h2 {
    top: 90% !important;
    right: 20px !important;
  }
  .social-media img {
    height: 60px !important;
  }
  .social-media img:hover {
    height: 68px !important;
  }

  .social-media img:hover {
    height: 64px !important;
    margin-bottom: 6px !important;
  }

  .social-media h4 {
    font-size: 16px !important;
  }
  .new {
    height: 144px !important;
    border-radius: 0 30px 30px 0 !important;
  }
  .new img {
    width: 170px !important;
  }
  .news-text p {
    font-size: 16px !important;
  }
}

@media screen and (max-width: 1300px) {
  .permanent-w {
    width: 90% !important;
  }
  .menu {
    margin-right: 60px !important;
  }
  .menu a {
    font-size: 18px !important;
  }
  .new {
    height: 140px !important;
  }
  .new img {
    width: 150px !important;
  }
}

@media screen and (max-width: 1150px) {
  .permanent-w {
    width: 100% !important;
  }

  h1 {
    font-size: 28px !important;
  }
  h2 {
    font-size: 20px !important;
  }
  .navbar a {
    font-size: 18px !important;
    padding: 0 16px !important;
  }
  .header {
    height: 60px !important;
  }
  .news-section h2,
  .videos-section a {
    margin-left: 74%;
  }
  .audios-subcontainer {
    width: 90% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin: auto !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
  }
  .audios-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .audio {
    margin: 0 !important;
    width: 90vw !important;
    margin-bottom: 40px !important;
  }
  .audios-container a {
    height: auto !important;
    margin-top: 0px !important;
  }
  .audios-container h2 {
    margin-top: 0 !important;
    width: auto !important;
    max-width: 200px !important;
    margin-left: 75vw !important;
    margin-bottom: 24px;
  }
  .new {
    width: 35vw !important;
    border-radius: 0 25px 25px 0 !important;
  }
  .btn {
    padding: 6px 12px !important;
  }

  .video {
    width: 40vw;
  }
}

@media screen and (max-width: 1024px) {
  .news-container {
    margin-top: 0 !important;
  }
  .menu {
    margin-right: 40px !important;
  }
  .social-media h4 {
    font-size: 14px !important;
  }
  .new {
    width: 37vw !important;
    border-radius: 0 20px 20px 0 !important;
  }
  .new img {
    border-radius: 0 16px 16px 0 !important;
  }
  .news-text p {
    font-size: 14px !important;
  }
  h2 {
    font-size: 20px !important;
  }
  .btn {
    padding: 6px 12px !important;
  }
}

/*Tablet 1*/
@media screen and (max-width: 924px) {
  .new {
    height: 130px !important;
  }
  .new img {
    width: 150px !important;
  }
}

/*Tablet 1.5*/
@media screen and (max-width: 850px) {
  .menu {
    margin-right: 20px !important;
  }
  .menu a {
    font-size: 16px !important;
  }
  h1 {
    font-size: 24px !important;
  }
  h2 {
    font-size: 18px !important;
  }
  .news-section h2,
  .videos-section a {
    margin-left: 70%;
  }
  .video {
    width: 48%;
    max-width: none;
  }

  .news-container span {
    box-shadow: 3px 3px 3px black;
  }
  .audio {
    box-shadow: 3px 3px 3px black;
  }

  .home-section {
    background: url('assets/ccphome850px.png') no-repeat center center !important;
    background-size: 100% auto !important;
    background-color: white !important;
    border-bottom: 0px !important;
    max-height: 700px !important;
    margin-bottom: 0 !important;
  }
  .news-section,
  .flyers-section {
    background: url('assets/blue_ccp2.png') no-repeat center center !important;
    background-size: 100% auto !important;
    background-color: #253b7e !important;
  }
  .audios-section {
    background: url('assets/ccpfondo850px.png') no-repeat center center !important;
    background-size: 100% auto !important;
    background-color: white !important;
  }
  .headphones {
    display: none !important;
  }
  .audios-section iframe {
    width: 87vw !important;
    height: 90px !important;
    border: 5px solid #350580 !important;
  }
  .flyers-section {
    height: auto !important;
  }
  .carousel {
    margin: 20px;
  }
  .social-media img {
    height: 50px !important;
  }
  .social-media img:hover {
    height: 58px !important;
  }
  .flyers-section h1 {
    padding-top: 25px !important;
  }

  .new {
    height: 130px !important;
    width: 70vw !important;
  }
  .new img {
    width: 150px !important;
  }
  .news-text p {
    font-size: 12px !important;
  }
  .about-section p {
    font-size: 16px;
    margin: 60px;
    margin-top: 20px;
  }
}

/*Tablet 2*/
@media screen and (max-width: 768px) {
  h1 {
    font-size: 20px !important;
  }
  h2 {
    font-size: 16px !important;
  }
  .btn {
    padding: 5px 10px !important;
  }

  .flyers-section h2 {
    right: 110px !important;
  }
  .social-media {
    padding-bottom: 0 !important;
  }
  .social-media h4 {
    display: none !important;
  }
  .social-media img {
    height: 40px !important;
  }
  .social-media img:hover {
    height: 68px !important;
  }
  /* show 3 items */
  .carouselPrograms .carousel-inner .active,
  .carouselPrograms .carousel-inner .active + .carousel-item,
  .carouselPrograms .carousel-inner .active + .carousel-item + .carousel-item {
    display: block !important;
  }

  .carouselPrograms
    .carousel-inner
    .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
  .carouselPrograms
    .carousel-inner
    .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)
    + .carousel-item,
  .carouselPrograms
    .carousel-inner
    .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)
    + .carousel-item
    + .carousel-item {
    transition: 5000ms !important;
  }

  .carouselPrograms .carousel-inner .carousel-item-next,
  .carouselPrograms .carousel-inner .carousel-item-prev {
    position: relative !important;
    transform: translate3d(0, 0, 0) !important;
  }

  .carouselPrograms
    .carousel-inner
    .active.carousel-item
    + .carousel-item
    + .carousel-item
    + .carousel-item {
    position: absolute !important;
    top: 0 !important;
    right: -33.333% !important;
    z-index: -1 !important;
    display: block !important;
    visibility: visible !important;
  }

  /* left or forward direction */
  .carouselPrograms
    .active.carousel-item-left
    + .carousel-item-next.carousel-item-left,
  .carouselPrograms .carousel-item-next.carousel-item-left + .carousel-item,
  .carouselPrograms
    .carousel-item-next.carousel-item-left
    + .carousel-item
    + .carousel-item,
  .carouselPrograms
    .carousel-item-next.carousel-item-left
    + .carousel-item
    + .carousel-item
    + .carousel-item {
    position: relative !important;
    transform: translate3d(-100%, 0, 0) !important;
    visibility: visible !important;
  }

  /* farthest right hidden item must be abso position for animations */
  .carouselPrograms .carousel-inner .carousel-item-prev.carousel-item-right {
    position: absolute !important;
    top: 0 !important;
    left: 0% !important;
    z-index: -1 !important;
    display: block !important;
    visibility: visible !important;
  }

  /* right or prev direction */
  .carouselPrograms
    .active.carousel-item-right
    + .carousel-item-prev.carousel-item-right,
  .carouselPrograms .carousel-item-prev.carousel-item-right + .carousel-item,
  .carouselPrograms
    .carousel-item-prev.carousel-item-right
    + .carousel-item
    + .carousel-item,
  .carouselPrograms
    .carousel-item-prev.carousel-item-right
    + .carousel-item
    + .carousel-item
    + .carousel-item {
    position: relative !important;
    transform: translate3d(100%, 0, 0) !important;
    visibility: visible !important;
    display: block !important;
    visibility: visible !important;
  }
}

@media screen and (max-width: 580px) {
  .desktop {
    display: none !important;
  }
  .home-section {
    max-height: 500px !important;
  }
  .new {
    height: 100px !important;
    width: 80vw !important;
  }
  .new img {
    width: 120px !important;
  }
  .news-section h2 {
    margin-top: 10px !important;
  }
  h2 {
    font-size: 14px !important;
  }
  .btn {
    padding: 5px 8px !important;
  }

  .video {
    width: 90%;
  }

  .videos-container {
    flex-direction: column;
  }
}

/*phone*/
@media screen and (max-width: 480px) {
  .header {
    height: 40px !important;
  }

  h1 {
    font-size: 18px !important;
  }
  .navbar a {
    font-size: 16px !important;
    padding: 0 8px !important;
  }

  .menu {
    margin-right: 10px !important;
  }

  .menu a {
    line-height: 40px !important;
  }
  .social-media {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .social-media img {
    height: 40px !important;
  }
  .social-media div {
    width: auto;
  }
  .videos-section a {
    margin: 20px 50px 20px auto !important;
  }

  .news-section h2 {
    margin: 0px auto 30px 75vw !important;
  }

  .about-section h2 {
    margin: 20px auto 20px 70vw !important;
  }

  .about-section p {
    font-size: 14px;
    margin: 40px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 380px) {
  .navbar a {
    font-size: 12px !important;
  }

  .social-media img {
    height: 40px !important;
  }
  .audios-section h2,
  .videos-section a,
  .news-section h2,
  .about-section h2 {
    width: 100px !important;
    margin-left: 50% !important;
  }

  .home-section {
    max-height: 350px !important;
  }

  .about-section p {
    margin: 0px 16px;
  }
}

/*Very samll phone*/
@media screen and (max-width: 326px) {
  .navbar a {
    font-size: 8px !important;
    padding: 0 8px !important;
  }
  .header {
    height: 40px !important;
  }
  .menu {
    margin-right: 4px !important;
  }

  .menu a {
    line-height: 38px !important;
  }
}
