
li, a{
    text-decoration: none;
    list-style: none;
}
body,html {
    flex-direction: row !important;
    height: 100% !important;
    overflow-y: hidden;
    overflow-x: hidden;
}

#main{
    background: #FFF;
    display: block;
    /*! margin: 1rem; */
    height:     calc(100% - 70px) !important;
    width: 100%;
    /*! padding: 1rem; */
    overflow-y: scroll;
    box-shadow: 0 1px 2px 0 rgba(12, 12, 13, 0.2);
    scrollbar-width: thin;
}
main > section {
    padding: 1rem;
    flex-direction: column;
    width: 100%;
}
main > section .message-nodata {
    width: 100%;
    display: flex;
    height: 256px;
    place-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 100;
    text-transform: uppercase;
    position:relative;
    overflow: hidden;
    background: #0001;
}
main > section .message-nodata::before {
    content: '...';
    font-size: 4rem;
    line-height: 0;
    position: absolute;
    top:0;
    left:-10%;
    animation: nodata 2s infinite;
    width: inherit;
}
@keyframes nodata {
    0% {
        right: unset;
        left:-10%;
        letter-spacing: 0rem;
        color: #2196f3;
    }
    50%{
        left: 0;
        letter-spacing: 33vw;
        color: #e3f2fd;
        right: 0;
    }
    75%{
        left: unset;
        letter-spacing: 0rem;
        left: 100%;
        color: #2196f3;
    }
}
.page-menu{
    display: flex;
    /*! padding: 1rem 0; */
    background: #0002;
}
.page-submenu {
    background: #4F4C4C;
    display: flex;
}
.page-submenu a {
    color: #FFF;
    padding: 1rem;
    font-size: 1rem;
    /*! display: inline-block; */
    justify-content: center;
    align-self: center;
}
.page-submenu a::before{
    content:'::';
    margin-right: .5rem;
}
.main-content{
    flex: 1;
    width: 100%;
    max-width: 100vw;
    height: 100%;
}
.main-content header{
    display: flex;
    justify-content: space-between;
    background: #e3f2fd;
    padding: 0 1rem;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    align-self: center;
    /*! box-shadow: 1px 1px 5px rgba(0,0,0, 0.3); */
    z-index: 100;
    height: 10vh;
    min-height: 72px;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    position: relative;
}
.main-content header #page-title {
    text-transform: capitalize;
    font-size: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #0009;
}
.header-title{
    display: flex;
 }
 header label .material-icons {
    font-size: 2rem;
    align-self: center;
    padding-right: 0.25rem
}
.user-account{
    text-align: center;
    justify-content: flex-end;
    display: inline-flex;
    align-self: center;
    align-items: center;
    /*! background: #FFF; */
    border-radius: .5rem;
    padding: .25rem;
    /*! box-shadow: inset 0px 0px 4px 2px rgba(0,0,0,.12); */
}

.user-account h3{
    margin-right: 0.65rem;
    text-align: left;
}
.user-account a{
    cursor: pointer;
    color: #e3f2fd ;
    background:#5e5e5e;
    transition: 0.3s ease-in-out;
    min-width: 32px;
    height: 32px;
}
.user-account a:hover{
    background: #2196f3;
    color: #e3f2fd;
    box-shadow:0 0px 6px rgba(0,0,0,.15);
}

label[for=nav-toggle] {
    cursor:pointer;
    user-select: none;
    display: inline-flex;

}
#nav-toggle{
    display: none;
}
#nav-toggle:checked + .sidebar{
    max-width: 70px;
}
#nav-toggle:checked + .sidebar::before {
    background: linear-gradient(0deg, #2196F3 100%, #5e5e5e 100%);
    
}
#nav-toggle:checked + .sidebar footer,
#nav-toggle:checked + .sidebar .sidebar-logo img:last-of-type,
#nav-toggle:checked + .sidebar ul li a span:last-of-type
{
    display: none
}
#nav-toggle:checked + .sidebar ul li a span:last-of-type
{
    opacity: 0;
}
#nav-toggle:checked + .sidebar .sidebar-menu li{
    padding-left: .5rem;
}
#nav-toggle:checked + .sidebar .sidebar-logo{
    padding: 0 0.5rem;
}
#nav-toggle:checked + .sidebar .sidebar-logo img:first-of-type{
    margin:0;
}

.sidebar{
    transition:  all .6s ease; 
    max-width: 250px;
    background: #5e5e5e;
    z-index: 100;
    border-right: .5rem solid #4F4C4C;
    position: relative;
    
}
.sidebar::before {
    content: '';
    height: 100%;
    width: 2px;
    transition: all 4s ease;
    background: linear-gradient(0deg, #2196F3 100%, #5e5e5e 0%);
    top:0;
    position: absolute;
}
.sidebar::after {
    content: '';
    height: 100%;
    width: 1px;
    background: #4b4b4b;
    top:0;
    right: 0%;
    position: absolute;
    z-index: 110;
}
.sidebar ul {
    width: 100%;
    overflow: hidden;
}
.sidebar-logo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    align-items: center;
    padding: 2.25rem 0;
    background: #5e5e5e;
    height: 72px;
    border-bottom:1px solid #0003;
    width: 100%;
}
.sidebar-logo img{
   width: 100%;
   height: auto;
   margin: 0.25rem 0
}
.sidebar-logo::after{
    content: '';
    width: .5rem;
    height: 71px;
    position: absolute;
    z-index: 109;
    top: 5px;
    right:-8px!important;
    border-bottom:1px solid #0003;
    transition: all .6s ease;
    transform: skewY(45deg);
}
.sidebar-logo img:last-of-type{
    max-width: 78px;
    padding-bottom: 0.5rem
}
.sidebar-logo img:first-of-type{
    max-width: 96px;
    margin: 0;
    margin-top: 9px;
    box-sizing: border-box;
}
.sidebar-menu{
    height: 100%;
    width: 100%;
    padding-top: 1.2rem;
}
.sidebar-menu a.active{
    background: #2196f3;
    min-width: 100%;
}
.sidebar-menu li{
    width: 100%;
    padding-left: 1.5rem;
}
.sidebar-menu span{
    padding-right:1rem
}
.sidebar-menu a{
    color: #e3f2fd;
    display:inline-flex;
    width: 100%;
    position: relative;
    transition: all .6s ease;
    padding: .5rem;
    align-items: center;
    z-index: 101;
    height: 36px;
    border-bottom:1px solid #0003;
}
.sidebar-menu a:not(.active):hover {
    background:  #e3f2fd6a
}
.sidebar-menu a::after{
    content: '';
    width: .5rem;
    height: 34px;
    position: absolute;
    z-index: 109;
    background: #e3f2fd1a;
    top: 5px;
    right:-8px!important;
    transition: all .6s ease;
    transform: skewY(45deg);
}

.sidebar-menu li a:hover::after{
    width: .5rem;
    background: #e3f2fd3a;
    top: 5px;
}
.sidebar-menu a.active::after{
    background: #2196f36a!important;
}
.sidebar footer{
    color: rgba(255,255,255,.38);
    justify-content: flex-end;
    align-self: center;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
    font-size: .6rem;
    /* justify-self: flex-end; */
}
.sidebar footer address {
    font-size: .8rem;
    color: rgba(255,255,255,.48);
    line-height: 1rem;
}
.sidebar footer address small {
    font-size: .65rem;
}
@media all and (max-width:640px){
    #nav-toggle:checked + .sidebar{
        position:fixed;
        left: -100%;
    }
    main > section {
       padding: 0;   
    }
    
    #nav-toggle + .sidebar{
        position:fixed;
        left:0%;
        width: 100%;
        height: 100%;

        max-width: none;
        z-index: 200;
    }
}
@media all and (min-width:1024px){
    #main > main > section {
        /*max-width: (1024px - 250px);*/
        max-width: 774px;

        margin: auto;
    }
    #nav-toggle:checked ~ .main-content > #main > main section {
        /*max-width: calc(1024px - 70px);*/
        max-width: 954px;
    }
    .content-bloco-item {
        /* 774 / 2 */
        flex: 1 1 calc(387px - 6rem);
    }
    #nav-toggle:checked ~ .main-content > #main > main .content-bloco-item {
        /* 954 / 2*/
        flex: 1 1 calc(477px - 6rem);
    }
}
@media all and (min-width:1280px){
    #main > main > section {
        /*max-width: (1280px - 250px);*/
        max-width: 1030px;
        margin: auto;
    }
    #nav-toggle:checked ~ .main-content > #main > main section {
        /*max-width: calc(1280px  - 70px);*/
        max-width: 1210px;
    }
    .content-bloco-item {
        /* 1030 / 3 */
        flex: 1 1 calc(343px - 6rem);
    }
    #nav-toggle:checked ~ .main-content > #main > main .content-bloco-item {
        /* 1210 / 3*/
        flex: 1 1 calc(403px - 6rem);
    }
}
@media all and (min-width:1366px){
    #main > main > section {
        /*max-width: (1366px - 250px);*/
        max-width: 1116px;
        margin: auto;
    }
    #nav-toggle:checked ~ .main-content > #main > main section {
        /*max-width: calc(1366px  - 70px);*/
        max-width: 1296px;
    }
    .content-bloco-item {
        /* 1116 / 3 */
        flex: 1 1 calc(372px - 6rem);
    }
    #nav-toggle:checked ~ .main-content > #main > main .content-bloco-item {
        /* 1296 / 3*/
        flex: 1 1 calc(432px - 6rem);
    }
}
@media all and (min-width:1440px){
    #main > main > section {
        /*max-width: (1440px - 250px);*/
        max-width: 1190px;
        margin: auto;
    }
    #nav-toggle:checked ~ .main-content > #main > main section {
        /*max-width: calc(1440px  - 70px);*/
        max-width: 1370px;
    }
    .content-bloco-item {
        /* 1190 / 3 */
        flex: 1 1 calc(297px - 6rem);
    }
    #nav-toggle:checked ~ .main-content > #main > main .content-bloco-item {
        /* 1370 / 3*/
        flex: 1 1 calc(342px - 6rem);
    }
}

