﻿body {
}

.buttonLinks {
    color: #ffffff;
    text-decoration: none;
}
/* get a larger input, and align it with submit button */
.form-inline .form-group > div.col-xs-8 {
    padding-left: 0;
    padding-right: 0;
}
/* vertical align label*/
.form-inline label {
    line-height: 34px;
}
/* force inline control to fit container width
// http://getbootstrap.com/css/#forms-inline */
.form-inline .form-control {
    width: 100%;
}

.table thead > tr > th {
    text-align: left;
}

.constant-width {
    width: 4em;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.popover-content {
    word-wrap: break-word;
}

.modal-header {
    margin-bottom: 15px;
}

pre {
    background-color: initial;
    border: initial;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    word-break: keep-all;
}

#templateSubject {
    max-width: none;
}

#templateBody {
    max-width: none;
    height: 400px;
}

.required:after {
    content: "*";
    color: #f00;
}

.row-margin-bottom {
    margin-bottom: 15px;
}

/* Reset margin-bottom for our multiline form*/
@media (min-width: 768px) {
    .form-inline .form-group {
        margin-bottom: 15px;
    }
}

fieldset {
    margin-bottom: 30px;
}

legend {
    color: #c0c0c0;
}

.cke_editor textarea {
    max-width: none;
}

/* Conditional formatting for different colours based on amount of worked hours */
.value-zero {
    font-size: smaller;
    color: grey;
}

.value-low {
    color: red;
}

.value-medium {
    color: orange;
}

.value-high {
    color: black;
}

.value-bold {
    color: black;
    font-weight: bold;
}

.value-bold-blue {
    color: blue;
    font-weight: bold;
}


/* Style do planowania zasobów */

#workload-plan .dates {
    display: flex;
    width: 540px;
}

#workload-plan .date-slider {
    display: flex;
    margin: 25px auto;
    width: 604px;
}

#workload-plan .dates .date-item {
    border: 1px solid #bfbfbf;
    padding: 6px 5px;
    margin: 0px 5px 0px 5px;
    border-radius: 4px;
    display: inline-block;
    transition-duration: 0.25s;
    height: 34px;
}

    #workload-plan .dates .date-item:hover,
    #workload-plan .dates .date-item.active,
    #workload-plan .arrow:hover {
        cursor: pointer;
        background-color: #f1f1f1;
        color: #222222;
    }

#workload-plan .arrow {
    border: 1px solid #bfbfbf;
    padding: 7px 5px 5px 5px;
    margin: 0px 5px 0px 5px;
    border-radius: 4px;
    display: inline-block;
    transition-duration: 0.25s;
}

.tab-header-text {
    color: #555;
}

.workloadplan.tab-content > * {
    margin-top: 15px;
    margin-bottom: 15px
}

.partial-loading-overlay {
    position: absolute;
    background-color: white;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 998;
}

.partial-overlay-wrapper {
    position: relative;
}

.actionRow {
    text-align: right;
    white-space: nowrap;
}

.actionEdit {
    color: black;
    text-decoration: none;
}

.actionDelete {
    color: red;
    text-decoration: none;
}

.workloadplan .mainRow {
    cursor: pointer;
    border-bottom: 2px solid #ddd;
}

.workloadplan .mainRow .text-danger {
    color: red;
}

.workloadplan .table > tbody > tr:not(.mainRow) {
    background-color: #f9f9f9;
}

.workloadplan .sortable {
    cursor: pointer;
}

.workloadplan .sortable span {
    color: #428bca;
}

.workloadplan .mainRow.expanded .glyphicon-chevron-right {
    display: none;
}

.workloadplan .mainRow:not(.expanded) .glyphicon-chevron-down {
    display: none;
}

.workloadplan .tableHeader.expandedAll .glyphicon-chevron-right {
    display: none;
}

.workloadplan .tableHeader:not(.expandedAll) .glyphicon-chevron-down {
    display: none;
}

.workloadplan tr, .workloadplan td {
    vertical-align: middle !important;
}

.mainRow {
    font-weight: bold;
}

.transition {
    transition: height 1.5s;
}

.involvement-slider {
    position: inherit !important
}

.involvement-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    margin-top: 10px;
    margin-left: 4px;
    min-width: 150px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .involvement-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background: #4CAF50 !important;
        cursor: pointer;
        z-index: 999 !important;
    }

/*nadpisanie styli dla navbaru*/

@media all and (max-width:1025px), only screen and (min-width: 0px) and (max-device-width: 1025px), only screen and (min-width: 0px) and (max-device-width: 1025px) and (orientation: portrait) {
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

        .navbar-nav .open .dropdown-menu > li > a,
        .navbar-nav .open .dropdown-menu .dropdown-header {
            padding: 5px 15px 5px 25px;
        }

        .navbar-nav .open .dropdown-menu > li > a {
            line-height: 20px;
        }

            .navbar-nav .open .dropdown-menu > li > a:hover,
            .navbar-nav .open .dropdown-menu > li > a:focus {
                background-image: none;
            }
}

@media all and (max-width:1025px), only screen and (min-width: 0px) and (max-device-width: 1025px), only screen and (min-width: 0px) and (max-device-width: 1025px) and (orientation: portrait) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }

        .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
        .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #333;
            background-color: transparent;
        }

    .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #555;
        background-color: #e7e7e7;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
    }
}

@media all and (max-width:1025px), only screen and (min-width: 0px) and (max-device-width: 1025px), only screen and (min-width: 0px) and (max-device-width: 1025px) and (orientation: portrait) {
    .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #080808;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu .divider {
        background-color: #080808;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #9d9d9d;
    }

        .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
        .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
            color: #fff;
            background-color: transparent;
        }

    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #080808;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #444;
        background-color: transparent;
    }
}

@media (max-width: 1025px), only screen and (min-width: 0px) and (max-device-width: 1025px), only screen and (min-width: 0px) and (max-device-width: 1025px) and (orientation: portrait) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }

    .navbar-collapse.in {
        overflow-y: auto !important;
    }
}

/*dodanie styli dla dropdown submenu*/

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        position:absolute;
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #ffffff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.dropdown-menu > li > span {
    font-weight: normal;
    line-height: 1.42857143;
    white-space: nowrap;
    margin:5px;
}

a.submenu:hover {
    cursor: pointer;
}

/*nadpisanie styli dla pol z wyborem NIPu dla klientow oraz faktur kosztowych*/

@media(min-width:1200px) {
    .country-code-div {
        width: 8.6%;
    }
    .nip-taxid-div {
        width: 13%;
    }
    .vat-number-check-div {
        margin-left: 0px;
        padding-left: 0px;
    }
}

