/*CSS de la Regionalización*/
#CG-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 100%;
}

.CG-slide {
  position: relative;
  height: 500px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: all 1.5s ease-in-out;
  transition: all 1.5s ease-in-out;
}

.CG-slide.last-viewed .btn-close:after {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.CG-slide.last-viewed .btn-close:before {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.CG-slide.last-viewed .CG-content .city-info {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.CG-slide.last-viewed .CG-content .CG-city-info li:nth-of-type(1) {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.CG-slide.last-viewed .CG-content .CG-city-info li:nth-of-type(2) {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}

.CG-slide.last-viewed .CG-content .CG-city-info li:nth-of-type(3) {
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

.CG-slide.last-viewed .CG-content .CG-emblem {
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.CG-slide.last-viewed .CG-image,
.CG-slide.CG-active .CG-image {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.CG-slide.CG-active {
  cursor: default;
}

.CG-slide.CG-active .CG-overlay {
  width: 30%;
  background-size: 100% 100%;
  -webkit-transition: all 1.25s ease-in-out;
  transition: all 1.25s ease-in-out;
  -webkit-transition-delay: 1.75s;
  transition-delay: 1.75s;
}

.CG-slide.CG-active .CG-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.CG-slide.CG-active .CG-content .CG-title {
  width: 100%;
  opacity: 1;
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  -webkit-transition-delay: 1.25s;
  transition-delay: 1.25s;
}

.CG-slide.CG-active .CG-content .CG-title:after {
  height: 100%;
  color: white;
  overflow: initial;
}

.CG-slide.CG-active .CG-content .CG-title:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition-delay: 2s;
  transition-delay: 2s;
}

.CG-slide.CG-active .CG-content .CG-city-info {
  opacity: 1;
}

.CG-slide.CG-active .CG-content .CG-city-info li {
  opacity: 1;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}

.CG-slide.CG-active .CG-content .CG-emblem {
  opacity: 0.8;
  -webkit-transform: translateY(200px);
  transform: translateY(200px);
}

.CG-slide.CG-active .btn-close {
  cursor: pointer;
  pointer-events: auto;
}

.CG-slide.CG-active .btn-close:before,
.CG-slide.CG-active .btn-close:after {
  opacity: 1;
}

.CG-slide.CG-active .btn-close:after {
  -webkit-transform: rotate(45deg) translateX(0px);
  transform: rotate(45deg) translateX(0px);
}

.CG-slide.CG-active .btn-close:before {
  -webkit-transform: rotate(-45deg) translateX(0px);
  transform: rotate(-45deg) translateX(0px);
}

.CG-slide.anim-in {
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.CG-slide.anim-in .CG-image {
  top: -20%;
  left: -140%;
  height: 140%;
  width: 140%;
  -webkit-animation: img-anim-in 1.2s ease-in-out forwards;
  animation: img-anim-in 1.2s ease-in-out forwards;
}

.CG-slide.anim-out {
  -webkit-box-flex: 0;
  -ms-flex: 0;
  flex: 0;
  cursor: default;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.CG-slide.anim-out .CG-image {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  -webkit-animation: img-anim-out 1.2s ease-in-out forwards;
  animation: img-anim-out 1.2s ease-in-out forwards;
}

.CG-slide:nth-of-type(1).anim-in .CG-image {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.CG-slide:nth-of-type(1).anim-out .CG-image {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.CG-slide:nth-of-type(2).anim-in .CG-image {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.CG-slide:nth-of-type(2).anim-out .CG-image {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.CG-slide:nth-of-type(3).anim-in .CG-image {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.CG-slide:nth-of-type(3).anim-out .CG-image {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.CG-slide:nth-of-type(4).anim-in .CG-image {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.CG-slide:nth-of-type(4).anim-out .CG-image {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.CG-slide .CG-image {
  position: absolute;
  background-size: cover;
  background-position: center center;
  pointer-events: none;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.CG-slide .CG-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: -webkit-linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0));
  background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0));
  background-position: 0 0;
  background-size: 100% 200%;
  opacity: 1;
  pointer-events: none;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.CG-slide .CG-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
}

.CG-slide .CG-content .CG-title {
  position: absolute;
  z-index: 99;
  top: -10px;
  height: 65px;
  width: 200%;
  box-sizing: border-box;
  font-size: 40px;
  text-align: center;
  text-shadow: 0 2px 2px #2f2f2f;
  color: #a12727;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;

}

.CG-slide-1 .CG-content-1 .CG-title-1 {
  position: absolute;
  z-index: 99;
  top: -10px;
  height: 65px;
  width: 200%;
  box-sizing: border-box;
  font-size: 40px;
  text-align: center;
  text-shadow: 0 2px 2px #2f2f2f;
  color: #3f3f3f;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;

}

.CG-slide .CG-content .CG-title:after {
  position: absolute;
  top: 0;
  height: 0;
  width: 100%;
  display: block;
  content: attr(data-title);
  color: #fff;
  -webkit-transition: all 0.85s ease-in-out;
  transition: all 0.85s ease-in-out;
}

.CG-slide .CG-content .CG-title:before {
  position: absolute;
  bottom: 15px;
  display: block;
  content: "";
  height: 2px;
  width: 85%;
  background: white;
  box-shadow: 0 2px 6px #2f2f2f;
  -webkit-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: -webkit-transform 1.25s ease-in-out;
  transition: -webkit-transform 1.25s ease-in-out;
  transition: transform 1.25s ease-in-out;
  transition: transform 1.25s ease-in-out, -webkit-transform 1.25s ease-in-out;
}

.CG-slide .CG-content .CG-emblem {
  position: absolute;
  z-index: 99;
  height: 200px;
  width: 350px;
  opacity: 0;
  -webkit-transform: translateY(200px);
  transform: translateY(200px);
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  -webkit-transition-delay: 1.75s;
  transition-delay: 1.75s;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.CG-slide .CG-content .CG-city-info {
  position: absolute;
  bottom: 0px;
  right: 0px;
  padding: 100px 200px 20px 50px;
  font-size: 1.25em;
  color: white;
  text-shadow: 0 1px 4px #0f0f0f;
  background-image: -webkit-linear-gradient(left, rgba(20, 20, 20, 0), rgba(20, 20, 20, 0.7));
  background-image: linear-gradient(90deg, rgba(20, 20, 20, 0), rgba(20, 20, 20, 0.7));
  opacity: 0;
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  -webkit-transition-delay: 2s;
  transition-delay: 2s;
}

.CG-slide .CG-content .CG-city-info li {
  position: relative;
  margin-bottom: 5px;
  text-align: justify;
  opacity: 0;
  -webkit-transform: translateX(-30px);
  transform: translateX(-30px);
  -webkit-transition: all 0.75s ease-in-out;
  transition: all 0.75s ease-in-out;
}

.CG-slide .CG-content .CG-city-info li:nth-of-type(1) {
  -webkit-transition-delay: 2.7s;
  transition-delay: 2.7s;
}

.CG-slide .CG-content .CG-city-info li:nth-of-type(2) {
  -webkit-transition-delay: 2.9s;
  transition-delay: 2.9s;
}

.CG-slide .CG-content .CG-city-info li:nth-of-type(3) {
  -webkit-transition-delay: 3.1s;
  transition-delay: 3.1s;
}

.CG-slide .CG-content .CG-city-info img {
  height: 350px;
  width: 450px;
}

.CG-slide .btn-close {
  position: absolute;
  z-index: 100;
  top: 20px;
  right: 20px;
  height: 24px;
  width: 24px;
  pointer-events: none;
}

.CG-slide .btn-close:before,
.CG-slide .btn-close:after {
  position: absolute;
  top: 12px;
  display: block;
  content: "";
  width: 100%;
  height: 4px;
  background-color: white;
  opacity: 0;
  cursor: pointer;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.CG-slide .btn-close:after {
  -webkit-transform: rotate(45deg) translateX(-12px);
  transform: rotate(45deg) translateX(-12px);
  -webkit-transition-delay: 3s;
  transition-delay: 3s;
}

.CG-slide .btn-close:before {
  -webkit-transform: rotate(-45deg) translateX(12px);
  transform: rotate(-45deg) translateX(12px);
  -webkit-transition-delay: 3.2s;
  transition-delay: 3.2s;
}

.CG-slide:hover:not(.CG-active):not(.anim-out) .CG-image {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.CG-slide:hover:not(.CG-active):not(.anim-out) .CG-overlay {
  opacity: 0.6;
}

.CG-slide:hover:not(.CG-active):not(.anim-out) .CG-content .CG-title {
  opacity: 1;

  -ms-transform: translate(-90px, 200px) rotate(90deg);
  /* IE 9 */
  -webkit-transform: translate(-90px, 200px) rotate(90deg);
  /* Safari */
  transform: translate(-90px, 200px) rotate(90deg);
}

.CG-slide:hover:not(.CG-active):not(.anim-out) .content .title:after {
  height: 100%;
}

@media screen and (max-width:770px) {
  .CG-slide .CG-content .CG-emblem {
    width: 200px;
  }
}

@-webkit-keyframes img-anim-in {
  to {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
}

@keyframes img-anim-in {
  to {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
}

@-webkit-keyframes img-anim-out {
  to {
    left: -100%;
  }
}

@keyframes img-anim-out {
  to {
    left: -100%;
  }
}