body.light_version{
    background-color:#f6f6f6;
}

/** LOGIN **/
.form-signin_container {
    background: #ffffff;
    padding: 3em;
}

.loginLogo{
    margin-bottom: 2em;
}

.form-signin .btn{
    margin-top:1em;
    font-size:1.1em;
}

@media (min-width: 992px){
    .form-signin {
        max-width: 30%;
    }
}

/** SIDEBAR **/
.light_version #left-sidebar{
    background:#1c2e4b;
    border:none;
}

.light_version  #left-sidebar .navbar-brand .qlogo {
    width: 80%;
    margin: 1em auto 0;
    height: auto;
    display: block;
}

.light_version  #left-sidebar .navbar-brand {
    border-bottom:none;
}

.theme-cyan .sidebar-nav .metismenu ul a:hover::before,
.theme-cyan .sidebar-nav .metismenu>li.active>a i,
.theme-cyan .sidebar-nav .metismenu a:hover i, .theme-cyan .sidebar-nav .metismenu a:focus i{
    background:#fff;
}

.light_version .user-account,
.light_version .metismenu li.header{
    color:#ddd;
}

.light_version .metismenu a,
.light_version .metismenu ul a,
.theme-cyan .sidebar-nav .metismenu>li ul .active a,
.user-account .user-name,
.theme-cyan .sidebar-nav .metismenu>li.active>a,
.theme-cyan .sidebar-nav .metismenu a:hover, .theme-cyan .sidebar-nav .metismenu a:focus{
    color:#fff;
}

.metismenu ul a::before {
    border-radius: 0;
    content: none;
    left: 5px;
    height: 1px;
    width: 15px;
    top: 17px;
}

.theme-cyan .page-item.active .page-link{
    border-color: #315275;
}

.metismenu li.header.more{
    margin-top:6em;
}

.user-account{
    padding-left: 7px;
}

.metismenu ul a::before{
    width:10px;
}

.metismenu ul a:hover:before{
    width:20px;
}

.theme-cyan .sidebar-nav .metismenu a:hover i, .theme-cyan .sidebar-nav .metismenu a:focus i,
.theme-cyan .sidebar-nav .metismenu>li.active>a i{
    color:#222;
}


/** Topbar **/
.light_version .top-navbar{
    background:#315275;
    padding: 5px 15px 8px;
    box-sizing: border-box;
    margin:0;
    opacity: inherit;
    border-bottom:none;
}

.light_version .navbar-nav .icon-menu{
    color:#fff;
}

.navbar-nav .icon-menu{
    color:#fff;
    padding:5px;
    font-weight:500;
    font-size:0.9em;
    margin-right:1em;
}


.navbar-nav .share i{
    margin-right:0.5em;
    font-size:1em;
}

.top-navbar .progress-container{
    margin-left: -14px;
}

#navbar-menu .btn-primary.btn-secondary{
    background:#eee;
    border-color: #eee;
    color:#222;
}


/** BUtTONS **/
.btn-primary.disabled,
.btn-primary:disabled,
.btn-info,
.btn-info.focus,
.btn-info:focus,
.btn-info:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle,
.btn-primary:hover,
.btn-primary{
    background:#172C6A;
    border-color: #172C6A;
    color:#fff;
    font-weight:700;
}

.custom-control-input:checked~.custom-control-label::before{
    background:#172C6A;
    border-color: #172C6A;
}

.btn-primary:hover,
.btn-primary.focus, .btn-primary:focus{
    background:#172C6A;
    border-color: #172C6A;
    color:#fff;
}

.btn-primary.btn-secondary:focus{
    box-shadow:none;
}

.btn-primary.btn-secondary{
    background:#222;
    border-color: #222;
    color:#fff;
}

.theme-cyan .page-item.active .page-link,
.lg-progress-bar .lg-progress,
.theme-cyan .top-navbar .progress-bar{
    background:#1c2e4b;
}


/** Form Controls **/
.light_version .custom-select,
.light_version .form-control,
.light_version .input-group-prepend .input-group-text,
.light_version .input-group-append .input-group-text{
    border-color:#ddd;
}

.light_version .custom-select:focus{
    background-color: inherit;
    color:inherit;
}

.table.dataTable tbody tr,
.theme-cyan .form-control:focus,
.form-control,
.custom-select{
    color:#222;
}

.custom-select{
    font-size:1em;
}

.form-control:focus{
    border-color:#ccc;
}

.card-header{
    background-color:transparent;
    padding-right:0;
    padding-left:0;
}

.card-header > .col-lg-12{
    padding-right:0;
}

.card .header h2{
    font-size:18px;
}


/** Datatables **/
.light_version  .table.dataTable thead th,
.light_version  .table.dataTable tfoot th,
.input-group-prepend .input-group-text, .input-group-append .input-group-text{
    color:#666;
}


.light_version  .table.dataTable thead th,
.light_version  .table.dataTable tfoot th{
    font-weight:bold;
    border: 2px solid #fff;
    background:#315275;
    color:#fff;
}

.light_version .table tr td,
.light_version .table tr th {
    border-color: transparent;
    background: #fff;
}

.table td, .table th{
    padding:0.5em;
}

.theme-cyan .pagination>li>a{
    color:inherit;
}

.light_version .pagination .disabled.page-item .page-link{
    background:#f2e7e2;
    color:#555;
}

.light_version .pagination>li>a:hover,
.light_version .pagination>li>span:hover,
.light_version .pagination>li>a:focus,
.light_version .pagination>li>span:focus,
.light_version .theme-cyan .pagination>li>a:hover{
    color:#fff;
    background:#333;
    border-color:#315275;
}

.light_version .card .body,
.light_version  .card .card-body{
    background: #fff;
}

.table.dataTable tbody tr{
    background: #333;
}

.table-responsive > div > div.row:first-of-type > div:first-of-type{
    display:none;
}

.table-responsive > div > div.row:first-of-type > div:last-of-type{
    width:100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.table-responsive i.icon-plus{
    color:#777;
    padding:0.5em;
}

.table-responsive i.icon-plus:hover{
    cursor: pointer;
}

.table.table-custom tbody tr:hover {
    background-color: #111;
    color: #ccc;
}

.table.table-custom tbody tr:hover i.icon-plus{
    color:#315275;
}

.table.table-hover tbody tr:hover{
    color:#172C6A;
}

.table-responsive img{
    max-height:2.8em;
    max-width:5em;
}

form .error{
    color: red;
}

.order_step {
    border: 4px solid lightslategray;
    border-radius: 50px;
    height: 70px;
    width: 70px;
    display: inline-block;
    font-size: 50px;

}

.form-control:disabled {
    background-color: transparent!important;
}

.field_error {
    border: 1px solid red!important;
}

.btn-danger{
    background:#315275;
    border-color:#315275;
}


/** CONTENT **/
h1,
.theme-cyan .card .header h2{
    color:#1c2e4b;
}

.container-fluid{
    padding-top:20px;
}

.sweet-alert button{
    background:#315275 !important;
}

.theme-cyan .top-navbar .progress-bar,
.top-navbar .progress-container{
    height:4px;
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover{
    border-color:#315275;
}

#lg-actual-size{
    display:none;
}

/** Datepicker **/
.datepicker table tr td, .datepicker table tr th{
    text-align:center;
}

.datepicker table tr td.active.active, .datepicker table tr td.active.highlighted.active, .datepicker table tr td.active.highlighted:active, .datepicker table tr td.active.active:active{
    color:#fff;
}

#reklamation {
    /*width: 100%;*/
    /*overflow: auto;*/
}

#reklamation table{
    width:100% !important;
    font-size:11px;
    border:1px solid #222;
}

#reklamation table:not(.DTFC_Cloned){
   /* border:1px solid #222;*/
}

.fixedHeader-floating{
    font-size:11px;
    text-align:center;
}

.dataTable{
    background-color: #FFFFFF;
}

#reklamation table thead tr{
    /*border-bottom:1px solid #222;*/
}

#reklamation table tbody tr{
    border-bottom:1px solid #ddd;
}

#reklamation table tbody tr:last-of-type{
    border-bottom:none;
}

#reklamation table thead tr th {
    width:50px;
}

.total_row{
    text-align: center;
}

#reklamation table tbody tr td.qline,
#reklamation table thead tr th.qmonth,
#reklamation table:not(.article_table) thead tr th:nth-of-type(3),
#reklamation table.article_table thead tr th:nth-of-type(2),
#reklamation table.article_table thead tr th:nth-of-type(4),
#reklamation table.article_table thead tr th:nth-of-type(6),
#reklamation table.article_table thead tr th:nth-of-type(7),
#reklamation table thead tr th:nth-of-type(6) {
    border-right:1px solid #222;
}

#reklamation table:not(.article_table) thead tr th:nth-of-type(2) {
    border-left:1px solid #222;
}

#reklamation table thead tr th:nth-of-type(1) {
    min-width:50px;
}





#reklamation table thead tr th.qmonth:last-of-type{
    border-right:none;
}

table tbody tr td,
table thead tr th {
    text-align:center !important; /*TODO: Original: left*/
    padding:2px 5px !important;
    vertical-align: top;
    white-space: nowrap;
}

/*Detail Ansicht Model Text Linksbündig 'Eine Flucht'*/
#reklamation .detail {
    text-align: left;
}

.odd{
    background-color: #eee !important;
}

#reklamation table thead tr th:nth-of-type(3),
#reklamation table thead tr th:nth-of-type(4),
#reklamation table thead tr th:nth-of-type(5){
    width:25px;
}

#reklamation table thead tr th.qmonth{
    text-align:center;
}

.table-border-bottom {
    border-bottom: 1px solid black;
}

#reklamation table thead tr th small{
    display:block;
}

#reklamation table thead tr th.qmonth.rotated {
    vertical-align: middle;
    word-wrap: break-word;
    box-sizing: content-box;
    white-space: inherit;
    /*Sebastian: */
    line-height: 13px;
    width:60px;
    max-width:60px;
    height:100px;
    position:relative;
    transform:none;
    padding:10px 0
}

/*i know but keine zeit*/
.rotated_main {
    vertical-align: middle;
    word-wrap: break-word;
    box-sizing: content-box;
    white-space: inherit;
    /*Sebastian: */
    line-height: 13px;
    width:60px;
    max-width:60px;
    height:100px;
    position:relative;
    transform:none;
    padding:10px 0
}
.rotated_main span {
    position: relative;
    display: block;
    width: 100px;
    transform: rotate(270deg) translateY(-20px);
}

@media print{


    @page {
        size: A3 landscape;
        margin: 0;
    }

    html, body {
        width: 420mm;
        height: 297mm;
    }

    body{
        margin:0;
    }

    #reklamation table{
        /*page-break-inside:auto;*/
        font-size:8pt;
    }

    #reklamation table { page-break-inside:auto }
    #reklamation div   { page-break-inside:avoid; } /* This is the key */
    #reklamation thead { display:table-header-group }
    #reklamation tfoot { display:table-footer-group }

    /*#reklamation table tr { display: block; page-break-inside:avoid; page-break-after:auto }*/

    /*#reklamation table tr:nth-child(10n) {*/
    /*    page-break-inside:auto;*/
    /*}*/

    #reklamation table thead tr th:nth-of-type(1){
        width:auto;
    }

    #reklamation table thead tr th:nth-of-type(2){
        width:auto;
    }

    #main-content{
        width:100%;
    }

    #main-content .hideprint{
        display:none;
    }

    #left-sidebar{
        display:none;
    }

    .light_version .card .body,
    .light_version .card .card-body{
        border:none;
        padding:0;
    }
}

.total_row {
    border-bottom: 1px solid black;
    font-weight: bold;
    background-color: green !important;
    color:white;
}


#reklamation table tr .max-claim-value{
    background-color: rgba(255, 0, 0, 0.49);
}

td.max-claim-value{
    background-color: rgba(255, 0, 0, 0.49);
}

.multiselect_div {
    width: 100%;
}

.btn-small{
    padding: 0 1em;
}

.loader_qc {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #315275; /* Blue */
    border-radius: 50%;
    width: 64px;
    height: 64px;
    margin: 10% auto;
    animation: spin 0.5s linear infinite;
    position: relative;
}

.table_loader_qc {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #315275; /* Blue */
    border-radius: 50%;
    width: 64px;
    height: 64px;
    margin: 10% auto;
    animation: spin 0.5s linear infinite;
    position: relative;
}

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

#loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 2000px;
    background-color: rgb(91, 130, 177);
    z-index: 999;
}

#loader-table-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-color: rgb(91, 130, 177);
    z-index: 999;
}

#main-content {
    margin-top: 35px;
}

.qmonth span {
    position: relative;
    display: block;
    width: 100px;
    transform: rotate(270deg) translateY(-20px);
}

.dt_invisible {
    transform: none!important;
}

.company_logo {
    height: auto;
    width: 100%;
    /*border: red 2px solid;*/
}

#signin-password {
    color: #fff;
}

#signin-username {
    color: #fff;
}

#start_calc .btn {
    color: #fff;
    background-color: green;
    border-color: green;
}

/*.fixedHeader-floating{
    top:40px !important;
}*/


.top-navbar .navbar-btn {
    border-right:none !important;
}

.btn-toggle-offcanvas{
    color:#fff !important;
}

#claim_table_container > tfoot{
    visibility: hidden;
}


th {
    text-align: center;
}

/*#claim_table_container .details{*/
/*    visibility: hidden;*/
/*    height:0px !important;*/
/*}*/

.max-width-table{
    width:auto !important;
    min-width: 100%;
}

.max-width-table .card{
    /*width:auto !important;*/
    min-width: 100%;
}

#commission_table tr td:first-of-type{
    text-align: left !important;
}

/* AUSHEBELN DER DATATABLES STYLES */
table.dataTable {
    border-collapse: collapse !important;
}

.dataTable.fixedHeader-floating thead tr:nth-of-type(1){
    height: 105px !important;
}

.dataTable.fixedHeader-floating thead tr:nth-of-type(1) > th{
    vertical-align: middle !important;
    word-wrap: break-word;
    box-sizing: content-box;
    white-space: inherit;
    line-height: 13px;
    width: 60px;
    max-width: 60px;
    height: 100px;
    position: relative;
    transform: none;
}

.reason_invisible {
    display: none;
}

/* Buttons von Datatables export verändern */
#reklamation .btn-round {
    border-radius: .25rem;
    padding: .375rem .75rem;
}

#loader-modal .modal-dialog {
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 50%;
    margin: 0 auto;
}

#data-loader {
    width: 6rem;
    height: 6rem;
}