﻿.ui.grid {
    padding: 0 !important;
}

.pushable.segment {
    margin: 0 !important;
}

body {
    padding: 0;
}

body {
    pointer-events: none;
    cursor: progress;
}

/*top nav*/
#topnav > li > a, .navbar-default.affix .nav > li > a:focus {
    color: #222;
}


@media (max-width: 767px) {
    .navbar .dropdown-menu.multi-column {
        min-width: 240px !important;
        overflow-x: hidden;
    }

    .content {
        padding: 5px 0 5px 0;
    }

    .inside-page {
        padding: 5px 0 5px 0;
    }
}
/*nav*/

@media (max-width: 1024px) {
    .navbar .dropdown-menu.multi-column {
        min-width: 240px !important;
        overflow-x: hidden;
    }

    .content {
        padding: 5px 0 5px 0;
    }

    .inside-page {
        padding: 5px 0 5px 0;
    }
}

/*scroll button*/
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 6%;
    z-index: 1000;
    background: none;
    background-color: transparent;
    font-size: 4em;
    border-radius: 6px;
    margin: auto;
}


#scrolltop {
    border-radius: 4px;
    width: 100px;
    height: 100px;
    text-align: center;
    vertical-align: middle;
}


.scroll-top a:hover, .scroll-top a:link, .scroll-top a:visited {
    color: #ccc;
}
/*scroll button*/


#filter-left {
    max-width: 230px;
    float: left;
    position: fixed;
    z-index: 1000;
    /*border-right: 1px solid #ccc;*/
    height: 100%;
    overflow: hidden;
    -webkit-box-shadow: 4px 0 2px -2px #f1f1f1;
    box-shadow: 4px 0 2px -2px #f1f1f1;
}

#filter-result {
    padding-top: 0px;
    padding-right: 0px;
    width: 100%;
    z-index: 50;
}

#filter-top {
    background-color: #fff;
    height: 40px;
    width: 100%;
    margin: 0;
    float: left;
}


.filter-group {
    padding: 5px;
    display: inline-block;
    height: 100%;
    max-width: 200px;
}

.filter-group-button {
    padding: 0px;
    margin-top: -4px;
    display: inline-block;
    max-width: 200px;
}

.filter-top-toolbar {
    padding: 2px;
    display: block;
    margin-right: 0;
    float: right;
    width: 160px;
}


.filter-title {
    padding-left: 10px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 16px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
}

    .filter-title > a:hover {
        text-decoration: none;
        color: #000;
    }



.filter-expanded {
    width: 230px;
}

    .filter-expanded > .filter-title > a:before {
        float: right !important;
        font-family: FontAwesome;
        content: "\f053";
        color: #000;
        padding-right: 5px;
        opacity: 0.7;
    }

.filter-collapsed {
    width: 32px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-left: 1px;
}

    .filter-collapsed > .filter-title:before {
        content: "\f054";
        font-family: FontAwesome;
        color: #000;
        padding-right: 0px;
        opacity: 0.7;
        margin-bottom: 10px;
    }

.filter.dropdown-menu {
    text-transform: none;
}

.no-overflow {
    overflow: hidden;
}

.filter.dropdown-item {
    display: block;
    width: 100%;
    padding: 6px;
    clear: both;
    font-weight: normal;
    color: #000;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.grid-collapsed {
    padding-left: 0px;
}

.grid-expanded {
    padding-left: 0px;
    height: 100%;
    padding-bottom: 99px;
    /*padding-right:4px;*/
}

.grid-expanded-nobasefilter {
    padding-left: 0px;
    height: 100%;
    padding-bottom: 54px;
    /*padding-right:4px;*/
}

.grid-expanded-intab {
    padding-left: 0px;
    height: 100%;
    padding-bottom: 0px;
    /*padding-right:4px;*/
}

.grid-expanded-fullscreen {
    height: 100%;
    padding-bottom: 54px;
    /*padding-right:4px;*/
}

.grid-notoolbar {
    padding-left: 0px;
    height: 100%;
}

.filter-table {
    margin-bottom: 0px;
}

    .filter-table td {
        border: none;
        padding: 0px;
    }


.filters > ul {
    list-style-type: none;
    padding: 0;
    margin: 2px;
    width: 100%;
}

    /* Style the list items */
    .filters > ul li {
        border: 1px dotted black;
        margin-top: 2px; /* Prevent double borders */
        background-color: #f6f6f6;
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 10px;
        padding-right: 16px;
        margin-right: 2px;
        text-decoration: none;
        font-size: 1em;
        border-radius: 2px;
        color: black;
        display: block;
        width: 100%;
        position: relative;
    }

        /* Add a light grey background color on hover */
        .filters > ul li:hover {
            background-color: #eee;
        }

/* Style the close button (span) */
.filter-close {
    cursor: pointer;
    position: absolute;
    top: 44%;
    right: 4%;
    margin-left: 10px;
    padding: 2px 2px;
    color: #666;
    transform: translate(0%, -50%);
    font-weight: bold;
}

    .filter-close:hover {
        /*background: #bbb;*/
    }


#pagerresult-grid {
    border-top: 1px solid #ccc;
}


.jqx-clear {
    border: none;
}

/*service box*/
.toolbar {
    /*padding:10px;
    text-align:center;
    border:1px solid #ccc;*/
}

.portfolio-box {
    margin: 1px;
    padding: 0px;
}

.toolbar .service-box {
    border: 1px solid rgba(0,0,0,.5);
    border-radius: 2px;
    padding: 5px;
    background-color: #f8f9fa;
    height: 100px;
    width: 100px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 6px;
}

.toolbar .text-primary {
    color: #000 !important;
    opacity: 0.8;
}


.toolbar p {
    color: #000000 !important;
    margin-bottom: 0px;
}

.toolbar .text-muted {
    color: #000 !important;
    opacity: 0.7;
    font-size: 0.9em;
    margin-top: 4px;
}

.service-box > i {
    font-size: 2em;
}


.toolbar > .col {
    margin: 0px;
    padding: 0px;
}
/*service box*/

/*nav overlay*/
.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 510;
    top: 0px;
    left: 0;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255, 1);
    overflow-x: hidden;
    /*    transition: 0.5s;*/
    display: none;
    color: #000;
}

.overlay1 {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 500;
    top: 0px;
    left: 0;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255, 1);
    overflow-x: hidden;
    /*    transition: 0.5s;*/
    display: none;
    color: #000;
}

.overlay-content, .overlay-content1 {
    position: relative;
    width: 100%;
    display: none;
    margin-top: 0px;
    padding-bottom: 100px;
    background-color: #fff;
}

.closebtn, .close, .closebtn1 {
    position: absolute;
    top: 3px;
    right: 12px;
    font-size: 20px;
    float: right;
    clear: both;
    z-index: 9900;
    height: 40px;
    cursor: pointer;
}

@media(max-width: 767px) {
    .closebtn, .close, .closebtn1 {
        right: 2px;
    }
}

@media (min-width: 640px) {
    .overlay-content.withoffset {
        padding: 1em;
        z-index: 9000;
        box-shadow: 5px 5px 10px #666;
        max-width: 1400px !important;
    }

    .overlay.withoffset {
        background-color: #d9d9d9;
        padding-left: 2em !important;
        padding-bottom: 1em !important;
        padding-top: 2em !important;
        padding-right: 2em !important;
    }

    .overlay-content1.withoffset {
        padding: 1em;
        z-index: 9000;
        box-shadow: 5px 5px 10px #666;
        max-width: 1400px !important;
    }

    .overlay1.withoffset {
        background-color: #d9d9d9;
        padding-left: 2em !important;
        padding-bottom: 1em !important;
        padding-top: 2em !important;
        padding-right: 2em !important;
    }

    .closebtn.withoffset {
        right: -8px;
    }

    .closebtn1.withoffset {
        right: -8px;
    }
}
/*nav overlay*/


    /*report overlay*/
    .report-overlay {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 9000;
        top: 0px;
        left: 0;
        background-color: rgb(255,255,255);
        background-color: rgba(255,255,255, 1);
        overflow-x: hidden;
        transition: 0.5s;
        color: #000;
    }

    .report-overlay-content {
        position: relative;
        width: 100%;
        display: none;
        margin-top: 10px;
    }
    /*report overlay overlay*/


    #leftMenu {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1000;
        top: 53px;
        left: 0;
        overflow-x: hidden;
        transition: 0.4s;
        box-shadow: 4px 0px 4px -4px #000, -4px 0px 4px -4px #000;
        color: #000;
        background-color: #333439;
        padding: 0px;
    }



    /*nav toolbar right*/
    .toolbar-right {
        height: 100%;
        width: 360px;
        position: fixed;
        z-index: 1050;
        display: none;
        top: 0px;
        right: 0;
        background-color: #fff;
        overflow-x: hidden;
        transition: 0.4s;
        box-shadow: 6px 0px 5px -5px #999, -6px 0px 5px -5px #999;
        color: #000;
    }

        .toolbar-right.open {
            width: 360px !important;
            display: normal;
        }

    @media (max-width: 640px) {

        .toolbar-right {
            width: 100%;
        }

            .toolbar-right.open {
                width: 100% !important;
                display: normal;
            }
    }


    .closebtn-right {
        position: absolute;
        top: 4px;
        left: 4px;
        float: left;
        clear: both;
        z-index: 9900;
        cursor: pointer;
        font-size: 20px;
        height: 40px;
    }

    .closebtn-left {
        position: absolute;
        top: 4px;
        right: 4px;
        float: left;
        clear: both;
        z-index: 9900;
        cursor: pointer;
        font-size: 20px;
        height: 40px;
    }

    .toolbar-right-content {
        padding-left: 24px;
        padding-right: 12px;
        padding-top: 12px;
    }

    .toolbar-right-tab {
        position: fixed;
        width: 40px;
        background-color: white;
        right: -4px;
        height: 60px;
        writing-mode: vertical-rl;
        padding-right: 10px;
        text-align: center;
        vertical-align: middle;
        font-size: 1.2em;
        border-left: 1px solid #666;
        border-top: 1px solid #666;
        border-bottom: 1px solid #666;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        z-index: 700;
        transition: 0.4s;
    }

    #navToolbarRight h4 {
        width: 100%;
        display: inline-block;
    }

    /*.tabcontent {
    height: 100%;
}
*/
    /*notification*/
    .jqx-notification-container {
        z-index: 99999 !important;
    }
    /*end notification*/

    /*modal navigation*/
    #modal-back {
        float: left;
        position: absolute;
        font-size: 2em;
        opacity: 0.9;
        display: block;
        color: #ccc;
        left: -40px;
    }

    #modal-next {
        float: right;
        position: relative;
        font-size: 2em;
        opacity: 0.9;
        display: block;
        color: #ccc;
        right: -50px;
    }


    .ui.fullscreen.modal {
        width: calc(100% - 4em) !important;
        margin-left: 1.5em !important;
        height: calc(100vh - 3em) !important;
        margin-top: 0.8em !important;
        transition: 0.4s;
    }

        .ui.fullscreen.modal.withtoolbarright {
            width: calc(100% - 420px) !important;
        }

    @media (min-width: 1600px) {

        .ui.fullscreen.modal {
            width: 70% !important;
            margin-left: 15% !important;
        }

            .ui.fullscreen.modal.withtoolbarright {
                width: 70% !important;
                margin-left: 5% !important;
            }
    }


    .ui.modal > :last-child {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .scrolling.dimmable.dimmed > .dimmer {
        overflow: hidden !important;
    }

    .ui.fullscreen.scrolling.modal {
        left: 0em !important;
    }

    .ui.fullscreen.modal > .close {
        cursor: pointer;
        position: absolute;
        top: -1.3rem;
        right: -2.5rem;
        z-index: 1;
        opacity: 0.8;
        font-size: 1.25em;
        color: #FFFFFF;
        width: 2.25rem;
        height: 2.25rem;
        padding: 0.625rem 0rem 0rem 0rem;
    }

    .ui.modal > :first-child:not(.icon), .ui.modal > .icon:first-child + * {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }


    .ui.modal {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }


        .ui.modal > :last-child {
            border-bottom-left-radius: 0rem;
            border-bottom-right-radius: 0rem;
        }

    @media (min-width: 640px) {
        #modal-content {
            height: 100%;
        }
    }

    #privilege-wrapper {
        margin-top: -30px;
        z-index: 9999;
    }


    .ui.form {
        max-width: 1200px !important;
    }
    /*end modal navigation*/


    .jqx-scrollbar-mobile .jqx-scrollbar-thumb-state-normal-horizontal, .jqx-scrollbar-mobile .jqx-scrollbar-thumb-state-normal {
        z-index: 1000 !important;
    }
