/************************************/
/* General                          */
/************************************/

html {
    position: relative;
    min-height: 100%;
    font-size: 1rem;
}

body {
    margin-bottom: 60px !important;
}

button:active,
button:focus {
    outline: none;
}

.spacer-xs,
.spacer-sm,
.spacer-md,
.spacer-lg {
    display: inline-block;
}

.spacer-xs {
    width: 5px;
}

.spacer-sm {
    width: 10px;
}

.spacer-md {
    width: 20px;
}

.spacer-lg {
    width: 50px;
}

.v-spacing-xs {
    height: 5px;
}

.v-spacing-sm {
    height: 10px;
}

.v-spacing-md {
    height: 20px;
}

.v-spacing-lg {
    height: 50px;
}

.labeled-icon {
    display: inline-flex;
    align-items: center;
}

.labeled-icon svg {
    margin-right: 10px;
}

.full-width {
    display: block;
}

.center-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vertical-center-align {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.break {
    flex-basis: 100%;
    width: 0px;
    height: 0px;
    overflow: hidden;
}

.error {
    color: #D8000C;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #231F20;
    text-align: center;
    display: flex;
    align-items: center;
    color: #eee;
}

/************************************/
/* Localization                     */
/************************************/
html[lang^="de"] div.language-wrapper[lang="en"],
html[lang^="de"] div.language-wrapper[lang="es"],
html[lang^="de"] div.language-wrapper[lang="pt"] {
    display: none !important;
}

html[lang^="de"] div.language-wrapper[lang="de"] {
    display: block !important;
}

html[lang^="es"] div.language-wrapper[lang="de"],
html[lang^="es"] div.language-wrapper[lang="en"],
html[lang^="es"] div.language-wrapper[lang="pt"] {
    display: none !important;
}

html[lang^="es"] div.language-wrapper[lang="es"] {
    display: block !important;
}

html[lang^="pt"] div.language-wrapper[lang="de"],
html[lang^="pt"] div.language-wrapper[lang="en"],
html[lang^="pt"] div.language-wrapper[lang="es"] {
    display: none !important;
}

html[lang^="pt"] div.language-wrapper[lang="pt"] {
    display: block !important;
}

html[lang^="en"] div.language-wrapper[lang="de"],
html[lang^="en"] div.language-wrapper[lang="es"],
html[lang^="en"] div.language-wrapper[lang="pt"] {
    display: none !important;
}

/************************************/
/* Draggable                        */
/************************************/

.sortable-chosen {
    cursor: move;
}

/************************************/
/* Seperators                       */
/************************************/

hr.thick-ruler {
    background-color: #eee;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    height: 5px;
    border-top: none;
}

/************************************/
/* Heading Containers               */
/************************************/

.heading-container {
    display: flex;
    align-items: baseline;
}

.heading-container-right {
    display: flex;
}

.heading-container-right .align-right {
    margin-left: auto;
}

/************************************/
/* Items Box                        */
/************************************/

.items-box {
    background-color: #f2f2f2;
    padding: .5rem .75rem 1rem .75rem;
    display: flex;
    flex-direction: column;
}

.items-box.items-box-dark {
    background-color: #5b5b5b;
}

.items-box .items-box-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    margin-bottom: 10px;
    padding: 10px 0px;
}

.items-box .items-box-header h3 {
    width: 100%;
    font-weight: normal;
    margin: 0px;
}

.items-box .items-box-header button {
    background: none;
    border: none;
}

.items-box .items-box-body {
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.items-box .items-box-item {
    display: flex;
    flex-direction: row;
    height: 100%;
    cursor: default;
}

.items-box .items-box-items-container {
    overflow-y: scroll;
    padding: 0px 10px 3px 10px;
    height: 100%;
}

.items-box-item-container .items-box-item-container {
    padding-right: 0px;
}

.items-box-item-container.items-box-item-container-active {
    background-color: #22acab;
}

.items-box .items-box-seperator {
    border-bottom: solid 1px #bbb;
}

.items-box .items-box-col {
    padding: 3px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.items-box .search-bar {
    width: 100%;
}

.items-box .search-bar form {
    width: 100%;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

/************************************/
/* Full Screen Modal                */
/************************************/

.full-screen-modal {
    padding: 0 !important;
}

.full-screen-modal-dialog {
    max-width: 100% !important;
    max-height: 100% !important;
    height: 100%;
    margin: 0;
}

.full-screen-modal-content {
    border: 0;
    border-radius: 0;
    min-height: 100%;
    height: auto;
}


/************************************/
/* Table Styles                     */
/************************************/

.standard-table, .standard-table tr {
    width: 100%;
}

.standard-table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.standard-table.selectable tr {
    cursor: pointer;
}

.standard-table.selectable tr.select-disabled {
    cursor: auto;
}

.standard-table thead tr {
    border-top: none;
}

.standard-table tr {
    border-top: 1px solid #e6e8eb;
}

.standard-table tr:last-child {
    border-bottom: 1px solid #e6e8eb;
}

.standard-table.no-grid-lines tr {
    border-top-width: 0px;
    border-bottom-width: 0px;
}

.standard-table.no-grid-lines tr:last-child {
    border-bottom-width: 0px;
}

.standard-table.minimal-spacing td {
    padding-top: 3px;
    padding-bottom: 3px;
}

.standard-table.selectable tr:hover .overflow-menu-trigger-button {
    border-color: #eee;
}

.standard-table.selectable tr .overflow-menu-trigger-button:hover,
.standard-table.selectable tr .overflow-menu-trigger-button:active {
    border-color: #b3771f;
}

.standard-table tr.no-results {
    height: 53px;
    cursor: auto;
}

/************************************/
/* Overflow Menu Trigger Button     */
/************************************/

.overflow-menu-trigger-button {
    background-color: transparent;
    border-color: transparent;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0px;
    height: 32px;
    width: 32px;
}

.overflow-menu-trigger-button:active,
.overflow-menu-trigger-button:focus {
    box-shadow: 0 0 0pt 3pt #dba14e;
}

/************************************/
/* Misc                             */
/************************************/

.image-remove-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}
