html,
body {
    height: 100%;
}
body.dark-theme {
    color: #cbcccd;
    background: #000;
}

.dark-theme .breadcrumb {
    background-color: #222429;
}

.dark-theme .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #0e0e0e;
}

.dark-theme .table-bordered > thead > tr > th, .dark-theme .table-bordered > tbody > tr > th, .dark-theme .table-bordered > tfoot > tr > th, .dark-theme .table-bordered > thead > tr > td, .dark-theme .table-bordered > tbody > tr > td, .dark-theme .table-bordered > tfoot > tr > td {
    border: 1px solid #35363b;
}

.dark-theme .table-bordered {
    border: 1px solid #35363b;
}

.dark-theme .dropdown-menu > li > a {
    color: #cbcccd;
}
.dark-theme .dropdown-menu > li > a:hover, .dark-theme .dropdown-menu > li > a:focus {
    color: @dropdown-link-hover-color;
    background-color: #000;
}
.dark-theme .dropdown-menu > .active > a, .dark-theme .dropdown-menu > .active > a:hover, .dark-theme .dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #616161;
}

.dark-theme a:not(.btn), .dark-theme .check-uncheck {
    color: #0092cf;
}

.dark-theme .form-control {
    color: #cbcccd;
    background-color: #222429;
}

.dark-theme .form-control {
    color: #cbcccd;
    background-color: #222429;
}

.dark-theme .table input:not(.has-error):not(.has-success):not(:active):not(:focus):not(:focus-within):not(:focus-visible).form-control, .dark-theme .table select:not(.has-error):not(.has-success):not(:active):not(:focus):not(:focus-within):not(:focus-visible).form-control, .dark-theme div:not(.has-error):not(.has-success):not(:active):not(:focus):not(:focus-within):not(:focus-visible).form-control {
    border: 1px solid #777;
}
.dark-theme .form-group:not(.has-error):not(.has-success):not(:active):not(:focus):not(:focus-within):not(:focus-visible) .form-control {
    border: 1px solid #777;
}

.dark-theme select option {
    background-color: #222429;
}

.dark-theme .input-group-addon {
    color: #cbcccd;
    background-color: #616161;
}

.dark-theme .form-control[disabled], .dark-theme .form-control[readonly], .dark-theme fieldset[disabled] .form-control {
    background-color: #616161;
}

.dark-theme .select2-container--krajee .select2-selection {
    color: #cbcccd;
    background-color: #222429;
}

.dark-theme .select2-container--krajee .select2-selection--single .select2-selection__arrow {
    border-left: 1px solid #777;
}

.dark-theme .select2-container--krajee .select2-selection__clear {
    color: #cbcccd;
}

.dark-theme .input-group-addon {
    border: 1px solid #777;
}

.dark-theme .form-group:not(.has-error):not(.has-success) .control-label, .dark-theme label, .dark-theme .detail-view th {
    color:  #777;
}

.dark-theme .support-select .select2-container--krajee:not(.select2-container--open) .select2-selection {
    border: 1px solid #777;
}

.dark-theme .form-group:not(.has-error):not(.has-success):not(:active):not(:focus):not(:focus-within):not(:focus-visible) .select2-container--krajee:not(.select2-container--open) .select2-selection {
    border: 1px solid #777;
}

.dark-theme .select2-container--krajee.select2-container--disabled .select2-selection, .dark-theme .select2-container--krajee.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    background-color: #616161;
}

.dark-theme .select2-container--krajee .select2-selection--single .select2-selection__rendered {
    color: #cbcccd;
}

.dark-theme .select2-container--krajee .select2-search--dropdown .select2-search__field {
    background: #222429 url(search.png) right 10px top 7px no-repeat;
    color: #cbcccd;
}

.dark-theme .select2-dropdown {
    background-color: #222429;
}

.dark-theme .select2-container--krajee .select2-results__option[aria-selected] {
    background-color: #222429;
    color: #cbcccd;
}

.dark-theme .select2-container--krajee .select2-results__option.select2-results__option--selected, .dark-theme .select2-container--krajee .select2-results__option[aria-selected=true] {
    color: #cbcccd;
    background-color: #616161;
}

.dark-theme .select2-container--krajee .select2-results__option--highlighted[aria-selected] {
    background-color: #337ab7;
    color: #fff;
}

.dark-theme .pagination > li:not(.active) > a, .dark-theme .pagination > li > span {
    background-color: #35363b;
}
.dark-theme .pagination > li > a, .dark-theme .pagination > li > span {
    color: #cbcccd;
    border: 1px solid #777;
}
.dark-theme .pagination > li > a:hover, .dark-theme .pagination > li > span:hover, .dark-theme .pagination > li > a:focus, .dark-theme .pagination > li > span:focus {
    background-color: #616161;
    border-color: #777;
}
.dark-theme .pagination > .disabled > span, .dark-theme .pagination > .disabled > span:hover, .dark-theme .pagination > .disabled > span:focus, .dark-theme .pagination > .disabled > a, .dark-theme .pagination > .disabled > a:hover, .dark-theme .pagination > .disabled > a:focus {
    color: #777777;
    background-color: #35363b;
    border-color: #777;
}
.dark-theme .pagination > .active > a, .dark-theme .pagination > .active > span, .dark-theme .pagination > .active > a:hover, .dark-theme .pagination > .active > span:hover, .dark-theme .pagination > .active > a:focus, .dark-theme .pagination > .active > span:focus {
    color: #fff;
    background-color: #337ab7;
    border-color: #777;
}

.dark-theme .support {
    background-color: #222429 !important;
}
.dark-theme .row-deactivated {
    color: #616161;
}
.dark-theme .row-red {
    background-color: #3f1c1c !important;
}

.dark-theme .panel {
    background-color: #000;
}

.dark-theme .well {
    background-color: #000;
    border: 1px solid #35363b;
}

.dark-theme .panel-default {
    border-color: #35363b;
}

.dark-theme .panel-default > .panel-heading {
    color: #cbcccd;
    background-color: #35363b;
    border-color: #35363b;
}

.dark-theme .avatar-wrapper, .dark-theme .avatar-preview, .dark-theme .avatar-view {
    background-color: #35363b;
}

.dark-theme .avatar-view {
    border: 3px solid #616161;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -61px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.dark-theme .dropdown-menu {
    background-color: #222429;
}

.dark-theme .modal-content {
    background-color: #222429;
}
.dark-theme .modal-header {
    border-bottom: 1px solid #686e63;
}

.dark-theme .modal-footer {
    border-top: 1px solid #686e63;
}

.dark-theme .btn-default, .dark-theme .navbar-collapse .btn {
    color: #cbcccd;
    background-color: #616161;
    border-color: #616161;
}

.dark-theme .btn-default:hover, .dark-theme .navbar-collapse .btn:hover {
    color: #cbcccd;
    background-color: #35363b;
    border-color: #35363b;
}

.dark-theme .close {
  color: #686e63;
  opacity: 1;
}
.dark-theme .close:hover, dark-theme .close:focus {
  color: #686e63;
  opacity: 0.6;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}
.dark-theme .footer {
    background-color: #000;
    border-top: 1px solid #35363b;
}

.footer-link {
    display: inline-block;
    margin-left:80px;
    margin-right:80px;
}

.footer-link a {
    margin: 0 10px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.container .btn-group:first-of-type {
	float:right;
    margin:8px 0 0 20px;
}

.table-highlight-rows > tbody > tr.highlight:nth-of-type(odd) {
    background-color: #bfe7bf;
}

.table-highlight-rows > tbody > tr.highlight:nth-of-type(even) {
    background-color: #dae7da;
}

.order-subarticle-row {
    font-size: 80%;
    padding-left: 20px;
    font-style: italic;
}

.article-search-table .grid-view th {
    display:none;
}
.article-search-table .filters td:first-child {
    width:60%;
    height:52px;
    border-right:none;
}
.article-search-table .filters td:first-child input {
    position:absolute;
    width:94%;
    background:no-repeat right center url('/img/search.png');
    padding-right:30px;
}
.filters .form-control {
    background:no-repeat right center url('/img/search.png');
    padding-right:30px;
}
.article-search-table .filters td:last-child {
    width:40%;
    border-left:none;
}
.article-search-table .filters td:last-child input {
    display:none;
}
.article-search-table .grid-view tbody tr {
    cursor:pointer;
}
.article-search-table .grid-view tbody tr:hover {
    background: #d9edf7;
}

.order-groups {
    padding: 10px;
}

.order-groups a{
    margin: 5px;
}

.order-discount {
    text-align: right;
}
.order-discount input {
    width:60px; display:inline-block;
}

.order-total {
    text-align: right;
    padding-top:20px;
    font-size:120%;
}
.order-total-tax {
    text-align: right;
}
.order-total-taxfree {
    text-align: right;
    padding-top:10px;
}

.order-document iframe {
    width:100%;
    border:none;
    height:1150px;
}

.day-highlight {
    background-color: #fee4c5;
}

.calendar-event-item {
    text-align: center;
    display: inline-block;
    padding:10px;
}
.calendar-event-type-select-icon {
    padding-right:10px;
}
.calendar-event-user-select-color {
    display: inline-block;
    margin-right:10px;
    margin-bottom:-5px;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    text-align: center;
}
.calendar-filter {
    width:80%;
    padding:10px;
    background-color: #fff;
}
#recurrence_weekly_block .form-group {
    display:inline-block;
}
button.kv-editable-link {
    text-align:left;
    border-bottom:none;
}
.search-input {
    background:no-repeat right center url('/img/search.png');
    padding-right:24px;
}
.check-uncheck {
    margin-left:20px;
    cursor:pointer;
    color: #337ab7;
    border-bottom:1px dashed;
}
.check-uncheck:hover {
    border-bottom:none;
}

.navbar-logo {
    margin-top:-15px;
}
.navbar-logo img {
    border-radius: 4px;
    height:50px;
}

.typeahead.dropdown-menu {
    max-height:200px;
    overflow-y:auto;
}

.user-view-avatar {
    max-width: 200px;
    max-height: 200px;
}

.datatable-cell-overflow {
    max-width:350px;
    word-break: break-all;
}

.support {
    background-color: #ffe0b2 !important;
}
.row-deactivated {
    color: #cbcccd;
}

.row-red {
    background-color: #ffebee !important;
}

.navbar-inverse{
    background-color: #c96812;
    border-color: #c96812;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #7a3e07;
}
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #7a3e07;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}
.navbar-inverse .navbar-nav > li > a:hover {
    text-decoration: underline;
}

.dark-theme .navbar-inverse{
    background-color: #432204;
    border-color: #432204;
}
.dark-theme .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #7a3e07;
}
.dark-theme .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #7a3e07;
}
.dark-theme .navbar-inverse .navbar-nav > li > a {
    color: #cbcccd;
}
.dark-theme .navbar-inverse .navbar-nav > li > a:hover {
    text-decoration: underline;
}

.list-container{
    overflow-y: auto;
    max-height: 600px;
}
.list-container .list-group-item {
    user-select: none;
}
.list-container .list-group-item span {
    font-weight: normal;
    margin-left: 20px;
    color:#777777;
}
.list-container .list-group input[type="checkbox"] {
    display: none;
}
.list-container .list-group input[type="checkbox"] + .list-group-item {
    cursor: pointer;
}
.list-container .list-group input[type="checkbox"] + .list-group-item:before {
    content: "\2713";
    color: transparent;
    font-weight: bold;
    margin-right: 1em;
}
.list-container .list-group input[type="checkbox"]:checked + .list-group-item {
    background-color: #f5f5f5;
}
.list-container .list-group input[type="checkbox"]:checked + .list-group-item:before {
    color: inherit;
}
.list-container .list-group input[type="radio"] {
    display: none;
}
.list-container .list-group input[type="radio"] + .list-group-item {
    cursor: pointer;
}
.list-container .list-group input[type="radio"] + .list-group-item:before {
    content: "\2022";
    color: transparent;
    font-weight: bold;
    margin-right: 1em;
}
.list-container .list-group input[type="radio"]:checked + .list-group-item {
    background-color: #f5f5f5;
}
.list-container .list-group input[type="radio"]:checked + .list-group-item:before {
    color: inherit;
}
.visdep-modal-content .list-container .list-group input[type="checkbox"] + .list-group-item {
    background-color: #f5f5f5;
}
.visdep-modal-content .list-container .list-group input[type="checkbox"]:checked + .list-group-item {
    background-color: inherit;
}
.visdep-modal-content .list-container .list-group input[type="checkbox"]:checked + .list-group-item:before {
    color: transparent;
}
.visdep-modal-content .list-container .list-group input[type="checkbox"] + .list-group-item:before {
    color: inherit;
}

.dark-theme .list-group-item {
    background-color: #000;
    border: 1px solid #35363b;
}
.dark-theme .list-container .list-group input[type="checkbox"]:checked + .list-group-item {
    background-color: #292929;
}
.dark-theme .visdep-modal-content .list-container .list-group input[type="checkbox"] + .list-group-item {
    background-color: #292929;
}
.dark-theme .visdep-modal-content .list-container .list-group input[type="checkbox"]:checked + .list-group-item {
    background-color: inherit
}

.field-user-encrypted .hint-block {
    display: none;
}

.theme-switch-wrapper {
    margin-top: -5px;
    display: inline-block;
    align-items: center;
    vertical-align:top;
}
.theme-switch {
    display: inline-block;
    height: 30px;
    position: relative;
    width: 56px;
}
.theme-switch input {
    display:none;
}
.theme-switch .slider {
    background:#616161 no-repeat 32px center url('/img/dark_mode.png');
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .2s;
}
.theme-switch .slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 22px;
    left: 4px;
    position: absolute;
    transition: .2s;
    width: 22px;
}
.theme-switch input:checked + .slider {
    background:#ccc no-repeat 6px center url('/img/light_mode.png');
}
.theme-switch input:checked + .slider:before {
    transform: translateX(26px);
}
.theme-switch .slider.round {
    border-radius: 30px;
}
.theme-switch .slider.round:before {
    border-radius: 50%;
}

.form-switch-wrapper {
    display: inline-block;
    align-items: center;
    vertical-align:top;
}
.form-switch {
    display: inline-block;
    height: 22px;
    position: relative;
    width: 38px;
}
.form-switch input {
    display:none;
}
.form-switch .form-slider {
    background:#ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .2s;
}
.dark-theme .form-slider {
    background:#000;
}
.form-switch .form-slider:before {
    background-color: #fff;
    bottom: 3px;
    content: "";
    height: 16px;
    left: 3px;
    position: absolute;
    transition: .2s;
    width: 16px;
}
.dark-theme .form-slider:before {
    background-color: #ccc;
}
.form-switch input:checked + .form-slider {
    background:#337ab7;
}
.form-switch input:checked + .form-slider:before {
    transform: translateX(16px);
}
.form-switch .form-slider.form-round {
    border-radius: 22px;
}
.form-switch .form-slider.form-round:before {
    border-radius: 50%;
}

.room_list_icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 5px;
}

@media (max-width: 767px) {
    .footer {
        display: none;
    }
    .wrap {
        padding: 0;
    }
}
@media (max-width: 991px) {
    .lang-switcher {
        display: none;
    }
}

.action-col {
    font-weight: bold;
    font-style: italic;
}
.action-delete {
    color: #c55;
}
.action-update {
    color: #4cae4c;
}
.action-create {
    color: #337ab7;
}