﻿@font-face {
    font-family: 'default-light';
    src: url('/font/aileron-light.otf') format('opentype');
}

@font-face {
    font-family: 'default-regular';
    src: url('/font/aileron-regular.otf') format('opentype');
}

@font-face {
    font-family: 'default-bold';
    src: url('/font/aileron-bold.otf') format('opentype');
}

@font-face {
    font-family: 'default-italic';
    src: url('/font/aileron-italic.otf') format('opentype');
}

@font-face {
    font-family: 'default-bold-italic';
    src: url('/font/aileron-bolditalic.otf') format('opentype');
}

@font-face {
    font-family: 'magra-regular';
    src: url('/font/magra-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'magra-bold';
    src: url('/font/magra-bold.ttf') format('truetype');
}

* {
    font-family: 'default-regular';
    line-height: 1.6rem;
    font-size: .95rem;
    margin: 0rem;
    padding: 0rem;
    border: 0rem;
    box-sizing: border-box;
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-print-color-adjust: exact;
}

BODY, .modal-body {
    background: #efefef;
    color: #212529;
}

.transition {
    transition: ease .5s;
}

.modal-footer {
    white-space: nowrap; 
}

.modal-header H5 {
    font-family: 'default-bold';
}

TABLE {
    margin-bottom: 0 !important
    /*border-spacing: .065rem;
    border-collapse: separate;*/
}

A {
    color: #666 !important;
    transition: ease .5s;
}

UL {
    margin: 0;
    padding: 0;
}

HEADER {
    float: none;
    width: initial;
}

HR {
    border: solid 2px #69818f;
    margin-top: 0.2rem;
    margin-bottom: 0;
    opacity: 1
}

H1, H2, H3, H4, H5 {
    font-family: 'default-bold';
}

TH, TD {
    white-space: nowrap;
    vertical-align: top !important;
    border: 0;
}

BUTTON {
    text-transform: uppercase;
    font-family: 'default-bold';
}

INPUT[type=file] {
    display: none;
}

TEXTAREA {
    resize: none;
}

H2 .svg {
    height: 1.8rem;
    cursor: pointer;
    float: right;
    margin-left: .5rem;
    margin-right: .5rem;
}

.user-info {
    position: initial;
    right: 0;
    top: 0;
    z-index: 999;
    background-color: #052d45;
}

    .user-info .usuarioDesktop {
        text-align: right;
        color: #fff;
        padding: 1rem;
    }

        .user-info .usuarioDesktop A {
            color: #69818f;
        }

            .user-info .usuarioDesktop A:HOVER {
                color: #fff;
            }

        .user-info .usuarioDesktop DIV {
            margin-bottom: -0.25rem;
        }

        .user-info .usuarioDesktop FORM {
            display: none;
        }

    .user-info .avatar {
        border: 2px solid #69818f;
        border-radius: 50%;
        margin-left: 1.05rem;
        margin-right: 1rem;
        margin-top: 1.1rem;
        float: right;
    }

        .user-info .avatar DIV { 
            border-radius: 50%;
            width: 4.6rem;
            height: 4.6rem;
            background: url('/img/avatar.png') center center no-repeat;
            background-size: contain;
        }

.bg {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #052d45;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .5);
    z-index: 999;
}

    .bg IMG {
        max-height: 4rem;
    }

.bg-bottom {
    width: 100%;
    float: left;
    background-color: #052d45;
    box-shadow: 0 -.25rem .75rem rgba(0, 0, 0, .5);
    z-index: 999;
    color: #fff;
    text-align: center;
    line-height: 1.25rem;
    font-size: 0.75rem;
}

    .bg-bottom IMG {
        max-height: 4rem;
        margin-bottom: 0.5rem
    }

.navbar {
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    z-index: 999;
}

    .navbar .navbar-toggler {
        float: right;
        position: absolute;
        right: 1.25rem;
        z-index: 999;
        top: -3.8rem;
    }

#menuNavBar UL {
    width: 100%;
}

    #menuNavBar UL LI:first-child A {
        border-top: 0;
    }

    #menuNavBar UL LI:last-child A {
        border-bottom: 0;
    }

#menuNavBar LI A {
    border-bottom: dashed 0.1rem #eee;
    border-top: dashed 0.1rem #eee;
    width: 100%;
    display: inline-table;
    padding: 0.75rem 1rem;
}

    #menuNavBar LI A .menu-icone {
        margin-top: 0.2rem;
        max-width: 1rem;
        float: left;
        font-size: 1.3rem;
    }

    #menuNavBar LI A .menu-item {
        margin-top: 0.1rem;
        float: left;
        margin-left: 1.1rem;
    }

    #menuNavBar LI A .menu-alerta {
        margin-top: 0.125rem;
        margin-right: -0.45rem;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        font-size: 1rem;
        color: white;
        line-height: 1.5rem;
        text-align: center;
        background-color: #da3344;
        float: right;
        padding-right: 0.1rem;
        visibility: hidden;
    }

#menuNavBar .dropdown-menu {
    transition: ease .5s;
    padding: 0;
    border: dashed 0.1rem #eee;
    margin-top: 0;
    background-color: #ddd;
    border-radius: 0;
}

    #menuNavBar .dropdown-menu LI:first-child A {
        border-top: 0;
    }

    #menuNavBar .dropdown-menu LI:last-child A {
        border-bottom: 0;
    }

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.095rem;
}

.offcanvas .toast-header {
    background-color: #666 !important;
    border-radius: 0 !important;
}

    .offcanvas .toast-header .btn-close {
        filter: invert(1);
    }

.card-header {
    border-bottom: 0;
    color: #fff;
    background-color: #052d45 !important;
}

.card-body {
    background-color: #fdfdfd !important;
}

.black, B {
    font-family: 'default-bold';
}

    .black.gray {
        color: #999;
    }

#carregando {
    font-size: .95rem;
    font-family: magra-bold;
}

#erro {
    font-size: .95rem;
    font-family: magra-bold;
}

.img-tipo {
    transition: ease .3s;
    opacity: .75;
    filter: grayscale(100%);
    transform: scale(0.9)
}

    .img-tipo:HOVER {
        transition: ease .3s;
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1)
    }

.toast-body {
    text-align: left;
}

.hr_mini {
    margin-top: .2rem;
    height: 2px !important;
    background-color: #ccc;
    margin-top: .1rem;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.btn {
    padding: .75rem;
    transition: background-color .5s;
    color: #fff;
}

    .btn.btn-default {
        background-color: #052d45;
        border: 1px solid #052d45;
    }

        .btn.btn-default:hover {
            background-color: #fff;
            border: 1px solid #052d45;
            color: #052d45;
        }

    .btn.btn-opcao {
        background-color: #69818f;
        border: 1px solid #69818f;
    }

        .btn.btn-opcao:hover {
            background-color: #fff;
            border: 1px solid #69818f;
            color: #69818f;
        }

    .btn.btn-erro {
        background-color: #da3344;
        border: 1px solid #da3344;
    }

        .btn.btn-erro:hover {
            background-color: #fff;
            border: 1px solid #da3344;
            color: #da3344;
        }

.text-left {
    text-align: left !important
}

.totalItens {
    font-size: .85rem;
    color: #999;
    font-style: italic;
    float: right;
    margin: -0.75rem .25rem .25rem 0
}

.divScroll {
    clear: both;
    overflow-x: scroll;
    border: #ccc .065rem dotted;
    margin-bottom: .3rem;
}

.divScrollVertical {
    clear: both;
    overflow-y: scroll;
    max-height: 300px;
}

.admin TD, .admin TH, .admin TFOOT .footer {
    padding: .5rem .625rem .438rem .625rem;
    display: table-cell;
    vertical-align: middle;
}

.admin TH, .admin TFOOT .footer {
    background-color: #666;
    font-family: 'default-bold';
    color: #fff;
    font-weight: bold;
    text-align: left;
    vertical-align: bottom;
    border-bottom: none
}

.admin TFOOT .footer {
    white-space: nowrap
}

.admin TD INPUT[type=checkbox] {
    margin: 0
}

.admin TD LABEL {
    margin-left: .25rem;
    font-weight: normal
}

.admin TD .td {
    padding-top: .5rem;
}

.admin TBODY tr:nth-child(even) {
    background-color: #f3f3f3
}

.admin TBODY tr:nth-child(odd) {
    background-color: #fcfcfc
}

.admin.semBackground TBODY tr {
    background-color: transparent !important;
}

.admin TBODY TR .bordaInferior {
    border-bottom: solid 1px #ddd !important
}

.admin TBODY TR .bordaSuperior {
    border-top: solid 1px #ddd !important
}

.admin #ordenar TR:first-child #sobe {
    visibility: hidden
}

.admin #ordenar TR:last-child #desce {
    visibility: hidden
}

.admin #ordenar.subitem TR:first-child #sobe-subitem {
    visibility: hidden
}

.admin #ordenar.subitem TR:last-child #desce-subitem {
    visibility: hidden
}

.tdCheckbox {
    text-align: center !important;
    width: 2.5rem
}

    .tdCheckbox .form-check-input {
        margin-left: 0 !important;
        margin-top: .3rem !important;
    }

.tdAcao {
    text-align: center !important;
    width: 6rem;
    min-width: 6rem
}

    .tdAcao IMG {
        height: 1.2rem;
        cursor: pointer;
    }

        .tdAcao IMG:first-child {
            margin-right: .5rem;
        }

.tdOrdem IMG {
    transform: rotate(180deg);
}

    .tdOrdem img:first-child {
        margin-right: .5rem;
        transform: rotate(0deg);
    }

.form-floating LABEL {
    margin-top: .125rem;
    transition: ease .3s;
}

.row {
    margin-bottom: 1rem;
}

.form-check {
    display: flex;
}

    .form-check .form-check-input {
        min-width: 2em;
        cursor: pointer;
        font-size: 1.25rem;
        margin-top: .15rem !important;
        margin-left: -2.3rem !important;
        margin-right: .3rem;
    }

    .form-check .form-check-label {
        cursor: pointer;
    }

.seta {
    float: left;
    margin-top: -0.375rem;
}

.tox-tinymce {
    border-radius: .2rem !important;
    border: 1px solid #ced4da !important;
    height: 300px !important;
}

.tox-statusbar__branding {
    display: none !important;
}

.arquivo {
    background-color: #ddd;
    border: dotted 1px #ccc
}

    .arquivo .row {
        margin-bottom: 0rem
    }

        .arquivo .row #file-disclaimer {
            font-style: italic;
            font-size: .85rem;
            line-height: 1.1rem;
        }

        .arquivo .row IMG {
            max-width: 100%;
            /*width: 100%;
            height: auto;
            margin-right: 0rem !important;*/
        }

/*Resolve o problema de campo oculto pelo tinyMCE não validar pelo required*/
.tinyTextArea {
    width: 0;
    padding: 0;
    resize: none;
    display: initial !important;
    position: absolute;
    height: 0;
    border: 0;
}

/*Resolve o problema de campo oculto pelo upload não validar pelo required*/
#Item_Imagem, #Item_ImagemPrincipal, #Item_ImagemSecundario, #Item_ImagemDesktop, #Item_ImagemMobile, #Item_Arquivo {
    width: 0;
    padding: 0;
    resize: none;
    display: initial /* !important*/;
    position: absolute;
    height: 0;
    border: 0;
}

.desktopEnabled {
    display: none
}

.mobileEnabled {
    display: block
}

@media (min-width: 992px) {
    .desktopEnabled {
        display: block
    }

    .mobileEnabled {
        display: none
    }

    A:HOVER {
        color: #fff !important;
        background-color: #69818f;
    }

    A.link-img:HOVER {
        background-color: transparent;
    }

    HEADER {
        float: left;
        width: 17rem;
        position: initial;
    }

    .user-info {
        position: absolute;
        right: 0;
        top: 0;
    }

        .user-info .usuarioDesktop {
            float: right;
            margin-top: 0.2rem;
            padding: initial;
        }

        .user-info .avatar {
            margin-top: .4rem;
        }

    .navbar {
        width: 15.5rem;
        position: initial;
    }

    #menuNavBar LI A {
        width: 15.5rem;
    }

        #menuNavBar LI A .menu-item {
            font-size: inherit;
        }

    #menuNavBar .dropdown-menu {
        margin-left: 15.5rem;
        margin-top: -3.325rem;
    }

    .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }

    .dropdown-toggle::after {
        transform: rotate(270deg);
    }
}

@media (min-width: 576px) {
    /* .arquivo .row IMG {
        width: auto;
        height: 7.9rem;
        margin-right: .5rem !important;
    }

    .modal-body .arquivo .row IMG {
        width: 100%;
        height: auto;
        margin-right: 0rem !important;
    }*/
}
