/*------------------------------------------------------------------

[Custom Stylesheet]


Last change:	04/01/2013
Assigned to:	Bartek

-------------------------------------------------------------------*/

/*body{ color:#838383; font: 13px/1.7em 'Open Sans';}*/
/*body{ color:#333; font: 13px/1.7em 'Open Sans';}*/

@media (max-width: 767px) {

    body {
        padding-left: 20px;
        padding-right: 20px;
    }
    .container {
        padding-left: 0px;
        padding-right: 0px;
    }
}

.account-container {
    max-width: 390px;
    display: block;
    margin: 60px auto 0 auto;

    background: #f9f9f9;

    border: 1px solid #d5d5d5;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;


}
.account-container h1 {
    color: #FF9900;
    font-size: 32px;
    margin-bottom: 0.4em;
}


.remind{
    margin-top: 15px;
    float: left;
}

.login-fields div:last-child{
    margin-bottom: 0px;
}

.login-actions {
    float: left;
    margin-bottom: 1.25em;
    margin-top: -1em;
    width: 100%;
}

.login-action {
    /*float: right;*/
    margin-bottom: 0px;
}

.login-fields .field {
    margin-bottom: 1.25em;
}

.login-fields label {
    /*display: none;*/
}

/*#contact .login-fields label {
    display: block;
}*/

.login-fields input {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #8e8d8d;
    /*padding: 11px 15px 10px 50px;*/
    padding: 6px 12px;
    padding-left: 50px;
    background-color: #fdfdfd;
    width: 100%;
    display: block;
    margin: 0;
    box-shadow: inset 2px 2px 4px #f1f1f1;
    height: 34px;
}

.username-field {
    background: url(../img/signin/user.png) no-repeat;
    background-position: left top -3px;
}

.password-field {
    background: url(../img/signin/password.png) no-repeat;
    background-position: left top -3px;
}

.email-field {
    background: url(../img/signin/email.png) no-repeat;
    background-position: left top -3px;
}

.content {
    padding: 16px 28px 23px;
}
.stats {
    width: 100%;
    display: table;
    padding: 0 0 0 10px;
    margin-top: .5em;
    margin-bottom: 1.9em;
}

.stats .stat {
    display: table-cell;
    width: 40%;
    vertical-align: top;

    font-size: 11px;
    font-weight: bold;
    color: #999;
}

.stat-value {
    display: block;
    margin-bottom: .55em;

    font-size: 30px;
    font-weight: bold;
    letter-spacing: -2px;
    color: #444;
}

.stat-time {
    text-align: center;
    padding-top: 1.5em;
}

.stat-time .stat-value {
    color: #F90;
    font-size: 40px;
}

.stats #donut-chart {
    height: 100px;
    margin-left: -20px;
}

/*------------------------------------------------------------------
[3. News Item / .news-items]
*/

.news-items {
    padding: 0;
    margin: 1em 0 0;
}

.news-items li {
    display: table;
    padding: 0 2em 0 1.5em;
    padding-bottom: 1em;
    margin-bottom: 1em;

    border-bottom: 1px dotted #CCC;
}

.news-items li:last-child {
    padding-bottom: 0;
    border: none;
}

.news-item-date {
    display: table-cell;
}

.news-item-detail {
    display: table-cell;
}

.news-item-title {
    font-size: 13px;
    font-weight: 600;
}

.news-item-date {
    width: 75px;
    vertical-align: middle;

    text-align: right;
}

.news-item-day {
    display: block;
    margin-bottom: .25em;

    font-size: 24px;
    color: #888;
}

.news-item-preview {
    margin-bottom: 0;

    color: #777;
}

.news-item-month {
    display: block;
    padding-right: 1px;

    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.accepted, .to_accept, .add, .edit, .remove, .uploaded, .pass, .not_confirmed{
    /*margin: 0px 5px;*/
    font-size: 1.5em;
    vertical-align: -3px;
}
.accepted{
    color: #419641;

}
.edit{
    color: #2a6496
}
.remove{
    /*     margin-right: 5px; */
    color: #C9302C;
}
.to_accept{
    color: #888;
}


.add{
    color: #2a6496;
}
.accepted, .edit{
    /* margin-left: 0px;*/

}
.pass{
    color: #E8A300;
}

textarea{
    resize: vertical;

}
.form-group.file .form-control{
    height: auto;
    padding-left: 6px;
}
.file_details{
    width: 48%;
    display: inline-block;
    vertical-align: top;
    word-wrap: break-word;
}

th.id,td.id{
    width: 40px;
    text-align: center;

}
th.date{
    width: 140px
}
th.date_short{
    width:90px
}
th.accept{
    width:90px
}
th.status{
    width:80px
}
th.actions{
    width: 100px
}
/*th.status{
    width: 100px
}*/
/*.no_bottom .form-group{
        margin-bottom: 0px
}*/
.col-md-3{
    /*padding-left: 90px;*/
}

.faq-search {
    margin-bottom: 2em;
    text-align: right;
}

.faq-search input {
    width: 100%;
    display: block;
}

.faq-empty {
    display: none;
}



.faq-toc {
    padding: 1.5em 0;
    margin: 2em 0 0;

    border: 1px dotted #CCC;
    border-right: none;
    border-left: none;
}

.faq-toc ol {
    padding: 0;
    margin: 0;
}

.faq-toc li {
    margin-bottom: .75em;

    list-style: none;
}

.faq-toc a {
    margin-left: .5em;
}



.faq-list {
    padding: 0;
    margin: 3em 0 0;

    list-style: none;
}

.faq-list li {
    display: table;
    margin-bottom: 2em;
}

.faq-icon {
    display: table-cell;
    padding-right: 1.25em;
    vertical-align: top;
}

.faq-text {
    display: table-cell;
    vertical-align: top;

}


.faq-number {
    width: 42px;
    height: 42px;

    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 35px;
    color: #FFF;

    background: #F90;

    border: 3px solid #FFF;

    box-shadow: 1px 1px 3px rgba(0,0,0,.4);

    border-radius: 100px;

    text-shadow: 1px 1px 2px rgba(0,0,0,.4);
}




.btn-support-ask {
    /*display: block; font-size: 22px; padding: 14px 0; font-weight: 600; margin-bottom: .75em;*/
    display: block;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
}

.btn-support-contact {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
}


#big_stats
{
    width: 100%;
    display: table;
    margin-top: .5em;
    margin-bottom: 1em;

}

.big-stats-container .widget-content {
    background: #E9E9E9;
    background:-moz-linear-gradient(top, #FAFAFA 0%, #E9E9E9 100%); /* FF3.6+ */
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#FAFAFA), color-stop(100%,#E9E9E9)); /* Chrome,Safari4+ */
    background:-webkit-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* Chrome10+,Safari5.1+ */
    background:-o-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* Opera11.10+ */
    background:-ms-linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* IE10+ */
    background:linear-gradient(top, #FAFAFA 0%,#E9E9E9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
}

/*#big_stats .stat_title
{
    width: 30%;
    display: table-cell;
        padding: 0;
        position: relative;
        text-align: center;
}*/

#big_stats .stat
{
    width: 15%;
    /*width: 25%;*/
    height: 90px;
    text-align: center;
    display: table-cell;
    padding: 0;
    position: relative;

    border-right: 1px solid #CCC;
    border-left: 1px solid #FFF;
}


#big_stats .stat:first-child {
    border-left: none;
}

#big_stats .stat:last-child {
    border-right: none;
}

#big_stats .stat h4
{
    font-size: 11px;
    font-weight: bold;
    color: #777;
    margin-bottom: 1.5em;
}

#big_stats .stat .value
{
    font-size: 56px;
    font-weight: bold;
    color: #333;
    line-height: 1em;
}



@media all and (max-width: 950px) and (min-width: 1px) {

    #big_stats {
        display: block;
        margin-bottom: -40px;
    }

    #big_stats .stat {
        width: 49%;
        display: block;
        margin-bottom: 3em;
        float: left;
    }

    #big_stats .stat:nth-child(2) {
        border-right: none;
    }

    #big_stats .stat:nth-child(4) {
        border-right: none;
    }

    #big_stats .stat:nth-child(3) {
        border-left: none;
    }

}

@media (max-width: 767px) {
    #big_stats .stat .value {
        font-size: 40px;
    }
}


.chart-holder {
    height: 180px;
}

.cirque-stats {
    text-align: center;
}
.cirque-stats-title span{
    width: 16%;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;

}
.cirque-stats .cirque-container {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    margin-right: 2em;
    margin-left: 2em;
}


.cirque-container {
    position: relative;

    display: inline-block;
}

.cirque-track, .cirque-fill {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 10;
}

.cirque-fill {
    z-index: 20;
}

.cirque-label {
    position: relative;
    z-index: 30;

    color: #444;

    font-weight: bold;
    text-align: center;
}

.cirque-label.percent {
    font-size: 15px;
}

.cirque-label.ratio {
    font-size: 13px;
}

.navbar-right{
    /*width: 80%;*/
    /*text-align: right;*/

}

.navbar-header{
    /*position: absolute*/

}
.navbar-header img{
    /*display: inline;*/
    float: left;
}
.widget-content .navbar-form{
    margin: 0px
}

#back-to-top i{
    line-height: 45px;

}

.widget-content form{
    padding: 0px;

}
.ui-datepicker-today{
    background: #FBF9EE;
    border: 1px solid #FCEFA1;
    color: #363636;
}

.invisible span{
    visibility: visible;
}
.invisible input.form-control{
    margin: 0px;
    padding: 0px;
    height: 0px;
    border: none;

}
.form-group.invisible{
    margin-bottom: 0px;

}
.form-group.invisible span.error{
    top: -25px;
}
.form-group span.error p{
    margin: 0px;
}
.form-group.invisible span.error:after{
    border-top: none;
    border-bottom: 6px solid #B94A48;
    top: -6px;
    bottom: auto;
}
.file_name input{
    max-width: 100px;
    display: inline;
    color: transparent
}

.file_name{
    word-wrap: break-word;
    max-width: 300px;
}

.widget .file_name_header{
    min-height: 40px;
    height: auto;
}

.colorwheel{
    position: absolute;
    bottom: 40px;
    z-index: 20;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    /*padding: 5px;*/
}
.company_logo img{
    max-width: 200px;
    max-height: 100px;
    margin-bottom: 20px;

}
.edit_company_logo img{
    max-height: 50px;
    margin: 10px;

}
.company_logo_header{
    max-height: 60px;
    padding: 15px;
    padding-bottom: 0px;

}
.confirm{
    text-align: center;

}
.not_confirmed{
    color: #888;
    cursor: pointer;

}
th.status{
    text-align: center;
}
#check_all .accepted{
    cursor: pointer;
}

.search_form{
    width: 100%;

}

.search_form input{
    float: left;
}
.search_form input.form-control, .search_form button.form-control{
    width: auto;
}
.search_form button.form-control{
    margin-left: 5px;

}
.message_content{
    /*background-color: #EEEEEE;*/
    cursor: not-allowed;
    /*border: 1px solid #CCCCCC;*/
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    /*color: #555555;*/
    display: block;
    font-size: 14px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;

}


@media(min-width:992px){
    .subnavbar .mainnav > li > a {
        padding: 0px;
    }
}


@media(min-width:768px) and (max-width: 992px){
    .subnavbar .mainnav > li {
        min-width: 60px;
    }
    .subnavbar .mainnav > li > a {
        padding: 0px;
    }
    .subnavbar .mainnav > li > a span{
        display: none;
    }
    .subnavbar .mainnav > li > a >b.caret{
        display: none;
    }
    .subnavbar .subnavbar-inner,.subnavbar .mainnav > li,.subnavbar .mainnav {
        height: 55px;
    }

}

/*@media (max-width: 768px) {

  .subnavbar .subnav-toggle {
    display: block;
  }
    .subnavbar .mainnav {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1.5em;
    border: none;
  }
  
  .subnavbar .mainnav > li {
    border: medium none;
    float: none;
    height: auto;
    margin-bottom: 1em;
    text-align: left;
    width: 100%;
}
  
}*/

.avatar img{
    margin-bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, .8);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, .8);

}
.cirque-container .cirque-label {
    padding-top:10px;
}
.cirque-container span{
    padding-top:40px;
    font-weight: bold;
    position:absolute;
    width: 100%;
    left: 0px;

}
.file_name #change_file{
    margin-right: 10px;
    padding: 2px 5px;
    cursor: pointer;
}
.file_name #userfile{
    cursor: pointer;
    opacity: 0;
    position: absolute;
    left: 15px;
    top:0px;
    padding: 0px;
}
.disabled{
    cursor: not-allowed;
    color: #999;
}
.pagination > div {
    display: inline;
}

.pagination > div:first-child > a, .pagination > div:first-child > span {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    margin-left: 0;
}

.dataTables_paginate a,
.pagination > div > a, .pagination > div > span {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    float: left;
    line-height: 1.42857;
    margin-left: -1px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    border-radius: 5px;
    color: #444444;
    line-height: 32px;
    margin-left: 0.25em;
    margin-right: 0.25em;
    padding: 0 10px;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus,
.dataTables_paginate a.paginate_active,
.pagination div span.active,
.pagination li.active span{
    background-color: #FF9900;
    border-color: #FF9900;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
    font-weight: 600;
}
.pagination > div > a:hover{
    background-color: #EEE;
}

.dataTables_info{
    margin: 10px;
}
.dataTables_filter {
    float: right;
    text-align: right;
}
.dataTables_length {
    float: left;
    margin-bottom: 10px;
}
.dataTables_info {
    clear: both;
    float: right;
}
.paging_full_numbers {
    height: 22px;
    line-height: 22px;
}
.dataTables_paginate {
    float: left;
    text-align: left;
    margin-top: 10px;
}
.sorting_desc {
    background: url("../img/datatable/sort_desc.png") no-repeat scroll right center rgba(0, 0, 0, 0);
}
.sorting_asc {
    background: url("../img/datatable/sort_asc.png") no-repeat scroll right center rgba(0, 0, 0, 0);
}
.sorting {
    background: url("../img/datatable/sort_both.png") no-repeat scroll right center rgba(0, 0, 0, 0);
}

.report-table .sorting,
.report-table .sorting_asc,
.report-table .sorting_desc {
    padding-right: 15px;
    background-position: bottom 10px right;
}

/*.dataTables_wrapper {
    clear: both;
    position: relative;
}

.dataTables_length select, .dataTables_filter input,
.form-control {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}*/






.file_accept .dataTables_info{
    display: none;
}


a.document_accept{
    text-align: center;
    text-decoration: none;
    position: relative;
    display: block;
}

a.document_accept i{
    display: none;

    position: absolute;
    padding-top: 3px;
    top: 0px;
    right: 5px;
    z-index: 2

}
/*a.document_accept:hover i, a.document_accept.user_accept i{*/
a.document_accept:hover i{
    display: block;


    color: #333333;
    /*right: 20px;*/
}

a.document_accept.user_accept {
    cursor:not-allowed;
}
a.document_accept.user_accept i{
    display: none;
}


/*.cost_type{
    font-size: 120%;
    text-align: center;
}
.red{
    color: #C9302C;
}
.green{
    color: #419641;
}*/

.chosen-container-single .chosen-single {
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    /*font-size: 14px;*/
    /*height: 34px;*/
    line-height: 1.42857;
    padding: 6px 12px;
    vertical-align: middle;
}

.shortcut-icon.fa{
    line-height: 0.5em;
}

.input-group-btn i{
    margin: 3px 0px;
}

.widget-form{
    margin-bottom: 10px;
}

/*#### Validation #####*/

/*.input-group {
    position: relative;
}*/
.input-group span.error {
    /*display: inline-block !important;*/
    color: #B94A48;
    font-size: 11px;
    font-weight: 600;
    position: relative;
    top: 5px;
    /*top: -5px;*/
    padding: 4px 8px;
    /*margin-bottom: 1em;*/
    color: #FFF;
    background: #B94A48;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
}
/*.input-group span.error::after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #B94A48;
    position: absolute;
    bottom: -6px;
    left: 7px;
}*/
.input-group.error {
    /*padding-bottom: .5em;*/
}
.input-group.error clean {
    display: none;
}
.input-group.success span.error {
    display: none !important;
}
.input-group.success span.error::after {
    border: none;
}
.input-group-btn.pull-left{
    min-width: 45px;
}
.input-group-btn > .btn {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

/*#### Validation #####*/


.label {
    font-size: 85%;
    display: inline-block;
}

.pagination > li > a, .pagination > li > span {
    background-color: #fff;
    border: 1px solid #ddd;
    float: left;
    position: relative;
    text-decoration: none;
}

.table {
    margin-bottom: 10px;
}

.widget-content .btn{
    margin-bottom: 5px; /* żeby przyciski miały odstęp */
}

.widget-form .btn{
    /*margin-top: 0px;*/
}

.widget .widget-header h3 {
    margin-right: 1em;
}


.form-group span.error {
    margin-bottom: 0px;
    padding: 0px 6px;
    position: absolute;
    right: 19px;
    top: 4px;
    z-index: 3;
}
.login-fields .form-group span.error {
    right: 5px;
}
.form-group span.error::after {
    border: none;
}
.form-horizontal .form-group span.error {
    margin-left: 0px;
}
.form-group.error {
    padding-bottom: 0px;
    /*z-index: 1; // to miesza z wyświetlaniem listy chosen-select */
}

.form-control {
    position: relative;
    z-index: 2;
    background-color: transparent
}

.pagination {
    margin-bottom: 0px;
    margin-top: 0px;
}
.subnavbar hr{
    margin: 5px 0px;
}

.progress {
    margin-bottom: 0px;
}

#advanced_search{
    cursor: pointer;
}

/*.advanced_search_box label,
.advanced_search_box .form-control{
    float: left;
    width: auto;
    margin-right: 15px;
}

.advanced_search_box .form-group{
    margin: 0px 0px 10px 0px;
}*/

.advanced_search_box .form-group > .col-md-6{
    padding: 0px;
}

@media print{

    body{
        background: none;
        margin: 0px;
    }

    i, .fa, .subnavbar, .navbar, .footer, .btn, .advanced_search_box{
        display: none;
    }
    .icon-list:before {
        content: '';
    }
    .container{
        width: 100%;
    }
    .widget .widget-header, .widget .widget-content {
        border: none;
        padding: 0px;
        border: 0px;
    }
    *{
        font-size: 8px;
    }
    a{
        color: #000;
    }
    a:link:after,
    a:visited:after {
        content: "" !important;
    }
    .stacked:after, .stacked:before {
        border: none;
        background: none;
    }

    .widget .widget-header [class^="fa-"], .widget .widget-header [class*=" fa-"] {
        display: none;
    }

    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        padding: 2px;
    }

    .table-bordered thead tr th {
        font-size: 8px;
    }
    .alert{
        display: none;
    }
    .breadcrumb{
        display: none;
    }

}

.progress .sr-only {
    position: static;
}

.no_margin_bottom{
    margin-bottom: 0px;
}

/*.label{
    font-weight: bold;
}*/

/*.pre_wrap{
    word-wrap:break-word;      
    max-width: 300px;
}*/

.modal-dialog {
    margin-top: 100px;
}

.modal-backdrop {
    z-index: 9;
}

hr{
    width: 100%;
    display: block;
    /*border-bottom: 1px solid #999;*/
    clear: both;
}

.captcha_img{
    border-radius: 4px;
    margin-top: -10px;
    margin-bottom: -15px;
}

#captcha_field{
    border-bottom: 1px solid #eee;
}

.session_data{
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 9;
}

.panel .panel-heading [class^="fa-"],
.panel .panel-heading [class*=" fa-"] {
    color: #555;
    display: inline-block;
    font-size: 20px;
    margin-left: 10px;
    margin-right: -2px;
    margin-top: -3px;
    vertical-align: middle;
}

.panel .panel-heading {
    padding: 0px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top , #fafafa 0%, #e9e9e9 100%) repeat scroll 0 0;
    /*border: 1px solid #d5d5d5;*/
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: 40px;
    line-height: 40px;
    position: relative;
}

.panel .panel-heading h3 {
    color: #555;
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    left: 10px;
    line-height: 18px;
    margin-right: 3em;
    position: relative;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    top: 0;
}

.fix-right{
    position: absolute;
    right: 15px;
    top: 15px;
}

.accordion .panel{
    box-shadow: none;
    border: 1px solid #d5d5d5;
}

.unpaid_box h3 i{
    vertical-align: -7px;
}

.no-padding{
    padding: 0px;
}
.padding-3{
    padding: 3px;
}

.error-container h1 {
    font-size: 50px;
}

.author_info img{
    max-width: 100%;
}

.file_name_td{
    max-width: 150px;
    word-wrap: break-word;
}

.navbar.navbar-inverse .navbar-toggle {
    /*margin-right: 15px;*/
}

.ticket .message_content {
    /*background-color: #fff;*/
    padding: 10px;
    cursor: default;
}

.message_author_user {
    display: block;
    text-align: right;
}
.ticket .message {
    margin-bottom: 10px;
}
.navbar-brand-mobile{
    display: none;
}
@media (max-width: 991px) {

    .export_form .form-group .row > .col-md-6{
        margin-bottom: 15px;
    }
    .export_form .form-group .row > .col-md-6 .btn{
        margin-top: 15px;
    }
    .user_preview,
    .document_preview,
    .big-stats-container{
        display: none;
    }
}

@media (max-width: 767px) {

    .navbar-brand{
        display: none;
    }

    .navbar-brand-mobile{
        display: block;
        float: left;
        font-size: 18px;
        height: 50px;
        line-height: 20px;
        padding: 10px;
    }
}

#report_form .form-group .col-md-6{
    margin-bottom: 15px;
}
#report_form hr{
    margin-top: 0px;
}

.form-control.email_content{
    height: auto;
}

/*########################## FAKTURY*/

/*.subnavbar .mainnav > li > a > span.mixed {
    display: inline-block;
    font-size: 28px;
    height: 24px;
    margin-bottom: 9px;
    margin-top: 12px;
    position: relative;
    top: 2px;
    width: 24px;
}

.widget .widget-header .fa-stack-1x,
.widget .widget-header .fa-stack-2x{
    text-align: left;
    width: auto;
}

.shortcut .fa-stack-1x{
    color: #555
}


.widget .widget-header .fa-half{
    font-size: 0.5em;
    left: 4px;
}

.fa-stack {
    width: 1em;
}*/

#invoice_payer,
#invoice_buyer{
    margin-top: 5px;
}

.products_table{
    font-size: 12px;
}

.products_table .product_title{
    /*min-width: 300px;*/
}
.products_table .unit_type{
    /*min-width: 60px;*/
}

.products_table .form-control {
    font-size: 10px;
    padding: 3px 6px;
    height: 26px;
    text-align: right;
}
.products_table .form-control.product_title{
    text-align: left;
}


.products_table .table th,
.products_table .table td{
    padding: 2px;
}

/*.products_table*/
.summary{
    font-weight: bold;
}

/*.products_table*/
.summary .sum{
    text-align: right;
}

.products_table #add_position{
    /*margin: 10px 0px;*/
}

#add_invoice_form hr{
    margin-top: 15px;
    margin-bottom: 10px;
}

#add_invoice_form textarea{
    /*padding: 3px 6px;*/
}

/*########################## FAKTURY*/


.invoice_logo img{
    max-width: 300px;
}

.to_pay{
    text-align: right;
}

.text-center th{
    text-align: center;
}

.invoice_details .lp{
    width: 30px;
}
.single_invoice .summary td,
.invoice_details td{
    text-align: right;
}
.invoice_details tr td.product_title{
    text-align: left;
}

.verbaly{
    text-align: right;
    padding-top: 20px;
}

.verbaly strong{
    margin-right: 10px;
}
.single_invoice hr,
.verbaly hr{
    margin-top: 10px;
    margin-bottom: 10px;
}

.single_invoice .td_signature{
    height: 100px;
}

.summary .table{
    float: right;
    width: auto;
    /*min-width: 50%;*/
}

.place_time{
    text-align: right;
}

.place_time span{
    display: inline-block;
    min-width: 100px;
}

.remove_position{
    padding: 7px;
    width: 100%;
    font-size: 100%;
    font-weight: bold;
}

@media (min-width: 992px) {
    .products_table .row > div[class*="col-"]{
        padding: 0px;
        padding-right: 5px;
    }
    .products_table .row{
        margin: 0px;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {

    .navbar {
        min-height: 85px;
    }
}

@media (max-width: 991px) {
    .remove_position{
        margin-top: 10px;
    }
    .actions .btn{
        margin-bottom: 3px;
        /*width: 100%;*/
    }

    /*invoice preview mobile*/

    .invoice_logo{
        text-align: center;
        margin-bottom: 20px;
    }
    .buyer{
        border-top: 1px solid #eee;
        margin-top: 10px;
        padding-top: 10px;
    }
    .verbaly{
        text-align: left;
        padding-top: 0px;
    }
    .invoice_logo img{
        max-width: 200px;
    }
    /*invoice preview mobile*/
}

/*@media print{
    .hidden-sm,
    .hidden-xs{
        display: none;
    }
}*/

@media (max-width: 767px) {
    /*    .remove_position{
            width: 100%;
            margin-top: 10px;
            font-size: 100%;
            font-weight: bold;
        }*/
    .summary label,
    .position_row label{
        margin-bottom: 0px;
        margin-top: 5px;
    }
    .summary .sum {
        text-align: left;
    }
    .subnavbar .fa-stack-2x {
        font-size: 14px;
    }
    .subnavbar .fa-stack-1x {
        font-size: 10px;
    }
    .subnavbar .mainnav > li > a > span.mixed {
        width: 12px;
        margin-bottom: 0px;
        margin-top: 0px;
        margin-right: 7px;
    }
    .subnavbar .fa-stack {
        line-height: 1em;
    }
}



.subnavbar {
    margin-bottom: 10px;
}

/*autocomplete products*/

.custom-combobox {
    position: relative;
    display: inline-block;
    width: 100%;
}
.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    /*margin-left: -1px;*/
    padding: 0;
    right: 0px;
    z-index: 2;
    border: none;
    margin-right: 0;
}
.product_title {
    margin: 0;
    padding: 5px 10px;
}
.custom-combobox-toggle:hover,
.custom-combobox-toggle:focus{
    border: 1px solid #999999;
    background: #dadada;
    font-weight: normal;
    color: #212121;
}

.form-control.product_title{
    display: inline-block;
}

.ui-widget {
    font-family: inherit;
    font-size: 10px;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
/* IE 6 doesn't support max-height
 * we use height instead, but this forces the menu to always be this tall
 */
* html .ui-autocomplete {
    height: 300px;
}

/*autocomplete products*/

.alert {
    padding: 5px 10px;
}

.alert .btn{
    /*    margin-top: 10px;
        margin-bottom: 5px;*/
}

.radio .label {
    font-size: 100%;
}

/*################# 2.2.11 29.08.2016*/

.th_icon{
    width: 40px;
    text-align: center;
}
.dropdown-menu.dropdown-right{
    left: auto;
    right: 0;
}
.btn-transparent{
    background-color: transparent;
    box-shadow: none;
    border: none;
    border-radius: 3px;
}

.widget .widget-content {
    padding: 10px;
}

.widget .widget-header > .widget-tools {
    padding: 5px 10px 5px 5px;
}

.widget .widget-header > i[class^="fa-"],
.widget .widget-header > i[class*=" fa-"],
.widget .widget-header > span[class^="fa-"],
.widget .widget-header > span[class*=" fa-"] {
    margin: 0px;
}

.widget .widget-header > .fa,
.widget .widget-header .widget-title {
    cursor: default;
    /*display: inline-block;*/
    float: left;
    /*font-size: 20px;*/
    /*font-weight: 400;*/
    margin: 0px;
    padding: 10px 0px 10px 10px;
}

.widget .widget-header > i[class*="fa-"]{
    font-size: 18px;
}

#search_form_tools input{
    background-color: #fff;
}

/*.widget-header small{
    margin-left: 5px;
}*/

.alert {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.basic_search_box{
    line-height: 30px;
    margin-left: 5px;
}

.invoice_footer{
    display: none;
}

hr {
    margin-bottom: 10px;
    margin-top: 10px;
}

.widget-header .btn-group{
    font-size: 20px;
    color: #999;
    padding-top: 5px;
}

.bootstrap-tagsinput {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    margin-bottom: 0px;
    line-height: 1.42857;
    padding: 2px 4px 4px 4px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}

.bootstrap-tagsinput .tag {
    display: inline-block;
}

.advanced_search_box .chosen-container .chosen-results li {
    font-size: 12px;
    line-height: 12px;
}

.advanced_search_box .chosen-container-single .chosen-single {
    font-size: 12px;
    height: auto;
}

.unpaid_box{
    margin-bottom: 20px;
}

/*.margin_top_0{
    margin-top: 0px;
}

.margin_top_10{
    margin-top: 10px;
}

.margin_bottom_0{
    margin-bottom: 0px;
}

.margin_bottom_10{
    margin-bottom: 10px;
}*/

.bigger{
    font-size: 120%;
    margin: 30px 0px;
}


.breadcrumb {
    background: none;
    margin-bottom: 10px;
    padding: 0px;
}

.breadcrumb > li + li::before {
    content: "> ";
    color: #666;
}

.breadcrumb > li > a {
    color: #666;
}

.breadcrumb > li > a:hover,
.breadcrumb > li > a:focus,
.breadcrumb > .active > a {
    color: #333;
}

.widget-title .btn-sm{
    padding: 1px 6px;
}

#search_form_tools{
    width: 180px;
}

/* ######### 27.01.2017 ######### */

.form-control {
    font-size: 12px;
    height: auto;
    padding: 5px 12px;
}

/* ######### 08.02.2017 ######### */

.widget .text_logs{
    padding: 0px;
}

.text_logs_box{
    border: 1px solid #eee;
    border-top: none;
    margin-bottom: 10px;
}


.log_link,
.log_link:hover,
.log_link:focus{
    color: transparent;
}
.single_text_log{
    display:block;
    padding: 5px 10px;
    color: #666;
    font-size: 90%;
    border-top: 1px solid #eee;
}

@media (min-width: 1400px) {
    .container {
        width: 1370px;
    }
}

@media (min-width: 1600px) {
    .container {
        width: 1570px;
    }
}

/* ####### 20.02.2017 ######## */

.navbar-right {
    margin-right: 0px;
}

.navbar-collapse {
    padding: 0px;
}
@media (max-width: 768px) {
    .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
        padding-left: 5px;
        padding-right: 5px;
    }

    .navbar-nav {
        margin-left: 0px;
        margin-right: 0px;
    }

    .navbar-form {
        margin-left: 0px;
        margin-right: 0px;
    }

    .container > .navbar-company {
        margin-right: -15px;
        margin-left: -15px;
        margin-top: 0px;
    }

    .subnavbar .dropdown .dropdown-menu a {
        padding: 6px 20px;
    }
    .dropdown-menu > li > a {
        white-space: normal;
    }
}

.login-extra {
    display: block;
    line-height: 19px;
    margin: 1em auto;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
    width: 300px;
}

.email_btn{
    cursor: pointer;
}

.modal-backdrop{
    /*background: none;*/
}

.chosen-container .chosen-results li,
.chosen-single span{
    font-size: 12px;
}

.input-group .chosen-container-single .chosen-single {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}

.input-group-addon.btn-success{
    background-color: #5cb85c;
    color: #fff;
}

.chosen-container-active.chosen-with-drop .chosen-single,
.chosen-container-active .chosen-single{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}


.table-responsive { /* bo przy imporcie mi tabelka ucieka poza kadr */
    /*overflow-x: visible;*/
}

.navbar-brand-mobile img,
#login img{
    max-width: 100%;
}

input[type="checkbox"] {
    /*float: left;*/
    display: inline-block;
    height: auto;
    margin-right: 5px;
    vertical-align: -2px;
    width: auto;
}

.form-group.check label{
    font-weight: normal;
}

.form-group.check label a{
    font-weight: bold;
}

small, .small {
    font-size: 85% !important;
}

.m-t-0{
    margin-top: 0px !important;
}

.m-t-5{
    margin-top: 5px !important;
}

.m-t-10{
    margin-top: 10px !important;
}

.m-t-20{
    margin-top: 20px !important;
}

.m-b-0{
    margin-bottom: 0px !important;
}

.m-b-10{
    margin-bottom: 10px !important;
}

.m-b-20{
    margin-bottom: 20px !important;
}

.p-l-0{
    padding-left: 0px !important;
}

.p-r-0{
    padding-right: 0px !important;
}

.p-b-0{
    padding-bottom: 0px !important;
}

.p-b-10{
    padding-bottom: 10px !important;
}

.p-b-20{
    padding-bottom: 20px !important;
}

.p-t-10{
    padding-top: 10px !important;
}

.p-t-20{
    padding-top: 20px !important;
}

td {
  word-wrap: break-word;
  max-width: 300px;
}


/* FEEDBACK */
.feedback_btn{
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2; /*żeby nie znikał pod kalendarzem */
}
.hover_btn span{
    font-size: 0px;
    /*display: none;*/
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.hover_btn:hover span,
.hover_btn:focus span{
    font-size: 1em;
}

.feedback_img canvas{
    max-width: 100%;
    max-width: 320px;
}

.box-feedbacks .message_content{
    background-color: #EEEEEE;
    /*cursor: not-allowed;*/
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: table;
    /*display: block;*/
    font-size: 14px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
    margin-bottom: 10px;
}