@font-face {
    font-family: rumcfont;
    src: url('/SourceSans3-Normal-latin.woff2');
}
.inset-header {
    background-color: #ffffff;
    margin-left: 10%;
    padding: 10px;
}
.header {
    color: #ffffff;
    background-color: #00AFDC;
    margin-left: 0;
    margin-bottom: 20px;
    padding-bottom: 20px;
    align-items: center;
}
.block-container {
    max-width: 940px;
    margin: auto;
    padding: 10px;
}
.block {
    background-color: #ffffff;
    color: #1f1f1f;
    margin: 10px;
    padding: 30px;
    border-top: 4px solid #00AFDC;
}
h2 {
    margin-bottom: 0;
    color: #00AFDC;
}
h3 {
    margin-top: 0;
    font-weight: 300;
    color: #00AFDC;
}
a {
    color: #00AFDC;
}
a:hover {
    color: #006984;
}
body {
    background-color: #575757;
    font-family: rumcfont, sans-serif;
    margin: 0;
    color: rgb(87, 87, 87);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}
h1 {
    color: #ffffff;
    text-align: center;
    margin: 30px auto 20px auto;
    font-weight: 700;
    font-size: 30px;
}
ul {
    padding-left: 10px;
}
li {
    padding-left: 2px;
}
.top-inset-header {
    height: 30px;
    border-bottom: 2px solid rgb(231 229 231);
    margin-bottom: 10;
}
@media only screen and (min-width: 960px) {
    .block-right {
        width: 280px !important;
        float: right;
    }
    .block {
        width: 500px;
    }
}
@media only screen and (min-width: 768px) {
    h1 {
        font-size: 3.0rem;
        line-height: 4.0rem;
    }
}
button, input[type=submit] {
    background-color: #00afdc;
    color: #fff;
    border: none;
    padding: 20px;
    font-size: 18px;
    
}
input[type=submit].small {
    padding: 3px 6px;
    border-radius: 5px;
}
button:disabled {
    background-color: #575757;
}
button:hover:not(:disabled), input[type=submit]:hover:not(:disabled) {
    cursor: pointer;
    background-color: #006984;
}
.fileopt:hover {
    background-color: #7ec3d4;
}
dialog {
    border-radius: 4px;
    border: none;
}
::backdrop {
    opacity: 0.75;
    background-color: black;
}
.nice-select:has(select:disabled) {
    border: 1px solid #575757;
}
.nice-select {
    border: 1px solid #00afdc;
    border-radius: 5px;
    padding: 3px;
    display: inline-block;
}
.nice-select select,.nice-select select:focus-visible {
    border: none;
    outline: none;
}
.code-block {
    color: #343434;
    border: 1px solid lightgray;
    max-height: 20vh;
    overflow: auto;
}
.file-list {
    border: 1px solid gray;
    border-radius: 5px;
    list-style-type: none;
    padding: 2px;
    overflow: auto;
    height: 30vh;
    font-size: 0.7em;
}
.file-list li.file::before {
    content: url('/management/images/file.png');
    position: relative;
    margin-left: 0;
    top: 5px;
}
.file-list li.folder::before {
    content: url('/management/images/folder.png');
    position: relative;
    margin-left: 0;
    top: 5px;
}
.location-box span {
    cursor: pointer;

}
.location-box span:hover {
    text-decoration: underline;
    
}
.location-box {
    border: 1px solid gray;
    border-radius: 3px;
    overflow: hidden;
    padding-left: 2px;
}
.fileopt {
    float: right;
    margin: 4px 2px;
    border-radius: 2px;
    display: none;
    cursor: pointer;
    line-height: 0.5;
}
.folder:hover, .file:hover {
    background-color: #7ec8f34a;
    outline: 0.5px solid #4db7f5;
    border-radius: 4px;
}
.folder:hover .fileopt {
    display: inline;
}
.file:hover .fileopt {
    display: inline;
}
.location-box a {
    text-decoration: none;
    color: rgb(87, 87, 87);
}
.location-error {
    color: red;
    background-color: rgb(255, 172, 172);
    padding: 10px;
    margin: 3px;
    border-radius: 5px;
    border: 1px solid red;
}
.loader {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
}
.loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 2px solid #FFF;
    animation: prixClipFix 2s linear infinite ;
}

@keyframes rotate {
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}