/* here you can put your own css to customize and override the theme */

/**
 * Style for "logo" text in page's header (on top of sidebar)
 */

.page-logo > a {
    color: #ffffff;
    font-size: 24px;
    line-height: 26px;
}

/**
 * Adds red alterisk for form required fields
 */

label.required:after {
    color: red;
    content: ' *';
}

/**
 * Adds small shadow for flags
 */

.flag-icon {
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.33);
}

/**
 * Fix for "cut" delete confirmation popover
 */

/*.table-scrollable {*/
    /*overflow: visible;*/
/*}*/

.tabbable-custom {
    overflow: visible;
}

/**
 * Others
 */

textarea.form-control {
    max-width: 100%;
}



/**
 * Fancy Box plugin
 */

a.fancybox-button {
    width: 100%;
    height: auto;
}

td > a.fancybox-button {
    width: 100%;
    max-width: 200px;
    height: auto;
}

/**
 * Custom for Datatables Rowreorder
 */

table.rowreorder > tbody > tr > td:first-child {
    cursor: grab;
}

dt-rowReorder-moving {
    cursor: grabbing !important;
}

/**
 * Nestable2 plugin (for nested tree reordering)
 */

.dd3-content {
    display: block;
    height: 30px;
    margin: 5px 0;
    padding: 5px 10px 5px 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

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

.dd-dragel > .dd3-item > .dd3-content {
    margin: 0;
}

.dd3-item > button {
    margin-left: 30px;
}

.dd3-handle {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 30px;
    text-indent: 30px;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #aaa;
    background: #ddd;
    background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
    background: -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
    background: linear-gradient(top, #ddd 0%, #bbb 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dd3-handle:before {
    content: '≡';
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
    width: 100%;
    text-align: center;
    text-indent: 0;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
}

.dd3-handle:hover {
    background: #ddd;
}

/**
 * Custom for Nestable2 plugin
 */

.dd {
    width: 100%;
    max-width: 100%;
}

.dd-item {
    /*font-size: 14px;*/
}

.dd3-content {
    height: 35px;
}

.dd3-item > button {
    margin-left: 35px;
    font-size: 18px;
}

.dd3-handle {
    cursor: grab;
    width: 35px;
    height: 35px;
}

.dd3-handle:before {
    top: 5px;
}

.dd-children {
    padding: 0px 20px 0px 10px;
}

.dd-children i {
    font-size: 24px;
}

.dd-actions {
    /*font-size: 18px;*/
}

.datepicker-wrapper {
    position: relative;
    display: block;
}
.datepicker-wrapper .input-group-btn {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: block;
    width: 40px;
    height: 34px;
    border-right: 1px solid #c2cad8;
    pointer-events: none;
}
.datepicker-wrapper .datepicker {
    padding-left: 45px;
}

/* zmiana czcionki do widoku raportów */
.table-report td, .table-report th, .table-report thead tr th {
    font-size: 11px;
}

.disabler-wrapper {
    position: relative;
}
.disabler-overlay {
    position: absolute;
    top: 0;
    left: 0;
}
.not-allowed {
    cursor: not-allowed;
}
.padding-top-7px {
    padding-top: 7px!important;
}

.page-header.navbar .page-logo .logo-default {
    margin: 4px 0 0;
}

.table-scrollable-top {
    position: relative;
    z-index: 2;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: -10px;
}
.dataTables_wrapper .table-scrollable {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.page-header.navbar {
    height: 80px;
}
.page-sidebar-fixed .page-sidebar {
    top: 80px;
}
.page-header-fixed .page-container {
    margin-top: 80px;
}
.page-header.navbar .menu-toggler.sidebar-toggler {
    margin: 28.5px 0 0;
}
.page-header.navbar .top-menu {
    margin: 14px 0 0;
}
.page-logo .logo-default img {
    height: 60px;
    margin-top: 5px;
    margin-left: 30px
}