﻿.limeglass-containter {
    position: relative;
}

.lg-nav,
.lg-document-viewer,
.lg-related {
    position: relative;
    margin-top: 10px;
}

.lg-nav {
    width: 20%;
}

.lg-document-viewer {
    min-height: 800px;
    max-height: 1200px;
    height: calc(100% - 260px); 
    overflow-y: scroll;
    float: left;
    width: 70%;
}

.lg-related {
    float: left;
    width: 30%;
}

.lg-loading-spinner {
    position: absolute;
    min-height: 500px;
    height: 100%;
    z-index: 100;
}

/* main document */
.lg-related-article-content .related-articles-content {
    margin-bottom: 25px;
}

.lg-document-viewer .isBlockMatch,
.match {
    border-left: 2px solid #c6ac39;
    margin-left: 0px;
    padding: 5px;
}

.lg-document-viewer.foldable > .lg-document-viewer-content {
    padding-left: 35px;
}

/*.lg-document-viewer .isBlockMatch + p {
            display: block !important;
        }

    .lg-document-viewer-content.filtered > article *:not(.isBlockMatch) {
        display: none;
    }

    .lg-document-viewer-content.filtered > article .documentHeader,
    .lg-document-viewer-content.filtered > article .documentHeader * {
        display: block;
    }*/

.lg-document-viewer-content.filtered > article > header.documentHeader .displayDate,
.lg-document-viewer-content.filtered > article > header.documentHeader .publisherTitle {
    display: inline-block;
}

.lg-document-viewer-content .documentHeader > p {
    color: #999;
    font-size: 0.846em;
}

.lg-document-viewer-content h3 {
    color: #436eac;
    font-size: 14px;
    line-height: 24px;
}

.lg-document-viewer-content article ul {
    list-style-image: url('/Modules/OxfordEconomics.Common/Content/Images/arrow-black.gif');
}

/* search */
.lg-search-content {
    padding: 0 25px;
    margin-bottom: 15px;
}

.lg-search-form {
    position: relative;
    margin: 0;
}

    .lg-search-form .icon-search {
        cursor: pointer;
        position: absolute;
        right: 5px;
        padding: 5px 5px 5px 5px;
    }

.lg-search-input {
    width: calc(100% - 12.5px);
}

.lg-search-results {
    margin: 0;
}

.lg-search-content-label,
.lg-search-results-label {
    font-weight: bold;
    padding-bottom: 10px;
}

.lg-search-form .icon-search.lg-search-loading {
    cursor: default;
}

.lg-search-loading:before {
    content: url(Images/ajax-loader.gif);
}

/* nav items */
.lg-nav.foldable {
    max-width: 20px;
    overflow: hidden;
    background-color: #F8F8F8;
    position: absolute;
    z-index: 100;
    border-color: #b8c0c9;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    height: calc(100% - 12px);
}

    .lg-nav.foldable.open {
        max-width: initial;
        overflow: auto;
    }

.lg-nav .foldable-expander {
    height: 100%;
    z-index: 100;
    position: absolute;
    background-color: #F8F8F8;
    width: 100%;
    cursor: pointer;
}

.lg-nav.foldable.open .foldable-expander {
    width: 25px;
    right: 0;
}

.lg-nav .foldable-expander:hover {
    background-color: #E8ECF4;
}

.lg-nav .folder-expander-icon {
    left: 6px;
    top: 10px;
    position: absolute;
    font-size: 20px;
    color: #436EAC;
}

.lg-nav-content {
    padding: 0 10px 10px 10px;
}

    .lg-nav-content ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

.clear-filter {
    padding: 5px 0;
    margin: 0 10px;
    color: #436eac;
    cursor: pointer;
    display: block;
}

    .clear-filter:hover {
        background-color: #E1E1E1;
    }

    .clear-filter > .icon-remove-sign {
        padding-left: 10px;
        padding-right: 5px;
    }

.side-menu {
    list-style: none;
    margin: 0;
    padding-left: 5px;
}

li > .side-menu {
    padding-left: 15px;
}

.menu-entry {
    color: #436eac;
    cursor: pointer;
    padding: 5px 5px;
    display: block;
}

    .menu-entry:hover {
        background-color: #E1E1E1;
    }

    .menu-entry.active {
        background-color: #E1E1E1;
    }

.lg-nav .side-menu {
    max-height: 0;
    overflow-y: hidden;
    -webkit-transition: max-height 0.25s ease-out;
    -moz-transition: max-height 0.25s ease-out;
    -o-transition: max-height 0.25s ease-out;
    -ms-transition: max-height 0.25s ease-out;
    transition: max-height 0.25s ease-out;
}

    .lg-nav .side-menu.active {
        /* big enough to fit all the data */
        max-height: 500px;
        overflow-y: visible;
    }

/* related articles */
.lg-related ul {
    list-style: none;
}

.lg-related .related-articles-subtitle {
    color: #003469;
    font-size: 14px;
    font-weight: bold;
}

.lg-related .related-articles {
    margin: 0;
}

.lg-related .related-articles-link {
    font-weight: bold;
}

.lg-related .related-articles-title {
    color: #003469;
    font-weight: bold;
    display: block;
    padding-bottom: 5px;
}

.lg-related .related-articles li {
    padding: 2px;
    line-height: 16px;
    margin: 3px 0;
}

    .lg-related .related-articles li.match {
        padding: 0 5px;
    }

.lg-related-articles-content {
    padding: 0 25px;
    position: relative;
}

    .lg-related-articles-content .related-articles-content {
        margin: 0;
    }

        .lg-related-articles-content .related-articles-content > li {
            padding: 5px;
            border-top: 1px solid #b8c0c9;
        }

        .lg-related-articles-content .related-articles-content :first-child {
            border-top: none;
        }

        /* pagination override */
        .lg-related-articles-content .related-articles-content .paging {
            border-top: none;
        }

    .lg-related-articles-content .paging-previous,
    .lg-related-articles-content .paging-next {
        top: 45px;
    }

.lg-tab a {
    display: inline !important;
}
.lg-tab img {
    display: inline;
    height: 27px;
    margin-left: -5px;
    margin-right: 5px;
}

.lg-banner {
    background-image: url(/Modules/OxfordEconomics.Common/Content/Images/Limeglass/powered_by_lg.png);
    background-size: auto 38px;
    height: 38px;
    width: 130px;
    position: absolute;
    bottom: 0;
    right: 0;
}
