.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: 5px;
}

.user-avatar {
    border-radius: 99%;
}

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: rgba(255,255,255,0.87);
    
}

.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-selected, .k-state-focus{
    border-color: #ccc !important;
}

.k-pager-wrap.k-grid-pager.k-widget a {
    color: grey;
    background-color: rgb(21,71,112);
}
.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: 15%;
    left: 0%;
}

@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: #363940; 
}
      
.k-pdf-export .k-grid-toolbar,
.k-pdf-export .k-pager-wrap,
.k-pdf-export .k-grid-filter
{
  display: none;
}
 
 
 

.k-pdf-export .k-grid {
    font-family: "DejaVu Sans", "Arial", sans-serif;
    font-size: 12px;
  }
  
  .k-pdf-export  .k-grid td {
      line-height: 2em;
  }