/* Styles for public notifications search page (provided by client). */
*,
.filterForm *,
.filterForm *::before,
.filterForm *::after {
    box-sizing: border-box;
}

@font-face { font-family: "mr"; src: url("/assets/fonts/bpg-arial-master/fonts/bpg_arial.ttf"); font-weight: normal; }
@font-face { font-family: "hl"; src: url("/assets/fonts/bpg-arial-master/fonts/bpg_arial.ttf"); font-weight: normal; }

.filterForm {
    width: 1000px;
    max-width: 100%;
    height: auto;
    padding: 20px 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 30px auto;
    position: relative;
    align-items: baseline;
}
.filterForm ul { height: auto; list-style: none; padding: 0; margin: 0; }
.filterForm ul:first-of-type { width: 620px; display: flex; flex-wrap: wrap; justify-content: space-between; }
.filterForm ul:first-of-type > li:last-child { margin-top: 20px; }
.filterForm ul.searchByText { width: 331px; align-items: baseline; }
.filterForm ul.searchByText > li { position: relative; }
.filterForm ul.searchByText > li > input { padding-right: 30px; }
.filterForm ul.searchByText > li.addInputs {
    font-family: "mr"; font-size: 12px; color: #0F9D58;
    justify-content: flex-end; cursor: pointer;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.filterForm ul > li {
    display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px;
}
.filterForm ul > li:not(._100) { width: 300px; }
.filterForm ul > li._100 { width: 100%; }
.filterForm ul > li label { width: 100%; display: block; font-family: "mr"; font-size: 13px; color: #484848; margin-bottom: 6px; }
.filterForm ul > li button {
    width: 150px; height: 35px; border-radius: 3px;
    font-family: "mr"; font-size: 12px; color: #ffffff;
    cursor: pointer; opacity: 0.8; transition: 0.3s; border: 0;
}
.filterForm ul > li button:hover { opacity: 1; }
.filterForm ul > li button.search-submit { background-color: #0F9D58; position: relative; }
.filterForm ul > li button.search-clear { background-color: #F5403A; }
.inputClass {
    width: 100% !important; height: 35px;
    background-color: #EEEEEE; border-radius: 3px;
    font-family: "hl"; font-size: 13px; color: #484848; text-indent: 10px;
    border: 0; outline: 0;
}
.inputClass._50 { width: 130px !important; }

select.inputClass { text-indent: 6px; }

.lds-dual-ring { display: inline-block; width: 22px; height: 22px; position: absolute; top: 6px; right: 10px; }
.lds-dual-ring:after {
    content: " "; display: block; width: 16px; height: 16px;
    border-radius: 50%; border: 3px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
.lds-dual-ring.hidden { display: none; }

.responsiveButtons { width: 100%; display: none; justify-content: space-between; margin-top: 30px; }
.responsiveButtons button {
    width: 150px; height: 35px; border-radius: 3px;
    font-family: "mr"; font-size: 12px; color: #ffffff;
    cursor: pointer; opacity: 0.8; transition: 0.3s; border: 0;
}
.responsiveButtons button.search-submit { background-color: #0F9D58; position: relative; }
.responsiveButtons button.search-clear { background-color: #F5403A; }

@keyframes lds-dual-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 1023px) {
    .filterForm { width: 100%; }
    .filterForm ul:first-of-type { width: 100%; }
    .filterForm > ul:first-of-type > li.responsiveHiddenButtons { display: none; }
    .filterForm .responsiveButtons { display: flex; }
}
@media only screen and (max-width: 840px) {
    .filterForm ul { width: 100% !important; }
    .filterForm ul > li { width: 100% !important; }
    .filterForm ul > li .inputClass._50 { width: 48% !important; }
    .filterForm .responsiveButtons button { width: 130px; }
}
@media only screen and (max-width: 320px) {
    .filterForm ul > li button { width: 100% !important; margin-bottom: 15px !important; }
}

/* Results */
.notifications-results {
    width: 1000px; max-width: 100%;
    margin: 0 auto 40px; background: #fff;
    border-radius: 5px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    padding: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.notifications-results table { width: 100%; border-collapse: collapse; font-family: "hl"; font-size: 13px; min-width: 600px; }
.notifications-results th, .notifications-results td { padding: 10px 8px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; word-break: break-word; }
.notifications-results th { font-family: "mr"; color: #484848; background: #fafafa; }
.notifications-results .empty { padding: 20px; text-align: center; color: #888; }
.notifications-results a.file-link { color: #0F9D58; text-decoration: none; display: inline-flex; align-items: center; }
.notifications-results a.file-link:hover { opacity: 0.7; }
.notifications-results a.file-link svg { display: block; }

@media only screen and (max-width: 1023px) {
    .filterForm,
    .notifications-results {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 480px) {
    .filterForm { padding: 15px 8px; }
    .filterForm ul > li label { font-size: 12px; }
    .filterForm ul.searchByText > li.addInputs { font-size: 11px; }
    .notifications-results { padding: 10px; }
    .notifications-results table { font-size: 12px; min-width: 520px; }
    .notifications-results th, .notifications-results td { padding: 8px 6px; }
}
