.download-added-container {
    position:       absolute;
    top:            -50px;
    right:          0;
    display:        flex;
    gap:            32px;
    padding:        0 16px;
    border-radius:  16px;
    background:     #fff;
    /*box-shadow:     0px 40px 80px 0px rgba(0, 0, 0, 0.15);*/
    box-shadow:     0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    z-index:        999;
    font-size:      15px;
    color:          #727272;
    opacity:        0;
    pointer-events: none;
}

.download-added-container .download-added-text {
    width: max-content;
}

.download-added-container .download-added-link a {
    font-weight: 500;
}

.download-added-container .download-added-close svg:hover {
    cursor: pointer;
}

.download-added-container > div {
    position:       relative;
    display:        flex;
    align-items:    center;
    flex-direction: row;
}

.download-added-container > div:not(:nth-last-of-type(1)):before {
    content:    "";
    height:     calc(100% - 8px - 8px);
    width:      1px;
    position:   absolute;
    top:        8px;
    right:      -16px;
    background: #E5E5E5;
    display:    block;
}

.tooltip.show {
    z-index:        9 !important;
    pointer-events: none;
}


/*.download-pdf--section,*/
form#download--form {
    display: none !important;
}

.download-pdf--section {
    height:   0 !important;
    overflow: hidden !important;
}

.download-pdf--section.show {
    height:   auto !important;
    overflow: visible !important;
}

.download-pdf--section.show {
    display: block !important;
}

table.download_files tbody > tr:nth-child(odd) > td,
table.download_files tbody > tr:nth-child(odd) > th,
table.download_files tbody > tr:nth-child(even) > td,
table.download_files tbody > tr:nth-child(even) > th {
    background-color: #fff;
    border:           none !important;
    padding:          7px 0;
    font-weight:      500;
    display:          none !important;
}


.checkbox--card [type="checkbox"] {
    opacity:        0;
    position:       absolute;
    z-index:        999999999;
    pointer-events: all;
    width:          50%;
}

.checkbox--card.inline-checkbox {
    white-space: normal;
}

.checkbox--card input[type="checkbox"]:checked + label:before {
    border-color: #dd042b;
}

.checkbox--card input[type="checkbox"]:checked + label:after {
    content:        "";
    position:       absolute;
    width:          16px;
    height:         16px;
    top:            3px;
    left:           4px;
    background:     #dd042b;
    border-radius:  3px;
    pointer-events: none;
}

.checkbox--card input[type="checkbox"] + label:before {
    content:          "";
    display:          inline-block;
    position:         absolute;
    right:            0;
    top:              0;
    width:            24px;
    height:           24px;
    border:           solid 1px #d4d4d4;
    margin-top:       -1px;
    background-color: #fff !important;
    pointer-events:   none;
    border-radius:    3px;
}

.checkbox--card.inline-checkbox input[type="checkbox"] + label:before {
    position: relative;
}

.checkbox--card.inline-checkbox label {
    position: relative;
}

.checkbox--card.inline-checkbox label {
    display:     flex;
    gap:         12px;
    font-size:   16px;
    font-style:  normal;
    font-weight: 325 !important;
    line-height: 24px;
    color:       #727272 !important;
    margin:      0;
}

.form-filename--holder,
.file-name--holder * {
    line-height: 16px;
    max-height:  16px;
}

.form-filename--holder i {
    color: #ababab;
}

.file-name--holder {
    display:        flex;
    flex-direction: column;
    gap:            8px;
}

.download--form .gfield--has-description {
    position: relative;
}

.download--form .gfield--has-description .gfield_description {
    position: absolute;
    right:    0;
    top:      0;
    width:    max-content !important;
    padding:  0 !important;
}

.gform_wrapper.gravity-theme .download--form .gform_fields {
    grid-row-gap: 0 !important;
}

.gform_wrapper.gravity-theme .download--form span.gfield_required,
.gform_wrapper.gravity-theme .gform_required_legend {
    display: none !important;
}

.icon--button span.elementor-button-icon.elementor-align-icon-left {
    transform: skew(0deg) !important;
}


.image--holder {
    border:        1px solid #e5e5e5 !important;
    padding:       4px !important;
    margin-bottom: 18px !important;
    background:    #fff;
    z-index:       99999;
    display:       block;
    position:      relative;
}

/* ------------------------------------
-------------Filter broder styling-----------------
-------------------------------------*/
/*html body .download-filters--container fieldset {*/
/*    border-bottom:  1px solid #e5e5e5;*/
/*    padding-bottom: 24px;*/
/*    margin-bottom: 24px !important;*/
/*}*/

/*html body .download-filters--container fieldset button.wpgb-toggle-hidden {*/
/*    padding: 0 !important;*/
/*}*/

/*html body .download-filters--container .elementor-widget-container {*/
/*    margin: 0 !important;*/
/*}*/

h4.wpgb-facet-title.disabled--fieldset {
    opacity:        .2;
    pointer-events: none;
}

.links--holder div span.sep {
    width:            1px;
    height:           24px;
    background-color: #e5e5e5;
}

.links--holder div i {
    font-size: 20px;
}


.download_grid article .wpgb-card-content:before {
    content:          "";
    width:            calc(100% + 16px);
    height:           calc(100% + 16px);
    background-color: transparent;
    position:         absolute;
    left:             -8px;
    top:              -8px;
    display:          block;
    border-radius:    4px;
}

.download_grid article:hover .wpgb-card-content:before {
    background-color: rgba(0, 0, 0, 0.08);
}
.download_grid article .wpgb-card-footer .wpgb-block-1 {
    white-space: normal;
}
