body {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: #444;
    background-color: #151515;
    margin: 0px;
    padding: 0px;
}

* {
    outline: none;
}

#container {
    max-width: 480px;
    margin: 0px auto;
    background-color: #FFF;
    position: relative;
    height: 100vh;
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

#header {
    height: 50px;
    position: fixed;
    border-bottom: 1px solid #666;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    max-width: 480px;
}

#main {
    position: absolute;
    height: -webkit-calc(100vh - 156px);
    height: -moz-calc(100vh - 156px);
    height: calc(100vh - 112px);
    overflow-y: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    top: 50px;
    width: 100%;
    margin: 0 auto;
    background-color: #efefef;
}

.logo {
    position: relative;
    text-align: left;
    height: 40px;
    width: 190px;
    margin: 3px 15px 0px;
    top: -2px;
}

.logo:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0px;
    width: 100px;
    height: 40px;
    background: url(/images/logo-simago.png) center center no-repeat;
    text-align: left;
    -webkit-background-size: contain;
       -moz-background-size: contain;
            background-size: contain;
}

.logo span {
    display: block;
    position: absolute;
    top: 8px;
    left: 105px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    width: 80px;
    line-height: 13px;
    border-left: 1px solid #DDD;
    padding-left: 5px;
    color: #999;
}


a.bt-logout {
    text-indent: -9000px;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 9px;
    right: 10px;
    background: url(/images/power-off.svg) 0 0 no-repeat;
    background-size: contain;
}

.header-data {
    position: fixed;
    width: 100%;
    z-index: 10000;
    background-color: #ffc107;
}

.header-data .data {
    padding: 7px 0px;
    display: block;
    margin: 0 auto;
    width: 205px;
}

.header-data .data label {
    display: inline;
    vertical-align: top;
    line-height: 36px;
}

.header-data a.bt-back, a.bt-next, a.bt-today {
    display: block;
    width: 40px;
    height: 30px;
    position: absolute;
    background-color: #333;
    top: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-indent: -9000px;
}

.header-data a.bt-back {
    right: 55px;
    background: #333 url(/images/left-arrow.svg) 12px 6px no-repeat;
    background-size: 16px;
}
.header-data a.bt-next {
    right: 10px;
    background: #333 url(/images/right-arrow.svg) 12px 6px no-repeat;
    background-size: 16px;
}
.header-data a.bt-today {
    left: 10px;
    background-size: 16px;
    text-indent: 0px;
    color: #FFF;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 31px;
    padding: 0px 15px;
    display: block;
    width: auto;
}

/* Removes the clear button from date inputs */
input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Removes the spin button */
input[type="date"]::-webkit-inner-spin-button { 
    display: none;
}

/* Always display the drop down caret */
input[type="date"]::-webkit-calendar-picker-indicator {
    color: #2c3e50;
}

input[type="date"] {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    border: 1px solid #FFF;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    padding: 7px 10px;
    font-size: 14px;
    font-family: Raleway;
    background-color: #FFF;
    margin-left: 10px;
    display: inline-block !important;
    visibility: visible !important;
}

.col-time select {
    font-size: 20px !important;
    height: 36px;
}


.list-reservation {
    padding: 0px;
    margin: 65px 0px 0px;
    list-style-type: none;
    font-size: 16px;
}

.list-reservation li {
    border-bottom: 1px solid #DDD;
    background-color: #FFF;
    margin: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.list-reservation li .row {
    padding: 15px 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

.list-reservation li .row-deleted::before {
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    position: absolute;
    width: 100%;
    content: "";
    height: calc(100% - 1px);
    top: 0;
    left: 0;
    z-index: 1000;
}

.list-reservation li .row-deleted::after {
    content: "";
    width: calc(100% - 30px);
    position: absolute;
    height: 1px;
    background-color: #333;
    margin: 18px auto;
    left: 0;
    right: 0;
}

.list-reservation .time {
    width: 40px;
    text-align: right;
    padding-right: 10px;
    line-height: 36px;
}

.list-reservation .info {
    width: 150px;
}

.list-reservation .qt-people {
    text-align: center;
    font-weight: 700;
    width: 40px;
    line-height: 30px;
    font-size: 20px;
}

.list-reservation .income {
    width: 20px;
    text-align: center;
    height: 20px;
    border: 2px solid #000;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    top: 6px;
    position: relative;
    left: 4px;
}

.list-reservation .income span.checked {
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    background-color: #ccc;
    top: 3px;
    left: 3px;
    background: url(/images/check.svg) 0 0 no-repeat;
    -webkit-background-size: contain;
       -moz-background-size: contain;
            background-size: contain;
}

.list-reservation .name {
    font-size: 20px;
    font-weight: 700;
    line-height: 36px;
}

.list-reservation a.phone {
    color: #ffc107;
    text-decoration: none;
    top: -5px;
    position: relative;
}

.list-reservation a.phone:before {
    content: "Phone";
    color: #999;
    font-size: 12px;
    margin-right: 5px;
}

.list-reservation .info {
    width: -webkit-calc(100% - 150px);
    width: -moz-calc(100% - 150px);
    width: calc(100% - 150px);
}
.list-reservation .bt-notes {
    display: block;
    margin-top: -5px;
    color: #999;
    text-decoration: underline;
    font-size: 12px;
}

.list-reservation p.notes {
    margin-top: 5px;
    display: none;
}

.list-reservation .icon-menu {
    width: 30px;
    height: 20px;
    background: url(/images/menu-points.svg) 0 0 no-repeat;
    -webkit-background-size: contain;
       -moz-background-size: contain;
            background-size: contain;
    top: 8px;
    position: relative;
    background-position: right center;
    right: -4px;
    cursor: pointer;
}

.list-reservation .action {
    /* position: absolute; */
    background: rgba(0,0,0,0.05);
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    padding: 15px 0px;
    vertical-align: middle;
    display: none;
}

.list-reservation .action .bt {
    display: inline-block;
    text-decoration: none;
    color: #FFF;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    padding: 8px 32px;
    margin: 0px 5px;
    font-weight: 700;
    top: -webkit-calc(50% - 21px);
    top: -moz-calc(50% - 21px);
    top: calc(50% - 21px);
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.4);
}

.list-reservation .action .bt.bt-delete {
    background-color: #FF0000;
}
.list-reservation .action .bt.bt-modify {
    background-color: #ffc107;
    color: #222;
}




input[type=checkbox] + label {
    display: block;
    margin: 0.2em;
    cursor: pointer;
    padding: 0.2em;
}



/* input type checkbox */
input[type=checkbox] {
display: none;
}

input[type=checkbox] + label:before {
content: "\2714";
border: 0.1em solid #000;
-webkit-border-radius: 0.2em;
   -moz-border-radius: 0.2em;
        border-radius: 0.2em;
display: inline-block;
width: 1em;
height: 1em;
padding-left: 0.2em;
padding-bottom: 0.3em;
margin-right: 0.2em;
vertical-align: bottom;
color: transparent;
-webkit-transition: .2s;
-o-transition: .2s;
-moz-transition: .2s;
transition: .2s;
}

input[type=checkbox] + label:active:before {
-webkit-transform: scale(0);
   -moz-transform: scale(0);
    -ms-transform: scale(0);
     -o-transform: scale(0);
        transform: scale(0);
}

input[type=checkbox]:checked + label:before {
background-color: MediumSeaGreen;
border-color: MediumSeaGreen;
color: #fff;
}

input[type=checkbox]:disabled + label:before {
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
     -o-transform: scale(1);
        transform: scale(1);
border-color: #aaa;
}

input[type=checkbox]:checked:disabled + label:before {
-webkit-transform: scale(1);
   -moz-transform: scale(1);
    -ms-transform: scale(1);
     -o-transform: scale(1);
        transform: scale(1);
background-color: #bfb;
border-color: #bfb;
}
/* end - input type checkbox */



.bt-add-reservation {
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 10px;
    background-color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 480px;
    margin: auto;
    left: 0;
    right: 0;
}

.bt-add-reservation .bt-add {
    color: #333;
    background-color: #ffc107;
    width: 100%;
    text-decoration: none;
    display: block;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    padding: 10px 0px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

.p-login .container {
    background-color: #333 !important;
}

.header-login {
    height: 45px !important;
    background-color: #FFF;
}

.frm-login {
    position: absolute;
    top: calc(50% - 82px);
    bottom: 0px;
    left: 0;
    right: 0px;
    margin: auto;
    width: 290px;
}

.frm-login label {
    display: block;
    color: #999;
    font-weight: 700;
}

.frm-login input[type="text"] {
    background-color: transparent;
    border: 0px;
    border-bottom: 1px solid #CCC;
    width: 100%;
    font-size: 66px;
    outline: none;
    color: #FFF;
    text-align: center;
    letter-spacing: 10px;
}

.frm-login button {
    width: 100%;
    background-color: #ffc107;
    border: 0px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    font-size: 18px;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 20px;
    color: #333;
    outline: none;
}


div#popup-add {
    position: fixed;
    z-index: 10000;
    top: 0px;
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    padding: 30px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    color: #333;
    height: 100%;
    display: none;
    overflow-y: auto;
}

#popup-add .frm {
    max-width: 450px;
    margin: 0 auto;
}

.frm {
    background-color: #FFF;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    padding: 15px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    position: relative;
}

.frm fieldset {
    border: 0px;
    padding: 0px;
    margin: 0px;
    height: 100%;
}

.frm legend {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: none;
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.frm label {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: #999;
}

.frm .row {
    margin-bottom: 15px;
    
}

.frm .row .col {
    display: inline-block;
    vertical-align: top;
}

.frm .col-date {
    margin-right: 15px;
}

.frm .row:last-child {
    margin-bottom: 0px;
}

.frm input[type="text"] {
    width: 100%;
    border: 1px solid #DDD;
    padding: 10px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.frm textarea {
    width: 100%;
    border: 1px solid #DDD;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    padding: 10px;
    height: 150px;
    font-size: 16px;
    line-height: 24px;
}

.frm .bt-submit {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
    width: 100%;
    padding: 13px 10px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    outline: none;
    background-color: #ffc107;
    border: 0px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    color: #333;
}

.frm select {
    font-size: 15px;
    border: 0px;
    border-bottom: 1px solid #DDD;
    background-color: #fafafa;
    text-align: center;
    width: 55px;
    padding: 5px 4px;
    font-family: Arial;
}

.frm .datepicker {
    font-size: 20px;
    border: 0px;
    border-bottom: 1px solid #DDD;
    width: 135px;
    padding: 5px 4px;
    margin: 0px;
    background-color: #fafafa;
    font-family: Arial;
}

.frm .bt-close {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #CCC;
    top: 10px;
    right: 10px;
    background: url(/images/close.svg) 0 0 no-repeat;
    -webkit-background-size: contain;
       -moz-background-size: contain;
            background-size: contain;
    cursor: pointer;
}

.frm .time span {
    font-size: 24px;
    line-height: 28px;
    margin: 0px -1px;
    vertical-align: top;
    top: 3px;
    position: relative;
}

#ok {
	position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #1FBB00;
    padding: 15px 40px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    color: #FFFFFF;
	z-index: 10000;
}

#errors {
	position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #FF0000;
    padding: 15px 40px;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    color: #FFFFFF;
	z-index: 10000;
}

.loader {
    background: url(/images/loader.gif) 0 0 no-repeat;
    width: 50px;
    height: 50px;
    background-size: contain;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
}

.select-country-code {
    width: 180px !important;
    padding: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    height: 40px;
    padding: 5px 10px !important;
    border: 1px solid #DDD !important;
    vertical-align: top;
    background: url(/images/down-arrow.svg) 130px 13px no-repeat;
    background-size: 8%;
}

.phone-number {
    font-size: 20px !important;
    height: 40px;
    display: inline-block;
    width: calc(100% - 184px) !important;
}

@media screen and (max-width: 420px) {
    div#popup-add {
        padding: 15px;
    }

    .select-country-code {
        font-size: 16px !important;
        width: 160px !important;
    }

    .phone-number {
        font-size: 18px !important;
        width: calc(100% - 164px) !important;
    }

    .list-reservation .name {
        font-size: 18px;
        line-height: 26px;
        margin-top: 4px;
        margin-bottom: 5px;
    }

    .header-data a.bt-today {
        font-size: 12px !important;
    }

    .header-data .data {
        width: 173px;
    }

    input.datepicker {
        width: 110px;
    }

    .header-data a.bt-next {
        right: 10px;
        background: #333 url(/images/right-arrow.svg) 7px 7px no-repeat;
        background-size: 16px;
        width: 30px;
    }
    .header-data a.bt-back {
        right: 45px;
        background: #333 url(/images/left-arrow.svg) 7px 7px no-repeat;
        background-size: 16px;
        width: 30px;
    }
}


/* iphone 5 - 320x560 */
@media screen and (max-width: 360px) {
    div#popup-add {
        padding: 10px;
    }

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

    .frm legend {
        font-size: 20px;
    }

    .frm {padding-top: 7px;}

    .frm label {
        font-size: 11px;
    }

    .frm .col-date {
        margin-right: 3px;
    }

    div#popup-add {
    position: fixed;
    z-index: 10000;
    top: 0px;
    width: 100%;
    background-color: rgba(0,0,0,0.85);
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #333;
    height: 100%;
    display: none;
    overflow-y: auto;
}
}

