/* 
    Created on : 7 dic. 2019, 22:19:51
    Author     : Luis Zagaceta
    Email      : luiszagaceta@gmail.com
    Celular    : +51999913092
*/

/* LOGIN */
html, body{
    height: 100vh;
}

.error-select2{
    border-color: #dc3545 !important;
}

.form-login{
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 15px;
}
.form-login .form-group .form-control,
.form-login .input-group .form-control{
    position: relative;
    background-color: transparent;
    z-index: 1;
}
.form-login .form-group input::placeholder,
.form-login .input-group input::placeholder{
    color: transparent;
}
.form-login .form-group label,
.form-login .input-group label{
    position: absolute;
    height: 16px;
    line-height: 16px;
    /*top: .5rem;*/
    top: 0;
    bottom: 0;
    left: 8px;
    margin: auto;
    background-color: transparent;
    padding: 0 5px;
    color: transparent;
    -webkit-transition: background-color .1s, top .1s, color .1s;
    transition: background-color .1s, top .1s, color .1s;
}
.form-login .form-group input:not(:placeholder-shown) ~ label,
.form-login .input-group input:not(:placeholder-shown) ~ label{
    top: -8px;
    margin: 0;
    z-index: 2;
    color: #a9a9a9;
    background-color: #fff;
}


aside{
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    max-width: 320px;
    height: calc(100% - 90px);
    z-index: 1;
}
main{
    position: fixed;
    top: 90px;
    left: 0;
    /*left: 320px;*/
    width: 100%;
    /*width: calc(100% - 320px);*/
    height: calc(100% - 90px);
    overflow-y:  auto;
    overflow-x: hidden;
    /*padding: 0 15px;*/
    z-index: 3;
    background-color: #f1f1f1;
}

header{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 4;
    background-color: #000;
    color: #fff;
}
.logo{
    display: block;
    float: left;
    /* width: auto;
    height: 100%; */
    max-width: 320px;
    padding: 10px;
    margin-left: 20px;
}
.logo > img{
    /* width: auto; */
    height: 50px;
    /*background-color: #fff;*/
}
.botones{
    margin-top: 20px;
    float: left;
}

.centered-image-container img {
    left: 44.5%;
    height: 50px;
    position: absolute;
}

.user-actions{
    display: block;
    float: right;
}




footer{
    position: fixed;
    bottom: 0;
    left: 0;
    /*left: 320px;*/
    width: 100%;
    /*width: calc(100% - 320px);*/
    height: 60px;
    z-index: 2;
    background-color: #000;
    color: #fff;
}
#asideTab{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1;
}
#asideTabContent{
    background-color: white;
    position: relative;
    top: 0;
    left: 0;
    width: calc(100% + 17px);
    height: 100%;
    /*padding: 10px;*/
    padding-top: 50px;
    overflow: auto;
}
#asideTabContent.tab-content>.tab-pane{
    width: 100%;
    max-width: 320px;
}
#asideTabContent.tab-content>.tab-pane .card,
#asideTabContent.tab-content>.tab-pane .card-header{
    border: none;
    border-radius: 0;
}
#asideTabContent.tab-content>.tab-pane .card-header{
    padding: 0;
    border-top: 1px solid rgba(0,0,0,.125);
    border-bottom: 1px solid rgba(0,0,0,.125);
}
#asideTabContent.tab-content>.tab-pane .card-header>.btn.btn-link>i.mdi{
    vertical-align: middle;
    line-height: 21px;
}
#asideTabContent.tab-content>.tab-pane .card-header>.btn.btn-link::before{
    content: "\F0063";
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: 24px;
    text-rendering: auto;
    line-height: 25px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float: right;
}
#asideTabContent.tab-content>.tab-pane .card-header>.btn.btn-link.collapsed::before{
    content: "\F004B";
}
#asideTabContent.tab-content>.tab-pane .card-header>.btn.btn-link>.action-create{
    float: right;
    line-height: 24px;
    margin-right: 10px;
}
#asideTabContent.tab-content>.tab-pane .card-body{

}
#asideTabContent.tab-content>.tab-pane .card-body > ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
#asideTabContent.tab-content>.tab-pane .card-body > ul > li{
    line-height: 27px;
    border-bottom: solid 1px #ccc;
}
#asideTabContent.tab-content>.tab-pane .card-body > ul > li:last-child{
    border-bottom: none;
}
#asideTabContent.tab-content>.tab-pane .card-body > ul > li > a{
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#asideTabContent.tab-content>.tab-pane .card-body > ul > li > a > span{
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 53px;
}
#asideTabContent.tab-content>.tab-pane .card-body > ul > li > a:hover{
    padding-right: 55px;
}
#asideTabContent.tab-content>.tab-pane .card-body > ul > li > a:hover > span{
    display: block;
}



/* GENERAL */
.btn-sin-focus,
.btn-sin-focus:focus{
    box-shadow: none;
}
span.mdi{
    display: inline-block;
    vertical-align: middle;
    line-height: 16px;
}
.mdi-32px.mdi-set, .mdi-32px.mdi:before{
    font-size: 32px;
    line-height: 32px;
}
.mdi-36px.mdi-set, .mdi-36px.mdi:before{
    font-size: 36px;
    line-height: 36px;
}
.mdi-48px.mdi-set, .mdi-48px.mdi:before{
    font-size: 48px;
    line-height: 48px;
}

.bg-verde{background-color: #25ab33 !important;}
.bg-azul{background-color: #0b48e2 !important;}
.bg-naranja{background-color: #ffcf00 !important;}
.bg-plomo{background-color: #8d9194 !important;}
.bg-morado{background-color: #8A4C82 !important;}
.bg-marron{background-color: #804000 !important;}
.bg-mostazin{background-color: #C5AE05 !important;}
.bg-verdeneg{background-color: #0d866d !important;}
.bg-azulneg{background-color: #18548c !important;}
.bg-rosaura{background-color: #ff9999 !important;}
.bg-naranjaredhead{background-color: #ff9933 !important;}
.bg-azulado{background-color: #7f7fd6 !important;}
.bg-fucsia{background-color: #E30052 !important;}
.bg-violeta{background-color: #FF00FF !important;}
.bg-turquesa{background-color: #00EACD !important;}
.bg-rojo-brown{background-color: #7A3939  !important;}
.bg-azul-claro{background-color: #485EFF  !important;}

.dropdown-menu{
    border-radius: 0;
}
.dropdown-toggle > span {
    display: inline-block;
    vertical-align: middle;
    line-height: 16px;
    text-align: left;
}
.btns-app{
    width: 150px;
    background-color: #ccc;
    color: #fff;
    font-size: 20px;
}
.buttons-content{
    /*height: 100%;*/
}

@media (min-width: 1600px) {
    .container-xxl {
        width: 100%;
        max-width: 1400px;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}

/*COLOREA EL SELECT2 CUANDO EL JQUERY VALIDATOR ENCUENTRA UN ERROR */
select.is-invalid+small+span.select2-container .select2-selection{
    border-color: #dc3545 !important;
}
select.is-valid+small+span.select2-container .select2-selection{
    border-color: #28a745 !important;
}

.btn-modulos{
    color: #fff;
}