html, body {
    margin: 0;
    padding: 0;
    background: #ccc;
    height: 100%;
}
body {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}
img.loadericon {
    max-width: 100%;
}
.navbar {
    background-color: #cccccc;
    border-radius: 0;
    margin-bottom: 0;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    box-shadow: 1px 3px 10px rgba(0,0,0,0.3);
    z-index: 1;
}
.navbar-brand {
    height: 70px;
}
.navbar-brand img {
    margin-top: -10px;
    height: 50px;
}

.main-content {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    
}

.popin{
    position: absolute;
    width:330px;
    left: -330px;
    top: 0;
    bottom: 0;
    color: #ffffff;
    z-index: 9;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);

    -moz-transition:all 0.4s ease;
    -webkit-transition:all 0.4s ease;
    -o-transition:all 0.4s ease;
    transition:all 0.4s ease;
	
}
.popin.open {
    left: 0;
}

.popin .close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
}
.popin .close-button span{
    color: transparent;
    margin: 5px;
    margin-right: 15px;
    font-size: 2em;
}

#filterPopin > .nav-tabs {
    position: absolute;
    left: 100%;
    top: -40px;
    width: 100%;
    height: 40px;
    margin-top: 10px;
    transform-origin: 0% 100%;
    transform: rotate(90deg);
    border-bottom: 0 none;
}

#filterPopin > .nav-tabs > li > a {
    background-color: transparent;
    color: transparent;
    font-weight: bold;
    cursor: pointer;
}

#filterPopin > .nav-tabs>li > a,
#filterPopin > .nav-tabs>li > a:focus,
#filterPopin > .nav-tabs>li > a:hover {
    border: 0 none;
}

.popin .headline {
    font-size: 26px;
    vertical-align: top;
    padding-left: 20px;
    line-height: 50px;
}

.popin .buttonDivider {
    width: 100%;
    height: 1px;
    vertical-align: top;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 2px;
}
.searchInput {
    padding: 10px 20px;
    position: relative;
    height: 54px;
}

.searchInput .searchIcon {
    position: absolute;
    left: 25px;
    top: 0px;
    color: #999;
    font-size: 18px;
    line-height: 54px;
}

    .searchInput .removeIcon {
        position: absolute;
        right: 48px;
        top: 0px;
        color: #999;
        font-size: 24px;
        line-height: 54px;
        cursor: pointer;
    }
    .searchInput .btnAdvSearch {
        position: absolute;
        right: 8px;
        top: 0px;
        font-size: 14px;
        line-height: 54px;
        cursor: pointer;
    }

    .searchInput input {
        padding-left: 32px;
        padding-right: 32px;
        width: 270px;
    }

.searchAdv {
    padding: 10px 20px;
    position: relative;
    height: 124px;
    background-color: rgba(0,0,0,0.2);
    display: none;
}

    .searchAdv .form-group {
        margin-bottom: 4px;
    }

        .searchAdv .form-group:first-child {
            margin-bottom: 8px;
        }

    .searchAdv label {
        font-size: 12px;
        line-height: 32px;
        text-align: right;
        padding-top: 0 !important;
    }

    .searchAdv .checkbox {
        line-height: 20px;
        padding-top: 0;
    }

        .searchAdv .checkbox label {
            display: block;
            position: relative;
            padding-left: 35px;
            cursor: pointer;
            font-size: 12px;
            line-height: 22px;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            text-align: left !important;
        }

        .searchAdv .checkbox input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

            .searchAdv .checkbox input:checked ~ .checkmark {
                background-color: #2196F3;
            }

        .searchAdv .checkbox .checkmark {
            position: absolute;
            top: 0;
            left: 0;
            height: 20px;
            width: 20px;
            background-color: #eee;
            border-radius: 4px;
        }

            .searchAdv .checkbox .checkmark:after {
                content: "";
                position: absolute;
                display: none;
            }

        .searchAdv .checkbox input:checked ~ .checkmark:after {
            display: block;
        }

        .searchAdv .checkbox .checkmark:after {
            left: 8px;
            top: 5px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 3px 3px 0;
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
        }
/* end of checkbox */

.searchInput input {
    padding-left: 32px;
    padding-right: 32px;
}

.searchBtngroup {
    padding: 0 20px;
}
.searchBtngroup .btn {
    background-color: #067d35;
    width: 100%;
}

.popin .listContainer {
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    left: 20px;
    right: 20px;
    top: 110px;
    bottom: 20px;
    background-color: white;
    color: #333;
    padding: 10px;
    border-radius: 4px;
    box-shadow: inset 0 3px 10px rgba(0,0,0,0.3);
}

#accordionFilter .panel-heading a {
    text-decoration: none;
    display: block;
}
#accordionFilter .list-group-item.active{
    background-color: #888;
    color: #fff;
    border-color: #ccc;
}

.filter_content_container {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 50px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: center;
    padding: 20px;
    background-color: #f3f3f3;
    box-shadow: inset 0px 2px 20px rgba(0,0,0,0.3);
    border-radius: 4px;
}
.filter_content_container.has-side {
    left: 380px;
}
    .filter_content_container a.doc-item {
        display: inline-block;
        width: 160px;
        min-height: 240px;
        padding: 5px;
        margin: 1.5em 5px;
        vertical-align: top;
        color: #444;
        text-decoration: none;
        font-size: 12px;
        border: 1px solid #ccc;
        background-color: #fff;
        box-shadow: 2px 5px 10px rgba(0,0,0,0.2);
        position: relative;
        -moz-transition: all 0.2s ease;
        -webkit-transition: all 0.2s ease;
        -o-transition: all 0.2s ease;
        transition: all 0.2s ease;
    }

    .filter_content_container a.doc-item:hover {
        box-shadow: 2px 8px 12px rgba(0,0,0,0.3);
        -ms-transform: scale(1.1, 1.1);
        -webkit-transform: scale(1.1, 1.1);
        transform: scale(1.1, 1.1);
        transform-origin: center bottom;
    }

    .filter_content_container a.doc-item img {
        width: 150px;
        height: 190px;
        object-fit: contain;
    }
    .filter_content_container a.doc-item > div.title {
        padding-top: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 3em;
    }
    .filter_content_container a.doc-item:hover > div.title {
        position: absolute;
        left: 5px;
        right: 5px;
        bottom: 5px;
        display: block;
        background-color: rgba(255, 255, 255, 0.8);
    }

        .filter_content_container a.doc-item > div.doc-link {
            position: absolute;
            left: 0;
            right: 0;
            width: 100%;
            bottom: -1.7em;
            font-size: 1.5em;
        }
            .filter_content_container a.doc-item > div.doc-link i {
                cursor: pointer;
                margin: 2px 4px;
                opacity: 0.8;
            }
                .filter_content_container a.doc-item > div.doc-link i:hover {
                    opacity: 1;
                    transform: scale(1.5);
                }

    .filter_content_container table {
        background-color: #fff;
    }
    .filter_content_container tr.doc-item {
        cursor: pointer;
    }
        .filter_content_container tr.doc-item td {
            position: relative;
        }
        .filter_content_container tr img {
            width: 100%;
            border: 1px solid #ccc;
            box-shadow: 1px 1px 6px rgba(0,0,0,0.3);
        }

    .filter_content_container.no-thumb tr td:first-child{
        display: none;
    }

    .filter_content_container td h4 {
        font-weight: bold;
        text-align: left;
    }
.filter_content_container td h5 {
    font-weight: bold;
    text-align: left;
	color: #209080;
}
.filter_content_container td p {
    text-align: left;
}
.filter_content_container .highlight {
    background-color: #ffff00;
} 
.text-danger {
    padding: 30px 20px;
    font-style: italic;
    text-align: center;
}

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

    .autocomplete-group strong {
        display: block;
        border-bottom: 1px solid #000;
    }

#btnAI {
    display: inline-block;
    padding: 10px;
    line-height: 50px;
}

#aiPopin #ai_result {
    background-color: #fff;
    color: #000;
}

#aiPopin .aiQus {
    background-color: #f5f5f5;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    padding: 4px;
}

#aiPopin .aiAns {
    padding: 4px 4px 4px 16px;
    font-size: 12px;
}
#aiPopin .aiPageList {
    margin-bottom: 10px;
}

#aiPopin .aiPageList a {
    font-size: 12px;
    background-color: #fff;
    border-color: #ddd;
}
    #aiPopin .aiPageList a h3,
    #aiPopin .aiPageList a h4 {
        font-size: 1em;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 4px;
        color: #000;
    }

    #aiPopin .aiPageList a img {
        width: 100px;
        float: left;
        margin-right: 4px;
    }

#aiPopin .aiResultsContainer {
    padding-top: 20px;
    background: #fff;
    border-radius: 10px;
}

@media(max-width:640px) {
    #aiPopin .headline {
        padding-top: 0 !important;
    }

        #aiPopin .headline i {
            font-size: 1em !important;
        }

        #aiPopin .headline h3 {
            display: inline-block !important;
        }

    #aiPopin .aiResultsContainer {
        padding-top: 0 !important;
    }
}
