BODY {
    /*background: url(../img/bg.jpg) top center no-repeat;*/
    background-size: cover;
    /*font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;*/
}

.note-editable {
    /*background-color: #FFF;*/
}

.contract-view {
    /*background-color: #FFF;*/
    padding: 20px;
    /*border: 1px solid #bfbfbf;*/
}

.table > tbody > tr > th, .table > tbody > tr > td {
    /*background-color: #FFF;*/
}

.aligncenter {
    margin: 0 auto;
}

/*div.alert, div.alert * {
    font-size: 14px;
    font-weight: bold;
    position: relative;
    z-index: 1001;
}*/

p.warning {
    color: red;
    font-weight: bold;
}

/* DatePicker */

.datepicker {
    /*border-radius: 0;*/
    /*margin-top: 0;*/
    /*padding: 6px 12px;*/
}

/* Select2 */

.select2-container .select2-choices .select2-search-field input, .select2-container .select2-choice, .select2-container .select2-choices {
    border-radius: 0;
}

/* Photos */

.row .thumb {
    text-align: center;
    padding-bottom: 21px;
    vertical-align: middle;
}

.row .thumb h4, .row .thumb a {
    margin-top: 5px;
}

.row .thumb .thumbnail {
    margin-bottom: 0;
    font-size: 70px;
    color: #EEE;
    line-height: 150px;
}

.row .thumb .thumbnail .img-responsive {
    height: 150px;
    width: auto;
}

.row.thumbs .thumbnail .img-responsive {
    height: 50px;
    width: auto;
}

/* Magnific Popup */

/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;

    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/* language switcher */
#language-switcher {
    min-width: 0;
    width: 100%;
}

#language-switcher li {
    width: 100%;
}

#language-switcher li a {
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    #language-switcher li a {
        text-align: left;
    }
    .footer-ue p {
        margin: 10px 0 0 0;
    }
}

@media (max-width: 370px) {
    .navbar-brand {
        /*max-width: 100px;*/
    }
}

#nestable-menu {
    margin-top: 0;
}


.select2-container .select2-choice, .select2-container .select2-choices {
    border: 1px solid #dfd7ca;
    border-radius: 4px;
    padding: 11px 16px;
    box-shadow: none;
    height: 46px;
    line-height: 1.42857143;
    box-sizing: border-box;
}

.select2-container .select2-choices .select2-search-field input {
    padding: 0;
    font-size: 14px;
    height: 22px;
    line-height: 1.42857143;
    box-sizing: border-box;
}

.select2-container .select2-choice > .select2-chosen {
    padding: 0;
}

th, th a {
    font-weight: bold;
}

.footable-row-detail-name, label, div.alert, div.alert * {
    font-family: "Roboto Bold","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.select2-container .select2-choice .select2-arrow b {
    background-position-y: 10px;
}

.select2-container-multi .select2-choices .select2-search-choice {
    margin: 0 5px 0 0;
}


.select2-offscreen, .select2-offscreen:focus {
    top: 70px !important;
    left: 50% !important;
}

.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-selection-limit {
    line-height: 1.42857143;
    padding: 4px;
    background: transparent;
}

.footable.breakpoint > tbody > tr > td > span.footable-toggle {
    margin-right: 5px;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background: transparent;
}

td.footable-visible {
    background: #f8f5f0;
}

.navbar-brand, .navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus {
    /*background: #fff;*/
    /*border-radius: 5px;*/
    /*margin-top: 2px;*/
    /*border: 2px solid red;*/
}
.navbar-brand {
    position: relative;
    top: 4px;
}

.navbar-fixed-top {
    /*    border-width: 0 0 0px;
        border-color: #fff;
        box-shadow: none;*/
}

.select2-results .select2-highlighted {
    background: #673316;
}

.select2-drop-active {
    border: 1px solid #dfd7ca;
    border-top: none;
}

.select2-container-active .select2-choices {
    border: 1px solid #dfd7ca !important;
    box-shadow: none !important;
}

td.actions {
    padding: 5px 2px 0 2px !important;
}

div.footable-row-detail-value a span, td.actions a span {
    font-size: 23px;
}

#nestable {
    margin-bottom: 10px;
}

.form-group.time > label {
    clear: both;
    width: 100%;
}

.form-group.time > div:nth-child(2) {
    margin-right: 10px;
}

.form-group.time > div {
    width: 80px;
    display: inline-block;
}

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

.row.attachments img {
    margin: 5px auto 5px auto;
}

.row.attachments div {
    text-align: center;
}

/*Timeline*/

.timeline > li > .timeline-badge {
    left: 0;
}

.timeline > li > .timeline-panel {
    width: 95%;
}

.timeline:before {
    left: 0;
}

.timeline-body .content {
    margin-top: 10px;
}

.category.breadcrumb {
    margin-bottom: 5px;
}

#category select {
    margin-right: 5px;
    border: 1px solid #dfd7ca;
    border-radius: 4px;
    padding: 7px 12px;
}

.dd3-content {
    font-weight: normal;
}

.dd3-content:hover {
    color: #673316;
    background: #fff;
}

.btn-sm, .btn-group-sm>.btn {
    padding-bottom: 3px;
}

#TaskList {
    max-height: 320px;
    overflow-y: auto;
    margin-top: 10px;
}


.checkbox label {
    width: 100%;
}

.checkbox label span {
    float: right;
    margin-right: 5px;
    color: #bfbfbf;
}

.checkbox label span:hover {
    color: #3e3f3a;
}

#TaskList .closed label {
    text-decoration: line-through;
    color: #bfbfbf;
}

#TaskList .closed label span {
    display: none;
}

/*#flashMsg .alert {
    position: fixed !important;
    top: 80px;
    right: 80px;
    min-width: 25%;
    z-index: 1031;
    -webkit-box-shadow: 0px 0px 10px 8px rgba(255, 255, 255, 1);
    -moz-box-shadow:    0px 0px 10px 8px rgba(255, 255, 255, 1);
    box-shadow:         0px 0px 10px 8px rgba(255, 255, 255, 1);
}*/

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert .close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.alert .close:focus, .alert .close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5;
}

label {
    font-weight: bold;
}

#description {
    padding: 10px;
}

.asset .table>tbody>tr>th {
    padding-left: 0;
}

.quantity {
    width: 70px;
    display: inline-block;
}

.orders.view .table>tfoot>tr>th, .cart.index .table>tfoot>tr>th {
    border-top: 1px #7f523a solid;
}

span.discount {
    font-weight: bold;
}

.asset-link, td a {
    text-decoration: none !important;
}

.select2-container .select2-choice, .select2-container .select2-choices {
    display: block;
    width: 100%;
    height: 38px;
    padding: 7px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    box-shadow: inset 0 2px 0 rgba(0,0,0,0.075);
}

.select2-container .select2-choice .select2-arrow b {
    background-position-y: 5px;
}

.cart.not-empty {
    color: #ff851b !important;
}

.cart-depository {
    background: #fafafa;
    text-align: right;
    border-color: #ededed !important;
    border-style: solid !important;
    border-width: 0 0px 1px 0px !important;
}

.cart-depository h4 {
    margin: 0;
}

table.cart th:first-child, table.cart td:first-child {
    width: 25%;
}

.survey .fa {
    color: #797979;
    font-size: 60px;
}

.survey .fa {
    font-family: 'FontAwesome';
    font-weight: normal;
}

.survey > div {
    text-align: center;
}

.survey a .fa.fa-thumbs-down, .survey a .fa.fa-thumbs-up {
    font-size: 27px;
}
.survey a.selected .fa.fa-frown-o, .survey a.selected .fa.fa-thumbs-down {
    color: #d9534f;
}

.survey a.selected .fa.fa-meh-o {
    color: #f0ad4e;
}

.survey a.selected .fa.fa-smile-o, .survey a.selected .fa.fa-thumbs-up {
    color: #3f903f;
}

.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
    background: #7f523a;
    border: 1px solid #673316;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background: #7f523a;
}

.daterangepicker .ranges li {
    color: #7f523a;
}

.row.product .net-price {
    display: block;
    margin-top: 5px;
}

.row.product-summary {
    margin-bottom: 10px;
}

.row.product {
    border-bottom: 1px solid #eeeeee;
}

.row.product h2 {
    font-size: 15px;
    font-weight: bold;
}

.row.product h2 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.product-photo {
    max-height: 60px;
    max-width: 60px;
    margin: 0 auto;
    display: table-cell;
    vertical-align: middle;
}

.gallery .row > div {
    text-align: center;
}

.gallery img {
    margin: 0 auto;
}

.gallery .remove-attachment {
    margin-bottom: 15px;
    display: block;
}

@media (min-width: 768px) {
    .product-photo-container {
        display: table-cell;
        float: none;
        vertical-align: middle;
        max-width: 100px;
    }

    .row.product .row {
        display: table;
        width: 100%;
    }
}

.product-image .product-photo {
    margin: 20px auto;
}

.form-actions-right {
    float: right;
}

.actions {
    text-align: right;
}

.hidden-group, .hidden-subgroup {
    display: none;
}

/* wykresy - np. index/aktywni */

td.legendLabel {
    color: black;
    padding-left: 6px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px !important;
}

.jstree-action {
    position: relative;
    z-index: 50;
    top: 5px;
    cursor: pointer;
}

.datepicker {
    margin-top: 0px;
}

span.sortable-handle {
	padding: 6px;
	cursor: move;
}

.todo-tasklist {
    margin-top: 15px;
}

.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {
    margin-left: -10px !important;
}

/* index/index */
.dashboard-module {
    display: block;
    float: left;
    width: 200px;
    height: 200px;
    margin: 15px;
    color: rgb(238, 241, 245);
    transition: all 0.5s ease;
    position: relative;
}

.dashboard-module > span {
    display: block;
    font-size: 28px;
    text-align: center;
    padding: 12px;
    padding-top: 62px;
}

.dashboard-module > span > i {
    font-size: 150%;
}

a.dashboard-module:hover, a.dashboard-module:focus {
    text-decoration: none;
    color: white;
}

.dashboard-module.profile {
    background-color: #17C4BB;
}

.dashboard-module.blue {
    background-color: #3598dc;
}

.dashboard-module.red {
    background-color: #ed6b75;
}

.dashboard-module.yellow {
    background-color: #26344B;
}


.dashboard-module .box {
    width: 100%;
    /*padding-bottom: 100%;*/
}

.dashboard-module .visual {
    font-size: 60px;
    text-align: center;
    padding: 30px;
}

.dashboard-module .visual i {
    margin-top: 50px;
    font-size: 150%;
}

.dashboard-module .details {
    position: absolute;
    top:10px;
    right: 10px;
}

.dashboard-module .krok {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 18px
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-extended .dropdown-menu {
    max-width: 350px !important;
    width: 350px !important;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-extended .dropdown-menu .dropdown-menu-list>li a:hover {
    text-decoration: none;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-notification .dropdown-menu .dropdown-menu-list>li>a .time {
    width: auto !important;
    max-width: none !important;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown-extended .dropdown-menu .dropdown-menu-list>li span.text {
    width: 100%;
    display: block;
    padding-top: 10px;
}

.legalize-btn {
    position: absolute;
    top: -15px;
    right: 25px;
}
.portlet-body .control-label .required, .portlet-body .form-group .required{
    height: 35px;
}
label.error {
    color:red;
}
