.has-switch {
    display: inline-block;
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid;
    border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
    position: relative;
    text-align: left;
    overflow: hidden;
    line-height: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    min-width: 100px
}

    .has-switch.switch-mini {
        min-width: 72px
    }

    .has-switch.switch-small {
        min-width: 80px
    }

    .has-switch.switch-large {
        min-width: 120px
    }

    .has-switch.deactivate {
        opacity: .5;
        filter: alpha(opacity=50);
        cursor: default !important
    }

        .has-switch.deactivate label, .has-switch.deactivate span {
            cursor: default !important
        }

    .has-switch > div {
        display: inline-block;
        width: 150%;
        position: relative;
        top: 0
    }

        .has-switch > div.switch-animate {
            -webkit-transition: left .5s;
            -moz-transition: left .5s;
            -o-transition: left .5s;
            transition: left .5s
        }

        .has-switch > div.switch-off {
            left: -50%
        }

        .has-switch > div.switch-on {
            left: 0
        }

    .has-switch input[type=checkbox] {
        display: none
    }

    .has-switch label, .has-switch span {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        cursor: pointer;
        position: relative;
        display: inline-block;
        padding-bottom: 4px;
        padding-top: 4px;
        font-size: 14px;
        line-height: 20px
    }

        .has-switch label.switch-mini, .has-switch span.switch-mini {
            padding-bottom: 4px;
            padding-top: 4px;
            font-size: 10px;
            line-height: 9px
        }

        .has-switch label.switch-small, .has-switch span.switch-small {
            padding-bottom: 3px;
            padding-top: 3px;
            font-size: 12px;
            line-height: 18px
        }

        .has-switch label.switch-large, .has-switch span.switch-large {
            padding-bottom: 9px;
            padding-top: 9px;
            font-size: 16px;
            line-height: normal
        }

    .has-switch label {
        text-align: center;
        margin-top: -1px;
        margin-bottom: -1px;
        z-index: 100;
        width: 34%;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        color: #fff;
        text-shadow: 0 -1px 0 rgba(0,0,0,.25);
        background-color: #f5f5f5;
        background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
        background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
        background-image: -o-linear-gradient(top,#fff,#e6e6e6);
        background-image: linear-gradient(to bottom,#fff,#e6e6e6);
        background-repeat: repeat-x;
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
        *background-color: #e6e6e6;
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
    }

        .has-switch label.active, .has-switch label.disabled, .has-switch label:active, .has-switch label:focus, .has-switch label:hover, .has-switch label[disabled] {
            color: #fff;
            background-color: #e6e6e6;
            *background-color: #d9d9d9
        }

        .has-switch label i {
            color: #000;
            text-shadow: 0 1px 0 #fff;
            line-height: 18px;
            pointer-events: none
        }

    .has-switch span {
        text-align: center;
        z-index: 1;
        width: 33%
    }

        .has-switch span.switch-left {
            -webkit-border-top-left-radius: 4px;
            -moz-border-radius-topleft: 4px;
            border-top-left-radius: 4px;
            -webkit-border-bottom-left-radius: 4px;
            -moz-border-radius-bottomleft: 4px;
            border-bottom-left-radius: 4px
        }

        .has-switch span.switch-right {
            color: #333;
            text-shadow: 0 1px 1px rgba(255,255,255,.75);
            background-color: #f0f0f0;
            background-image: -moz-linear-gradient(top,#e6e6e6,#fff);
            background-image: -webkit-gradient(linear,0 0,0 100%,from(#e6e6e6),to(#fff));
            background-image: -webkit-linear-gradient(top,#e6e6e6,#fff);
            background-image: -o-linear-gradient(top,#e6e6e6,#fff);
            background-image: linear-gradient(to bottom,#e6e6e6,#fff);
            background-repeat: repeat-x;
            border-color: #fff #fff #d9d9d9;
            border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
            *background-color: #fff;
            filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
        }

            .has-switch span.switch-right.active, .has-switch span.switch-right.disabled, .has-switch span.switch-right:active, .has-switch span.switch-right:focus, .has-switch span.switch-right:hover, .has-switch span.switch-right[disabled] {
                color: #333;
                background-color: #fff;
                *background-color: #f2f2f2
            }

        .has-switch span.switch-left, .has-switch span.switch-primary {
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0,0,0,.25);
            background-color: #005fcc;
            background-image: -moz-linear-gradient(top,#04c,#08c);
            background-image: -webkit-gradient(linear,0 0,0 100%,from(#04c),to(#08c));
            background-image: -webkit-linear-gradient(top,#04c,#08c);
            background-image: -o-linear-gradient(top,#04c,#08c);
            background-image: linear-gradient(to bottom,#04c,#08c);
            background-repeat: repeat-x;
            border-color: #08c #08c #005580;
            border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
            *background-color: #08c;
            filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
        }

            .has-switch span.switch-left.active, .has-switch span.switch-left.disabled, .has-switch span.switch-left:active, .has-switch span.switch-left:focus, .has-switch span.switch-left:hover, .has-switch span.switch-left[disabled], .has-switch span.switch-primary.active, .has-switch span.switch-primary.disabled, .has-switch span.switch-primary:active, .has-switch span.switch-primary:focus, .has-switch span.switch-primary:hover, .has-switch span.switch-primary[disabled] {
                color: #fff;
                background-color: #08c;
                *background-color: #0077b3
            }

        .has-switch span.switch-info {
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0,0,0,.25);
            background-color: #41a7c5;
            background-image: -moz-linear-gradient(top,#2f96b4,#5bc0de);
            background-image: -webkit-gradient(linear,0 0,0 100%,from(#2f96b4),to(#5bc0de));
            background-image: -webkit-linear-gradient(top,#2f96b4,#5bc0de);
            background-image: -o-linear-gradient(top,#2f96b4,#5bc0de);
            background-image: linear-gradient(to bottom,#2f96b4,#5bc0de);
            background-repeat: repeat-x;
            border-color: #5bc0de #5bc0de #28a1c5;
            border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
            *background-color: #5bc0de;
            filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
        }

            .has-switch span.switch-info.active, .has-switch span.switch-info.disabled, .has-switch span.switch-info:active, .has-switch span.switch-info:focus, .has-switch span.switch-info:hover, .has-switch span.switch-info[disabled] {
                color: #fff;
                background-color: #5bc0de;
                *background-color: #46b8da
            }

        .has-switch span.switch-success {
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0,0,0,.25);
            background-color: #58b058;
            background-image: -moz-linear-gradient(top,#51a351,#62c462);
            background-image: -webkit-gradient(linear,0 0,0 100%,from(#51a351),to(#62c462));
            background-image: -webkit-linear-gradient(top,#51a351,#62c462);
            background-image: -o-linear-gradient(top,#51a351,#62c462);
            background-image: linear-gradient(to bottom,#51a351,#62c462);
            background-repeat: repeat-x;
            border-color: #62c462 #62c462 #3b9e3b;
            border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
            *background-color: #62c462;
            filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
        }

            .has-switch span.switch-success.active, .has-switch span.switch-success.disabled, .has-switch span.switch-success:active, .has-switch span.switch-success:focus, .has-switch span.switch-success:hover, .has-switch span.switch-success[disabled] {
                color: #fff;
                background-color: #62c462;
                *background-color: #4fbd4f
            }

        .has-switch span.switch-warning {
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0,0,0,.25);
            background-color: #f9a123;
            background-image: -moz-linear-gradient(top,#f89406,#fbb450);
            background-image: -webkit-gradient(linear,0 0,0 100%,from(#f89406),to(#fbb450));
            background-image: -webkit-linear-gradient(top,#f89406,#fbb450);
            background-image: -o-linear-gradient(top,#f89406,#fbb450);
            background-image: linear-gradient(to bottom,#f89406,#fbb450);
            background-repeat: repeat-x;
            border-color: #fbb450 #fbb450 #f89406;
            border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
            *background-color: #fbb450;
            filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
        }

            .has-switch span.switch-warning.active, .has-switch span.switch-warning.disabled, .has-switch span.switch-warning:active, .has-switch span.switch-warning:focus, .has-switch span.switch-warning:hover, .has-switch span.switch-warning[disabled] {
                color: #fff;
                background-color: #fbb450;
                *background-color: #faa937
            }

        .has-switch span.switch-danger {
            color: #fff;
            text-shadow: 0 -1px 0 rgba(0,0,0,.25);
            background-color: #d14641;
            background-image: -moz-linear-gradient(top,#bd362f,#ee5f5b);
            background-image: -webkit-gradient(linear,0 0,0 100%,from(#bd362f),to(#ee5f5b));
            background-image: -webkit-linear-gradient(top,#bd362f,#ee5f5b);
            background-image: -o-linear-gradient(top,#bd362f,#ee5f5b);
            background-image: linear-gradient(to bottom,#bd362f,#ee5f5b);
            background-repeat: repeat-x;
            border-color: #ee5f5b #ee5f5b #e51d18;
            border-color: rgba(0,0,0,.1)rgba(0,0,0,.1)rgba(0,0,0,.25);
            *background-color: #ee5f5b;
            filter: progid:DXImageTransform.Microsoft.gradient(enabled=false)
        }

            .has-switch span.switch-danger.active, .has-switch span.switch-danger.disabled, .has-switch span.switch-danger:active, .has-switch span.switch-danger:focus, .has-switch span.switch-danger:hover, .has-switch span.switch-danger[disabled] {
                color: #fff;
                background-color: #ee5f5b;
                *background-color: #ec4844
            }

.ar-viewer .toolbar {
    padding: 7px;
    border: 1px solid gray
}

    .ar-viewer .toolbar button {
        min-height: 2.5em;
        width: auto
    }

        .ar-viewer .toolbar button svg {
            display: block;
            margin: auto
        }

    .ar-viewer .toolbar input {
        width: 75pt
    }

.ar-viewer .flex-group {
    flex: 1 1 auto
}

.ar-viewer .sidebar {
    width: 25%;
    height: 100%;
    float: left;
    overflow: auto;
    border-right-style: solid;
    border-width: 1px;
    border-color: gray;
    padding-top: 2px
}

.ar-viewer .errorpane {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

    .ar-viewer .errorpane button span {
        display: inline-block;
        width: 10em
    }

.ar-viewer .sidebar .nav > li > a {
    padding: 4px
}

.ar-viewer .sidebar .nav-tabs {
    font-size: smaller;
    height: 27px
}

.ar-viewer .sidebar .tab-content {
    height: calc(100% - 27px)
}

#gc-viewer-tab-params {
    height: 100%
}

.ar-viewer .document-view > div {
    text-transform: none
}

.ar-viewer .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: auto;
    top: 0;
    left: 0;
    z-index: 10
}

.ar-viewer .params-pane .param-value {
    min-height: 1.2em
}

.ar-chart-tooltip {
    position: absolute;
    display: none;
    background-color: #8a826d;
    background-color: rgba(138,130,109,.7);
    padding: 5px;
    border-style: none;
    border-radius: 5px;
    pointer-events: none;
    color: #fff
}

    .ar-chart-tooltip .tooltip-label {
        color: #fff;
        font-weight: 700
    }

.truncatedString {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.desktop .toc-container {
    padding: 2px
}

.desktop .toc {
    margin: 0;
    padding: 0
}

    .desktop .toc .toc-node {
        list-style: none;
        margin: 0;
        padding-left: 1em;
        text-indent: -1em;
        white-space: nowrap
    }

        .desktop .toc .toc-node.leaf {
            padding-left: .2em;
            text-indent: 0
        }

.toc-node.branch ~ .toc-node.leaf {
    padding-left: 1.2em
}

.toc-node.collapsed ul {
    display: none
}

.toc-node .toggle {
    color: #999;
    font-size: 8pt;
    text-shadow: 2px 1px 1px rgba(0,0,0,.1);
    vertical-align: 1px
}

    .toc-node .toggle:link {
        text-decoration: none
    }

.toc-node.expanded .toggle::before {
    content: "\25BC"
}

.toc-node.collapsed .toggle::before {
    content: "\25BA"
}

.ar7-toggle {
    cursor: pointer
}

.mirror-by-x {
    -ms-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1)
}

.dropdown-menu-uniform-size {
    min-width: 100%;
    width: 100%;
    overflow-y: auto;
    max-height: 189px
}

span + .glyphicon {
    margin-left: 4px
}

.loader {
    pointer-events: none;
    width: 1rem;
    height: 1rem;
    border: .1rem solid #dcdcdc;
    border-top-color: #000;
    border-radius: 50%;
    animation: loader 1s linear infinite;
    display: inline-block;
    margin-right: .3rem
}

@keyframes loader {
    100% {
        transform: rotate(360deg)
    }
}

@media screen {
    #gc-viewer-print-frame {
        display: none
    }

        #gc-viewer-print-frame, #gc-viewer-print-frame * {
            visibility: hidden
        }
}

@media print {
    body {
        overflow: visible;
        display: block;
        height: auto;
        margin: 0
    }

        body * {
            visibility: hidden
        }

    #gc-viewer-print-frame {
        display: block
    }

        #gc-viewer-print-frame, #gc-viewer-print-frame * {
            visibility: visible
        }
}

.open .dropdown-menu {
    display: block
}
