/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13 abr. 2021, 12:00:37
    Author     : Stikets
*/

#prod_wizard{
    display: flex;
    flex-direction: column;
    padding: 0px 0 0 5px;
    width: 50%;
}
#div_titol_preu_desktop{
    display:flex;
    flex-direction: column;
}
.info_promos{
    font-size: 17px;
    display: block;
    color: #a8191c;
}
#div_preu_valoracions{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#preu_top .moneda, #preu_desktop .moneda{
    font-size: 15px;
}


.msg_visible{
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-block-start: 0;
    padding-inline-start: 0;
    padding-inline-end: 0;
    padding-block-end: 0;
}


#mesura_custom {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    margin-left: 30px;
}
#mesura_cm{
    color: #666;
    font-weight: bold;
    font-size: 18px;
}
#br_input{
    display: none;
}
#mesura_custom input {
    width: 50px;
    background-color: white;
    border-radius: 6px;
    border: 2px solid #939393;
    text-align: center;
    font-size: 18px;
    padding: 5px 10px;
    color: #717171;
}


#mesura_custom input:focus {
    
    outline-color: #005898;
}


#quant_custom input{
    width: 62px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #939393;
    text-align: center;
    width: 10%;
    left: 10px;
    color: #666;
   
}
#quant_custom input:focus-visible{
    outline: #005898 solid 1px;
}

#vista-previa-controls #info_post{
    display: flex;
    width: 65%;
    align-items: center;
    justify-content: center;
}

.div_zona_material{
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin: 10px 0px 10px 30px;
}

.titol_check_zona_material{
    font-weight: bold;
}
.text_italic{
    font-style: italic;
}
.div_zona_material .check {
    border: 1px solid #939393;
    position: absolute;
    right: 10px;
    top: 10px;
}
.check.button_actiu {
    border: 1px solid #73b25a;
}
.titol_check_zona_material_grosor{
    text-align: center;
    width: 90%;
}

.fila_check_text{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.fila_segona{
    display: flex;
    flex-direction: column;
    
}
#div_check{
    margin-left: 30px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}


.check_switch {
    position: relative;
    width: 40px;
    height: 20px;
}

.check_switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.check_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background-color: #cbcaca;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.check_slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    bottom: -1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
    border: 1px solid #aaaaaa;
}

input:checked + .check_slider {
    background-color: #73b25a;
}

input:focus + .check_slider {
    box-shadow: 0 0 1px #73b25a;
}

input:checked + .check_slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}
.text_checks{
    color: #aaaaaa;
    font-size: 16px;
    cursor: pointer;
}
.text_checks.checked{
    text-shadow:0px 0px 1px black;
    color: #666;
}

.div_checks {
    display: flex;
    margin-top: 15px;
    margin-right: 20px;
}
.div_check_individual{
    display: flex;
    flex-direction: column;
}
.div_tipus_corte{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.quant_butt{
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid transparent;
    border-top: 1px solid #939393;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    padding: 11px 26px 11px 51px;
    font-size: 18px;
}
.div_zona_quantitats{
    display: flex;
    flex-direction: column;
    margin-left: 30px;

}

.div_zona_quantitats > :last-child{
    border-bottom: 1px solid #939393;
}

.div_zona_quantitats .check{
    position: absolute;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    left: 10px;
    border: 1px solid #939393;
}
.div_zona_quantitats .check.button_actiu{
    border: 1px solid #73b25a;
}
#quant_custom {
    padding: 6px 26px 6px 41px;
}
.q_quant, .q_preu_unit, .q_preu_no_estalvi, .q_preu, .q_estalvi{
    width: 10%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    white-space: nowrap;
}
.q_quant{
    justify-content: flex-start;
    font-weight: 600;
}
.q_preu{
    color: #d75656;
    font-weight: 600;
}
.q_estalvi{
    justify-content: flex-end;
    color: #558240;
    width: 20%;
    font-weight: 600;
}
.q_preu_no_estalvi{
    text-decoration: line-through;
}

.envio_express_missatge{
    text-decoration: none;
    color: #0058b3;
    text-transform: lowercase;
    font-weight: normal;
    margin-left: 2px;
}
.envio_express_missatge .tipografia_vermell_detall_expr{
    color: #0058b3;
    font-weight: normal;
    
}
.envio_express_missatge strong{
    font-weight: normal;
}
.tipografia_vermell_detall_expr::first-letter {
  text-transform: capitalize;
}
.div_magnets_mida{
    display: flex;
    flex-direction: row;
    padding-left: 30px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.div_magnets_mida .wiz_pres_butt{
    flex-direction: row;
    justify-content: center;
}
.div_valoracions_trusted{
    max-width: 1400px !important;
    margin: 0 auto;
}
.div_llista_valoracions{
    display: none;
}

#mesura_custom input:nth-of-type(2) {
    margin-right: 5px;
}

#mesura_custom input.wrong_mides.input_err:focus {
    border: 2px solid var(--stk-red-primary-color);
    outline: transparent;
}

.wrong_mides.input_err.input_err{
    color: var(--stk-red-primary-color) !important;
}

@keyframes heartbeat {
  0%, 100% { font-weight: normal; }
  50%      { font-weight: bold;   }
}

#err_msg.pulse {
  animation: heartbeat 0.4s ease-in-out;
}

@media (min-width: 990px) {
    .zona_preu_margin_left_dsk {
        margin-left: 30px;
    }
}

@media (max-width: 990px) {
    #div_check, #div_tall_individual, #div_check_variables{
        margin-left: 0;
    }
    .q_quant, .q_preu_unit, .q_preu_no_estalvi, .q_preu, .q_estalvi{
        width: 22%;
    }
    #prod_wizard{
        width: 100%;
        box-sizing: border-box;
        padding: 0 5px;
    }

    #div_vista_previa_2dfcustom #vista-previa-controls{
        flex-direction: column-reverse;
    }
    #div_vista_previa_2dfcustom #vista-previa-controls .btn-close-vista-previa{
        width: 50% !important;
    }
    #mesura_custom{
        margin-left: 0px;
        margin-top: 10px;
        justify-content: center;
    }
    .div_checks{
        margin-right: 10px;
    }
    .div_zona_material{
        flex-direction: column;
        margin: 0;
    }
    .wiz_pres_butt{
        margin: 3px 0;
        width: unset;
    }
    .btn-close-vista-previa{
        display: flex;
        justify-content: center;
    }
    .div_zona_quantitats{
        margin-left: 0;
        margin-right: 5px;
        width: unset;
    }
    .q_estalvi{
        display: none;
    }
    .quant_butt{
        padding: 11px 11px 11px 41px;
    }
    #quant_custom{
        
        padding: 6px 11px 6px 31px;
    }
    #quant_custom input{
        width: 20%;
    }
    .q_preu_unit{
        font-size: 14px;
    }
    .q_preu_no_estalvi{
        font-size: 16px;
    }
    
    .div_magnets_mida{
        padding-left: 0;
        justify-content: center;
        gap: 5px;
    }

    .seccio_wizard .select_mida{
        padding-top: 10px;
    }
    .div_zona_quantitats{
        padding-top: 10px;
    }
    .div_valoracions_trusted{
        margin: 10px;
    }
    
    .div_tipus_corte{    
        flex-direction: column;
    }
    
    .fila_segona{
        flex-direction: row;
        gap: 5px;
    }
    
    .mat_butt{
        padding: 10px;
    }
    
    .div_zona_material .check {
        top: 20px;
    }
    
    .div_magnets_mida .mesura_butt{
        width: 100%;
        flex: 1 1 0;
        min-width: 0;
        padding: 15px 10px;
        box-sizing: border-box;
        text-align: center;
    }
    
    #mesura_custom input {
        border-bottom: 1px solid #939393;
        border-top: transparent;
        border-left: transparent;
        border-right: transparent;
        border-radius: 0;
    }
    #mesura_custom input:focus {
        border-bottom: 1px solid var(--stk-blue-primary-color);
        outline-color: transparent;
        color: var(--stk-blue-primary-color);
        font-weight: bold;
    }
    
    #mesura_cm{
        margin: 0 0 0 15px !important;
        min-width: 120px;
        text-align: center;
    }
    
    legend .precio_medida {
        display: block;
        margin-left: 36px;
    }
    
    #mesura_custom input.wrong_mides.input_err:focus{
        border-bottom: 1px solid var(--stk-red-primary-color);
        border-top: transparent;
        border-left: transparent;
        border-right: transparent;
        border-radius: 0;
    }
    
    .wrong_mides.input_err{
        border-bottom: 1px solid var(--stk-red-primary-color);
        outline-color: transparent;
        color: var(--stk-red-primary-color);
        font-weight: bold;
    }
}
