:root {
    --menu-bg-grey: #969696ad;
    --box-border-color: #eee;
    --font-grey-light: #bbb;
    --font-grey: #777;
    --font-grey-hover: #333;
    --circle-border-on: #7e7e7e;
    --circle-border-off: #eee;
    --blue: #02afea;
    --red: #fa1723;
    --yellow: #f2f0e1;
    --orange: #cd5f00;
}

@font-face {
    font-family: CrimsonText;
    src: url('/fonts/CrimsonText-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: CrimsonText;
    src: url('/fonts/CrimsonText-Bold.ttf');
    font-weight: 600;
}

@font-face {
    font-family: CrimsonText;
    src: url('/fonts/CrimsonText-Semibold.ttf');
    font-weight: 500;
}

@font-face {
    font-family: OpenSans;
    src: url('/fonts/OpenSans/OpenSans-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: OpenSans;
    src: url('/fonts/OpenSans/OpenSans-Light.ttf');
    font-weight: 300;
}

@font-face {
    font-family: OpenSans;
    src: url('/fonts/OpenSans/OpenSans-Bold.ttf');
    font-weight: 500;
}

body {
    height: 100vh;
}

div {
    position: relative;
}
.texts {
    position: absolute;
    top: 1000px;
    left: 50px;
}
.texts p {
    z-index: 20;
    position: relative;
    color: #fff;
    font-family: CrimsonText;
    font-size: 35px;
    margin: 0 0 20px;
}
ul {
    list-style: none;
}
a {
    transition: .15s;
}
.top a {
    text-decoration: none;
    color: var(--font-grey)
}
.top a:hover {
    text-decoration: none;
    color: var(--font-grey-hover)
}
.controls ul {
    padding: 15px 15px 0px 15px;
}
.controls ul li {
    display: inline-block;
    padding: 10px;
    border: 2px solid var(--circle-border-on);
    padding: 10px;
    display: block;
    border-radius: 50%;
    position: relative;
    transition: .2s;
    cursor: pointer;
}
.controls ul li:not(:last-of-type) {
    margin-bottom: 15px;
}
.controls ul li:hover {
    background-color: rgba(255, 255, 255, 0.178);
}
.controls ul li.pad {
    padding-left: 15px;
    padding-right: 5px;
}
.controls ul li.off {
    opacity: .5;
}
.controls ul li.folder.off:after {
    content: "";
    position: absolute;
    border-top: 2px solid var(--box-border-color);
    width: 50px;
    transform: rotate(45deg);
    transform-origin: 0% 0%;
    top: 6px;
    left: 9px;
}
.controls {
    position: absolute;
    top: 80px;
    left: -100px;
    z-index: 40;
}
.controls .co {
    height: 30px;
    width: 30px;
    filter: invert(0.5);
}
.controls .play {
    background-image: url('/img/player.png');
    background-size: 450%;
    background-position: 0 0;
}
.controls .pause {
    background-image: url('/img/player.png');
    background-size: 450%;
    background-position: -35px 0px;
}
.controls .volume {
    background-image: url('/img/player.png');
    background-size: 450%;
    background-position: -241px -104px;
}
.controls .folder {
    background-image: url('/img/folder.png');
    background-size: 100% 92%;
    background-position: 0 0px;
    background-repeat: no-repeat;
}
.controls .search {
    background-image: url('/img/search.png');
    background-size: 100% 92%;
    background-position: 0 0px;
    background-repeat: no-repeat;
}
.controls .folder.open {
    background-image: url('/img/folder-open.png');
    background-size: 100% 92%;
    background-position: 0 0px;
    background-repeat: no-repeat;
}

.overlay {
    height: 100%;
    width: 100%;
    background-image: url('/img/loader.gif');
    background-size: 20%;
    background-position: 50%;
    position: absolute;
    background-repeat: no-repeat;
    background-color: #fff;
    filter: grayscale(1) brightness(1);
    top: 0;
    left: 0;
    z-index: 50;
}

.overlay > div {
    position: absolute;
    top: 43%;
    left: calc(50% - 47px);
    font-family: 'CrimsonText';
    font-size: 1.2em;
}

.content {
    width: 800px;
    margin: 0 auto;
}

.item {
    position: relative;
    padding: 5px 0px;
    border-bottom: 1px solid var(--box-border-color);
}
.search-results .item:last-of-type {
    border-bottom: 1px solid transparent;
}
.item-date {
    font-size: .85em;
}
.item-title {
    font-size: 1.15em;
    width: 92%;
    display: block;
}
.sr .item-title a {
    color: #42caa5;
}
.item-title a {
    word-break: break-all;
}
.item-props {
    position: absolute;
    top: 5px;
    right: 5px;
}
.item-props span {
    height: 15px;
    width: 15px;
    margin-right: 5px;
}
.item-props span i {
    font-size: .9em;
    cursor: default;
    color: var(--font-grey);
    transition: .2s;
}
.item-props span i:hover {
    color: var(--font-grey-hover);
}
.item-actions {
    position: absolute;
    right: 5px;
    top: 5px;
}
.item-actions i {
    cursor: pointer;
    color: var(--font-grey);
}
.item-actions i:hover {
    color: var(--font-grey-hover);
}

.header .actions {
    width: 100%;
    text-align: right;
    border-bottom: 1px solid var(--box-border-color);
    border-top: 1px solid var(--box-border-color);
    padding-top: 10px;
    margin-top: 20px;
}
.header .actions ul.next-prev-arrows {
    padding: 10px 7px 10px 0px;
}
.header .actions ul.next-prev-arrows li:not(:last-of-type) {
    margin-right: 10px;
}
.header .actions ul.next-prev-arrows li {
    display: inline-block;
}
.header .actions ul {
    display: inline-block;
}
.header .actions ul.filters {
    padding: 10px 20px 10px 0px;
    float: left;
}
.header .actions ul.filters li {
    display: inline-block;
    margin-right: 0px;
}
.header .actions ul.filters li span {
    color: var(--font-grey);
    cursor: default;
}
.header .actions ul.filters li span i {
    cursor: pointer;
    padding: 3px;
}
.header .actions ul.filters li span.selected i {
    color: white;
    background-color: var(--blue);
    border-radius: 3px;
}
.header .actions ul.filters li span:hover {
    color: var(--font-grey-hover);
}
.header .actions ul.filters li span.selected {
    color: var(--blue);
}
.header .actions ul.filters li span.selected:hover {
    color: var(--font-grey);
}
.filters li:first-of-type {
    padding-right: 5px;
}

.arrow {
    color: unset;
    text-decoration: none;
}
.arrow i {
    display: block;
    font-size: 1.3em;
}
.search-box {
    display: none;
    margin-top: 0px;
}
.search-bar {
    width: 100%;
    padding: 15px;
    font-size: 1.25em;
    border: 1px solid var(--box-border-color);
    color: var(--font-grey);
    border-radius: 3px;
}
.search-bar:-moz-placeholder {}
.search-bar::-webkit-input-placeholder {}
.search-bar::placeholder {
    color: var(--font-grey-light);
}
.search-bar-box {
    margin-bottom: 40px;
}
.search-button {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 1.6em;
    color: var(--font-grey-light);
    cursor: pointer;
}
.search-button:hover {
    color: var(--font-grey);
}
.clear-search {
    cursor: pointer;
    float: right;
    z-index: 5;
    display: inline-block;
}
.show-all:hover,
.clear-search:hover {
    text-decoration: underline;
}
.show-all {
    cursor: pointer;
    z-index: 5;
    display: inline-block;
}
.loader {
    display: inline-block;
    height: 16px;
}
.info-text {
    font-size: 0.8em;
    font-weight: 400;
}
.grey {
    color: var(--font-grey)
}

.folder-box {
    display: none;
    margin-bottom: 40px;
    margin-top: 0px;
}
.folder-item {
    padding: 5px 0px;
    border-bottom: 1px solid var(--box-border-color);
}
.folder-item span {
    margin-right: 5px;
}

.footer {
    text-align: center;
    padding: 30px 0px;
}
.footer .note {
    font-family: OpenSans;
    font-size: .8em;
}
.footer ul {
    padding: 0;
    width: 100%;
    text-align: center;
    margin: 20px 0px 40px 0px;
}
.footer ul li a {
    color: var(--font-grey);
}
a.external::after {
    content: "";
    width: 11px;
    height: 11px;
    margin-left: 4px;
    background-image: url("/img/external-link-300x277.png");
    filter: saturate(0);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}

/* report overrides */
iframe,
video,
.powerpress_player {
    border: none;
    padding: 0;
    margin: 15px 0px;
}
.powerpress_embed_box {
    display: none;
}
.entry p.powerpress_links,
.entry p.cats,
.entry p strong {
    font-size: 0.8em;
    font-weight: 400;
}
.entry p {
    font-family: OpenSans;
    font-size: 1.2em;
}
fieldset {
    display: none;
}

@media screen and (max-width: 767px) {
    .texts {
        position: absolute;
        top: 1000px;
        left: 0px;
        margin: 0 20px;
        padding: 0px;
        width: calc(100% - 40px);
    }

    .menu {
        right: 10px;
        left: 10px;
        background-color: var(--menu-bg-grey);
        width: calc(100% - 20px);
    }
}

@media screen and (max-width : 500px) {
    .texts {
        left: 0px;
    }
    .texts p {
        font-size: 25px;
        margin: 0px 10px 0px 30px;
    }

    .overlay {
        background-size: 40%;
    }
    .overlay > div {
        left: calc(50% - 47px)
    }

    .menu {
        right: 10px;
        left: 10px;
        background-color: var(--menu-bg-grey);
        width: calc(100% - 20px);
    }
    
}

@media screen and (max-width : 400px) {
    body {
        height: 100%;
        overflow: hidden;
    }
    video {
        height: 100%;
        width: auto;
    }
    .overlay {
        height: 100%;
        width: 100%;
        background-image: url('/img/loader.gif');
        background-size: 50%;
        background-position: 50% 50%;
        position: absolute;
        background-repeat: no-repeat;
        top: 0;
        left: 0;
        z-index: 50;
    }
    .texts {
        left: 0px;
    }
    .texts p {
        font-size: 22px;
        margin: 0 0 10px;
    }
    .menu {
        right: 0px;
        background-color: var(--menu-bg-grey);
    }
}

@media screen and (max-width : 320px) {
    .texts {
        left: 0px;
    }
    body {
        height: 100%;
        overflow: hidden;
    }
    video {
        height: 100%;
        width: auto;
    }
    .overlay {
        height: 100%;
        width: 100%;
        background-image: url('/img/loader.gif');
        background-size: 50%;
        background-position: 50%;
        position: absolute;
        background-repeat: no-repeat;
        top: 0;
        left: 0;
        z-index: 50;
    }
    .texts p {
        font-size: 20px;
        margin: 0 0 10px;
    }
    .menu {
        right: 0px;
        background-color: var(--menu-bg-grey);
    }
}
