html {
    overscroll-behavior: none;
}

button,
.button,
input[type='submit'] {
    background-color:#082F67;
    border-color:#082F67;
    margin-bottom:0;
    font-size: 1.4rem;
}

button:hover,
.button:hover,
.button:focus,
input[type='submit']:hover,
button[disabled]:hover,
.button[disabled]:focus,
.button[disabled]:hover {
    background-color: #01438e;
    border-color: #01438e;
}

input[type='email']:focus,
input[type='number']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='tel']:focus,
input[type='text']:focus,
input[type='url']:focus,
textarea:focus,
select:focus {
    border-color:#082F67;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.hidden{
    display:none;
}

.required{
    color:#082F67;
}

select {
    color:rgb(96, 108, 118);
}

legend {
    display:block;
    width:100%;
    border-bottom:1px solid rgb(96, 108, 118);
    margin-bottom: 2rem;
    font-size: 2rem;
}

a {
    color:#082F67;
}

.green,
.green_no_hover {
    color:#3bc000!important;
}
.green_bg {
    background-color:#3bc000!important;
}
.green_bd {
    border-color:#3bc000!important;
}

.green:hover {
    color:#319206!important;
}

.green_no_hover:hover {
    color:#3bc000!important;
}

.green_bg:hover {
    background-color:#319206!important;
}
.green_bd:hover {
    border-color: #319206!important;
}

.red,
.red_no_hover {
    color:red!important;
}

.red:hover {
    color:darkred!important;
}

.red_no_hover:hover {
    color: red!important;
}

.red_bg,
.red_no_hover_bg {
    background-color: red;
}

.red_bg:hover {
    background-color: darkred;
}

.red_no_hover_bg {
    background-color: red;
}

.yellow {
    color:orange;
}

.grey {
    color:#606c76!important;
}

.lightblue {
    color:#86e6fe!important;
}

.pointer {
    cursor:pointer;
}

i.fa-exclamation-triangle {
    color:orange;
}

select:focus {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%23082F67" d="M0,0l6,8l6-8"/></svg>');
}

#header {
    background:#082F67;
    box-sizing: border-box;
    padding: 1rem 2rem;
    position: relative;
}

#export_options {
    display:none;
}

#export_options form {
    margin-bottom: 0;
    margin-top: 1.5rem;
}
#export_options input {
    width:auto;
    display:inline;
}

#popup {
    display:none;
    width: 400px;
    position: absolute;
    top: 30%;
    left: 50%;
    border: 1px solid #082F67;
    margin-left: -200px;
    border-radius: 5px;
    background: white;
    padding: 2rem;
}

.section_switcher {
    display: inline-block;
}

.section_switcher a.active {
    text-decoration: underline;
}

section.content {
    box-sizing: border-box;
}

#edit_product,
#edit_order,
#edit_blacklist,
#edit_settings,
#edit_user,
#add_to_queue {
    padding-top: 5rem;
}

.settings_group {
    cursor: pointer;
}

.button_action {
    margin-bottom: 1.5rem;
}

.toolbar {
    background:#eee;
    padding: 1rem 2rem;
    position:relative;
    min-height:45px;
}

.search_active_note {
    display: inline-block;
    float: right;
    margin-right:3rem;
}

#total_label_box .total_label {
    font-weight: bold;
}

.content .inner_content table tbody tr:nth-child(odd) {
    background: #f6f6f6;
}

.content .inner_content {
    padding:1rem 0 0;
}

.content .inner_content td:first-child,
.content .inner_content th:first-child{
    padding-left:2rem;
}

.inner_content td:last-child,
.inner_content th:last-child{
    padding-right:2rem;
}

.content .inner_content table {
    margin-bottom:0;
}

.separator {
    margin: 0 1rem;
}

.logo_box {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5rem;
}

.logo_box img{
    height: 5rem;
}

.right_section {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
}

.search_section,
.process_section,
.settings_section,
.user_section,
.add_to_queue_section,
.entry_info_section {
    display:inline-block;
}

.process_section {
    display: none!important;
}

.search_section .fa-search,
.search_section .fa-times,
.process_section .fa-play-circle,
.settings_section .fa-cogs,
.user_section .fa-user,
.add_to_queue_section .fa-plus-circle,
.entry_info_section .fa-info-circle {
    color:white;
    cursor: pointer;
    padding-right: 2rem;
}

.process_section .fa-spinner {
    padding:0;
    color:white;
}

.process_section .fa-spinner-box {
    padding-right: 2rem;
}

.search_box,
.settings_box,
.add_to_queue_box,
.entry_info_box {
    display:none;
    position: absolute;
    z-index: 2;
    background: white;
    border:1px solid #082F67;
    padding: 2rem;
    right: 90%;
    max-width: 400px;
    margin-top: 1rem;
    border-radius: 0.4rem;
}

.search_box {
    right: 60%;
}

.settings_box {
    right:55%;
}

.add_to_queue_box {
    right:65%;
    white-space: nowrap;
}

.entry_info_box {
    right:70%;
}

.search_box select,
.search_box input,
.entry_info_box select,
.entry_info_box input {
    width: 250px;
    color:rgb(96, 108, 118);
    padding: 0 0 0 1rem;
}

.search_box input[type="submit"],
.entry_info_box input[type="submit"] {
    color:white;
}

.search_box form,
.entry_info_box form {
    margin-bottom: 0;
}

#reset_search {
    color:white;
}

.settings_box a,
.add_to_queue_box a {
    margin-bottom: 2rem;
    display: block;
}

.settings_box p,
.add_to_queue_box p {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgb(96, 108, 118);
}

#order_creation_box a{
    width:100%;
}

.last_button {
    margin-bottom: 0!important;
}

.header_message {
    background: #01438e;
    color: white;
    padding: 1rem;
    border-radius: 0.4rem;
}

.message {
    background: #01438e;
    padding: 1rem;
    margin: 1rem 0;
    color:white;
}

.settings_group,
.product_group {
    background: #eee;
    padding: 1rem;
    border-radius:0.4rem;
    margin-top: 5rem;
}

.settings_group {
    margin-top:0;
}

.settings_group_content {
    margin-bottom: 5rem;
}

.qr_code_box img {
    margin-top:0.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.log_viewer_swal {
    width: 90%;
}

p.no-products-label,
p.no-declined-label,
p.no-download-label,
p.no-queue-label,
p.no-blacklist-label,
p.no-completed-label {
    margin-left:2rem;
}

#create_record label {
    font-weight: 400;
}

.retoure_box {
    padding: 1.5rem;
    text-align: right;
}

#is_retoure {
    width: auto;
    margin: 0;
    padding:0;
    height:auto;
    border:0;
}

/**
 * Dashboard
 */
#chart_header {
    background: #082F67;
    padding: 2rem;
    border-top-left-radius: .4rem;
    border-top-right-radius: .4rem;
}

#chart_header_text {
    color: #fff;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    height: 3.8rem;
    letter-spacing: .1rem;
    line-height: 3.8rem;
    padding: 0 3.0rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 1.4rem;
}

#chart_box {
    padding: 3rem;
}

#chart {
    height:500px!important;
}

.dashboard_placeholder {
    height:100px;
    background-color: white;
}

/**
 * Pagebrowser
 */
#pagebrowser {
    position: absolute;
    top: 1rem;
    right: 2rem;
}
#pagebrowser .overview {
    margin-right: 2rem;
}
#pagebrowser span.first_page,
#pagebrowser span.last_page {
    margin: 0 1rem;
}

/**
 * Flatpickr
 */
/*noinspection CssUnusedSymbol,CssUnusedSymbol*/
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background:#082F67;
    border-color: #082F67;
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
    -webkit-box-shadow: -10px 0 0 #ccc;
    box-shadow: -10px 0 0 #ccc;
}

/**
 * Toggle switch
 */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 1s;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* Swal library */
.swal-button {
    line-height: 1.15;
    background-color:#3bc000;
}

.swal-button:hover,
.swal-button:not([disabled]):hover {
    background-color:#3bc000;
}

.swal-icon--info:after,
.swal-icon--info:before {
    background-color: #082F67;
}

.swal-icon--info {
    border-color: #082F67;
}

.swal-button--cancel {
    color: #555;
    background-color: #efefef;
}

.swal-button--cancel:hover,
.swal-button--cancel:not([disabled]):hover {
    color:#555;
    background-color:#efefef;
}

/* Badges */
.button_has_badge {
    position:relative;
}
.action_badge {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    color: white;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    line-height: 16px;
    border: 2px solid white;
}

.message_download_label,
.message_download_label:hover{
    color:white;
    font-weight: bold;
}

.message_download_label:hover{
    text-decoration: underline;
}


/**
 * Transitions
 */
.expand-transition {
    transition: all 2.3s ease;
    height: 30px;
    padding: 10px;
    background-color: #eee;
    overflow: hidden;
}

.expand-enter, .expand-leave {
    height: 0;
    padding: 0 10px;
    opacity: 0;
}

.slide-fade-enter-active {
    transition: all .3s ease;
}
.slide-fade-leave-active {
    transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to
    /* .slide-fade-leave-active below version 2.1.8 */ {
    transform: translateX(10px);
    opacity: 0;
}