html *{
    box-sizing: border-box;
    position: relative;
}

body {
    /*background: rgb(38, 76, 111);*/
    /*ackground-color: #132638;*/
    background: linear-gradient(to bottom, #132638, #364C6F);

    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;

    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    padding-top: 50px;
}

a {
    cursor: pointer;
}

/* hi firefox */
a, a:visited, a:focus, a:active, a:hover {
    outline: 0 none !important;
}

h1, h2, h3 {
    margin-top: .65em;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 21px;
}

h3 {
    font-size: 18px;
}

h5 {
    font-size: 85%;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 0.25em;
    margin: 0.1em 0 0.15em;
}

h1, h2, h3, h4, ul, p {
    margin-bottom: .5em;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, ul:last-child, p:last-child {
    margin-bottom: 0;
}

/* HEADER BEGIN */
.navbar-sharp {
    background-color: #0A131C;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));*/
    background: linear-gradient(to bottom, rgb(10, 19, 28), rgb(17, 32, 47));
    /*background-color: rgb(0, 45, 86);*/
    border: none;
    border-radius: 0px;
    margin-bottom: 0px;
}

.navbar-sharp a {
    color: #fff;
}

.navbar-sharp .nav > li > a:hover,
.navbar-sharp .nav > li > a:focus {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.2);
}

.navbar-sharp .navbar-toggle .icon-bar {
    background-color: #fff;
}

.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    background-color: #000;
    border-color: #337ab7;
}


.navbar-header img {
    float: left;
    margin-right: 15px;
    width: auto;
    height: 48px;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    height: 48px;
    line-height: 24px;
    padding-bottom: 12px;
    padding-top: 12px;
}
/* HEADER END */

/* TOOLBAR BEGIN */
#cvut-toolbar {
    padding-bottom: 1em;
    text-align: center;
    z-index: 0;
}

#cvut-toolbar>.container>.list-inline>li {
    padding-left: 1em;
    padding-right: 1em;
}

#cvut-toolbar a {
    color: #fff;
    opacity: 0.75;
}

#cvut-toolbar a.active,
#cvut-toolbar a:hover,
#cvut-toolbar a:active {
    opacity: 1.0;
    text-decoration: none;
}
/* TOOLBAR END */

/* CONTENT BEGIN */
.fullwidth-container {
    padding: 0;
    width: 100%;
}

.content-sheet {
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 2.5em;
}

.project-sheet .tab-pane {
    padding: 2em;
}

/* CONTENT SHEET HEADER BEGIN */
.content-sheet>.header {
    /* overhang to prevent blending artifacts with anti-aliased corners */
    margin-top: -5px;

    margin-bottom: 1.5em;
    margin-left: -15px;
    margin-right: -15px;
}

.content-sheet>.header header {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    background-color: rgb(0, 103, 167);
    border-top: 1px solid rgb(20, 123, 187);
    border-bottom: 1px solid rgb(0, 83, 147);
    color: #fff;

    height: 45px;
    padding: 10px 15px 10px;
}

.content-sheet>.header header h1 {
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 0px;
    margin-top: 0px;
    text-transform: none;

    /* fade overflow */
    overflow-x: hidden;
    white-space: nowrap;
    width: 100%;
}

.content-sheet>.header header h1 .glyphicon {
    font-size: 70%;
}

.content-sheet>.header header .help-link {
    color: #fff;
    float: right;
    font-size: 28px;
    height: 32px;
    margin-left: 10px;
    opacity: 0.75;
    position: relative;
    top: -8px;
}

.content-sheet>.header header .help-link:active {
    opacity: 1.0;
}

.content-sheet>.header header .pull-right {
    position: absolute;
    right: 1em;
    top: 0.5em;
}

.content-sheet>.header header .pull-right>.fader {
    background-image: url("../images/header-fade.png");
    float: left;
    width: 38px;
    height: 32px;
}

.content-sheet>.header header .pull-right>.contents {
    background-color: rgb(0, 103, 167);
    float: left;
}

.content-sheet>.header header .tools {
    display: inline-block;
    font-size: 1.2em;
    margin-left: 0.2em;
    top: 0.2em;
}

.content-sheet>.header header .tools>.btn {
    top: -0.4em;
    padding: 2px 10px 2px;
}

.content-sheet>.header header .label-fullsize {
    top: 5px;
}

.content-sheet>.header nav {
    background-color: rgb(0, 84, 140);
    background: linear-gradient(rgb(0, 84, 140), rgb(0, 103, 167));
    color: #fff;

    padding: 0.6em 1em 0.4em;
}

.content-sheet>.header nav, .force-nav-style {
    font-size: 12px;
    text-transform: uppercase;
}

.content-sheet>.header nav ul {
    display: inline-block;
    margin-bottom: 0;
}

.content-sheet>.header nav ul:not(:first-child) {
    float: right;
}

.content-sheet>.header nav li {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.content-sheet>.header nav a {
    color: #fff;
    opacity: 0.85;
    font-weight: bold;
}

.content-sheet>.header nav a:hover,
.content-sheet>.header nav a:active {
    opacity: 1.0;
    text-decoration: none;
}
/* CONTENT SHEET HEADER END */

/* CONTENT SHEET FOOTER BEGIN */
.content-sheet-footer {
    margin-top: 15px;
    margin-left: -15px;
    margin-right: -15px;
}

.tab-pane>.content-sheet-footer {
    margin-left: -41px;
    margin-right: -41px;
    margin-top: 0px
}

.content-sheet-footer footer {
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    background-color: rgb(248, 248, 248);
    border-top: 1px solid rgb(228, 228, 228);
    color: #000;

    height: 50px;
    padding: 8px 15px 0px;
}

.content-sheet-footer footer h1 {
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 0px;
    margin-top: 0px;
    text-transform: none;

    /* fade overflow */
    overflow-x: hidden;
    white-space: nowrap;
    width: 100%;
}

.content-sheet-footer footer h4 {
    color: #666;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 0px;
    margin-top: 8px;
    text-transform: none;

    /* fade overflow */
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.content-sheet-footer footer h1 .glyphicon {
    font-size: 70%;
}

/* CONTENT SHEET FOOTER END */

.container .expand-background {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.tab-content .expand-background {
    margin-left: calc(-15px - 2em);
    margin-right: calc(-15px - 2em);
    padding-left: calc(15px + 2em);
    padding-right: calc(15px + 2em);
    padding-top: 8px;
    padding-bottom: 8px;
}
/* CONTENT END */

/* FOOTER BEGIN */
#cvut-footer {
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    margin: 1em 0em;
    overflow: hidden;
    white-space: nowrap;
}

#cvut-footer a,
#cvut-footer a:active {
    color: #fff;
    text-decoration: none;
}

#cvut-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

#cvut-footer .cvut-copyright {
    float: left;
}

#cvut-footer .cvut-service-nav {
    float: right;
    text-align: right;
}

#cvut-footer .cvut-service-nav a {
    border-left: 1px solid rgb(200, 200, 200);
    padding: 0 .5em;
}

#cvut-footer .cvut-service-nav a:first-child {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
}
/* FOOTER END */

/* POPOVER HELP BEGIN */
a.help {
    font-size: 14px;

    background: none;
    border: 2px solid #aaa;
    color: #444;

    position: relative;
    top: 6px;

    border-radius: 0.7em;
    display: inline-block;
    float: right;
    font-weight: bold;
    margin-right: 1em;
    outline: 0;
    outline-style: none;
    padding: 0px;
    height: 18px;
    width: 18px;
    line-height: 14px;
    text-align: center;
    text-decoration: none;
}

a.help:before {
    content: "?";
}

a.help:focus {
    border-color: #666;
    color: #444;
    text-decoration: none;
}

.control-label a.help {
    margin-right: 0px;
    top: 0px;
}
/* POPOVER HELP END */

@media (max-width: 767px) {
    #cvut-footer, #cvut-footer .cvut-service-nav {
        text-align: center;
    }

    #cvut-footer .cvut-copyright, #cvut-footer .cvut-service-nav {
        display: block;
        float: none;
    }
}

@media (max-width: 991px) {
    #affix-nav {
        display: none;
    }
}

@media (max-width: 1199px) {
}

.border-color-default {
    border-color: #777;
}
.border-color-primary {
    border-color: #428bca;
}
.border-color-success {
    border-color: #5cb85c;
}
.border-color-info {
    border-color: #5bc0de;
}
.border-color-warning {
    border-color: #f0ad4e;
}
.border-color-danger {
    border-color: #d9534f;
}

/* BOOTSTRAP OVERRIDES BEGIN */

label {
    font-weight: normal;
}

.entity .radio {
    margin-top: 0px;
    margin-bottom: 0px;
}

.btn {
    font-size: 13px;
    padding: 3px 9px;
}

.btn-lg, .btn-group-lg>.btn {
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.33;
    border-radius: 3px;
}

.btn-sm, .btn-group-sm>.btn, .small .btn.btn-sm {
    padding: 2px 8px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 2px;
}

.btn-xs, .btn-group-sm>.btn, .small .btn {
    border-radius: 2px;
    font-size: 13px;
    height: 24px;
    line-height: 1.5;
    padding: 2px 8px 1px;
}

.btn .glyphicon {
    position: relative;
    top: 2px;
}

.bootstrap-select>.btn {
    font-size: 13px;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.bootstrap-select.form-control {
    background: none;
}

.btn-condensed {
    font-size: 14px;
    height: 26px;
    padding: 0px 8px;
}

.btn-condensed .glyphicon {
    font-size: 13px;
}

.dropdown-menu {
    font-size: 13px;
}

.form-control {
    font-size: 13px;
    height: 26px;
    padding: 4px 6px;
}

.help-block {
    font-size: 12px;
}

.form-group {
    margin-bottom: 7px;
}

.form-group.required.red .control-label:first-of-type:after {
    content: "*";
    color: #f00;
}

.form-group.required.red.short-line .control-label:first-of-type:after {
    content: "*";
    color: #f00;
    display: inline;
    white-space: nowrap;
    margin-left: -5px;
}

.form-group.required.blue .control-label:first-of-type:after {
    content: "*";
    color: blue;
}

.form-group.required.blue.short-line .control-label:first-of-type:after {
    content: "*";
    color: blue;
    display: inline;
    white-space: nowrap;
    margin-left: -5px;
}

.form-group.small {
    margin-bottom: 5px;
}

.has-error .bootstrap-select>.btn {
    border-color: #a94442;
}

.has-success .bootstrap-select>.btn {
    border-color: #3c763d;
}

.input-group.equal-width-input-group {
    width: 100%;
}

.input-group-addon {
    height: 26px;
    padding: 0.2em 0.75em;
}

.input-hint-icon {
    opacity: 0.3;
}

ul.list-inline>li>a:hover {
    text-decoration: none;
}

.form-horizontal .control-label {
    text-align: left;
}

.label {
    font-size: 95%;
}

.label-fullsize {
    font-size: 100%;
}

.modal>.modal-dialog>.modal-content>.modal-footer .btn {
    min-width: 120px;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    color: #fff;
}

.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    background-color: rgb(228, 228, 228);
}

.pagination>li>a, .pagination>li>span {
    font-size: 15px;
    padding: 5px 11px;
    background: none;
    border: none;
    border-radius: 15px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-radius: 15px;
}

.panel-body-disabled {
    background-color: #eee;
}

.panel-heading {
    padding: 0.7em 1em;
}

hr.list-separator {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

.popover {
    max-width: 400px;
    z-index: 1060;
}

.progress {
    box-shadow: none;
    background: linear-gradient(to bottom, #e0e0e0, #f0f0f0);
}

.progress-bar {
    box-shadow: none;
}

.progress-bar-info {
    background: linear-gradient(to bottom, #5bc0de, #4bb0ce);
}

.small .control-label {
    font-size: 12px;
    padding-top: 2px;
}

.small .form-control:not(.bootstrap-select) {
    font-size: 12px;
    height: 24px;
    padding: 0.1em 0.5em;
}

.small .form-control.bootstrap-select {
    height: 24px;
}

.small .form-control-feedback {
    line-height: 24px;
}

.small .input-group-addon {
    font-size: 12px;
    height: 24px;
    padding: 0.1em 0.5em;
}

.table-overview td:first-child {
    font-weight: bold;
    width: 25%;
}

.table-overview tr:first-child td {
    border-top: none;
}

.tools {
    height: auto;
}

/*.watermark {
    display: table;
    position: absolute;
    opacity: 0.2;
    right: 0.5em;
    bottom: 0.5em;
    vertical-align: middle;
}

.watermark-middle {
    top: 50%;
    margin-top: -0.5em;
}

.watermark-bottom {
    bottom: 0.5em;
}

.watermark .glyphicon {
    display: table-cell;
}*/

.nav-tabs>li {
    font-size: 12px;
}

.nav-tabs>li.active {
    font-weight: bold;
}

.nav-tabs>li>a,
.nav-tabs>li>.not-a-tab {
    display: block;
    padding: 0.3em 0.75em;
}

/* BOOTSTRAP OVERRIDES END */

/* ADDITIONAL ACCENTS */

.bg-blue-accent {
    background-color: #ecf6ff;
}

.bg-blue-accent hr {
    border-color: #c0e0ff;
}

.bg-green-accent {
    background-color: #f2fff2;
}

.bg-grey-accent {
    background-color: #eee;
}

.bg-red-accent {
    background-color: #fcf2f2;
}

.bg-yellow-accent {
    background-color: #fff6ec;
}

.panel-blue-accent {
    border-color: #ecf6ff;
}

.panel-blue-accent>.panel-heading {
    color: #000;
    background-color: #c0e0ff;
    border-color: #a0d0ff;
}

.user-outline-fake {
    color: transparent;
    text-shadow: 0 0 0 #000;
    opacity: 0.4;
}

.cvut-box-active {
    position: relative;
    bottom: 1px;
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 3px;
    background-color: rgb(0, 122, 194);
}

.cvut-box-inactive {
    position: relative;
    bottom: 1px;
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 3px;
    border: 1px solid rgb(0, 122, 194);
    box-sizing: border-box;
    background-color: transparent;
}

.cvut-bg {
    background-color: rgb(0, 122, 194);
}

.cvut-bg-dark, .cvut-bg-81 {
    background-color: rgb(0, 45, 86);
}

.cvut-bg-fsv, .cvut-bg-11 {
    background-color: rgb(148, 172, 42);
}

.cvut-bg-fs, .cvut-bg-12 {
    background-color: rgb(197, 0, 0);
}

.cvut-bg-fel, .cvut-bg-13 {
    background-color: rgb(234, 76, 36);
}

.cvut-bg-fjfi, .cvut-bg-14 {
    background-color: rgb(0, 169, 157);
}

.cvut-bg-fa, .cvut-bg-15 {
    background-color: rgb(5, 101, 113);
}

.cvut-bg-fd, .cvut-bg-16 {
    background-color: rgb(114, 54, 74);
}

.cvut-bg-fbmi, .cvut-bg-17 {
    background-color: rgb(239, 88, 160);
}

.cvut-bg-fit, .cvut-bg-18 {
    background-color: rgb(251, 171, 24);
}

.cvut-bg-default {
    background-color: rgb(100, 100, 100);
}

.btn-royal-purple {
    color: #fff;
    background-color: #659;
    border-color: #548;
}

.btn-royal-purple:hover,
.btn-royal-purple:focus,
.btn-royal-purple.focus,
.btn-royal-purple:active,
.btn-royal-purple.active,
.open > .dropdown-toggle.btn-royal-purple {
    color: #fff;
    background-color: #548;
    border-color: #437;
}

.cvut-border {
    border-color: rgb(0, 122, 194);
}

.cvut-border-dark, .cvut-border-81 {
    border-color: rgb(0, 45, 86);
}

.cvut-border-fsv, .cvut-border-11 {
    border-color: rgb(148, 172, 42);
}

.cvut-border-fs, .cvut-border-12 {
    border-color: rgb(197, 0, 0);
}

.cvut-border-fel, .cvut-border-13 {
    border-color: rgb(234, 76, 36);
}

.cvut-border-fjfi, .cvut-border-14 {
    border-color: rgb(0, 169, 157);
}

.cvut-border-fa, .cvut-border-15 {
    border-color: rgb(5, 101, 113);
}

.cvut-border-fd, .cvut-border-16 {
    border-color: rgb(114, 54, 74);
}

.cvut-border-fbmi, .cvut-border-17 {
    border-color: rgb(239, 88, 160);
}

.cvut-border-fit, .cvut-border-18 {
    border-color: rgb(251, 171, 24);
}

.cvut-border-default {
    border-color: rgb(100, 100, 100);
}

/* BORDER-RADIUS REMOVAL BEGIN */

.btn {
    border-radius: 2px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
}

.btn:hover:not(:active) {
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
}

.form-control {
    border-radius: 2px;
}

.input-group-addon {
    border-radius: 2px;
}

.modal-content {
    border-radius: 2px;
}

.nav-tabs>li>a {
    border-radius: 0px;
}

/* BORDER-RADIUS REMOVAL END */

/* LABEL OUTLINE BEGIN */
.label-light {
    border-style: solid;
    border-width: 2px;
    color: #000;
    padding: 0.3em 0.5em 0.3em;
}

.label-light.label-danger {
    background-color: #fff;
    border-color: #d9534f;
    color: #6c2a28;
}

.label-light.label-default {
    background-color: #fff;
    border-color: #777;
    color: #3c3c3c;
}

.label-light.label-grey {
    background-color: #fff;
    border-color: #777;
    color: #888;
}

.label-light.label-black {
}

.label-light.label-info {
    background-color: #fff;
    border-color: #5bc0de;
    color: #2e606f;
}

.label-light.label-success {
    background-color: #fff;
    border-color: #5cb85c;
    color: #2e642e;
}

.label-light.label-warning {
    background-color: #fff;
    border-color: #f0ad4e;
    color: #785727;
}
/* LABEL OUTLINE END */

/* BUTTON OUTLINE BEGIN */
.btn-outline-danger,
.btn-outline-info,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-warning {
    border-width: 2px;
}

.btn-outline-danger {
    border-color: #d43f3a;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger.active {
    border-color: #ac2925;
}

.btn-outline-info {
    border-color: #46b8da;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info.active {
    border-color: #269abc;
}

.btn-outline-primary {
    border-color: #357ebd;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.active {
    border-color: #285e8e;
}

.btn-outline-warning {
    border-color: #eea236;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning.active {
    border-color: #d58512;
}
/* BUTTON OUTLINE END */

/* COMMON DIALOGS BEGIN */
#confirmation-dlg>.modal-dialog>.modal-content>.modal-footer>.btn {
    min-width: 120px;
}
/* COMMON DIALOGS END */

/* FULL-WIDTH ALERT BEGIN */
.alert-fullwidth {
    padding: 1em 1.5em;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-radius: 0px;
}

.alert-fullwidth.alert-dismissable .close,
.alert-fullwidth.alert-dismissible .close {
    top: -5px;
    right: -5px;
}

.alert-fullwidth h3 {
    font-weight: 300;
    margin-top: 5px;
}
/* FULL-WIDTH ALERT END */

/* CUSTOM COLUMN CLASSES BEGIN */
.col-md-1_5, .col-md-4_5 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
.col-md-1_5 {
    width: 12.5%;
}

.col-md-4_5 {
    width: 37.5%;
}

.col-md-1_5, .col-md-4_5 {
    float: left;
}
}
/* CUSTOM COLUMN CLASSES END */

/* NEW CLASSES BEGIN */
.btn-fa {
    font-size: 16px;
}

.content-sheet.has-footer,
.tab-pane.has-footer,
.project-sheet .tab-pane.has-footer {
    padding-bottom: 0px;
}

.embox {
    display: inline-block;
    height: 1em;
    margin-right: 0.2em;
    top: 0.1em;
    width: 0.3em;
}

.embox2 {
    bottom: 1px;
    display: inline-block;
    height: 8px;
    margin-right: 3px;
    width: 8px;
}

.embox2.embox-sm {
    height: 0.4em;
    width: 0.4em;
}

.entity.active {
    background-color: #e8e8e8;
}

.entity hr {
    margin: 7px 0px;
}

.entity .btn-group>.bootstrap-select.btn-group {
    float: left;
}

.entity-fullname {
    font-weight: 500;
}

.entity-list .entity:not(:last-child) {
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.entitycontainer {
    border: 1px solid #eee;
    padding: 0.7em 0.7em;
    margin-bottom: 10px;
}

.entitycontainer.empty {
    border: none;
    padding: 0px;
}

.field-selection legend {
    font-size: 16px;

    border-bottom: none;
    border-top: 1px solid #e5e5e5;
    margin-bottom: 0px;
    margin-top: 15px;
    padding-top: 5px;
}

.field-selection li>label {
    font-size: 13px;
    margin-bottom: 1px;
}

.information-block {
    padding: 20px 10px 40px;
}

.information-block h1 {
    color: #999;
    font-weight: 200;
    margin: 0px 0px 36px;
    text-align: center;
}

.modal-body>.alerts {
    margin: -15px -15px 5px -15px;
}

.modal-body>.alerts>.alert-fullwidth {
    margin-bottom: 10px;
}

.participant-options {
    margin-right: 10px;
    position: relative;
    top: -4px;
}

.project-id-block {
    color: #666;
    display: inline-block;
    font-weight: bold;
    width: 40px;
}

.remove-bootstrap-select-margin .bootstrap-select.btn-group:not(.input-group-btn),
.remove-bootstrap-select-margin .bootstrap-select.btn-group[class*="span"] {
    margin-bottom: 0px;
}

.select-xs button {
    padding-bottom: 1px;
    padding-top: 1px;
}

div.status-overlay {
    font-size: 20px;
    padding: 10px;
    position: absolute;
    top: 0px;
    right: 0px;
}

.td-controls {
    padding-bottom: 3px!important;
    padding-top: 3px!important;
}

.validation-feedback {
    margin-bottom: 5px;
}

.has-success .entitycontainer {
    border-color: #3c763d;
}

.bootstrap-select-sm {
    padding: 2px 10px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 2px;
}

#entity-selection-dlg .tab-content {
    padding: 0em 0em 0em 0em;
}

#entity-selection-dlg .nav>li>a {
    font-size: 14px;
    min-width: 150px;
    padding: 2px 10px;
    text-align: center;
    text-transform: uppercase;
}

#entity-selection-user-list,
#organization-results-list {
    padding: 0.3em 0em;
}

#entity-selection-user-list .entity,
#organization-results-list .entity {
    padding: 0.4em 0.7em;
}

#entity-selection-user-list .entity:hover:not(.active),
#organization-results-list .entity:hover:not(.active) {
    background-color: #f5f5f5;
}

td.no-data-placeholder {
    padding: 20px!important;
    text-align: center;
}
/* NEW CLASSES END */

/* ApprovalView BEGIN */
.border-left {
    border-left-style: solid;
    border-left-width: 6px;
}

.table>tbody>tr.thick>td {
    border-top: 2px solid #bbb;
}

#item-approval-table>thead>tr>th {
    border-bottom-color: #999;
}

#item-approval-table {
    border-bottom: 2px solid #bbb;
}

#item-approval-table>tbody>tr {
    border-right: 2px solid #bbb;
}

#item-approval-table {
    border: 2px solid #bbb;
}


#role-picker .bootstrap-select {
    height: 24px;
    margin-bottom: 1px;
}
/* ApprovalView END */

/* project.DiaryView BEGIN */
#diary-entries {
    margin-bottom: 20px;
}

.diary-entry header {
    background-color: #f8f8f8;
    background: linear-gradient(#f8f8f8, #f4f4f4);
    border-radius: 3px;
    padding: 3px 10px;
}

.diary-entry p {
    margin: 8px 8px 8px 8px;
    word-wrap: break-word;
}

.diary-entry footer {
    padding-top: 0.25em;
    padding-left: 8px;
}

.diary-entry footer li.title {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
}
/* project.DiaryView END */

/* project.HistoryView BEGIN */
#history-filtering-panel hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

#history-filtering-panel .form-group:last-child {
    margin-bottom: 0px;
}

#history-grid table>tbody>tr>td:nth-child(1) {
    white-space: nowrap;
}

#history-grid table>tbody>tr:not(.small)>td:nth-child(4) {
    width: 50%;
}

#history-grid table>tbody>tr.small>td {
    border-top: none;
}

#history-grid .th-common {
    cursor: default;
}
/* project.HistoryView END */

/* project.BudgetTableView BEGIN */
.budget-table-container {
    overflow-x: auto;
}

.budget-table-container>p {
    margin-bottom: 20px;
}

.budget-table {
    table-layout: fixed;
}

.budget-table>thead {
    font-size: 16px;
}

.budget-table>thead>tr>th,
.budget-table>tbody>tr>td {
    padding: 4px;
    vertical-align: middle;
    text-align: right;
    width: 80px;
}

.budget-table>tbody>tr.has-separator>td {
    border-top-color: #ccc;
    border-top-width: 2px;
}

.budget-table>tbody>tr>td>input {
    font-size: 13px;
    height: 24px;
    padding: 0em 0.5em;
    text-align: right;
}

.budget-table>tbody>tr>td>div {
    padding-right: 8px;
}

.budget-table>thead>tr>th:first-child,
.budget-table>tbody>tr>td:first-child {
    text-align: left;
    width: 200px;
}
/* project.BudgetTableView END */

/* ApprovalsOverview BEGIN */
.approvals-overview {
    table-layout: fixed;
    border: 1px solid #bbb;
    position: static;
}

.approvals-overview * {
    position: static;
}

.approvals-overview>thead>tr>th:nth-child(1) {
    width: 2em;
}

.approvals-overview>thead>tr>th:nth-child(3),
.approvals-overview>thead>tr>th:nth-child(4) {
    width: 15%;
}

.approvals-overview>thead>tr>th:nth-child(6) {
    padding-right: 1.25em;
    text-align: right;
    min-width: 15%;
    width: 20%;
}

.approvals-overview>thead>tr>th:nth-child(5) {
    width: 6rem;
}

.approvals-overview>tbody>tr>td:nth-child(5) {
    text-align: center;
}

.approvals-overview>tbody>tr>td:nth-child(6) {
    text-align: right;
}
/* ApprovalsOverview END */

/* project.AddDiaryEntryDialog BEGIN */
#diary-add-entry-dlg .file-view {
    background-color: #f4f4f4;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 8px;
}

#diary-add-entry-dlg .file-view.has-error {
    border-color: #a94442;
}
/* project.AddDiaryEntryDialog END */

/* bootstrap-select fix */
.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    min-height: 1px;
}
/* bootstrap-select fix END */

/* page-specific hacks */
#budget.tab-pane .validation-feedback {
    width: 200%;
}

#approval-expression-item-feedback + .validation-feedback {
    margin-left: 15px;
}

.ellipsis {
    white-space: nowrap;
    max-width: 300px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: inline-block;
}

@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}
