/*!
Theme Name: Add Suite
Theme URI: http://chleba.net/
Author: chleba.net / Vinicius
Author URI: http://chleba.net/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: Add Suite
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.vitrine_templates{
    margin: 4rem 0 0;
}

.grid_vitrine {
    display: -ms-grid;
    display: grid;
    padding: 6rem 0;
    -ms-grid-columns: 376px 376px 376px;
    grid-template-columns:376px 376px 376px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    row-gap: 3rem
}

.grid_vitrine .thumbnail {
    width: 100%;
    height: 366px;
    -o-object-fit: cover;
    object-fit: cover
}

.grid_vitrine .click {
    position: relative;
    display: block
}

.grid_vitrine .title_item{
    font-size: 22px;
    margin: 0 0 20px;
}

.grid_vitrine .click::before {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background-color: #74b9fd;
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 2;
    transition: .4s;
}

.grid_vitrine .click:hover::before {
    width: 100%;
    height: 100%;
    opacity: .85;
    top: 0;
    left: 0
}

.grid_vitrine .click:hover::after {
    opacity: 1
}

.grid_vitrine .click::after {
    content: 'Visualizar';
    background: url('assets/images/ico-visualizar.svg') top center no-repeat;
    top: 50%;
    left: 0;
    position: absolute;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    z-index: 3;
    padding: 4rem 0 0;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
    width: 100%;
    transition: .4s;
}

.detalhe_template {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.detalhe_template .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8)
}

.detalhe_template .iconFechar{
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.detalhe_template_content {
    position: relative;
    z-index: 2;
    background: url('assets/images/loader.gif') center/40px no-repeat;
    min-width: 400px;
    min-height: 400px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 140px;
    justify-content: center;
}

.detalhe_template_content .titulo {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem
}

.detalhe_template_content .col_right {
    padding-left: 3rem
}

.detalhe_template_content .col_right .home {
    background-image: url('assets/images/ico-home.svg');
    background-position: 0 center
}

.detalhe_template_content .col_right .vitrine {
    background-image: url('assets/images/ico-vitrine.svg');
    background-position: 3px center
}

.detalhe_template_content .col_right .pdp {
    background-image: url('assets/images/ico-pdp.svg');
    background-position: 2px center
}

.detalhe_template_content .col_right .mobile {
    background-image: url('assets/images/ico-mobile.svg?v=3');
    background-position: 7px center
}

.detalhe_template_content .col_right a {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    padding-left: 5rem;
    background-repeat: no-repeat;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    margin-bottom: 1.8rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.detalhe_template_content .img_ativa {
    max-height: 80vh;
    overflow: auto
}

.detalhe_template_content .img_ativa img {
    max-width: 800px
}

.only-mobile{
    display: none;
}

@media screen and (max-width: 860px){
    .only-mobile{
        display: block;
    }
    .only-desktop{
        display: none;
    }
    .vitrine_item {
        margin-bottom: 5rem
    }

    .grid_vitrine a::before {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: .5
    }

    .grid_vitrine a::after {
        opacity: 1
    }

    .detalhe_template_content {
        padding: 0 15px;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .detalhe_template_content .img_ativa img {
        max-width: 90%;
        display: block;
        margin: 0 auto
    }

    .detalhe_template .background {
        background-image: none
    }

    .detalhe_template_content .col_right {
        padding: 40px 20px 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        overflow: auto;
        width: 100%
    }

    .detalhe_template_content .col_right a + a {
        margin-left: 2rem
    }

    .close_modal_template {
        position: absolute;
        top: 26px;
        right: 20px;
        width: 30px;
        height: 30px;
        background: url('assets/images/ico-fechar.svg') center no-repeat;
        z-index: 3
    }

    .detalhe_template_content .img_ativa {
        max-height: 300px
    }

    .detalhe_cases_content_title {
        font-size: 2.2rem
    }
}