:root {
    --primary_bg_color: #4c854b;
    --primary_text_color: #ffffff;
    --secondary_bg_color: #64a446;
    --secondary_text_color: #ffffff;
    --alpha_bg_color: rgb(204, 50, 50, 0.25);
    --alpha_text_color: #000000;
    --cancel_bg_color: #d64242;
}

body {
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    font-family: 'Lato', sans-serif;
}
.title {
    margin-bottom: 40px;
}

.output-padding {
    padding-top: 0px;
    padding-bottom: 0px;
}

.output-margin {
    margin-top: -2px;
    margin-bottom: 0px;
}

label {
    color: #999999;
    font-weight: normal;
}
.labelTitle {
    color: #333333;
    font-weight: 600;
}
textarea {
    resize: none;
}
.datepicker table tr td.active.active,
.datepicker table tr td span.active.active {
    background-color: var(--primary_bg_color) !important;
}

.datepicker table tr td.today {
    background-color: var(--alpha_bg_color);
}

.datepicker table tr td.today:hover {
    background-color: var(--primary_bg_color) !important;
    color: var(--primary_text_color) !important;
}

.btn-send {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.btn-date {
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.text-primary {
    color: var(--primary_bg_color);
}

.scantitle {
    margin-bottom: 0px;
    margin-top: 0px;
}

.clockpicker-tick:active {
    background-color: var(--primary_bg_color);
    color: var(--primary_text_color);
}

.clockpicker-tick:focus {
    background-color: var(--primary_bg_color);
    color: var(--primary_text_color);
}

.clockpicker-tick:hover {
    background-color: var(--alpha_bg_color);
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: var(--primary_bg_color);
    color: var(--primary_text_color);
}

.clockpicker-canvas-bearing,
.clockpicker-canvas-fg {
    stroke: none;
    fill: var(--alpha_bg_color);
}

.clockpicker-canvas-bg {
    stroke: none;
    fill: var(--alpha_bg_color);
}

.clockpicker-canvas-bg-trans {
    fill: var(--alpha_bg_color);
}

.clockpicker-canvas line {
    stroke: var(--alpha_bg_color);
    stroke-width: 1;
    stroke-linecap: round;
    /*shape-rendering: crispEdges;*/
}

.btn-custom {
    background-color: var(--primary_bg_color);
    border-color: var(--primary_bg_color);
    color: var(--primary_text_color) !important;
}

.btn-cancel {
    background-color: var(--cancel_bg_color);
    border-color: var(--cancel_bg_color);
    color: var(--primary_text_color) !important;
}

.card-header-custom {
    background: linear-gradient(0deg, var(--secondary_bg_color), var(--primary_bg_color)) !important;
}

.imgInModalPortrait {
    max-width: 60%;
    max-height: 400px;
}

.imgInModalLandscape {
    max-width: 90%;
}

.footer {
    position: relative;
    margin-top: -150px; /* negative value of footer height */
    height: 150px;
    clear: both;
    padding-top: 0px;
}

.custom_icon {
    height: 1em;
    width: 1em;
}

.dropdown-noclick {
    position: relative;
    width: auto;
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    color: #333;
    font-weight: normal;
    text-decoration: none;
    font-size: 0.8125rem;
    border-radius: 0.125rem;
    margin: 0 0.3125rem;

    min-width: 7rem;
    padding: 0.625rem 1.25rem;
    overflow: hidden;
    line-height: 1.42857143;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.card-plain .card-header:not(.card-avatar) {
    margin-left: 10;
    margin-right: 10;
}

@media screen and (max-width: 768px) {
    .bckgrnd {
        max-height: 180px;
    }

    .btn-add {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        padding: 17px 16px;
        border-radius: 30px;
        text-align: center;
    }

    .addText::before,
    .addTextBemesting::before,
    .addTextBemestData::before,
    .addTextFormulier::before {
        content: '';
    }

    .addIcon {
        font-size: 24px !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    #teeltplanAddBtn {
        display: none;
    }

    #opmerkingen {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .bckgrnd {
        max-height: 180px;
    }

    .addText::before {
        content: 'Teelt';
        font-size: 12px;
    }

    .addTextBemesting::before {
        content: 'Product';
        font-size: 12px;
    }

    .addTextBemestData::before {
        content: 'Bemesting';
        font-size: 12px;
    }

    .addTextFormulier::before {
        content: 'Formulier';
        font-size: 12px;
    }

    .extraTeeltInfo {
        display: none;
    }

    .addIcon {
        font-size: 1.1rem;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    #opmerkingen {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .bckgrnd {
        max-height: 260px;
    }

    .opmerking-mobile {
        display: none;
    }

    #opmerkingen {
        display: block;
    }

    .navbar-menu-text {
        display: none;
    }
}

@media screen and (min-width: 1200px) {
    .bckgrnd {
        max-height: 260px;
    }

    .navbar-menu-text {
        display: inline-block;
    }
}

.btn-add {
    color: white !important;
    font-weight: 900;
    margin-bottom: 20px;
}

.form-check .form-check-label {
    color: #3c4858;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
}

.dropdown-custom:hover {
    background-color: var(--primary_bg_color) !important;
}

.vert-center {
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.fruitIcon {
    width: 20px;
    height: 20px;
}

.form-check .form-check-label {
    position: unset;
}

.alert-custom {
    color: red;
}

.textnotcenter {
    text-align: left;
}

.productTitel {
    font-weight: 600;
}

#selectEenheid {
    max-height: 30px;
}

input[type='date']::-webkit-calendar-picker-indicator {
    margin-left: 0px;
}

.extraTeeltInfo {
    position: absolute !important;
    padding: 0rem 0rem 0rem 0.9375rem !important;
}

.bold {
    font-weight: bold;
}

.signup-input {
    width: -webkit-fill-available;
    margin-bottom: 10px;
}

.signup-category {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.signup-label {
    margin-bottom: 2px;
    display: block;
    color: #3c4858;
    font-weight: 300;
}

.signup-title {
    color: #3c4858;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Roboto Slab', 'Times New Roman', serif;
    margin-top: 30px;
    min-height: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.collapse-teelt {
    width: 100%;
    padding-bottom: 3px;
    border-bottom: 1.5px solid #3c4858;
    color: #3c4858;
}

.teelt-row {
    margin-bottom: 10px;
}

.signup-btn {
    background-color: #3c4858;
    border-color: #3c4858;
}

.signup-btn-secondary {
    background-color: #6a9639;
    border-color: #6a9639;
}

.right {
    float: right;
}

.product-example {
    opacity: 0.6;
}

.clickable-a {
    vertical-align: middle;
    color: #607d8b;
    cursor: pointer;
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid -internal-light-dark(rgb(118, 118, 118), rgb(133, 133, 133)); /*#ced4da;*/
    border-radius: 0.25rem;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    appearance: none;
}

/* Center the loader */
#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border: 15px solid #3c4858;
    border-radius: 50%;
    border-top: 15px solid #6a9639;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 0px;
        opacity: 1;
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0;
    }
    to {
        bottom: 0;
        opacity: 1;
    }
}

.bckgrnd {
    background-position: center center !important;
}

.bmd-form-group label {
    color: #333333;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

.alert-warning {
    color: #8a6d3b !important;
    background-color: #fcf8e3 !important;
    border-color: #faebcc !important;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-dismissible .close {
    color: inherit;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: 0.2;
}

.fakeBorder {
    position: absolute;
    height: 120%;
    width: 102%;
    left: -1%;
    top: 0px;
    border: 4px solid rgb(255, 1, 1);
    border-radius: 6px;
    z-index: -1;
}

@keyframes horizontal-shaking {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(5px);
    }
    50% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: horizontal-shaking 0.25s infinite;
}

.depth-tile-container {
    width: 4%;
    height: 90px;
    padding: 0px;
    box-sizing: border-box;
}

.depth-tile {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 35px 0;
    box-sizing: border-box;
}

.row-tile-container {
    width: 9.6%;
    height: 40px;
    padding: 0px;
    box-sizing: border-box;
}

.row-tile {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 5px 0;
    box-sizing: border-box;
}

.pallet-tile-container {
    width: 9.6%;
    height: 90px;
    padding: 1px;
    box-sizing: border-box;
}

.pallet-tile {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 4px 0;
    font-family: Arial;
    font-size: 14px;
    background-color: #e9e6e6;
    border: 1px solid rgb(87, 86, 86);
    box-sizing: border-box;
}

.empty-tile-container {
    width: 4%;
    height: 40px;
    padding: 0px;
    box-sizing: border-box;
}

.tooltip-inner {
    max-width: 200px;
    padding: 0.25rem 0.5rem;
    color: #ffffff;
    text-align: left;
    background-color: rgba(97, 97, 97, 0.9);
    border-radius: 0.25rem;
}

.navbar-brand:hover {
    cursor: pointer;
}

#location-change {
    float: right;
}

.select-location-btn {
    padding: 5px 7px;
    border: 1px solid rgb(229 229 229);
    border-radius: 6px;
    margin: 5px 0px;
}

.location-selectable:hover {
    background: var(--primary_bg_color);
    color: var(--primary_text_color);
    cursor: pointer;
}

#last_location {
    float: right;
    font-weight: 600;
    margin-left: 4px;
    padding-top: 3px;
    text-transform: capitalize;
}
