@charset "utf-8";

body {
    background-color: #E6E6E6;
    padding-top     : 60px;
    font-size       : 12px;
}

h1, h2, h3, h4 {
    margin-bottom:  5px;
}

span.success {
    color: #468847;
}

span.error {
    color: #B94A48;
}

span.warning {
    color: #C09853;
}

span.info {
    color: #3A87AD;
}

.label {
    font-size: 100%;
}

/*.dolny_pasek */
.navbar-inner {
    min-height: 22px;
    font-size: 13px;
}

.navbar-inner li.dropdown, .navbar-inner a.dropdown-toggle {
    /* troszke mniejsze odstepy */
    padding-left:  3px !important;
    padding-right: 3px !important;
}

.badge-warning[href] {
    background : #F89406;
}

.dolny_pasek {
    /* select2 dzięki poniższemu pokazuje się nad dolną stopką */
    z-index    : 1 !important;
    min-height : 24px;
    opacity    : 0.75;
}

.dolny_pasek .opis {
    font-weight: bold;
    color      : white;
}


/* Formularze */
.form-horizontal .form-actions .btn {
    margin : 2px;
}

.form-horizontal .btn_dodany_do_pola_formy {
    margin-left   : -7px;
    width         : 25px;
    padding-left  : 0;
    padding-right : 0;
}

.form-horizontal .control-group {
    margin-bottom : 5px;
}

.form-horizontal .help-block {
    margin-bottom : 10px;
    margin-top    : 3px;
}

.table {
    margin-bottom   : 3px;
    width           : 100%;
    font-size       : 12px;
}

.table th {
    background-image : none;
    background       : #F5F5F5;
    text-align       : center;
    font-weight      : bold;
    vertical-align   : middle !important;
}

.table td {
    vertical-align: middle !important;
}

#main_container {
    background-color: white;
    padding: 10px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 1px 1px 6px gray;
}

body.logowanie #main_container {
    min-width: 330px;
    max-width: 360px;
    width    : 345px;

}

body.logowanie #main_container legend {
    text-align: center;
}

body.logowanie #main_container .form-actions {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    background: none;
}

#main_menu {
    min-height: 30px;
    font-size: 14px;
}

#main_menu .navbar-nav > li > a  {
    padding-bottom: 10px;
    padding-top: 10px;
}

#main_menu .menu-top {
    margin-right: 15px;
    margin-left : 15px;
}

#main_menu .menu-top a.logo img {
    margin-top   : 7px;
    width        : 26px;
    height       : 26px;
    margin-right : 5px;
    margin-left  : 5px;

}


.lewo {
    text-align: left;
}

.prawo {
    text-align: right;
}

.srodek {
    text-align: center;
}

.prawo_lewo {
    text-align: justify;
}

.xxs_font {
    font-size: 7px;

}

.xs_font {
    font-size: 8px;
}

.s_font {
    font-size: 10px;
}

.m_font {
    font-size: 11px;
}

.l_font {
    font-size: 12px;
}

.xl_font {
    font-size: 13px;
}

.xxl_font {
    font-size: 14px;
}

.xxxl_font {
    font-size: 15px;
}

.xxxxl_font {
    font-size: 16px;
}

.black_font {
    color : #000;
}

.dark_font {
    color : #222;
}

.gray_font {
    color : gray;
}

.light_font {
    color : #bbb;
}

.white_fonr {
    color: #fff;
}

.operacja {
    cursor : pointer;
}


.naglowek_strony {
    font-size    : 17px;
    font-weight  : bold;
    color        : #fff;
    margin-top   : 7px;
    margin-bottom: 15px;
    display      : inline-block;
    padding-top  : 5px;
    padding-left : 17px;
    padding-right: 17px;
}


.form-control {
    height : 32px;
}

.filtr_kontener {
    margin-top    : 7px;
    margin-bottom : 10px;
}

.filtr_naglowek {
    background: #131313;
    background: -moz-linear-gradient(top, #131313 0%, #000000 0%, #595959 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#131313), color-stop(0%,#000000), color-stop(100%,#595959));
    background: -webkit-linear-gradient(top, #131313 0%,#000000 0%,#595959 100%);
    background: linear-gradient(to bottom, #131313 0%,#000000 0%,#595959 100%);
    padding     : 3px;
    padding-left: 10px;
    color       : white;
    font-weight : bold;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.filtr_zawartosc {
    border     : 1px solid #495962;
    padding    : 5px;
    background : #E6E6E6;
}


.filtr_zawartosc table {
    width : 100%;
}

.extra_split_datetime_widget .date {
    width : 50% !important;
    display:  inline-table;
}

.extra_split_datetime_widget .time {
    width : 50% !important;
    display:  inline-table;
}

.akcje .btn-group-xs .btn {
    width : 25px;
}


.select2-container {
    max-width: 300px;
}


/* Dodatkowe style dla listy wyboru jednostek w menu
   w prawym górnym rogu. Ustawienie tak by lista
   nie wychodziła poza ekran gdy zawiera zbyt wiele
   elementów. Ustawienie max wysokości dla obiektu i
   dodanie scroll. Niestety musi być zaszyta wysokoćś
   na sztywno gdyż bez dodatkowej funkcjonalności w JS
   na samych stylach jest to trudno osiągnąć.
*/
#id_lista_jednostek_wybor {
    min-width: 320px;
    overflow: scroll;
    max-height: 320px;
}
