* {
    box-sizing: border-box;
}

html, body{
    /*-webkit-overflow-scrolling : touch !important;
    overflow: auto !important;
    height: 100% !important;*/
}

.header {
    background: #a4a4a4;
    height: 100px;
    position: fixed;
    display: flex;
    align-items: center;
    z-index: 100;
    justify-content: space-between;
    width: 100%;
}

.pt-115 {
    padding-top: 115px;
}

.header-logo {
    margin: 0 auto;
    display: block;
    max-height: 120px;
}

.header-row {
    background-color: rgba(0,0,0, .6);
    color: #fff;
    padding-top: 1.5%;
    z-index: 50
}

.header-row.fix-header {
    position: fixed;
    left: 0;
    top: 0;
}

.btns button {
    margin: 5px 0;
}

.posrel {
    position: relative;
}

.posrel .inputbtn {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.hidden {
    display: none !important;
}

.menu-btn {
    z-index: 55;
    color: #fff;
    text-align: center;
    padding-top: 2px;
    cursor: pointer;
}

.menu-item-container {
    height: 100%;
    width: 100%;
}

.menu-item-container .item {
    width:100%;
    background-color: #251b50;
    padding: 17px;
    cursor: pointer;
}

.menu-item-container .item i {
    display: block;
    text-align: center;
    color: #fff;
}

.menu-item-container .item span {
    display: block;
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 15px;
}

.pad010 {
    padding: 0 10px !important;
}

.opaque {
    opacity: 0.3;
}

.inapp_sign {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    z-index: 20000;
}

.inapp_sign_inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-width: 90%;
    height: 500px;
    max-height: 90%;

    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: #251a4f;
}

.signbtn {
    position: relative;
}

.signbtn:hover ~ .signed {
    display: block;
}

.signed {
    display: none;
    position: absolute;
    z-index: 20;
    background: #fff;
}

.welcome-section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: #251a4f;
}

.laptop-num {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 0 0 15px;
    font-size: 10px;
}

.new-event, .new-folder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    max-height: 90%;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: #251a4f;
    overflow: auto;
    display: none;
}

.js-error {
    display: none;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
}

.js-error-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-size: 20px
}

/*.row.stripped:nth-child(2n) {
    background-color: #ccc;
}

.row.stripped {
    padding: 15px 0px;
}*/

.stripped {
    margin: 15px 0;
}

.card {
    padding: 15px;
    background: rgba(239, 216, 48, 0.5);
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 10px;
    color: #000;
    overflow: hidden;
    cursor: pointer;
}

.card:hover {
    background: rgba(239, 216, 48, 0.3);
}

.card.entered {
    color: #fff;
    background: rgba(37, 27, 80, 0.68);
}

.card.entered:hover {
    background: rgba(37, 27, 80, 0.48);
}

.card.red {
    color: #fff;
    background: rgba(200, 15, 5, 0.66);
}

.card.red:hover {
    background: rgba(200, 15, 5, 0.56);
}

.card.green {
    color: #fff;
    background: rgba(0, 99, 18, 0.66);
}

.card.green:hover {
    background: rgba(0, 99, 18, 0.56);
}

.card:hover > .work_end_btn {
    top: 0;
}

.work_end_btn {
    position: absolute;
    width: 100%;
    top: -100%;
    left: 0;
    transition: all 200ms linear;
}

.work_end_btn button {
    cursor: pointer;
}

.work_end_inner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.8);
}

.working {
    position: absolute;
    top: 5px;
    right: 10px;
}

.user_type {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.btn-flow {
    background: #251b50;
    color: #ffffff;
}

.btn-save {
    background: #EF591F;
}

.btn-enter-etikett {
    background: #8EC241;
}

.btn-etikett {
    background: #F5961E;
}

.btn-flow:disabled {
    background: rgba(0, 34, 62, 0.2);
}

.card-item {
    padding-bottom: 5px;
}

.half-btn {
    width: 100%;
    margin-top: 10px;
}

.half-btn .btn {
    width: 50%;
}

.line-cell {
    line-height: 60px;
    height: 65px;
}

.line-cell span {
    line-height: normal;
    display: inline-block;
}

.js-data-cont {
    padding-top: 100px;
    padding-bottom: 50px;
}

.js-edit-cont {
    display: none;
    padding-top: 100px;
    padding-bottom: 50px;
}

.menu-container {
    z-index: 2;
    position: fixed;
    top: 0;
    right: 0;
    width: 150px;
    transition: 300ms all linear;
    transform: translateY(-100%);
}

.menu-cont {
    position: fixed;
    left: 0;
    top: 0;
    background-color: #251b50;
    color: #fff;
    width: 100%;
    height: 100px;
    z-index: 50;
    padding: 30px 15px 15px 15px;
}

.opened {
    transform: translateY(100px);
    opacity: 1;
}

.menu-cont input, .menu-cont .dropdown .btn {
    border: 0;
}

.dropdown {width:100%;}
.dropdown .btn {width:100%;}

.menu-cont .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-radius: 0.25rem;
}

.dropdown .btn.dropdown-toggle:after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*.dropdown .dropdown-menu {width:100%;}*/

.load-back {
    display: none;
    z-index: 999;
    position: fixed;
    top: 80px;
    height: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(37, 27, 80, 0.9);
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

.load-img {
    z-index: 1000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.load-img img {
    width: 50%;
    -webkit-animation-name:             rotate;
    -webkit-animation-duration:         2s;
    -webkit-animation-iteration-count:  infinite;
    -webkit-transition-timing-function: linear;
}

#chartdiv {
    width	: 100%;
    height	: 500px;
}

#piediv {
    width	: 100%;
    height	: 500px;
}

.error {
    color: #bc0000;
}

input.error {
    border: 1px solid #bc0000;
}

/*
*
* FUNKYYYYYYYYYY!!!!!!!!44!!!!!4444!!
*
*/

.funkyradio div {
    clear: both;
    /*margin: 0 50px;*/
    overflow: hidden;
}

.funkyradio label {
    /*min-width: 400px;*/
    width: 100%;
    border-radius: 3px;
    border: 1px solid #251b50;
    font-weight: normal;
    padding-left: 50px;
    padding-right: 20px;
}
.funkyradio input[type="radio"]:empty, .funkyradio input[type="checkbox"]:empty {
    display: none;
}
.funkyradio input[type="radio"]:empty ~ label, .funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.5em;
    /*text-indent: 3.25em;*/
    margin-top: 2em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.funkyradio input[type="radio"]:empty ~ label:before, .funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content:'';
    width: 2.5em;
    background: #251b50;
    border-radius: 3px 0 0 3px;
}
.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before, .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content:'\2714';
    text-indent: .9em;
    color: #C2C2C2;
}
.funkyradio input[type="radio"]:hover:not(:checked) ~ label, .funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}
.funkyradio input[type="radio"]:checked ~ label:before, .funkyradio input[type="checkbox"]:checked ~ label:before {
    content:'\2714';
    text-indent: .9em;
    color: #333;
    background-color: #ccc;
}
.funkyradio input[type="radio"]:checked ~ label, .funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
}
.funkyradio input[type="radio"]:focus ~ label:before, .funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}
.funkyradio-default input[type="radio"]:checked ~ label:before, .funkyradio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
}
.funkyradio-primary input[type="radio"]:checked ~ label:before, .funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}
.funkyradio-success input[type="radio"]:checked ~ label:before, .funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
}
.funkyradio-danger input[type="radio"]:checked ~ label:before, .funkyradio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}
.funkyradio-warning input[type="radio"]:checked ~ label:before, .funkyradio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}
.funkyradio-info input[type="radio"]:checked ~ label:before, .funkyradio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}

.topborder {
    border-top: 1px solid #ccc;
}

.footer-stat {
    position: fixed;
    height: 50px;
    width: 100%;
    background-color: #251b50;
    bottom: 0px;
    left: 0;
    z-index: 2000;
    color: #fff;
    line-height: 50px;
    font-size: 20px;
}

.no-net {
    z-index: 10000;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: red;
    font-size: 40px;
    text-align: center;
    color: #fff;
}

.no-net h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.blink {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.chk_box {
    position: absolute;
    top: 13px;
}

.chk_span {
    position: absolute;
    top: 3px;
    font-size: 20px;
    left: 40px;
}

.user-add-container {
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    top:0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.user-add {
    border-radius: 15px;
    position: absolute;
    background-color: #fff;
    width: 50%;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px;
}

.replaced {
    text-decoration: line-through;
    font-size: 12px;
}

.log-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.3);
    top: 0;
    left: 0;
}

.log-modal {
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    width: 90%;
    overflow: auto;
    padding: 15px;
    transform: translate(-50%, -50%);
    border-radius: 15px;
}

.replacement-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.3);
    top: 0;
    left: 0;
}

.replacement-modal {
    position: absolute;
    background-color: #fff;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 90%;
    overflow: scroll;
    padding: 15px;
}

.workend_app {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 12px;
}


.workend-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.3);
    top: 0;
    left: 0;
    z-index: 10000;
}

.workend-modal {
    border-radius: 15px;
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding: 15px;
}

.ordered-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.3);
    top: 0;
    left: 0;
    z-index: 10000;
}

.ordered-modal {
    padding: 25px;
    border-radius: 15px;
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    padding: 15px;
}

.modal-container {
    position: fixed;
    top: -250px;
    left: 50%;
    width: 50%;
    background-color: #fff;
    box-shadow: 0px 0px 10px #ccc;
    transform: translateX(-50%);
    transition: 350ms all cubic-bezier(.92,-0.94,0,1.61);
    padding: 50px;
    border-radius: 15px;
    z-index: 2002;
}

.modal-container.show {
    top: 150px;
    z-index: 2002;
}

.export_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1200px;
    max-width: 90%;
    max-height: 90%;
    background-color: #fff;
    box-shadow: 0px 0px 10px #ccc;
    transform: translate(-50%, -50%);
    transition: 350ms all cubic-bezier(.92,-0.94,0,1.61);
    padding: 20px;
    border-radius: 15px;
    display: none;
    z-index: 2001;
    overflow: auto;
}

.close_export_modal {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.export-tabs {
    display: flex;
}

.export-tab {
    border: 1px solid #000000;
    border-bottom: none;
    padding: 10px 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    cursor: pointer;
}

.export-tab.active {
    background: #f5f5f5;
}

.export-panes {
    border: 1px solid #000000;
}

.export-pane {
    display: none;
    padding: 20px;
}

.export-pane.active {
    display: block;
}

.return-datas {
    max-height: 500px;
    overflow-y: scroll;
}

.missing {
    opacity: 0.3 !important;
}
