:root {
    --color-azul: #1e4ea0;
    --color-gris: rgb(97, 97, 97);
    --color-verde:#579835;
    --color-verde-medio:#d8e8db;
    --color-verde-limon:#eef6ed;
    --color-naranja: #f58220;
}

body {
    margin: 0 auto;
    width: 1020px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.portada {
    width: 100%;
    height: 1320px;
    background-image: url('http://184.72.113.77/VisualMI52/cotizadores/imagenes/propuesta_portada_ab.jpg');
    background-size: cover;
}


.cliente-empresa__cliente {
    font-size: 35px;
    margin-top: 32px;
}

.cliente-empresa__empresa {
    font-size: 25px;
    margin-top: 0;
    margin-bottom: 15px;
}

.cliente-empresa__cargo {
    font-size: 28px;
    margin-top: 6px;
    margin-bottom: 12px;
    color: rgb(176, 176, 176) !important
}

.cliente-empresa__cargo,
.cliente-empresa__cliente,
.cliente-empresa__empresa {
    width: calc(100% - 45px);
    text-align: left;
    vertical-align: top;
    font-weight: bold;
    color: white;
    padding-left: 45px;
}

.titulo-fecha__container {
    height: 173px;
    width: 100%;
    position: relative;
    top: 1064px;

}

.titulo-fecha__titulo {
    width: 100%;
    vertical-align: top;
    font-weight: bold;
    color: white;
    padding-left: 45px;
    
}

.titulo-fecha__titulo {
    font-size: 25px;
}

.titulo-fecha__fecha {
    width: 100%;
    vertical-align: top;
    font-weight: bold;
    color: white;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.titulo-fecha__fecha-numbers {
    font-size: 20px;
    width: 100%;
    vertical-align: top;
    font-weight: bold;
    color: white;
}

.page {
    /* height: 100% */
}

.pagination {
    position: relative;
    bottom: 0;
    padding: 0 80px;
}

.page_content {
    padding: 20px 80px;
    height: 100%;
}

.page_content--strech {
    padding: 20px 60px;
    height: 100%;
}

.page__header {
    width: 100%;
    height: 117px;
    background-image: url('http://184.72.113.77/VisualMI52/cotizadores/imagenes/header.jpg');
    background-size: cover;
}


.numero_propuesta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
}

.input_cliente {
    color: var(--color-azul);
    font-size: 20px;
    font-weight: bold;
    width: 100%;
}

.input_empresa {
    color: var(--color-gris);
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
}

.input_cargo {
    color: var(--color-gris);
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
}

.razones {
    width: 100%;
    height: 370px;
    background-image: url('http://184.72.113.77/VisualMI52/cotizadores/imagenes/razones.jpg');
    background-size: cover;
}

.logos_empresas{
    width: 100%;
    height: 484px;
    background-image: url('http://184.72.113.77/VisualMI52/cotizadores/imagenes/logos_empresas.jpg');
    background-size: cover;
}

.condiciones-comerciales{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 1px solid rgb(223, 223, 223)
}

.condiciones__item{

    margin: 2px;
    min-height:10px;
    padding-left: 15px;
}

.condiciones__item_header{
    background-color: var(--color-azul);
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin: 2px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.condiciones__item1{
    background-color: #F4F9FE;
}


.tabla_final{

    background-color: #F4F9FE;
    border-radius: 4px;
    width: auto;
    padding: 20px;
    width: 245px;
}

.tabla_final input[type="text"]{
    border: 1px solid rgb(230, 230, 230);
    border-radius: 2px;
    padding: 3px;
    margin-top: 10px;
    background:white;
    margin-bottom: 10px;

    

}

#resultado{
    /* box-shadow: 2px 2px 10px rgb(221, 221, 221); */
}

.row-span-2{
    grid-column: span 2;
}

/* ******************************************************************* */



.subtitulo_item{
    background-color: #f2f9ff;
    font-size: 12px;
    color:#000;
    padding: 4px 10px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    text-transform: uppercase;
    font-weight: bold;

}

.item{
    height:auto;
    font-size: 12px;
    font-family: arial, sans-serif;
    border: 1px solid #f7f7f7;
    padding: 2px 10px; 
    display: flex;
    align-items: center;
}

.item1{
    grid-column: 1 / 4 ;
}

.item2{
    grid-column: 1 / 5 ;
}

.span2{
    grid-column: span 2;
}


.item--tall{
height: 30px;
}
/* .grid-unidades div:nth-child(even) {
    background-color: #f7fafd;
    color: #0066b8;} */

.color_orange-row{
    background-color: #fff2e7;
    color:#fb953a;
}

.color-blue-claro-row{
    background-color: #f6fafd;
    color:#0066b8;
}

.color-blue-oscuro{
   background-color:#e9eef3;  
   color:#0066b8;
}

.color-blue-light{
    background-color: #f7fafd;
    color:#0066b8;
}
.color_blue{
    background-color: #004f92;
    color: white;
}

.color_gris{
   background-color: #e7e7e7!important; 
   font-size: 12px;
   padding-left: 10px;
   font-weight: 600;
}

.item-precios{
    background-color: #efefef!important;
    font-weight:600;
    justify-content: flex-end;
    padding-right: 10px;
}

.texto-pequeño{
    font-size: 11px;
    line-height: 14px;
    text-transform: capitalize;
}

.align-center{
  text-align: center;
  justify-content: center;
}

.align-right{
    text-align: right;
    justify-content: flex-end;
}

.precio_clm_1 {
    background-color: #f6e8db;
    color: #000;
    justify-content: flex-end;
    font-weight: 600;
    padding-right: 10px;
}

.precio_clm_2 {
    background-color: #c8d8e5;
    color: #000;
    text-align: right;
    justify-content: flex-end;
    font-weight: 600;
    padding-right: 10px;
}

.text-small{
    font-size: 10.5px;
    color: #848484;
    line-height: 14px;
    margin: 0 auto;
    width: 868px;
    margin-top: 20px;
    font-family: arial,sans-serif;
}

.title{
    font-size: 23px;
    color: #004f92;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-weight: 600;

}

.color-verde{
    background-color: var(--color-verde-limon);
    color:var(--color-verde);
}

.precio_clm_verde {
    background-color: var(--color-verde-medio);
    color: #000;
    text-align: right;
    justify-content: flex-end;
    font-weight: 600;
    padding-right: 10px;
}

/************** generales***************** */

.row {
    display: flex;
    align-items: center;
}

.row--start {
    display: flex;
}

input[type="text"] {
    background: transparent;
    border: none;
}

input[type="text"]::placeholder {
    color: red
}

.general_text {
    font-size: 16px;
    color: var(--color-gris);
    line-height: 1.6;
}

.general_text--small {
    font-size: 14px;
    color: var(--color-gris);
    line-height: 1.2;
}

.general_text--medium {
    font-size: 15px;
    color: var(--color-gris);
    line-height: 1.3;
}

.title_text {
    font-size: 22px;
    color: var(--color-azul);
    font-weight: bold
}

.input_extended {
    width: 100%;
}

/************** boton imprimir**************/

.button {
    background-color: rgb(230, 129, 36);
    border:2px solid rgb(230, 129, 36); 
    color: white;
    border-radius: 4px;
    padding: 10px 27px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    outline: none;
    transition: all .2s;
    position: fixed;
    bottom: 50px;
    right: 50px;
}

.button:hover {
    background-color: white;
    border: 2px solid rgb(230, 129, 36);  
    color: rgb(230, 129, 36);
    box-shadow: 1px 1px 10px gray;
}
.button:active {
    background-color:rgb(230, 129, 36);
    color: white;
    box-shadow: initial;
}








/*************************************************************************** styles to print **************************************************************************/


@media print {
    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        margin: 0;
        padding: 0;
        color: #000;
    }

    .titulo-fecha__container {
        height: 173px;
        width: 100%;
        position: relative;
        top: 1065px;
    }


    .titulo-fecha__titulo {
        width: calc(100% - 45px);
        vertical-align: top;
        font-weight: bold;
        color: white;
        text-align: left;
        padding-left: 45px;
        font-size: 25px;
    }

    .cliente-empresa__cliente,
.cliente-empresa__empresa {
    width: calc(100% - 45px);
    text-align: left;
    vertical-align: top;
    font-weight: bold;
    color: white;
    padding-left: 45px;
}

        .portada {
            width: 100%;
            height: 1320px;
            background-image: url('http://184.72.113.77/VisualMI52/cotizadores/imagenes/propuesta_portada_ab.jpg');
            background-size: cover;
        }


    .page, .page__header {
        break-before: page;
    }
    .button, .button2, .tabla_final{
        display: none;
    }
}

@page {
    margin: 0; 
}


/*Tabla Plan*/
.grid_tabla_plan, .grid-unidades, .grid_tabla_accesorios, .grid-unidades__a-b{
    display: grid;
    width: 868px;
    margin: 30px auto;
    grid-column-gap: 3px;
    font-family: arial, sans-serif;
    font-size: 12px;
}

.grid_tabla_plan{
    grid-template-columns: 28px auto 130px 130px;    
}

.grid_tabla_accesorios{
     grid-template-columns: 40px auto 130px ;   
}

.grid-unidades{
    grid-template-columns:  auto 130px 130px 130px;  
}

.grid-unidades__a-b{
    grid-template-columns:  auto 130px 130px;  
}


textarea {
    background: transparent;
    border: none;
    width: 100%;
    line-height: 1.6 !important;
    resize: none;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} 

/* *******************tabla estilos****************************** */

table {
    border-collapse: collapse;
    border-radius: 3px;
    overflow: hidden;
    /* border: 1px solid rgb(223, 223, 223); */
    display: flex;
    justify-content: flex-start;
    margin-top:10px;
    border-spacing: 01px;
}

td {
    height: 28px;
    border-collapse: collapse;
    padding: 0;
    margin-left: 1px;
    width: auto
}

tbody tr:nth-child(1) {
    border: none;
    display: none
}

table tr:nth-child(2) td {
    background: var(--color-azul);
    width: 100%;
    color: white;
    font-size: 13px;
    font-weight: bold;
}

/* tr td  {
    width: calc(100% - 2px);
    height: 100%;
    border: none;
    display: flex;
    padding-left: 10px
} */

table tr:last-child td {
    background: #EFEFEF;
    font-weight: bold;
}

#resultado tr:nth-child(2) td {
    background: var(--color-azul);
}

#resultado td {
    border: 1px solid rgb(223, 223, 223);
    margin: 0 !important;
    overflow: hidden;
    width: 150px;
    padding:0 10px;
}

#resultado .input_cliente{
    margin-top: 10px;
    margin-left: 15px;
 
}


#plantillaHtmml{
    width: 0!important;
    height: 0!important;
}

#nombre_asesor{
    width: 100%;
}