/** {
    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: 40%;
    height: auto;
    margin: 5px 20px 5px 20px;
}
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: 8px;
    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%;
}
.usuario td:nth-last-child(1), .usuario th:nth-last-child(1) {
    flex: 1 1 20%;
    min-width: 120px !important;
}

.consulta td:nth-child(2), .consulta th:nth-child(2) {
    flex: 1 1 8%;
}


.consulta td:nth-child(n+1), .consulta th:nth-child(n+1) {
    flex: 1 1 8%;
}


.Auto {
    flex: 1 1 20% !important;
    
}
.minwidthfecha{
    min-width:110px;
}
.minwidthtotal {
    min-width: 90px;
}
.consulta td:nth-last-child(1), .consulta th:nth-last-child(1) {
    flex: 1 1 10% !important;
    min-width: 110px !important;
}
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;
}