:root{
    --toolbar-grad-start: #beddff;
    --toolbar-grad-end: #80b5ef;
    --face-transparent: #6cb2feb0;
}
.disabled{
    pointer-events: none;
}
toolbar-container{
    display: block;
    height: 45px;
    margin-bottom: 10px;
}
toolbar{
    position: fixed;
    top: 0px;
    height: 45px;
    width: 100vw;
    display: flex;
    background: linear-gradient(0, var(--toolbar-grad-end), var(--toolbar-grad-start));
    color: white;
    box-shadow: 0 0 10px;
    z-index: 1;
}

toolbar menu,
toolbar item{
    padding: 2px 2px 2px 8px;
    margin: 4px 0;
    position: relative;
}

toolbar menu > items{
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 45px;
    bottom: 0px;
    left: 0px;
    padding-top: 10px;
    background-color: var(--toolbar-grad-end);
    transform: translateX(-100%);
    opacity: 0.975;
    transition: .3s;
}
/* if backdrop support: very transparent and blurred */
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    toolbar menu > items {
        background: var(--face-transparent);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 1;
    }
  }
toolbar menu.open > items{
    transform: translateX(0);
}
toolbar menu items hr{
    border: 0 none;
    width: 100%;
    height: 1px;
    background: #fff4;
}
toolbar menu > items overlay{
    display: none;
}
toolbar menu.open > items overlay{
    position: fixed;
    display: unset;
    top: 0;
    left: 0;
    width: 100vw;
    bottom: 0;
    background: #0000;
}
toolbar menu > items > a{
    position: relative;
    color: white;
    font-size: 16px;
    text-decoration: none;
    text-align: right;
    padding: 4px 8px;
    margin: 2px 20px 2px 4px;
    background: linear-gradient(0deg, #0001, #fff2);
    border: 1px solid #0001;
    border-radius: 5px;
    transition: .3s;
}
toolbar menu > items > a:hover{
    transform: translateX(10px);
    background: linear-gradient(0deg, #0002, #fff4);
    border: 1px solid #0002;
}
toolbar item:before{
    content: '';
    position: absolute;
    display: inline-block;
    height: 18px;
    left: 2px;
    top: 10px;
    border-left: 1px solid #0004;
    border-right: 1px solid #fff4;
}

toolbar select, toolbar .select, toolbar input{
    border-radius: 5px;
}

toolbar .image-button{
    display: inline-block;
    position: relative;
    left: 0;
    height: 32px;
    width: 32px;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: .3s;
}
toolbar .image-button[label]:hover,
toolbar .image-button.loading[loading]{
    left: -6px;
    margin-right: 40px;
}
toolbar .image-button[label]:after{
    content: attr(label);
    position: relative;
    left: 0;
    color: #fff0;
    transition: .3s;
}
toolbar .image-button[label]:hover:after,
toolbar .image-button.loading[loading]:after{
    left: 32px;
    color: #fff;
}
toolbar .image-button.loading{
    pointer-events: none;
    background-image: url(../images/loading_square.gif);
    mix-blend-mode: overlay;
}
toolbar .image-button.loading[loading]:after{
    content: attr(loading);
    animation: pulse-opacity 1s infinite;
}
toolbar .image-button.error{
    filter: brightness(0.25) sepia(1) hue-rotate(300deg) saturate(10);
}

toolbar save{
    background: url(../images/save-48.png) center center no-repeat;
    background-size: 20px;
}
toolbar save.image-button.saved{
    pointer-events: none;
    filter: brightness(0.5) sepia(0.5) hue-rotate(60deg) saturate(10);
    margin-right: 65px;
}
toolbar save.image-button.saved:after{
    content: 'saved!!';
    left: 32px;
    color: #fff;
}
toolbar save.image-button.error{
    margin-right: 40px;
}
toolbar save.image-button.error:after{
    content: 'failed! retry';
    font-size: 14px;
    line-height: 15px;
    left: 32px;
    color: #fff;
}

toolbar audit{
    background: url(../images/audit.png) center 3px;
    background-size: 24px;
}
toolbar export.xls{
    background: url(../images/xls.png) no-repeat center 3px;
    background-size: 26px;
}
toolbar export.pdf{
    background: url(../images/pdf.png) no-repeat center 3px;
    background-size: 26px;
}

toolbar user{
    position: absolute;
    right: 10px;
    top: 10px;
    font-weight: bold;
    color: white;
    display: flex;
}
toolbar user logout{
    background: url('../images/logout_simple.png') no-repeat center center;
    background-size: contain;
    display: inline-block;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border: 1px solid #f009;
    border-radius: 50%;
    margin: 0 10px;
}

hamburger{
    display: inline-block;
    position: relative;
    width: 32px;
    height: 28px;
    top: 0px;
    cursor: pointer;
}
hamburger > span{
    position: absolute;
    display: block;
    width: 18px;
    left: 8px;
    border-top: 2px solid #000a;
    border-color: white;
    transition: .3s;
}
hamburger > span:nth-child(1){
    top: 10;
}
hamburger > span:nth-child(2){
    top: 15px;
}
hamburger > span:nth-child(3){
    top: 20px
}
hamburger:hover{
    transform: scale(1.1);
}

.open hamburger > span:nth-child(1){
    opacity: 0;
}
hamburger:hover > span:nth-child(2){
    transform: rotate(55deg);
    top: 17px;
    left: 3px;
}
.open hamburger > span:nth-child(2){
    transform: rotate(135deg);
    top: 16px;
    left: 8px;
}
hamburger:hover > span:nth-child(3){
    transform: rotate(-55deg);
    top: 17px;
    left: 13px;
}
.open hamburger > span:nth-child(3){
    transform: rotate(-135deg);
    top: 16px;
    left: 8px;
}
.open hamburger > span{
    border-color: white;
}

report{
    position: fixed;
    display: block;
    right: 0;
    bottom: 0;
    background: #000a;
    color: white;
    border-top: 4px solid red;
    border-left: 4px solid red;
    height: min(100vh, 400px);
    width: min(100vw, 600px);
    transform: translateX(100%);
    transition: .3s;
}
report.open{
    transform: translateX(0);
}
report copy
{
    display: block;
    background: black;
    text-align: right;
    padding: 2px 10px;
    font-size: 14px;
}
report copy:before{
    content: 'Copy';
    cursor: pointer;
}
report close{
    display: block;
    position: absolute;
    top: 50%;
    height: 30px;
    width: 30px;
    left: -26px;
    font-weight: bold;
    color: white;
    background: red;
    border-radius: 50% 0 0 50%;
    box-shadow: 0 0 10px #0008;
    cursor: pointer;
    transition: .3s;
}
report close:before{
    content: '!';
    position: relative;
    display: inline-block;
    left: 10px;
}
report close:hover{
    left: -30px;
}
report.open close{
    left: -15px;
    top: -15px;
    border-radius: 50%;
}
report.open close:before{
    content: 'x';
    left: 10px;
    top: -2px;
    transform: scale(1.35,1);
    font-weight: normal;
}
report content{
    display: block;
    height: 100%;
    overflow: auto;
}

.lightgallery{
    display: block;
    text-align: center;
}

.lightgallery .group-header{
    display: block;
    text-align: center;
    background-color: var(--toolbar-grad-end);
    color: white;
}
.lightgallery a{
    display: inline-block;
    position: relative;
    margin: 4px;
    border-radius: 5px;
    overflow: hidden;
}
.lightgallery > a:before{
    content: attr(title);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #ddd;
    background-color: #0008;
    font-size: 14px;
    padding: 2px 0 15px 0;
    font-weight: bold;
}
.lightgallery > a:after{
    content: attr(alt);
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 16px;
}