﻿.l-fs-tpl-downloadbox,
.l-fs-tpl-downloadlist {
    padding-right: 15px;
    padding-left: 15px;
}
.l-fs-tpl__downloadbox,
.l-fs-tpl__downloadlist {
    width: 100%;
}

.l-fs-tpl-download-box,
.l-fs-tpl__downloadbox {
    background-color: rgba(240,128,26,0.2);
    padding-bottom: 20px;
}

.l-fs-tpl__downloadbox-content {
    padding-top: 50px;
    padding-bottom: 50px
}

.l-fs-tpl__downloadbox-title {
    margin: 20px;
}

.l-fs-tpl__downloadbox-files > ul,
.l-fs-tpl__downloadlist-files > ul {
    list-style: none;
    margin: 0;
}

.tpl_fc-action-show__more,
.tpl_fc-action-show__less {
    outline: none;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.tpl_fc-action-show__more .fa,
.tpl_fc-action-show__less .fa {
    border: 1px solid #202020;
    border-radius: 25px;
    padding: 10px;
    margin-right: 5px;
}

.tpl_fc-action-show__more span,
.tpl_fc-action-show__less span {
    font-size: 1.4rem;
    font-weight: 600;
    color: #202020;
}

.l-fs-tpl__download > .l-fs-tpl__download-file,
.l-fs-tpl__downloadbox-files > ul > li,
.l-fs-tpl__downloadlist-files > ul > li {
    margin: 0 0 25px;
    padding: 0 0 0 30px;
}

.l-fs-tpl__downloadlist-files > ul > li:last-child {
    margin: 0;
}


.l-fs-tpl__downloadlist-file:first-child > .l-fc-tpl-download__single-sort-buttons > .fa-angles-up,
.l-fs-tpl__downloadlist-file:first-child > .l-fc-tpl-download__single-sort-buttons > .fa-angle-up,
.l-fs-tpl__downloadbox-file:first-child > .l-fc-tpl-download__single-sort-buttons > .fa-angles-up,
.l-fs-tpl__downloadbox-file:first-child > .l-fc-tpl-download__single-sort-buttons > .fa-angle-up {
    visibility: hidden;
}

.l-fs-tpl__downloadlist-file:last-child > .l-fc-tpl-download__single-sort-buttons > .fa-angles-down,
.l-fs-tpl__downloadlist-file:last-child > .l-fc-tpl-download__single-sort-buttons > .fa-angle-down
.l-fs-tpl__downloadbox-file:last-child > .l-fc-tpl-download__single-sort-buttons > .fa-angles-down,
.l-fs-tpl__downloadbox-file:last-child > .l-fc-tpl-download__single-sort-buttons > .fa-angle-down {
    visibility: hidden;
}

[class*=download][class*=files] > ul > li i.fa-angles-down::before {
    content: "\f103";
}
[class*=download][class*=files] > ul > li i.fa-angles-up::before {
    content: "\f102";
}
[class*=download][class*=files] > ul > li i.fa-angle-down::before {
    content: "\f107";
}
[class*=download][class*=files] > ul > li i.fa-angle-up::before {
    content: "\f106";
}

[class*=download][class*=files] > ul > li i.fa-angles-down::before,
[class*=download][class*=files] > ul > li i.fa-angles-up::before, 
[class*=download][class*=files] > ul > li i.fa-angle-down::before,
[class*=download][class*=files] > ul > li i.fa-angle-up::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.l-fs-tpl__downloadbox-file {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.l-fc-tpl-download__single-sort-buttons {
    max-width: 30px;
    text-align: center;
}

[class*=download][class*=files] > ul > li i.fa-angles-up,
[class*=download][class*=files] > ul > li i.fa-angle-up,    
[class*=download][class*=files] > ul > li i.fa-angles-down,
[class*=download][class*=files] > ul > li i.fa-angle-down {
    position: inherit;
}

.l-fc-tpl-download__single-sort-buttons i {
    margin: 0 2px;
}

.l-fc-tpl-download__single-sort-buttons i:hover {
    cursor: pointer;
}

.tpl_fc-show-buttons {
    text-align: left;
}

.tpl_fc-show-buttons .hidden {
    display: none;
    visibility: hidden;
}

.l-fs-tpl__downloadbox-files {
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.l-fs-tpl__download .l-fs-tpl-download-file__link,
.l-fs-tpl__downloadbox-files .l-fs-tpl-download-file__link,
.l-fs-tpl__downloadlist-files .l-fs-tpl-download-file__link {
    position: relative;
    display: inline-block;
    margin: 0 0 5px;
}

.l-fs-tpl__download .l-fs-tpl-download-file__link > i,
.l-fs-tpl__downloadbox-files .l-fs-tpl-download-file__link > i,
.l-fs-tpl__downloadlist-files .l-fs-tpl-download-file__link > i {
    position: absolute;
    top: 5px;
    left: -30px;
    width: 30px;
    text-align: left;
}

.l-fs-tpl__download-file .l-fs-tpl-download-file__info,
.l-fs-tpl__downloadbox-files .l-fs-tpl-download-file__info,
.l-fs-tpl__downloadlist-files .l-fs-tpl-download-file__info {
    display: block;
    color: #333333;
}

/**
    hint for edit mode only
*/
.lotes-frequent-download__editing-hint {
    display: none;
    position: absolute;
    pointer-events: none;
    color: #818a8f;
    text-align: left;
    right: 0;
    font-size: 14px;
    background: #fff;
    border: 1px solid;
    font-family: Helvetica, Verdana, sans-serif;
    z-index: 3;
    padding: 5px 10px;
}

/* adjust */
.fc-download-list .tpl_fc-sort {
    top: 0;
    right: -100px;
    padding: 20px 30px 30px;
}

.l-fs-tpl__downloadbox-file .l-fs-tpl-file__date.fr-box {
    width: 75px;
    cursor: text;
}
.l-fs-tpl__downloadbox-file .l-fs-tpl-file__download-link > div {
    display: inline-block;
}

@media (min-width: 1024px) {
    .lotes-frequent-download__editing-hint-text {
        white-space: nowrap;
    }

    .active-module:hover .lotes-frequent-download__editing-hint {
        display: block;
    }
}
