﻿:root {
    --color-unacar: rgb(0, 51, 102);
    --color-primary-unacar: #3c3c3c;
    --color-secondary-unacar: #F2D857;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #d8d8d8, #f1f1f1, #a7a7a7);
}

.view {
    height: 100vh;
    /*min-height: 650px;*/
    min-height: 720px;
    /*background-image: linear-gradient(#c6c6c6, #fff);*/
    /*background: url(../img/siiaa_gray.png) round center fixed, rgba(247, 247, 247, 0.99);*/
    background-size: 60px;
    background-blend-mode: overlay;
    overflow: visible;
}

/*.view_background {     
   
    opacity: 0.14;
}*/

.view_background_app {
    /*height: 100vh;*/
    min-height: 100vh;
    background-image: linear-gradient(#e5e5e5, #fff);
    /*background: url(../img/siiaa_gray.png) round center fixed, rgba(247, 247, 247, 0.95);*/
    background-size: 90px;
    background-blend-mode: overlay;
}

.dv-control {
    height: calc(100vh - 14rem);
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /*background-color: #eee;
    background-image: url(../img/logo_admin3.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;*/
}

header {
    /*
    background-image: url(../img/pattern_wave_gray.png);
    background-repeat: repeat;
    background-position: center;
    background-size: 25%;*/
    /*-webkit-filter: grayscale(80%);
    -moz-filter: grayscale(80%);
    -o-filter: grayscale(80%);
    -ms-filter: grayscale(80%);
    filter: grayscale(80%);*/
    /*background-color: var(--color-unacar);*/
    background-color: #545454;
    /*color: black;*/
    border-top: 0.5em solid #ffd800;
    background-image: url(../img/pleca.svg);
    background-repeat: repeat;
    background-position: center;
    box-shadow: 0 5px 10px 1px grey;
}

.card-header-bg {
    background-color: #545454;
    /*background-image: url(../img/pattern_wave_gray.png);*/
    background-image: url(../img/pleca.svg);
    background-repeat: repeat;
    background-position: center;
    /*background-size: 25%;*/
}

footer {
    background-color: var(--color-primary-unacar);
    color: white;
    font-size: 0.8em !important;
    box-shadow: 0 6px 20px 10px grey;
}

.navbar {
    background-color: var(--color-primary-unacar);
    background-image: url(../img/pleca.svg);
    background-repeat: repeat;
    /*background-image: linear-gradient(#2f2f2f, #3c3c3c);*/
    color: #333 !important;
    border-top: #F2D857 solid 6px;
}

.footer_line {
    border-bottom: 2px solid #ffd800;
}

.full_vp {    
    height: calc(100vh - 70px);
    min-height: 500px;
}

a.level1.nav-link.px-2.selected {
    color: #800000 !important;
    border: 1px solid #dee2e6;
}

#imgUnacar {
    width:100%; 
    min-width: 180px; 
    max-width: 300px;
}

#imgLogo {
    width: 100%;
    min-width: 75px;
    max-width: 85px;
}

.md-form .form-control.is-invalid {
    border-color: #f44336 !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
}

.select-text.is-invalid, .select-text.is-invalid:focus {
    border: 2px solid #f44336;
}

.brand-icon {
    width: 100%;
    min-width: 25px;
    max-width: 30px;
    transition: width 2s ease-in-out;
}

#imgLiceo {
    width: 100%;
    min-width: 60px;
    max-width: 100px;
}

#imgAvatar {
    width: 100%;
    height:100%;
    background: #fafafa;
    border-radius: 50%; 
    padding: 5px;
}

.bq-title {
    font-size: 1.1rem!important;
}

.shadow-white {
    text-shadow: 2px 2px 4px #fff;
}

.text-yellow-unacar {
    color: #ffd072 !important;
}

.text-yellow-unacar-mute {
    color: #ffe0a1 !important;
}

.fa-xl {
    font-size: 1.5em;
}

.fa-2-xl {
    font-size: 2.5em;
}

.imgFooter {
    width: 100%;
    max-width: 90px;
    min-width: 50px;
}

.card .avatar {
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-top: -75px;
    border: 15px solid #eee;
}

#materialPreloader .avatar {
    width: 150px;
    height: 150px;
    margin-top: -75px;
}

.card .preloader {
    width: 178px;
    height: 178px;
    margin-top: -164px;
}

#materialPreloader .preloader {
    max-width: 200px;
    max-height: 200px;
    margin-top: -175px;
}

.testimonial-card .card-up {
    overflow: hidden;
    height: 18em;
    -webkit-border-top-left-radius: .25rem;
    border-top-left-radius: .25rem;
    -webkit-border-top-right-radius: .25rem;
    border-top-right-radius: .25rem;
}

.testimonial-card .avatar {
    -webkit-border-radius: 50%;
    border-radius: 50%;
    width: 185px;
    height: 190px;
    margin-top: -95px;
    overflow: hidden;
    border: 5px solid #fff;
}

.node-active {
    /*background-color: #32a0ff;*/
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
    padding: 0.2em 0.2em 0.2em 0.4em;
    margin-right: 0;
    /*border-top-left-radius: 0.3em;
    border-bottom-left-radius: 0.3em;*/
}

.rounded-left {
    border-top-left-radius: 1.25em !important;
    border-bottom-left-radius: 1.25em !important;
}

.rounded-right {
    border-top-right-radius: 1.25em !important;
    border-bottom-right-radius: 1.25em !important;
}

.wrap-overflow-text {
    white-space: nowrap; 
    text-overflow: ellipsis;
}

.wrap-overflow-text:hover {
    text-overflow:initial;
    white-space: inherit;
    animation: 3s linear 0s alternate move;    
}

.h-80 {
    height: 80%!important;
}

.table-icon {
    position: relative;
    top: 5px;
    left: -5px;
}

.button-group > span {
    cursor: pointer!important;
}

    .button-group > span.view_style.active {
        color: #4285f4 !important;
    }
    .button-group > span.sort.active {
        color: #4285f4 !important;
    }

.table > tbody > tr > th, .table > thead > tr > th {
    background-color: #5c657c;
    color: #F2D857;
}

@keyframes move {
    0%, 25% {
        transform: translateX(0%);
        left: 0%;
    }

    75%, 100% {
        transform: translateX(-100%);
        left: 100%;
    }
}

.minicard-wrapper {
    width: 200px;
    height: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*background-color: #f2f2f2;    
    */
    border: 2px solid #e9e9e9;
    border-radius: 10px;
}

    .minicard-wrapper:hover {
        color: #333 !important;
        border: 2px solid #a7a6a6;
        transition: all 0.2s ease-in !important;
    }

/*   Override MDB and Bootstrap classes     */
.text-primary {
    color: var(--color-unacar);
}

.btn-primary {
    background-color: var(--color-unacar)!important;
}

.btn-outline-light-grey {
    border: 2px solid #aaaaaa !important;
}
/*   ----------------------------------     */

a.link:hover {
    text-decoration: underline;
}


@media only screen and (max-width: 600px) {
    .full_vp {
        height: calc(100vh - 168px);
        /*height: calc(100vh - 60px);*/
    }

    #pnl-files > li:last-child {
        max-width: 100% !important;
    }

    .button-group span.view_style {
        display: none!important;
    }

    #list-content {
        display: block !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }

        #list-content > div.card {
            display: flex;
            flex-direction: row;
            width: 100% !important;
            margin: 0 auto !important;
            border-bottom: 1.5px solid #f1f1f1 !important;
        }

        #list-content > div.card > div.card-body {
            margin: auto 0 !important;
            flex: none!important;
            padding: 1.25rem .25rem!important;
        }

        #list-content > div.card > .card-footer   {
            font-size: 0.8rem!important;
            border: none!important;
            background-color: transparent!important;
            flex-grow: 1;
            width: 100%;
            margin: auto 0!important;
            max-width: 55%;
        }

        #list-content > div.card > .card-footer > div {
            text-align: left!important;
        }
        
        
        #list-content > div.card > .card-body > a > div > div > i {
            font-size: 2.5em!important;
            margin-top: -0.5rem!important;            
        }

    div.card.minicard-wrapper {
        border: none;
        border-radius: 0;
        max-height: 60px;
    }

    .wrap-overflow-text {
        text-overflow: clip;
    }

    .card-buttons {
        display: block !important;
        position: absolute;
        top: calc(50% - 10px);
        right: 0;
    }

        .card-buttons > a {
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            color: #b0b0b0 !important;
        }

    header > div:nth-child(2) {
        margin-top: 0.5rem!important;
        margin-bottom: 0.5rem!important;
    }
}

@media only screen and (max-width: 768px) {
    #pnl-files > li:last-child {
        max-width: 100% !important;
    }

    .h2 {
        font-size: 1.2em!important;
    }

    /*blockquote.blockquote.bq-primary {
        padding-top: 6rem !important;
    }*/
}

@media only screen and (max-width: 900px) {
    #button-group-actions .btn[class*="btn-outline-"].btn-sm {
        padding-left: 0.78rem !important;
        padding-right: 0.78rem !important;
    }
}