body {
    padding-top: 50px;
    padding-bottom: 40px;
}

.form-control[disabled], fieldset[disabled] .form-control {
    cursor: auto;
}

.mandatory-label:after {
    content: "*";
    color: red;
}

.loading-img {
    padding: 0 1em;
}

.no-display {
    display: none !important;
    visibility: hidden !important;
}

h1 {
    border-bottom: 2px solid #004D91;
    margin-top: 0;
    margin-bottom: 1em;
}

.modal-dialog textarea {
    max-width: 100%;
}

.navbar-brand img {
    max-height: 100%;
}

.navbar {
    background-color: #f5f5f5;
}

@media ( min-width: 768px) {
    .navbar-fixed-top {
        padding: 0 3em 0 1em;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: #f5f5f5;
}

.footer p {
    margin: 10px 0;
    text-align: center;
}

.login_form {
    margin: auto;
    margin-top: 5em;
    max-width: 25em;
}

.error-page {
    margin-top: 4em;
}

.error-page p {
    text-align: center;
    font-weight: bold;
    color: red;
    font-size: xx-large;
}

.bold {
    font-weight: bold;
}

label {
    cursor: pointer;
}

.textarea-formated {
    white-space: pre-wrap; /* Chrome; W3C standard */
    word-wrap: break-word; /* IE */
}

.login_form input {
    width: 100%;
}

#administration-content, #tickets-content {
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: 2em;
    margin-right: 2em;
}

.download-content {
    margin-top: 2em;
    margin-bottom: 2em;
}

#global-messages {
    position: fixed;
    width: 100%;
    padding: 0 2em;
    bottom: 2%;
    list-style: none;
    z-index: 9999;
}

.glyphicon-container {
    margin-left: 0.5em;
}

.glyphicon-container:hover, .glyphicon-container:FOCUS {
    text-decoration: none;
}

.custom-table .row {
    padding: 0.5em 0;
}

.custom-table-head {
    font-weight: bold;
    border-bottom: 1px solid black;
}

.custom-table-data {
    margin-bottom: 2em;
}

.custom-table-element:nth-of-type(even) {
    background-color: #eeeeee;
}

.drag-and-drop {
    cursor: move;
    height: 2.5em;
    border: 1px solid black;
    border-radius: 5px;
}

.drag-and-drop-white {
    border: 1px solid white;
}

.drag-and-drop-placeholder {
    border: 5px dotted black !important;
    height: 4em;
    margin-right: -15px;
    margin-left: -15px;
}

.ui-datatable-tablewrapper thead select, .ui-datatable-tablewrapper thead input,
.global-filter input[type=text], .global-filter select.form-control{
    height: 28px;
}

.ticket-table-header .form-horizontal .control-label {
    vertical-align: top;
    margin-right: 1em;
}

.ticket-table-header  .control-label {
    margin-right: 1%;
    margin-left: 1%;
}

.ticket-table-header  .control-label:first-of-type {
    margin-right: 1% !important;
    margin-left: 0em;
}

.ticket-table-header  .control-label:last-of-type {
    margin-right:0em !important;
    margin-left: 1%;
}

.ticket-table .table > thead > tr > th {
    vertical-align: top;
    padding-bottom: 12px;
}

.ticket-table th {
    width: 120px;
    min-width: 120px;
}

.ticket-table .description-col {
    width: 215px;
}

@media screen and (min-width: 1280px) {
    .ticket-table .description-col {
        width: auto;
    }
}

.ticket-table p {
    margin: 0;
}

select.form-control {
    padding: 0 0 0 6px;
    font-weight: normal;
    height: 34px;
}

.global-filter {
    color: white;
    padding-top: 0.75em;
}

.global-filter.row {
    margin: 0;
}

.global-filter.row > div {
    padding: 0;
}

.ticket-table-header .hasDatepicker {
    width: 7em;
}

.ticket-table-header .ui-calendar {
    margin-right: 1em;
    vertical-align: bottom;
}

@media ( max-width: 767px) {
    .ticket-table-header label {
        display: block;
    }
}

.ticket-table-header label {
    width: 3em;
}

.ticket-table-header .checkbox label {
    width: auto;
}

.ticket-table-header > div > div {
    margin-bottom: 1em;
}

.ticket-table-controls a {
    margin-left: 1em;
}

.toggle-lable {
    margin: 0;
    vertical-align: bottom;
}

.history-container {
    margin-top: 1em;
    max-height: 20em;
    overflow: auto;
    border: 1px solid black;
    border-radius: 5px;
}

.portal-authorizations-table .table > thead > tr > th {
    vertical-align: top;
}

.history-container .row {
    margin: 0;
}

.ticket-change-header, .no-ticket-changes, .no-comments {
    background: #004D91;
    color: white;
    padding: 0.5em 1em;
}

.field-changes-container .row {
    padding: 0.5em 1em;
}

.field-changes-container > div:nth-child(odd) {
    background: #eeeeee;
}

.description-title {
    display: block;
    font-weight: bold;
}

.description-content {
    display: inline-block;
    max-height: 16em;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.table {
    margin-bottom: 0;
}

.table-responsive {
    border: 1px solid #004D91;
    margin-bottom: 1em;
    border-radius: 5px;
}

.table > thead > tr > th {
    border-bottom: 1px solid transparent;
}

.ui-datatable select {
    color: black;
}

.authorization-table .checkbox {
    margin: 0;
    text-align: center;
}

.custom-table {
    margin-top: 1em;
}

#comment-toggle-container {
    margin-top: 1em;
}

.comment-container {
    margin-top: 1em;
    max-height: 20em;
    overflow: auto;
    border: 1px solid black;
    border-radius: 5px;
}

.comment {
    padding: 1em;
    margin-top: 1em;
}

.comment:nth-child(odd) {
    background: #eeeeee;
}

.comment:first-child {
    margin-top: 0;
}

.priority-div .tooltip-inner {
    max-width: 100%;
    text-align: left;
}

.priority-div .tooltip-inner .priority-heading {
    font-weight: bold;
    text-decoration: underline;
}

/* Start Downloadcontainers */
.download-button {
    background-color: #fdcb00;
    border-color: #f9a825;
}

.download-button:hover {
    background-color: #fbc02d;
    border-color: #f9a825;
}

#downloadcontainer-list {
    padding: 0;
}

.download-container-headline {
    border-radius: 5px;
    padding: 0.5em;
    background: #004D91;
}

.download-container-headline .container-heading {
    margin: 0 1em;
}

.download-container-headline a, .text-position-header a,
.link-position-header a {
    margin-right: 0.5em;
}

.download-position-type {
    font-weight: bold;
    margin: 0 1em;
}

.text-position-header, .link-position-header {
    display: inline-block;
    border-bottom: 1px solid black;
}

.download-container-headline, .download-container-headline .glyphicon {
    color: white;
}

.download-containers-form .link-position-content,
.download-containers-form .text-position-content {
    margin-left: 2.6em;
}

.download-containers-form a:focus, .download-containers-form a:hover {
    text-decoration: none;
}

.download-containers-form .drag-and-drop {
    height: 2em;
}

.download-containers-form ul {
    list-style-type: none;
}

.download-containers-form ul ul li {
    border-top: 1px solid black;
}

.download-containers-form ul ul li:first-child {
    border-top: 0px solid black;
}

.download-containers-form ul ul .ui-sortable-helper {
    border: 0;
}

.download-containers-form li {
    padding: 0.5em;
}

.download-containers-form ul ul li p {
    margin: 0;
}

/* End Downloadcontainers*/

/* Start Downloadbereich */
.download-group h3 {
    text-decoration: underline;
}

.link-position-content, .text-position-content {
    margin-bottom: 10px;
}

/* End Downloadbereich*/

/* Color start */
.navbar .navbar-toggle {
    border: 1px solid white;
}

.navbar .navbar-toggle .icon-bar {
    background: white;
}

.navbar {
    background-color: #004D91;
    color: white;
    border: 1px solid #004D91;
}

.navbar a {
    color: white;
}

.nav .dropdown-menu > li > a {
    color: #004D91;
}

.nav .active > a, .nav > li > a:focus, .nav > li > a:hover, .nav .open > a, .nav .open > a:focus,
.nav .open > a:hover {
    background: white;
    color: #004D91;
}

.nav .dropdown-menu .active > a, .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    background: #004D91;
    color: white;
}

.footer {
    background: #004D91;
}

.footer p {
    color: white;
}

.footer a {
    color: white;
}

.ui-datatable {
    background-color: #004D91;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: white;
}

.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}

.table thead, .ui-paginator {
    color: white;
}

.table thead .ui-icon {
    background-image: url(/service-portal/javax.faces.resource/images/themeroller-iconset-white.png);
}

.ui-datatable .ui-paginator .ui-paginator-first, .ui-datatable .ui-paginator .ui-paginator-prev,
.ui-datatable .ui-paginator .ui-paginator-next, .ui-datatable .ui-paginator .ui-paginator-last {
    border: 1px solid white;
}

.ui-datatable .ui-paginator .ui-state-hover {
    background-color: white;
}

.ui-datatable .ui-paginator .ui-icon {
    background-image: url(/service-portal/javax.faces.resource/images/themeroller-iconset-white.png);
}

.ui-datatable .ui-paginator .ui-state-hover .ui-icon {
    background-image: url(/service-portal/javax.faces.resource/images/themeroller-iconset-white.png);
}

.table-column-width-15px {
    width: 15%;
}

.table-column-width-60px {
    width: 60%;
}

.modal-content {
    background: #004D91;
}

.modal-body {
    background: white;
}

.modal-header .close, .modal-header .close:hover, .modal-header .modal-title {
    color: white;
}

.custom-table-head {
    background-color: #004D91;
    color: white;
    border-radius: 5px 5px 0 0;
}

.modal-footer {
    background: white;
    border-radius: 0 0 5px 5px;
}

.modal-footer .alert {
    text-align: left;
}

/* Color end*/
@media ( max-width: 767px) {
    .navbar-nav li p {
        padding: 10px 15px;
    }

    .navbar-nav .dropdown-menu > li > a {
        color: white;
    }
}

.confirm-new-password-container {
    margin-top: 2em;
}

.confirm-new-password-container .success {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

#ticket-modal .modal-footer .print-button {
    float: left;
}

.observer-button{
    margin-left: 10px;
}

.tooltip {
    position: fixed;
}

@media print {
    body * {
        visibility: hidden;
        overflow: visible !important;
    }

    #tickets-content h1, #tickets-content > form {
        display: none;
    }

    .print-section, .print-section * {
        visibility: visible;
    }

    .print-section .scrollable-content {
        max-height: none !important;
    }

    .print-section .dont-print {
        display: none;
    }

    .print-section {
        position: absolute;
        left: 0;
        top: 0;
    }
}
/* start flex modal */

.flex-modal > .modal-dialog {
    height: 100%;
    padding: 2em 0;
    margin: auto;
}

/* ie 11 hack */
_:-ms-fullscreen, :root .flex-modal > .modal-dialog {
    display: flex;
}

/* ie 11 hack */
_:-ms-fullscreen, :root .flex-modal > .modal-dialog > .modal-content {
    background: transparent;
    box-shadow: none;
    border: none;
}

.flex-modal > .modal-dialog > .modal-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-height: 100%;
}

.flex-modal > .modal-dialog > .modal-content > form {
    display: flex;
    flex-direction: column;
    flex: 1 auto;
    overflow: auto;
}

.flex-modal .modal-body {
    overflow: auto;
}

.version-boxes {
    width:100px;
    display:inline-block;
    margin-right: 1em;
    margin-left: 1em;
}

.language-picker{
    text-transform: uppercase;
    padding-right: .5rem;
    padding-left: .5rem;
}

.language-picker  img{
    height: 20px;
    margin-right: 0.5rem;
}

/* end flex modal */