.main-page {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    height: 100%;
    color: #d5d5d5;
    background: #363636;
    padding-top: 1px;
}

.main-page .slogan {
    color: #556a78;
    font-weight: 400;
    line-height: 21px;
    margin: 50px auto;
    font-size: 15px;
    width: 88%;
    letter-spacing: 0.25px;
}

.main-page.home-bg {
    background: #363636;;
}

.main-page .logo {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    /*background-image: url('../img/logo.jpg'); */
    /*background-image: url('../img/logo_tj.png');*/
    width: 30%;
    height: 20%;
    margin: 100px auto 25px auto;
    position: relative;
    z-index: 2;
}

.main-page .slogan {
    font-size: 16px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-align: center;
}

.main-page .start_page {
    text-align: center;
}

.main-page .pseudo-link {
    color: white;
    font-size: 15px;
    text-decoration: none;
}

.main-page .button, .main-page .button {
    width: 88%;
    height: 56px;
    margin: 10px auto;
    position: relative;
    padding: 0;
    /*background-position: cover;*/
    text-transform: uppercase;
    /* font-size: 16px; */
    letter-spacing: 0.5px;
    z-index: 2;
}

.button.button-blue, .button-blue.button {
    border-color: transparent;
    background-color: rgba(206, 229, 247, 0.5);
    color: #fff;
    background-image: none;
}

@media (min-width: 700px) {
    .main-page .button, .main-login-page .button, .main-login-page .button, .signup-page .button, .signup-page .button {
        width: 25%;
    }
}

/*login */
.main-login-page, .signup-page {
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #363636;
}

.main-login-page .logo, .signup-page .logo {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    /* background-image: url('../img/logo.png'); */
    /*background-image: url('../img/logo.jpg'); */
    /*background-image: url('../img/logo_tj.png');*/
    /*width: 150px;*/
    height: 150px;
    margin: 10% auto 25px auto;
}

.main-login-page .list, .signup-page .list {
    width: 88%;
    margin: 0% auto 30px auto;
}

@media (min-width: 700px) {
    .main-login-page .list, .signup-page .list {
        width: 25%;
    }
}

.main-login-page .list label.item-input, .signup-page .list label.item-input {
    padding: 10px 0 4px 15%;
    /* padding: 10px 0 4px 45px; */
    background: transparent;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #606170;
}

.main-login-page .item-input {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6px 0 5px 16px;
}

.main-login-page label, .main-login-page input {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.42857;
}

.main-login-page .list label.item-input input[type="text"], .main-login-page .list label.item-input input[type="email"], .main-login-page .list label.item-input input[type="password"], .signup-page .list label.item-input input[type="text"], .signup-page .list label.item-input input[type="password"] {
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.5px;
}

.main-login-page input[type="password"],
.main-login-page input[type="email"] {
    display: block;
    padding-top: 2px;
    padding-left: 0;
    height: 34px;
    color: #111;
    vertical-align: middle;
    font-size: 14px;
    line-height: 16px;
}

.main-login-page .item-input input {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 220px;
    -moz-box-flex: 1;
    -moz-flex: 1 0 220px;
    -ms-flex: 1 0 220px;
    flex: 1 0 220px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding-right: 24px;
    background-color: transparent;
}

.main-login-page input, textarea {
    width: 100%;
}

.main-login-page input, .main-login-pagebutton {
    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.main-login-page .list label.username:after, .signup-page .list label.username:after {
    content: "";
    background: url('../img/user_darkui.png');
    width: 20px;
    height: 20px;
    display: block;
    background-repeat: no-repeat;
    top: 14px;
    position: absolute;
    background-position: center;
    margin: 0 0 0 9%;
    background-size: contain;
    left: -22px;
}

.main-login-page .list label.lock:after, .signup-page .list label.lock:after {
    content: "";
    background: url('../img/lock_darkui.png');
    width: 22px;
    height: 22px;
    display: block;
    background-repeat: no-repeat;
    top: 14px;
    position: absolute;
    background-position: center;
    margin: 0 0 0 9%;
    background-size: contain;
    left: -22px;
}

md-content.md-default-theme {
    background-color: #eee;
}

md-card {
    background-color: #fff;
}

md-card h2:first-of-type {
    margin-top: 0;
}

md-toolbar .md-button.md-default-theme {
    border-radius: 99%;
}

h2 {
    font-weight: 400;
}

.md-toolbar-tools-bottom {
    font-size: small;
}

.md-toolbar-tools-bottom :last-child {
    opacity: 0.8;
}

md-toolbar:not(.md-hue-1),
.md-fab {
    fill: #fff;
}

md-sidenav {
    fill: #737373;
}

md-sidenav ng-md-icon {
    position: relative;
    top: -2;
}

.user-avatar {
    /* border-radius: 99%; */
    border-radius: 50%;
    height: 64px;
    object-fit: cover;
    object-position: center;
    width: 64px;
}

md-input-container.input5 {
    margin: 5px 0;
}

md-input-container.input10 {
    margin: 5px 0;
}

.k-grid-toolbar:first-child {
    text-align: left;
}

#div_masivo_pedido_grid .k-grid {
    font-size: 10px;
}

#div_masivo_pedido_grid .k-grid td {
    line-height: 1em;
    font-size: 14px;
}

#div_lookup_pedido_grid .k-grid td {
    line-height: 1em;
    font-size: 12px;
}

#div_masivo_pedido_grid .k-grid th {
    line-height: 1em;
    font-size: 12px;
}

#linea_pedido_grid .k-grid {
    font-size: 12px;
}

#linea_pedido_grid .k-grid td {
    line-height: 1em;
    font-size: 12px;
}

#linea_pedido_grid .k-grid th {
    line-height: 1em;
    font-size: 13px;
}

#linea_masivo_pedido_grid .k-grid-toolbar {
    padding: .6em 1.3em;
}

#linea_presupuestos_grid .k-grid {
    font-size: 12px;
}

#linea_presupuestos_grid .k-grid td {
    line-height: 1em;
    font-size: 12px;
}

#linea_presupuestos_grid .k-grid th {
    line-height: 1em;
    font-size: 13px;
}

#div_masivo_presupuesto_grid .k-grid {
    font-size: 10px;
}

#div_masivo_presupuesto_grid .k-grid td {
    line-height: 1em;
    font-size: 14px;
}

#div_masivo_presupuesto_grid .k-grid th {
    line-height: 1em;
    font-size: 12px;
}

#linea_masivo_presupuesto_grid .k-grid-toolbar {
    padding: .6em 1.3em;
}

.category-label {
    vertical-align: middle;
    padding-right: .5em;
}

.searchmasivo {
    vertical-align: middle;
}

.toolbar {
    float: right;
    font-size: 15px;
}

.toolbar_select {
    float: right;
    position: relative;
    left: -50%; /* or right 50% */
    text-align: left;
    font-size: 15px;
}

.ob-right {
    text-align: right;
}

.k-grid tbody .k-button, .k-ie8 .k-grid tbody button.k-button {
    min-width: 24px;
}
md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar) {
    background-color: rgb(21,71,112);
    color: white;
    
}

.k-block, .k-header, .k-grid-header, .k-toolbar, .k-grouping-header, .k-pager-wrap, .k-button, .k-draghandle, .k-treemap-tile, html .km-pane-wrapper .k-header, .k-grid-header .k-header>.k-link, .k-panel>li.k-item{
    
    background-color: #f5f5f5;
    border-color: #ccc !important;
    color: #000;
    
}
.k-panelbar>li.k-state-default>.k-link, .k-state-highlight, .k-state-active,.k-pager-wrap .k-link:hover {
    color: #333 !important;    
}

.k-state-hover{
    color: #333 !important;
    background-color: #CEE5F7 !important;    
}

.k-state-highlight{
    color: yellow;
}
/*BOTONES GENERALES*/
.k-pager-wrap.k-grid-pager.k-widget a{
    color: white!important;
    border-radius: 0.3em;
    background-color: rgb(21,71,112);
}

/*BOTONES PAGINACION*/
.k-pager-wrap.k-grid-pager.k-widget a {
    color: white;
    background-color: rgb(21,71,112);
    border-radius: 0.3em;
}


/*BOTONES GENERALES HOVER*/
.k-pager-wrap:hover .k-link:hover{
    color:rgb(21,71,112)!important;
    background-color: white!important;
    border-color: rgb(21,71,112);
}

.k-state-selected, .k-state-focus{
    border-color: white !important;
    border-radius: 0.3em!important;
}

.k-button{
    color: white;
    background-color: rgb(21,71,112);
}
.k-button:hover{
   background-color: rgb(21,71,112) !important;
}
.main-page.ng-scope{
    background: url('../img/fondo-quim.png');
    background-repeat: no-repeat; 
    background-size: cover; 
}

.main-page{
    padding-top: 0.1px;
}
.main-login-page{
    background-color: transparent;
}
.main-login-page .item-input input{
    background-color: white;
}

.byaf div{
    background-image: url('../img/byAF.png');
}
.byaf{
    left: 90%;
    top: 95%;
    position: absolute;
}
.slogan_button{
    margin-top: 5% !important;
    
}
.main-login-page .button,.slogan_button{
    background-color: rgb(21,71,112) !important;
}
.main-login-page .list label.item-input input[type="email"], .main-login-page .list label.item-input input[type="password"]{
    
    color: gray;
}
#botonPlanificaVisitas{
    color: white!important;
    background-color: rgb(21,71,112);
    border-color: rgb(21,71,112)!important;
  
}
#botonPlanificaVisitas:hover{
    color: rgb(21,71,112)!important;
    background-color: white;
    border-color: rgb(21,71,112)!important;
}

#botonPlanificaVisitas:focus{
    color: rgb(21,71,112)!important;
    background-color: white;
    border-color: rgb(21,71,112)!important;
}
.k-state-default.k-header.k-nav-prev{
    color: white!important;
    background-color: rgb(21,71,112)!important;
    border-color: rgb(21,71,112)!important;
}

.k-state-default.k-scheduler-fullday{
    color: white!important;
    background-color: rgb(21,71,112);
    border-color: rgb(21,71,112)!important;
}
.k-state-default.k-header.k-nav-next{
    color: white!important;
    background-color: rgb(21,71,112)!important;
    border-color: rgb(21,71,112)!important;
}
.k-calendar .k-link.k-nav-fast {
    color: black!important;
}

.k-icon.k-i-calendar{
    color: black!important;
}


.k-calendar .k-header .k-link.k-nav-prev{
    background-color: rgb(21,71,112)!important;
}

.k-calendar .k-header .k-link.k-nav-next{
    background-color: rgb(21,71,112)!important;
}
 /*BOTON DE EDITAR*/
 .k-icon.k-edit{
    margin-left: 5%;
}
  /*BOTON DE BORRAR*/
.k-icon.k-delete{
    margin-left: 5%;
}
    /*BOTON DE EXPORTAR A PDF*/
.k-icon.k-i-pdf{
    margin-left: 5%;
}

.k-icon.k-i-arrow-e{
    margin-top: 25%!important;
    position: relative;
}

.k-icon.k-i-arrow-w{
    margin-top: 25%!important;
    position: relative;
}


.k-icon.k-i-arrow-e:disabled{
    margin-top: 25%!important;
    position: relative;
}

.k-icon.k-i-seek-e{
    margin-top: 25%!important;
    position: relative;
}

.k-icon.k-i-seek-w{
    margin-top: 25%!important;
    position: relative;
}
.k-link.k-pager-nav:hover{
    color: white!important;
}

.k-link.k-pager-nav.k-pager-last:hover{
    color: white!important;
}


.k-button{
    color: white;
    background-color: rgb(21,71,112);
}
.k-button:hover{
   background-color: rgb(21,71,112) !important;
}

.main-page.ng-scope{
    background: url('../img/fondo-quim.png');
}
.main-page{
    padding-top: 0.1px;
}
.main-login-page{
    background-color: transparent;
}
.main-login-page .item-input input{
    background-color: white;
}
.k-pager-numbers.k-reset li .k-state-selected, .k-group.k-panel li .k-link.k-state-selected{
    
     background-color: rgb(21,71,112)
}
.byaf div{
    background-image: url('../img/byAF.png');
}
.byaf{
    left: 90%;
    top: 95%;
    position: absolute;
}
.slogan_button{
    margin-top: 5% !important;
    
}
.main-login-page .button,.slogan_button{
    background-color: rgb(21,71,112) !important;
}
.main-login-page .list label.item-input input[type="email"], .main-login-page .list label.item-input input[type="password"]{
    color: gray;
}

/*.k-widget.k-window .k-window-titlebar.k-header{
    display: none;
}*/
#boton-cerrar-window{
    margin-top: 5%;
}

#img-logo{

    position: absolute;
    top: 14%;
    left: 39%;
}

@media only screen and (max-width : 1024px) {
    #img-logo {
        top: 10%;
        left: 12%;
        max-width: 400px;
    }
    .main-page .button{
        left: -18%;
    }
}
@media only screen and (max-width : 800px) {
    #img-logo {
        top: 10%;
        left: 0%;
    }
    .main-page .button{
        left: 0%;
    }
}

.k-link:link{
    color:black!important;
}      

/*Para el hour picker de kendo*/

span.k-widget.k-timepicker.k-header.ng-pristine.ng-untouched.ng-valid.md-input.ng-not-empty {
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    display: block;
    margin-top: 0;
    background: 0 0;
    /* padding: 2px 2px 1px; */
    border-width: 0 0 1px;
    line-height: 26px;
    height: 30px;
    -ms-flex-preferred-size: 26px;
    border-radius: 0;
    border-style: solid;
    width: 100%;
    /* box-sizing: border-box; */
    float: left;  
}

span.k-picker-wrap.k-state-default{
    background-color: grey;
    border-color:grey;
}

.k-state-default>.k-select{
    border-color:grey;
}


#linea_pedido_grid > div > div.k-grid-content {
    height: 400px;
}

#linea_presupuestos_grid > div > div.k-grid-content {
    height: 400px;
}

md-content{
    overflow: auto;
    
}

#container-aplication .container-principal{
    height: 100%;
}

.k-pager-numbers{
    left:auto !important;
}


/**Para movil**/
@media only screen and (max-width: 1024px) and (min-width:319px) and (max-height: 1024px) and (min-height: 319px) {
    
    /*Para que los datos no sobre salga del contenedor */
    #container-aplication .container-principal{
        height: max-content;
       
    }
    
    .byaf{
        left: 58%;
    }
    
    div.k-grid-content {
    height: inherit !important;
    }
    
    .mobile-title{
        font-size: 14px !important;
        text-align: center;
    }
    
    .button-mobile{
        min-width: 50px; 
    }
    
    /* esto es para cambiar el texto en los inputs en el aparatado movil*/
    /*.texto-movil md-input-container input{
        font-size: 14px;
    }   */

        /*BOTON DE AÑADIR*/
        .k-icon.k-add{
            margin-left: 5%!important;
        }

        
    #botonesAgregar{
        margin-left: 0;
        font-size: medium;
    }
    
    .k-button-icontext {
        overflow: visible;
        font-size: medium;
    }
  
}
 .k-i-clock{
    margin-top: 35%;
 }


 /*IMAGENES DE LOS ARTICULOS*/
#imagenArticulo{
    height: 120%;
    width: 120%;
    border-style: solid;
    border-width: 2.5px;
    border-radius: 0.3em; 
    border-color: #ABAFAF;
    max-height: 350px!important;
    max-width: 500px!important;
}

#imagenArticuloServir{
    height: 90%;
    width: 110%;
    border-style: solid;
    border-width: 1px;
    border-radius: 0.3em; 
}

#divImagenArticulo{
    margin-right: 4%;
}

#imagenArtGrid{
    width: 90%!important;
    height: 90%!important;
}

#imagenArtLinea{
    width: 60%!important;
    height: 60%!important;
}

#imagenNoDisponible{
    width: 160%!important;
    height: 150%!important;
}
