@charset 'UTF-8';

/* Tipografías */

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/BebasNeue-Regular.eot');
    font-weight: normal;
    font-style: normal;
}

/* Estilos generales */
:focus{
	outline:0px !important;
}
.t-center {
  text-align: center;
}

/* Cabecera de página */

#header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Pie de página */

#item-show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 100%;
  margin: 0 auto;
    margin-top: 0px;
  gap: 20px;
  margin-top: 40px;
}

#item-show .item-show-left img {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 50px 0 0;
  height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

#item-show h2 {
  font-family: "Clash Display", Sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #FFFFFF;
}

.item-show-categorys {
    color: #E62E40;
  font-family: "Rubik", Sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.item-show-info {
    color: #FFFFFF;
    list-style: none;
    padding: 0;
    margin: 0;
}
#wrapper-thumb-item {
  width: 100%;
}
#wrapper-thumb-item iframe {
  aspect-ratio: 16 / 9 !important;
}
.item-show-info li {
  font-family: "Rubik", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  border-bottom: 1px solid #FFF;
}
.item-show-info li:last-child {
  border-bottom: none;
}
.item-show-info li strong {
  font-family: "Rubik", Sans-serif;
  font-size: 16px;
  font-weight: 300;
    color: #E62E40;
}
.item-show-content {
  color: #FFFFFF;
  font-family: "Rubik", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4em;
}

#item-show-preload {
    min-height: 200px;
    background-color: rgba(255,255,255,0.1);
  font-family: "Rubik", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFF;
  width: 100%;
  min-height: 100%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

[id^="proyecto-"] {
    cursor: pointer;
}

#item-show-popup-video {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
}

#item-show-popup-close {
  position: absolute;
  top: 40px;
  right: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border: 2px solid #E62E40;
  border-radius: 50%;
}

#item-show-popup-close span:first-child {
  background: #E62E40;
  width: 60%;
  height: 2px;
  display: inline-block;
  transform: translate(-50%, -50%) rotate(45deg);
  left: 50%;
  top: 50%;
  position: absolute;
}

#item-show-popup-close span:last-child {
  background: #E62E40;
  width: 60%;
  height: 2px;
  display: inline-block;
  transform: translate(-50%, -50%) rotate(-45deg);
  left: 50%;
  top: 50%;
  position: absolute;
}

#item-show-popup-video video {
    max-width: 100%;
}

.cg-proyect-link {
    font-family: "Clash Display", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
	line-height: 1.2em;
}

.thumb-slider-projects {
    min-height: 231px;
    object-fit: cover;
    object-position: center;
    border-radius: 0 50px 0 0 !important;
    aspect-ratio: 16/9;
}

.item-proyect  {
    padding: 0 20px;
}

.cg-proyect-link > span {
        display: flex;
    padding-right: 1em;
}

.slider-proyects {
    width: calc(100% + 40px);
    margin: 0 auto;
    margin-right: -20px;
    margin-left: -20px;
}

.close-button-item {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #E62E40;
    border-radius: 50%;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transform: rotate(45deg);
}

.close-button-item:after {
    position: absolute;
    height: 18px;
    width: 2px;
    background-color: #E62E40;
    content: '';
    top: 4px;
    left: 12px;
}

.close-button-item:before {
    position: absolute;
    height: 2px;
    width: 18px;
    background-color: #E62E40;
    content: '';
    top: 12px;
    left: 4px;
}

.slider-proyects .slick-dots {
    margin-left: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    margin-top: 20px;
}

.slider-proyects .slick-dots li button {
    min-width: 40px;
    font-size: 0;
    background: rgba(255,255,255,0.4);
    height: 6px;
    display: inline-block;
}

.slick-dots li.slick-active button {
    background: #E62E40;
}

.item-proyect {
  pointer-events: auto;
}

#content {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 767px) {
    #item-show {
    display: grid;
    grid-template-columns: 1fr;
    }
    .item-show-content {
        margin-top: 30px;
    }
    #item-show h2 {
        font-size: 20px;
    }
    .item-show-info li {
        padding: 6px 0;
    }
}