﻿
/*Pobranie fontów*/
@font-face {
    font-family: "EncodeSansCompressed";
    src: url('../fonts/EncodeSansCompressed-Regular.ttf');
}

@font-face {
    font-family: "EncodeSansCompressed";
    src: url('../fonts/EncodeSansCompressed-Bold.ttf');
    font-weight: bold;
}

body {
    font-family: "EncodeSansCompressed";
    font-size: 16px;
    color: #232323;
    background-color: #fff;
}


/* Linki
-----------------------------------------------------------*/
a {
    color: #000;
}

    a:hover,
    a:focus {
        color: #5E5E5e;
        text-decoration: underline;
    }


/*navbar*/
.navbar-default {
    background-color: #fff;
    border: none;
    border-radius: 0px;
    border-bottom: solid;
    border-bottom-color: #23408e;
    border-bottom-width: 4px;
    font-size: 18px;
    min-height: 40px;
    margin-bottom: 0px;
    right: 0;
    left: 0;
    top: 0;
    padding-right: 0;
    padding-left: 0;
    z-index: 1030;
    -webkit-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.navbar-default-fixed-top {
    position: fixed;
}

/* tytuł */
.navbar-default .navbar-brand {
    color: #000;
}


/* link */
.navbar-default .navbar-nav > li > a, .navbar-brand {
    padding-top: 10px;
    padding-bottom: 0;
    height: 40px;
    color: #000;
}

    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus,
    .navbar-default .navbar-brand:hover,
    .navbar-default .navbar-brand:focus {
        text-decoration: underline;
        color: #5E5E5e;
    }

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #555;
    background-color: transparent;
}

/*Menu o użytkowniku*/
.navbar-user {
    padding: 10px;
    padding-bottom: 0px;
}

@media (min-width: 768px) {
    .navbar-user {
        width: 280px;
    }
}

.navbar-user-logout {
    padding: 10px;
    padding-bottom: 0px;
    padding-top: 5px;
}

.navbar-user-image-mini {
    font-size: 23px;
}

.navbar-user-image {
    font-size: 87px;
}

/*Scrolowane menu*/
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: #23408e;
}

/*Panel górny*/
#toppanel {
    background-color: #fff;
    width: 100%;
    z-index: 101;
    top: 44px;
    border-bottom: 1px solid #ddd;
}

.toppanel-fixed-top {
    position: fixed;
}

.toppanel-padding {
    padding: 5px 10px 5px 15px;
}

/*Okruszki*/
/*.dvbreadcrumb {
    width: 100%;
    overflow-x: auto;
}*/

.breadcrumb {
    padding: 0px;
    margin: 0px;
    background-color: #fff;
    font-size: 14px;
    /*white-space: nowrap;*/
}

.breadcrumbs li {
    display: inline-block;
    list-style: none;
}

.breadcrumb-parent-link,
.breadcrumb-parent-link:hover,
.breadcrumb-parent-link:focus {
    color: #23408e;
    cursor: pointer;
}

.breadcrumbdetails {
    position: absolute;
    display: none;
    z-index: 120;
    background-color: #fff;
    border: solid;
    border-color: #23408e;
    border-width: 4px;
    width: 380px;
    box-shadow: 10px 10px 5px #c0c0c0;
}

.breadcrumbdetails-header {
    background-color: #23408e;
    width: 100%;
    padding-bottom: 4px;
}

.breadcrumbdetails-body {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.breadcrumb-dropdown {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

/*Przyckiski*/
.btn-default {
    border: none;
    border-radius: 0px;
    background-color: transparent;
}

    .btn-default:hover {
        background-color: #d4d4e8;
        /*text-decoration: underline;*/
    }

    .btn-default:focus {
        background-color: transparent;
        /*background-color: #9a9bc7;*/
    }

    .btn-default .glyphicon {
        font-size: 19px;
    }

.btn-search .glyphicon {
    font-size: 18px;
}


/*Textboxy*/
.form-control {
    border-radius: 0px;
}

/*Checkobxy*/
input[type=checkbox] {
    width: 16px;
    height: 16px;
}


/*Zakładki*/
.nav-tabs {
    border-bottom-color: #23408e;
    margin-bottom: 4px;
    background-color: #fff;
    z-index: 10;
}

    .nav-tabs > li > a, .nav-tabs > li > a:hover {
        /*border-top-left-radius: 10px;
        border-top-right-radius: 10px;*/
        border-top-left-radius: 1px;
        border-top-right-radius: 8px;
        border-bottom-color: #23408e;
        border-top-color: #c6c7c9;
        border-left-color: #c6c7c9;
        border-right-color: #c6c7c9;
        background-color: #f1f1f2;
        margin-left: 2px;
        margin-right: -3px;
        margin-top: 2px;
    }

        .nav-tabs > li > a:hover {
            text-decoration: underline;
        }

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        background-color: #fff;
        border-top-color: #23408e;
        border-left-color: #23408e;
        border-right-color: #23408e;
        border-bottom-color: #fff;
        text-decoration: none;
        z-index: 10;
    }



/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #f00;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
    font-size: 12px;
}

.validation-summary-valid {
    display: none;
}


.loading-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba( 255, 255, 255, .5);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

    /* Anytime the body has the loading class, our
   modal element will be visible */
    body.loading .loading-modal {
        display: block;
    }

/*Attachments*/
.cell-labelfilename {
    max-width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    font-size: small;
    cursor: pointer;
}

    .cell-labelfilename:hover {
        text-decoration: underline;
    }

.cell-labelfilesize {
    width: 80px;
    font-size: small;
}

.cell-removeattachment {
    max-width: 40px;
}

.table-without-cellspacing {
    border-spacing: 0;
    border-collapse: collapse;
}

.td-without-padding {
    padding: 0px !important;
}


.btn-in-modal:focus,
.btn-in-modal:active:focus,
.btn-in-modal.active:focus,
.btn-in-modal.focus,
.bbtn-in-modal:active.focus,
.bbtn-in-modal.active.focus {
    outline: none;
}

/* .modal-fullscreen size*/

.modal-fullscreen .modal-dialog {
    /*margin: 0;*/
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

#ModalMessageText {
    overflow-y: auto;
    overflow-x: auto;
}


/*@media (min-width: 768px) {
    .modal-fullscreen .modal-dialog {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .modal-fullscreen .modal-dialog {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .modal-fullscreen .modal-dialog {
        width: 1170px;
    }
}*/


/*input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button,
input[type=time]::-webkit-inner-spin-button,
input[type=time]::-webkit-outer-spin-button,
input[type=datetime-local]::-webkit-inner-spin-button,
input[type=datetime-local]::-webkit-outer-spin-button,*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.updating-error-cell, .value-error-cell {
    /*background-color: red !important;*/
    border: 2px solid red !important;
}


.dv-outer {
    text-align: center;
}

.dv-inner {
    display: inline-block;
}

/*Responzywne ikonki*/
.icon-responsive {
    font-size: 500px;
}

@media (min-width: 768px) {
    .icon-responsive {
        font-size: 345px;
    }
}

@media (min-width: 992px) {
    .icon-responsive {
        font-size: 293px;
    }
}

@media (min-width: 1200px) {
    .icon-responsive {
        font-size: 263px;
    }
}
