body {
    color: #2b2b2b;
    background: #03243e;
    /* font-family: 'Martel_Sans'; */
    font-weight: 500;
    font-size: 1.3rem;
    position: relative;
    height: 110%;
}

body:before {
    background-image: url(/img/valiant-bg.png);
    content: " ";
    width: 505px;
    position: fixed;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    height: 385px;
}

header {
    background-color: #06395d !important;
    background-image: -webkit-gradient(
        linear,
        0 0,
        0 100%,
        from(#021f34),
        color-stop(95%, #021f34),
        to(#020e17)
    ) !important;
    background-image: -webkit-linear-gradient(
        #06395d,
        #021f34 95%,
        #020e17
    ) !important;
    background-image: -moz-linear-gradient(
        top,
        #06395d,
        #021f34 95%,
        #020e17
    ) !important;
    background-image: -o-linear-gradient(
        #06395d,
        #021f34 95%,
        #020e17
    ) !important;
    background-image: linear-gradient(#06395d, #021f34 95%, #020e17) !important;
    background-image: linear-gradient(#06395d, #021f34 95%, #020e17) !important;
}

.navbar-default {
    background: #03243e;
}

.logo img {
    max-width: 150px;
}

@font-face {
    font-family: "Martel_Sans";
    src: url("/fonts/Martel_Sans/MartelSans-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Martel_Sans";
    src: url("/fonts/Martel_Sans/MartelSans-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Martel_Sans";
    src: url("/fonts/Martel_Sans/MartelSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Martel_Sans";
    src: url("/fonts/Martel_Sans/MartelSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Martel_Sans";
    src: url("/fonts/Martel_Sans/MartelSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Martel_Sans";
    src: url("/fonts/Martel_Sans/MartelSans-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Martel_Sans";
    src: url("/fonts/Martel_Sans/MartelSans-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

.top-bar {
    margin: 0;
    padding: 8px 20px;
    background-color: #1477b6;
    background-image: -webkit-gradient(
        linear,
        0 0,
        0 100%,
        from(#1477b6),
        color-stop(85%, #1477b6),
        to(#0063a200)
    );
    background-image: -webkit-linear-gradient(#1477b6, #1477b6 85%, #0063a200);
    background-image: -moz-linear-gradient(
        top,
        #1477b6,
        #1477b6 85%,
        #0063a200
    );
    background-image: -o-linear-gradient(#1477b6, #1477b6 85%, #0063a200);
    background-image: linear-gradient(#1477b6, #1477b6 85%, #0063a200);
}

.navbar-default .navbar-nav > .active > a {
    background: #1376b6;
}

footer {
    background: #f1f1f1;
    font-size: 1rem;
    color: #03243e;
}

.navbar-nav {
    font-weight: 600;
}

footer span {
    color: #143f6d;
}

.navbar-default .navbar-nav > li > a {
    color: #03243e;
}

.top-bar .page-title h4 {
    font-weight: 200;
    font-size: 1.3rem;
}

.alert {
    border-radius: 5px;
    font-size: 1.2rem;
}

.alert-info {
    color: #05abc8;
    font-size: .8rem;
    background-color: #b5f6fe !important;
    border: 1px solid #a0e1e9 !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #2b2b2b;
    line-height: 30px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #cce2ed;
    border-radius: 5px;
    height: calc(1.5em + 0.5rem + 2px);
    width: 100%;
}

.select2-results__option:hover {
    background-color: #f1f2f985;
}

.select2-container {
    width: 100% !important;
}

.mt-5 {
    margin-top: 5rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border-top: 1px solid rgb(204 226 238);
}

/* label {
    font-weight: 600;
    font-size: 1.1rem;
} */

/* .btn {
    border-radius: 5px;
    font-size: 1.3rem;
} */

#placement-trail ul {
    color: #fff;
}

#placement-trail ul li {
    display: inline;
    /* text-transform: uppercase; */
    font-size: .9rem;
}

#placement-trail ul li:not(:last-child):after {
    content: "•";
    margin: 0 0.5rem;
}

#placement-trail ul li a {
    color: #ffffff;
    text-decoration: underline;
    opacity: 1;
    transition: all 0.5s ease;
}

#placement-trail ul li a:hover {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.5s ease;
}

.turbolinks-progress-bar {
    height: 3px;
    background-color: #f69e1a;
}

.table {
    border: 1px solid #d8d8d8;
    font-weight: 300;
}

.pagination {
    display: inline-flex;
}

.btn-secondary {
    background-image: linear-gradient(#f2f2f2, #ffffff 85%, #cccccc7a);
    background-repeat: no-repeat;
    border-color: #d9d7d7;
    color: #525355;
    transition: all 0.5s ease;
}

.btn-secondary:hover {
    background-image: linear-gradient(#e7e7e7, #ffffff 85%, #cccccc00);
    background-repeat: no-repeat;
    border-color: #d9d7d7;
    color: #6d7c87;
    transition: all 0.5s ease;
}

.action-btn {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.form-control {
    border-radius: 5px;
    color: #3a3a3a;
    font-size: 1.3rem;
    border: 1px solid #dee2e6;
}

hr {
    border-color: #dee2e6 !important;
}

.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline {
    font-size: 1rem;
}

.alert-success {
    color: #0e6812;
    background-color: #74d8003b;
    border-color: #a4c282;
}

.alert-danger {
    color: #c63737 !important;
    background-color: #ff8b8b45 !important;
    border: 1px solid #ffb6b6 !important;
    font-size: .8rem !important;
}

.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content {
    overflow: hidden;
}

.jconfirm .jconfirm-box-container {
    width: auto;
    max-width: 45rem;
}

.list-actions {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.list-actions button {
    margin-bottom: 1rem;
    color: #03243e;
}

.list-actions i {
    display: block;
    margin-bottom: 0.5rem;
}

.card {
    display: block;
    margin-bottom: 1.5rem;
    border-color: #edf2f9;
    box-shadow: 0 0.75rem 1.5rem #03243e29;
    border-radius: 5px;
    margin-bottom: 3rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 2rem;
    background-color: #fff;
}

.card-header {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    align-items: center;
    min-height: 3.75rem;
    padding: 1rem 2rem;
    background-color: #1578b6;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card-header .title {
    color: #fff;
    margin: 0;
    font-weight: 100;
}
/* 
.table>thead>tr>th {
    border-bottom: 2px solid #03243e52;
    font-weight: 600;
    background: #fbfbfbf0;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #606060;
    border-top: 1px solid #03243e52 !important;
    padding: 0.5rem 1rem;
}

.table.custom-table {
    border: none;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 8px 1rem;
}

.custom-table .table-actions {
    justify-content: left;
}

.custom-table .table-actions a {
    margin: 0;
    margin-right: 3px;
} */

.warehouse-route li {
    display: inline;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 600;
}

.warehouse-route li:not(:last-child):after {
    content: "\f0da";
    font-family: FontAwesome;
    font-size: 0.9rem;
    color: grey;
    margin: 0 0.5rem;
}

.warehouse-route li a {
    color: #5d5d5d;
    background-color: #fafafa;
    padding: 0.2rem 0.9rem;
    border: 1px solid #d3cdcd;
    border-radius: -2px;
    width: auto;
    font-size: 1rem;
}

.warehouse-route {
    padding: 0.5rem;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background: #f7fcff;
}

.cmodal-backdrop {
    background-color: #ffffffed;
    opacity: 1;
    width: 100%;
    height: 100%;
    position: absolute;
}

:root {
    --animate-duration: 500ms;
}

.full-width {
    width: 100%;
}

.aux-link {
    font-weight: 600;
    color: #ff9800;
    text-decoration: revert;
    font-size: 1.2rem;
    transition: all 0.5s ease;
}

.aux-link:hover {
    color: #d68e23;
    transition: all 0.5s ease;
}

.custom-table .form-group {
    margin-bottom: 0;
}

.custom-table .valign-middle {
    vertical-align: middle !important;
}

.l-container {
    z-index: 999999999;
    position: fixed;
    top: 0;
    background-color: #ffffffd6;
    height: 100%;
    width: 100%;
    left: 0;
    align-items: center;
    display: flex;
}

.lds-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: auto;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #06395d;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.ml-0 {
    margin-left: 0 !important;
}

.tree {
    margin: 2% auto;
    width: 100%;
}

.tree ul {
    display: none;
    margin: 4px auto;
    margin-left: 6px;
    border-left: 1px dashed #c0c0c0;
}

.tree li {
    padding: 5px 18px;
    cursor: pointer;
    vertical-align: middle;
    background: #fff;
}

.tree li:first-child {
    border-radius: 3px 3px 0 0;
}

.tree li:last-child {
    border-radius: 0 0 3px 3px;
}

.tree label {
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 300;
    color: #03233e;
}

.tree input[type="checkbox"] {
    margin: -2px 6px 0 0px;
}

.has > label {
    color: #03233e;
}

.tree .total {
    color: #ff9800;
}

.alert-warning {
    color: #f39100;
    background-color: #ffd4002b;
    border-color: #ffd778;
}

.checkbox input[type="checkbox"]:checked + label::after {
    border: 3px solid #03a9f4;
    border-top: none;
    border-right: none;
}

.radio label::after {
    background-color: #03a9f4;
}

.nm-i i {
    margin: 0 !important;
}

.w-50 {
    width: 50%;
}

.d-flex {
    display: flex;
}

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

.m-auto {
    margin: auto !important;
}

.photos-box {
    display: inline-block;
    width: 9rem;
    /* margin-right: 1rem; */
    border: 1px solid #e5ecf1;
    padding: 1.2rem;
    position: relative;
    height: 100%;
}

.pbox {
    flex-wrap: wrap;
}

.photos-box .controls {
    position: absolute;
    bottom: 15px;
    right: 4px;
}

.input-to-text {
    background: none !important;
    border: none !important;
    outline: none !important;
    font-family: monospace;
}

.label-separator {
    text-transform: uppercase;
    /* margin-bottom: 1rem; */
    color: white;
    font-weight: 600;
    border: 1px solid #2092da;
    background-color: #2092da;
    padding: 0.2rem 0.2rem 0rem 0.2rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.important-box {
    background-color: #f7f7f7;
    border: 1px solid #eae8e8;
}

.amount {
    display: block;
    position: relative;
    font-size: 30px;
    font-weight: 700;
    font-family: Roboto, sans-serif;
    color: #303e67;
}

.amount.amount-border::after {
    content: "";
    position: absolute;
    height: 6px;
    background-color: rgba(255, 159, 67, 0.6);
    top: 32px;
    width: 100%;
    right: 0;
    border-radius: 30px;
    -webkit-transform: rotate(-5deg);
    transform: rotate(-5deg);
}

.box-totales {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 2rem;
}

.box-totales .total-item {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0.5rem;
    color: #2e343c;
}

.box-totales .total-item .total-decription {
    text-align: left;
    width: 60%;
    font-weight: 700;
}

.box-totales .total-item .total-amount {
    text-align: right;
    width: 40%;
    font-family: monospace;
}

.paper-cut:after {
    content: " ";
    display: block;
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 36px;
    background: -webkit-linear-gradient(#ffffff 0%, transparent 0%), -webkit-linear-gradient(135deg, #ffffff 33.33%, transparent 33.33%) 0 0%, #ffffff -webkit-linear-gradient(45deg, #ffffff 33.33%, #f7f7f7 33.33%) 0 0%;
    background-repeat: repeat-x;
    background-size: 0px 100%, 14px 27px, 14px 27px;
}

.only-border-top-1 {
    border-width: 1px 0px 0px 0px;
}

.min-w-7 {
    min-width: 7rem
}

.selected-option, .selected-option:active, .selected-option:focus {
    color: #ffffff;
    background-color: #00BCD4 !important;
    border-color: #00BCD4 !important;
}

.inline-radio-buttons {
    flex-direction: row;
    display: flex;
}

.inline-radio-group {
    margin-right: 1rem;
}

.header-actions > li:hover > a, .header-actions > li:focus > a {
    background: #46050500;
}

.form-control-sm {
    font-size: 0.875rem !important;
}

.main-alert {
    color: #1674af;
    background-color: #ecf7ff;
    padding: 2rem;
    border: 1px solid #c9e0f2;
    border-radius: 8px;
}

.page-header {
    border-radius: 5px 3px 0 0;
    border-top-left-radius: 0;
}

.hka-box:before {
    background-image: url(/img/hka_logo.jpg);
    background-size: cover;
    background-position: center;
    opacity: .1;
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
}

.hka-box {
    position: relative;
}

.hka-box .text-muted {
    color: #3d6679 !important;
}