:root
{
    --brand-primary: darken(#428bca, 6.5%); /* #337ab7 */
    --brand-success: #5cb85c;
    --brand-info:    #5bc0de;
    --brand-warning: #f0ad4e;
    --brand-danger:  #d9534f;
}

html {
    font-family: "Asap", sans-serif;
}

body {
    padding-top: 50px;
    font-family: Asap, sans-serif;
    background-color: #edeff2;
}
/* should fix invisible checkboxes in chrome@windows */
input[type=checkbox]
{
    -webkit-appearance:checkbox;
}

.panel-debug .panel-body .error_messages iframe {
    width: 100%;
    height: 500px;
}

@media screen and (max-width: 767px) {
    body {
        padding-top: 0;
    }
}

h1 {
    font-size: 30px;
    margin: 0 0 20px 0;
}

h2 {
    font-size: 25px;
    margin-top: 0;
}
.switch_sidebar {
    float: left;
    margin-right: 15px;
}
.switch_sidebar button i {
    line-height: 4rem;
}
.navbar {
    margin-bottom: 0;
    border-radius: 0;
    border-bottom: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
    box-shadow: 0 5px 5px -5px rgba(0,0,0,.2);
}

.navbar-brand img {
    height: 40px;
    margin: -10px 0 0 0;
    display: inline;
}

.breadcrumb {
    margin: -20px 0 0 0;
    padding: 10px 0;
    background: transparent;
    border-radius: 0;
}

.breadcrumb > li + li:before {
    padding: 0 10px;
    content: "/";
}

.main-wrap {
    padding-left: 0;
    padding-right: 0;
    margin-top: 20px;
}
.col-sm-9.main-wrap {
    padding-right: 10px;
}

.main-wrap-inner {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.sidebar-nav-wrap {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    display: block;
    padding: 20px 10px 20px 10px;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar-nav {
    margin: 0 -10px 0 -10px;
}

.sidebar-nav > .nav-title {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
}

.sidebar-nav > .nav-title:first-child {
    margin-top: 0px;
}

.sidebar-nav > li a {
    font-size: 14px;
}
.sidebar-nav > li i {
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: 2em;
}
.sidebar-nav > li input {
    max-width: calc(100% - 2em);
}

.dashboard-panel .panel-body {
    margin-bottom: -1rem;
}

.dashboard-panel .panel-body .row div {
    margin-bottom: 1rem;
}

.dashboard-panel .panel-body .row div a {
    display: block;
    padding: .75rem 1rem;
    font-size: 1.5rem;
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    border-radius: .5rem;
}

.dashboard-panel .panel-body .row a:hover {
    text-decoration: none;
    background: #f5f5f5;
}

.btn-textarea {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-delete:hover {
    color: #fff !important;
    background-color: #c9302c;
    border-color: #ac2925;
}
.message_area {
    position: fixed;
    z-index: 1100;
    width: 80%;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
}
.message_area .alert {
    font-size: 18px;
    z-index: 1101;
    width: 100%;
    max-height: 550px;
    overflow-y: auto;
    text-align: center;
}

.message_area .alert pre {
    text-align: left;
}

table.table thead tr th {
    vertical-align: top;
}
table.table thead tr th:first-of-type {
    /*width: 33.33333333%;*/
}
table tbody tr td input:not(':checkbox') {
    width: 100%;
}
.table-hover > tfoot > tr:hover {
    background-color: #f5f5f5;
}
table tfoot tr td a {
    display: block;
    text-align: center;
}

.load-more {
    font-size: 22px;
    padding: 0;
    line-height: 29px;
    margin-top: -4px;
}

.ui-effects-placeholder {
    display: none !important;
}

.ui-autocomplete {
    z-index: 1050;
}
.ui-draggable, .ui-droppable {
    background-position: top;
}
.ui-autocomplete-loading {
    /*TODO @Philip: change to font awesome icon  */
    background: white url("https://jqueryui.com/resources/demos/autocomplete/images/ui-anim_basic_16x16.gif") right center no-repeat;
}

.dragzone {
    cursor: move;
}

.textcounter {
    display: none;
    margin-top: 9px;
    font-size: 80%;
}

.well .form-group {
    margin-bottom: 0;
}

.producer-marked {
    font-size: 18px;
    color: #c4161d;
    line-height: 1;
}

.image-preview {
    width: 200px;
}

.box_edit_todo_list_container .list-inline {
    margin-left: 0;
    margin-bottom: 0;
}

.box_edit_todo_list_container .list-inline li {
    margin: 5px 0;
}

.ui-state-highlight {
    margin-bottom: 20px;
}

.tagit.ui-widget {
    font-family: inherit;
    font-size: 12px;
    line-height: inherit;
}

div.cke_textarea_inline {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    background: #fff;
    padding: 6px 12px;
    color: #333;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    min-height: 100px;
}
div.cke_textarea_inline:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.flatpickr-calendar {
    box-shadow: 0 5px 15px rgba(0,0,0,.5)
}

.flatpickr-calendar .flatpickr-month,
.flatpickr-calendar .flatpickr-weekdays,
.flatpickr-calendar .flatpickr-weekdays .flatpickr-weekday {
    background: #f5f5f5;
}

div.table-container div.table div div form {
    display: inline-block;

}
div.tbody.items div.item {
    margin: 5px;
    /*border: 1px solid grey;*/
}
div.tbody.items div.item * {
    display: inline-block;
    /*float: left;*/
    /*width: 100%;*/
}
div.tbody.items div.item > div.row_actions {
    /*float: right;*/
}
body.iframe {
    padding-top: 0;
}
body.iframe .col-sm-offset-3 {
    margin-left: auto;
}
body.iframe .col-sm-9 {
    width: calc(100% - 10px);
}

.panel.panel-debug .panel-heading,
.panel.panel-debug {
    display: none;
    background-color: lightcoral;
}

/* overwrite bootstrap menu behaviour
.dropdown:hover > .dropdown-menu,
.open > .dropdown-menu {
display: block;
}
*/

.navbar-default .navbar-nav > :hover > a,
.navbar-default .navbar-nav > :hover > a:focus,
.navbar-default .navbar-nav > :hover > a:hover,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover
{
    color: #555;
    background-color: #e7e7e7;
}
.row_actions a.toggle-off
,.row_actions a.toggle-off i
{
    color: var(--brand-danger);
}
.row_actions a.toggle-on
,.row_actions a.toggle-on i
{
    color: var(--brand-success);
}
.box_redirect_index .row_actions
{
    min-width: 115px;
}
 .navbar-header {
     float: none;
 }

@media screen and (max-width: 825px) {

    .navbar-header .menu {
        float: left;
        width: 100%;
    }

    .sidebar-nav-wrap {
        top: 100px;
    }

    .main-wrap {
        margin-top: 70px;
    }
}

@media screen and (max-width: 767px) {
    .navbar-fixed-top {
        position: inherit;
    }

    .sidebar-nav-wrap {
        position: inherit;
    }

    nav ul.nav.navbar-nav {
        margin: 0;
    }
}

.dropdown.notifications .badge {
    display: block;
    position: absolute;
    top: 5px;
    right: 3px;
    line-height: 16px;
    height: 16px;
    padding: 0 5px;
    font-family: Arial, sans-serif;
    color: white;
    text-shadow: 0 1px rgba(0, 0, 0, 0.25);
    border: 1px solid;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.08);
    background: #faba3e;
    border-color: #f4a306;
    background-image: -webkit-linear-gradient(top, #fcd589, #faba3e);
    background-image: -moz-linear-gradient(top, #fcd589, #faba3e);
    background-image: -o-linear-gradient(top, #fcd589, #faba3e);
    background-image: linear-gradient(to bottom, #fcd589, #faba3e);
}

.notifications-badge {
    position: absolute;
    line-height: 16px;
    height: 16px;
    padding: 0 5px;
    font-family: Arial, sans-serif;
    color: white;
    text-shadow: 0 1px rgba(0, 0, 0, 0.25);
    border: 1px solid;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 1px rgba(0, 0, 0, 0.08);
    background: #faba3e;
    border-color: #f4a306;
    background-image: -webkit-linear-gradient(top, #fcd589, #faba3e);
    background-image: -moz-linear-gradient(top, #fcd589, #faba3e);
    background-image: -o-linear-gradient(top, #fcd589, #faba3e);
    background-image: linear-gradient(to bottom, #fcd589, #faba3e);
}

iframe {
    border: none;
}

table.no-lines tr td {
    border-top: 0;
}
.panel .table-container table {
    margin-bottom: 0;
}

form table tr td:nth-of-type(1) {
    width: 30%;
}
form table tr td input {
    width: 100%;
}

.label-text {
    font-size: 13px;
    font-weight: 400;
}

.label-text span {
    font-size: 12px;
}

.sortable .well {
    background-color: white;
    border: none;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#element-add-buttons .btn {
    padding: 6px 8px;
    font-size: 12px;
}

span.viewport_select .btn {
    width: 40px;
    padding: 6px 4px;
}

span.viewport_select .btn-success {
    background-color: #edeff2;
    border-color: black;
    color: black;
}

span.viewport_select .btn-default {
     opacity: 0.6;
 }

.fa-hotel.SMR {
     color: #c3151d;
 }

.fa-hotel.CW {
    color: #084b8f;
}

td .btn-group {
   float: right;
}

.highlight {
    background: yellow;
}

.highlight.green {
    background: greenyellow;
}

.replace-text {
    display: none;
}

.hotel-linked a i:after {
    content: "\f236";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 0.25em;
    margin-left: 0.25em;
}

.package-linked a i:after {
    content: "\f290";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 0.25em;
    margin-left: 0.25em;
}

.main-content .cms_elements .orange {
    background-color: #fad8b2!important;
}

.main-content .cms_elements .cms_element_item {
    background-color: #edeff2;
}

.label-text i {
    font-size: 15px;
}

.reused_elements_linked {
    display: none;
    margin: 10px 0;
    padding: 5px;
}

.readOnly.minwidth {
    min-width: 55px;
}

.dashboard .fa-3x.grey {
    color: #888;
}

.box_hotel_index .row_hotel td {
    padding: 3px;
    vertical-align: middle;
}

.expert_mode {
    display: none;
}

.wiedervorlage {
    display: none;
    padding: 5px;
    margin-bottom: 30px;
}

.btn-group-vertical .dropdown-menu a {
    background: 0;
    border: 0;
}

.btn-group-vertical .dropdown-menu a:hover {
    background-color: #ccc;
}


/* Datatable Buttons */
div.dt-buttons .publish:before {
    content: '\f0ac';
    font-family: 'FontAwesome';
    color: green;
}

div.dt-buttons .unpublish:before {
    content: '\f05e';
    font-family: 'FontAwesome';
    color: #c3151d;
}


/* für Volltextsuche */

.fulltext-search tr a.content:before {
    content: '\f1ea';
    font-family: 'FontAwesome';

}

.fulltext-search tr a.element:before {
    content: '\f0f6';
    font-family: 'FontAwesome';

}

.fulltext-search tr a.dogtag:before {
    content: '\f02b';
    font-family: 'FontAwesome';

}

.fulltext-search tr a.hotel:before {
    content: '\f236';
    font-family: 'FontAwesome';

}

.fulltext-search tr a.location:before {
    content: '\f041';
    font-family: 'FontAwesome';

}

.fulltext-search tr a.package:before {
     content: '\f290';
     font-family: 'FontAwesome';
 }

.fulltext-search tr a.staticpage:before {
    content: '\f15c';
    font-family: 'FontAwesome';

}

.fulltext-search tr a.topic:before {
    content: '\f0e8';
    font-family: 'FontAwesome';

}

.form-control {
    color: #333!important;
}

/* metatag-preview */
#metatag-preview {
    background: #fff;
    background-image: url(../img/metatag-preview-google.jpg);
    background-repeat: no-repeat;
    min-height: 300px;
    position: relative;
    border: solid 1px #ddd;
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial,Verdana,Tahoma;
    display: none;
    margin-bottom: 30px;
}

#metatag-preview .serp-item {
    margin: 168px 102px 30px 148px;
    max-width: 616px;
    line-height: 25px;
}

#metatag-preview .headline {
    margin: 0;
    font-size: 18px;
    line-height: 18px;
    color: #609;
    width: 600px;
    font-family: Arial,sans-serif;
}

#metatag-preview #url_serp {
    margin: 0;
    font-size: 14px;
    color: #006621;
    height: 17px;
    line-height: 16px;
    margin-top: 6px;
    float: left;
}

#metatag-preview .arrow {
    float: left;
    color: #444;
    position: relative;
    top: 0;
    margin-left: 6px;
}

#metatag-preview .description {
    color: #545454;
    line-height: 18px;
    word-wrap: break-word;
    font-size: 13px;
    display: block;
    padding-top: 4px;
    width: 595px;
}

#metatitlecount, #metadescriptioncount {
    display: none;
    float: right;
    margin-top: 5px;
}

.count-warning {
    border-bottom: 3px solid #d9534f;
}

.alert-danger {
    color: #a94442!important;
    background-color: #f2dede!important;
    border-color: #ebccd1!important;
}

.isa_warning {
    color: #9F6000;
    background-color: #FEEFB3;
    padding: 4px 8px;
}

.green {
    color: green;
}

.red {
    color: red;
}

.orange {
    color: orange;
}