body {
     font-family: 'Open Sans', 'Segoe UI', 'Droid Sans', Tahoma, Arial, sans-serif;
 }

.navbar-nav > li > {
    border-top: none;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.inline {
    display: inline-block;
}

.inline-radio {
    display: inline-block;
    padding-right: 20px;
}

#map1 {
    width: 100%;
    height: 100%;
}

.report-title {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
}

.has-value > .Select-control > .Select-placeholder {
    width: 92%;
    overflow-x: hidden;
}

#perf-board-title {
    width: 100%;
    color: rgba(110, 133, 149, 0.9);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}

.board-elem {
    display: inline-block;
    text-align: center;
}

#perf-board-static {
    margin: auto;
}

#perf-board-report {
    display: table; margin: 0 auto;
    background-color: rgba(110, 133, 149, 0.9);
    color: #ffffff;
    padding: 5px;
    text-align: center;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border-radius: 4px;
}

#perf-board-report img {
    width: 80px;
    margin-top: -40px;
    display: inline-block;
}

.board-date-picker {
    width: 200px;
    display: inline-block;
}

#perf-board-date-range:not(table) {
    text-align: center;
    display: table;
    margin: 0 auto;
    background-color: rgba(110, 133, 149, 0.9);
    padding: 5px;
    padding-top: -10px;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border-radius: 4px;
    margin-bottom: 10px;
}

.popover-header {
    color: #ffffff;
    font-weight: bold;
    width: 100%;
    border-bottom: 1px solid white;
    padding-left: 7px;
    margin-top: -15px;
    text-transform: uppercase;
}

.popover-wrapper {
    width: 195px;
    margin-left: -24px;
}

.leaflet-popover-element {
    height: 77px;
    display: inline-block;
}

.leaflet-popover-element img {
    margin-top: -65px;
    height: 77px;
}

.leaflet-popup-content-wrapper {
    background: rgba(110, 133, 149, 0.9);
    padding: 5px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border-radius: 4px;
    margin-left: -100px;
    width: 195px;
    height: 110px;
}

.leaflet-popover-content {
    margin-top: 7px;
}

.leaflet-container a.leaflet-popup-close-button {
    color: white;
}

.leaflet-popup-tip {
    background: none;
}

.board-date-picker input {
    text-shadow: 0 3px 3px #000000;
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.2);
    background-clip: padding-box;
    line-height: 20px;
    text-align: center;
    border: 1px solid #555;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    background: #000;
    background-image: linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    background-image: -o-linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    background-image: -moz-linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    background-image: -webkit-linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    font-size: 15px;
    color: #eee;
    margin: 0;
    font-weight: bold;
    position: relative;
}

.validation-list-element {
    text-align: left;
}
.acceptance-widget-message {
    margin-top: 10px;
}

.user-form-modal-footer {
    height: 90px;
}

.blank-text {
    color: white;
}

.user-form-modal-footer ol {
    float: left;
    color: #a94442;
}

.user-form-modal-footer li {
    text-align: left;
}

.user-form-label {
    font-weight: bold;
    margin-top: 2px;
    line-height: 2.3;
}

#sites-popover {
    width: 200px;
}

.user-edit-action {
    font-size: 13px;
    cursor: pointer;
}

.acceptance-widget-panel {
    margin-top: 20px;
}

.user-edit-action .span {
    display: inline-block;
}

.user-form-element {
    padding-bottom: 50px;
}

.user-form-element .Select-control {
    padding: 6px 12px;
}

.user-form-element .Select-placeholder {
    padding: 6px 52px 8px 10px;
}

.btn-default.user-table-cog-button, .btn-default.user-table-cog-button:active {
    background-color: #4f5259;
    border-color: #4f5259;
    color: #fff;
}

.btn-default.user-table-cog-button:hover, .btn-default.user-table-cog-button:focus{
    background-color: #333;
    color: #fff;
    border-color: #333;

}

.bold {
    font-weight: bold;
}

.user-form-enable {
    padding-top: 20px;
}

.tag {
    font-size: 12px;
    padding: .3em .4em .4em;
    margin: 0 .1em;
}

.tag-block {
    margin-bottom: 4px;
    display: inline-block;
}

.users-pagination ul {
    margin-top: -20px;
    margin-bottom: -10px;
}

.tag a {
    color: #bbb;
    cursor: pointer;
    opacity: 0.6;
}
.tag a:hover {
    opacity: 1.0
}
.tag .remove {
    vertical-align: bottom;
    top: 0;
}
.tag a {
    margin: 0 0 0 .3em;
}
.tag a .glyphicon-white {
    color: #fff;
    margin-bottom: 4px;
}

.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.4;
}

.tooltip {
    margin-left: -100px;
}
.sites-popover {
    width: 200px;
}

.user-control-buttons {
    float: right;
}

.add-user-button {
    margin-left: 5px;
}

.popover-select {
    width: 150px;
}

.state-caption {
    width: 25px;
    height: 12px;
    border-radius: 2px;
    margin-right: 1px;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    font-size: 8px;
    color: #fff;
    opacity: 1;
    font-weight: bold;
}

.ugc-sites-message {
    color: #777;
    font-size: 12px;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body .login {
    font-family: 'Proxima Nova Regular', 'Segoe UI', Roboto, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif
}

#columns td {
    cursor: move;
}
#columns tr.placeholder td {
    color:red;
}

.columns-order li.placeholder {background: rgb(255,240,120);}
.columns-order li.placeholder:before {
    content: "Drop here";
    color: rgb(225,210,90);
}

.checkbox-inline.no_indent,
.checkbox-inline.no_indent+.checkbox-inline.no_indent {
    margin-left: 0;
    margin-right: 10px;
}
.checkbox-inline.no_indent:last-child {
    margin-right: 0;
}

.checkboxItem {
    font-size: 13px;
}

.views_buttons {
    padding: 10px;
}
.views_dropdown {
    margin-top: -1px;
}

.checkbox-block {
    display: inline-block;
}

.date-picker-controls {
    margin-left: -25px;
}

.date-picker-controls button {
    height: 37px;
}

.acceptance-date-picker input {
    height: 37px;
}

/* body > div is the body of this app */
body > div.main-app {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    background-color: #eee;
}

.sorting-modal select {
    width: 40%;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
}

.sorting-modal button {
    margin-top: -3px;
}

body > div.main-app .content {
    flex: 1;
    background-color: #fff;
}

#board-edit-menu {
    width: 100%;
}

#board-edit-title {
    padding-left: 13px;
    padding-top: 7px;
    display: inline-block;
    width: 50%;
}

#board-edit-title span {
    color: #656b79
}

#board-edit-title small {
    color: #22baa0;
    margin-left: 35px;
}

#sb-edit-mode {
    padding-top: 20px;
}

#sb-edit-mode table {
    border-collapse: collapse;
}
#sb-edit-mode table, #sb-edit-mode th, #sb-edit-mode td {
    border: 1px solid #EEEEEE;
    font-size: 10px;
    color: #656b79;
}

.table > tbody > tr > td{
    font-size: small;
}

#board-edit-buttons {
    display: inline-block;
    width: 50%;
    float: right;
}

/* Gray out disable checkbox's label. */
label.disabled {
    color: #ccc;
}

.flex > div {
    display: flex;
}

.right {
    float: right;
}

.slotting_board_period_header{
    font-weight: normal;
    line-height: 1;
    text-align: center;
    height: 50px;
    padding-top: 5px;
}

.slotting_board_period_header label {
    font-weight: bold;
    margin-top: 5px;
}

.user-control-search {
    float: right;
    margin-top: -3px;
    margin-right: 5px;
}

/* Contdonwn */

#CDT {
    font-size: 30px;
    color: #eee;
    margin: 0;
    font-weight: bold;
}

#CDT .number-wrapper {

    -moz-box-shadow: 0 5px 8px #000000;
    -webkit-box-shadow: 0 5px 8px #000000;
    box-shadow: 0 5px 8px #000000;
    position: relative;
}

#CDT .number {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    background: #000;
    background-image: linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    background-image: -o-linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    background-image: -moz-linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    background-image: -webkit-linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    background-image: -ms-linear-gradient(bottom, #000000 2%, #3c3c3c 50%, #000000 100%);
    -webkit-border-top-right-radius: 7px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topright: 7px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 0;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding: 0 12px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #555;
    -moz-box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.2);
    -moz-text-shadow: 0 3px 3px #000000;
    -webkit-text-shadow: 0 3px 3px #000000;
    text-shadow: 0 3px 3px #000000;
}

#CDT .line {
    position: absolute;
    width: 100%;
    height: 1px;
    top: 52%;
    left: 0;
    background: #000;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.caption {
    font-size: 12px;
    position: absolute;
    bottom: -30px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #777;
}

.customer-search-select {
    width: 300px;
    font-size: 0.9em;
    box-shadow: none;
    color: #333;
    margin-top: 3px;
}

.customer-search-select .Select-control {
    height: 29px;
}

.customer-search-select .Select-control .Select-placeholder {
    height: 26px;
    line-height: 26px;
    font-size: 0.9em;
}

.customer-search-select .Select-control .Select-input {
    height: 27px;
}

.customer-search-select .Select-control .Select-input input {
    height: 26px;
}

.customer-search-select .Select-control .Select-arrow-zone > .Select-arrow {
    border: none;
    color: #999;
    padding-right: 7px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.customer-search-select .Select-control .Select-arrow-zone > .Select-arrow:before {
    content: "\f002";
}

.customer-search-select .Select-option {
    font-size: 0.9em;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
    display: block;
    padding: 2px 4px;
}

.customer-search-select .Select-option:last-child {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.customer-search-select .Select-option.is-focused {
    background-color: #e6e6e6;
}

.customer-search-select .Select-noresults {
    box-sizing: border-box;
    color: #999999;
    cursor: default;
    display: block;
    padding: 2px 4px;
    font-style: italic;
}

.customer-search-select .Select-menu {
    max-height: 298px;
}

.customer-search-select .Select-menu-outer {
    max-height: 300px;
}

.customer-search-select.is-focused:not(.is-open) > .Select-control {
    border-color: #999999;
    box-shadow: none;
}

.margins {
    padding: 0;
    height: 100%;
    display: flex;
    position: relative;
}

@media (max-width: 767px) {
    .margins {
        font-size: 9px;
    }
}

.margins .margins-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

.margins .profit-margin-box {
    height: 100%;
    flex: 1;
}