body {
    min-height: 100%;
    margin: 0;
    background: #f1f1f1;
}

    body > .container {
        padding-bottom: 15px;
        background-color: white;
        box-shadow: 0 1px 2px 2px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0 1px 2px 2px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 1px 2px 2px rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        -webkit-border-bottom-left-radius: 3px;
        -webkit-border-bottom-right-radius: 3px;
        -moz-border-radius-bottomleft: 3px;
        -moz-border-radius-bottomright: 3px;
        overflow: auto;
        width: auto;
        max-width: 1200px;
        min-height: 450px;
        margin-bottom: 30px;
        position: relative;
    }

    body.fullscreen > .container {
        max-width: 2400px;
    }

    body.login-page {
        box-shadow: inset 0 0 50px rgba(0,0,0,0.25);
        -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
        -moz-box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
    }

.outer > .middle > .container {
    max-width: 640px;
    text-align: center;
    min-height: 480px;
    padding: 30px 15px;
}

.lead-heading {
    font-size: 46px;
    margin: 0 0 10px;
}

.header {
    background-color: #c8d8f7;
    background-image: linear-gradient(to top, #e8f0ff, #c8d8f7 60%, #a8b8e0);
    background-image: -moz-linear-gradient(bottom, #e8f0ff, #c8d8f7 60%, #a8b8e0);
    background-image: -webkit-linear-gradient(bottom, #e8f0ff, #c8d8f7 60%, #a8b8e0);
    padding: 15px;
    margin: 0 -15px;
    position: relative;
}

    .header:before, .header:after {
        content: " ";
        display: table;
    }

    .header:after {
        clear: both;
    }

    .header .logo a, .header .logo h1 {
        display: inline-block;
        vertical-align: middle;
        font-size: 48px;
        margin: 0;
    }

    .header .logo img {
        height: 80px;
    }

    .header .logo .info {
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        margin-left: 20px;
    }

    .header .logo .subtitle {
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        margin-left: 20px;
        font-size: 34px;
        color: #338;
    }

    .header .login-view, .header .lang-switcher {
        position: absolute;
        right: 0;
        top: 0;
        padding-right: 15px;
        padding-top: 10px;
    }

    .header .nav-pills {
        margin-top: 15px;
    }

        .header .nav-pills > li > a {
            font-weight: bold;
        }

.nav-pills > li > a {
    color: #426bca;
    background-color: #f2f2f2;
    background-color: rgba(0,0,0,0.05);
}

    .nav-pills > li > a:hover, .nav-pills > li > a:focus {
        background-color: #cccccc;
        background-color: rgba(0,0,0,0.2);
    }

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    background-color: #426bca;
    color: white;
}

.nav-stacked > li.subitem {
    margin-left: 15px;
}

.navbar-toggle {
    display: none;
    border: solid 1px rgba(0,0,0,0.3);
    background-color: rgba(0,0,0,0.1);
}

    .navbar-toggle:hover {
        background-color: rgba(0,0,0,0.2);
    }

    .navbar-toggle .icon-bar {
        background-color: white;
    }

.masthead {
    padding: 15px 15px 0;
    margin: 0 -15px;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #333;
    background-image: linear-gradient(to bottom, #111, #444);
    text-align: center;
}

.masthead-brand {
    display: block;
    margin: 0;
    height: 64px;
    min-width: 110px;
    background: url("logo-white-64.png") center center no-repeat;
}

.masthead-nav > li {
    display: inline-block;
}

    .masthead-nav > li + li {
        margin-left: 20px;
    }

    .masthead-nav > li > a {
        padding: 10px 0;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        border-bottom: 2px solid transparent;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }

        .masthead-nav > li > a:hover,
        .masthead-nav > li > a:focus {
            background-color: transparent;
            border-bottom-color: rgba(255,255,255,.5);
        }

@media (min-width: 768px) {
    .masthead {
        position: absolute;
        padding: 0 30px 0 15px;
        margin: 0;
        background-color: rgba(0,0,0,0.2);
        background-image: none;
    }

    .masthead-brand {
        float: left;
        background-position: left center;
    }

    .masthead-nav {
        float: right;
    }

        .masthead-nav > li > a {
            padding: 20px 0;
        }
}

.header-carousel .login-view {
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 15px;
    padding-top: 10px;
}

.header-carousel .nav-pills {
    margin-top: 15px;
}

    .header-carousel .nav-pills > li > a {
        font-weight: bold;
    }

.footer {
    text-align: center;
    color: #999;
}

.sidebar {
    margin-top: 0;
}

    .sidebar .nav, .sidebar .sidebar-first-item {
        margin-top: 15px;
    }

    .sidebar:before {
        content: " ";
        display: table;
    }

.main-content {
    margin-top: 15px;
}

.side-content {
    margin-top: 15px;
    border-left: solid 1px #cccccc;
}

.chicken {
    display: block;
    margin: -15px auto -14px;
    pointer-events: none;
}

mark {
    padding: 0 3px;
    background-color: #ffff44;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

hr {
    margin: 10px 0;
    border-top-color: #ccc;
    clear: both;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 15px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    color: #071871;
}

h1, .h1 {
    font-size: 30px;
}

h2, .h2 {
    font-size: 26px;
}

h3, .h3 {
    font-size: 22px;
}

    h1 a, h2 a, h3 a, h4 a {
        color: #333;
    }

    h1:first-child, h2:first-child, .img-big-right:first-child + h1, .img-big-right:first-child + h2,
    h3:first-child, h4:first-child, .img-big-right:first-child + h3, .img-big-right:first-child + h4 {
        margin-top: 0;
    }

.aspNetHidden:first-child + h1, .aspNetHidden:first-child + .aspNetHidden + h1,
.aspNetHidden:first-child + h2, .aspNetHidden:first-child + .aspNetHidden + h2 {
    margin-top: 0;
}

h1 .btn, h2 .btn, h3 .btn, h4 .btn {
    margin-left: 5px;
}

big {
    font-size: 125%;
}

dd {
    margin-bottom: 10px;
}

    dd:after {
        content: "";
        display: block;
        clear: both;
    }

.list-lower-alpha-brackets, .list-upper-alpha-brackets {
    list-style-type: none;
    counter-reset: ordered-list;
}

    .list-lower-alpha-brackets > li, .list-upper-alpha-brackets > li {
        position: relative;
        counter-increment: ordered-list;
    }

        .list-lower-alpha-brackets > li:before, .list-upper-alpha-brackets > li:before {
            position: absolute;
            display: block;
            width: 33px;
            top: 0;
            left: -40px;
            text-align: right;
            pointer-events: none;
            user-select: none;
            -moz-user-select: none;
            -webkit-user-select: none;
        }

        .list-lower-alpha-brackets > li:before {
            content: "(" counter(ordered-list, lower-alpha) ")";
        }

        .list-upper-alpha-brackets > li:before {
            content: "(" counter(ordered-list, upper-alpha) ")";
        }

.outer > .middle > .container pre {
    text-align: left;
    overflow: auto;
    white-space: nowrap;
}

.panel-heading {
    display: block;
}

.thumbnail {
    overflow: hidden;
}

.table-auto {
    width: auto;
}

.table-cenik td + td, .table-cenik th + th {
    text-align: center;
}

img.pull-left, a.pull-left {
    display: block;
    margin-right: 5px;
}

img.pull-right, a.pull-right {
    display: block;
    margin-left: 5px;
}

.img-block {
    display: block;
}

.img-big-left {
    display: block;
    margin-right: 10px;
    margin-bottom: 10px;
    max-width: 100%;
    float: left;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.img-big-right {
    display: block;
    margin-left: 10px;
    margin-bottom: 10px;
    max-width: 100%;
    float: right;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.img-center {
    display: block;
    max-width: 100%;
    margin: 0 auto 10px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

    .img-big-left img, .img-big-right img, .img-center img {
        display: block;
        max-width: 100%;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

    .img-center img {
        margin-left: auto;
        margin-right: auto;
    }

    .img-big-left.thumbnail, .img-big-right.thumbnail, .img-center.thumbnail, .img-big-left .thumbnail, .img-big-right .thumbnail, .img-center .thumbnail {
        border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
    }

    .img-big-left .thumbnail, .img-big-right .thumbnail, .img-center .thumbnail {
        margin-bottom: 0;
    }

figcaption {
    text-align: center;
    font-size: 13px;
}

.clear-above {
    clear: both;
}

.img-container {
    display: block;
    overflow: hidden;
    text-align: center;
}

    .img-container > img {
        max-height: 300px;
    }

.rotate90 {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.rotate180 {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rotate270 {
    -webkit-transform: rotate(-270deg);
    transform: rotate(-270deg);
}

img.zoomable {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
}

.col-spaced {
    margin-bottom: 15px;
}

.row-clear > div {
    overflow: hidden;
}

input[type="radio"], input[type="checkbox"] {
    margin: 4px 4px 0 0;
    vertical-align: text-top;
}

.rbcb {
    display: inline-block;
    margin: 0 0 0 -4px;
}

    .rbcb label {
        margin: 0 4px;
        font-weight: normal;
    }

    .rbcb input[type="radio"], .rbcb input[type="checkbox"] {
        margin: 4px 0 0 4px;
    }

.table-calendar {
    width: auto;
    margin-right: 15px;
}

    .table-calendar tbody > tr > td {
        text-align: right;
        padding-right: 7px;
    }

.news {
    margin: 0 0 15px;
}

    .news:after {
        display: block;
        content: " ";
        border-bottom: solid 1px #cccccc;
        clear: both;
    }

    .news.noline:after {
        border-bottom: none;
    }

    .news h3 {
        margin-top: 0;
    }

    .news .btn-block {
        margin-bottom: 10px;
    }

.nav-sibebar > li > a {
    padding: 5px;
}

.link-cell {
    padding: 0 !important;
}

    .link-cell a {
        display: inline-block;
        width: 100%;
        height: 100%;
        font-size: 20px;
        padding: 10px;
    }

        .link-cell a:hover {
            background-color: #eeeeee;
        }

.embed-map {
    display: block;
    width: 640px;
    height: 480px;
    border: 0 none;
    margin: 0 auto;
}

.table.table-solid-header > thead > tr > th {
    background-color: #ddf0ff;
}

.table-bordered > tfoot > tr > td {
    border-top-width: 2px;
}

.borderless tr, .borderless td, .borderless th {
    border: none !important;
}

.modal {
    background-color: rgba(0,0,0,0.25);
}

.modal-dialog {
    z-index: 1050;
}

.modal-content {
    display: block;
}

.modal-signature {
    width: auto;
    max-width: 736px;
}

    .modal-signature canvas {
        display: block;
        width: 100%;
        border-bottom: solid 1px #777;
        margin: 0 0 15px;
    }

    .modal-signature > .modal-content {
        overflow: hidden;
        padding: 0 0 15px;
    }

        .modal-signature > .modal-content > div {
            padding: 0 15px;
        }

            .modal-signature > .modal-content > div > button {
                margin-right: 5px;
            }

.modal-body, .modal-footer {
    padding: 10px;
    margin: 0;
}

.btn-pad-right {
    margin-right: 5px;
    display: inline-block;
}

.form-control.btn-pad-right {
    display: inline-block;
    width: auto;
}

.btn-file {
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.form-control.compact {
    padding: 3px 6px;
    height: 28px;
}

.form-control.input-sm.compact {
    padding: 2px 4px;
    height: 24px;
}

.form-control.input-lg.compact {
    padding: 5px 8px;
    height: 35px;
    border-radius: 4px;
}

.btn.compact {
    padding: 3px 6px;
}

.btn-sm.compact {
    padding: 2px 4px;
}

.btn-lg.compact {
    padding: 5px 8px;
}

.form-control-block + .form-control-block, .form-control-block + .typeahead + .form-control-block {
    margin-top: 5px;
}

.list-group-item-heading:last-child {
    margin-bottom: 0;
}

.ui-browser {
    overflow: hidden;
    min-height: 240px;
}

    .ui-browser .list-group {
        float: left;
        margin-right: 15px;
        width: 150px;
    }

        .ui-browser .list-group:first-child {
            width: 240px;
        }

            .ui-browser .list-group:first-child + .list-group {
                width: 200px;
            }

                .ui-browser .list-group:first-child + .list-group + .list-group {
                    width: 180px;
                }

    .ui-browser .list-group-item {
        padding: 8px 10px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .ui-browser .list-group-item.disabledcursor {
            cursor: not-allowed;
            background-color: white;
        }

        .ui-browser .list-group-item b {
            display: block;
            font-size: 16px;
            line-height: 18px;
            white-space: pre-wrap;
        }

        .ui-browser .list-group-item.oneline b {
            line-height: 36px;
        }

        .ui-browser .list-group-item small {
            display: block;
            margin: 4px 0 0;
            font-size: 14px;
            line-height: 14px;
        }

            .ui-browser .list-group-item small:empty {
                display: none;
            }

        .ui-browser .list-group-item .glyphicon-chevron-right {
            float: right;
            line-height: 34px;
            color: #777;
        }

        .ui-browser .list-group-item.active .glyphicon-chevron-right {
            color: white;
        }

        .ui-browser .list-group-item .ui-item-checkbox {
            display: inline-block;
            float: left;
            padding: 0;
            margin: 5px 7px 5px 0;
            width: 24px;
            height: 24px;
            line-height: 22px;
            color: #426bca;
            border: solid 1px #ccc;
            text-align: center;
            box-sizing: border-box;
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
        }

        .ui-browser .list-group-item.disabled .ui-item-checkbox {
            line-height: 24px;
            color: #ccc;
            border: none;
            font-size: 22px;
        }

        .ui-browser .list-group-item.active .ui-item-checkbox {
            color: white;
            border-color: rgba(255,255,255,0.5);
        }

.event-box {
    padding: 3px;
    border: solid 1px #bbb;
    background-color: #eee;
    font-weight: normal;
    font-size: 13px;
    line-height: 13px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    overflow: hidden;
    margin: 0 0 3px;
}

    .event-box > h4 {
        display: block;
        margin: -3px -3px 3px;
        padding: 3px;
        background-color: #ddd;
        font-weight: bold;
        font-size: 13px;
        line-height: 13px;
        height: 19px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

.event-box-red {
    border-color: #c88;
    background-color: #fdd;
}

    .event-box-red > h4 {
        background-color: #ebb;
    }

.event-box-green {
    border-color: #8c8;
    background-color: #dfd;
}

    .event-box-green > h4 {
        background-color: #beb;
    }

.event-box-darkblue {
    border-color: #88c;
    background-color: #ddf;
}

    .event-box-darkblue > h4 {
        background-color: #bbe;
    }

.event-box-yellow {
    border-color: #cc6;
    background-color: #ffc;
}

    .event-box-yellow > h4 {
        background-color: #eea;
    }

.event-box-cyan {
    border-color: #6cc;
    background-color: #cff;
}

    .event-box-cyan > h4 {
        background-color: #aee;
    }

.event-box-magenta {
    border-color: #c6c;
    background-color: #fcf;
}

    .event-box-magenta > h4 {
        background-color: #eae;
    }

.event-box-orange {
    border-color: #ca7;
    background-color: #fec;
}

    .event-box-orange > h4 {
        background-color: #eca;
    }

.event-box-blue {
    border-color: #7ac;
    background-color: #cef;
}

    .event-box-blue > h4 {
        background-color: #ace;
    }

.event-box-lime {
    border-color: #ac7;
    background-color: #efc;
}

    .event-box-lime > h4 {
        background-color: #cea;
    }

.event-box-purple {
    border-color: #a7c;
    background-color: #ecf;
}

    .event-box-purple > h4 {
        background-color: #cae;
    }

.event-box-pink {
    border-color: #c7a;
    background-color: #fce;
}

    .event-box-pink > h4 {
        background-color: #eac;
    }

.event-box-cyangreen {
    border-color: #7ca;
    background-color: #cfe;
}

    .event-box-cyangreen > h4 {
        background-color: #aec;
    }

h2 .event-box, h3 .event-box, legend .event-box {
    float: right;
    height: 30px;
    width: 64px;
    cursor: move;
}

.events-unsorted {
    display: block;
    overflow: auto;
    white-space: nowrap;
}

    .events-unsorted .event-box {
        width: 160px;
        display: inline-block;
        margin-right: 5px;
    }

.table-weekly .week-hour-cell {
    width: 60px;
    max-width: 60px;
    text-align: right;
    height: 60px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    vertical-align: middle;
}

.table > tbody > tr > td.dragover {
    box-shadow: inset 0 0 0 4px #07f;
    z-index: 10;
}

.week-day-cell {
    min-width: 160px;
    position: relative;
}

    .week-day-cell .event-box {
        position: absolute;
    }

.cmsedit-wrapper {
    display: block;
    padding: 5px;
    margin: 0;
    min-height: 200px;
    border: 1px dashed gray;
    border-radius: 4px;
    outline: none;
}

    .cmsedit-wrapper:focus {
        border-color: #426bca;
    }

.cmsedit-wrapper-inline {
    min-height: 52px;
}

.cmsedit-toolbar .btn-group {
    margin-bottom: 5px;
}

.cmsedit-toolbar .btn {
    padding: 6px 8px;
    line-height: 14px;
    font-weight: bold;
}

    .cmsedit-toolbar .btn .glyphicon, .cmsedit-toolbar .btn .glyphicons {
        display: block;
        top: 0;
    }

.modal-editor-header {
    display: block;
    padding: 0;
    margin: 0;
    height: 32px;
    line-height: 32px;
    color: #333;
    background-color: #ededed;
    overflow: hidden;
    text-align: right;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    overflow: hidden;
}

    .modal-editor-header .glyphicon {
        display: inline-block;
        width: 48px;
        line-height: 32px;
        text-align: center;
        vertical-align: top;
        top: 0;
        cursor: pointer;
    }

    .modal-editor-header .glyphicon-ok:hover {
        color: white;
        background-color: #5cb85c;
    }

    .modal-editor-header .glyphicon-remove:hover {
        color: white;
        background-color: #d9534f;
    }

.modal-editor-content {
    margin-top: 4px;
    margin-right: 4px;
    overflow: hidden;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    -moz-border-radius-bottomleft: 6px;
    -moz-border-radius-bottomright: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
}

.carousel-control {
    background: transparent none !important;
}

.carousel h1, .carousel .h1, .carousel h2, .carousel .h2, .carousel h3, .carousel .h3, .carousel h4, .carousel .h4 {
    color: white;
}

.label-white {
    color: #777;
    background-color: white;
}

.row-of-labels {
    overflow: hidden;
    margin: 0 0 7px;
}

    .row-of-labels .label {
        display: block;
        float: left;
        margin-right: 5px;
        font-size: 14px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
        cursor: pointer;
    }

        .row-of-labels .label.label-white {
            cursor: default;
        }

    .row-of-labels.years .label {
        width: 50px;
    }

        .row-of-labels.years .label.label-primary {
            width: 60px;
        }

.mouse-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background-color: rgba(0,0,0,0.1);
}

.year-picker {
    display: block;
    padding: 0;
    width: 120px;
    height: 200px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

    .year-picker .items {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        overflow: auto;
    }

    .year-picker .year-row {
        display: block;
        margin: 5px;
        line-height: 32px;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        border-radius: 3px;
    }

        .year-picker .year-row:hover {
            background-color: #eee;
        }

        .year-picker .year-row.active {
            color: white;
            background-color: #426bca;
        }

    .year-picker .items::-webkit-scrollbar {
        width: 15px;
        height: 15px;
        overflow: visible;
    }

    .year-picker .items::-webkit-scrollbar-thumb {
        padding: 100px 0 0;
        min-height: 28px;
        background-color: rgba(0,0,0,.2);
        background-clip: padding-box;
        border: solid 2px transparent;
        -webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1), inset 0 -1px 0 rgba(0,0,0,0.07);
        box-shadow: inset 1px 1px 0 rgba(0,0,0,0.1), inset 0 -1px 0 rgba(0,0,0,0.07);
        border-radius: 6px;
    }

    .year-picker .items::-webkit-scrollbar-button {
        width: 0;
        height: 0;
    }

    .year-picker .items::-webkit-scrollbar-track {
        border: none;
        background-clip: padding-box;
    }

    .year-picker .items::-webkit-scrollbar-corner {
        background: transparent;
    }

.ui-tree {
    margin: 0 0 0 15px;
}

.ui-tree-item {
    display: block;
    margin: 0 0 2px;
    padding: 2px 5px 2px 25px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    line-height: 20px;
}

    .ui-tree-item:hover {
        background-color: #eee;
    }

    .ui-tree-item * {
        line-height: 20px;
    }

    .ui-tree-item .glyphicon {
        display: block;
        position: absolute;
        top: 1px;
        left: 5px;
        line-height: 20px;
    }

.hide-empty:empty {
    display: none;
}

.thumblink {
    display: block;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

    .thumblink img {
        display: block;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

.thumbnail.shop img {
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}

.thumbnail.shop .caption {
    padding: 9px 6px 6px;
    overflow: hidden;
}

.thumbnail.shop h4 {
    float: left;
    margin-bottom: 4px;
}

.thumbnail.shop p {
    clear: left;
    margin-bottom: 4px;
}

.thumbnail.shop .price {
    display: block;
    float: right;
    margin-left: 5px;
    color: #d17581;
}

.thumbnail.shop .amount {
    line-height: 24px;
    overflow: hidden;
}

    .thumbnail.shop .amount div {
        float: left;
        margin: 0 5px 0 0;
        line-height: 24px;
    }

    .thumbnail.shop .amount .btn {
        line-height: 20px;
        vertical-align: bottom;
        font-family: "Glyphicons Regular";
        font-weight: bold;
    }

.thumbbox {
    position: relative;
    display: block;
    margin-bottom: 20px;
    background-color: white;
    border: 1px solid #dddddd;
    border-radius: 4px;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    overflow: hidden;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

    .thumbbox img {
        display: block;
        width: 100%;
    }

    .thumbbox .caption {
        display: block;
        padding: 8px;
        overflow: hidden;
    }

    .thumbbox:hover .caption {
        background-color: #f8f8f8;
    }

    .thumbbox .caption b {
        display: block;
        float: left;
    }

    .thumbbox .caption small {
        display: block;
        clear: left;
    }

    .thumbbox .caption .price {
        display: block;
        float: right;
        margin-left: 5px;
        color: #d17581;
    }

    .thumbbox.active {
        border-color: #426bca;
        box-shadow: 0 0 3px #426bca;
    }

    .thumbbox:after {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 38px;
        height: 40px;
        line-height: 40px;
        width: 100%;
        content: "\e191";
        font-family: "Glyphicons Regular";
        pointer-events: none;
        text-align: center;
        margin: auto;
        font-size: 48px;
        color: #75d181;
        opacity: 0;
        transition: opacity 0.3s;
        -moz-transition: opacity 0.3s;
        -webkit-transition: opacity 0.3s;
    }

    .thumbbox:hover:after {
        content: "\e191";
        color: #75d181;
        opacity: 1;
    }

    .thumbbox.ufirst:hover:after {
        content: "\e192";
        color: #d17581;
        opacity: 0;
    }

    .thumbbox.active:after, .thumbbox.active.first:hover:after {
        content: "\e194";
        color: #426bca;
        opacity: 1;
    }

    .thumbbox.first:hover:after {
        content: "\e194";
        color: #426bca;
        opacity: 0;
    }

    .thumbbox.active:hover:after {
        content: "\e192";
        color: #d17581;
        opacity: 1;
    }

.img-zoom-popup {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.75);
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

    .img-zoom-popup > div {
        position: absolute;
        top: 16px;
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .img-zoom-popup .glyphicon {
        position: absolute;
        display: block;
        margin: -24px 0 0 0;
        top: 50%;
        width: 48px;
        height: 48px;
        line-height: 48px;
        color: white;
        background-color: black;
        background-color: rgba(0,0,0,0.25);
        text-shadow: 0 0 5px rgba(0,0,0,0.25);
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        font-size: 24px;
        text-align: center;
        z-index: 1;
    }

    .img-zoom-popup .glyphicon-chevron-left {
        left: 0;
    }

    .img-zoom-popup .glyphicon-chevron-right {
        right: 0;
    }

    .img-zoom-popup img {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        max-width: 100%;
        max-height: 100%;
    }

.razpored-entry-form {
    margin: 0 0 15px;
}

.razpored-box {
    display: block;
    padding: 0 5px;
    width: 120px;
    height: 60px;
    color: #333333;
    background-color: #ffffff;
    border: 2px solid rgba(0,0,0,0.25);
    text-align: center;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    vertical-align: top;
    line-height: 56px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    font-size: 12px;
}

    .razpored-box.low {
        width: 140px;
        height: 50px;
        line-height: 18px;
        font-weight: normal;
        padding-top: 4px;
    }

        .razpored-box.low div {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            pointer-events: none;
        }

            .razpored-box.low div + div {
                font-size: 10px;
            }

    .razpored-box.disabled {
        background-color: #555555;
        border: none;
    }

    .razpored-box.empty {
        background-color: #eeeeee;
        border-color: #dddddd;
    }

    .razpored-box.dragover {
        color: #333333 !important;
        background-color: #fce94f !important;
        border-color: rgba(0,0,0,0.15) !important;
    }

.razpored-wrap {
    position: relative;
    overflow: auto;
}

    .razpored-wrap .razpored-box {
        position: absolute;
    }

.razpored-wrap-right {
    float: right;
    margin: 15px 15px 0 0;
}

    .razpored-wrap-right .razpored-box {
        margin-bottom: 5px;
    }

.shelf-wrap {
    padding: 5px;
    min-height: 84px;
    background-color: #ffffcc;
    border: 2px solid rgba(0,0,0,0.15);
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    clear: both;
}

    .shelf-wrap.low {
        min-height: 64px;
    }

    .shelf-wrap.dragover {
        background-color: #fce94f;
    }

    .shelf-wrap .razpored-box {
        display: inline-block;
        margin: 5px;
    }

.btn-right-wrapper {
    float: right;
    margin: 15px 0;
}

    .btn-right-wrapper .btn {
        display: block;
        margin: 0 0 5px;
    }

.color-well {
    display: block;
    padding: 5px;
    margin: 0 0 5px;
    text-align: center;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    font-size: 12px;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.results-entry-form {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.results-entry-group-selector {
    display: block;
    padding-left: 124px;
    margin: 0 0 4px;
    height: 36px;
}

    .results-entry-group-selector div {
        display: inline-block;
        padding: 0;
        margin: 0 4px 0 0;
        width: 36px;
        height: 36px;
        line-height: 36px;
        color: #333333;
        background-color: #f8f8f8;
        vertical-align: middle;
        text-align: center;
        font-size: 18px;
        font-family: monospace, monospace;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

    .results-entry-group-selector .active {
        color: white;
        background-color: #426bca;
    }

.results-header-row {
    display: block;
    height: 28px;
}

    .results-header-row .input-label {
        display: inline-block;
        padding: 0;
        margin: 0 4px 0 0;
        height: 28px;
        line-height: 28px;
        color: #333333;
        vertical-align: middle;
        font-size: 16px;
        font-family: monospace, monospace;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        text-align: center;
    }

        .results-header-row .input-label:first-child {
            padding: 0 10px;
            width: 120px;
            text-align: left;
        }

.results-entry-row {
    display: block;
    height: 36px;
    outline: none;
}

    .results-entry-row .input-box {
        display: inline-block;
        padding: 0 8px;
        margin: 0 4px 0 0;
        height: 36px;
        line-height: 32px;
        color: #333333;
        background-color: #f8f8f8;
        border: 2px solid #cccccc;
        vertical-align: middle;
        font-size: 18px;
        font-family: monospace, monospace;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

        .results-entry-row .input-box.active {
            border-color: #426bca;
        }

        .results-entry-row .input-box:first-child {
            width: 120px;
        }

        .results-entry-row .input-box[data-prefix]:before {
            content: attr(data-prefix);
            font-size: 14px;
        }

.results-stack-row {
    display: block;
    margin: 4px 0 0;
    height: 36px;
}

    .results-stack-row .entry-id {
        display: inline-block;
        padding: 0 8px;
        margin: 0 4px 0 0;
        width: 120px;
        height: 36px;
        line-height: 36px;
        color: #333333;
        background-color: #f8f8f8;
        vertical-align: middle;
        text-align: right;
        font-size: 18px;
        font-family: monospace, monospace;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

    .results-stack-row.success .entry-id {
        background-color: #dff0d8;
    }

    .results-stack-row.failure .entry-id {
        background-color: #f2dede;
    }

    .results-stack-row .entry-value {
        display: inline-block;
        padding: 0 8px;
        margin: 0;
        height: 36px;
        line-height: 36px;
        color: #333333;
        vertical-align: middle;
        font-size: 18px;
        font-family: monospace, monospace;
        white-space: pre;
    }

    .results-stack-row .glyphicon {
        display: inline-block;
        padding: 0 8px;
        margin: 0;
        height: 36px;
        line-height: 36px;
        vertical-align: middle;
        font-size: 18px;
        top: 0;
    }

    .results-stack-row.success .glyphicon {
        color: #3c763d;
    }

    .results-stack-row.failure .glyphicon {
        color: #a94442;
    }

.table > tbody > tr > .nt-checkbox-wrap {
    line-height: 14px;
    padding: 3px 2px;
    text-align: center;
    vertical-align: middle;
}

.izborzant-entry-form .table-condensed > thead > tr > th {
    padding: 3px 2px;
}

.izborzant-entry-form.hide-footer tfoot {
    display: none;
}

.nt-checkbox {
    display: inline-block;
    padding: 0;
    margin: 0 1px;
    width: 12px;
    height: 12px;
    border: 1px solid black;
    vertical-align: middle;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    transition: 0.15s linear;
    -moz-transition: 0.15s linear;
    -webkit-transition: 0.15s linear;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

th .nt-checkbox {
    display: block;
    margin: 0 auto;
}

.nt-checkbox.nt-red {
    background-color: red;
    border-color: red;
}

.nt-checkbox.nt-lime {
    background-color: #00ee00;
    border-color: #00ee00;
}

.nt-checkbox.nt-green {
    background-color: green;
    border-color: green;
}

.nt-checkbox.nt-orange {
    background-color: orange;
    border-color: orange;
}

.nt-checkbox.nt-circle {
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

img.zasedenost {
    margin: 0 -3px;
}

@media screen and (min-width:768px) {
    html {
        height: 100%;
    }

    .outer {
        display: table;
        position: absolute;
        height: 100%;
        width: 100%;
    }

        .outer > .middle {
            display: table-cell;
            vertical-align: middle;
        }

            .outer > .middle > .container {
                min-height: 0;
            }

    .lead-heading {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .sidebar.col-md-2 {
        padding-right: 0;
    }
}

@media screen and (min-width:992px) {
    .header .logo {
        float: left;
    }

    .header .nav-pills {
        float: right;
        margin-top: 20px;
    }
}

@media screen and (max-width:767px) {
    body > .container {
        min-height: 200px;
    }

    .header .nav-pills > li {
        text-align: center;
        float: none;
    }

        .header .nav-pills > li + li {
            margin: 0;
        }

            .header .nav-pills > li + li > a {
                margin-top: 2px;
                margin-left: 0;
                margin-right: 0;
            }

    .header .logo-ph img {
        height: 60px;
    }

    .header .logo .subtitle {
        margin-left: 15px;
        font-size: 34px;
    }

    .navbar-toggle {
        display: block !important;
        position: absolute;
        top: 30px;
        right: 0px;
        z-index: 10;
    }

    .sidebar .navbar-toggle {
        top: 15px;
        margin-top: 0;
    }

    .sidebar .nav {
        margin-right: 50px;
    }

    .nav.mobile-collapsed {
        display: none;
    }

    /*.img-big-right {
        display: block;
        margin: 0 auto;
        float: none;
        max-width: 100%;
    }*/

    .img-container > img {
        display: block;
        margin: 0 auto 7px;
        max-width: 100%;
    }

    .img-responsive.img-center {
        margin: 0 auto;
    }

    .embed-map {
        width: 100%;
        height: 360px;
    }

    .cmsedit-toolbar {
        margin-right: 49px;
    }
}

@media screen and (max-width:400px) {
    .header .logo-ph img {
        height: 50px;
    }

    .header .logo .subtitle {
        margin-left: 7px;
        font-size: 30px;
    }
}

@media print {
    a[href]:after {
        content: "" !important;
    }

    .glyphicon {
        speak: normal;
        text-rendering: auto;
        /* Forces the browser to load the font/icon rules properly for print */
    }

    .label-success {
        color: #ffffff !important;
        background-color: #5cb85c !important;
        border-color: #5cb85c;
    }
    .label-danger {
        color: #ffffff !important;
        background-color: #d9534f !important;
        border-color: #d9534f;
    }
}

@media screen and (max-height: 320px) {
    .hidden-short {
        display: none;
    }
}

.map_canvas {
    width: auto;
    height: 500px;
    margin: 0 auto 15px;
}

.aspNetDisabled label {
    color: #777;
}
