.d-flex{
    display: flex;
    flex-direction: row;
}
.d-flex > *:not(:last-child){
    margin-right: 1rem!important;
}


h1,h2,h3,h4, p,
input{
    font-weight: 100!important;
    /*
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-stroke: 0.5px rgba(0,0,0,0.1);
    */
}

::selection {
    background: transparent; /* WebKit/Blink Browsers */
}
::-moz-selection {
    background: transparent; /* Gecko Browsers */
}

.selectable::selection{
    color: #fff;
    background: #3288E6;
}
.selectable::-moz-selection{
    color: #fff;
    background: #3288E6;
}


/* Space out content a bit */
body {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
    padding-right: 15px;
    padding-left: 15px;
}

/* Custom page header */
.header {
    border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
    padding-bottom: 19px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
}

/* Custom page footer */
.footer {
    padding-top: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}

/* Customize container */
@media (min-width: 768px) {
    .container {
        max-width: 730px;
    }
}
.container-narrow > hr {
    margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 10px;

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

/* Supporting marketing content */
.marketing {
    margin: 40px 0;
}
.marketing p + h4 {
    margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .header,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }
    /* Space out the masthead */
    .header {
        margin-bottom: 30px;
    }
    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: 0;
    }
}

.vex.vex-theme-default{
    padding-top: 0!important;
    width: 100%;

}

.vex.vex-theme-default .vex-content{
    width: 100%!important;
    border-radius: 0px 0px 4px 4px!important;
}



@media screen and (device-width: 360px) and (device-height: 620px) and (-webkit-device-pixel-ratio: 3){

}

/* S5 Query */
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3){
    .vex.vex-theme-default{
        padding-top: 0!important;

    }
    .vex.vex-theme-default .vex-content{
        border-radius: 0 !important;
    }

    .vex.vex-theme-default .vex-dialog-button{
        font-size: 16px!important;
    }

    *{

    }
}





#barcode-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    height: 200px;

    display: block;
}
.product-wrapper .barcode-wrapper,
.barcode-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    height: 90px;

    display: block;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
}

.product-wrapper p.barcode-value,
.barcode-wrapper p.barcode-value{
    font-family: "Courier New", Courier, monospace;
    font-weight: 800;

    bottom: 10px;
    text-align: center;
    /*width: 35%;*/
    min-width: 180px;
    margin: 0 auto;
    background-color: #fff;
    margin-top: 0px;
    z-index: 10;
    position: relative;
    color: #666;
    border-radius: 4px 4px 4px 4px;
    margin-top: 68px;
    max-width: 90%;
    width: auto;

    text-overflow: ellipsis;
    overflow: hidden;

}


.product-wrapper p.barcode-text,
.barcode-wrapper p.barcode-text{
    font-family: 'free_3_of_9_extendedregular';
    font-size: 39px;
    font-weight: 100;

    width: 100%;
    height: 1em;
    padding: 0;

    color: #666;
    margin: 0;
    text-align: center;
    overflow: hidden;
    transform: scale(1,2);
    position: absolute;
    bottom: 36px;

}


input.barcode{

    transition-property: all;
    transition-duration: 1s;
    transition-timing-function: ease-out;

    font-size: 48px;
    font-size: 28px;
    margin-bottom: 24px;
    width: 100%;
    text-align: center;
    cursor: default;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px;
    margin-top: -16px;

    color: transparent;
    text-shadow: 0 0 0 #000;
    text-align: center;

    &:focus {
    outline: none;
    }

}

input.barcode:focus{
    outline : none;
    cursor: default;
}

#barcode-wrapper p.barcode-value{
    font-family: "Courier New", Courier, monospace;
    font-weight: 800;

    bottom: 10px;
    text-align: center;
    width: auto;
    min-width: 180px;
    margin: 0 auto;
    background-color: #EEEEEE;
    margin-top: 130px;
    z-index: 10;
    position: relative;
    color: #666;
    border-radius: 4px 4px 0px 0px;
    max-width: 90%;

}


#barcode-wrapper p.barcode-text{
    font-family: 'free_3_of_9_extendedregular';
    font-size: 86px;
    font-weight: 100;

    width: 100%;
    height: 1em;
    padding: 0;

    color: #666;
    margin: 0;
    text-align: center;
    overflow: hidden;
    transform: scale(1,2);
    position: absolute;
    bottom: 30px;


}

.barcode-text{
    cursor: pointer;
}



p.divider{

    padding-top: 10px;
    margin-top: 10px;
    border-radius: 6px;
    background: #fff;
    position: relative;
}

p.divider label{
    top: -5px;
    left: 8px;
}

/* Checkbox */
/* Base for label styling */
.vex-content [type="checkbox"]:not(:checked),
.vex-content [type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
.vex-content [type="checkbox"]:not(:checked) + label,
.vex-content [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-size: 28px;
    font-weight: 200;
    padding-top: 3px;
    line-height: 28px;
    color: #A9A9A9;
    color: #000;
    width: 100%;
}

[type="checkbox"]:not(:checked) + label{

}


/* checkbox aspect */
.vex-content [type="checkbox"]:not(:checked) + label:before,
.vex-content [type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left:0; top: 2px;
    width: 32px; height: 32px;
    border: 1px solid #aaa;
    background: #f8f8f8;
    border-radius: 3px;
    /*box-shadow: inset 0 1px 3px rgba(0,0,0,.3)*/


}
/* checked mark aspect */
.vex-content [type="checkbox"]:not(:checked) + label:after,
.vex-content [type="checkbox"]:checked + label:after {
    content: '✔';
    position: absolute;
    top: 4px; left: 6px;
    font-size: 28px;
    color: #3288E6;
    transition: all .2s;

}
/* checked mark aspect changes */
.vex-content [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
.vex-content [type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}
[type="checkbox"]:disabled:checked + label:after {
    color: #999;
}
[type="checkbox"]:disabled + label {
    color: #aaa;
}
/* accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="checkbox"]:not(:checked):focus + label:before {

}





.vex h1{
    margin-top: 0;
}
p.amount,
p.depot-amount,
p.depot-change{
    display: block;
    position: absolute;
    /*
    right: -20px;
    top: -20px;
    */

    right: 12px;
    top: 12px;

    background: #3288E6;
    border-radius: 3px;
    text-align: center;
    min-width: 40px;
    min-height: 40px;
    line-height: 40px;
    font-size: 18px;
    color: #fff!important;
    font-weight: 100;
    display: block;
    padding-left: 8px;
    padding-right: 8px;
    transition: all 1s cubic-bezier(.08, .67, .04, .96);
}

p.depot-change{
    right: auto;
    left: 12px;
}

p.depot-change.red,
p.depot-amount.red{
    background-color: #ac2925;
    background-color: #E85639;

}

.barcode-wrapper .depot-change,
.barcode-wrapper .depot-amount{
    top: 17px;
    z-index: 10;

}

#loader-wrap{
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    background: rgba(0,0,0,0.4);
    z-index: 20;
    display: none;
}
#loader-wrap #loader-block{

    border-radius: 24px;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-top: 25%;
    position: relative;

}

.vex .vex-dialog-input input[type="text"].no-margin{
    margin-bottom: 0 !important;
}

.vex .vex-dialog-input input[type="text"]{
    margin-bottom: 10px !important;
}

.logo{
    background: url('/img/logonegativ.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 120px;
    height: 50px;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    margin-top: -8px!important;
    margin-bottom: 10px!important;
    opacity: 0.7;
}


.vex input[type="date"].date,
.vex input[type="text"].numeric{
    font-size: 32px!important;
    line-height: 48px;
    text-align: center;


    color: transparent;
    text-shadow: 0 0 0 #000;
    text-align: center;
    border-radius: 6px;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    background: white;
    width: 100%;
    padding: 0.25em 0.67em;
    border: 0;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    min-height: 2.5em;
    margin: 0 0 0.25em;



    &:focus {
    outline: none;
}
}

.vex input[type="date"].date{

    text-align: center;
}

p.input-output{

    clear: both;
    width: 100%;
    height: 160px;
    margin-bottom: 10px;



}

.input-output.disabled{
    /*opacity: 0.2;*/
}


.vex.vex-theme-default .vex-dialog-button{
    transition: all 1s cubic-bezier(.08, .67, .04, .96);
    border: 2px solid rgba(255,255,255,0.0)!important;

    box-sizing: border-box!important;
}
.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-primary.disabled{
    background: transparent;
    border: 2px dashed #ccc!important;
    color: #ccc;

}


.vex .input-output [type="checkbox"] + label{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    clear: both;
    float: left;

}
.vex .input-output [type="checkbox"]:not(:checked) + label:before,
.vex .input-output [type="checkbox"]:checked + label:before {
    width: 100%;
    height: 100%;
    display: block;
    float: left;
    clear: both;
    padding: 0;
    margin-top: 0;



}

.vex .input-output [type="checkbox"] + label:before{
    border: none;
    background-color: transparent;
    background: url('../img/output.png') no-repeat;
    background-position: center center;

}
.vex .input-output [type="checkbox"]:checked + label:before{
    background: url('../img/input.png') no-repeat;
    background-position: center center;

}



.vex .input-output [type="checkbox"] + label:after{
    text-align: center !important;
    width: 100%;
    height: 100%;
    line-height: 10px;
    padding: 0;
    color: #bbbbbb;
    color: #000;
    font-weight: 200;
    font-size: 16px;
}
/* checked mark aspect */
.vex .input-output [type="checkbox"]:not(:checked) + label:after,
.vex .input-output [type="checkbox"]:checked + label:after {
    content: 'Indlever';
    color: #378AE3;

}
/* checked mark aspect changes */
.vex .input-output [type="checkbox"]:not(:checked) + label:after {
    opacity: 1;
    transform: scale(1);

    content: 'Udlever';
    color: #E85639;

}
.vex .input-output [type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.input-output{
    transition-property: all;
    transition-duration: 0.8s;
    transition-timing-function: ease-out;
}
.disabled{
    opacity: .6;
}

.input-output{
    position: relative;
}
.input-output.disabled:before{
    display: block;

    width: 32px;
    height: 32px;
    position: absolute;
    top: 10px;
    right: 35%;
    content: " ";
    background-color: #F0F0F0;
    border: 4px solid #F0F0F0;
    border-radius: 8px;
    background-image: url('../img/locked.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100% ;
    z-index: 10;
    opacity: 1;
}

.vex h1{
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.nav{

}

small{
    text-align: right;
    width: 100%;
    color: #ccc;
    display: block;
    font-size: 10px;
    padding: 0;
}




.vex.vex-theme-default .vex-dialog-button.vex-dialog-button-secondary{
    background-color: #E85639!important;
    color: #fff!important;
}

.vex h1{
    padding-right: 60px;
    font-size: 32px;

}



.vex-dialog-input ul{
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 8px;
}

.vex-dialog-input ul li:after,
.vex-dialog-input ul:after{
    display: block;
    content: "";

}

.vex-dialog-input ul li{
    position: relative;
    display: block;
    width: calc(100% - 20px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    height: 84px;
    margin: 0 auto;
    z-index: 1; /* Skjult element fix */
}
.vex-dialog-input ul li:last-child{
    border: none;
}


.vex-dialog-input ul li .left{
    position: absolute;
    left: -0px;
    top: 6px;
}



.vex-dialog-input ul li .right{
    position: absolute;
    width: calc(100% - 80px);
    right: 0px;
    top: 4px;
}

.vex-dialog-input ul li .right .amount{
    top: 6px;
}

.vex-dialog-input ul li .label{
    background-color: #666;
    border-radius: 3px;
    display: inline-block;
    font-weight: normal;
    line-height: 1.4em;
    width: 80px;
    text-align: center;
    font-size: 10px;
    margin-right: 5px;
}

.remaining .label{
    background-color: #3288E6!important;
}

.expires .label{
    background-color: #E85639!important;
}

.vex-dialog-input ul li .right p{
    margin: 0;
}





.vex.vex-theme-default{
    padding-top: 0!important;
    width: 100%;

}

.vex.vex-theme-default .vex-content{
    width: 100%!important;
    border-radius: 0px 0px 4px 4px!important;
}


