﻿/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 0px;
}

/* Set link colors*/
.body-content a {
    color: #ee3a43;
}

.pagination > li > a,
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > a:active {
    color: #ee3a43;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Resets the 280px default width if needed*/
.control-fullwidth {
    max-width: none;
}

/* Set primary button color */
.btn-primary {
    background: #a7171e;
    border-color: #611115;
    /*border-color: #a7171e;*/
    /*background: #ee3a43;*/
} 

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
    background: #d01821;
}
 
.btn-primary:active, .btn-primary.active {
    background: #a7171e;
    box-shadow: none;
}

/* Special Layout for logout Button if JavaScript Disabled */
#logoutForm input[type="submit"],
#logoutForm input[type="button"],
#logoutForm button
{
    background-color: #333333;
    color: #ecf0f1;
    border: none;
    border: 0px;
    font-size: 1em;
    font-weight: 400;
    margin: 13px 3px -4px 10px;
    padding: 2px 3px;
    text-decoration: none;
    font-family: inherit;
    outline: medium none;
}

/*Textarea Field set auto width*/
.textareaAutoWidth {
    max-width: 95%; 
    width: 95%;
}

/*Body wait cursor */
body.wait *, body.wait 
{
    cursor: progress !important;
}

/*DataTables custom processing */
.dataTables_wrapper .dataTables_processing {
    background-color: #eee;
    color: inherit;
}

/*DataTables toolbar space to bottom table/pager*/
.dataTables_toolbar {
    margin-bottom: 10px;
}

/*Ändert den Abstand der Bootstrap Columns von 15px auf 3px => Anwendung auf der Startseite*/
.col-padding-3 {
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
}

/*Mittlerer Container für Tabellen-Formulare in verschiedenen Auflösungen*/
.custom-container-medium {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Proper containers */
.body-sidebar {
    padding-top: 50px;
    background-repeat: repeat-y;
    background-size: 1px 1px;
    background-position-x: 180px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAANSURBVBhXYzA2Nv4PAALPAZk+eelrAAAAAElFTkSuQmCC);
}
.parent-flex {
    display: flex;
}

.content-col {
    width: 100%;
}

.sidebar-col {
    min-width: 180px;
}

.tb-alert {
    margin: 1em 1em 0 1em;
}

.messages {
    width: calc(100% - 180px);
    position: relative;
    z-index: 999;
}

.sidebar-hidden .messages {
    width: 100%;
}

div.message {
    transition: opacity 0.3s ease-in-out;
}

/* Proper anchor/buttons */
a.btn {
    color: #333;
}

a.btn-primary {
    color: #fff;
}

.no-left-padding {
    padding-left: 0px;
}

.no-line-height {
    line-height: unset !important;
}

.no-bottom-margin {
    margin-bottom: 0px;
}

/* Basic tables */
.tb .minimal {
    width: 20px;
}

.tb .vcenter {
    vertical-align: middle;
}

.tb .maximal {
    max-width: 100%;
}

/* Collapser */
td.collapsed {
    display: none;
}

.row-collapser {
    cursor: pointer;
    text-transform: capitalize;
}

th.row-collapser {
    border-left: 1em solid #e6e6e6 !important;
}

.row-collapser > h4::after {
    float: right;
    Content: "\25B6  ";
}

.row-expanded > h4::after {
    Content: "\25BC  ";
}

/* Tiles */
.start-tiles {
    padding: 1.5em 2.5em 1.5em 2.5em;
    background-color: #eee;
    border-radius: 6px;
}

.start-tile {
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 20%;
    height: 150px;
}

.btn-desc {
    white-space: normal;
}

.tile-row {
    display: flex;
    flex-wrap: wrap;
}

/* Flex list for controls */
.flex-list {
    display: flex;
}

.flex-list div {
    flex-grow: 4;
}

.form-hint {
    padding-top: 7px;
    font-size: 85%;
}

/* forms */
.form-inline-fullsize > input {
    display: inline-block;
}

/* Statistics single Merchant */
.status {
    padding-top: 6px;
    padding-bottom: 6px;
    border: solid 2px #eee;
}

.status-green {
    background-color: #5cb85c;
}

.status-yellow {
    background-color: #f0ad4e;
}

.status-red {
    background-color: #d9534f;
}

/* jsoneditor */
.jsoneditor {
    border: 1px solid #ccc !important;
}

.jsoneditor .jsoneditor-menu {
    border-bottom: 1px solid #ccc;
}

.has-warning .jsoneditor {
    border: 1px solid #8a6d3b !important;
}

.has-warning div.jsoneditor-menu {
    background-color: #8a6d3b !important;
    border-bottom: 1px solid #8a6d3b;
}

.has-error .jsoneditor {
    border: 1px solid #a94442 !important;
}

.has-error div.jsoneditor-menu {
    background-color: #a94442 !important;
    border-bottom: 1px solid #a94442;
}