﻿/** {
    box-sizing: border-box;
}*/

body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: 'Titillium Web', sans-serif !important;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.login {
    background-image: url(../images/shutterstock_411071158.jpg) !important;
    background-repeat: no-repeat;
    background-size: cover;
}

.color-white {
    color: white;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.selectedMenu {
    background-color: #231C45;
}

.bordernone {
    margin: 0px !important;
    padding: 0px !important;
    width: 100%;
}

    .bordernone p {
        margin: 0 !important;
        padding: 0 !important;
    }

.menulink {
    text-decoration: none;
    text-transform: capitalize;
    text-rendering: optimizeLegibility;
    text-align: left !important;
}

.material-icons {
    margin: 5px !important;
    line-height: 20px !important;
    padding-bottom: 0px;
}

.md-sidenav-left {
    min-height: 100%;
    width: 250px;
    position: fixed !important;
}
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/


.single-line {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.bordernone > .material-icons {
    padding: 2px 5px 5px 5px;
    vertical-align: middle;
}

.pagina > i {
    color: #0026ff;
}

.logolayout {
    width: auto;
    height: 60px;
    margin: -2px auto;
}

md-card-content {
    padding-bottom: 0 !important;
}

.groupX {
    font-size: 16px;
    margin: 0 0;
    padding: 3px 15px 3px 15px;
    color: rgb(49, 46, 46);
    background-color: rgba(224, 224, 224, 0.96);
    text-transform: none;
    font-weight: 400;
    min-width: 50px;
    vertical-align: middle;
}

.groupY {
    height: 31px !important;
    line-height: 0;
    min-height: 30px;
    min-width: 50px !important;
    margin: 2px 0 2px 0 !important;
    padding: 0 5px 0 5px !important;
}

.md-button.left {
    border-radius: 10px 0 0 10px;
    background: rgba(73, 101, 156, 0.20);
}

    .md-button.left:focus, .md-button.left:hover {
        background: rgba(73, 101, 156, 0.30);
    }

.md-button.cancel {
    border-radius: 10px 0 0 10px;
    background: rgba(216, 45, 21, 0.20);
}

    .md-button.cancel:focus, .md-button.cancel:hover {
        background: rgba(216, 45, 21, 0.30) !important;
    }

.md-button.middle {
    border-radius: 0;
    border-left: 1px solid rgba(230, 230, 230, 0.96);
    border-right: 1px solid rgba(230, 230, 230, 0.96);
}

.md-button.right {
    border-radius: 0 10px 10px 0;
    background: rgba(73, 101, 156, 0.20);
}

    .md-button.right:focus, .md-button.right:hover {
        background: rgba(73, 101, 156, 0.30);
    }

.table > thead > tr > th {
    border-bottom: 0px solid rgba(230, 230, 230, 0);
}

.label {
    color: rgba(0,0,0,0.6) !important;
    font-size: 100% !important;
}

.table {
    /*border-collapse: collapse;
    width: 100%;
    min-width: 30% !important;
    table-layout: fixed;*/
}

td, th {
    /*text-align: left;
    padding: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 98%;*/
}

tr {
    /*display: flex;
    max-width: 100% !important;
    min-width: 30% !important;*/
}

.perfildesplegable {
    transition: all 0.5s;
}

.table.md-table th md-input-container {
    /*width: 100%;
    margin-top: -10px !important*/
}

.table.md-table th label {
    font-size: 12px;
}

.table.md-table th span {
    width: 5px;
    margin: 2px;
    margin-top: 12px;
}

.table.md-table thead tr th md-checkbox {
    padding-top: 25px;
}

.perfil td:nth-child(1), .perfil th:nth-child(1) {
    overflow: hidden;
    text-overflow: clip;
    flex: 1 1 100%;
    min-width: 50px;
}

.perfil td:nth-child(1), .perfil th:nth-child(1) {
    overflow: hidden;
    text-overflow: clip;
    flex: 2 1 10%;
    min-width: 50px;
}

.perfil td:nth-child(2), .perfil th:nth-child(2) {
    flex: 2 1 20%;
}

.perfil td:nth-child(3), .perfil th:nth-child(3) {
    flex: 2 1 20%;
}

.perfil td:nth-child(4), .perfil th:nth-child(4) {
    flex: 2 1 20%;
}

.perfil td:nth-child(5), .perfil th:nth-child(5) {
    flex: 2 1 20%;
}

.perfil td:nth-child(6), .perfil th:nth-child(6) {
    flex: 3 1 20%;
}

.clientes td:nth-child(2), .clientes th:nth-child(2) {
    flex: 1 1 15%;
}

.clientes td:nth-child(3), .clientes th:nth-child(3) {
    flex: 1 1 15%;
}

.clientes td:nth-child(4), .clientes th:nth-child(4) {
    flex: 1 1 20%;
}

.clientes td:nth-child(5), .clientes th:nth-child(5) {
    flex: 1 1 20%;
}

.clientes td:nth-child(6), .clientes th:nth-child(6) {
    flex: 1 1 25%;
}


td:nth-child(1), th:nth-child(1) {
    overflow: hidden;
    text-overflow: clip;
    flex: 1 1 3%;
    min-width: 50px;
}

.usuario td:nth-child(1),
.usuario th:nth-child(1),
.clientes td:nth-child(1),
.clientes th:nth-child(1),
.consulta td:nth-child(1),
.consulta th:nth-child(1) {
    overflow: hidden;
    text-overflow: clip;
    flex: 1 1 3%;
    min-width: 50px;
    max-width: 50px !important;
}

.usuario td:nth-child(2), .usuario th:nth-child(2) {
    flex: 1 1 10%;
}

.usuario td:nth-child(n+1), .usuario th:nth-child(n+1) {
    flex: 1 1 20%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usuario td:nth-last-child(1), .usuario th:nth-last-child(1) {
    flex: 1 1 20%;
    min-width: 120px !important;
}
.consultaiconsx4 td:last-child, .consultaiconsx4 th:last-child {
    flex: 1 1 20%;
    min-width: 180px !important;
}
.consultaiconsx2 td:last-child, .consultaiconsx2 th:last-child {
    flex: 1 1 20%;
    min-width: 120px !important;
}
.consulta td:nth-child(2), .consulta th:nth-child(2) {
    flex: 1 1 8%;
}


.consulta tbody tr td:nth-child(n+1), .consulta thead tr th:nth-child(n+1) {
    flex: 1 1 8%;
    display: flex;
    align-items: center;
    overflow-x:hidden;
}
.consulta tbody tr td:nth-child(n+1) p {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width:100% !important;
    margin:0 !important;
}


.Auto {
    flex: 1 1 20% !important;
}

.minwidthfecha {
    min-width: 110px;
}

.minwidthtotal {
    min-width: 90px;
}
.table thead {
    display: flex;
    flex-flow: column nowrap;
    align-content: stretch;
}
.table {
    display: flex;
    flex-flow: column nowrap;
}
.table thead:nth-child(2) {
    display: none;
}
.table tr {
    flex: 1;
    display: flex;
    width: 100%;
}
.table tbody tr {
    flex: 1;
    display: flex;
    width: 100%;
    height: max-content !important;
    height: -moz-max-content !important;
}
.table tbody tr td {
    margin: 4px 0 !important;
    background-color: #efefef !important;
    border-top: none !important;
}
table.md-table.md-row-select tbody.md-body > tr.md-row:not([disabled]):hover {
    background-color: none !important;
    border-radius:10px !important;
    
}
    table.md-table.md-row-select tbody.md-body > tr.md-row:not([disabled]):hover td {
        background-color: #eeeeee ;
    }
table.md-table.md-row-select tbody.md-body > tr.md-row {
     border-radius:10px !important;
     transition:all 0.4s;
}
    table.md-table.md-row-select tbody.md-body > tr.md-row.md-selected {
        background-color: #ffffff !important;
    }
    table.md-table.md-row-select tbody.md-body > tr.md-row.md-selected td {
        background-color: rgba(73, 101, 156, 0.25) !important;
    }
.table tbody tr td {
    line-height: 25px;
}
    .table tbody tr td:first-child {
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        -moz-border-radius-bottomleft: 10px;
        -moz-border-radius-bottomright: 10px;
        line-height: 18px;
    }
    .table tbody tr td:last-child {
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
        -moz-border-radius-topleft: 10px;
        -moz-border-radius-topright: 10px;
        line-height: 18px;
    }
.table thead tr th {
    display: flex;
    flex-flow: row nowrap;
}
    .table thead tr th md-input-container {
        display: flex;
        flex-flow: row nowrap;
    
        max-height: 58px;
        flex: 1;
    }
    .table thead tr th span {
        display: flex;
        flex-flow: row nowrap;
        margin: 0 !important;
        max-width: 22px;
        flex: 1;
    }
.table td:nth-last-child(1), .table th:nth-last-child(1) {
    flex: 1 1 10% !important;
    min-width: 110px;
}

md-checkbox.md-default-theme.md-checked .md-icon, md-checkbox.md-checked .md-icon {
    background-color: rgba(73, 101, 156, 0.87);
}

.md-button.md-default-theme.md-warn.md-fab, .md-button.md-warn.md-fab, .md-button.md-default-theme.md-warn.md-raised, .md-button.md-warn.md-raised {
    color: rgb(255,255,255);
    background-color: rgba(216, 45, 21, 1);
}

.md-button.md-raised[disabled] {
    background-color: rgba(0,0,0,0.12);
}

@media only screen and (max-width: 960px) {
    .sidenavmargin {
        padding-left: 10px !important;
        transition: all 0.5s;
    }
}

@media only screen and (min-width: 959px) {
    .sidenavmargin {
        padding-left: 255px !important;
        transition: all 0.5s;
    }

    .sidenavmargin2 {
        padding-left: 125px !important;
        transition: all 0.5s;
    }
}

.colorbase01, md-toolbar {
    background: #1B3973 !important;
}

.colorbase02 {
    background: #49659C !important;
    /*color: #49659C !important;*/
    /*border-bottom: 1px solid #344C67*/
}

.colorbase03 {
    background: #E1E6EF !important;
}

.pagina {
    color: #49659C !important;
    margin-left: -20px !important;
}

.pagina2 {
    color: #49659C !important;
    margin-left: -10px !important;
    margin-right: 10px !important;
}

.colorbase04 {
    background: #6785BF !important;
}

.colorbase05 {
    background: #2E4D89 !important;
}

md-checkbox.md-default-theme.md-checked .md-ink-ripple, md-checkbox.md-checked .md-ink-ripple {
    color: rgba(73, 101, 156, 0.95) !important;
}

thead th md-input-container {
    margin: 15px 0 !important;
}

.toastcorrecto > div {
    background-color: #0e8d4f !important;
}

.toastincorrecto > div {
    background-color: #b72833 !important;
}

.ekospinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22,22,22,0.2);
    z-index: 1000000;
}

    .ekospinner > img {
        top: calc(50% - 40px) !important;
        left: calc(50% - 40px) !important;
        position: absolute;
        z-index: 51;
        height: 50px;
        width: 50px;
    }

.img-btn{
    height:40px;
    width:40px;
    padding:0 !important;
    border-radius:0 !important;
    transition:all 0.5s;
}
    .img-btn img {
        height: 34px;
        width: 34px;
        margin:2px;
    transition:all 0.5s;
    }

.img-btn:hover img{
    transform:scale(1.1, 1.1);
}
.th-select {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin-top: 12px !important;
}
.th-select md-select{
    width:100%;
}
.table > tbody + tbody {
    border-top: none !important;
}
.bordedashed {
    border-radius: 10px;
    border: 2px dashed rgba(73, 101, 156, 0.25);
}
.material-icons {
    height: 24px;
    width: 24px;
    line-height: 25px !important;
}
.select {
  background: rgba(27, 57, 115, 0.85);
color:#fefefe;
border:1px solid rgba(73, 101, 156,1);
}
.date .md-datepicker-input-container {
    width: calc(100% - 66px) !important;
}
.file-upload {
    display: flex;
    margin: 0 !important;
    margin-bottom: 5px !important;
    padding: 0 !important;
    border: 2px dashed rgba(100, 100, 100, 0.2);
    transition: all 0.3s;
}

    .file-upload:hover {
        border: 2px dashed rgba(52, 76, 103, 0.5);
        transition: all 0.3s;
    }

    .file-upload input.upload {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        z-index: 10;
        font-size: 20px;
        cursor: pointer;
        height: 70px;
        opacity: 0;
        filter: alpha(opacity=0);
        width: 300px;
    }

.xmlupload {
    border: none;
    font-size: 12px;
    padding-left: 0;
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    text-transform: initial;
    font-size: 19px;
    height: 70px;
    white-space: normal;
    line-height: normal;
    font-family: 'Roboto', sans-serif;
    align-items: center;
    font-weight: bolder;
    color: rgb(76,99,125);
}
