/*
Theme Name: 301
Theme URI: https://301.com.co
Author: 301
Author URI: https://301.com.co
Description: Tema creado a medida para el sitio web de Industrial Habitat.
Version: 1.0
License: Todos los derechos reservados
Text Domain: 301
*/

:root
{
    --301-color-g: #e8e8e8;
    --301-color-r: #df3d27;    
    --301-color-n: #191719;
    --301-text-base: 14px;
    --301-text-small: 12px;
    --301-text-title: 34px;        
    --301-transition: all .5s;
}

@font-face 
{
    src: url('font/bahnschrift.ttf');
    font-family: '--301-bold';
}

@font-face 
{
    src: url('font/CoreSansA45Regular.ttf');
    font-family: '--301-medium';
}

@font-face 
{
    src: url('font/CoreSansA35Light.ttf');
    font-family: '--301-light';
}

body
{
    opacity: 0;
    background: var(--301-color-g);
}

*
{   
    font-family: '--301-light';
    outline: 0;
}

h1,h2,h3,h4,h5
{
    margin: 0;
    font-size: var(--301-text-title);
    font-family: '--301-bold';    
    line-height: 1;
}

a
{
    text-decoration: none;
    transition: var(--301-transition);
    opacity: 1;
}

a:hover
{
    opacity: .5;
}

a.no-hover:hover
{
    opacity: 1;
}

b, strong
{
    font-family: '--301-bold';
}

ul, ul li
{
    list-style: none;
    padding: 0;
    margin: 8px 0;
}

ol
{
    margin: 10px 0 10px 15px;
    padding: 0;
}

ol li
{
    margin: 0 0 7px 0;
}

p, span, label, li, a
{
    font-size: var(--301-text-base);
    letter-spacing: 1px;
    line-height: 1.5;
}

p
{
    margin: 0 0 20px 0;
}

img
{
    display: block;
    width: 100%;
}

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

.grecaptcha-badge 
{
    visibility: hidden;
}

header ._301_logo
{
    background: url(./img/301_logo_alter.svg) no-repeat center;
    width: 60px;
    height: 60px;
    background-color: var(--301-color-g);
    display: block;
}

header ._301_open
{
    background: url(./img/301_menu_alter.svg) no-repeat center;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    cursor: pointer;
    background-color: var(--301-color-g);
}

header ._301_open:hover
{
    opacity: .5;
}

header ._301_open._301_close
{
    background-image: url(./img/301_close_alter.svg);
    background-color: var(--301-color-g);
}

header ._301_menu
{
    position: fixed;
    top: 0;
    right: -100%;
    padding: 10% 12% 2% 2%;
    z-index: 1;
    background: rgb(25 23 25 / 80%);
    border: 1.5px solid var(--301-color-g);
    opacity: 0;
    transition: var(--301-transition);
}

header ._301_menu.active
{
    opacity: 1;
    right: 0;
}

header ._301_menu a
{
    color: var(--301-color-g);
    text-transform: uppercase;
    font-family: --301-bold;
    font-size: 16px;
    letter-spacing: 2px
}

header ._301_len
{
    margin-top: 20px;
    border-top: 1px solid var(--301-color-g);
    padding-top: 20px;
}

header ._301_len ul
{
    display: flex;
    margin: 0;
}

header ._301_len li
{
    margin: 0;
}

header ._301_len li a
{
    font-size: var(--301-text-small);
    margin: 0;
    padding: 10px;
    display: block;
    text-align: center;
    border: 1px solid;
}

header ._301_len li.current-lang a
{
    background: #e8e8e869;
}

footer
{
    padding-top: 100px;
}

footer ._301_social a
{
    width: 60px;
    height: 60px;
    position: fixed;
    left: 0;
    bottom: 0;
    background: var(--301-color-n);
    color: var(--301-color-g);
    width: 60px;
    height: 60px;
    font-size: 30px;
    text-align: center;
    line-height: 60px;
}

footer ._301_social a._301_wp
{
    right: 0;
    left: auto;
}

footer ._301_legal h4
{
    text-align: center;
    font-size: var(--301-text-small);
    padding: 20px 0;
    font-family: --301-light;
    color: var(--301-color-n);
}

._301_ct
{
    width: 90%;
    margin: 0 auto;
    position: relative;
}

._301_r
{
    background: url(./img/301_r.svg) no-repeat center;
    display: inline-block;
    vertical-align: bottom;
    width: 5px;
    height: 5px;
    margin: 0 0 4px 5px;
}

._301_flex
{
    display: flex;
}

._301_col
{
    flex: 1;
    position: relative;
}

._301_col_2
{
    flex: 2;
    position: relative;
}

._301_col_8
{
    flex: 8;
    position: relative;
}

._301_title
{
    padding: 100px 0 50px 0;
    text-align: center;
}

._301_title h1
{
    text-transform: uppercase;
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
    z-index: 1;
    padding: 0 20px;
}

._301_title h1:after
{
    content: " ";
    height: 3px;
    background: var(--301-color-g);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 1;
}

._301_title ._301_since
{
    color: var(--301-color-r);
    margin-bottom: 10px;
    position: relative;
}

._301_title ._301_since p
{
    margin: 0 auto;
    position: relative;
    display: block;
    width: fit-content;
    z-index: 1;
    padding: 0 20px;
    background: var(--301-color-g);
}

._301_title ._301_since:after
{
    content: " ";
    height: 1px;
    background: var(--301-color-r);
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    bottom: 0;
    margin: auto;
}

._301_title ._301_text
{
    position: relative;
}

._301_title ._301_text:after
{
    content: " ";
    height: 1px;
    background: var(--301-color-r);
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    bottom: 0;
    margin: auto;
}

._301_title a
{
    display: block;
    width: fit-content;
    margin: 10px auto;
    background: var(--301-color-r);
    padding: 2px 10px;
    color: var(--301-color-g);
}

._301_loading
{
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(./img/301_loading.gif) no-repeat center;
    left: 0;
    top: 0;
    background-size: 70px;
    background-color: rgb(25 23 25 / 80%);
    z-index: 10;
}

.page-template-home ._301_logo,
.page-template-home footer
{
    display: none;
}

.page-template-home header ._301_open,
.page-template-processes header ._301_open
{
    background-image: url(./img/301_menu.svg);
    background-color: var(--301-color-n);
}

.page-template-home header ._301_open._301_close,
.page-template-processes header ._301_open._301_close
{
    background-image: url(./img/301_close.svg);
    background-color: var(--301-color-n);
}

.page-template-processes header ._301_logo
{
    background-image: url(./img/301_logo.svg);
    background-color: var(--301-color-n);
}

._301_home ._301_content
{
    height: 100vh;
    align-items: center;
}

._301_home ._301_bg
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

._301_home ._301_ig a
{
    background: var(--301-color-g);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    font-size: 30px;
    text-align: center;
    line-height: 60px;
    color: var(--301-color-n);
}

._301_home p
{
    color: var(--301-color-g);
    margin: 0;
}

._301_home ._301_col
{
    border: 1.5px solid transparent;
}

._301_home ._301_byw,
._301_home ._301_since
{
    border: 1.5px solid var(--301-color-r);
}

._301_home ._301_a
{
    position: absolute;
    right: 5vw;
    top: -34vh;
    opacity: 0;
}

._301_home ._301_b
{
    position: absolute;
    bottom: -36vh;
    left: 20vw;
    transform: rotate(-90deg);
    opacity: 0;
}

._301_home ._301_since p
{
    color: var(--301-color-r);
    text-align: center;
    transform: rotate(90deg);
}

._301_home ._301_img_a
{
    width: 70%;
    padding-left: 30%;   
}

._301_home ._301_img_b
{
    width: 80%;
    padding-top: 50px;   
}

._301_home ._301_detail:after
{    
    content: " ";
    background: var(--301-color-n);
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: -1;
    transition: all 2s;
    opacity: 0;
}

._301_home ._301_detail.active:after
{
    opacity: 1;
}

._301_home ._301_detail ._301_flex
{
    opacity: 0;
    transition: all 4s;
}

._301_home ._301_detail.active ._301_flex
{
    opacity: 1;
}

._301_home ._301_detail ._301_col,
._301_home ._301_detail ._301_col_8
{
    padding: 50px;
}

._301_processes ._301_video
{
    padding:56.25% 0 0 0;
    position:relative;
}

._301_processes ._301_banner
{
    background: var(--301-color-n);
}

._301_processes ._301_title h1
{
    color: var(--301-color-g);
}

._301_processes ._301_title h1,
._301_processes ._301_title ._301_since p,
._301_processes ._301_title h1:after
{
    background: var(--301-color-n);
}

._301_processes ._301_a p
{
    position: absolute;
    right: -10%;
    top: 12%;
    color: var(--301-color-g);
    transform: rotate(-90deg);
    z-index: 2;
    margin: 0;
}

._301_processes ._301_b p
{
    padding: 30px 0 100px 150px;
    color: var(--301-color-g);
    margin: 0;
}

._301_processes ._301_txt
{
    margin: 100px auto;
    width: 50%;
}

._301_processes ._301_grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    column-gap: 50px;
    row-gap: 50px;
    align-items: start;    
}

._301_processes ._301_grid ._301_img
{
    width: 100%;
    height: 25vh;
    background-size: cover;
    background-position: center;
}

._301_processes ._301_grid h2
{
    font-size: var(--301-text-base);
    font-family: --301-light;
    font-weight: 100;
    text-transform: uppercase;
    display: block;
    text-align: right;
    padding: 15px 0 0 0;
    color: var(--301-color-n);
}

._301_process ._301_grid
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    column-gap: 50px;
    align-items: center;
}

._301_process ._301_grid p
{
    width: 50%;
    padding: 50px 0;
    margin: 0 auto;
}

._301_other
{
    background: rgb(255 255 255 / 62%);
    padding: 50px;
    margin-top: 100px;
    display: block;
    border-top: 1.5px solid var(--301-color-r);
}

._301_other *
{
    color: var(--301-color-n);
}

._301_other ._301_link
{
    margin: 15px 0;
}

._301_other ._301_projects
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
}

._301_other h3
{
    font-family: '--301-light';
    font-weight: 100;
    text-transform: uppercase;
    font-size: var(--301-text-small);
    position: relative;
    margin: 0 0 0 15px;    
}

._301_other h2
{
    text-transform: uppercase;
    margin: 0 0 30px 0;
}

._301_other span
{
    position: absolute;
    left: -15px;
    top: 0;
    border-bottom: 1px solid var(--301-color-r);
    font-size: 8px;
}

._301_showroom ._301_copy
{
    font-size: 24px;
    width: 300px;
    margin: 100px 0 50px 0;
}

._301_showroom ._301_grid
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    align-items: center;
    overflow: hidden;
}

._301_showroom ._301_line
{
    position: relative;
}

._301_showroom ._301_line:after
{
    content: " ";
    position: absolute;
    height: 200%;
    width: 1.5px;
    background: var(--301-color-r);
    top: 0;
    left: 0;
}

._301_showroom ._301_map
{
    margin-top: 50px;
}

._301_showroom iframe
{
    height: 60vh;
    filter: grayscale(100%);
}

._301_showroom ._301_date
{
    padding: 50px 0 50px 50px;
    text-align: left;
    position: relative;
    direction: ltr;
}

._301_showroom ._301_date:after
{
    content: " ";
    position: absolute;
    height: 1.5px;
    width: 260%;
    background: var(--301-color-r);
    left: -120%;
    top: 0;
    z-index: 1;
}

._301_showroom ._301_item_2
{
    direction: rtl;
}

._301_showroom ._301_item_2 ._301_line:after
{
    left: auto;
    right: 0;
}

._301_showroom ._301_item_2 ._301_date
{
    padding: 50px 0 50px 0;
    text-align: right;
}

._301_showroom ._301_item_2 ._301_date:after
{
    right: -120%;
    left: auto;
}

._301_showroom ._301_item_2 ._301_loc
{
    text-align: left;
}

._301_showroom ._301_item_2 ._301_loc p
{
    padding: 0 0 0 50px;
    text-align: left;
}

._301_showroom ._301_date li
{
    display: inline-block;
    margin: 0 50px 0 0;
}

._301_showroom ._301_date strong
{
    display: block;
    text-transform: uppercase;
    font-weight: 100;
    margin-bottom: 5px;
    font-size: var(--301-text-small);
}

._301_showroom ._301_loc
{
    text-align: right;
}

._301_showroom ._301_loc p
{
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    width: 240px;
    line-height: 1.4;
    font-family: --301-bold;
    padding: 0 50px 0 0;
    margin: 0;
    text-align: right;
}

._301_showroom ._301_loc a
{
    display: block;
    color: var(--301-color-r);
    direction: ltr;
}

._301_contact ._301_data
{
    display: flex;
    column-gap: 50px;
    align-items: end;
}

._301_contact ._301_txt
{
    width: 50%;
    margin: 0 auto 50px;
}

._301_form ._301_row
{
    margin-bottom: 25px;
    position: relative;
}

._301_form ._301_row:last-child
{
    margin: 0;
}

._301_form ._301_row label
{
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

._301_form a
{
    color: var(--301-color-n);
}

._301_form ._301_row input[type=text], 
._301_form ._301_row input[type=email]
{
    border: 0;
    padding: 1%;
    width: 97.7%;
    background: no-repeat;
    border-bottom: 1px solid;
}

._301_form input[type=submit] {
    font-family: --301-bold;
    background: var(--301-color-r);
    color: var(--301-color-g);
    padding: 7px 20px;
    text-transform: uppercase;
    line-height: 1;
    border: 0;
    cursor: pointer;
    transition: var(--301-transition);
}

._301_form input[type=submit]:hover
{
    background: var(--301-color-n);
}

._301_form .wpcf7-not-valid-tip
{
    color: var(--301-color-r);
    margin-top: 10px;
    font-size: var(--301-text-small);
}

._301_form .wpcf7-spinner
{
    vertical-align: middle;
}

body .wpcf7 form.invalid .wpcf7-response-output,
body .wpcf7 form.unaccepted .wpcf7-response-output,
body .wpcf7 form.payment-required .wpcf7-response-output,
body .wpcf7 form.sent .wpcf7-response-output
{
    border: 0;
    text-align: left;
    margin: 10px 0 0 0;
    padding: 0;
    color: var(--301-color-r);
    font-size: var(--301-text-small);
}

body .wpcf7-list-item
{
    margin: 0;
}

._301_page ._301_txt
{
    width: 60%;
    margin: 0 auto;
}

._301_page ._301_txt ul
{
    margin: 20px 0;
    line-height: 1.5;
}

._301_page ._301_txt li,
._301_product ._301_mat li
{
    list-style: disc;
    margin-left: 15px;
}

._301_product strong
{
    text-transform: uppercase;
}

._301_page ._301_txt strong
{
    text-transform: uppercase;
    letter-spacing: 2px;
}

.post-template-process footer
{
    background: rgb(255 255 255 / 62%);
}

._301_products ._301_product
{
    background: #fff;
    width: 80%;
    margin: 0 auto;
}

._301_product ._301_item
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    align-items: start;
    margin-top: 50px;
    border: 1px solid var(--301-color-n);
    overflow: hidden;
}

._301_product ._301_item ._301_col
{
    border-left: 1px solid var(--301-color-n);
    height: 100%;
}

._301_product ._301_item ._301_col:first-child
{
    border: 0;
    background: #fff;
}

._301_product ._301_col,
._301_products ._301_items ._301_col
{
    padding: 50px;
}

._301_products ._301_product ._301_col:first-child
{
    padding: 0 0 50px 0;
}

._301_product ._301_col ul
{
    margin: 0;
}

._301_product ._301_wh li
{
    margin: 0 0 5px 0;
}

._301_product ._301_pic
{
    border-bottom: 1px solid var(--301-color-n);
    border-left: 1px solid var(--301-color-n);
    border-right: 1px solid var(--301-color-n);
}

._301_product ._301_data
{
    width: 80%;
    margin: 0 auto;
}

._301_product ._301_data ._301_txt
{
    padding: 20px;
}

._301_products ._301_product ._301_item
{
    margin: 0;
    border: 0;
    border-bottom: 1px solid;
}

._301_products ._301_product ._301_item:last-child
{
    border-bottom: 0;
}

._301_products ._301_item h2
{
    color: var(--301-color-r);
    font-size: 18px;
    margin: 50px 0 0px 50px;
    text-transform: uppercase;
}

._301_modal
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: hwb(0deg 9.09% 90.91% / 90%);
    display: none;
    z-index: 10;
}

._301_modal ._301_close
{
    background: url(./img/301_close.svg) no-repeat center;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    cursor: pointer;
    transition: var(--301-transition);
    background-color: var(--301-color-n);
    transition: var(--301-transition);
}

._301_modal ._301_close:hover
{
    opacity: .5;
}

.post-template-product ._301_modal
{
    background-color: #fff;
}

._301_banner ._301_txt
{
    margin-top: 50px;
}

@media (min-width: 1920px)
{
    html   
    {
        zoom: 1.3;
    }
}

@media (max-width: 900px)
{
    header ._301_menu
    {
        padding: 20% 14% 5% 5%;
    }

    ._301_processes ._301_a p
    {
        display: none;
    }

    ._301_processes ._301_b p {
        padding: 30px 0 100px 0;
        text-align: center;
    }

    ._301_processes ._301_grid
    {
        grid-template-columns: repeat(1, 1fr);
    }

    ._301_process ._301_grid
    {
        grid-template-columns: repeat(1, 1fr);        
    }

    ._301_process ._301_other ._301_projects,
    ._301_other ._301_projects
    {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 50px;
    }

    ._301_process ._301_grid p,
    ._301_process ._301_grid img
    {
        padding: 0 0 50px 0;
    }

    ._301_contact ._301_data
    {
        display: grid;
        row-gap: 50px;
    }

    ._301_page ._301_txt
    {
        width: 100%;
    }

    ._301_showroom ._301_grid
    {
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        row-gap: 50px;  
    }

    ._301_showroom ._301_loc p
    {
        padding: 0 0 0 50px;
        text-align: left;
    }

    ._301_showroom ._301_loc
    {
        text-align: left;
    }

    ._301_showroom ._301_copy
    {
        margin: 50px auto 0;
    }

    ._301_home ._301_detail ._301_flex
    {
        display: block;
    }

    ._301_home ._301_detail ._301_col, ._301_home ._301_detail ._301_col_8
    {
        padding: 0;
    }

    ._301_home ._301_since p
    {
        transform: none;
    }

    ._301_home p._301_c
    {
        margin: 30px 50px 50px;
    }

    body ._301_home ._301_byw,
    body ._301_home ._301_since
    {
        border: 0;
        border-top: 1.5px solid var(--301-color-r);
        padding: 25px !important;
    }

    ._301_showroom ._301_date li
    {
        display: block;
        margin: 0 0 50px 0;
    }

    ._301_showroom ._301_item_2 ._301_date
    {
        padding: 50px 50px 0 0;
    }

    ._301_showroom ._301_item_2 ._301_loc
    {
        text-align: right;
    }

    ._301_showroom ._301_item_2 ._301_loc p 
    {
        padding: 0 50px 0 0;
        text-align: right;
    }

    ._301_home ._301_a,
    ._301_home ._301_b
    {
        width: 100px;
    }

    ._301_processes ._301_txt,
    ._301_contact ._301_txt
    {
        width: 70%;
    }

    ._301_product ._301_item
    {
        display: block;
        border: 0;
        margin: 0;
    }

    ._301_product ._301_item ._301_col
    {
        border-left: 0;
        border-top: 0;
        padding: 0 0 20px 30px;
    }

    ._301_product ._301_col:first-child
    {
        padding: 0;
    }

    ._301_products ._301_product,
    ._301_product ._301_data
    {
        width: 100%;
    }

    ._301_products ._301_product ._301_col:first-child
    {
        padding: 0 0 10px 0;
    }

    ._301_product ._301_data
    {
        background: #fff;
    }

    ._301_product ._301_pic
    {
        border-bottom: 0;
        border-left: 0;
        border-right: 0;
        border-top: 1px solid var(--301-color-n);
    }
}