.row {
    margin-left: 0px;
    margin-right: 0px;
}

#wrapper {
    padding-left: 70px;
    transition: all .4s ease 0s;
    height: 100%;
    border-top: 0px solid #fff;
    scroll-snap-align: start;
}

#sidebar-wrapper {
    margin-left: -250px;
    left: 70px;
    width: 253px;
    background: #2e2e2e url("/img/bg-dark.png") repeat scroll 0 0;
    position: fixed;
    height: 100%;
    z-index: 10000;
    transition: all .4s ease 0s;
    border-right: 3px solid #19b0f7;
    /*box-shadow: -1px 10px 15px #000;*/
}

.sidebar-nav {
    display: block;
    float: left;
    width: 200px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#page-content-wrapper {
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    height: auto;
}

#wrapper.active {
    padding-left: 200px;
}

#wrapper.active #sidebar-wrapper {
    left: 250px;
}

#page-content-wrapper {
    width: 100%;
}

#sidebar_menu li a, .sidebar-nav li a {
    color: #999;
    display: block;
    float: left;
    text-decoration: none;
    width: 250px;
    background: #252525;
    border-top: 1px solid #373737;
    border-bottom: 1px solid #1A1A1A;
    -webkit-transition: background .5s;
    -moz-transition: background .5s;
    -o-transition: background .5s;
    -ms-transition: background .5s;
    transition: background .5s;
}

.sidebar_name {
    padding-top: 25px;
    color: #fff;
    opacity: .7;
}

.sidebar-nav li {
    line-height: 40px;
    text-indent: 20px;
}

.sidebar-nav li a {
    color: #fff;
    display: block;
    text-decoration: none;
}

.sidebar-nav li a.active {
    color: #fff;
    background: #19b0f7;
    text-decoration: none;
}

.sidebar-nav li a.active:hover {
    color: #fff;
    text-decoration: none;
}

.sidebar-nav li a:hover {
    color: #19b0f7;
    text-decoration: none;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    line-height: 60px;
    font-size: 18px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
    padding-bottom: 15px;
}

.sidebar-nav > .sidebar-brand img {
    width: 150px;
    float: left;
    padding-top: 15px;
    padding-left: 15px;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#main_icon {
    float: right;
    height: 30px;
    width: 30px;
    display: block;
    margin-top: 17px;
    margin-right: 17px;
    background: transparent url(/img/bonicloud-logo-min.png) center bottom no-repeat;
    background-size: cover;
}

.sub_icon {
    float: right;
    padding-right: 28px;
    padding-top: 10px;
}

.content-header {
    height: 65px;
    line-height: 65px;
}

.content-header h1 {
    margin: 0;
    margin-left: 20px;
    line-height: 65px;
    display: inline-block;
}

@media (max-width: 767px) {
    #wrapper {
        transition: all .4s ease 0s;
    }

    #wrapper.active #sidebar-wrapper {
        transition: all .4s ease 0s;
    }
}

.footer {
    margin-top: 0px;
    margin-bottom: 30px;
    line-height: 30px;
    border-top: 2px solid #19b0f7;
}

.footer .copyright-logo {
    height: 18px;
    margin-top: 3px;
    margin-left: 5px;
}

.well {
    margin-top: 30px;
}

.content-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll; /* has to be scroll, not auto */
    margin-left: 70px;
    margin-right: 0;
    margin-bottom: 0;
}

.header {
    background: #19b0f7 url(/img/bonicloud-background.jpg) 0 0 repeat-x;
    height: 68px;
    background-size: cover;
    margin-left: -16px;
    margin-right: -15px;
    border-top: 2px solid #19b0f7;
    /*border-bottom: 2px solid #19b0f7;
      box-shadow: 0px 5px 5px #999;*/
    color: #fff;
    font-size: 12px;
    padding: 10px 0px;
    margin-top: 0px;
    line-height: 20px;
}

.header a {
    color: #fff;
}

.header img {
    margin-top: 5px;
    height: 35px;
}

.content .container {
    padding: 0px;
}

.content .well {
    padding-bottom: 20px;
    margin-bottom: 0px;
}

.btn {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.36857;
    padding: 5px 10px;
}

.info-text {
    margin: 20px 15px;
    font-size: 14px;
    padding: 15px;
    padding-left: 65px;
    border-radius: 10px;
    background: #fff url(/img/info.png) 15px center no-repeat;
    border: 1px solid #f2f2f2;
    min-height: 70px;
}

#searchButtonBar {
    margin-top: 0px;
    position: absolute;
    z-index: 1000;
    right: 0px;
    top: 40px;
}

.form-control {
    background-color: #fefefe;
    background-image: none;
    border: 0px;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 0px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.075);
    color: #555;
    display: block;
    font-size: 12px;
    height: 28px;
    line-height: 1.42857;
    padding: 5px 10px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}

.form-control[type="checkbox"] {
    width: 20px;
}

.form-control:focus {
    border-color: #19b0f7;
    outline: 0;
    -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.075);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.075);
}

.hasErrors:focus,
.hasErrors {
    border-color: #ff0000;
}

label {
    font-size: 13px;
}

.topspace15 {
    margin-top: 15px;
}

.leftspace10 {
    margin-left: 10px;
}

.bottompadding0 {
    padding-bottom: 0px;
}

.bottommargin0 {
    margin-bottom: 0px;
}

.rightspace0 {
    margin-right: 0px;
}

.leftspace0 {
    margin-left: 0px;
}

.rightpadding0 {
    padding-right: 0px;
}

.leftpadding0 {
    padding-left: 0px;
}

.toppadding0 {
    padding-top: 0px;
}

.toppadding15 {
    padding-top: 15px;
}

.toppadding7 {
    padding-top: 7px;
}

.topspace0 {
    margin-top: 0px;
}

.table > tbody > tr > td.padding0,
.padding0 {
    padding: 0px;
}

.table > tbody > tr > td.padding0 > .table {
    margin-bottom: 0px;
    border: 0px;
}

.well {
    position: relative;
}

.accountEditInfo a {
    color: #31708f;
}

#cover-spin {
    position:fixed;
    width:100%;
    left:0;right:0;top:0;bottom:0;
    background-color: rgba(0,0,0,0.6);
    z-index:9999;
    display:none;
}

#circularG{
    position:relative;
    width:158px;
    height:158px;
    margin: auto;
    /* Make spinner 50% smaller */
    /* Reduce once more by 25% => 0.5 * 0.75 = 0.375 */
    -webkit-transform: scale(0.375);
    -ms-transform: scale(0.375);
    transform: scale(0.375);
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.circularG{
    position:absolute;
    background-color:#00b0ff;
    width:37px;
    height:37px;
    border-radius:24px;
    -o-border-radius:24px;
    -ms-border-radius:24px;
    -webkit-border-radius:24px;
    -moz-border-radius:24px;
    animation-name:bounce_circularG;
    -o-animation-name:bounce_circularG;
    -ms-animation-name:bounce_circularG;
    -webkit-animation-name:bounce_circularG;
    -moz-animation-name:bounce_circularG;
    animation-duration:0.868s;
    -o-animation-duration:0.868s;
    -ms-animation-duration:0.868s;
    -webkit-animation-duration:0.868s;
    -moz-animation-duration:0.868s;
    animation-iteration-count:infinite;
    -o-animation-iteration-count:infinite;
    -ms-animation-iteration-count:infinite;
    -webkit-animation-iteration-count:infinite;
    -moz-animation-iteration-count:infinite;
    animation-direction:normal;
    -o-animation-direction:normal;
    -ms-animation-direction:normal;
    -webkit-animation-direction:normal;
    -moz-animation-direction:normal;
}

#circularG_1{
    left:0;
    top:63px;
    animation-delay:0.328s;
    -o-animation-delay:0.328s;
    -ms-animation-delay:0.328s;
    -webkit-animation-delay:0.328s;
    -moz-animation-delay:0.328s;
}

#circularG_2{
    left:16px;
    top:16px;
    animation-delay:0.434s;
    -o-animation-delay:0.434s;
    -ms-animation-delay:0.434s;
    -webkit-animation-delay:0.434s;
    -moz-animation-delay:0.434s;
}

#circularG_3{
    top:0;
    left:63px;
    animation-delay:0.54s;
    -o-animation-delay:0.54s;
    -ms-animation-delay:0.54s;
    -webkit-animation-delay:0.54s;
    -moz-animation-delay:0.54s;
}

#circularG_4{
    right:16px;
    top:16px;
    animation-delay:0.646s;
    -o-animation-delay:0.646s;
    -ms-animation-delay:0.646s;
    -webkit-animation-delay:0.646s;
    -moz-animation-delay:0.646s;
}

#circularG_5{
    right:0;
    top:63px;
    animation-delay:0.752s;
    -o-animation-delay:0.752s;
    -ms-animation-delay:0.752s;
    -webkit-animation-delay:0.752s;
    -moz-animation-delay:0.752s;
}

#circularG_6{
    right:16px;
    bottom:16px;
    animation-delay:0.868s;
    -o-animation-delay:0.868s;
    -ms-animation-delay:0.868s;
    -webkit-animation-delay:0.868s;
    -moz-animation-delay:0.868s;
}

#circularG_7{
    left:63px;
    bottom:0;
    animation-delay:0.974s;
    -o-animation-delay:0.974s;
    -ms-animation-delay:0.974s;
    -webkit-animation-delay:0.974s;
    -moz-animation-delay:0.974s;
}

#circularG_8{
    left:16px;
    bottom:16px;
    animation-delay:1.08s;
    -o-animation-delay:1.08s;
    -ms-animation-delay:1.08s;
    -webkit-animation-delay:1.08s;
    -moz-animation-delay:1.08s;
}



@keyframes bounce_circularG{
    0%{
        transform:scale(1);
    }

    100%{
        transform:scale(.3);
    }
}

@-o-keyframes bounce_circularG{
    0%{
        -o-transform:scale(1);
    }

    100%{
        -o-transform:scale(.3);
    }
}

@-ms-keyframes bounce_circularG{
    0%{
        -ms-transform:scale(1);
    }

    100%{
        -ms-transform:scale(.3);
    }
}

@-webkit-keyframes bounce_circularG{
    0%{
        -webkit-transform:scale(1);
    }

    100%{
        -webkit-transform:scale(.3);
    }
}

@-moz-keyframes bounce_circularG{
    0%{
        -moz-transform:scale(1);
    }

    100%{
        -moz-transform:scale(.3);
    }
}

.collapsible {
    cursor: pointer;
    width: 100%;
    outline: 1px;
    max-width: 100%;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.active, .collapsible:hover {
    /* background-color: #555; */
}

.collapsible:after {
    content: '\002B';
    color: #f39b3c;
    font-weight: bold;
    font-size: 3rem;
    float: left;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: -15px;
    border-bottom: 1px;
    border-bottom-color: #141414;
}

.active_collapsible:after {
    content: "\2212";
}

.contentdiv {
    margin-top: 25px;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    /*transition: max-height 0.5s ease-out;*/
}
.details-control{
    outline: none;
    pointer-events: none;
}
.details-control-button{
    outline: none;
    pointer-events: auto;
    margin-left: 15px;
}

.disable{
    pointer-events: none;
    opacity: 0.5;
    }

legend{
    font-size: 1.5rem;
    font-weight: bolder;
    color: #141414;
}

html,html body{
    -webkit-overflow-scrolling:touch;
    overflow:auto;
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body{
    margin:0;
}


/* ==============================
   DataTables pagination (Bootstrap 3): borderless look (popup layout)
   Scope: Only inside DataTables wrappers to avoid affecting other paginations
   Related: DataTables 1.13.x with dataTables.bootstrap integration
   ============================== */
.dataTables_wrapper .pagination>li>a,
.dataTables_wrapper .pagination>li>span {
  border: 0 !important;
  box-shadow: none;
  background-color: transparent;
}
.dataTables_wrapper .pagination>li>a:hover,
.dataTables_wrapper .pagination>li>span:hover {
  border: 0 !important;
  background-color: #f5f5f5; /* subtle hover without border */
}
.dataTables_wrapper .pagination>.active>a,
.dataTables_wrapper .pagination>.active>span,
.dataTables_wrapper .pagination>.active>a:hover,
.dataTables_wrapper .pagination>.active>span:hover,
.dataTables_wrapper .pagination>.active>a:focus,
.dataTables_wrapper .pagination>.active>span:focus {
  border: 0 !important;
  background-color: #337ab7; /* Bootstrap primary */
  color: #fff;
}
.dataTables_wrapper .pagination>.disabled>span,
.dataTables_wrapper .pagination>.disabled>span:hover,
.dataTables_wrapper .pagination>.disabled>span:focus,
.dataTables_wrapper .pagination>.disabled>a,
.dataTables_wrapper .pagination>.disabled>a:hover,
.dataTables_wrapper .pagination>.disabled>a:focus {
  border: 0 !important;
  background-color: transparent;
  color: #777;
}
/* Keep keyboard accessibility: visible focus ring */
.dataTables_wrapper .pagination>li>a:focus,
.dataTables_wrapper .pagination>li>span:focus {
  outline: 2px solid #66afe9;
  outline-offset: 0;
}


/* ==============================
   DataTables controls layout and pagination sizing (Bootstrap 3, popup layout)
   Goal: pagination on the right; record count (info) and page-size (length) on the left; smaller pagination font
   Scope: Only inside DataTables wrappers
   ============================== */
/* Left-align info + length (record count and page-size) */
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length {
  text-align: left;
}
/* Right-align pagination block */
.dataTables_wrapper .dataTables_paginate {
  text-align: right;
}
/* Reduce pagination font-size to 85% without changing clickable padding */
.dataTables_wrapper .dataTables_paginate .pagination {
  font-size: 1.0em;
}
/* Responsive: stack nicely on small screens */
@media (max-width: 767px) {
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate,
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    text-align: left;
  }
}

/* Archive entries: center pagination only on these tables */
#archiveDataTable_wrapper .dataTables_paginate,
#consumerDataTable_wrapper .dataTables_paginate { text-align: center; }


/* Archive entries: reinforce centering of pagination by centering inner .pagination */
#archiveDataTable_wrapper .dataTables_paginate .pagination,
#consumerDataTable_wrapper .dataTables_paginate .pagination {
  display: inline-block;
  float: none; /* override Bootstrap floats */
  margin: 0 auto;
}

/* Archive entries: ensure the paginate container itself can center its content */
#archiveDataTable_wrapper .dataTables_paginate,
#consumerDataTable_wrapper .dataTables_paginate {
  float: none !important; /* neutralize any float-based alignment */
  text-align: center !important; /* center inline-block .pagination */
  width: 100%; /* allow centering across full row */
  display: block;
}

/* Optional: flex fallback if needed (kept narrow in scope) */
#archiveDataTable_wrapper .dataTables_paginate .pagination,
#consumerDataTable_wrapper .dataTables_paginate .pagination {
  /* If a theme forces flex, this still works; otherwise harmless */
  justify-content: center;
}

/* Archive entries (Consumer tab): hide the info line ("x bis x von x Einträgen") */
#consumerDataTable_wrapper .dataTables_info {
  display: none !important;
}

/* ==============================================
   SweetAlert2 Loader – Fallback Styles (eng gescoped)
   Hinweis:
   - Sichtbarkeit des Loaders NUR in speziell markierten AI-Dialogen.
   - Andere SweetAlert2-Dialoge bleiben unverändert.
   ============================================== */
.swal2-ai-loader .swal2-loader {
  display: inline-block !important;
  width: 26px;
  height: 26px;
  border: 0.25em solid rgba(0, 0, 0, 0.1);
  border-top-color: #3085d6; /* Standard-Swal2-Farbe */
  border-radius: 50%;
  animation: swal2-spin 1s linear infinite !important;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 1 !important;
  visibility: visible !important;
}

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

/* Sicherstellen, dass .swal2-loading den Loader nicht versteckt (nur AI-Dialog) */
.swal2-ai-loader.swal2-loading .swal2-loader {
  opacity: 1 !important;
  visibility: visible !important;
}
