@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* 
    AlcoBloc colors
    blue = rgb(8, 25, 103)
    yellow = rgb(222, 213, 34)
*/
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
}


.boxcol {
    display: flex;
    flex-flow: row;
    height: 100%;
    background-color: rgb(8, 25, 103);
    color: #ffffff
}

    .boxcol .side-panel {
        flex: 0 1 250px;
        color: white;
        background-image: linear-gradient(rgb(8, 25, 103), rgb(94, 100, 75));
    }

        .boxcol .side-panel .nav-item {
            font-size: 0.9rem;
            padding-bottom: 0.5rem;
        }

            .boxcol .side-panel .nav-item:first-of-type {
                padding-top: 1rem;
            }

            .boxcol .side-panel .nav-item:last-of-type {
                padding-bottom: 1rem;
            }

            .boxcol .side-panel .nav-item a {
                color: #d7d7d7;
                border-radius: 4px;
                height: 3rem;
                display: flex;
                align-items: center;
                line-height: 3rem;
            }

                .boxcol .side-panel .nav-item a.active {
                    background-color: rgba(255,255,255,0.25);
                    color: white;
                }

                .boxcol .side-panel .nav-item a:hover {
                    background-color: rgba(255,255,255,0.1);
                    color: white;
                }

    .boxcol .bar {
        background-color: rgb(222, 213, 34);
        flex: 0 1 20px;
        height: 100vh;
        float: left;
    }

    .boxcol .col-content {
        flex: 1 1 auto;
    }

.boxrow {
    display: flex;
    flex-flow: column;
    background-color: rgb(8, 25, 103);
    color: #ffffff;
    height: 100%
}

    .boxrow .row-header {
        flex: 0 1 3.5rem;
        background-color: rgb(222, 213, 34);
        color: black;
        align-items: center;
        justify-content: center;
    }

    .boxrow .row-content {
        flex: 1 1 auto;
    }

    .boxrow .row-footer {
        flex: 0 1 40px;
        font-size: 0.9rem;
        color: #606060;
        justify-content: center;
    }

/*a, .btn-link {
    color: #0366d6;
}*/

<style >
a:link {
    color: yellow;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: yellow;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: red;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: white;
    background-color: transparent;
    text-decoration: underline;
}

</style >
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    opacity: .85
}

.btn-primary:hover {
    opacity: .65
}

.check-15 {
    transform: scale(1.5)
}

/*app {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: rgb(8, 25, 103);
    color: #ffffff
}*/

. /*col-lj {
    text-align: left;
    padding: 10px 4px;
}

.col-rj {
    text-align: right;
    padding: 10px 4px;
}*/
.row_ctr {
    padding: 10px 4px;
}

.top-row {
    height: 3.5rem;
    display: flex;
    margin: 0px 0px 20px 0px;
    align-items: center;
}

.left-col {
    background-color: rgb(222, 213, 34);
    width: 20px;
    height: 100vh;
    float: left;
}

.right-col {
    background-color: rgb(222, 213, 34);
    width: 20px;
    height: 100vh;
    position: absolute;
    right: 0;
}

.yellow-text {
    color: rgb(222, 213, 34);
}

.yellow-border-5 {
    border: 5px solid rgb(222, 213, 34);
}

.yellow-border-2 {
    border: 5px solid rgb(222, 213, 34);
}

.copyright {
    font-size: 0.9rem;
    color: #606060;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}



/*.main-copyright {
    font-size: 0.9rem;
    color: #606060;
    position: fixed;
    bottom: 0;
    width: calc(100% - 250px);
    text-align: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: rgb(222, 213, 34);
        color: #000000;
        justify-content: center;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }*/


.sidebar {
    background-image: linear-gradient(rgb(8, 25, 103), rgb(94, 100, 75));
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* only active if width less than 768*/
/*@media (max-width: 767.98px) {

    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}*/

/* active when the above is inactive */
@media (min-width: 768px) {

    app {
        flex-direction: row;
    }

    .logo {
        width: 250px;
        height: 250px;
        position: sticky;
        top: 0;
    }

    .sidebar {
        width: 250px;
        position: absolute;
        top: 252px;
        bottom: 0;
    }
}



/*.main .top-row {
        position: sticky;
        top: 0;
    }*/

/* relates to immediate children of div declared with class main */
/*.main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }*/

.table-report {
    overflow: auto;
    height: 65vh;
}

.table-report thead th {
    background-color: beige;
    position: sticky;
    top: 0;
}

.modal-AB-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    background-color: rgb(222, 213, 34);
    text-align: center;
}

    .modal-AB-header .AB-close {
        padding: 1rem 1rem;
        margin: -1rem -1rem -1rem auto;
    }

.modal-AB-title {
    vertical-align: central;
    margin-bottom: 0;
    line-height: .2;
    width: 100%;
}

.modal-AB-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    text-align: center;
}

.modal-AB-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem;
    border-bottom-right-radius: .3rem;
    border-bottom-left-radius: .3rem;
}

    .modal-AB-footer > :not(:first-child) {
        margin-left: .25rem
    }

    .modal-AB-footer > :not(:last-child) {
        margin-right: .25rem
    }

.modal-AB-dialog {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
    position: relative;
    pointer-events: none;
}

.modal.fade .modal-AB-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px)
}

@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-AB-dialog {
        transition: none
    }
}

.modal.show .modal-AB-dialog {
    -webkit-transform: none;
    transform: none
}

@media (min-width:576px) {
    .modal-AB-dialog {
        max-width: 500px;
        margin: 1.75rem auto
    }
}

.AB-close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: .2;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

    .AB-close:hover {
        color: #000;
        text-decoration: none;
     }

    .AB-close:not(:disabled):not(.disabled):focus, .AB-close:not(:disabled):not(.disabled):hover {
        opacity: .75
    }

button.AB-close {
    padding: 0;
    background-color: transparent;
    border: 0;
    border-style: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline:none;
}

a.AB-close.disabled {
    pointer-events: none
}


