@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

html,
body {
    height: 100%;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

a {
    color: #0284C7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h1.page-title {
    padding: 12px 0 12px;
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
}

.btn {
    border-radius: 0;
}

.btn-success {
    background-color: #059669;
    border-color: #047857;
}

.btn-info {
    background-color: #0284C7;
    border-color: #0369A1;
}

.btn-warning {
    background-color: #EAB308;
    border-color: #CA8A04;
}

/*------------------------------------*\
    #GLOBAL
\*------------------------------------*/

.devmode {
    width: 100%;
    height: 5px;
    background: transparent url('/images/dev-mode.svg') repeat-x;
    position: fixed;
    top: 0;
    z-index: 2000;
}

.lead {
    font-weight: normal;
    margin: 24px 0;
    padding: 0;
}

/*------------------------------------*\
    #REPORT
\*------------------------------------*/


.filter-container {
    background-color: #eee;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-bottom: 0;
}

.filter-container .form-group {
    margin-bottom: 0;
}

.data-container {
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 12px;
}

.data-container .throbber {
    text-align: center;
    padding: 96px;
    color: #ccc;
    font-size: 2rem;
    font-weight: bold;
}

.data-container .throbber .fa {
    margin-bottom: 12px;
}

.data-container .table-responsive {
    min-width: 100%;
    max-width: 100%;
}

.data-container .no-data {
    text-align: center;
    padding: 96px;
    color: #ccc;
    font-size: 2rem;
    font-weight: bold;
}

.data-container tfoot td {
    text-align: center;
    font-weight: bold;
    background-color: #eee;
    padding: 12px 8px !important;
}

.data-container tfoot td:first-child {
    text-align: left;
}

/*------------------------------------*\
    #FRONT
\*------------------------------------*/

.front__option-heading {
    font-size: 1.8rem;
    background-color: #0284C7;
    color: #fff;
    padding: 8px;
    margin-bottom: 0;
}

.front__option-list {
    list-style-type: none;
    margin: 0 0 30px 0;
    padding: 30px 10px 0 10px;
    background-color: #eee;

}

.front__option-list li {
    margin: 0 auto 30px;
}

.front__option {
    display: block;
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.front__option:hover {
    text-decoration: none;
    color: #111;
}

.front__option .fa {
    display: block;
    font-size: 400%;
    margin: 0 0 10px;
}

.front__heading {
    margin: 10px 0 1rem 0;
    padding: 5px;
    background: #eee;
    color: #333;
}

.front__content {
    margin: -1px 0 0 0;
    padding: 6px;
    border: 1px solid #eee;
    border-bottom: 4px solid #eee;
}

.front__content.done a {
    color: green;
}

.front__content .lead {
    margin: -6px -6px;
}

.front__username {
    margin: 0;
    font-size: 18px;
}

.front__username span {
    display: block;
}

.front__planning {}

.front__planning-route {
    display: block;
    padding: 1rem;
    font-size: 2rem;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 2px;
    margin: 4px 0;
    text-align: center;
}

.front__planning-item {
    display: block;
    padding: 6px;
    color: red;
}

.front__planning-item--finished {
    color: darkgrey;
}

.front__planning-item--shipped {
    color: green;
}


.front__planning-item--finished:hover,
.front__planning-item--finished:active,
.front__planning-item--finished:link,
.front__planning-item--finished:focus {
    color: green;
}

.front__planning-item .front__planning-item-times {
    color: #aaa;
    font-weight: normal;
    display: block;

}

.front__planning-datepicker {
    margin: 10px 0 1rem;
    padding: 10px;
    background: #efefef;
    border-bottom: 3px solid #ddd;
    font-size: 120%;
}

.front__planning-datepicker a {
    padding: 5px 15px;
    background: #fff;
    margin: -4px;
    display: inline-block;
}

.planning__finish-button {
    margin: 20px 0 0 0;
}

.planning--has-discrepancy,
.planning--has-discrepancy a {
    font-weight: bold;
}

.location__information-heading {
    display: block;
    margin: 16px 0 0 0;
    padding: 3px;
    border-bottom: 2px solid #ccc;
}

.location__information-icon {
    margin: 6px;
    font-size: 130%;
}

.location__information-content {
    background: #fafafa;
    padding: 6px;
}

.planning__driver-overview p {
    margin-bottom: 0;
}


.planning__driver-overview hr {
    margin: 9px 0 10px;
}

/*------------------------------------*\
    #PICKING
\*------------------------------------*/

.picking__heading {
    text-align: center;
    font-size: 140%;
    margin-top: 20px;
}

.picking__submit {
    margin-top: 30px;
}

.picking-row {
    display: flex;
    align-items: stretch;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.picking-row__title {
    font-weight: bold;
    font-size: 1.8rem;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 0 0 1rem;
}

.picking-row .form-group {
    margin: 0;
    width: 100%;
}

.picking-row__units {
    display: flex;
    gap: 1rem;
}

.picking-row__unit-heading {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
    margin: 0;
}

.picking-row .help-block {
    margin: 0;
}

/*------------------------------------*\
    #MODALS
\*------------------------------------*/

.modal h2,
.modal h3,
.modal h4,
.modal h5,
.modal h6 {
    margin: 0;
}


/*------------------------------------*\
    #ASSETS
\*------------------------------------*/

.asset__upload-preview {
    width: 150px;
    height: auto;
}

.file-drop-zone-title {
    padding: 30px 10px;
    font-size: 140%;
    font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

/* TOPNAV */
.navbar-brand {
    font-weight: bold !important;
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav>li>a {
    color: #fff;
    font-weight: 400;
}

.navbar-nav li li .glyphicon {
    margin: 0 6px 0 0;
    color: #bbb;
}

.summary {
    margin: 10px 0 10px 0;
    color: #bbb;
    float: right;
}

/* MESSAGES */
.message-container {
    position: fixed;
    z-index: 2000;
    width: 400px;
    right: 30px;
    top: 80px;
}

/* TABLES */

.column--actions {
    min-width: 50px;
}

.btn+.btn,
.btn+div+.btn {
    margin-right: 6px;
}

/* APPROVE */
.approve__resource {
    background: #fafafa;
    padding: 20px;
    margin: 0 0 20px 0;
    border: 2px solid #ddd;
}

.approve__resource>h4 {
    margin: -20px -20px 20px -20px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 20px;
}

.approve__resource .table {
    margin-bottom: 10px;
    background-color: #fff;
}

.approve__resource .table th {
    font-weight: 700;
}

.approve__weektotal {
    margin: 20px -20px -20px -20px;
    background: #fff;
    border-top: 1px solid #ddd;
}

.approve__weektotal-item {
    padding: 12px;
    line-height: 34px;
}

.approve__weektotal--hours {
    font-weight: 700;
    font-size: 160%;
}

/* FORMS */
.form-group {
    margin: 0 0 24px 0;
}

.form-control {
    border-radius: 0;
}

.hint-block {
    margin: -3px 0 10px 0 !important;
}

/* FRONT */
.front-view .panel-body {
    padding: 0;
}

.front__registration {
    padding: 16px 8px;
    border-bottom: 1px solid #efefef;
}

.glyphicon-spin {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap>.container {
    padding: 60px 15px 120px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content:
        /*"\e113"*/
        "\e151";
}

a.desc:after {
    content:
        /*"\e114"*/
        "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
