form md-select{
    min-width: 130px;
}
.badge{
    border-radius: 5px;
}

.shop-login-form a:hover {
    cursor: pointer;
}
/*  ------------------------------
    === Calendar ===
    ------------------------------ */
.modal-form {
    background-color:rgba(200,200,200,0.9);
    border:solid 2px #283593;
}
.fc-center h2 {
    font-size:22px;
}
.ss-shop {
    margin-left: -5px;
}
@media (max-width: 750px) {
    .ss-shop .md-button.md-fab.md-mini {
        width: 25px;
        height: 25px;
        min-height: 25px;
        line-height: 25px;
    }
}
/*  ----------------------------------------
    === Timetable scrollable grid styles ===
    ---------------------------------------- */
div.tt-table {
    display:table;
}
div.tt-header {
    display:table-row;
    overflow: auto;
}
div.tt-body {
    overflow: scroll;
    height: 800px;
}
div.tt-content {
    display:table-cell;
}
div.tt-inner-table {
    display:table;
}
div.tt-row {
    display:table-row;
    line-height: 10px;
}
div.tt-row.selection-mode {
    color: #000000;
    background-color: rgba(161, 161, 161, 0.21);
}
div.tt-header-row {
    display:table-row;
}
div.tt-header-row .md-datepicker-input{
    padding:0px;
}

div.ttday {
    display:table-cell;
    /* width:153px; */
    text-align: center;
    border: 1px solid #bdbdbd;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.73);
}
.tt-shop {
    font-size: 12px;
    display: table-cell;
}
div.tt-shop-td {
    display: inline-block;
    font-size: 11px;
    text-align: center;
    border: 1px solid #bdbdbd;
    height: 21px;
    width: 18px;
    margin-left: -1px;
    margin-top: -1px;
    padding-top: 3px;
}
div.tt-shop-td.zfirst {
    border-left: 2px solid #808080;
}
tt-grid {
    display: table-cell;
    cursor: pointer;
}
div.ttd {
    display: inline-block;
    font-size: 11px;
    text-align: center;
    padding-top: 2px;
    /* overflow: hidden; */
    height: 16px;
    width: 18px;
    margin-left: -1px;
    margin-top: -3px;
    /* border: 1px solid #bdbdbd; */
    border-top: 1px solid rgba(189, 189, 189, 0.36);
    border-right: 1px solid #bdbdbd;
}
div.ttd.zfirst {
    border-left: 2px solid #808080;
}
div.ttd > .badge {
    padding: 2px;
    font-size: 11px;
    float: left;
    margin-left: 2px;
    margin-top: -2px;
    border-radius: 4px;
}
div.ttr {
    max-height: 30px;
    min-height: 30px;
    /* display: list-item; */
    border: 1px solid #808080;
}
div.ttu {
    display: table-cell;
    width: 290px;
    min-width: 290px;
    max-width: 290px;
}
div.ttu-td {
    display: inline-block;
    border: 1px solid #bdbdbd;
    font-size: 12px;
    text-align: left;
    height: 16px;
    width: 290px;
    min-width: 290px;
    margin-top: -1px;
    padding: 2px 0px 0px 1px;
}
div.ttu-inline {
    display: inline;
}
div.ttu-totals {
    float:left;
    margin-right:2px;
    width: 160px;
}
div.ttu-totals span.badge {
    font-size: 11px;
    font-weight: normal;
    border-radius: 3px;
    padding: 1px 2px 1px 2px;
    margin: -3px 0px -1px -1px;
}
div.ttu-totals1 {
    display: inline-block;
    min-width: 40px;
    margin-left: 1px;
}
div.ttu-totals2 {
    display: inline-block;
    min-width: 65px;
}
div.ttu-totals3 {
    display: inline-block;
    width: 47px;
}
div.ttu-label, div.ttu-name  {
    float:left;
    margin-right:2px;
}
div.tdr-f { /* first */
    float: left;
    width: 8px;
}
div.tdr-l { /* last */
    float: left;
    width: 7px;
}
div.tdr-u { /* unique */
    float: left;
    margin-left:4px;
}
.tst {
    position: absolute;
    margin-left: -7px;
    margin-top: -4px;
    display: block;
    background-color: #fff;
    min-width: 23px;
    min-height: 19px;
    border-radius: 4px;
}
.tdr-f .tst, .roster-invalid .tst, .roster-soft .tst {
    color: #ff0000;
}
.tdr-l .tst {
    display:none;
}
.tst-u {
    min-width: 22px;
    margin: 0px 0px 1px 0px;
    padding: 0;
    text-align: left;
}
.tst-d {
    min-width: 22px;
    margin: -3px 0px 1px 0px;
    text-align: left;
}
.tsth {
    font-size:10px;
}
.tstm {
    font-size:8px;
    margin-left: -3px;
}
.tslb {
    font-size:9px;
    margin-left: -4px;
}
.tdr-f .tslb {
    color: #ff0000;
}
.tdr-l .tslb {
    display:none;
}
.roster-invalid .tslb, .roster-soft .tslb {
    color: #000000;
}
.tsty {
    font-size:11px;
}
div.roster-invalid {
    color: #000;
    font-weight: bold;
    background-color: #ff8d8d;
    padding: 1px;
    margin-top: -1px;
}
div.roster-soft {
    color: #000;
    font-weight: bold;
    background-color: #dcff00;
    padding: 1px;
    margin-top: -1px;
}
div.roster-swap {
    color: #000;
    font-weight: bold;
    background-color: #00ce10;
    padding: 1px;
    margin-top: -1px;
}

.md-button.md-fab.md-mini.znav {
    font-size: 20px;
    height: 30px;
    min-height: 30px;
    min-width: 30px;
    width: 30px;
    padding: 0px;
    margin: 5px;
}
.md-button.md-mini.znav {
    font-size: 20px !important;
    height: 28px;
    min-height: 28px;
    min-width: 28px;
    width: 28px;
    padding: 0px !important;
    margin: -3px;
}
.zicon-on {
    color:#ff8080 !important;
}
.zicon-off {
    color:#ffffff !important;
}
.zicon-alt {
    color:#a0a0a0 !important;
}
td > .md-button .md-ripple-container {
    border-radius: 3px;
    background-clip: padding-box;
    overflow: hidden;
}

/* ==================
 * Context Menu
 ==================== */
.context-menu {
    background: white;
    border-radius: 4px;
    box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2),
    0 13px 19px 2px rgba(0, 0, 0, 0.14),
    0 5px 24px 4px rgba(0, 0, 0, 0.12);
    min-width: 300px;
}
.context-menu-item {
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 48px;
    padding: 0 16px;
    position: relative;
    transition: background 0.15s linear;
    width: auto;
}
.context-menu-item:hover,
.context-menu-item:focus {
    background-color: rgb(238, 238, 238);
}
.context-menu-item.selected {
    color: rgb(16, 108, 200);
}
.zu .badge {
    font-size: 11px;
    padding: 1px 2px 1px 2px;
    border-radius: 4px;
    margin: 0px 1px 0px 1px;
}
.auth{
    position: absolute;
    right: 2%;
}
.account_auth{
    margin-top: 5px; margin-right: 0px;
}
@media (max-width: 750px) {
    .account_auth {
        margin-left: -20px;
    }
}
@media (max-width: 750px) {
    .auth_name{
        margin-top: 3px;
    }
}

/*  ------------------------------
    === ShopSelector ===
    ------------------------------ */
zero-calendar .md-button.selected {
    font-weight: bold;
    /*border: 1px solid #ff0;*/
    border: 2px solid #fff;
    font-size: 24px;
}
@media (max-width: 750px) {
    zero-calendar .md-button.selected {
        font-size: 16px;
    }
}
/*
zero-calendar .md-button:focus {
    text-decoration: underline;
}
*/

/* Vacation List and Form */

.generic-list-element {
    border-bottom: 1px solid #a0a0a0;
}
.sick{
    background-color: rgba(224,255,188,1);
}
.leave{
    background-color: rgba(181,204,252,1);
}
.holiday{
    background-color: rgba(242,222,222,1);
}
.approved{
    background-color: #ccebff;
}
.rejected{
    background-color: #ffd6d9;
}
.pending{
    background-color: #eff5a3;
}


/* Vacation List and Form */

.c-approved {color: rgba(255,0,0,1);}
.c-rejected {color: rgba(40,53,147,1);}
.c-pending {color: rgba(0, 0, 0, 0.54);}



.badge-approved{
    background-color: #5CB85C;
    border-radius: 4px;
}
.badge-rejected{
    background-color: #D9534F;
    border-radius: 4px;
}
.badge-pending{
    background-color: #EC971F;
    border-radius: 4px;
}
.user_log_table .badge{
    display: block;
    max-width: 80px;
}
.user_log_table .time_diff_neg{
    background-color: #F5CCCF !important;
}
.user_log_table .time_diff_pos{
    background-color: rgba(224,255,188,1) !important;
}
.badge-in{
    background-color: #337ab7;
}
.badge-out{
    background-color: #EC971F;
}

.md-inline-form md-radio-group md-radio-button{
    margin-right: 15px;
}
md-radio-button .md-label {
    margin-left: 21px;
}
.total_vacations md-input-container {
    margin: 2px 2px;
}
.toogle img{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
}
@media (max-width: 750px) {
    .toogle img {
        left: 62%;
    }
}
@media (min-width: 1350px) {
    .toogle img {
        left: 52%;
    }
}
.login img{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}
@media (min-width: 1350px) {
    .login img {
        left: 50%;
    }
}
.pref-high {
    background-color: #a9ff7b;
}
.pref-med {
    background-color: #f0ffa7;
}
.pref-low {
    background-color: #ffc888;
}

/*  ------------------------------
    === Sidebar Form ===
    ------------------------------ */
@media (min-width: 1024px) {
    sidebar-form md-sidenav, side-form md-sidenav {
        min-width: 50%;
    }
}
@media (max-width: 1024px) {
    sidebar-form md-sidenav, side-form md-sidenav {
        min-width: 100%;
    }
}

/*  ------------------------------
    === Constraint List ===
    ------------------------------ */
div.constraint_list > div > div {
    padding: 2px;
    min-height: 35px;
    max-height: 35px !important;
    border: 1px #d0cccc solid;
    border-collapse: collapse;
    text-align: center  ;
    font-size:13px;
    overflow: hidden;
}
div.constraint_list > div {
    padding: 0px;
}
div.constraint_list > div > div > div > .md-button {
    margin: -7px;
    padding: 0px;
}
div.constraint_list > div > div.constraint_date {
    font-size:11px;
    text-align:center;
}

/*  ------------------------------
    === Generic Classes ===
    ------------------------------ */
.badge-primary {
    background-color: #283593;
}
.badge-info {
    background-color: #5bc0de;
}
.badge-error {
    background-color: #ff0000;
}
.badge-warning {
    background-color: #f0ad4e;
}
.badge-success {
    background-color: #5cb85c;
}
.badge-yellow {
    background-color: #9dad00;
}
.badge-blue {
    background-color: #337ab7;
}

div .stats span{
    margin-right: 5px; padding: 2px; margin-bottom: 5px;
}

/*  -----------------------------------------
    === Overrides of angular-material.css ===
    ----------------------------------------- */

md-input-container {
    margin: 12px 0px 12px 0px;
}

/*  -----------------------------------------
    === Overrides of fullcalendar.css ===
    ----------------------------------------- */
.fc-toolbar {
    padding: 5px 0px 0px 5px;
}
@media (min-width: 750px) {
    .fc-toolbar button {
        min-width: 80px;
        padding: 0 6px;
        margin: 0px 5px;
    }
}
@media (max-width: 750px) {
    .fc-toolbar button {
        max-width: 50px;
        padding: 0 2px;
        margin: 0px;
    }
    .fc-month-button{
        visibility: hidden;
        width: 0px;
        min-width: 0px;
        margin: 0px !important;
        padding: 0px !important;
    }
    .fc-agendaWeek-button{
        visibility: hidden;
        width: 0px;
        min-width: 0px;
        margin: 0px !important;
        padding: 0px !important;
    }
}
.fc-toolbar button {
    display: inline-block;
    position: relative;
    cursor: pointer;
    min-height: 30px;
    line-height: 30px;
    vertical-align: middle;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-grid-row-align: center;
    align-items: center;
    text-align: center;
    border-radius: 3px;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 0;
    background: transparent;
    color: currentColor;
    white-space: nowrap;
    font-weight: 500;
    font-size: 14px;
    font-style: inherit;
    font-variant: inherit;
    font-family: inherit;
    text-decoration: none;
    overflow: hidden;
    -webkit-transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
    transition: box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1);
}
.fc-toolbar button.fc-state-default {
    background-color: rgb(160, 158, 171);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    color: rgba(255, 255, 255, 0.87);
}
.fc-toolbar button.fc-state-active {
    background-color: rgb(57, 73, 171);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    color: rgba(255, 255, 255, 0.87);
}
.fc-toolbar button.fc-state-disabled {
    background-color: rgb(224, 224, 224);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    color: rgba(255, 255, 255, 0.87);
}

th.fc-day-header:hover {
    background-color: #ffff80;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), inset 3px 2px 9px 1px rgba(0,0,0,.12);
}

/*  ------------------------------
    === validation error messages ===
    ------------------------------ */
md-dialog.validation-dialog {max-width: 70%; width: 70%;}
.validation-error-message {font-size:12px;}
.validation-alert {border-radius:4px; margin:5px; border:1px solid #ddd;}
/*.md-warning {background-color:#fed88f; border:1px solid #DEB86F; color:#222;}
.md-danger {background-color:#f4858e; border: 1px solid #D15E67; color:#FAC7CB;}
.md-danger b{color:#b80000;}
*/


.selectdemoSelectHeader {
    /* Please note: All these selectors are only applied to children of elements with the 'selectdemoSelectHeader' class */ }
.selectdemoSelectHeader .demo-header-searchbox {
    border: none;
    outline: none;
    height: 100%;
    width: 100%;
    padding: 0; }
.selectdemoSelectHeader .demo-select-header {
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12);
    padding-left: 10.667px;
    height: 48px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    width: auto; }
.selectdemoSelectHeader md-content._md {
    max-height: 240px; }

.maxw200{
    max-width: 200px;
}
.maxw150{
    max-width: 150px;
}
.maxw100{
    max-width: 100px;
}