/* THIS FILE SHOULD ONLY CONTAIN STYLES THAT WILL BE USED IN MULTIPLE PAGES ACROSS READYLIST */


/* Variables */
:root {
    --rl-blue: #0e76bc;
    --rl-orange: #FE8616;
    --popup-width: 60%;
    --popup-height: 80%;
}

/* Icons */
img.icon {
    width: 1.5em;
    height: 1.5em;
    padding: 0 0.5em;
    cursor: pointer;
}

img.icon.large {
    width: 3.5em;
    height: 3.5em;
    padding: 0.5em 0;
}

img.icon.small {
    width: 1em;
    height: 1em;
}

img.icon.medium {
    width: 2em;
    height: 2em;
}

img.icon.filter {
    padding: 0;
}

img.icon.orange {
    filter: brightness(0) saturate(100%) invert(51%) sepia(84%) saturate(1065%) hue-rotate(350deg) brightness(103%) contrast(99%);
}

img.icon.white {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(175deg) brightness(101%) contrast(101%);
}

img.icon.blue {
    filter: brightness(0) saturate(100%) invert(31%) sepia(49%) saturate(3806%) hue-rotate(186deg) brightness(88%) contrast(89%);
}

img.icon.gray {
    filter: brightness(0) saturate(100%) invert(98%) sepia(1%) saturate(246%) hue-rotate(357deg) brightness(112%) contrast(73%);
}

img.icon.black {
    filter: brightness(0) saturate(100%);
}

img.icon.no_padding {
    padding: 0;
}

/* Header */
.logo {
    max-height: 3em;
}

.rl_header {
    margin: 1em;
}

/* Sidebar Navigation */
.navigation {
    position: absolute;
    top: 5em;
    z-index: 1000;
    width: 5.5em;
    bottom: 0;
    border-top-right-radius: 5px;
}

@keyframes navbar_up {
    from {
        top: 5em;
    }
    to {
        top: 0;
    }
}

@keyframes navbar_down {
    from {
        top: 0;
    }
    to {
        top: 5em;
    }
}

@keyframes navbar_up_border {
    from {
        border-top-right-radius: 5px;
    }
    to {
        border-top-right-radius: 0;
    }
}

@keyframes navbar_down_border {
    from {
        border-top-right-radius: 0;
    }
    to {
        border-top-right-radius: 5px;
    }
}


.navigation_icons {
    position: fixed;
    left: 0;
    top: 5em;
    z-index: 990;
    height: 100%;
    background: var(--rl-blue);
    width: 5.5em;
    border-top-right-radius: 5px;

    li {
        list-style-type: none;
    }
    a {
        display: block;
        width: 4.5em;
        height: 4.5em;
        line-height: 4.5em;
        text-align: center;
        color: white;
        transition: all .5s ease-out;
        cursor: pointer;
        text-decoration: none;
        margin-left: 0.5em;

        &:hover {
            transform:translateX(5px) scale(1);
        }

        i {
            font-size: 2.5em;
        }
    }

    .selected::before {
        content: '';
        background: var(--rl-orange);
        border-radius: 5px;
        margin: 0 0.5em;
        display: block;
        position: absolute;
        width: 4.5em;
        height: 4.5em;
        z-index: -1;
    }
}

/* Up Animation */
.navigation_icons.up {
    animation: navbar_up 0.4s ease forwards, navbar_up_border 0.4s ease forwards;
}

/* Down animation */
.navigation_icons.down {
    animation: navbar_down 0.4s ease forwards, navbar_down_border 0.4s ease forwards;
}

.navigation_text.up {
    animation: navbar_up 0.4s ease forwards, navbar_up_border 0.4s ease forwards;
}

.navigation_text.down {
    animation: navbar_down 0.4s ease forwards, navbar_down_border 0.4s ease forwards;
}


.navigation:hover .navigation_text {
    transform: translate(300px);
    transition-delay: 0.3s;
}
.navigation_text {
    position: fixed;
    left: -17em;
    top: 5em;
    height: 100%;
    background: var(--rl-blue);
    border-right: black;
    transition: transform .24s cubic-bezier(0.22, 0.61, 0.36, 1);
    backface-visibility: hidden;
    transform-origin: left;
    border-top-right-radius: 5px;

    .tabs {
        display: block;
        width: 300px;
        height: 64px;
        line-height: 64px;
        margin-left: 1em;
        font-size: 1.4em;
        text-decoration: none;
        color: white;
        transition: all .5s ease;
        cursor: pointer;
    }
}

.nav_nav:hover .info {
    left:0;opacity:1;
    transition:opacity .5s ease-in .1s
}
.info {
    position:absolute;
    padding-left:2em;
    bottom:30px;
    z-index:999;
    width:264px;
    color: white;
    text-align:center;
    line-height:1.6;
    opacity:0;
}

.tooltip .sub_tabs {
    visibility: hidden;
    width: 15em;
    background-color: var(--rl-blue);
    color: #fff;
    padding: 5px 0;
    position: absolute;
    left: 315px;
    border-radius: 0.8em;
    margin-left: 5px;

    span {
        display: block;
        width: 90%;
        margin-left: 1em;
    }
}

.tooltip:hover .sub_tabs {
    visibility: visible;
    transition: opacity 0.3s, visibility 0s linear 0s;
}

.navigation_initials::after {
    content: '';
    position: absolute;
    margin: auto;
    left: 1.5em;
    width: 50%;
    height: 3px;
    background-color: white;
}

#cboxContent {
    border-radius: 10px;
}

/* General Page Setup */
.outer {
    margin: 0 2em 0 8em;

    h1, h2, h3, h4 {
        font-weight: bold;
    }

    h1 {
        font-size: 40px;
        line-height: 40px;
        color: var(--rl-blue);
    }

    .header_divider {
        border: 2px solid var(--rl-blue);
    }

    .filters {
        float: right;
        padding-bottom: 10px;
    }
}