body {
    background: #f7f7f7;
    color: #73879c;
    font-family: "Helvetica Neue",Roboto,Arial,"Droid Sans",sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.471;
}

a, a:visited, a:focus, a:active, *:visited, *:focus, *:active, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
    outline: 0 none;
}

.col-main {
    background: #f7f7f7;
}

.col-main .container-fluid{
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 75px;
}

.panel {
    border: 1px solid rgba(221, 221, 221, 0.78) !important;
}

.x-panel {
    color: #555;
    position: relative;
    width: 100%;
    margin-bottom: 5px;
    padding: 10px 17px;
    display: inline-block;
    background: #fff;
    border: 1px solid #E6E9ED;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    opacity: 1;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    -webkit-transition: all .2s ease;
    -ms-transition: all .2s ease;
    transition: all .2s ease;
}
.x-title {
    background-color: #fff;
    border-bottom: 2px solid #E6E9ED;
    padding: 1px 5px 6px;
    margin-bottom: 10px;
    left: auto !important
}
.x-title .filter {
    width: 40%;
    float: right;
}
.x-title .order-header {
    color: #555;
    font-size: 18px;
    font-weight: 400;
    margin: 5px 0 6px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.x-title h2 small {
    margin-left: 10px;
}
.x-title span {
    color: #555;
}
.x-content {
    padding: 0 5px 6px;
    position: relative;
    width: 100%;
    float: left;
    clear: both;
    margin-top: 5px;
}
.x-content h4 {
    font-size: 16px;
    font-weight: 500;
}

.col-main {
    margin-top: 45px;
}

.collapse-hint {
    color: #666;
    font-size: 13px;
    font-style: italic;
    font-weight: 400 !important;
    margin-right: 5px;
    margin-left: 25px;
    text-decoration: underline;
}

.panel .panel-title .glyphicon {
    color: #888;
    font-size: 13px;
}

/* Top Nav */
.nav-menu {
    float: left;
    margin-bottom: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    list-style: none;
    display: flex;
    height: 80px;
}
@media (min-width: 480px) {
    .nav-menu {
        position: static;
    }
}

.nav-menu h1 {
    float: left;
    margin: 9px 0;
    font-size: 24px;
}

.nav-menu li {
    padding: 25px;
}

.nav-menu a,
.logout-link,
.home-link {
    font-weight: bolder;
    font-size: 1.5em;
    cursor: pointer;
}

.logout-link {
    padding: 25px;
    float: right;
}

.home-link {
    float: left;
    margin: 10px 0 10px 25px;
}

.top-nav .nav>li>a:focus, .top-nav .nav>li>a:hover, .top-nav .nav .open>a, .top-nav .nav .open>a:focus, .top-nav .nav .open>a:hover {
    background: #D9DEE4;
}
.navbar {
    margin-bottom: 0
}
.navbar-header {
    background: #34495E;
}
.navbar-right {
    margin-right: 0;
}
.top-nav .navbar-right {
    margin: 0;
    width: 70%;
    float: right;
}
.top-nav .navbar-right li {
    display: inline-block;
    float: right;
    position: static;
}
@media (min-width: 480px) {
    .top-nav .navbar-right li {
        position: relative;
    }
}
.top-nav .dropdown-menu li {
    width: 100%;
}
.top-nav .dropdown-menu li a {
    width: 100%;
    padding: 12px 20px;
}
.top-nav li a i {
    font-size: 15px
}
.navbar-static-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.order.col-md-3 {
    padding-left: 0;
}

.error.col-md-3 {
    width: 9%;
    white-space: nowrap;
}

.error.col-md-3 span {
    color: #ff0000;
}

.error-caption {
    text-align: left !important;
    font-weight: 700;
}

.error-description {
    margin-bottom: 15px;
    padding-bottom: 20px;
}

/* Tables */
table.data_table {
    border: 1px solid rgba(221, 221, 221, 0.78);
}

table.data_table thead {
    background: rgba(52, 73, 94, 0.94);
    color: #ECF0F1;
}

.table.data_table td {
    color: #555;
    font-size: 15px;
}

table.data_table tbody tr:hover td {
    background: rgba(38, 185, 154, 0.07);
    border-top: 1px solid rgba(38, 185, 154, 0.11);
    border-bottom: 1px solid rgba(38, 185, 154, 0.11);
}

table.data_table tbody tr.selected {
    background: rgba(38, 185, 154, 0.16);
}

table.data_table tbody tr.selected td {
    border-top: 1px solid rgba(38, 185, 154, 0.40);
    border-bottom: 1px solid rgba(38, 185, 154, 0.40);
}

/* Accordion */
.accordion .panel-heading {
    background: #f9f9f9 none repeat scroll 0 0;
    display: block;
    padding: 13px;
    width: 100%;
    color: #555;
}

.panel-heading.highlight {
    background: #ffccba none repeat scroll 0 0;
}

.panel-collapse.highlight {
    border-bottom: 4px solid #fff;
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;
}

.panel-collapse.highlight {
    border-bottom: 4px solid #ffccba;
    border-left: 5px solid #ffccba;
    border-right: 5px solid #ffccba;
}

.accordion .panel-heading:hover,
.accordion .panel-heading:focus {
    text-decoration: none;
}

/* jQuery UI stuff */
.panel-body .ui-widget-header {
    background-color: #fff;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #ddd;
    border-left: 0;
    border-radius: 0;
}

.panel-body .ui-widget-content .ui-state-active,
.panel-body .ui-widget-header .ui-state-active,
.panel-body a.ui-button:active, .ui-button:active,
.panel-body .ui-button.ui-state-active:hover {
    background: #fff;
    border-color: #ddd;
}

.panel-body .ui-state-active a,
.panel-body .ui-state-active a:link,
.panel-body .ui-state-active a:visited {
    color: #555;
}

/* Login */
.form-signin {
    margin: 0 auto;
    width: 330px;
    max-width: 100%;
    padding: 15px;
}
.form-signin .form-signin-heading, .form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    box-sizing: border-box;
    font-size: 16px;
    height: auto;
    padding: 10px;
    position: relative;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="text"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: -1px;
}
.form-signin input[type="password"] {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 10px;
}

.vertical-center {
    min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
    min-height: 70vh; /* These two lines are counted as one :) */
    display: flex;
    align-items: center;
}

/* Rest */
.pagination {
    margin: 0 !important;
}
.pagination-wrapper {
    float: left;
    margin-top: 10px;
    margin-bottom: 5px;
}
.pagination-label {
    color: #555;
    float: left;
    margin-right: 10px;
    padding-top: 8px;
}

.order span,
.reference span,
.date span,
.generator span,
.error span {
    font-weight: 700;
}

.order .category,
.back-link {
    float: right;
}

.category img {
    margin-right: 5px;
    margin-top: -6px;
    width: 28px;
}

.order .positions {
    padding-left: 20px;
}

.order .accordion .panel {
    margin-bottom: 0;
}

.anchor {
    color: #555;
    margin: 12px 0 6px;
    float: right;
}

#top-link-block.affix {
    position: fixed; /* keeps it on the bottom once in view */
    bottom: 18px; /* height of link element */
    left: 10px; /* padding from the left side of the window */
}

textarea {
    max-width: 100%;
}

.left {
    float: left;
}

.link-list {
    font-size: 16px;
}

table thead.dark-header tr {
    background-color: #D3D3D3;
}

.list-search-form {
    float: left;
}

#goto-page {
    width: 32px;
}

/* Option Mapping */
.mapping-container .element {
    border: 1px solid #000;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    margin: 5px 0;
    min-height: 50px;
}

.mapping-container .dragdrop {
    cursor: grab;
}

.mapping-container .ui-draggable-dragging {
    cursor: grabbing;
}

.mapping-container .additional-element {
    background-color: lightgray;
    width: 260px;
}

.sortable-placeholder {
    display: inline-block;
    background-color: grey;
    min-height: 40px;
    width: 100%;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
}

/*override chosen style to match bootstrap select */
.form-group .chosen-container-single .chosen-single {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-group .chosen-container-single .chosen-single div {
    position: absolute;
    top: 5px;
    right: 3px;
    display: block;
    width: 18px;
    height: 100%;
}

.form-group .chosen-container-single.chosen-with-drop.chosen-container-active .chosen-single {
    background-color: #fff;
    background-image: none;
}

/* order confirmation filter bar */
.filter-bar.panel {
    margin-bottom: 0;
}

/* marker */
.marker {
    padding: 3px;
    text-align: center;
}
.marker-red {
    background-color: #c9302c;
}

.font-marker-red {
    color: #c9302c;
    font-weight: bold;
}

.marker-dark-orange {
    background-color: #ff6921;
}

.font-marker-dark-orange {
    color: #ff6921;
    font-weight: bold;
}

.marker-green {
    background-color: #5cb85c;
}

.font-marker-green {
    color: #5cb85c;
    font-weight: bold;
}

.marker-dark-green {
    background-color: #318631;
}

.font-marker-dark-green {
    color: #318631;
    font-weight: bold;
}

.marker-border-green {
    border:2px solid #318631;
    background-color: #5cb85c;
}

.marker-yellow {
    background-color: #fffe04;
}
.font-marker-yellow {
    color: #fffe04;
    font-weight: bold;
}

.summary {
    font-weight: bold;
}

.summary .row {
    padding-bottom: 5px;
}

.container.summary {
    margin-top: 10px;
}

.form-element span {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    /*color: #555;*/
    background-color: #fff;
    background-image: none;
}

/* settings form elements */
.multi-select {
    max-height: 300px;
}

.textarea {
    max-width: 300px;
    max-height: 300px;
}

.grid .remove-input,
.grid .add-input {
    font-size: 28px;
}

.grid .remove-input {
    color: #c9302c;
}

.grid .add-input {
    color: #5cb85c;
}

.settings-group {
    border: 1px solid darkgrey;
}

.settings-group h3.settings-group-headline {
    margin: 1px;
    background-color: lightgrey;
    padding: 5px;
    cursor: pointer;
}

.settings-group-fields {
    padding: 5px;
}

.settings-field {
    clear: both;
    margin: 5px 0;
}

.setting-field-label,
.setting-field-input,
.setting-config-path{
    float: left;
}

/* Settings main*/
.settings-content-box {

}
.settings-content-box h3{
    border-bottom: 1px solid #e3e3e3;
}

.settings-menu {
    font-weight: bolder;
    font-size: 1.5em;
    cursor: pointer;
    float: right;
    padding: 25px;
    color: #337ab7;
}

.settings-menu,
.settings-menu ul {
    list-style: none;
    background-color: #f8f8f8;
}

.settings-menu ul {
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
}

.settings-menu li:hover > ul {
    display:list-item;
}

.settings-menu a {
    text-decoration: none;
}

/*message boxes*/
.message {
    padding: 5px;
    border: 2px solid;
    color: black;
}

.message-container {
    margin-top: 5px;
}
.message-container .error-message {
    background-color: #ff6466;
    border-color: #cf0000;
    color: #fff;
}

.message-container .success-message{
    background-color: #6eff60;
    border-color: #03cf26;
    color: #656565;
}

.message-container .warning-message {
    background-color: #cacaca;
    border-color: #656565;
    color: #656565;
}
.message-container .warning-message:before {
    display: block;
    content: '';
    background-image: url('images/warning.svg');
    background-size: cover;
    width: 20px;
    height: 20px;
}

.position.dragdrop .warning {
    background:url('images/warning.svg') left center no-repeat;
    background-size: 16px 16px;
    padding-left: 24px;
}

.position.dragdrop.ui-state-hover.ui-state-active {
    padding: 3px;
    background-color: #007fff;
}

.position.dragdrop.ui-state-hover {
    padding: 3px;
    background-color: #5cb85c;
}

.position.dragdrop.ui-draggable-dragging {
    padding: 3px;
    border: solid 1px black;
}


.position {
    cursor: pointer;
    z-index: 9002;
}

.message-container .warning-message p {
    padding-left: 20px;
    position: relative;
}

.message-container .notice-message {

}

.right {
    float: right;
}

.position-options {
    margin-left: 10px;
}
.position-options:hover > .options {
    display: block;
}

.position-options .options {
    position: absolute;
    z-index: 9003;
    top: 20px;
    display: none;
}

.position-options .options li {
    margin: 0;
    padding: 10px;
    width: 100%;
}
.position-options .options li:hover {
    background-color: lightgrey;
    cursor: pointer;
}

.mapping-container .element {
    font-size: 15px;
    line-height: 38px;
}

.mapping-container .element .glyphicon {
    line-height: 38px;
    float: right;
}
/** overlay */
.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9010;
}

.overlay-content {
    background: #fff none repeat scroll 0 0;
    bottom: 3%;
    display: inline-block;
    left: 10%;
    margin: 0 auto;
    position: absolute;
    right: 10%;
    top: 3%;
    width: auto;
    max-width: 800px;
    padding: 25px;
    overflow-y: scroll;
}

.overlay-control .close {
    width: 48px;
    height: 48px;
    background-color: black;
    color: white;
    font-size: 32px;
    line-height: 32px;
}

/* agent view and helper view in order confirmation listing*/
 .agent-view,
 .helper-view {
     float: right;
     margin-top: 10px;
     margin-bottom: 5px;
     background-color: #fff;
     border: 1px solid #ddd;
     border-radius: 4px;
     padding: 5px;
     line-height: 1.42857143;
 }
.agent-view .glyphicon,
.helper-view .glyphicon {
    font-size: 20px;
}

.helper-view .glyphicon {
    color: #5cb85c;
}

.agent-view:hover .agent-list {
    display: block;
}

.agent-list {
    display: none;
    list-style: none;
    padding: 5px;
    z-index: 10;
    background-color: white;
    position: absolute;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/*Infobox */
.help-box {
    position: relative;
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: inline-block;
}

.help-box.left {
    float: left;
}

.help-box.right::after,
.help-box.left::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.help-box .help-info-label {

}

.help-box .help-info-label.link {
    color: #337ab7;
    cursor: pointer;
}

.help-box:hover .help-info-text {
    display: block;
}

.help-info-text.left {
    left: -390px;
}


.help-box .help-info-text {
    background-color: white;
    border: 2px solid black;
    color: black;
    font-weight: normal;
    position: absolute;
    display: none;
    width: 400px;
    padding: 5px;
    z-index: 9009;
}