#topbar span.glyphicon { margin-right: 5px; }

#firstbar li>a { color: white; }
#firstbar a:hover {
    background: white;
    color: black;
}
#firstbar ul.dropdown-menu { background: #444; }
#firstbar ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }

#secondbar a:hover { color: black; }
div#secondbar {
    height: 50px;
    overflow: hidden;
}

#dashboard-btn {
    position: fixed;
    top: 15px;
    left: 30px;
    z-index: 100;
}

#dashboard-btn a {
    padding-right: 10px;
}

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #f8f8f8;
    border-right: 1px solid #e7e7e7;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow-x: hidden;
}

#sidebar-wrapper span.glyphicon {
    margin: 0 5px 0 -15px;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    padding: 15px;
    background: lightyellow;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 60px 0 0 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 35px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #444;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 120px 20px;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

#form {
    width: 900px;
    margin: auto;
    position: relative;
    background: whitesmoke url('../img/20x20.png');
    border: 1px solid lightgray;
    box-shadow: 1px 2px 0 gray;
    overflow: hidden;
}

.form-group { min-width: 300px; }

table .form-group { min-width: 50px; }
table div.col-sm-12 { padding: 0; }
td input.form-control {
    outline: none;
    border: none;
    box-shadow: none;
}
table div.form-group { margin: 0; }
td input.form-control:hover {
    border-bottom: 1px solid gray;
    cursor: pointer;
}


#form.full-screen { background: white !important; }
#page-content-wrapper.full-screen { background: whitesmoke !important; }

#modal form, #modalCustom form { padding: 20px; }
#modal div.modal-dialog, #modalCustom div.modal-dialog { width: 60%; }

label.required:before { content: " *"; float: left; color: red; }
label.control-label.required { color: inherit; }
input.warning, select.warning, textarea.warning {
    border: 1px solid red !important;
    background: lightyellow;
    box-shadow: 0 0 3px red;
}
label.warning { color: red !important; }

#formTitle {
    height: 25px;
    text-align: center;
    color: crimson;
    text-align: 1px 1px 0 lightgray;
}

#minimenu {
    position: absolute;
    top: -30px;
    left: -1px;
    z-index: 1000000;
    background: black;
    color: white;
    box-shadow: 0 0 5px black;
}

#minimenu div.minikey {
    cursor: pointer;
    float: left;
    margin: 5px 7px;
}

#favorites {
    position: fixed;
    top: 100px;
    z-index: 100000;
    display: none;
}

#treectxmenu {
    position: absolute;
    top: 300px;
    left: 300px;
    display: none;
    z-index: 1000;
    min-width: 100px;
}

#treectxmenu span.glyphicon {
    margin-right: 5px;
}

#treectxmenu a.list-group-item {
    color: whitesmoke;
    background: #555;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
}

#treectxmenu a.list-group-item:focus,
#treectxmenu a.list-group-item:hover {
    background: #777;
    color: white;
}

div.draggable {
    border: 1px solid lightblue;
    display: inline-block;
    padding: 5px;
    cursor: move;
}

.no-border { border: none !important; }

#upper { margin-top: 100px; overflow-y: scroll; }

#treeControls, #labelProp {
    background: #e7e7e7;
    padding-left: 5px;
    color: #428bca;
    height: 30px;
    line-height: 30px;
    border-top: 1px inset white;
    font-size: 12px;
    overflow: hidden;
}
#treeControls a { padding-top: 5px; padding-bottom: 5px; }

#tree, #properties {
    width: 100%;
    //overflow-y: scroll;
}

#properties table { font-size: 12px; }
#properties td, #properties th { padding: 3px 8px; }
#properties td:first-child { background: lightgray; font-weight: bold; width: 50%; }


/* field objects */

div.ice_obj {
    position: absolute;
    display: block;
}

.obj_selected {
    border: 1px solid black !important;
    box-shadow: 0 0 5px black !important;
}

div.ice_multimedia p {
    text-align: center;
    font-style: italic;
}

div.radio.radio-inline { margin-top: 0 !important; }
div.dz-default.dz-message {
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 3px;
    background: rgba(0,0,0,0.03);
    padding: 23px;
    text-align: right;
    font-style: italic;
    color: gray;
}

div.disabled  label { color: gray; }
div.ice_obj label {
    font-weight: normal;

}

div.form-group.error { color: red; }
div.error input {
    box-shadow: 0 0 5px red;
}

#ecrf .ice_error {
    border: 2px solid #c9302c;
    color: #c9302c !important;
}

#ecrf .ice_pending {
    border: 2px solid #770F5D;
    color: #770F5D !important;
}

#ecrf .ice_monitored {
    border: 2px solid #199AC1;
    color: #199AC1 !important;
}

#ecrf .ice_warning {
    border: 2px solid #f0ad4e;
    color: #f0ad4e !important;
}

/* ALERT */

#flash {
	min-width: 200px;
	min-height: 40px;
	color: #fff;
	background: darkcyan;
	text-align: center;
	z-index: 1000000000;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
	font-size: 1.3em;
	line-height: 40px;
	border-radius: 4px;
	padding: 0 5px;
}

#flash p { margin: 0; padding: 0; }

#flash.danger,
#flash.error { background: #FF4747; box-shadow: 0 0 5px #FF4747; }
#flash.warning { background: orange; box-shadow: 0 0 5px orange; }
#flash.ok { background: limegreen; box-shadow: 0 0 5px limegreen; }
#flash.system { background: royalblue; box-shadow: 0 0 5px royalblue; }

#loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
}
