:root {
    --background-color: white;
    --main-color: #fd7e14;
    --border-color: grey;
    --popup-background-color: rgba(0, 0, 0, .8);
    --popup-menu-color: rgba(255, 255, 255, .95);
    --error-background: rgba(255, 140, 60, .95);
    --info-background: rgba(60, 150, 255, .95);
    --disabled-color: lightgray;
}

@font-face {
    font-family: 'bebas';
    src: url('../fonts/bebasneuebold-webfont.woff2') format('woff2'),
         url('../fonts/bebasneuebold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'helvetica_condensed_bold';
    src: url('../fonts/helveticaneue-condensed_bold-webfont.woff2') format('woff2'),
         url('../fonts/helveticaneue-condensed_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'helvetica_condensed_thin';
    src: url('../fonts/helveticaneue-condensed_thin-webfont.woff2') format('woff2'),
         url('../fonts/helveticaneue-condensed_thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'helvetica_condensed';
    src: url('../fonts/helveticaneue-condensed-webfont.woff2') format('woff2'),
         url('../fonts/helveticaneue-condensed-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    margin: 0px;
    font-family: 'helvetica_condensed';
    background-color: var( --background-color );
    position: relative;
    -moz-user-select: none; 
    -webkit-user-select: none; 
    -ms-user-select:none; 
    user-select:none;
    -o-user-select:none;
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: 'bebas';
    text-transform: uppercase;
}

#container {
    width: 100%;
    height: 100%;
    display: flex;
}

#content {
    display: flex;
    flex: auto;
    height: 100%;
    max-width: 100%;
    
}

#main-content {
    margin: 20px 20px 20px 80px;
    width: 100%;
    display: flex;
    flex-flow: column;
}

#left-menu {
    position: absolute;
    display: flex;
    top: 0px;
    left: 0px;
    height: 100%;
    min-width: 60px;
    width: 300px;
    border-style: solid;
    border-width: 0px 2px 0px 0px;
    border-color: var( --border-color );
    z-index: 10;
    background-color: var( --popup-menu-color );
}

#left-menu-content {
    margin: 20px;
    width: 100%;
}

#message-container {
    position: absolute;
    margin-left: 50%;
    margin-right: 50%;
    transform: translatex(-50%);
    top: 20px;
    width: 90%;
    max-width: 600px;
    color: white;
    font-weight: bold;
    z-index: 100;
}

.message-box {
    width: 100%;
    padding: 10px;
    background-color: orange 0.8;
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
}

.message-box.error {
    background-color: var( --error-background );
}

.message-box.info {
    background-color: var( --info-background );
}

.loading-icon {
    margin-right: 5px;
}

.disabled {
    background-color: var( --disabled-color ) !important;
    cursor: wait !important;
    pointer-events: none;
}

.button {
    background-color: var( --main-color );
    display: block;
    padding: 10px;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    color: white;
    font-family: "bebas";
    text-align: center;
}

.login-button {
    display: inline-block;
    width: 200px;
}

.menu-title, .menu-list {
    -moz-user-select: none; 
    -webkit-user-select: none; 
    -ms-user-select:none; 
    user-select:none;
    -o-user-select:none;
}

.menu-title {
    font-size: 20px;
    cursor: pointer;
    margin-top: 0px;
    margin-bottom: 10px;
}

.menu-title:hover {
    color: var( --main-color );
}

.menu-icon {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

.menu-button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    font-size: 20px;
}

.menu-button:hover {
    color: var( --main-color );
}

.menu-list {
    padding-left: 35px;
    margin-top: 0px;
}

.menu-list li {
    list-style: none;
    cursor: pointer;
    padding: 3px 0px 3px 0px;
}

.menu-list li:hover {
    font-weight: bold;
}

.page-title {
    margin-top: 0px;
}

.error-message {
    margin-top: 0px;
    color: red;
}

.table-container {
    display: contents;
}

.tabulator-tableHolder {
    scrollbar-width: thin;
}

.button-container {
    margin-bottom: 10px;
    display: flex;
}

.button-container .button {
    margin-right: 5px;
    margin-bottom: 5px;
    width: max-content;
}

.reset-filter:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0b0";
    margin-right: 5px;
} 

.add-new:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0fe";
    margin-right: 5px;
} 

.popup-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var( --popup-background-color );
    z-index: 20;
}

.popup-container {
   display: flex;
   position: absolute;
   background-color: rgba(255, 255, 255, 1);
   -webkit-appearance: none;
   -webkit-box-shadow: rgba(0, 0, 0, 0.3) -2px 0px 4px 0px;;
   box-shadow: rgba(0, 0, 0, 0.3) -2px 0px 4px 0px;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   width: 650px;
   height: max-content;
   max-width: 90%;
   max-height: 90%;
   border-radius: 0px 30px 0px 0px;
}

.popup-content {
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    display: flex;
    margin: 10px;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
}

.popup-title {
    margin: 0px;
}

.popup-colum {
    display: inline-block;
    flex: 0 0 50%;
}

.popup-colum-full {
    display: inline-block;
    flex: 0 0 100%;
}

.popup-colum-content {
    margin: 10px;
}

.popup-container input {
    padding: 5px;
    width: 100%;
    margin-bottom: 10px;
}

.popup-double-column {
    display: flex;
}

.popup-container .half-field-1 {
    width: 50%;
    padding-right: 5px;
    margin-bottom: 0px;
}

.popup-container .half-field-2 {
    width: 50%;
    padding-left: 5px;
    margin-bottom: 0px;
}

.popup-container .select2 {
    width: 100% !important;
    margin-bottom: 10px;
}

.popup-form {
    display: flex;
    width: 100%;
    margin-bottom: 0px;
}

.popup-label {
    display: block;
    width: 100%;
}

.popup-checkbox {
    float: right;
    width: auto !important;
}

.tabulator {
    max-height: 30%;
}

.tabulator-row.tabulator-selected {
    background-color: var( --main-color ) !important;
    color: white;
}

