﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
* {
    box-sizing: border-box;
}

html {
    width:100%;
    height:100%;
}

body {
    background-color: #5c87b2;
    font-size: 12px;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
    width: 100%;
    height: 100%;
}

a:link {
    color: #336699;
    text-decoration: underline;
}

a:visited {
    color: #336699;
}

a:hover {
    color: #006699;
    text-decoration: none;
}

a:active {
    color: #336699;
}

ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

p {
    margin: 20px 0 0 0;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 14px;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 1024px) {
    .page {
        min-width: 900px;
    }
}

header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
    height: 100px;
}

    header h1 {
        font-weight: bold;
        padding: 5px 0;
        margin: 0;
        color: #fff;
        border: none;
        line-height: 2em;
        font-size: 26px !important;
        text-shadow: 1px 1px 2px #111;
    }

#main {
    padding: 30px 30px 15px 30px;
    margin: 0 0 30px 0;
    background-color: #fff;
    border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
}

footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU
----------------------------------------------------------*/
nav {
    float: right;
}

ul#menu {
    margin: 20px 0 0;
    padding: 0 4px;
    display: block;
    list-style-type: none;
    box-shadow: #fff 0 0 8px inset;
    border-top: 1px solid #486079;
    border-bottom: 2px solid #486079;
    border-radius: 2px;
    background: #bbcee0; /* Old browsers */
    background: -moz-linear-gradient(top, #bbcee0 0%, #395c85 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #bbcee0 0%, #395c85 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #bbcee0 0%, #395c85 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbcee0', endColorstr='#395c85',GradientType=0);
}

    ul#menu li {
        display: inline-block;
        margin: 0;
        padding: 0;
        position: relative;
        color: #fff;
    }

        ul#menu li:hover,
        ul#menu li.active {
            background-color: #7794b4;
            color: #ffffa6;
            box-shadow: rgba(255, 255, 255, 0.5) 0 -1px 3px inset;
        }

        ul#menu li.menu-grip {
            display: none;
            height: 30px;
            width: 30px;
            padding: 3px 4px;
            border-radius: 2px;
            cursor: pointer;
        }

            ul#menu li.menu-grip b {
                display: block;
                background-color: #fff;
                width: 100%;
                height: 3px;
                margin: 4px 0 0;
                border-radius: 2px;
            }

        ul#menu li a, ul#menu li p {
            margin: 0;
            padding: 0 10px 0;
            display: block;
            text-decoration: none;
            font-size: 14px;
            line-height: 56px;
            height: 56px;
        }

        ul#menu li a {
            color: #fff;
        }

        ul#menu li:hover a {
            color: #ffffa6;
        }

        ul#menu li p {
            cursor: pointer;
        }

        ul#menu li ul {
            display: none;
            position: absolute;
            width: 200px;
            top: 54px;
            left: -2px;
            margin: 0;
            padding: 5px;
            border-bottom-left-radius: 2px;
            border-bottom-right-radius: 2px;
            border-bottom: 1px solid #fff;
            border-right: 1px solid #fff;
            box-shadow: rgba(0,0,0,0.4) 1px 2px 4px;
            background-color: #7794b4;
            z-index: 150;
        }

            ul#menu li ul li {
                display: block;
                border-radius: 2px;
            }

        ul#menu li.active ul {
            display: block;
        }

        ul#menu li ul li:hover {
            color: #fff;
            box-shadow: none;
            background-color: #597193;
        }

        ul#menu li ul a {
            display: inline-block;
            padding: 0 7px;
            margin: 0 1px;
            font-size: 12px;
            color: #fff;
        }

            ul#menu li:hover ul a,
            ul#menu li.active ul a,
            ul#menu li:hover ul a:hover,
            ul#menu li.active ul a:hover,
            ul#menu li ul a:hover {
                color: #fff;
            }

/* FORM LAYOUT ELEMENTS
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 12px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
textarea {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 12px;
    color: #444;
    width: 200px;
}

textarea {
    min-height: 75px;
    width:700px;
}

select {
    min-width: 200px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 12px;
    color: #444;
}

input[type="button"],
input[type="submit"] {
    font-size: 12px;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

table {
    margin: 15px 0;
    border: solid 1px #e8eef4;
    border-collapse: collapse;
    border-spacing: 0;
}

    table td {
        padding: 5px;
        border: solid 1px #e8eef4;
    }

    table th {
        padding: 6px 5px;
        text-align: left;
        background-color: #e8eef4;
        border: solid 1px #e8eef4;
    }

        table th:first-child {
            -moz-border-radius: 6px 0 0 0;
            -webkit-border-radius: 6px 0 0 0;
            border-radius: 6px 0 0 0;
        }

        table th:last-child {
            -moz-border-radius: 0 6px 0 0;
            -webkit-border-radius: 0 6px 0 0;
            border-radius: 0 6px 0 0;
        }

    table tr:nth-child(even) {
        background: #f5f5f5;
        box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
    }

/* MISC
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: #f00;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

    #logindisplay a:link {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:visited {
        color: white;
        text-decoration: underline;
    }

    #logindisplay a:hover {
        color: white;
        text-decoration: none;
    }

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label {
    margin: 7px 0 0 0;
    font-size: 12px;
    font-weight: bold;
    color: #006699;
}

.display-field,
.editor-field {
    margin: 2px 0 0 0;
}

.text-box {
    width: 30em;
}

    .text-box.multi-line {
        height: 6.5em;
    }

.tri-state {
    width: 6em;
}

.photo {
    padding: 10px;
    margin: 0;
}

.photo-box {
    padding: 10px;
    margin: 0;
    float: right;
}

a.lightbox, a.lightbox img {
    border: none;
}

.editor-block {
    display: inline;
    float: left;
    padding: 0 10px 0 0;
}

.editor-block-button {
    display: inline;
    float: left;
    padding: 18px 10px 0 0;
}

th.dayoff {
    background: #FFCCCC;
    padding: 0;
    text-align: center;
    width: 20px;
}

th.dayon {
    padding: 0;
    text-align: center;
    line-height: 30px;
    width: 20px;
}

td.dayoff {
    background: #FFCCCC;
    padding: 0;
    margin: 0;
    text-align: center;
}

    td.dayon p, td.dayoff p {
        padding: 0;
        margin: 0;
        width: 21px;
        height: 27px;
        line-height: 27px;
        cursor: pointer;
    }

td.dayon, td.result {
    padding: 0;
    margin: 0;
    text-align: center;
}

    td.dayon .day-addr, td.dayoff .day-addr {
        display: none;
    }

    td.dayon:hover, td.dayoff:hover {
        background: #99CCFF;
    }

p.positive {
    color: #00CC00;
    font-weight: bold;
    font-size: 18px;
}

p.negative {
    color: #CC0000;
    font-weight: bold;
    font-size: 18px;
}

td.result p {
    font-weight: normal;
    font-size: 13px;
}

p.discharge {
    background: #CCCCCC;
}

body.m-disabled .page {
    filter: blur(6px);
}

#dis-phone {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=55);
    opacity: 0.55;
}

* html #dis-phone {
    position: absolute;
    height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + "px");
}

#edit-day {
    display: none;
    z-index: 200;
    position: fixed;
    top: 30px;
    margin: 0 -250px 0 -250px;
    padding: 0;
    left: 50%;
    width: 500px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: rgba(0,0,0,0.4) 2px 2px 5px;
}

    #edit-day h3 {
        font-size: 1.4em;
        font-weight: normal;
        color: #777;
        margin: 0 0 8px 0;
    }

    #edit-day h4 {
        font-size: 1.3em;
        font-weight: normal;
        color: #999;
        margin: 0 0 10px 0;
    }

    #edit-day fieldset legend {
        color: #999;
        font-weight: normal;
        font-size: 1.1em;
    }

    #edit-day div.header {
        margin: 15px 15px 0;
    }

    #edit-day div.edit-day_content {
        padding: 15px;
        margin: 0;
        max-height: 480px;
        overflow: auto;
        background-color: #f0f0f0;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    #edit-day input[type=button] {
        margin: 15px 0 0 0;
    }

.close-button {
    display: block;
    float: right;
    color: #336699;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    margin: 15px 15px 0 0;
}

.event {
    padding: 0 5px 10px;
    border-bottom: 1px solid #999;
    margin: 10px 0 0;
}

    .event.modified span.mod-marker {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 4px;
        background-color: #6da6f1;
        margin: 0 8px;
        vertical-align: middle;
    }

.events .event select {
    width: 100%;
}

.events .event textarea {
    width: 100%;
}

.warning-message {
    color: #CC0000;
}

#dialog-box {
    z-index: 2;
    position: fixed;
    top: 15px;
    padding: 15px;
    width: 500px;
    left: 50%;
    margin-left: -250px;
    background: #fff;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    box-shadow: rgba(0,0,0,0.4) 2px 2px 5px;
}

a.pdf-link, a.pdf-link img {
    border: none;
}

a.pdf-link {
    display: block;
    float: right;
}

.data-block {
    display: inline-block;
    margin-right: 15px;
}

    .data-block select {
        min-width: 0;
    }

.edit-list {
    display: inline-block;
}

#nav-links {
    margin-top: 10px;
}

    #nav-links a.link {
        display: inline-block;
        text-decoration: none;
        margin-right: 30px;
        margin-top: 10px;
        padding-top: 7px;
        padding-bottom: 7px;
        background: #6699CC;
        border-radius: 3px;
        moz-border-radius: 3px;
        color: #FFFFFF;
        width: 30px;
        text-align: center;
    }

    #nav-links a.ten {
        background: #FFFFCC;
        color: #6699CC;
    }

    #nav-links a.cur-link {
        display: inline-block;
        text-decoration: none;
        margin-right: 30px;
        padding-top: 7px;
        padding-bottom: 7px;
        background: #e8eef4;
        border-radius: 3px;
        moz-border-radius: 3px;
        color: #336699;
        width: 30px;
        text-align: center;
    }

    #nav-links a.link:hover {
        background: #FFFF99;
        color: #336699;
    }

#accordion {
    font-size: 12px;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a.positive, p.positive, span.positive {
    margin: 0;
    padding: 0;
    color: #009900;
    text-decoration: none;
}

a.negative, p.negative, span.negative {
    margin: 0;
    padding: 0;
    color: #FF0000;
    text-decoration: none;
}

a.normal, p.normal {
    margin: 0;
    padding: 0;
}

p.holiday {
    background: #66CC66;
}

p.hospital {
    background: #FFFF99;
}

.object-photo {
    padding: 0 0 25px 0;
}

    .object-photo img {
        display: block;
    }

#photogalery {
    max-height: 500px;
    overflow: auto;
}

#edit-day label {
    display: inline-block;
    color: #336699;
    font-size: 14px;
    margin-left: 5px;
}

.logon-container {
    margin: 150px auto 0 auto;
    width: 300px;
    padding: 15px 21px 1px 21px;
    background: #FFFFFF;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

    .logon-container h2 {
        padding: 0;
        margin: 0;
    }

    .logon-container input[type="text"], .logon-container input[type="password"] {
        width: 100%;
    }

    .logon-container input[type="submit"] {
        margin-bottom: 10px;
    }

.photo {
    position: relative;
    padding: 0;
    margin: 0;
}

ul.vertical-menu {
    display: none;
    position: absolute;
    right: 2px;
    top: 2px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: #000000;
    opacity: 0.65;
    padding: 1px;
}

ul.vertical-menu li {
    padding: 0;
    margin: 0;
}

ul.vertical-menu a {
    font-weight: bold;
    display: block;
    color: #FFFFFF;
    padding: 7px;
    background: #000000;
    text-decoration: none;
}

    ul.vertical-menu a:hover {
        background: #999999;
        color: #000000;
    }

ul.table-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    ul.table-menu li {
        display: inline-block;
        padding: 5px 27px 5px 0px;
    }

        ul.table-menu li.break {
            clear: left;
        }

#alphabet-links {
    margin-top: 10px;
}

    #alphabet-links .link {
        display: inline-block;
        text-decoration: none;
        margin: 0;
        margin-right: 3px;
        margin-top: 10px;
        padding: 7px 0 7px 0;
        background: #6699CC;
        border-radius: 3px;
        moz-border-radius: 3px;
        color: #FFFFFF;
        width: 25px;
        text-align: center;
        border: none;
        cursor: pointer;
    }

    #alphabet-links .cur-link {
        display: inline-block;
        text-decoration: none;
        margin: 0;
        margin-right: 3px;
        margin-top: 10px;
        padding: 7px 0 7px 0;
        background: #e8eef4;
        border-radius: 3px;
        moz-border-radius: 3px;
        color: #006699;
        width: 25px;
        text-align: center;
        border: none;
        cursor: pointer;
    }

    #alphabet-links .link.m-selected {
        background: #e8eef4;
        color: #006699;
    }

label.b-form_radio_btn {
    display: inline-block;
    margin-top: 10px;
    width: 25px;
    height: 25px;
    overflow: hidden;
    position: relative;
}

    label.b-form_radio_btn input {
        opacity: 0;
        filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
        position: absolute;
        left: -1000px;
    }

        label.b-form_radio_btn input + span {
            display: inline-block;
            margin: 0;
            background: #69c;
            border-radius: 3px;
            moz-border-radius: 3px;
            color: #fff;
            width: 25px;
            height: 25px;
            line-height: 25px;
            text-align: center;
            border: none;
            cursor: pointer;
        }

        label.b-form_radio_btn input:checked + span {
            background: #e8eef4;
            color: #069;
        }

    label.b-form_radio_btn.m-audit_date {
        width: 68px;
    }

        label.b-form_radio_btn.m-audit_date input + span {
            width: 68px;
            background-color: #e8eef4;
            color: #69c;
        }

        label.b-form_radio_btn.m-audit_date input:checked + span {
            background-color: #ffc;
            color: #69c;
        }

        label.b-form_radio_btn.m-audit_date input + span.m-red {
            color: #e00;
        }

        label.b-form_radio_btn.m-audit_date input + span.m-yellow {
            color: #f6f759;
        }

tr.complaint {
    color: #EE0000;
    font-weight: bold;
}

    tr.complaint a {
        color: #EE0000;
        font-weight: normal;
    }

tr.blank {
    color: #f6f759;
    font-weight: bold;
}

    tr.blank a {
        color: #f6f759;
        font-weight: normal;
    }

#date-links a {
    display: inline-block;
    text-decoration: none;
    margin: 0;
    margin-right: 3px;
    margin-top: 10px;
    padding: 7px 0 7px 0;
    background: #6699CC;
    border-radius: 3px;
    moz-border-radius: 3px;
    color: #FFFFFF;
    width: 71px;
    text-align: center;
}

    #date-links a.active {
        background: #FFFFCC;
        color: #6699CC;
    }

    #date-links a.boundary {
        background: #e8eef4;
        color: #6699CC;
    }

    #date-links a.red {
        color: #EE0000;
    }

    #date-links a.yellow {
        color: #f6f759;
    }


    #date-links a:hover {
        color: #336699;
    }

.editor-min select, .editor-min select option {
    min-width: 50px;
    width: 50px;
}

div.small-size input {
    width: 90px;
}

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    /* support: IE7 */
    *height: 1.7em;
    *top: 0.1em;
}

.custom-combobox-input {
    margin: 0;
    padding: 0.3em;
}

div.ui-datepicker-title select {
    min-width: 30px;
}

.taked td {
    background-color: #eb9e9e;
    color: #fff;
}

a.no-read {
    font-weight: bold;
    color: #EE0000;
}

#notify-block {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #000;
    border: 1px solid #FFF;
    border-radius: 10px;
    moz-border-radius: 10px;
    opacity: 0.7;
    padding: 10px;
}

    #notify-block h3 {
        color: #fff;
        display: block;
        padding: 0 0 10px 0;
        margin: 0;
    }

    #notify-block p {
        padding: 0;
        margin: 0;
    }

    #notify-block a {
        display: block;
        padding: 10px;
        margin: 2px;
        color: #f6f759;
        font-weight: bold;
        text-decoration: none;
        border-radius: 4px;
        moz-border-radius: 4px;
    }

        #notify-block a:hover {
            background: #666;
        }

#top-link {
    border: none;
    background: none;
    color: #fff;
    font-size: 13px;
    text-decoration: underline;
    position: fixed;
    top: 10px;
    left: 5px;
    cursor: pointer;
}

    #top-link:hover {
        text-decoration: none;
    }

#big-menu a {
    display: inline-block;
    width: 204px;
    height: 204px;
    vertical-align: middle;
    margin: 15px;
    padding:2px;
    border-radius: 4px;
    font-size: 19px;
    background: #e8eef4;
    color: #369;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border: 1px solid #aaa;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#big-menu a img {
    width: 100%;
}

#big-menu a#forum {
    text-align: left;
    background: url('/Content/images/forum.gif') no-repeat 2px 2px #e8eef4;
    padding: 15px 0 0 15px;
}

a.birthmonth {
    color: #327646;
}

form.form-inline {
    display: inline;
}

input.link-button, button.link-button {
    color: #336699;
    text-decoration: underline;
    background-color: transparent;
    border-style: none;
    font-size: 12px;
    font-family: 'Trebuchet MS', Verdana, Helvetica, sans-serif;
    cursor: pointer;
    padding: 0;
}

    input.link-button:hover, button.link-button:hover {
        color: #006699;
        text-decoration: none;
    }

table.t-task_content {
    width: 100%;
}

    table.t-task_content td {
        font-size: 16px;
    }

        table.t-task_content td p {
            font-size: 12px;
            margin-top: 7px;
            line-height: 140%;
        }

    table.t-task_content .b-complete_form {
        margin-top: -10px;
    }

    table.t-task_content tr.alarm td {
        background-color: #fcc;
    }

    table.t-task_content tr.complete td.t-task_description {
        text-decoration: line-through;
    }

    table.t-task_content .j-no_data td {
        padding: 30px 0;
        text-align: center;
    }

.b-upcoming_birthdays, .b-notify_events {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .b-upcoming_birthdays li {
        line-height: 140%;
        position: relative;
        padding-right: 25px;
        margin-left: 12px;
    }

    .b-notify_events li {
        line-height: 120%;
    }

    .b-upcoming_birthdays p {
        color: #fff;
    }

    .b-upcoming_birthdays span {
        font-size: 90%;
        display: block;
        margin-bottom: 8px;
    }

    .b-upcoming_birthdays li form {
        position: absolute;
        right: 0px;
        top: 0px;
    }

        .b-upcoming_birthdays li form button {
            width: 16px;
            height: 16px;
            padding: 1px;
            line-height: 14px;
            font-size: 14px;
            color: #fff;
            background-color: #b43737;
            border: none;
            border-radius: 2px;
            cursor: pointer;
        }

            .b-upcoming_birthdays li form button:hover {
                background-color: #970b0b;
            }

.b-table_legend label span {
    display: inline-block;
    padding: 4px;
    background-color: #eee;
    margin: 0 4px 0 2px;
    min-width: 16px;
    text-align: center;
}

.b-table_legend input {
    display: none;
}

.b-table_legend.m-table_editable input {
    display: inline-block;
}

.b-table_legend label span.m-positive {
    font-size: 18px;
    color: #090;
    font-weight: bold;
    padding: 3px 4px;
}

.b-table_legend label span.m-vacation {
    background-color: #6c6;
}

.b-table_legend label span.m-hospital {
    background-color: #ff9;
}

.b-inline_block {
    display: inline-block;
    margin: 4px 10px 10px 0;
}

.b-schedule_type {
    display: block;
}

.b-user_list__table {
    width: 100%;
}

.b-user_list__table__icon {
    font-size: 18px;
    color: #f00;
}

.b-user_list__table tr.m-approved .b-user_list__table__icon {
    color: #17a111;
}

.b-user_list__pager {
    list-style-type: none;
    padding: 0;
}

    .b-user_list__pager li {
        display: inline-block;
        padding: 0 5px 0 0;
    }

        .b-user_list__pager li.m-hint {
            color: #aaa;
        }

ul.b-user_roles__selector {
    list-style-type: none;
    padding: 0;
}

.b-password_hint {
    color: #999;
    font-size: 0.9em;
}

.m-columned_list div {
    display: inline-block;
    width: 250px;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.5;
    vertical-align: top;
}

.m-mrg-t10 {
    margin-top: 10px;
}

.m-mrg-l10 {
    margin-left: 10px;
}

.m-mrg-r10 {
    margin-right: 10px;
}

.m-mrg-b10 {
    margin-bottom: 10px;
}

.ui-button {
    margin-top: 0 !important;
}

ul.b-item_commands {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    ul.b-item_commands li {
        display: inline-block;
        padding: 0 4px;
        border-right: 1px dotted #999;
        margin: 0;
    }

        ul.b-item_commands li:last-child {
            border: none;
        }

.b-employee_arm {
    width: 250px;
    height: 100px;
    display: inline-block;
    margin: 0 10px 10px 0;
    position: relative;
    vertical-align: top;
}

    .b-employee_arm .b-employee_arm_delete {
        position: absolute;
        top: 3px;
        right: 3px;
        padding: 0px;
        line-height: 22px;
        height: 24px;
        border: none;
        background-color: transparent;
        color: #944;
        font-size: 22px;
        cursor: pointer;
    }

        .b-employee_arm .b-employee_arm_delete:hover {
            color: #f66;
        }

.b-employee_arm_add {
    display: inline-block;
    height: 100px;
    width: 25px;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    border: none;
    background-color: #fff;
    padding: 0;
    cursor: pointer;
}

    .b-employee_arm_add:hover {
        background-color: #f5f5f5;
        color: #888;
    }

.b-day_trips__list {
    min-height: 160px;
}

.b-trips_manager, .b-trips_objmanager {
    font-size: 0;
}

    .b-trips_manager .b-day-trip, .b-trips_objmanager .b-day-trip {
        display: inline-block;
        min-width: 200px;
        max-width: 400px;
        width: 25%;
        font-size: 12px;
        vertical-align: top;
    }

    .b-trips_manager .b-day_trip__inner, .b-trips_objmanager .b-day_trip__inner {
        border: 1px solid #ddd;
        min-height: 83px;
        border-radius: 2px;
        margin-bottom: 5px;
        margin-right: 5px;
    }

    .b-trips_manager .b-day-trip h3 {
        position: relative;
        font-size: 1.5em;
        color: #777;
        margin: 0;
        padding: 4px 30px 4px 4px;
        border-bottom: 1px dashed #eee;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        min-height: 22px;
    }

    .b-trips_manager .b-trips_man_create {
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 30px;
        height: 30px;
        background-color: #eee;
    }

        .b-trips_manager .b-trips_man_create a {
            display: block;
            width: 30px;
            height: 30px;
            padding: 0;
            margin: 0;
            font-size: 30px;
            color: #999;
            line-height: 30px;
            font-weight: normal;
            text-decoration: none;
            text-align: center;
        }

            .b-trips_manager .b-trips_man_create a:hover {
                background-color: #65c154;
                color: #fff;
            }

    .b-trips_manager .b-day-trip p.empty {
        text-align: center;
        color: #999;
    }

.b-day-trip ul {
    list-style-type: none;
    padding: 0 0 0 10px;
    margin: 20px 5px 20px 0;
}

    .b-day-trip ul li {
        line-height: 170%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

.b-trips_manager .b-day-trip .b-time {
    color: #444;
    font-size: 1.3em;
    vertical-align: middle;
}

.b-trips_objmanager .b-day-trip h3 {
    position: relative;
    font-size: 1.2em;
    color: #777;
    margin: 0;
    padding: 4px;
    border-bottom: 1px dashed #eee;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.b-trips_obj_create {
    color: #999;
    display: inline-block;
    font-weight: normal;
    text-decoration: none;
    vertical-align: top;
    line-height: 18px;
    padding: 3px;
    vertical-align: middle;
    border: 1px solid #eee;
    border-radius: 2px;
    margin-left: 5px;
}

    a.b-trips_obj_create:hover {
        background-color: #65c154;
        color: #fff;
        border: 1px solid #61b751;
    }

.b-day-trip ul {
    list-style-type: none;
    padding: 0 0 0 10px;
}

.b-day-trip .b-time {
    color: #444;
    font-size: 1.1em;
    vertical-align: middle;
}

.b-trips_holidays ul {
    list-style-type: none;
    padding: 0 0 0 10px;
    margin: 0;
}

.b-day-trip__rapid {
    padding: 8px 0 0 10px;
}

    .b-day-trip__rapid p {
        margin: 5px 0;
        font-size: 1.1em;
        color: #444;
    }

.b-editor_note {
    font-size: 90%;
    color: #999;
}

.b-trips__group.m-trip_group_empty {
    display: none;
}

.b-day_trips__list.m-visible .b-trips__group.m-trip_group_empty {
    display: block;
}

.b-trips__group.m-trip_group_empty h3 {
    color: #999;
}

a.b-trips_monit {
    color: #999;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    vertical-align: top;
    line-height: 18px;
    padding: 3px;
    vertical-align: middle;
    border: 1px solid #eee;
    border-radius: 2px;
    margin-left: 5px;
}

    a.b-trips_monit:hover {
        background-color: #83b0dd;
        color: #fff;
        border: 1px solid #6699CC;
    }

.b-trip_destination {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: default;
}

table.b-trip_archive_table {
    width: 100%;
}

.b-trip_archive_table th.b-trip_archive__time {
    width: 80px;
    text-align: center;
}

.b-trip_archive_table td.b-trip_archive__time {
    width: 80px;
    font-size: 16px;
    color: #444;
    text-align: center;
}

.b-trip_archive_table th.b-trip_archive__date {
    border-left-color: #fff;
}

.b-trip_archive_table td.b-trip_archive__date {
    width: 160px;
    font-size: 18px;
    color: #888;
    background-color: #fff;
    border-left-color: #fff;
    padding-left: 10px;
}

.m-trip_archive-empty {
    text-align: center;
    color: #999;
    padding: 40px;
}

.b-time_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.m-center {
    text-align: center;
}

td.m-title_w {
    background-color: #fff !important;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
}

td.b-boutique-sales--index {
    width: 40px;
}

td.b-boutique-sales--title {
    width: 300px;
}

td.b-boutique-sales--entry {
    width: 60px;
}

.m-trip-flaws, .m-trip-flaws a {
    color: #f00;
}

.b-toggle_switch {
}

    .b-toggle_switch input + label.b-toggle_switch__label {
        display: inline-block;
        height: 30px;
        border-radius: 15px;
        background-color: #bbb;
        border: 1px solid #777;
        color: #fff;
        padding: 0;
        vertical-align: middle;
    }

        .b-toggle_switch input + label.b-toggle_switch__label .b-toggle_switch__on,
        .b-toggle_switch input + label.b-toggle_switch__label .b-toggle_switch__off {
            display: inline-block;
            width: 28px;
            height: 28px;
            border-radius: 14px;
            background-color: #fff;
            vertical-align: middle;
        }

        .b-toggle_switch input + label.b-toggle_switch__label .b-toggle_switch__off {
            border: 1px solid #f00;
            box-shadow: #f00 0 0 5px inset;
        }

        .b-toggle_switch input + label.b-toggle_switch__label .b-toggle_switch__on {
            display: none;
            border: 1px solid #54b10c;
            box-shadow: #54b10c 0 0 5px inset;
        }

        .b-toggle_switch input + label.b-toggle_switch__label .b-toggle_switch__text {
            display: inline-block;
            vertical-align: middle;
            margin: 0 6px;
        }

    .b-toggle_switch input {
        display: none;
    }

        .b-toggle_switch input:checked + label.b-toggle_switch__label {
            background-color: #069;
            border: 1px solid #069;
        }

            .b-toggle_switch input:checked + label.b-toggle_switch__label .b-toggle_switch__on {
                display: inline-block;
            }

            .b-toggle_switch input:checked + label.b-toggle_switch__label .b-toggle_switch__off {
                display: none;
            }

@media only screen and (max-width: 1024px) {
    body {
        background-color: #fff;
    }

    .page {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    header {
        background-color: #5c87b2;
        height: 50px;
        margin: 0 0 5px 0;
        padding: 0;
        border-top: 1px solid #444;
    }

    #main {
        padding: 15px 15px 10px;
    }

    nav {
        float: none;
        width: 100%;
        background-color: #5c87b2;
        z-index: 200;
        margin: 0;
        padding: 0;
    }

    ul#menu {
        background: none;
        border: none;
        filter: none;
        box-shadow: none;
        margin-top: 10px;
        padding-bottom: 10px;
    }

        ul#menu li {
            display: none;
        }

            ul#menu li.menu-grip {
                display: block;
            }

    .m-menu_open ul#menu li {
        display: block;
    }

    .m-menu_open #main {
        display: none;
    }

    .m-menu_open ul#menu li.menu-grip {
        margin-bottom: 20px;
    }

    ul#menu li, ul#menu li.active, ul#menu li:hover {
        box-shadow: none;
    }

        ul#menu li ul {
            position: relative;
            top: 0px;
            left: 0px;
            width: 100%;
            margin: 2px 0;
            border: none;
            box-shadow: none;
            padding-top: 0;
        }

            ul#menu li ul li {
                padding-left: 15px;
            }

                ul#menu li ul li a, ul#menu li ul li p {
                    height: 40px;
                    line-height: 40px;
                }

    .m-table_container {
        margin: 0 -15px;
        overflow-x: auto;
    }

        .m-table_container table {
            width: 100%;
        }

    textarea {
        width: 100%;
    }

    #big-menu {
        margin: 0 auto;
    }

    #big-menu a {
        width: 150px;
        height: 150px;
        margin: 5px;
        font-size: 14px;
    }

    #big-menu a#forum {
        text-align: left;
        width: 150px;
        height: 150px;
        padding: 5px 0 0 5px;
        background-size: 135px;
    }
}
@media only screen and (max-width: 350px) {
    #big-menu {
        margin: 0 auto;
    }

        #big-menu a {
            width: 128px;
            height: 128px;
            margin: 5px;
            font-size: 14px;
        }

            #big-menu a#forum {
                text-align: left;
                width: 128px;
                height: 128px;
                padding: 5px 0 0 5px;
                background-size: 122px;
            }
}