﻿body, html {
    height: 100%;
    width: 100%;
    min-width: 1070px;
}

#map {
    width: 100%;
    height: 900px;
    position: relative;
    overflow: hidden;
}

#wrapper {
    padding-left: 350px;
    transition: all 0.4s ease 0s;
}

#sidebar-wrapper {
    margin-left: -350px;
    top: 51px;
    left: 350px;
    width: 350px;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.4s ease 0s;
}

#wrapper.active {
    padding-left: 0;
}

    #wrapper.active #sidebar-wrapper {
        left: 0;
    }

.navbar-custom .icon-bar {
    background-color: #fff;
}

.navbar-custom {
    background-color: #168ccc;
    color: #fff;
}

    .navbar-custom li > a:hover, .navbar-custom li > a:focus {
        background-color: #49bfff;
    }

    .navbar-custom a {
        color: #fefefe;
    }

    .navbar-custom .form-control:focus {
        border-color: #49bfff;
        outline: 0;
        -webkit-box-shadow: inset 0 0 0;
        box-shadow: inset 0 0 0;
    }

.navbar-text {
    margin-top: 10px;
    margin-bottom: 0;
}

#page-content-wrapper {
    width: 100%;
    padding-top: 50px;
    transition: width 0.4s ease 0s;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .sidebar-nav li {
        line-height: 40px;
        text-indent: 20px;
    }

        .sidebar-nav li a {
            color: #999999;
            display: block;
            text-decoration: none;
            padding-left: 60px;
        }

            .sidebar-nav li a span:before {
                position: absolute;
                left: 0;
                color: #41484c;
                text-align: center;
                width: 20px;
                line-height: 18px;
            }

            .sidebar-nav li a:hover,
            .sidebar-nav li.active {
                color: #fff;
                background: rgba(255,255,255,0.2);
                text-decoration: none;
            }

            .sidebar-nav li a:active,
            .sidebar-nav li a:focus {
                text-decoration: none;
            }

    .sidebar-nav > .sidebar-brand {
        height: 65px;
        line-height: 60px;
        font-size: 18px;
    }

        .sidebar-nav > .sidebar-brand a {
            color: #999999;
        }

            .sidebar-nav > .sidebar-brand a:hover {
                color: #fff;
                background: none;
            }

#menu-toggle {
    text-decoration: none;
    float: left;
    color: #fff;
    padding-right: 15px;
}

@media (max-width:767px) {
    #wrapper {
        padding-left: 0;
    }

    #sidebar-wrapper {
        left: 0;
    }

    #wrapper.active {
        position: relative;
        left: 250px;
    }

        #wrapper.active #sidebar-wrapper {
            left: 250px;
            width: 250px;
            transition: all 0.4s ease 0s;
        }

    #menu-toggle {
        display: inline-block;
    }
}

.demo {
    overflow: auto;
    border: 1px solid silver;
    min-height: 60%;
    max-height: 60%;
    max-width: 350px;
}

.demo2 {
    overflow: auto;
    border: 1px solid silver;
    min-height: 120px;
    max-height: 120px;
    max-width: 350px;
}

#side-panel {
    border: 1px solid #CECECE;
    border-radius: 15px;
    height: 100%;
    background: #ffffff;
    position: relative;
    behavior: url(css/PIE.htc);
}

#side-panel-content {
    padding: 10px;
}

#logo {
    border-bottom: 1px solid #ECECEC;
    text-align: center
}

    #logo img {
        /*width:300px;*/
        max-height: 75px;
    }

#menu {
    padding: 10px 0;
    border-top: 1px solid #F4F4F4;
    border-bottom: 1px solid #F4F4F4;
    margin-bottom: 10px;
}

    #menu a {
        padding: 5px 0;
        float: left;
        margin: 0px;
        text-decoration: none;
        font-size: 11px;
        color: #6b6b6b;
        background: #FCFCFC;
        display: block;
        width: 150px;
        text-align: center;
        border-left: 1px solid #ECECEC;
        border-top: 1px solid #ECECEC;
        border-right: 1px solid #cecece;
        border-bottom: 1px solid #cecece;
        text-transform: uppercase;
    }

        #menu a:hover {
            background: #003461;
            color: #ffffff;
            font-weight: bold;
        }

#title {
    background: #003461;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    padding: 4px 0;
}

.clear {
    clear: both;
}

#instructions, #introduction {
    text-align: center;
    font-size: 12px;
    padding: 20px 0;
    color: #6b6b6b;
}

#instructions-dialog p {
    margin-top: 10px;
}

#instructions-dialog ol {
    margin-top: 10px;
    margin-left: 20px;
}

#instructions-dialog li {
    margin-bottom: 6px;
}

/*
      New CSS

            */

/*
    Sub Menu

*/
.nav .open > a:focus {
    background-color: #0092ff
}

.navbar-nav > li > .dropdown-menua {
    margin-left: -50px
}

.dropdown-menua {
    min-width: 145px;
}

    .dropdown-menua > li > a {
        font-size: 11.5px;
        white-space: normal;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        font-size: 11.5px;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

/* Other */

#content,
#sidebar2 {
    min-height: 500px;
}

#row-main {
    overflow-x: hidden; /* necessary to hide collapsed sidebar */
}

#content {
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

    #content .btn-group {
        margin-bottom: 10px;
    }

.col-md-9 .width-12,
.col-md-12 .width-9 {
    display: none; /* just hiding labels for demo purposes */
}

#sidebar2 {
    background-color: #168ccc;
    -webkit-transition: margin 0.3s ease;
    -moz-transition: margin 0.3s ease;
    -o-transition: margin 0.3s ease;
    transition: margin 0.3s ease;
}

.collapsed {
    /*	display: none;  hide it for small displays */
}

@media (min-width: 992px) {
    .collapsed {
        /*display: block;*/
        margin-right: -25%; /* same width as sidebar */
    }
}

/*Panel
        .panel-heading span
{
    margin-top: -26px;
    font-size: 15px;
    margin-right: -12px;
}*/

.clickable {
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}