/* GENERALES */
form {
    /*background-color: #ecedee;*/
    padding: 6px;
    border-radius: 7px;
}

.form-item, .form-actions {
    margin-top: 0px;
    margin-bottom: 5px;
}

form label {
    font-size: 14px;
    margin: 0;
}
form .form-control {
    padding: 3px;
    font-weight: 500;
    height: 24px;

}
/* imágenes y selects */
form .image-widget input {
    padding: 0;
    height: 32px;  /* respeta tamaño del botón */
}
form select.form-control {
    padding: 0 5px;
    font-size: 14px;
    color: #3f487f;
    background-image: linear-gradient(to top,#eee 0,#fff 50%);
}
/* textarea */
textarea.form-control {
    height: 35px;
}

/* ICONO AYUDA */
.helpmodal svg {
    height: 18px;
    width: 18px;
    float: right;
    color: #009cde;
    position: relative;
    margin-top: 3px;
    margin-right: 5px;
}

/* DESCRIPCIONES */

.form-item .description {
    font-size: 12px;
    color: #666;
}


/* AVISOS */
.field-add-more-submit.button {
    width: auto;
    height: auto;
    margin: 0.5em;
    padding: 2px 5px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    border-color: transparent;
    background-color: #0056b3;
    transition: color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.field-add-more-submit.button:hover {
    color: #fff;
    background-color: #00448d;
}

.field-add-more-submit.button:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #003d80;
}

/* ORGANIZACIONES */



#organizaciones-add-form label{

}

#organizaciones-add-form #edit-cnombre-wrapper label {


}

/* FILTROS EXPUESTOS VISTAS */
.views-exposed-form .form-item {
    width: 200px;
    display: inline-block;
}

.views-exposed-form .form-item-destacados{
    width: 130px !important;
}

/* campos multivalor */
.empresas-form .tabledrag-toggle-weight-wrapper {
    display: none;
}

.field-multiple-table th {
    padding: 0;
}

.field-multiple-table th h4 {
    font-size: 14px;
    font-weight: 400;
    padding: 0;
}

.field-multiple-table td {
    padding: 0;
}

.field-multiple-table td.field-multiple-drag {
    padding-left: 20px;
}

.empresas-form #botoncif{
    position: absolute;
    top: 20px;
    right: 0px;
    font-size: 13px;
}

/* filtros expuestos vista tareas  */

#views-exposed-form-tareas-page .daterange-filter {
    float:left;
}

#views-exposed-form-tareas-page .js-form-item-fechainicio-time{
    width: unset;
}






/* PRESUPUESTOS */
.botonvolver{
    margin-bottom: 10px;
}

.presupuestos-form #addlinea{
    margin-bottom:10px;
    margin-right: 10px;
}

.presupuestos-form [id^="edit-submit"] {
    float: right;
    margin: 0px;
    margin-bottom:10px;
    margin-right: 10px;
}

.presupuestos-form table tr{
    background-color: #fff;
}
.presupuestos-form table th,
.presupuestos-form table td{
    padding: 0px;
}

.presupuestos-form #edit-notfcontainer{
    display: inline-block;
    margin-top: 20px;

}

.presupuestos-form #ptonotf{
    cursor: pointer;
}



.presupuestos-form .form-item-nestado{
    width: 80%;
    display: inline-block;

}


/* LINEA PRESUPUESTOS */

.linpresupuestos-form #fcantidad,
.linpresupuestos-form #fprecio,
.linpresupuestos-form #fporcdesc,
.linpresupuestos-form #fporciva,
.linpresupuestos-form #ftotallinea{
    text-align: right;
}

.linpresupuestos-form #cobservaciones{
    height: 30px;
}

.linpresupuestos-form .form-submit{
    float: right;
}

.entity.entity__presupuestos .view-linpresup table tr{
    background-color: #fff;
}
.entity.entity__presupuestos .view-linpresup table th,
.entity.entity__presupuestos .view-linpresup table td{
    padding: 0px;
}






/*vista linpresupuestos escandallo*/
.view-id-linpresup .escandallo{
    background-color:  #ccc !important;
}

/* campo ficheros */
.js-form-file.form-file.form-control{
    height: 30px;
    font-size: 13px;

}


.agendas-form legend{
    font-size: 14px;
    margin-bottom: 0px;
}

.agendas-form textarea.form-control {
    height: 65px;
}
.agendas-form .js-form-item-lsolapable-value{

    margin: 25px;
}

.agendas-form .form-date{
    width: 150px;
}

.agendas-form .js-form-item-notificacion{

    margin: 25px;
}





/* PRESUPUESTOS COPIAR */


.ptocopiar .form-item-actualizar{
    margin-top:25px;
    display: inline;
}

.ptocopiar #botones{
    text-align: right;
}



/* QUITAR FECLAS CAMPOS NUMBER */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    text-align: right;
}


/* FORMULARIO CONFIGURACION */

.astec-cr-configuracion-form .form-item {
    width: 250px;
    display: inline-block;
}


.astec-cr-configuracion-form .form-item-botoncif{
    display:block;
}

.user-form #edit-submit {
    float:right;
    margin-bottom: 10px;
}

.user-form #edit-status {
    display: block !important;
}


.astec-cr-configuracion-form #logo-config{
    max-height: 200px;
    max-width: 200px;

}


.astec-cr-configuracion-form #colormenu{
    width: 100px;
    height: 40px;
}

.astec-cr-configuracion-form #colortexto{
    width: 100px;

}

.astec-cr-configuracion-form input{
    width: 200px;

}


/*disable*/
select:disabled{
    opacity: 0.8 !important;
}


/* FORMULARIO CANALES*/
.canales .fieldset-legend{
    font-size: 14px;
}
.canales fieldset legend{
    margin-bottom: 0px;
}
.canales fieldset .label{
    font-size: 12px;
    font-weight: normal;
}
.canales .helpmodal{
    margin-bottom: -25px;
}


/*plantillas mensaje*/

.token-cto,
.token-emp{
    font-style: italic;
}
.token{
    color: blue;
    cursor: pointer;
}

.token:hover{
    text-decoration: underline;
}

/*FORMULARIO CONTACTOS */

/*sitios web*/
.contactos-form .fieldset-legend{
    font-size: 13px;
}

.contactos-form #tipoweb{
    display: inline-block;
}

.contactos-form .sitiosweb input{
    width: 300px;
    float: left;
}

.contactos-form .sitiosweb select{
    width: 150px;
    float: left;
    margin-left: 10px;
}

.contactos-form .sitiosweb #eliminar{
    float: right;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    border-radius: 0.2rem;
    background-color: var(--red) !important;
    border-color: var(--red) !important;

}

.contactos-form .sitiosweb .button{
    float: right;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    border-radius: 0.2rem;
    height: 25px;
    width: 30px;
}

.contactos-form .image-style-thumbnail{
    height: auto;
}


/*FORMULARIO EMPRESAS */

/*sitios web*/

.empresas-form .fieldset-legend{
    font-size: 13px;
}

.empresas-form #tipoweb{
    display: inline-block;
}

.empresas-form .sitiosweb input{
    width: 300px;
    float: left;
}

.empresas-form .sitiosweb select{
    width: 200px;
    float: left;
    margin-left: 10px;
}

.empresas-form .sitiosweb #eliminar{
    float: right;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    border-radius: 0.2rem;
    background-color: var(--red) !important;
    border-color: var(--red) !important;

}

.empresas-form .sitiosweb .button{
    float: right;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1;
    border-radius: 0.2rem;
    height: 25px;
    width: 30px;
}


.empresas-form  .image-style-thumbnail{
    height: auto;
}


#drupal-modal fieldset legend span{
    font-size: 14px;
    margin: 0;
}



/* FORM TAREAS */

.tareas-form legend{
    font-size: 14px !important;
}

.tareas-form  .form-item-notificacion{
    margin-top: 30px;
}

/* FORM SEGUIMIENTOS */

.modaladd.seguimientos fieldset legend{
    margin-bottom: 0px;
    font-size: unset;

}


/* FORM CAMBIAR ESTADOS TAREAS MODAL */

.modal.cambiarestado{
    width: 450px !important;
}
.modal.cambiarestado input {
    margin-top:10px;
    margin-bottom:10px;
    float: right;

}
form .btn-sm{
    width: auto;
    height: auto;
    margin: 0.5em;
    padding: 2px 5px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    border-color: transparent;
    background-color: #0056b3;
}

form legend{
    font-size: 14px;
}

.modal.cambiarestado .fieldset-wrapper{
    border: 2px solid #ccc;
    padding: 10px;
}
.modal.cambiarestado .fieldset-wrapper input{
    float:none;
    margin-right: 15px;
}


/* FORM NOTIFICACIONES */


#notificaciones-form #botonesnotf .form-type-checkbox{
    text-align: center;
    padding-right: 10px;
}


#notificaciones-form #botonesnotf input[type="checkbox"]{
    display: none;
}

#notificaciones-form #botonesnotf label {
    /*border: 1px solid #fff;*/
    padding: 5px;
    display: block;
    position: relative;
    margin: 0px;
    cursor: pointer;
}

#notificaciones-form #botonesnotf label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    /*border: 1px solid grey;*/
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}

#notificaciones-form #botonesnotf label img {
    height: 30px;
    width: 30px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
    margin-right: 5px;
}

#notificaciones-form  #botonesnotf :checked + label {
    border: #0056b3 3px solid;
    border-radius: 10px;
}

#notificaciones-form  #botonesnotf :checked + label:before {
    content: "✓";
    background-color: #0056b3;
    transform: scale(1);
}

#notificaciones-form  #botonesnotf :checked + label img {
    transform: scale(0.9);
    /* box-shadow: 0 0 5px #333; */
    z-index: -1;
}

/*#notificaciones-form  .genalarma{
    width: 20px;
    height:20px;
}*/

#notificaciones-form  .form-submit{
    float:right;
}

#notificaciones-form  .form-item-lgeneraralarma{
    margin-top: 20px;
    margin-left: 15px;
}


/* LOGIN */
#user-login-form  #edit-name{
    width: 300px;

}
#user-login-form  #edit-pass{
    width: 300px;

}

/* PROCESOS */
.modaladd.procesos .fieldset-wrapper .button{
    width: auto;
    height: auto;
    margin: 0.5em;
    padding: 2px 5px;
    font-size: 13px;
    line-height: 1.5;
}
/* DEFTAREAS  */
.modaladd.deftareas .fieldset-wrapper .button{
    width: auto;
    height: auto;
    margin: 0.5em;
    padding: 2px 5px;
    font-size: 13px;
    line-height: 1.5;
}



.modaladd.deftareas #botonesnotf .form-type-checkbox{
    text-align: center;
    padding-right: 10px;
}


.modaladd.deftareas #botonesnotf input[type="checkbox"]{
    display: none;
}

.modaladd.deftareas #botonesnotf label {
    /*border: 1px solid #fff;*/
    padding: 5px;
    display: block;
    position: relative;
    margin: 0px;
    cursor: pointer;
}

.modaladd.deftareas #botonesnotf label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    /*border: 1px solid grey;*/
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}

.modaladd.deftareas #botonesnotf label img {
    height: 30px;
    width: 30px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
    margin-right: 5px;
}

.modaladd.deftareas  #botonesnotf :checked + label {
    border: #0056b3 3px solid;
    border-radius: 10px;
}

.modaladd.deftareas  #botonesnotf :checked + label:before {
    content: "✓";
    background-color: #0056b3;
    transform: scale(1);
}

.modaladd.deftareas  #botonesnotf :checked + label img {
    transform: scale(0.9);
    /* box-shadow: 0 0 5px #333; */
    z-index: -1;
}

/*#notificaciones-form  .genalarma{
    width: 20px;
    height:20px;
}*/


.modaladd.deftareas  .form-item-lgeneraralarma{
    margin-top: 20px;
    margin-left: 15px;
}

/* CONVERSACIONES WHATSAPP*/
.modaladd.conversacion .js-form-submit{
    float:right;
    margin:10px 0px;
}

.modaladd.conversacion #conv-parametros input{
    border-radius: 5px;
    margin-top: 2px;
    border: none;
    padding: 5px 10px;
    font-size: 13px;
    outline: none;
    margin-bottom: 5px;
}


/* CALENDARIO CITA PREVIA ESPUESTO */
#views-exposed-form-citaprevia-page .form-item-termino{

    width: auto !important;
}
/* LLAMADAS */
.llamadas-form legend{
    margin-bottom: 0px !important;
}

.llamadas-form .field--name-lrevisada{
    margin-top: 25px;
}

.llamadas-form textarea{
    height: 120px !important;
}


/* REGISTRO HORARIO */
#reghoremp-add-form #edit-dfechahora-0-value--description{

    display: none;
}


/* HORAS ACUMULADAS */
#acumuladasform #edit-submit{
    height: 30px;
    margin-top: 20px;
}


.reghoremp-edit-form .description{
    display: none;
}