/* CARDS SERVICES */

.cards_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.cards_services {
    margin-bottom: 35px;
}

.card_service {
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.card_service a {
    text-decoration: none;
    color: #68707a;
}

.card_service .page_image {
    overflow: hidden;
    border-radius: 0px;
    line-height: 0;
    position: relative;
}

.card_service .page_image .overlay_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
}

.card_service .page_image .overlay_image span {
    font-size: 55px;
    opacity: 0;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
}

.card_service a:hover .page_image .overlay_image {
    background: rgba(0, 0, 0, .35);
}

.card_service a:hover .page_image .overlay_image span {
    opacity: 1;
}

.card_service .page_extracto {
    margin-top: 15px;
    margin-bottom: 15px;
}

.card_service .page_link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    color: #008cff;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
}

.card_service a:hover .page_link {
    color: #000000;
}

.card_service .page_link span {
    font-weight: 700;
    margin-bottom: 3px;
}

.card_service .card_body {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    box-sizing: border-box;
}

.card_service .card_body h3 {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: #b2312e;
    border-radius: 10px;
    padding: 10px 10px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.carousel_servicios .owl-nav {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 0;
    top: -70px;
}

.carousel_servicios .owl-nav .owl-prev,
.carousel_servicios .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    border: 1px solid #7A7D7F !important;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel_servicios .owl-nav .owl-prev:hover,
.carousel_servicios .owl-nav .owl-next:hover {
    background-color: #B2312E;
    border: 1px solid #B2312E !important;
}

.carousel_servicios .owl-nav .owl-prev i::before,
.carousel_servicios .owl-nav .owl-next i::before {
    font-size: 20px;
    color: #7A7D7F;
}

.carousel_servicios .owl-nav .owl-prev:hover i::before,
.carousel_servicios .owl-nav .owl-next:hover i::before {
    color: #ffffff;
}


/* CARDS PROYECTOS */

.card_project {}

.card_project a {
    text-decoration: none;
    color: #68707a;
}

.card_project .page_image {
    overflow: hidden;
    border-radius: 25px;
    line-height: 0;
    margin-bottom: 25px;
    position: relative;
}

.card_project .page_image {
    overflow: hidden;
    border-radius: 0px;
    line-height: 0;
    margin-bottom: 25px;
    position: relative
}

.card_project .page_image .overlay_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    z-index: 1;
    background: #000000;
    background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 62%);
    background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 62%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 62%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=0);
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in
}

.card_project .page_image .overlay_image span {
    font-size: 55px;
    opacity: 0;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in
}

.card_project a:hover .page_image .overlay_image {
    background: rgba(0, 140, 255, .85);
    z-index: 4;
}

.card_project a:hover .page_image .overlay_image span {
    opacity: 1
}

.card_project .page_extracto {
    margin-top: 15px;
    margin-bottom: 15px
}

.card_project .page_link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    color: #008cff;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in
}

.card_project a .page_link:hover {
    color: #000
}

.card_project .page_link span {
    font-weight: 700;
    margin-bottom: 3px
}

.card_project .brand_cliente {
    position: absolute;
    top: 20px;
    right: 20px;
    width: auto;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 3;
}

.card_project .brand_cliente img {
    max-width: 150px;
}

.card_project .year_card {
    position: absolute;
    bottom: 40px;
    left: 30px;
    z-index: 2;
}

.card_project .year_card span {
    display: inline;
    background-color: #008cff;
    color: #fff;
    font-size: 14px;
    padding: 8px 16px;
}

.card_project .page_title h3 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}

.card_project a:hover h3 {
    color: #008cff;
}


/* CAROUSEL */

.cards_carousel {
    margin-bottom: 35px;
}

.cards_carousel .owl-dots {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(calc(-50% + 0px));
}

.cards_carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 9px;
}

.cards_carousel .owl-dots .owl-dot span {
    box-shadow: inset 0 0 0 2px #0a121e;
    background-color: transparent;
    transition: box-shadow .3s ease;
}

.cards_carousel .owl-dots .owl-dot.active span {
    box-shadow: inset 0 0 0 20px #0a121e;
}


/* SINGLE PAGE PORTAFOLIO */

.content_project_client {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid #e4e4e4;
    padding: 20px 0;
    margin-bottom: 35px;
}

.content_project_client .year_project {
    display: flex;
    flex-direction: column;
}

.content_project_client .year_project h3 {
    color: #008cff;
    font-size: 16px;
    letter-spacing: 0.5px;
    font-weight: 200;
    margin-bottom: 0;
}

.content_project_client .year_project span {
    font-size: 20px;
    font-weight: 700;
}

.content_project_client .brand_project img {
    max-width: 220px;
}


/* CARD SINGLE */

.cardsingle {}

.cardsingle .card_image {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.cardsingle a .bg_shap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.cardsingle:hover a .bg_shap {
    opacity: 0.75;
}

.cardsingle .card_title {
    width: 100%;
    text-align: center;
    padding: 10px 35px;
    margin-top: 15px;
    box-sizing: border-box;
}

.cardsingle .card_title h4 {
    font-size: 24px;
}


/* CARDS */

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6 {
    display: grid;
    grid-template-rows: auto;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
}

.grid_1 {
    grid-template-columns: repeat(4, 1fr)
}

.grid_2 {
    grid-template-columns: repeat(2, 1fr)
}

.grid_3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid_4 {
    grid-template-columns: repeat(4, 1fr)
}

.grid_5 {
    grid-template-columns: repeat(5, 1fr)
}

.grid_6 {
    grid-template-columns: repeat(6, 1fr)
}


/* END CARDS */


/* CARD WOO */

.cards_woo {
    margin-bottom: 35px;
}

.card_woo {
    position: relative;
}

.woo_media {
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    line-height: 0;
}

.woo_media .overlay_image {
    opacity: 0.5;
    background: #B2312E;
    background: -webkit-linear-gradient(0deg, rgba(178, 49, 46, 1) 0%, rgba(178, 49, 46, 0.2) 53%);
    background: -moz-linear-gradient(0deg, rgba(178, 49, 46, 1) 0%, rgba(178, 49, 46, 0.2) 53%);
    background: linear-gradient(0deg, rgba(178, 49, 46, 1) 0%, rgba(178, 49, 46, 0.2) 53%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#B2312E", endColorstr="#B2312E", GradientType=0);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: ease-in all 0.2s;
    -webkit-transition: ease-in all 0.2s;
    -moz-transition: ease-in all 0.2s;
    -ms-transition: ease-in all 0.2s;
    -o-transition: ease-in all 0.2s;
}

.woo_info {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    padding: 0 35px;
    box-sizing: border-box;
}

.woo_info h3 {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.woo_info .cat_link {
    background-color: #ffffff;
    color: #B2312E;
    display: inline-block;
    padding: 10px 35px;
    border-radius: 35px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: ease-in all 0.2s;
    -webkit-transition: ease-in all 0.2s;
    -moz-transition: ease-in all 0.2s;
    -ms-transition: ease-in all 0.2s;
    -o-transition: ease-in all 0.2s;
}

.woo_info .cat_link:hover {
    background-color: #000000;
    color: #ffffff;
}

.card_woo a:hover .woo_media .overlay_image {
    background-color: rgba(178, 49, 46, 0.9);
}

@media (max-width: 1300px) {
    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6 {
        grid-column-gap: 40px;
        grid-row-gap: 40px;
    }
    .grid_5,
    .grid_6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 999px) {
    .grid_4,
    .grid_5,
    .grid_6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 778px) {
    .documentos .wpb_wrapper,
    .cards_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .documentos .wpb_wrapper,
    .cards_grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6 {
        grid-template-columns: repeat(1, 1fr);
    }
}