@font-face {
    font-family: "Trade Gothic LT Std";
    src: url("../fonts/TradeGothic/TradeGothicLTStd-Cn18.3fd6de1c1f5d.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Trade Gothic LT Std";
    src: url("../fonts/TradeGothic/TradeGothicLTStd-Cn18Obl.4b864abec1e9.woff2") format("woff2");
    font-weight: normal;
    font-style: oblique;
}

@font-face {
    font-family: "Trade Gothic LT Std";
    src: url("../fonts/TradeGothic/TradeGothicLTStd-Cn18Bld.e9d97ef5c9aa.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Regular.2abaabba1db9.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Italic.ce0ce0ee7a74.woff2") format("woff2");
    font-weight: normal;
    font-style: oblique;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Bold.e45f52170ed4.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "proxima-nova";
    src: url("../fonts/proximanova/proximanova_regular.9a57fccf4681.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

/* TODO implement proxima-nova oblique - I did not find it online */

@font-face {
    font-family: "proxima-nova";
    src: url("../fonts/proximanova/proximanova_bold.1474cc0e9557.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

body.waiting * {
    cursor: progress !important;
}

select {
    /*-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    background: transparent;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    /*-moz-box-sizing: border-box;    /* Firefox, other Gecko */
    /*box-sizing: border-box;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    /*-webkit-border-radius: 0px;
    /* Firefox 1-3.6 */
    /*-moz-border-radius: 0px;
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 4px !important;

    box-shadow: 0px 1px 1px lightgrey;
    min-width: 150px !important;
}

input[type="text"] {
    border-radius: 0px;
    height: 38px !important;
    min-width: 150px !important;
}

input[type="number"] {
    border-radius: 0px !important;
    height: 38px !important;
    min-width: 150px !important;
}

input[type="password"] {
    border-radius: 0px !important;
    height: 38px !important;
    min-width: 150px !important;
}

textarea {
    border-radius: 0px !important;
    min-width: 150px !important;
}

label {
    max-width: none !important; /* class=col-sm-2 (create new line) */
}

button[id="Speichern"] {
    margin-top: 6px !important;
    min-width: 90px !important;
}

button[id="add_borrowing_button"] {
    margin-top: 6px !important;
    min-width: 90px !important;
}

button[id="add_vacation_button"] {
    margin-top: 6px !important;
    min-width: 90px !important;
}

button.undoBtnStart, button.filterBtn {
    min-width: 90px !important;
}

button.fc-button {
    min-width: 90px;
}

td {
    height: 44px;
}

/*-----------------------------------------------------------------------------------------------------------------*/

.ui.tab-content{min-height: 950px;}
         .error{
            background-color: #FF4444DD;
         }
         .success {
            background-color: #44E36FDD;
         }
         .outline_error{
            outline-color : #FF4444DD;
            outline-style: solid;
         }
         .warning {
            background-color: #FFBA44;
         }

.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:1;filter:Alpha(Opacity=100);font-weight:bold}

/*DataTable/UOW-Table----------------------------------------------------------------------------------------------*/

form.uow-table {
    overflow: visible !important;
}

table.dataTable tbody td {
    vertical-align: top;
    padding-left: 5px;
}

table.dataTable thead th {
    padding: 10px 20px 10px 5px;
}

table.dataTable th {
    font-weight: normal !important;
}

table.dataTable thead tr {
    background-color: #d0d0d0;
}

table.dataTable tbody tr.selected {
    color: black !important;
    background-color: #acbad4 !important;
}

/*font awesome-icon in datatable if row is selected*/
table.dataTable tbody tr.selected i {
    color: black !important;
}

/*DataTable/Approval-Table----------------------------------------------------------------------------------------------*/

form.approval-table {
    overflow: visible !important;
}

/*DataTable/UOW-Table Buttons--------------------------------------------------------------------------------------*/

div.dt-buttons {
    margin-top: 25px;
    position:relative;
    float:right;
}

div.dt-button-collection>a.dt-button {
    background:  #FF4444DD !important;
    border: 0 !important;
    box-shadow: none !important;
}

div.dt-button-collection>a.dt-button.active {
    background: #44E36FDD !important;
}

.ui-dialog-titlebar {
    display: none;
}

.custom-dialog-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
}

/*all forms--------------------------------------------------------------------------------------------------------*/

table.form_align th{
    vertical-align: top;
    text-align: left;
    font-weight: normal;
    height: 44px !important;
}

table.form_align label {
    padding-left: 0px !important; /* class=col-sm-2 */
    padding-right: 30px !important; /* class=col-sm-2 */
}

/*Report-----------------------------------------------------------------------------------------------------------*/

table.report>tbody>tr>td>input[type="text"] {
    min-width: 174px !important;
}

table.report>tbody>tr>td>select {
    min-width: 350px !important;

}

table.report>tbody>tr>td>textarea {
    min-width: 350px !important;
}

/*Project Details--------------------------------------------------------------------------------------------------*/

table.project_details>tbody>tr>td>input[type="text"] {
    min-width: 270px !important;
}

table.project_details>tbody>tr>td>input[type="number"] {
    min-width: 270px !important;
}

table.project_details>tbody>tr>td>div>div>input[type="number"] { /* Billing input with currency symbol */
    min-width: 270px !important;
}

table.project_details>tbody>tr>td>select {
    min-width: 270px !important;
}

table.project_details>tbody>tr>td>div>div>input {
    min-width: 270px !important;
}

/*Customer Details-------------------------------------------------------------------------------------------------*/

table.customer_details>tbody>tr>td>input[type="text"] {
    min-width: 221px !important;
}

table.customer_details>tbody>tr>td>textarea {
    min-width: 221px !important;
}

/*Summary-Tables---------------------------------------------------------------------------------------------------*/

table.summary {
    width: 100%;
}

table.summary>thead>tr {
    border-top: 1px solid lightgrey;
}

table.summary>tbody>tr {
    border-top: 1px solid lightgrey;
}

table.summary>tfoot>tr {
    border-top: 1px solid lightgrey;
    background-color:  #d0d0d0;
}

table.summary>thead>tr>th {
    text-align: left;
    font-weight: normal;
    padding-left: 30px;
    padding-right: 30px;
    vertical-align: top;
}

table.summary>thead>tr>td {
    padding-left: 30px;
    padding-right: 30px;
}

table.summary>tbody>tr>td {
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
}

table.summary>tfoot>tr>th {
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
}

table.summary>tbody>tr>td:not(:last-child) {
    width: 1%;
}
table.summary>thead>tr>td:not(:last-child) {
    width: 1%;
}
table.summary>thead>tr>th:not(:last-child) {
    width: 1%;
}
table.summary>tfoot>tr>th:not(:last-child) {
    width: 1%;
}

table.summary>caption {
    text-align: center;
    caption-side: top;
    color: black;
    background-color: #d0d0d0;
}

/*FullCalendar-----------------------------------------------------------------------------------------------------*/

.fc-widget-content.fc-sun { background-color:#f7f7f7; }
.fc-widget-content.fc-sat { background-color:#f7f7f7;  }

.fc-week-number.fc-widget-content { background-color:#f7f7f7; }

.fc-today {
    background: #bfe6ff !important;
    border-right-color: #ddd !important;
    border-left-color: #ddd !important;
}
.fc td { height:auto !important; }

td.fc-event-container {
    height:0px !important;
}

.fc-content{
    line-height: 1.6 !important;
    margin-right: 18px !important;
    /*mehrzeilig*/
    word-wrap: break-word !important;
    white-space: pre-line !important;
}

.calendar_message{}
         .error {
            background-color: #FF4444DD;
         }
         .success {
            background-color: #44E36FDD;
         }

.fc-day-header>span { /*Zeilenumbruch für Tagesüberschrift z.B. Montag*/
    display: block;
    word-wrap: break-word;
    word-break: break-all;
    box-sizing: border-box;
}

.fc td {
    border-top-color: #bababa !important;
    border-bottom-color: #bababa !important;
}

.btn:focus {
    outline: 1px dotted #111111;
}

/*Popover (tooltips)-----------------------------------------------------------------------------------------------*/


.popover textarea {
    font-size: 14pt;
    width: 23em;
}

.popover input[type="checkbox"] {
    text-align: left;
    width: 14px;
}

.popover_message{}
         .error{
            background-color: #FF4444DD;
         }
         .success {
            background-color: #44E36FDD;
         }
         .outline_error{
            outline-color : #FF4444DD;
            outline-style: solid;
         }
         .warning {
            background-color: #FFBA44;
         }

/*General----------------------------------------------------------------------------------------------------------*/
div.disabled {
    pointer-events: none;
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid grey; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

.centered-loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid grey; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    display: inline-block;
}

.readonly {
    pointer-events: none;
    opacity: 0.6;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading {
   width: 100%;
   height: 100%;
   top: 0px;
   left: 0px;
   position: fixed;
   display: block;
   opacity: 0.7;
   background-color: #fff;
   z-index: 99;
   text-align: center;
}

#loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  z-index: 100;
}
/*Budget Container----------------------------------------------------------------------------------------------------*/
.budget-container {
    min-width: 199px;
    height: 26px;
    border-style: solid;
    border-width: 3px;
    border-color: lightgrey;
}

.budget-percentage {
    height: 100%;
    text-align: center;
    padding-top: 1.5px;
    font-size: 12pt !important;
}

.budget-label {
    padding-left: 10px;
    text-align: left;
    vertical-align: middle;
    padding-right: 10px;
}

.budget-info {
    text-align: left;
    vertical-align: middle;
    padding-left: 10px;
}

div.budget-col {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 15px;
}
