/*DEBUG*/

/*html {
	height:100%;
}
body {
	position: relative;
}*/

.logged-user {
	display: none!important;
}
.unselectable {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	
}

.smart-form .input input, .smart-form .textarea textarea {
	padding: 5px 10px;
}
.smart-form .select select {
	/*padding: 5px 10px 5px 10px;*/
}
#dt_basic_length label {
    width:60px;
}
.smart-form .checkbox input:checked:hover+i:after {
	content: '\f00c';
}
.smart-form label.label.state-disabled, .smart-form label.checkbox.state-disabled {
	opacity: 0.4!important;
}
.btn.disabled {
	opacity: 0.4;
}
.form-control {
	height:32px;
}

@-ms-viewport {
  width: auto;
}


/* fix for Bootstrap 3.2 */
.row {
  margin-right: -13px;
  margin-left: -13px;
}

aside#left-panel {
/*    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;*/
    /*background: #f2f2f2;*/
    background: linear-gradient(to right,#f7f7f7 98.3%,#cacaca 100%);
    /*border-right: 2px solid #ccc;*/
}

nav ul li a, nav ul ul b {color:#000;}
nav ul .active>a {color:#0896fe!important;}
nav>ul>li>a>i {color:#057dc7;}
/*body:not(.menu-on-top) nav>ul>li:hover>a {background:linear-gradient(to right,#eee 98.3%,#cacaca 100%)}
	nav>ul>li:hover>a span.menu-item-parent,
	nav>ul>li:hover>a em.fa
		{color:#000;}
nav>ul>li a:active {background:linear-gradient(to right,#ddd 98.3%,#cacaca 100%)!important}
nav>ul li.active>a:before{content:"\f0d9";font-family:FontAwesome;display:block;height:27px;line-height:normal;width:27px;position:absolute;right:-21px;top:9px;font-size:20px;color: #aaa;}
nav>ul>li>ul::before,nav>ul>li>ul>li::before {border-color:#ACACAC}
nav>ul>li:hover>ul::before,nav>ul>li:hover>ul>li::before {border-color:#888!important}
nav ul ul li>a:hover, nav ul ul ul li>a:hover {background-color: rgba(0,0,0,0.1); color:inherit;}*/


/*nav ul li a:active, nav ul li a:active * {background:#DDD!important}*/

/*nav ul ul {background: linear-gradient(to right,#f7f7f7 98.3%,#cacaca 100%)}*/
nav>ul>li>ul {background: rgba(0,0,0,0.07)}
/*nav>ul>li.open>ul:hover {background: rgba(0,0,0,0.17)}*/
nav ul ul li a {color:#000}
nav ul ul ul li a {color:#777}

/*nav ul li.open>a, nav ul li.open>a b {color:red!important;}*/

nav ul li.open > a,
nav ul li.open > a *:not(.fa) {
	color:#000!important;
}
/*	nav ul li.open > a:hover,
	nav ul li.open > a:hover *:not(.fa) {
		color:#FFF!important;
	}
*/
/*nav > ul > li.open > ul > li.open:hover*/
/*nav > ul > li.open > ul > li > a *:hover {
	background: transparent;
}
*/

.fa-plus-square-o:before {
content: "\f107";
}
.fa-minus-square-o:before {
content: "\f106";
}





#left-panel > form {
	width:100%;
	padding:9px 10px;
	background: linear-gradient(to right,#7a7673 95%,#5a5755 100%);
}
#left-panel > form > button {
	top:9px;
	right:7px;
	font-size: 15px;
	height: 24px;
	line-height: 24px;
}
#left-panel > form [name="param"]{
	margin-top: 0;
	height: 24px;
	background: #EEE;
	border-color: #FFF;
}
#ribbon {
	background: #777574;
}
.login-info {
    background: linear-gradient(to right,#3a3633 93%,#2a2725 100%);
    height: 42px;
}
.login-info, aside#left-panel .login-info>span {border: none;}
.login-info.pull-right {
	width:auto;
	background: transparent;
	box-shadow: none;
	margin-top:15px!important;
}
.login-info.pull-right > span {
	border:none;
}
    .login-info.pull-right a span {
        max-width:initial;
        text-transform:none;
    }
.login-info.pull-right a {
	color:#888;
}
.login-info.pull-right a:hover * {
	color:#000;
}

.login-info>span>a {
	margin-top: 6px;
}
	.login-info>span>a img.online {
		width: 30px;
		height: 30px;
		box-sizing:border-box;
		margin-top: 0px;
		border-radius: 3px;
		border: 1px solid #797979!important;
	}
.menu-on-top .login-info {
	display: block;
}













#right-panel {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 904;
	padding-top: 49px;
}
body.menu-on-top #right-panel {
	padding-top: 119px;
}

span.onoffswitch-switch, span.onoffswitch-switch:active {
	border: 1px solid rgba(0,0,0,0.4);
	/*border: none;*/
	/*box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, .5)*/
}


button.switcher {position: absolute; top:10px; left:220px;}

.header-search>input[type=text] {padding-right: 25px}
body.menu-on-top .header-search-side {display:none;}
body:not(.menu-on-top) .header-search-top {display:none;}
.header-search-top {
	float:left;
	margin-right:50px;
}
	.menu-on-top .header-search input[type="text"] {
		margin-top: 9px;
		height:24px;
	}
	.header-search-top button {
		height:24px;
		top:8px;
		line-height: 18px;
	}
	.menu-on-top aside#left-panel {
		/*background: linear-gradient(to bottom, red 5%, black 20%, #eee 98.3%, #cacaca 100%);*/
		/*background: linear-gradient(to bottom, #FFF 49px, red 20%,#eeeeee 98%,blue 100%);*/
		background: linear-gradient(to bottom, #FFF 50px, #EEE 51px, #EEE 117px, #CACACA 118px);
		border-top:none;
	}
	.menu-on-top aside#left-panel nav>ul>li:hover {
		background: linear-gradient(to bottom,#EEE 0,#fff 66%);
	}

		.menu-on-top aside#left-panel nav {
			border-top:1px solid #FFF;
		}
			.menu-on-top aside#left-panel nav>ul>li {
				border-right:1px solid #DDD;
				border-left:1px solid #FFF;
				/*border-top:1px solid #FFF;*/
			}
			.menu-on-top aside#left-panel nav>ul>li:hover>a {
				border-left:none;
				border-right:none;
				padding-left:9px!important;
				padding-right:9px!important;
			}

	.menu-on-top li.active>a {
		font-weight: normal!important;
	}


.onoffswitch-switch {
	right:auto;
	left:0px;
}
	.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
		right:0!important;
		left:auto;
	}

	:not(.menu-on-top) .dropdown-menu {
		right:20px;
	}


/* USER MENU DROP-DOWN ********************************************/
.dropdown-menu {
	border-radius: 2px;
	font-size: 13px;
}
ul.dropdown-menu a#show-shortcut {
	display: none;
}
.dropdown-menu > li > a {
	line-height:2;
	color:#000!important;
}	
	.dropdown-menu > li > a i {
		width:15px;
		color:#000!important;
	}	
.dropdown-menu .divider {
	margin:3px 0px;
}
.login-info a {
	margin-top:0;
}
.dropdown-menu > li > a[data-action="userLogout"] {
	padding:10px 10px;
}
.dropdown-menu > li > a[data-action="userLogout"], .dropdown-menu > li > a[data-action="userLogout"] * {
	color:#C00!important;
}


.login-form {
	color:#000;
}
	.login-form input[type="text"], .login-form input[type="password"]{
		padding:3px 7px;
		height: auto;
		margin-top:7px;
		width:130px;
	}
	.login-form .smart-form .icon-append {
		top:3px;
		right:2px;
		padding-left: 0;
		height:20px;
	}
		.login-form .smart-form .icon-append.fa-user {
			line-height: 20px
		}
	.login-form .smart-form .input .icon-append+input, .login-form .smart-form .textarea .icon-append+textarea {
		padding-right: 30px;
	}


/* LOGIN FORM */
.user-login header {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	/*background: red;*/
}
.user-login footer {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	position: relative;
}

.smart-form .state-error+em, label.input+em, label.select+em {
	display: inline-block;
	margin-top: 0px;
	padding: 0 1px;
	font-style: normal;
	font-size: 11px;
	line-height: 15px;
	color: #D56161;	
}
.login-container {
	float:none;
	margin: 0 auto;
	width:360px;
}
.userform-container {
	float:none;
	margin: 0 auto;
	width:760px;
}
    .userform-container span.binding {
        font-weight:bold;
    }
.note.forgot-password {
	position: absolute;
	left:15px;
	bottom:23px;
}
.smart-form .label {
	margin-bottom: 2px;
}
.user-login fieldset > section {
	margin-bottom: 9px;
}
.user-login #recaptcha_widget {
	margin-top:20px;
}
.user-login input#recaptcha_response_field {
	width:150px;
	margin-top: 10px;
	display: inline-block;
}
.user-login .btn.reload-captcha {
	height: 32px;
	margin: 10px 0px 0 0;
	float:right;
}
.user-login button[type="submit"] {
	position: relative;
}
.user-login .label.error {
	color:red;
	white-space: normal;
}
.user-login .label.success {
	color:#0C0;
	white-space: normal;
}
.user-login footer ul.label li {
    white-space:normal
}

#extr-page #header  {
	overflow: visible;
}
    #extr-page #header #logo {
	    margin:10px 0 0 0;
    }
	    #extr-page #header #logo img {
		    height: 40px;
		    width: auto;
		    padding:4px 0 0 15px;
		    float: left;
	    }
	    #extr-page #header #logo span {
		    font-weight: bold;
		    margin:13px 0 0 10px;
		    font-size: 18px;
		    display: inline-block;
		    float: left;
	    }

.admin-subsystems-selector {
    float:right;
}
    .admin-subsystems-selector label {
        float:right;
        padding-right:20px;
    }
    .admin-subsystems-selector form {
        padding:3px 0 0 0;
    }
    .admin-subsystems-selector .checkbox {
        padding-left:10px;
    }
table.dataTable.table-userlist {
    border:none;
    margin:0!important;
}
    table.dataTable.table-userlist + div.dt-toolbar-footer .spinner {
        padding: 10px
    }
.user-profile .tab-content .tab-pane {
    background:#fff;
    padding:10px;
}
.select2-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
#header #logout {
    margin-top: 11px;
}
#header>div.open {
    font-weight: normal;
}
#dt_basic_info {
    position: relative;
    padding-left:30px;
    top:-2px;
}
.select2-container.state-error a {
    background: #fff0f0;
    border-color: #A90329;
}
.page-footer {
	background: #777574;
    padding-left: 15px;
    /*text-align:center;*/
}

.tabbable .nav-tabs li.active a {
    font-weight: bold;
    border-right-width:0px!important;
    border-left-width:0px!important;
    box-shadow: 0px -1px 0 #FFF, 0 -3px 0 1px #57889c, 1px 0px 0 #57889c, -1px 0px 0 #57889c
}
.nav-tabs > li > a {
    color:#666;
    border-right:1px solid #DDD;
}
.btn-app {
    width:160px;
    height:100px;
    background:rgba(8, 150, 254, 0.5);
    border-radius:10px;
    border:1px solid rgba(8, 150, 254, 0.5);
    border-bottom-width:5px;
    box-shadow: rgba(0,0,0,0.4) 0 8px 15px 0px;
    text-align:center;
    color:#FFF;
    font-weight:bold;
    font-size:25px;
    margin-right:30px;
    display:inline-block;
}
    .btn-app:hover, .btn-app:active, .btn-app:focus {
        text-decoration:none;
        color:#FFF;
        background:rgba(8, 150, 254, 0.67);
    }

    .btn-app:active {
        position:relative;
        top:5px;
        box-shadow: rgba(0,0,0,0.4) 0 2px 5px 0px;
    }
    .btn-app div {
        width:160px;
        height:100px;
        display: table-cell;
        vertical-align:middle;
    }














    /*DEBUG*/

html {
    height:100%;
}
body {
    position: relative;
    /*font-family:"Open Sans";*/
    font-family: Tahoma, Helvetica, sans-serif;
    background-image:none;
    /*padding-right:0!important;*/
}
.smart-form footer .btn {
    font-family: Tahoma, Helvetica, sans-serif;
}
.smart-form .input input, .smart-form .select select, .smart-form .textarea textarea {
    font-family: Tahoma, Helvetica, sans-serif;
}
.modal-header {
    padding-bottom:10px;
}
.modal-title {
    font-weight: bold;
    font-size: 20px;
}

#header > :first-child, aside {
    /*width:245px;*/
    width:300px;
}
#main {
    /*margin-left:245px;*/
    margin-left:300px;
}
body.center #main {
    margin-left:0;
}
.page-footer {
    /*padding-left:265px;*/
    padding-left:320px;
}

.btn {
    border-radius:4px!important;
    box-shadow:none;
}
.btn-group .btn {
    border-radius:0!important;
}
.btn-group .btn:first-of-type {
    border-top-left-radius:4px!important;
    border-bottom-left-radius:4px!important;
}
.btn-group .btn:last-of-type {
    border-top-right-radius:4px!important;
    border-bottom-right-radius:4px!important;
}

.btn.btn-sm {
    height:32px;
}
.btn:active {
    top:0;
    left:0;
}
.btn-primary:not(.force), .btn-primary:not(.force):focus, .btn-primary:not(.force):active {
    background-color:#FFF;
    border-color:#CCC;
    color:rgba(0, 0, 0, 0.7);
}
    .btn-primary:not(.force):hover {
        background:#E7E7E7;
        color:rgba(0, 0, 0, 0.7);
        border-color:#CCC;
    }
.btn-primary-light {
    background-color:#FFF;
    border-color:#CCC;
    color:rgba(0, 0, 0, 0.7);
}
    .btn-primary-light:hover {
        background:#E7E7E7;
    }

.logged-user {
    display: none!important;
}
.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;	
}
.vcenter {
    vertical-align:middle!important;
}
.smart-form .input input, .smart-form .textarea textarea {
    padding: 5px 10px;
}
.select select, select.form-control {
    padding: 5px 20px 5px 10px;
    border-radius:4px!important;
    border-color:#CCC!important;
    height:32px;
}
    .select select option {
        border-color:red!important;
    }
    .select select+i {
        border-top-right-radius:4px;
        border-bottom-right-radius:4px;
        box-shadow:none;
        background:none;
    }

input, textarea, .form-control {
    border-radius:4px!important;
    border-color:#CCC!important;
}

.input-group-addon + input[type="search"] {
    border-bottom-right-radius:4px!important;
    border-top-right-radius:4px!important;
}
    .input-group-addon {
        border-bottom-left-radius:4px!important;
        border-top-left-radius:4px!important;
    }

.smart-form .checkbox input:checked:hover+i:after {
    content: '\f00c';
}
.smart-form label.label.state-disabled, .smart-form label.checkbox.state-disabled {
    opacity: 0.4!important;
}
.btn.disabled {
    opacity: 0.4;
}
.form-control {
    height:32px;
}

@-ms-viewport {
  width: auto;
}


/* fix for Bootstrap 3.2 */
.row {
  margin-right: -13px;
  margin-left: -13px;
}

#logo-group>span {
    margin:0;
}
    #logo-group>#logo img {
        height: 40px;
        width: auto;
        padding:4px 0 0 15px;
        float: left;
    }
    #logo-group>#logo span {
        font-weight: bold;
        margin:13px 0 0 10px;
        font-size: 18px;
        display: inline-block;
        float: left;
    }

aside#left-panel {
/*    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;*/
    background: #2a303d;
    padding-top:0;
    /*background: linear-gradient(to right,#f7f7f7 98.3%,#cacaca 100%);*/

    /*border-right: 2px solid #ccc;*/
}
    aside#left-panel .user {
        height:75px;
        width:100%;
        background-image:url(../img/user_background.png);
        overflow:visible;
    }
        aside#left-panel .user .avatar{
            height:64px;
            width:64px;
            background-image:url(../img/user.png);
            margin:5px 0 0 5px;
            float:left;
        }
    aside#left-panel nav {
        clear:both
    }

nav ul li a, nav ul ul b {
    color:#FFF;
}
nav ul .active>a {
    /*color:#0896fe!important;*/
    color:#6CF!important;
}
nav>ul>li>a>i {
    /*color:#057dc7;*/
    color:#2B9BCD;
}
body:not(.menu-on-top) nav>ul>li:hover>a:not(.btn) {
    /*background:linear-gradient(to right,#eee 98.3%,#cacaca 100%)*/
    background:#4c5260;
}
    /*nav>ul>li:hover>a span.menu-item-parent,
    nav>ul>li:hover>a em.fa
        {color:#000;}*/
/*nav>ul>li a:active {background:linear-gradient(to right,#ddd 98.3%,#cacaca 100%)!important}*/
nav>ul>li a:active {background:#6e7483!important}
nav>ul li.active>a:before{content:"\f0d9";font-family:FontAwesome;display:block;height:27px;line-height:normal;width:27px;position:absolute;right:-21px;top:9px;font-size:20px;color: #aaa;}
nav>ul>li>ul::before,nav>ul>li>ul>li::before {border-color:#ACACAC}
nav>ul>li:hover>ul::before,nav>ul>li:hover>ul>li::before {border-color:#888!important}
nav ul ul li>a:hover, nav ul ul ul li>a:hover {background-color: rgba(0,0,0,0.1); color:inherit;}


/*nav ul li a:active, nav ul li a:active * {background:#DDD!important}*/

/*nav ul ul {background: linear-gradient(to right,#f7f7f7 98.3%,#cacaca 100%)}*/
nav>ul>li>ul {background: rgba(0,0,0,0.07)}
/*nav>ul>li.open>ul:hover {background: rgba(0,0,0,0.17)}*/
nav ul ul li a {color:#000}
nav ul ul ul li a {color:#777}

/*nav ul li.open>a, nav ul li.open>a b {color:red!important;}*/

nav ul li.open > a,
nav ul li.open > a *:not(.fa) {
    color:#000!important;
}
/*	nav ul li.open > a:hover,
    nav ul li.open > a:hover *:not(.fa) {
        color:#FFF!important;
    }
*/
/*nav > ul > li.open > ul > li.open:hover*/
/*nav > ul > li.open > ul > li > a *:hover {
    background: transparent;
}
*/

.fa-plus-square-o:before {
content: "\f107";
}
.fa-minus-square-o:before {
content: "\f106";
}





#left-panel > form {
    width:100%;
    padding:9px 10px;
    background: linear-gradient(to right,#7a7673 95%,#5a5755 100%);
}
#left-panel > form > button {
    top:9px;
    right:7px;
    font-size: 15px;
    height: 24px;
    line-height: 24px;
}
#left-panel > form [name="param"]{
    margin-top: 0;
    height: 24px;
    background: #EEE;
    border-color: #FFF;
}
#ribbon {
    background: #f8f8f8;
    border-bottom:1px solid #DDD;
}
    #ribbon .breadcrumb, #ribbon .breadcrumb a {
        color:#333!important;
    }
    #ribbon .breadcrumb li:last-child, #ribbon .breadcrumb > .active {
        color:#777;
    }
.login-info {
    background: linear-gradient(to right,#3a3633 93%,#2a2725 100%);
    height: 42px;
}
.login-info a {
    margin-top:0;
}
.login-info, aside#left-panel .login-info>span {
    border: none;
}
.login-info {
    width:auto;
    background: transparent;
    box-shadow: none;
    margin-top:4px!important;
}
.smart-form .input input, .smart-form .select select {
    height:34px;
}
.smart-form .select select + i {
    top:11px;
}
.login-info > span {
    border:none;
    height:auto;
}
    .login-info a span {
        max-width:initial;
        text-transform:none;
        font-size:17px;
    }
.login-info a {
    color:#FFF;
}
.login-info a:hover span {
    text-decoration:underline;
}

.login-info>span>a {
    margin-top: 6px;
}
    .login-info>span>a img.online {
        width: 30px;
        height: 30px;
        box-sizing:border-box;
        margin-top: 0px;
        border-radius: 3px;
        border: 1px solid #797979!important;
    }
.menu-on-top .login-info {
    display: block;
}












body.right-panel #main {
    margin-right: 250px;
}
body.right-panel div#right-panel {
    display: block;
}
#right-panel {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 904;
    padding-top: 49px;
    width:250px;
    background: blue;
    transition: all 250ms cubic-bezier(0.1, 0.57, 0.1, 1) 0s;
}
body.menu-on-top #right-panel {
    padding-top: 119px;
}

span.onoffswitch-switch, span.onoffswitch-switch:active {
    border: 1px solid rgba(0,0,0,0.4);
    /*border: none;*/
    /*box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, .5)*/
}


button.switcher {position: absolute; top:10px; left:220px;}

.header-search>input[type=text] {padding-right: 25px}
body.menu-on-top .header-search-side {display:none;}
body:not(.menu-on-top) .header-search-top {display:none;}
.header-search-top {
    float:left;
    margin-right:50px;
}
    .menu-on-top .header-search input[type="text"] {
        margin-top: 9px;
        height:24px;
    }
    .header-search-top button {
        height:24px;
        top:8px;
        line-height: 18px;
    }
    .menu-on-top aside#left-panel {
        /*background: linear-gradient(to bottom, red 5%, black 20%, #eee 98.3%, #cacaca 100%);*/
        /*background: linear-gradient(to bottom, #FFF 49px, red 20%,#eeeeee 98%,blue 100%);*/
        background: linear-gradient(to bottom, #FFF 50px, #EEE 51px, #EEE 117px, #CACACA 118px);
        border-top:none;
    }
    .menu-on-top aside#left-panel nav>ul>li:hover {
        background: linear-gradient(to bottom,#EEE 0,#fff 66%);
    }

        .menu-on-top aside#left-panel nav {
            border-top:1px solid #FFF;
        }
            .menu-on-top aside#left-panel nav>ul>li {
                border-right:1px solid #DDD;
                border-left:1px solid #FFF;
                /*border-top:1px solid #FFF;*/
            }
            .menu-on-top aside#left-panel nav>ul>li:hover>a {
                border-left:none;
                border-right:none;
                padding-left:9px!important;
                padding-right:9px!important;
            }

    .menu-on-top li.active>a {
        font-weight: normal!important;
    }


.onoffswitch-switch {
    right:auto;
    left:0px;
}
    .onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
        right:0!important;
        left:auto;
    }



/* USER MENU DROP-DOWN ********************************************/
:not(.menu-on-top) .dropdown-menu {
    right:20px;
}
.dropdown-menu {
    border-radius: 2px;
    font-size: 13px;
}
ul.dropdown-menu a#show-shortcut {
    display: none;
}
.dropdown-menu > li > a {
    line-height:2;
    color:#555!important;
}	
    .dropdown-menu > li > a i {
        width:15px;
        color:#000!important;
    }	
.dropdown-menu .divider {
    margin:3px 0px;
}
.dropdown-menu > li > a[data-action="user-logout"] {
    /*padding:10px 10px;*/
}
.dropdown-menu > li > a[data-action="user-logout"], .dropdown-menu > li > a[data-action="user-logout"] * {
    color:#D00!important;
    zhopa: 5px;
}


.login-form {
    color:#000;
}
    .login-form input[type="text"], .login-form input[type="password"]{
        padding:3px 7px;
        height: auto;
        margin-top:7px;
        width:130px;
    }
    .login-form .smart-form .icon-append {
        top:3px;
        right:2px;
        padding-left: 0;
        height:20px;
    }
        .login-form .smart-form .icon-append.fa-user {
            line-height: 20px
        }
    .login-form .smart-form .input .icon-append+input, .login-form .smart-form .textarea .icon-append+textarea {
        padding-right: 30px;
    }


/* LOGIN FORM */
.user-login header {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    /*background: red;*/
}
.user-login footer {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    position: relative;
}

.user-login label.input+em {
    display: inline-block;
    margin-top: 0px;
    padding: 0 1px;
    font-style: normal;
    font-size: 11px;
    line-height: 15px;
    color: #D56161;	
}
.login-container {
    float:none;
    margin: 0 auto;
    width:360px;
}
.note.forgot-password {
    position: absolute;
    left:15px;
    bottom:23px;
}
.smart-form .label {
    margin-bottom: 2px;
}
.user-login fieldset > section {
    margin-bottom: 9px;
}
.user-login #recaptcha_widget {
    margin-top:20px;
}
.user-login input#recaptcha_response_field {
    width:150px;
    margin-top: 10px;
    display: inline-block;
}
.user-login .btn.reload-captcha {
    height: 32px;
    margin: 10px 0px 0 0;
    float:right;
}
.user-login button[type="submit"] {
    position: relative;
}
.user-login .label.error {
    color:red;
    white-space: normal;
}

@media only screen and (max-width: 679px) and (min-width: 0) {
    #ribbon .breadcrumb li:last-child, #ribbon .breadcrumb>.active {
        color: #E4E4E4!important;
}
    #ribbon .breadcrumb, #ribbon .breadcrumb a {
        color: #BBB!important;
    }
}

div#hide-menu {
    display: none;
}
@media (max-width: 979px) {
    #right-panel {
        width:0;
    }
    div#content {
        padding:0;
    }
    div#hide-menu {
        display: inline-block;
    }
}

@media (max-width: 979px) {
    #left-panel {
        left: 0;
    }
    #main {
        width:auto!important
    }
}

.btn-header>:first-child>button {
    margin:14px 0 0;
}
div.dataTables_filter input {
    width: 15em;
}

.page-footer {
    background: #777574;
    padding-top:0;
    padding-right:0;
    display: table;
    /*overflow: hidden;*/
}
    .page-footer span {
        vertical-align:middle;
        display: table-cell;
        color: #E4E4E4 !important;
        font-size: 13px;
    }
    .page-footer span.link {
        width:1px;
        white-space: nowrap;
        padding-right: 20px
    }
    .page-footer span.link a {
        color: #90CFFE!important;
    }
    

.ibox {
  margin:20px 0px 0px 15px;
  padding: 0;
  background: #FFF;
        float: left;
  width:400px;
}
.ibox:after,
.ibox:before {
  display: table;
}
.ibox-title {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #ffffff;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 4px 0px 0;
  color: inherit;
  margin-bottom: 0;
  padding: 8px 10px 0px;
  height: 35px;
}
.ibox-content {
  background-color: #ffffff;
  color: inherit;
  padding: 7px 10px 10px 10px;
  border-color: #e7eaec;
  border-image: none;
  border-style: solid solid none;
  border-width: 1px 0px;
}

.ibox-title h5 {
    display: inline-block;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
}
.ibox-heading {
  background-color: #f3f6fb;
  border-bottom: none;
}
.ibox-heading h3 {
  font-weight: 200;
  font-size: 24px;
}
.ibox-title h5 {
  display: inline-block;
  font-size: 14px;
  margin: 0 0 7px;
  padding: 0;
  text-overflow: ellipsis;
  float: left;
}
.ibox-title .label {
  float: left;
  margin-left: 4px;
}
.ibox-tools {
  display: inline-block;
        float:right;
  margin-top: 0;
  position: relative;
  padding: 0;
    }
.ibox-tools a {
  cursor: pointer;
  margin-left: 5px;
  color: #c4c4c4;
    }
.ibox-tools a.btn-primary {
  color: #fff;
    }
.ibox-tools .dropdown-menu > li > a {
  padding: 4px 10px;
  font-size: 12px;
}

/*.ibox-content h1,
.ibox-content h2,
.ibox-content h3,
.ibox-content h4,
.ibox-content h5,
.ibox-title h1,
.ibox-title h2,
.ibox-title h3,
.ibox-title h4,
.ibox-title h5 {
  margin-top: 5px;
}*/
.no-margins {
    margin:0!important;
}
.ibox-content h1 {
    font-size: 30px;
    font-weight: bold;
    display:inline-block;
}
.ibox-content .units {
    color:#EEE;
}

.ibox-budget .ibox-content {
    padding-top: 12px;
    padding-bottom: 10px;
}

.ibox-budget,
.ibox-budget .ibox-content,
.ibox-budget .ibox-title {
    color:#FFF;
    background:#5D9CEC;
    border:none;
}
.ibox-budget .ibox-title {
    background:#2F80E7;
}

.ibox-total,
.ibox-total .ibox-content,
.ibox-total .ibox-title {
    color:#FFF;
    background:#37BC9B;
    border:none;
}
.ibox-total .ibox-title {
    background:#2B957A;
}

.ibox-amount,
.ibox-amount .ibox-content,
.ibox-amount .ibox-title {
    color:#FFF;
    background:#FF902B;
    border:none;
}
.ibox-amount .ibox-title {
    background:#F77600;
}

.tabbable .nav>li>a {
    padding:10px 40px;
}
.tabbable .table-bordered, .tabbable .table-bordered th:first-child {
    border-left:none;
    border-right:none;
}
.tabbable table {
    margin-top: -1px;
    margin-bottom: 0;
    border-bottom: none;

}
.tabbable li.active {
    border-bottom:1px solid #ddd;
}
    .tabbable .nav-tabs li.active a {
        font-weight: bold;
        border-right-width:0px!important;
        border-left-width:0px!important;
        box-shadow: 0px -1px 0 #FFF, 0 -3px 0 1px #57889c, 1px 0px 0 #57889c, -1px 0px 0 #57889c
    }


.tabbable ul.nav {
    background: #F7F7F7;
}
/*.tabbable ul.nav li:hover a{
    background: #ccc;
    }
*/
thead th {
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fafafa), color-stop(100%, #f2f2f2));
    background-image: -webkit-linear-gradient(top, #fafafa, #f2f2f2);
    background-image: -moz-linear-gradient(top, #fafafa, #f2f2f2);
    background-image: -o-linear-gradient(top, #fafafa, #f2f2f2);
    background-image: linear-gradient(top, #fafafa,#f2f2f2);
    color: rgb(102, 102, 102);
    font-size: 12px;
    padding: 8px;
    text-align: left;
    text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;
    vertical-align: middle !important;
}

table tr td {
    vertical-align: middle !important;
    font-size: 14px;
}
div.table-toolbar-footer, div.dt-toolbar-footer {
    text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;
}
div.table-toolbar-footer {
    font-size: 14px;
    color: rgb(102, 102, 102);

    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fafafa), color-stop(100%, #f2f2f2));
    background-image: -webkit-linear-gradient(top, #fafafa, #f2f2f2);
    background-image: -moz-linear-gradient(top, #fafafa, #f2f2f2);
    background-image: -o-linear-gradient(top, #fafafa, #f2f2f2);
    background-image: linear-gradient(top, #fafafa,#f2f2f2);
    border-top: 1px solid #ddd;
    padding-left: 15px;
    padding-right: 15px;

    height: 55px;
    line-height: 53px;

    text-shadow: rgb(255, 255, 255) 0px 1px 0px;
}
.table>tbody>tr.footer>td {
    padding: 0;
}
.table>thead>tr.header>th {
    padding: 0;
}
    .table div.table-toolbar-footer {
        border-top: none;
    }
    body.main .alert {
        margin-top: 20px;
    }
    body.main .alert-success {
        border-color: rgba(93, 156, 236, 0.5);
        /*color: rgba(93, 156, 236, 1);*/
        color: #3b69a1;
        background: rgba(93, 156, 236, 0.15);
    }
    body.main .alert-header {
        padding: 3px 10px 5px;
        margin-bottom:6px;
        border-color: rgba(0, 0, 0, 0.1);
        color: rgba(0, 0, 0, 0.5);
        background: rgba(0, 0, 0, 0.05);
    }
        body.main .alert-header h5 {
            margin:0;
            font-size: 16px;
            font-weight: bold;
        }
td.child {
    padding-left:40px!important;
}
.table-form {
    font-size:12px;
    border-right:1px solid #ddd!important;
}
    .table-form .btn {
        font-size:inherit;
    }
    /*.table-form .static .btn {
        font-size:12px;
    }*/
    table th {
        padding:5px!important;
        font-size:13.33333px;
        font-weight:bold;
        font-family:Tahoma, Helvetica, sans-serif;
        /*padding:2px 3px!important;*/
        /*background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fafafa), color-stop(100%, #E2E2E2));
        background-image: -webkit-linear-gradient(top, #fafafa, #E2E2E2);
        background-image: -moz-linear-gradient(top, #fafafa, #E2E2E2);
        background-image: -o-linear-gradient(top, #fafafa, #E2E2E2);
        background-image: linear-gradient(top, #fafafa,#E2E2E2);
        color: rgb(102, 102, 102);
        text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px;*/

        background-image: -webkit-gradient(linear, left top, left bottom, from(#586169), to(#434b54));
        background-image: -webkit-linear-gradient(top, #586169, #434b54);
        background-image: -moz-linear-gradient(top, #586169, #434b54);
        background-image: -o-linear-gradient(top, #586169, #434b54);
        background-image: linear-gradient(top, #586169, #434b54);

        color: #FFF;
        text-shadow: rgba(0, 0, 0, 0.498039) 0px 1px 0px;
    }
    table.dataTable thead th.sorting, table.dataTable thead th.sorting_desc, table.dataTable thead th.sorting_asc {
        background-color:#4C545D;
        color: #FFF;
        text-shadow: rgba(0, 0, 0, 0.498039) 0px 1px 0px;
    }
    table.table-bordered.dataTable {
        border-top:none;
        margin-bottom:-1px!important;
    }
    table.dataTable thead .sorting_desc {
        background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATAQMAAABInqSPAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAABxJREFUCNdjIATY/zAwMP9gYGD8AOQ8AGIHnEoBkNkEEEbbutQAAAAASUVORK5CYII=)
    }
    table.dataTable thead .sorting_asc {
        background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATAQMAAABInqSPAAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAAB1JREFUCNdjwAkcgPgBAwPjBwYG5h8MDOx/GAgBAKRJBBCQbHkwAAAAAElFTkSuQmCC)
    }



    .table-form td {
        padding:2px 3px!important;
        background:#FFF;
        font-size:14px;
    }
    .table-form td.static {
        background:#EEE;
        overflow:hidden;
        text-overflow:ellipsis;
    }
        #pane1 .table-form td.static:first-child {
            font-size:12px;
            color:#555;
        }
    .table-form .subitem {
        padding-left:20px!important;
    }

    .table-form .input {
        padding:0!important;
        vertical-align:middle;
        display: table-cell;
    }
        .table-form .input.active {
            background:#DEF;
        }
        .table-form .input.error, .table-form .input.active.error, .table-form .text-nowrap.error {
            background:#FAA;
        }
        .table-form .input div {
            position:relative;
        }
        .table-form .input input, .table-form .input textarea {
            border:none;
            padding:0px 2px!important;
            display: block;
            /*height: auto;*/
            /*position:absolute;
            padding-right:0px;
            top:0px;
            left:3px;*/
            background:transparent;
            width:inherit;
            height:inherit;
            resize:none;
            /*overflow-y:scroll;*/
        }
        .table-form .input textarea {
            font-size:10px;
        }
table.table-bordered.table-form td:last-child, table.table-bordered.table-form th:last-child {
    /*border-right-width: 1px;*/
}
.nav-tabs > li > a {
    color:#666;
    border-right:1px solid #DDD;
}
.nav-tabs > li.active > a {
    font-weight:normal;
}
.smart-form .btn.btn-md {
    padding: 6px 12px;
}
.smart-form td.input {
    position: static;
}
.smart-form .table-form .input input, .smart-form .table-form .textarea textarea {
    padding: 0;
}

.smart-form section.horizontal label {
    display: inline-block;
    vertical-align:top;
}
.smart-form section.horizontal label.label {
    margin-top:7px;
    text-align:right
}
    .smart-form section.horizontal label.label+label.label {
        text-align:left;
        white-space:normal;
        width:500px;
    }
    /*.smart-form section.horizontal label.checkbox {
        margin-top:2px;
    }*/
.smart-form section.horizontal label.label + label{
    width:220px;
}
.smart-form .input-file .button {
    top:5px;
    right:5px;
}
/*div.button+input[type="text"] {
    display: inline-block;
}*/
label.input-file+label a {
    border:1px solid #aaa;
    border-radius:18px;
    padding-right:5px;
    width:15px;
    height:19px;
    display: inline-block;
    cursor:pointer;

}
table.budget-files tr td, table.budget-files tr th {
    font-size:13px;
    border:1px solid #BBB;
    color:#FFF;
}
    table.budget-files tr td {
        background: #FFF;
    }
    #docsModal table.table-form.table-bordered.budget-files tbody th:first-child, #docsModal table.table-form.table-bordered.budget-files tbody td:first-child {
        border:1px solid #BBB;
    }

table.budget-files.table-bordered tr th:first-child {
    border-left:1px solid #BBB;
}
table.budget-files tr>*:last-child {
    border-right:1px solid #BBB;
}
table.budget-files a.remove-file {
    cursor:pointer;
}
table.table-form.table-bordered tbody th, table.table-form.table-bordered tbody td {
    border-left-width:1px;
}
table.table-form.table-bordered tbody th:first-child, table.table-form.table-bordered tbody td:first-child {
    border-left-width:0px;
}
td.activity-name div {
    height:50px;
    overflow-y:hidden;
    text-overflow:ellipsis;
    position: relative;
}

td.activity-name div:after {
  position: absolute;
  bottom: 0;  
  left:0;
  height: 100%;
  width: 100%;
  content: "";
  background: linear-gradient(to top,
     rgba(238,238,238, 1) -20%, 
     rgba(238,238,238, 0) 80%
  );
  pointer-events: none; /* so the text is still selectable */
}
.popover-budget {
    /*background:#DDD;*/
}
.popover-budget .popover-content {
    font-size:12px;
    padding:3px 5px;
}
.modal-body.selector tr:first-child td {
    border-top:none;
}
/*.modal-body.selector td {
    font-size:12px;
}*/

label.label:not(.plain) {
    text-align:left;
    font-style:italic;
    color:#093272!important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#docsModal label.error, #principalModal label.error {
    color:#F00;
    font-size: 12px;
}
#docsModal input.error, #principalModal input.error {
    border-color:#F00;
}

#docsModal table td.author div, #docsModal table td.filename div {
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    padding-left:3px!important;
    padding-right:3px!important;
}

#principalModal label.input, #docsModal label.textarea, #docsModal label.select {
    width:650px;
}
#principalModal label.input, #docsModal label.checkbox {
    width:350px;
}
#dataModal .table-condensed.table>tbody>tr>td.principal-edit {
    padding:4px 3px 4px 4px!important;
}

#cover{
    position:fixed;
    top:0;
    left:0;
    background:rgba(48,113,169,0.6);
    z-index:1060;
    width:100%;
    height:100%;
    display:none;
    color:#FFF;
    text-align:center;
    font-size:40px;
    padding-top:100px;
}
#docs table tr[data-id], .static-table tr[data-id] {
    cursor:pointer;
}
#docs table tr[data-id]:hover td, .static-table tr[data-id]:hover td {
    background:rgba(48,113,169,0.1);
}
table.static-cells tr[data-id]:hover td {
    background:transparent!important;
    cursor: default;
}

.smart-form.horizontal label {
    display:inline-block;
}
    .smart-form.horizontal label.label {
        margin:7px 8px 0 0;
        width:120px;
        color:#555;
    }
    .smart-form.horizontal[name="reportForm"] label.label, .smart-form.horizontal[name="programForm"] label.label {
        margin:7px 8px 0 0;
        width:180px;
        color:#555;
    }
    .smart-form.horizontal[name="reportForm"] section, .smart-form.horizontal[name="programForm"] section {
        margin-bottom:7px;
    }
legend {
    color:#555;
}
.bold {
    font-weight: bold!important;
}
.floatThead-table {
    margin-top:-2px!important;
}
.font-12  {
    font-size:12px!important;
}
.font-13  {
    font-size:13px!important;
}
.font-14  {
    font-size:14px!important;
}
select + i {
    pointer-events:none;
}
.ui-datepicker {
    z-index:1002!important;
}
div.rel {
    position: relative;
    overflow:hidden;
}
table.table-programs .status {
    min-width:55px
}
.select2-container a {
    border-radius:4px;
}
.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background:-moz-linear-gradient(top,rgba(252,250,241,0.8),
        rgba(222,208,133,0.8)) repeat scroll 0 0 transparent;
    background:-webkit-linear-gradient(top,rgba(252,250,241,0.8),
        rgba(222,208,133,0.8)) repeat scroll 0 0 transparent;
    background:linear-gradient(top,rgba(252,250,241,0.8),
        rgba(222,208,133,0.8)) repeat scroll 0 0 transparent;

}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color:#f5fbf7;
}
table.table:not(.table-form) td {
    font-size:13px;
}
div.dataTables_info {
    font-style:normal;
    font-weight:normal;
}
.userlist-wrapper #dt_basic_filter > label > input {
    border-top-left-radius:0px!important;
    border-bottom-left-radius:0px!important
}