﻿div.combobox, div.combobox .dropdownlist, div.combobox input {
    font-family: Tahoma;
    font-size: 10px
}

div.combobox {
    position: relative;
    zoom: 1
}

input[type="file"]::file-selector-button {
    border: 2px solid #FFF;
    padding: 0.2em 0.4em;
    border-radius: 0.2em;
    color: orange;
    font-weight: bold;
    background-color: white;
    transition: 1s;
}
input[type="file"]{
    height:30px;
}

div.combobox div.dropdownlist {
    display: none;
    overflow: auto;
    position: absolute;
    top: 18px;
    left: 0px;
    width: 200px;
    height: 200px;
    border: solid 1px #000;
    background-color: #fff;
}

    div.combobox .dropdownlist a {
        display: block;
        text-decoration: none;
        color: #000;
        padding: 1px;
        height: 1em;
        line-height: 1;
        cursor: default;
    }

        div.combobox .dropdownlist a.light {
            color: #fff;
            background-color: #007;
        }

    div.combobox input {
        float: left;
        width: 182px;
        border: solid 1px #ccc;
        height: 15px;
    }

    div.combobox span {
        border: solid 1px #ccc;
        background: #eee;
        width: 16px;
        height: 17px;
        float: left;
        text-align: center;
        border-left: none;
        cursor: default
    }


.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    
    justify-content: center;
    padding: 5px 25px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.3s;
    z-index: 1;
    border: unset;
    color: #fff;
}
    .button.m1 {
        height: 25px;
    }
    .button::before, .button::after {
        content: '';
        position: absolute;
        height: 100%;
        width: 100%;
        bottom: 100%;
        left: 0;
        z-index: -1;
        transition: transform 0.3s;
        transition-timing-function: cubic-bezier(0.75, 0.25, 0.125, 1);
    }

    .button.btn-large {
        padding: 30px 50px;
    }

    .button.btn-submit, .button.btn-edit, .button.btn-add, .button.btn-remove, .button.btn-white {
        color: orange;
        border: 1px solid gray;
    }

        .button.btn-submit:hover, .button.btn-edit:hover, .button.btn-add:hover, .button.btn-remove:hover, .button.btn-white:hover {
            text-decoration: none;
            border-color: orange;
            color: orange;
        }

            .button.btn-submit:hover::before, .button.btn-submit:hover::after, .button.btn-edit:hover::before, .button.btn-edit:hover::after, .button.btn-add:hover::before, .button.btn-add:hover::after, .button.btn-remove:hover::before, .button.btn-remove:hover::after, .button.btn-white:hover::before, .button.btn-white:hover::after {
                transform: translate3d(0, 100%, 0);
            }

            .button.btn-submit:hover::after, .button.btn-edit:hover::after, .button.btn-add:hover::after, .button.btn-remove:hover::after, .button.btn-white:hover::after {
                transition-delay: 0.175s;
            }

    .button.btn-submit {
        background: white;
    }

        .button.btn-submit::before {
            background: #ff944d;
        }

        .button.btn-submit::after {
            background: white;
        }

    .button.btn-green {
        background: #00A650;
        color: white;
    }

        .button.btn-green a {
            color: white;
            text-decoration: none;
        }

    .button.btn-gray {
        background: darkgray;
    }

        .button.btn-gray a {
            color: black;
            text-decoration: none;
            font-weight: bold;
        }

    .button.btn-add {
        background: #87BC1A;
    }

    .button.btn-edit {
        color: black;
        background: #008DDC;
    }

    .button.btn-remove {
        background: #9a0000;
    }

    .button.btn-white {
        background: white;
    }

    .button.disabled, .button[disabled] {
        background: gray;
        color: white;
        border: 1px solid gray;
    }

        .button.disabled:hover::before, .button.disabled:hover::after, .button[disabled]:hover::before, .button[disabled]:hover::after {
            display: none;
        }

html {
    font-size: 12px;
}

body {
    background: #ffd7b3;
    font-family: "Calibri Light", sans-serif !important;
}

@media only screen and (max-width: 1024px) {
    body .container {
        width: 100% !important;
    }

        body .container .navbar-collapse.collapse {
            display: none !important;
        }

            body .container .navbar-collapse.collapse.in {
                position: fixed;
                top: 50px;
                left: 0;
                width: 170px !important;
                height: calc(100vh) !important;
                max-height: calc(100vh);
                display: flex !important;
                flex-direction: column !important;
                background-color: transparent !important;
                transition: opacity 1.3s;
            }

                body .container .navbar-collapse.collapse.in::before {
                    position: fixed;
                    width: 100%;
                    height: 100%;
                    background-color: rgba(0, 0, 0, 0.9) !important;
                    transition: opacity 1.3s;
                    z-index: -1;
                }

                body .container .navbar-collapse.collapse.in .navbar-nav {
                    display: flex !important;
                    flex-direction: column !important;
                    width: 150px;
                }

                    body .container .navbar-collapse.collapse.in .navbar-nav .dropdown.hoves .dropdown-toggle {
                        display: flex;
                        align-items: center;
                    }

                        body .container .navbar-collapse.collapse.in .navbar-nav .dropdown.hoves .dropdown-toggle .caret {
                            position: absolute;
                            transform: rotate(270deg);
                            right: 0;
                            height: 20px;
                        }

                    body .container .navbar-collapse.collapse.in .navbar-nav .dropdown.hoves.open .dropdown-menu {
                        position: fixed;
                        top: 50px;
                        left: 150px;
                        display: flex;
                        flex-direction: column;
                        height: calc(100vh - 50px);
                        padding-top: 0;
                        background-color: #080808;
                        border: unset;
                    }

                        body .container .navbar-collapse.collapse.in .navbar-nav .dropdown.hoves.open .dropdown-menu a {
                            padding: 10px;
                            color: #9d9d9d;
                        }

                            body .container .navbar-collapse.collapse.in .navbar-nav .dropdown.hoves.open .dropdown-menu a:hover {
                                background-color: unset;
                                color: #FFFFFF;
                            }

                body .container .navbar-collapse.collapse.in .navbar-right {
                    display: flex;
                }

        body .container .navbar-header .collapse, body .container .navbar-toggle {
            display: block !important;
        }

        body .container .navbar-header {
            display: flex;
            float: none;
        }
}

@media only screen and (max-width: 768px) {
    body .navbar-header button {
        margin-left: 15px;
    }

    body .navbar-collapse .nav {
        margin-left: 0;
    }

    body .navbar-collapse .navbar-right {
        margin-left: 15px;
    }

        body .navbar-collapse .navbar-right .nav {
            margin-left: 0;
        }

        body .navbar-collapse .navbar-right button {
            padding-left: 0;
        }
}

body footer {
    position: fixed;
    display: flex;
    justify-content: center;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #202020;
    z-index: 2;
}
body header {
    background: #1A005A;
    font-weight: bold;
}

    body footer p {
        margin: 0;
        color: #9d9d9d;
    }

@font-face {
    font-family: 'Calibri Light';
    font-weight: lighter;
    font-style: normal;
}

select.form-control {
    border: 1px solid darkgray;
    border-radius: 0;
    height: 34px;
    box-shadow: unset;
}

input {
    height: 20px;
    border: 1px solid darkgray;
}

.form-field input[type=radio], .form-field input[type=checkbox] {
    display: none;
}

    .form-field input[type=radio] + label, .form-field input[type=checkbox] + label {
        position: relative;
        display: inline-block;
        padding-left: 18px;
        color: black;
        text-align: left;
    }

        .form-field input[type=radio] + label::before, .form-field input[type=radio] + label::after, .form-field input[type=checkbox] + label::before, .form-field input[type=checkbox] + label::after {
            display: block;
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
        }

        .form-field input[type=radio] + label::before {
            width: 11px;
            height: 11px;
            border: 1px solid gray;
            border-radius: 50%;
        }

        .form-field input[type=radio] + label:hover::before {
            border-color: gray;
        }

    .form-field input[type=radio]:checked + label {
        color: black;
        font-weight: font-weight(bold);
    }

        .form-field input[type=radio]:checked + label::after {
            width: 7px;
            height: 7px;
            left: 2px;
            border-radius: 50%;
            background-color: #008DDC;
        }

    .form-field input[type=checkbox] + label::before {
        width: 10px;
        height: 10px;
        border: 1px solid gray;
        border-radius: 2px;
    }

    .form-field input[type=checkbox] + label:hover::before {
        border-color: black;
    }

    .form-field input[type=checkbox]:checked + label {
        color: black;
        font-weight: font-weight(bold);
    }

        .form-field input[type=checkbox]:checked + label::before {
            border-color: black;
        }

        .form-field input[type=checkbox]:checked + label::after {
            width: 8px;
            height: 8px;
            left: 1px;
            background-color: #008DDC;
            border-radius: 1px;
        }

    .form-field input[type=checkbox].ng-touched.ng-invalid + label {
        color: red;
    }

        .form-field input[type=checkbox].ng-touched.ng-invalid + label::before {
            border-color: red;
        }

.form-field textarea {
    width: 100%;
    padding: 15px 20px;
    color: black;
    border-color: darkgray;
    border-top: 3px solid darkgray;
    resize: none;
}

    .form-field textarea[disabled] {
        background: white;
        opacity: 0.7;
    }

    .form-field textarea.ng-touched.ng-invalid {
        border-top: 3px solid red;
    }
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }
.login-box {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    z-index: 2000;
}

    .login-box .login-logo img {
        width: 100%;
        margin-bottom: 20px;
    }

    .login-box .form {
        width: 80%;
        max-width: 450px;
    }

        .login-box .form form {
            width: 78%;
        }

            .login-box .form form .validation-summary-errors {
                display: flex;
                justify-content: center;
                font-size: 12px;
                color: red;
            }

                .login-box .form form .validation-summary-errors ul {
                    padding: 0;
                    list-style: none;
                }

        .login-box .form .form-group {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            align-items: center;
            margin-bottom: 20px;
            position: relative;
        }

            .login-box .form .form-group.login, .login-box .form .form-group.password {
                flex-direction: column;
                align-items: flex-start;
            }

                .login-box .form .form-group.login input, .login-box .form .form-group.password input {
                    border: none;
                    border-bottom: 1px solid black;
                    border-radius: 0;
                    font-size: 16px;
                    color: black;
                    background-color: transparent;
                    box-shadow: 0 0 0px 1000px white inset !important;
                    transition: .3s ease;
                }

                    .login-box .form .form-group.login input:focus, .login-box .form .form-group.login input.valid, .login-box .form .form-group.login input.input-validation-error, .login-box .form .form-group.login input:-webkit-autofill, .login-box .form .form-group.password input:focus, .login-box .form .form-group.password input.valid, .login-box .form .form-group.password input.input-validation-error, .login-box .form .form-group.password input:-webkit-autofill {
                        -webkit-box-shadow: 0 0 0px 1000px white inset !important;
                        background-color: white !important;
                        box-shadow: none;
                    }

                        .login-box .form .form-group.login input:focus ~ label, .login-box .form .form-group.login input.valid ~ label, .login-box .form .form-group.login input.input-validation-error ~ label, .login-box .form .form-group.login input:-webkit-autofill ~ label, .login-box .form .form-group.password input:focus ~ label, .login-box .form .form-group.password input.valid ~ label, .login-box .form .form-group.password input.input-validation-error ~ label, .login-box .form .form-group.password input:-webkit-autofill ~ label {
                            top: -8px !important;
                            left: 0 !important;
                            font-size: 13px !important;
                        }

                        .login-box .form .form-group.login input:focus + label, .login-box .form .form-group.login input.valid + label, .login-box .form .form-group.login input.input-validation-error + label, .login-box .form .form-group.login input:-webkit-autofill + label, .login-box .form .form-group.password input:focus + label, .login-box .form .form-group.password input.valid + label, .login-box .form .form-group.password input.input-validation-error + label, .login-box .form .form-group.password input:-webkit-autofill + label {
                            top: -8px !important;
                            left: 0 !important;
                            font-size: 13px !important;
                        }

                        .login-box .form .form-group.login input.valid + label,
                        .login-box .form .form-group.login input.input-validation-error + label,
                        .login-box .form .form-group.login input:focus + label, .login-box .form .form-group.password input.valid + label,
                        .login-box .form .form-group.password input.input-validation-error + label,
                        .login-box .form .form-group.password input:focus + label {
                            top: -8px !important;
                            left: 0 !important;
                            font-size: 13px !important;
                        }

                .login-box .form .form-group.login label, .login-box .form .form-group.password label {
                    position: absolute;
                    top: -8px;
                    left: 0px;
                    transition: .25s ease;
                    color: black;
                    font-size: 13px;
                    font-weight: bold;
                }

                .login-box .form .form-group.login .text-danger, .login-box .form .form-group.password .text-danger {
                    position: absolute;
                    bottom: -16px;
                    margin: 0;
                    font-size: 12px;
                    color: red;
                }

            .login-box .form .form-group.create-forgot {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
            }

                .login-box .form .form-group.create-forgot a {
                    color: black;
                }

#calendar, .action-buttons {
    margin-top: 25px;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .action-buttons .col-md-4 {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

@media (max-width: 500px) {
    .action-buttons {
        align-items: center;
        flex-wrap: wrap;
        margin: 25px 0;
    }

        .action-buttons #TygodniowyCzas {
            order: -1;
            width: 100%;
            padding-bottom: 20px;
        }

            .action-buttons #TygodniowyCzas .col-md-4 {
                display: flex;
                justify-content: center;
            }

                .action-buttons #TygodniowyCzas .col-md-4 h2 {
                    margin: 0;
                }
}

.proj-index .title {
    margin: 20px 0;
}

.proj-index #myTable_wrapper {
    margin-top: 20px;
}

.works .title, .works-details .title {
    margin: 20px 0;
}

.works-details .dl-horizontal dt {
    text-align: left;
}

#myTable_wrapper {
    margin-top: 20px;
}

.create .form-control, .create button {
    border: 1px solid darkgray;
    border-radius: 0;
}

.edit .form-control, .edit button {
    border: 1px solid darkgray;
    border-radius: 0;
}

.edit input.btn-green {
    height: 5px;
}

input {
    font-size: 12px;
    height: 20px;
}

.rap-index h2, .rap-1 h2, .rap-2 h2, .rap-3 h2, rap-4 h2, rap-5 h2, rap-6 h2, .rap-sel h2 {
    margin: 20px 0;
}

.rap-index .control-label, .rap-sel .control-label, .rap-1 .control-label, .rap-2 .control-label, .rap-3 .control-label, rap-4 .control-label, rap-5 .control-label, rap-6 .control-label {
    margin-bottom: 0;
}

.rap-index .table-title, .rap-sel .rap-index .table-title, rap-1 .table-title, .rap-2 .table-title, .rap-3 .table-title, rap-4 .table-title, rap-5 .table-title, rap-6 .table-title {
    margin-top: 25px;
}

.rap-index .functional-buttons, .rap-sel .functional-buttons, .rap-1 .functional-buttons, .rap-2 .functional-buttons, .rap-3 .functional-buttons, rap-4 .functional-buttons, rap-5 .functional-buttons, rap-6 .functional-buttons {
    justify-content: flex-end !important;
    margin-top: 15px;
}

    .rap-index .functional-buttons input:first-of-type, .rap-sel .functional-buttons input:first-of-type, .rap-1 .functional-buttons input:first-of-type, .rap-2 .functional-buttons input:first-of-type, .rap-3 .functional-buttons input:first-of-type, rap-4 .functional-buttons input:first-of-type, rap-5 .functional-buttons input:first-of-type, rap-6 .functional-buttons input:first-of-type {
        margin-right: 15px;
    }

.rap-sel .back-to-list, .rap-index .back-to-list, .rap-1 .back-to-list, .rap-2 .back-to-list, .rap-3 .back-to-list, rap-4 .back-to-list, rap-5 .back-to-list, rap-6 .back-to-list {
    float: right;
}

.rap-1 .form-date .form-group:last-of-type {
    justify-content: flex-end;
}

.rap-sel .form-group, .rap-1 .form-group, .rap-2 .form-group, .rap-3 .form-group {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .rap-sel .form-group .control-label, .rap-1 .form-group .control-label, .rap-2 .form-group .control-label, .rap-3 .form-group .control-label {
        padding-right: 20px;
    }

    .rap-sel .form-group:last-child, .rap-1 .form-group:last-child, .rap-2 .form-group:last-child, .rap-3 .form-group:last-child {
        justify-content: flex-end;
    }

.rap-sel .form-date .form-group, .rap-1 .form-date .form-group, .rap-2 .form-date .form-group, .rap-3 .form-date .form-group {
    flex-wrap: wrap;
    margin-bottom: 0;
}

    .rap-sel .form-date .form-group .date, .rap-1 .form-date .form-group .date, .rap-2 .form-date .form-group .date, .rap-3 .form-date .form-group .date {
        display: inline-flex;
        align-items: center;
        margin-bottom: 15px;
    }

        .rap-sel .form-date .form-group .date .control-label, .rap-1 .form-date .form-group .date .control-label, .rap-2 .form-date .form-group .date .control-label, .rap-3 .form-date .form-group .date .control-label {
            width: 60px;
            margin: 0;
            padding-right: 10px;
        }

@media only screen and (max-width: 991px) and (min-width: 600px) {
    .col-md-5 {
        width: 60%;
    }
}

.new-task .form-control, .new-task button, .new-task-fantom .form-control, .new-task-fantom button, .new-task-machine .form-control, .new-task-machine button {
    border: 1px solid darkgray;
    border-radius: 0;
}

.create-qr h2 {
    margin-bottom: 20px;
}

.create-qr .form-control, .create-qr button {
    border: 1px solid darkgray;
    border-radius: 0;
}

.create-qr .btn-green {
    height: 30px;
}

.my-list h2 {
    margin-bottom: 20px;
}

.my-list .form-control, .my-list button {
    border: 1px solid darkgray;
    border-radius: 0;
}

.my-list .btn-green {
    height: 30px;
}

.infoKalendarz {
    min-height: 20px;
    text-align: center;
}

.clock {
    font-family: inherit;
    font-size: 30px;
    line-height: 1.1;
    color: inherit;
    margin-top: 10px;
    margin-bottom: 10px;
}

.panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
    content: "\e080"; /* adjust as needed, taken from bootstrap.css */
    float: right; /* adjust as needed */
    color: grey; /* adjust as needed */
}

.panel-heading.collapsed .accordion-toggle:after {
    /* symbol for "collapsed" panels */
    content: "\e114"; /* adjust as needed, taken from bootstrap.css */
}

.panel-selectfilter {
}

.custab {
    border: 1px solid #ccc;
    padding: 5px;
    margin: 5% 0;
    box-shadow: 3px 3px 2px #ccc;
    transition: 0.5s;
}

    .custab:hover {
        box-shadow: 3px 3px 0px transparent;
        transition: 0.5s;
    }

.dropdownList {
    display: inline-block;
    width: 80%;
}

.newDropdonwList {
    display: flex;
}

    .newDropdonwList .dropdownList {
        flex: 1;
    }

        .newDropdonwList .dropdownList .chosen-container {
            width: 100% !important;
        }

            .newDropdonwList .dropdownList .chosen-container .chosen-choices {
                height: 30px;
            }
