* {
    box-sizing: border-box;
}

::placeholder {
    color: rgba(0, 0, 0, 0.2) !important;
}

::-moz-placeholder {
    color: rgba(0, 0, 0, 0.2) !important;
}

::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.2) !important;
}

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

body {
    padding-top: 80px;
    background: #f2f2f2;
}


@media (max-width: 640px) {
    .menu-item {
        margin-bottom: 10px;
    }
    .menu-cont {
        padding: 10px 10px 0 10px !important;
    }
    .opened {
        top: 147px !important;
    }
    body {
        padding-top: 147px;
    }
}

@media (min-width : 640px) and (max-width : 1024px) {
    .opened {
        top: 80px !important;
    }
    .menu-cont button {
        font-size: 0.8rem;
        height: 35px;
        padding: 0;
    }
}

.ptop-20 {
    padding-top: 20px;
}

.pleft-80 {
    padding-left: 80px;
}

.logo-cnt {
    cursor: pointer;
    display: block;
    width: 100%;
    position: relative;
    min-height: 80px;
    height: 100%;
}

.header-logo {
    display: block;
    max-height: 65px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.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;
}

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

.menu-btn i {
    background: #eceeef;
    padding: 0 5px;
    border-radius: 0;
    color: #464a4c;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

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


.menu-item-container .item {
    width:100%;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 17px;
    cursor: pointer;
}

.menu-item-container .item:hover {
    background: #ED1C24;
}

.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;
}


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

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

.main {
    background: rgba(255, 255, 255, 1);
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: 15px;
    /*border-radius: 10px;*/
}

.main h1 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

.form-actions {
    margin-bottom: 15px;
}

.log {
    margin-top: 20px;
}

.log-item {
    background: #fff;
    border-top: 1px solid #cecece;
    padding: 10px;
}

.log-item:last-child {
    border-bottom: 1px solid #cecece;
}

.stripped {
    margin: 15px 0;
}

.card {
    padding: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.8);
    color: #404040;
    border: 1px solid #d0d0d0;
    cursor: pointer;
    overflow: hidden;
    transition: all 300ms linear;
    box-shadow: 0 0 0 rgba(0,0,0,0.2);

}

.card .card_inner {
    padding: 5px;
}

.card:hover {
    background: rgba(241, 241, 241, 0.8);
    box-shadow: 6px 6px 6px rgba(0,0,0,0.2);
}

.type-14 {
    background: rgba(245, 218, 131, 0.8);
}

.type-14:hover {
    background: rgba(255, 229, 150, 0.8);
}

.card.entered {
    background: #5c5e5f;
    color: #ebebeb;
    border: 1px solid #5c5e5f;
}

.card.entered:hover {
    background: rgba(41, 43, 44, 0.7);
}

.enter-info {
    position: absolute;
    right: 10px;
    top: 5px;
}

.enter-info:hover {
    cursor: help;
}

.half-btn {
    width: 100%;
    height: 48px;
    position: relative;
}

.half-btn .btn {
    width: 100%;
    position: absolute;
    top: 48px;
    transition: all 300ms linear;
}

.half-btn .btn.shown {
    top: 0;
}

.btn-flow {
    background: #00223e;
    color: #ffffff;
}

.js-partner_enter {
    background: #ccf9e2;
}

.js-partner_enter:hover {
    background: #72eeae;
}

.child_title {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #cecece;
    font-weight: bold;
    font-size: 20px;
    padding-left: 15px;
}

.partner_enter {
    padding-bottom: 20px;
    border-bottom: 2px solid #cecece;
}

.list .js-enter {
    background: #ccf9e2;
    color: #000201;
}

.list .js-enter:enabled:hover {
    background: #72eeae;
}

.list .js-exit {
    background: #f9cccd;
    color: #020001;
    top: 51px;
}

.list .js-exit:enabled:hover {
    background: #f4a4a5;
}

.js-partner_exit {
    background: #f9cccd;
}

.js-partner_exit:hover {
    background: #f4a4a5;
}

.js-enter:disabled {
    background: #e2e3e2;
    color: #0b0b0b;
}

.js-exit:disabled {
    background: #e2e3e2;
    color: #0b0b0b;
}

.btn-save {
    background: #00204E;
}

.btn-exit {
    background: #D9534F;
}

.btn-enter-etikett, .btn-enter {
    background: #8EC241;
    color:white;
}
.btn-enter:hover{
    color:black;
}

.btn-etikett {
    background: #F5961E;
}

.card-item {
    padding: 5px 10px 2px 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.input-group-addon {
    border-radius: 0;
}

.input-group .form-control:not(:first-child) {
    border-radius: 0;
}

.card .btn-group .btn {
    border-radius: 0;
}

.btn-group .btn + .btn {
    margin-left: 0;
}

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

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

.btn {
    border-radius: 0;
}

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

.menu-container {
    z-index: 2;
    position: fixed;
    top: -750px;
    right: 0;
    width: 150px;
    transition: 200ms all linear;
}

.menu-cont {
    position: fixed;
    left: 0;
    top: 0;
    background-color: #fff;
    border-bottom: 1px solid #000;
    color: #000;
    width: 100%;
    min-height: 80px;
    z-index: 50;
    padding: 0 15px;
    transition: all 300ms linear;
}

.menu-cont:hover {
    box-shadow: 6px 6px 6px rgba(0,0,0,0.2);
}

.menu-cont a.dropdown-item:hover {
    /*background: #2B77E1;*/
    color: #fff;
    cursor: pointer;
}

.opened {
    top: 65px;
    opacity: 1;
}

.menu-cont input, .menu-cont .dropdown .btn {
    border: 1px solid #000;
}

input:hover, .form-control:focus {
    border-color: #00204E;
}

.plusminus {
    width: 145px;
    height: 50px;
}

.plusminus .btn:active {
    background-color: #ffd59a;
}

.print-text {
    font-size: 1rem;
    padding: 7px 20px;
    background: #eceeef;
    font-weight: bold;
    border: 1px solid #464a4c;
    color: #464a4c;
    min-width: 350px;
}

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

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

.dropdown-menu {
    border-radius: 0;
}

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

.dropdown .dropdown-menu {
    min-width: 100%;
}

.load-back {
    display: none;
    z-index: 999;
    position: fixed;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255, 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: red;
    border: 1px solid #ff0000;
}
/*
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
    padding-left: 35px;
    cursor: pointer;
    outline: none;
}

// checkbox aspect
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 28px;
    height: 28px;
    border: 1px solid #ced4da;
    background: #ffffff;
}
// checked mark aspect
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
    content: 'X';
    position: absolute;
    top: 1px;
    left: 20px;
    font-size: 28px;
    line-height: 0.8;
    color: #707070;
    transition: all .2s;
}
// checked mark aspect changes
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
[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 {
    border: 1px solid #707070;
}

/*
*
* 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 #042a71;
    font-weight: normal;
    padding-left: 50px;
    padding-right: 20px;
    background: white;
}
.funkyradio label:hover {
    background: #fcdfcf;
}

.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: #D1D3D4;
    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;
}

#myModal p {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin: 0;
}

.modal-header, .modal-footer {
    border: none;
}

/*.modal.show .modal-dialog {
    top: 40%;
}*/

.modal {
    text-align: center;
    padding: 0!important;
}

.modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px; /* Adjusts for spacing */
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.signin-main {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow: hidden;
    outline: 0;
    width: 350px;
    margin: 0 auto;
}

.signin-sub {
    top: 20%;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
}

.form-signin {
    text-align: center;
}

h2.form-signin-heading {
    text-align: center;
    margin: 20px 0;
}

.form-signin p {
    text-align: center;
}

.gate {
    font-size: 13px;
    /*background: #fff;
    padding: 3px 10px 5px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;*/
    color: #000;
    position: absolute;
    left: 50%;
    bottom: 0;
    white-space: nowrap;
    transform: translateX(-50%);
    /*border-bottom: 1px solid #000;*/
}

/*.gate:before {
    content: '';
    position: absolute;
    height: 19px;
    border-left: 1px solid #000;
    left: 0;
    bottom: -1px;
    /*border-bottom-left-radius: 6px;
    width: 12px;
}

.gate:after {
    content: '';
    position: absolute;
    height: 19px;
    border-right: 1px solid #000;
    right: 0;
    bottom: -1px;
    /*border-bottom-right-radius: 6px;
    width: 12px;
}*/

.modal-content {
    border-radius: 0.8rem;
    background: rgba(106, 106, 106, 0.9);
    color: white;
}
.modal-content-sign {
    border-radius: 0.8rem;
    background: white;
    color: black;
    transform: rotate(180deg);
}

.sign-block {
    padding: 10px;
    border: 1px solid black;
    border-collapse: collapse;
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
}
.sign-block:nth-child(1){
    margin-top: 20px;
}
.sign-block:nth-child(2){
    border-bottom: none;
    border-top: none;
    text-align: justify;
}
.rentitpiros {
    background: #ed1c24;
}

.form-control {
    margin: 0 0 10px 0;
}

button {
    cursor: pointer;
}

.btn-primary {
    cursor: pointer;
    color: #fff;
    background-color: #6a6a6a;
    border-color: #6a6a6a;
}

.btn-primary:hover {
    color: #fff;
    background-color: #ED1C24;
    border-color: #ED1C24;
}

.statistics {
    background: #fff;
}

.signarea {
    border: 1px solid #4d4d4d;
    background: #ebebeb;
    -webkit-box-shadow: inset 0px 0px 26px 0px rgba(158,158,158,1);
    -moz-box-shadow: inset 0px 0px 26px 0px rgba(158,158,158,1);
    box-shadow: inset 0px 0px 26px 0px rgba(158,158,158,1);
    margin: 60px auto 30px;
}

.card.signature-card {
    border-radius: 5px;
    cursor: default;
}

.card.signature-card:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.signature-title {
    font-size: 2rem;
    line-height: 2rem;
    margin: 0 0 20px;
}

.modal-backdrop.show {
    opacity: 0.8;
}

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

.loader {
    border: 20px solid #c6c6c6;
    border-radius: 50%;
    border-top: 20px solid #ed1c24;
    width: 180px;
    height: 180px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 0 auto;
    z-index: 2;
}

.progress {
    display: none;
    border-radius: 0;
    height: 5px;
    position: absolute;
    width: 100%;
    z-index: 2;
    bottom: 0;
}

.progress-bar {
    background-color: #ed1c24;
    animation-duration: 300ms;
    height: 5px;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ------------------- */
.clear_search {
    cursor: pointer;
}

.mini-stat-entered {
    background: #f00;
    height: 4px;
}

.new_admin {
    width: 200px;
    height: 120px;
    text-align: center;
    padding: 20px;
}

.edit-admin, .delete-admin {
    padding:5px;
}

.new_admin:hover, .edit-admin:hover, .delete-admin:hover {
    background: red;
    color: white;
    cursor: pointer;
}

.new_admin:hover *, .edit-admin:hover * , .delete-admin:hover * {
    color: white;
}

.menu-item-container {
    margin-top: 15px;
}

#deactivate_guest {
    cursor: pointer;
}

.chartdiv {
    height: 500px;
}

.row.statistics {
    position: relative;
}

.row.statistics button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.row.statistics h3 {
    text-align: center;
}

.qr-code-text {
    vertical-align: middle;
}

#generate_qr {
    cursor: pointer;
    width: 50px;
    vertical-align: middle;
}

#qr_code_placeholder {
    vertical-align: middle;
    display: inline-block;
}

.custom-control.custom-switch {
    padding-top: 5px;
}

.custom-control-label {
    vertical-align: middle;
}

.custom-switch input {
    width: 2px;
}

.deactivate_guest, .delete_actions_for_guest {
    float: right;
    margin: 0 5px;
}

h1.guest_title span {
    float: right;
    font-size: 20px;
    margin-top: 20px;
}

span.event-picker {
    display: none;
    cursor: pointer;
}

span.event-picker:hover {
    color: crimson;
}

select.event-picker {
    display: none;
}

a#event_change {
    color: initial;
}

@media (orientation:portrait) {
    #ModalSignature canvas {
        width: 600px;
    }
}

@media (max-height:800px) {
    .menu-item-container {

    }

    .menu-item-container .item i.fa-3x {
        font-size: 2em;
    }
}

@media (max-height:790px) {
    .menu-item-container {

    }

    .menu-item-container .item i.fa-3x {
        font-size: 1em;
    }
}

@media (width:1024px)  {
    .menu-item-container {
        margin-top: 0;
    }
}

@media (max-height:575px) {
    .menu-item-container {
        margin-top: 0;
    }

    .menu-item-container .item span {
        display: inline-block;
        width: 80%;
    }

    .menu-item-container .item i {
        display: inline-block;
    }

    .menu-item-container .item i.fa-3x {
        font-size: 1em;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 700px;
        margin: 1.75rem auto;
    }
}
#sign{
    transform: rotate(180deg);
}