﻿.sticky-header th {
    position: sticky;
    top: 0;
    background-color: #f5f5f5;
    background-image: linear-gradient(#fafafa, #ededed);
    z-index:1000;
}


/* spinner base */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f3f3f3;
    z-index: 999999;
}

.btn-primary.active.switch-button {
    color: #4d5258 ;
    background-color: #f5f5f5;
    border-color:#bbb;
    }

/* spinner */
.loader_html {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
    border-width: 1px;
    border-style: solid;
    border-right-color: rgba(0, 0, 0, 0) !important;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0);
}

.loader_text {
    position: fixed;
    top: 50%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    font-size: 12px;
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
}

.meddelande-padding-bottom {
   padding-bottom: 10px;
}

.meddelande-padding {
 padding-left: 0px;
}

.meddelande-padding-aktiv{
    padding-left: 2px;

}

.center {
    margin: auto;
    width: 50%;
    padding: 10px;
}
/* make it look like the rest of the top bar*/
.company select {
    background-color: #222;
    color: #fff;
    border: 0;
}

/* fix for ui-router https://github.com/angular-ui/ui-router/issues/570 */
.dropdown-toggle:hover {
    cursor: pointer;
}


.compact .page-container {
    padding-top: 0;
}


.puplus-hide {
    visibility: hidden;
    height: 0;
    width: 0;
    position: absolute;
}
/*
.padding-top {
    padding-top:25px
}
*/

.col-md-12.view {
    padding-top: 20px;
}

.fakehide {
    visibility: hidden;
}





.view h3 img {
    vertical-align: sub;
}

.dropdown-menu li a img {
    padding-right: 5px;
}




.pu-logo {
    width: 50px;
    height: 50px;
    float: right;
    margin: 5px;
}


.well.filter {
    padding-top: 5px;
    padding-bottom: 5px;
}




.text-white {
    color: #fff;
}

.selected {
    background: #f4f7e6;
}







p.small {
    font-size: 12px;
}



@media (min-width: 1023px) {
    /* hide cookie banner, that we use to show message to mobile users instead */
    .cc_banner-wrapper {
        display: none;
    }
}





.summery .col-md-3, .summery .col-sm-4, .summery .col-xs-6 {
    font-size: 11px;
    padding-left: 15px;
    padding-right: 5px;
}

@media (min-width: 768px) {




    .summery .col-md-3, .summery .col-sm-4, .summery .col-xs-6 {
        padding-left: 15px;
        padding-right: 15px;
    }


    .summery + .row {
        margin-left: -20px;
        margin-right: -10px;
        margin-top: 10px;
    }
}





.btn-refresh, .btn-refresh:hover, .btn-refresh.disabled, .btn[disabled].btn-refresh {
    background-image: url(/app/_images/PU/refresh.png) !important;
}

.btn-save, .btn-save:hover, .btn-save.disabled, .btn[disabled].btn-save {
    background-image: url(/app/_images/PU/check.png) !important;
}

.btn-document, .btn-document:hover, .btn-document.disabled, .btn[disabled].btn-document {
    background-image: url(/app/_images/PU/Icons/document_add.png) !important;
}

.btn-attach, .btn-attach:hover, .btn-attach.disabled, .btn[disabled].btn-attach {
    background-image: url(/app/_images/PU/Icons/disk_blue_add.png) !important;
}

.btn-save-file, .btn-save-file:hover, .btn-save-file.disabled, .btn-save-file[disabled] {
    background-image: url(/app/_images//PU/Icons/disk_blue_ok.png) !important;
}

.btn-download, .btn-download:hover, .btn-download.disabled, .btn[disabled].btn-download {
    background-image: url(/app/_images/PU/Icons/import1.png) !important;
}

.btn-delete, .btn-delete:hover, .btn-delete.disabled, .btn[disabled].btn-delete {
    background-image: url(/app/_images/PU/delete2.png) !important;
}

.btn-person, .btn-person:hover, .btn-person.disabled, .btn[disabled].btn-person {
    background-image: url(/app/_images/PU/Icons/photo_portrait.png) !important;
}

.btn-disk, .btn-disk:hover, .btn-disk.disabled, .btn.disabled.btn-disk, .btn[disabled].btn.btn-disk {
    background-image: url(/app/_images/PU/Icons/disk_blue.png) !important;
}

.btn-form, .btn-form:hover, .btn-form.disabled, .btn.disabled.btn-form, .btn[disabled].btn.btn-form {
    background-image: url(/app/_images/PU/Icons/form_green_edit.png) !important;
}

.btn-info, .btn-info:hover, .btn-info.disabled, .btn[disabled].btn-info {
    background-image: url(/app/_images/PU/information2.png) !important;
}

.btn-add {
    background-image: url(/app/_images/PU/Icons/add.png) !important;
}

.btn-add2 {
    background-image: url(/app/_images/PU/Icons/add2.png) !important;
}


.modal-footer > .btn.btn-disk {
    padding-left: 25px !important;
}

.modal-footer > .btn.btn-confirm {
    padding-left: 25px !important;
}



.clickable.collapsed {
    background: transparent;
}

.clickable {
    background: #f4f7e6;
}



.dropdown-menu .btn-info {
    background-image: none !important;
}


.checkbox-green {
    background-image: url(/app/_images/PU/check2.png) !important;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    display: block;
    height: 16px;
    width: 16px;
    margin: 0 auto;
}






.bodycontainer {
    max-height: 500px;
    width: 100%;
    margin: 0;
    overflow-y: auto;
    margin-bottom: 5px;
}

    .bodycontainer.small {
        max-height: 200px;
    }

        .bodycontainer.small tr:hover {
            cursor: pointer;
        }

.table-scrollable {
    margin: 0;
    padding: 0;
}

.row-no-padding [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.form-horizontal .control-label.label-left {
    text-align: left !important;
}




.btn-img {
    background-repeat: no-repeat;
    padding-left: 25px;
    background-size: 16px 16px;
    background-position: 4px;
}

    .btn-img.info {
        /*padding-left: 15px;*/
        height: 16px;
        width: 16px;
        padding: 10px 12px 10px 11px;
    }



.glyphicon-refresh-animate {
    -animation: spin 1.5s infinite linear;
    -webkit-animation: spin2 1.5s infinite linear;
}


.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #eaeaea;
}




@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}


.input-inline {
    display: inline;
}

/* use a good ol' table as design to make it work */
.table-bordered.table-layout, .table-bordered.table-layout > tbody > tr > td {
    border: none;
}

/* margins */
.ml5 {
    margin-left: 5px;
}

.ml10 {
    margin-left: 10px;
}

.ml20 {
    margin-left: 20px;
}

.mr5 {
    margin-right: 5px;
}

.mr10 {
    margin-right: 10px;
}

.mr20 {
    margin-right: 20px;
}

.mt5 {
    margin-top: 5px;
}

.mb0 {
    margin-bottom: 0;
}

.mb5 {
    margin-bottom: 5px;
}



/* min-width */

.mw40 {
    min-width: 40px;
}

.mw50 {
    min-width: 50px;
}

.mw60 {
    min-width: 60px;
}

.mw68 {
    min-width: 68px;
}

.mw85 {
    min-width: 85px;
}

.mw80 {
    min-width: 80px;
}

.mw100 {
    min-width: 100px;
}

.mw105 {
    min-width: 105px;
}

.mw120 {
    min-width: 120px;
}

.mw114 {
    max-width: 114px;
}

.mw150 {
    min-width: 150px;
}

.mw200 {
    min-width: 200px;
}

.mw300 {
    min-width: 300px;
}


/* max-width */

.mxw30 {
    max-width: 30px;
}

.mxw50 {
    max-width: 50px;
}

.mxw60 {
    max-width: 60px;
}

.mxw72 {
    max-width: 72px;
}

.mxw80 {
    max-width: 80px;
}

.mxw98 {
    max-width: 98px;
}

.mxw100 {
    max-width: 100px;
}

.mxw150 {
    max-width: 150px;
}



/* width */

.w40 {
    width: 40px;
}

.w50 {
    width: 50px;
}

.w60 {
    width: 60px !important;
}

.w70 {
    width: 70px !important;
}


.w80 {
    width: 80px;
}

.w88 {
    width: 88px;
}

.w90 {
    width: 90px;
}

.w120 {
    width: 120px;
}

.w250 {
    width: 250px;
}

.w300 {
    width: 300px;
}






.block {
    display: block;
}

.inline {
    display: inline;
}


.w45 {
    width: 45px !important;
}

.w47 {
    width: 47px !important;
}

.w51 {
    width: 51px !important;
}

.w52 {
    width: 52px !important;
}

.w54 {
    width: 54px !important;
}

.w57 {
    width: 57px !important;
}

.w58 {
    width: 58px !important;
}

.w59 {
    width: 59px !important;
}

.w61 {
    width: 61px !important;
}

.w62 {
    width: 62px !important;
}

.w63 {
    width: 63px !important;
}

.w64 {
    width: 64px !important;
}

.w65 {
    width: 65px !important;
}

.w67 {
    width: 67px !important;
}

.w68 {
    width: 68px !important;
}














.font-semi-bold {
    font-weight: 600;
}




/* hide "clear" button on DatePicker */
.dropdown-menu .btn-group > .btn-danger {
    display: none;
}



/* table sort */
.sortorder:after {
    content: '\25b2';
}

.sortorder.reverse:after {
    content: '\25bc';
}

.table {
    margin-bottom: 15px;
}


.table-nowrap td, .no-wrap {
    white-space: nowrap;
}


.time-report-header, .wage-type-header {
    margin-bottom: 0;
}


.time-report td.text-right, .wage-type td.text-right {
    padding-right: 20px;
}

.time-report, .wage-type {
    margin-left: 15px;
}

/* remove bold border in Attest  */
.table > tbody + tbody {
    border-color: transparent;
}

.table-scroll {
    max-height: 120px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.table-scroll-large {
    max-height: 215px;
    /*overflow-x: hidden;*/
    overflow-y: scroll;
}

.table-no-lines tbody > tr > td {
    border-color: transparent;
}

table.table-less-padding > tbody > tr > td {
    padding: 1px 2px 1px;
}




/* fix for ui-selectes sizing issue when selected */
.ui-select-bootstrap > .form-control {
    width: 100% !important;
}


hr.separator {
    margin-top: 10px;
    margin-bottom: 10px;
}



.datepicker {
    max-width: 80px;
}

    .datepicker.full-width {
        max-width: none;
        min-width: 114px;
    }

.toggle-table-open {

background-color: #f4f7e6;
}


/*
.filter .form-group {
    margin-bottom:10px;
}
*/

/* Make datepicker intervals more clear */
.text-muted {
    color: #c7c7c7;
}


.dropdown-menu .btn-default[disabled] {
    background-color: #f5bdbd;
}







/* Make default input with values easier to read */
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    color: #333;
}







/* restore tabs to sveaskog */

.nav-tabs {
    border-bottom: 1px solid transparent;
    text-align: left;
}

    .nav-tabs > li {
        float: none;
        display: inline-block;
        margin-bottom: -1px !important;
    }

        .nav-tabs > li > a {
            margin-right: 2px;
            line-height: 1.42857;
            border: 1px solid transparent;
            border-radius: 4px 4px 0 0;
            padding-bottom: 10px;
            padding-top: 10px;
            font-size: 12px;
        }



            .nav-tabs > li > a:hover {
                border-color: #eeeeee #eeeeee transparent;
            }

        .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
            color: #555555;
            background-color: #fff;
            border: 1px solid #ddd;
            border-bottom-color: transparent;
            cursor: default;
            padding-top: 10px;
        }


        .nav-tabs > li > a:active, .nav-tabs > li > a:focus, .nav-tabs > li > a:hover {
            background: #d6d6d6;
            color: #4d5258;
            border-color: transparent;
        }





/* Attest input error states */
.form-control.ng-invalid-datetime {
    border-color: #c00;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    background: #f16f6f;
}

.form-control.ng-invalid-error {
    border-color: #c00;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    background: #f16f6f;
}
.form-control.ng-invalid-warning {
    border-color: #e5e520;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    background: #ffffaa;
}

    .form-control.ng-invalid-datetime:focus {
        border-color: #900;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f33;
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f33;
    }


/*#UCTid .ng-valid-parse {
    border-color: #900;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f33;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f33;
}

#UCTid .ng-valid-datetime, #UCTid select.ng-valid-parse {
   border: 1px solid #bbb;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}*/

#UCTid .ng-invalid-parse {
    border-color: #900;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f33;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #f33;
}

#UCTid .ng-invalid-datetime, #UCTid select.ng-invalid-parse {
    border: 1px solid #bbb;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}



/* Attest Child window footer placement */
#AttestChildWindowNew .modal-footer {
    margin-top: 0;
    padding-top: 0;
}










@media (min-width: 992px) {
    .modal-xl {
        /*width: 1800px;*/
        width: 96%;
    }

    .modal-xxl .modal-dialog {
        /*min-width: 1800px;*/
        min-width: 96%;
    }

    .modal-xsm .modal-dialog {
        min-width: 300px;
    }

    .nav-tabs > li > a {
        width: 180px;
    }

    .nav-tabs.tabs-larger > li > a {
        width: 240px;
    }
}




@media screen and (max-width: 767px) {




    .company {
        float: none !important;
    }


        .company select {
            width: 115px;
        }

    /* too close to input fields */
    .btn-refresh, .btn-save, .btn-new-expand, .btn-default {
        margin-top: 10px;
    }

    .btn-datepicker, .btn-delete, .btn-download, .btn-info, .btn-person, .btn-disk {
        margin-top: 0;
    }

    .break-float {
        float: none !important;
    }



    /* restore to full width */
    .mxw50, .mxw150, .filter .datepicker {
        max-width: inherit;
    }


    input[type="text"], input[type="email"], input[type="search"], input[type="password"] {
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    /* Tjänster */
    #admin .col-md-5, #dokument .col-md-3, #dokument .col-md-2 {
        margin-top: 0;
    }


    #attest .modal div.col-xs-6 {
        margin-top: 0 !important;
    }
}

/* Fix wierd menu behaviour */

.compact .hiderule1100, .compact .hiderule1400 {
    display: block;
}

@media screen and (max-width: 860px) {
    .compact .hiderule1100 {
        display: none;
    }

    /* responsive fix for period picker. pull-right makes it miss-placed */
    .period-picker {
        float: none !important;
    }
}

@media (max-width: 1200px) {
    .compact .hiderule1400 {
        display: none;
    }
}

/* End fix */





