﻿

/** iOS 7 theme */

/** Blue color color:#490826; */

/* border rgba(158,158,158,255) */

@font-face {
    font-family: 'ubuntuHavdur';
    src: url('Fontfabric\ -\ UniNeueRegular.ttf') format('truetype'); 
  }

#afui {
    /*     font-family:'HelveticaNeue', 'Helvetica Neue',Helvetica, Arial, sans-serif;*/
        font-family: 'ubuntuHavdur';
    }
    
    #afui .disabled {
        opacity: 0.2;
    }
    
    /* #afui #header {
        background:rgba(249,249,249,1);
        color:inherit;
        border:none;
        border-bottom:1px solid rgba(158,158,158,255);
    }
     */
    #afui .stickBelowHeader {
        position: sticky;
        color: inherit;
        border: none;
        top: 50px !important;
    }
    
    #afui #header h1 {
        color:inherit;
        text-shadow:none;
    }
    
    #afui  header {
        background:#FAFAFA;
        color:inherit;
        border:none;
        border-bottom:0px solid #F8F7F7;
    }
    
    #afui header h1 {
        color:inherit;
        text-shadow:none;
    }
    
    #afui #content {
        top: 0 !important;
        bottom: 0 !important;
    }
    #afui .panel {
    /*    background:rgba(238,238,238,255);*/
        background: #FAFAFA;
        padding: 0px;
        border-radius: 0px;
    }
    #afui .panel h2 { color:inherit;}
    
    #afui #navbar {
        background:#F8F7F7;
        color: #333333;
        border-top:0px solid rgba(158,158,158,255);
    }
    
    #afui #navbar a {
        color:#F8F7F7;
    }
    
    #afui #navbar a.pressed {
        border-radius:0;    
        background:transparent;
    }

    #afui #menubadge:after {
        border-color: #490826;
    }
    
    #afui .list {
        font-weight:normal;
        background: #FAFAFA;
        border: none;
        margin: 0px;
        color: #333333;
    }
    
    #afui > #menu {
        border-right:none;
        background:#F8F7F7;
        color:#333333;
    }
    
    #afui #menu .list li,#afui #menu .list .divider,#afui #menu .list li:first-child,#afui #menu .list li:last-child {
        border-color:#F8F7F7;
        font-weight:normal;
        box-shadow:none;
    }
    
    #afui #menu .list .divider {
        background: @bodyBG;
        border: none;
        color:inherit;
        font-size: 10px;
        border-bottom:0px solid #F8F7F7;
        color:#333333;
    }

    #afui .list .divider {
        /*    background-color: #96D3B3;*/
        /*    color: #E8742C;*/
        /*    color: #E8742C;*/
        /*    color: #EE746D;*/

        color: #FAFAFA;
        background-color: #490826;
        text-transform: uppercase;
        font-size: x-small;
    }

    #afui .list .dividerregtype {
        color: #FAFAFA;
        background-color: #490826;
        text-transform: uppercase;
        font-size: small;
        text-align: center;
    }

    #afui .list .divideractiveitem {
        background-color: #490826;
        color: #FAFAFA;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }
    
    #afui #menu .list a {
        color:#333333;
    }
    
    #afui #menu .list {
        background:#FAFAFA;
        font-weight: normal;
        color:#333333;
    }

    #afui .list li  {
        border-color: #EDEDED;
        padding: 20px 40px 20px 40px;
        /* border-bottom: none !important; */
    }

    #afui #menu_navbar_ul.list li {
        padding: 18.5px 40px 19px 40px;
    }

    #afui #menu_profile_ul.list li {
        padding: 18.5px 40px 19px 40px;
    }

    #afui .list li.amscollapsed {
        /* border:none !important; */
    }
    
    #afui .list li.info  {
        border-width: 0px;
    }
    
    #afui .list > li > a {
        color: #333333;
        position: relative;
        display: block;
        color: inherit;
        margin: 0px !important;
        text-decoration: none;
        padding: 0px !important;
    }

        #afui .list > li > a:after {
            color: #490826;
        }
/*     
    #afui .list > li > span {
        color: #333333;
        position: relative;
        display: inline;
        color: inherit;
        margin: 0px !important;
        text-decoration: none;
        padding: 0px !important;
    } */

    .grid-container {
        display: grid;
        grid-template-columns: auto auto;
      }
      .grid-item-left {
        padding: 0px;
        text-align: left;
      }
      .grid-item-right {
        padding: 0px;
        text-align: right;
      }

/* #afui .list > li > a {
        color: #333333;
        left: 5%;
    }
    
    #afui .list > li > a:after {
        color: #490826;
        right: 10%;
    } */
    
    #afui .singleSelect > li > a:after{
        display: none;
    }
    
    #afui .button {
        background-color:transparent;
    }

#afui #backButton {
    color: #490826;
    display: block;
    position: absolute;
    line-height: 44px;
    left: 25px;
    text-overflow: ellipsis;
    font-size: 14px;
    padding: none;
    text-shadow: none;
    background-color: transparent;
    border: none;
    border-color: none;
    height: 44px;
    top: 0;
    border-radius: none;
    box-shadow: none;
    margin: 0;
    padding-left: 0;
    text-align: center;
    width: 50px;
    padding: 0 !important;
    margin: 0 !important;
}
    
    #afui #backButton::before {
        z-index: -1;
        font-size:22px;
        position: absolute;
        top: 10px;
        left: -20px;
        text-align: center;
        border-radius: none;
        border: none;
        border-color: none;
        box-shadow: none;
        -webkit-transform: none;
        transform: none;
    
        font-family: 'chevron';
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        content: "\f054";
        -webkit-transform:rotate(180deg);
        transform:rotate(180deg);
        background-color: transparent;
        
    
    }
    
    #afui #backButton::after {
        content: '';
        width:0;
        height:0;
        border:none;
    }

#afui .button {
    box-shadow: none;
    border: none;
    color: #490826;
    text-shadow: none;
    border-radius: 6px;
}
    
    #afui .button i {
        height: 64px;
        width: 70px;
        font-size: 64px;
        color: #FAFAFA;
        opacity: 0.9;
    }

#afui .button-grouped * {
    border-right: 1px solid #490826;
    border-bottom: 1px solid #490826;
    border-top: 1px solid #490826;
}
#afui .button-grouped > .button:first-child {
    border-left: 1px solid #490826;
}
    #afui  .button-grouped >.button:last-child {
        
    }

#afui .button-grouped.vertical * {
    border-left: 1px solid #490826;
    border-right: 1px solid #490826;
    border-top: 1px solid #490826;
}

#afui .button-grouped.vertical > .button:first-child {
    border-left: 1px solid #490826;
}
#afui .button-grouped.vertical > .button:last-child {
    border-bottom: 1px solid #490826;
}

#afui .button-grouped .button.pressed {
    color: #FAFAFA;
    background: #490826;
}

body .afPopup {
    display: block;
    border: 1px solid #490826;
    padding: 0;
    text-align: center;
    position: absolute;
    z-index: 1000000;
    top: 50%;
    color: inherit;
    background: #FAFAFA;
    align: center;
}

.afPopup .button {
    border: none;
    width: 50%;
    margin: 0;
    border-radius: 0;
    background: transparent;
    border-top: 1px solid #EDEDED;
    color: #490826;
    padding: 12px 0;
}
    
    #afui .button.pressed {
        font-weight:bold;
    }
    
    
     .afPopup a:not(:first-of-type) {
    
        border-left:1px solid #EDEDED;
    }
    
    #af_actionsheet {
        background-color: #fafafa !important;
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 5px;
    }
    
    #af_actionsheet i.red {
        color:#EE746D;
        background-color:transparent;
    }
    
    #af_actionsheet a{
        line-height: 54px;
        font-size: 30px;
        margin-bottom: 5px;
    }
    
    #af_actionsheet .minimized a{
        line-height: 34px;
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    #af_actionsheet a.minimized{
        line-height: 34px;
        font-size: 20px;
        margin-bottom: 5px;
    }

        /*
    #af_actionsheet a:not(:last-of-type){
        border-bottom:1px solid #490826;
    }
    */
    
    #af_actionsheet .stop:before {
        font-family: FontAwesome;
        content: "\f04d";
        color: #EE746D;
        padding-right: 10px;
    }
    
    #af_actionsheet .start:before {
        font-family: FontAwesome;
        content: "\f04b";
        color: #8CC588;
        padding-right: 10px;
    }
    
    #af_actionsheet .pause:before {
        font-family: FontAwesome;
        content: "\f04c";
        color: #ed930b;
        padding-right: 10px;
    }
    
    #af_actionsheet .add:before {
        font-family: FontAwesome;
        content: "\f067";
        color: #88B0C5;
        padding-right: 10px;
    }
    
    #af_actionsheet .edit:before {
        font-family: FontAwesome;
        content: "\f044";
        color: #88B0C5;
        padding-right: 10px;
    }

        #af_actionsheet .timereduction:before {
            font-family: FontAwesome;
            content: "\f0f5";
            color: #490826;
            padding-right: 10px;
        }
    
    #af_actionsheet .delete:before {
        font-family: FontAwesome;
        content: "\f014";
        color: #EE746D;
        padding-right: 10px;
    }

        #af_actionsheet .details:before {
            font-family: FontAwesome;
            content: "\f002";
            color: #490826;
            padding-right: 10px;
        }
    
    #af_actionsheet .timereduction.hastimereduction:after {
        font-family: FontAwesome;
        content: "\f00c";
        color: #8CC588;
        position: absolute;
        right: 5px;
    }
    
    .action-sheet-button {
        margin: 5px;
        padding: 10px;
        border: 0px dotted #8CC588;
        background-color: #FAFAFA;
    }
    
    #template_actionsheetelement_div:hover {
        background-color: #E3E3E3;
    }

span.timereduction:before {
    font-family: FontAwesome;
    content: "\f0f5";
    color: #490826;
    padding-right: 10px;
}
    span.timereduction.hastimereduction:after {
        font-family: FontAwesome;
        content: "\f00c";
        color: #8CC588;
        position: absolute;
        right: 5px;
    }
    
    #af_actionsheet .logout:before {
        font-family: FontAwesome;
        content: "\f08b";
        color: #EE746D;
        padding-right: 10px;
    }
    
    #af_actionsheet .equipment:before {
        font-family: FontAwesome;
        content: "\f0d1";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .refresh:before {
        font-family: FontAwesome;
        content: "\f021";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .synchronize:before {
        font-family: FontAwesome;
        content: "\f0ee";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .synchronize:after {
        font-family: FontAwesome;
        content: "\f12a";
        color: #EE746D;
        padding-left: 10px;
    }
    
    #af_actionsheet .dayplan:before {
        font-family: FontAwesome;
        content: "\f274";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .menugroup:before {
        font-family: FontAwesome;
        content: "\f0ca";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .myprojects:before {
        font-family: FontAwesome;
        content: "\f03a";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .changepassword:before {
        font-family: FontAwesome;
        content: "\f084";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .changescreenorientation:before {
        font-family: FontAwesome;
        content: "\f01e";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .searchplus:before {
        font-family: FontAwesome;
        content: "\f00e";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet .balance:before {
        font-family: FontAwesome;
        content: "\f24e";
        color: #333333;
        padding-right: 10px;
    }
    
    #af_actionsheet a.hidden {
        display: none;
    }
    
    #af_actionsheet .blue {
        background-color: #88B0C5;
    }
    
    #af_actionsheet .yellow {
        background-color:#F7AB6B;
    }
    
    #af_actionsheet .red {
        background-color:#EE746D;
    }
    
    #af_actionsheet .green {
        background-color: #8CC588;
    }
    
    #af_actionsheet .orange {
        background-color: #FF8000;
    }

#afui #navbar a.pressed, #navbar .icon.pressed:before {
    color: #490826;
}
    
    #afui footer .saveandsend:before {
        font-family: FontAwesome;
        content: "\f00c";
        color: #8CC588;
        padding-right: 5px;
    }
    
    #afui .button.previous {
    
        border:none;
    }
    #afui .button.next {
        border:none;   
    }


#afui .button.previous::after {
    color: #490826;
    z-index: -1;
    font-size: 22px;
    position: absolute;
    top: 2px;
    left: -25px;
    text-align: center;
    border-radius: none;
    border: none;
    border-color: none;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    font-family: 'chevron';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f054";
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background-color: transparent;
}
#afui .button.next::after {
    color: #490826;
    z-index: -1;
    font-size: 22px;
    position: absolute;
    top: 6px;
    right: -25px;
    text-align: center;
    border-radius: none;
    border: none;
    border-color: none;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    font-family: 'chevron';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f054";
    background-color: transparent;
}
    
    
    #afui .button.gray {
        color:#999;
        background-color:transparent;
    }
    
    #afui .button.yellow {
        color:#F7AB6B;
        background-color:transparent;
    }
    
    #afui .button.red {
        color:#EE746D;
        background-color:transparent;
        
    }
    
    #afui .button.green {
        color:#8CC588;
        background-color:transparent;
    }
    
    #afui .button.orange {
        color:#FF8000;
        background-color:transparent;
    }
    
    #afui .button.#333333 {
        color:#333333;
        background-color:transparent;
    }
    
    #afui .button.slate {
        color:#333333;
        background-color:transparent;    
    }
    
    #afui .af-badge {
        border:none;
        box-shadow:none;
        font-size:12px;
    }
    
    
    
    
    
    
    
    
    /** Miscellaneous */

.ui-loader {
    background: #490826;
    color: #fff;
}
    
    #afui #header .headerbutton {
        font-size: 20px;
        color: #333333;
    }
    
    #afui .homebutton {
        float: right;
    }


#afui #modules a {
    padding: 15px;
    display: inherit none;
    background: #490826;
    margin-right: 5px;
    width: 30%;
    min-width: 100px;
}
    /*
    #afui #modules a {
        padding: 8px;
        display: inherit none;
        background: #490826;
        margin-right: 10px;
    }
    */
    /*
    
    #afui #modules a i {
        font-size: 56px;
        width: 56px;
    }
    */
    
    #afui #modules a .af-badge  {
        margin: -10px;
    }

#afui hr {
    border: 0px solid #490826;
}
    
    #afui .list hr {
        border: 0px solid #333333;
    };
    
    #afui input.toggle + label {
        left: 0%;
        background: #fff;
    }
    
    #afui .nav {
        display: table;
        height: 43px;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 2px;
    }
    
    #afui .nav li {
        display: table-cell;
        height: 30px;
        width: 16.666666667%;
        line-height: 30px;
        text-align: center;
        background: transparent;
        border: 0px;
        border-radius: 6px;
        white-space: nowrap;
        font-size: small;
    }
    
    #afui .nav li img {
        margin-top: 3px;
    }
    
    #afui .nav li.selected {
        border-bottom: 0px solid #88B0C5;
    }

        #afui .nav li i {
            color: #490826;
            opacity: 0.2;
            position: relative;
            top: 3px;
        }
    
    #afui .nav li.selectedwizard i
    {
        opacity: 1;
    }
    
    #afui .nav li div
    {
        opacity: 0.2;
    }

        #afui .nav li.hamburger {
            -webkit-mask: url(../images/icons_d24/Ikon-hamburger.svg) center / 35px no-repeat;
            background-color: #490826;
            opacity: 0.2;
        }

        #afui .nav li.registrering {
            -webkit-mask: url(../images/icons_d24/Ikon-registrering.svg) center / 35px no-repeat;
            background-color: #490826;
            opacity: 0.2;
        }
    
    #afui .nav li.selectedwizard
    {
        opacity: 1;
    }

#afui footer a.svgicon.registrering {
    -webkit-mask: url(../images/icons_d24/Ikon-registrering.svg) center / 35px no-repeat;
    background-color: #490826;
    /* opacity: 0.2; */
}

#afui .nav li.selectedweek {
    background-color: #490826;
    color: #FAFAFA;
}
    
    #afui .nav li a {
        color: #333333;
        text-decoration: none;
    }
    
    #afui .navtimebook {
        display: table;
        height: 43px;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
        border-bottom: 1px solid #F8F7F7;
    }
    
    #afui .navtimebook li {
        display: table-cell;
        height: 30px;
        width: 16.666666667%;  
        line-height: 30px;
        text-align: center;
        background: transparent;
        border-bottom: 1px solid #F8F7F7;
        border-radius: 0px;
        white-space: nowrap;
        font-size: small;
    }
    
    #afui .navtimebook li img {
        margin-top: 3px;
    }

        #afui .navtimebook li.selected {
            background-color: #490826;
            color: #FAFAFA;
        }
    
    #afui .navtimebook li.show {
        display: table-cell;
    }
    
    #afui .navtimebook li.hide {
        display: none;
    }
    
    #afui .navtimebook li i
    {
    /*    color: grey;*/
    /*    color: #E8742C;*/
    /*    color: #96D3B3;*/
        color: #88B0C5;
    }
    
    #afui .navtimebook li a {
        color: #333333;
        text-decoration: none;
    }
    /*Eirik 01.12.15 v1.0.2.1 task 1969 - show exclamation if unconfirmed times/transports/additions/expenses */
    #afui .navtimebook li i.unconfirmed
    {
        color: #E2A27C;
        z-index: 9999;
        font-size:18px;
        
    }
    
    /* START Header */
    /*hide annoying backbutton that displays when loading new page*/
    #afui header .backButton
    {
        display: none;
    }
    
    #afui .navheader h1 {
        float: center;
        width: 50%;
        left: 25%;
        right: 25%;
    }
    
    #afui .navheader a {
    /*    align-content: center;*/
    /*    top: 36px;*/
    /*    height: 38px;*/
        line-height: 45px;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        color: #FAFAFA;
        margin-left: 5px;
    }
    
    #afui .navheader a.previous {
        width: 25%;
        height: 100%;
        float:left;
    }
    
    #afui .navheader a.confirm {
        width: 25%;
        height: inherit;
        float:right;
    }
    
    #afui .navheader a.icononly {
        font-size: 30px;
    }
    
    #afui .navheader a.pressed,.navheader .icon.pressed {
        color: inherit;
    }
    
    #afui .navheader a.green {
        color: #8CC588;
    }
        #afui .navheader a.blue {
            color: #490826;
        }
    #afui .navheader a.red {
        color: #EE746D;
    }
    #afui .navheader a.orange {
        color: #FF8000;
    }
    #afui .navheader a.lightblue {
        color: #88B0C5;
    }
    #afui .navheader a.dark {
        color: #333333;
    }
    #afui .navheader a.grey {
        color: #F8F7F7;
    }
    
    /* END Header */
    
    /* START Footer */

    #afui footer.dashboardfooter {
        background-color: #333333;
        border-top-color: #333333;
        height: 72px;
        border-radius: 30px 30px 0 0;
    }
    
    #afui footer.dashboardfooter i {
        color: #FAFAFA;
    }
    
    /* #afui footer.dashboardfooter a {
        margin-top: 20px;
    } */
    
    #afui footer.dashboardfooter a.svgicon.lastreg
    {
        -webkit-mask: url(../images/icons_d24/Ikon-aktiv.svg) center / 35px no-repeat;
        background-color: #FAFAFA;
        /* opacity: 0.2; */
    }
    
    #afui footer.customfooter {
    /*
        position: absolute;
        bottom: 0px;
    */
        background: #FAFAFA;
        height: 60px;
    }

        #afui footer.customfooter a {
            /*
        top: 6px;
        height: 38px;
    */
            line-height: 38px;
            font-size: 14px;
            font-weight: bold;
            color: #490826;
        }
    
    #afui footer.customfooter a.splitone {
        width: 100% !important;
    }
    
    #afui footer.customfooter a.splittwo {
        width: 50% !important;
    }
    
    #afui footer.customfooter a.splitthree {
        width: 33% !important;
    }
    
    #afui footer.customfooter a.splittfour {
        width: 25% !important;
    }
    
    #afui footer.customfooter a.icononly {
        font-size: 30px;
    }
    
    #afui footer.customfooter a.pressed,#navbar .icon.pressed {
        color: inherit;
    }
    
    #afui footer.customfooter a.green {
        color: #8CC588;
    }
            #afui footer.customfooter a.blue {
                color: #490826;
            }
    /* #afui footer.customfooter a.red {
        color: #EE746D;
    }
    #afui footer.customfooter a.orange {
        color: #FF8000;
    }
    #afui footer.customfooter a.confirm {
        color: #38A834;
    }
    #afui footer.customfooter a.calculate {
        color: #88B0C5;
    }
    #afui footer.customfooter a.lightblue {
        color: #88B0C5;
    }
    #afui footer.customfooter a.dark {
        color: #333333;
    } */
    /* END Footer */
    
    
    /* BEGIN active times */
#afui .list.activeitems > li.divideractiveitem {
    /*    background-color: #490826;*/
    /*    color:#FAFAFA;*/
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
    
    #afui .list.activeitems > li.activeitem
    {
    /*    background-color: #8CC588;*/
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        /* padding:  5px 0px 10px 0px; */
    }
    
    #afui .list.activeitems > li > input.time
    {
        width:4em; 
    }
    
    #afui .list.activeitems > li.activetitle {
        height: auto !important;
    }
    
    #afui .list.activeitems > li.activetitle.blue {
        background-color: #88B0C5 !important;
    }
    
    #afui .list.activeitems > li.activetitle.green {
        background-color: #8CC588 !important;
    }
    
    #afui .list.activeitems > li.activetitle.paused {
        background-color: #EE745D !important;
    }
    
    #afui .list.activeitems > li.activetitle.yellow {
        background-color: #F7AB6B !important;
    }
    
    #afui .list.activeitems > li.activetitle > table {
        width: 100%;
    }
    
    #afui .list.activeitems > li.info {
         
        text-align: center;
        font-size: 14px;
        /* padding: 20px 0px; */
        width: 100%;
        height: 100px;
        left: 0;
        right: 0;
    }
    
    #afui .list.activeitems > li.info > span {
        width: 100%;
        display: inline-block;
        text-align: center;
        font-size: 18px;
    }
    #afui .list.activeitems > li.info > strong {
        width: 100%;
        display: inline-block;
        text-align: center;
        font-size: 22px;
    }
    
    #afui .list.activeitems  > li.info > a {
        padding: 10px 10px 10px 20px;
    }
    
    #afui .list  > li > div.divactiveitem {
        height: 65px;
    }
    
    #afui td.tdclockactive {
        text-align: right;
    }
    
    #afui .list.activeitems  > li > div > a.stopactive {
        font-size: 55px;
        /* width: 25%; */
        /* float: right; */
        /* text-align: center; */
        color: #EE746D;
        position: absolute;
        top: 15px;
        right: 10px;
    }
    
    #afui .list.activeitems > li > a.confirm {
        color: #333333;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }
    
    #afui .list.activeitems > li > a.inactive:after {
        font-family: FontAwesome;
        content: "\f04b";
        color: #8CC588;
        
    }
    
    #afui .list.activeitems > li > a.confirm:after {
        font-family: FontAwesome;
        content: "\f00c";
        color: #8CC588;
    }
    
    #afui .list.activeitems > li.info > div > table {
        width: 100%;
    /*    white-space: nowrap;*/
        text-align: left;
        padding: 0px 0px 0px 5px;
    }
    #afui .list.activeitems > li.info > div > table > tbody > tr > td > strong {
        font-size: 20px;
    }
    #afui .list.activeitems > li.info > div > table > tbody > tr > td > span {
        font-size: 16px;
    }
    
    #afui .list.activeitems > li.info > .transportequipment.primary {
        font-size: 16px;
        font-weight: bold;
    }
    #afui .list.activeitems > li.info > .transportequipment {
        font-size: 16px;
    }
    
    #afui .list.activeitems > li.info > i.transportequipment {
        font-size: 30px;
    }
    
    /*END active times*/
#afui .list.quickreg .divideractiveitem {
    background-color: #490826;
    color: #FAFAFA;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
    
    #afui .list.quickreg .activeitem
    {
        width:100%; 
        text-align: center; 
        float:left; 
        font-size: 20px;
    }
    
    #afui .list.quickreg > li > input.time
    {
        width:4em; 
    }
    
    #afui .list.quickreg > li > a.stopactive {
        color: #333333;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
        background-color: #EE745D;
        margin: 0px -20px 0px -20px;
    /*
        border: solid;
        border-width: 1px;
    */
    }
    
    #afui .list.quickreg > li > a.confirm {
        color: #333333;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }
    
    #afui .list.quickreg > li > a.inactive:after {
        width: 20px;
        height: 20px;
        content: url("../images/icons_d24/Ikon-start.svg");
    }
    
    #afui .list.quickreg > li > a.active:after {
        font-family: FontAwesome;
        content: "\f04d";
        color: #EE746D;
        text-align: center;
    }
    
    #afui .list.quickreg > li > a.confirm:after {
        font-family: FontAwesome;
        content: "\f00c";
        color: #8CC588;
    }
    
    #afui .list > li.usetimereg > a:after {
        width: 20px;
        height: 20px;
        content: url("../images/icons_d24/Ikon-stemple.svg");
    }
    
    #afui .list > li.absence > a:after {
        width: 20px;
        height: 20px;
        content: url("../images/icons_d24/Ikon-fravaer.svg");
    }
/*     
    #afui .list > li.usestamp > a:after {
        font-family: FontAwesome;
        content: "\f04b";
    } */
    
    #afui .list > li.usestamp > a:after {
        width: 20px;
        height: 20px;
        content: url("../images/icons_d24/Ikon-start.svg");
    }
    
    #afui .list > li > a:after {
        right: 0px;
    }
    
    #afui .list > li.selected {
    /*    background-color: #62BC65 !important;*/
    }
    
    #afui .list > li.selected:after {
        float:right;
        font-family: FontAwesome;
        content:"\f00c";
        display:block;
        position:absolute;
        top:5px;right:14px;
        color: #8CC588 !important;
        font-size: 45px;
    }
    
    #afui .list > li.selected > a {
    /*    color: #333333 !important;*/
    }
    #afui .list > li.selected > a:after {
        content: '';
    }
    
    #afui .list > li.error {
        background-color: #EE746D !important;
    }
    
    #afui .list > li.error:after {
        
    }
    
    #afui .list > li.error > a {
        color: #333333 !important;
    }
    #afui .list > li.error > a:after {
        content: '';
    }
    
    #afui .list > li.selectedinselector {
    /*    background-color: #8CC588 !important;*/
    }
    
    #afui .list > li.selectedinselector:after {
        
    }
    
    #afui .list > li.selectedinselector > a {
        color: #333333 !important;
    }
    #afui .list > li.selectedinselector > a:after {
        content: '';
    }

    #afui .list > li.dynamicAssignmentAttribute {
        padding: 20px 0px 0px 20px;
    }

    /* Eirik 04.11.14 v1.0.0.19 */
    
    #afui i.delete
    {
        float: right;
    /*    width: 20%;*/
    }
    
    #afui .list > li > a.edit
    {
        width: 75%;
        
    }
    #afui .list > li > a.edit:after
    {
        content: ' ';
        
    }
    
    /* Travellog styles */
    
    
    #afui .list > li > strong.center
    {
        width: 100%;
        display: inline-block;
        text-align: center;
    }
    
    #afui .list > li > span.center
    {
        width: 100%;
        display: inline-block;
        text-align: center;
    }
    
    #afui .list > li.activeTransport {
        background-color: #8CC588;
    }
    
    #afui .list > li.confirmedTransport {
        background-color: #8CC588;
    }
    
    #afui .list > li.confirmedTime {
        background-color: #8CC588;
    }
    
    #afui .list > li.confirmedExpense {
        background-color: #8CC588;
    }
    
    #afui .list > li.confirmedAddition {
        background-color: #8CC588;
    }

#afui .list > li.selectedTransport {
    /*
        border: solid;
        border-color: #333333;
    */
    color: #FAFAFA;
    background-color: #490826;
}
    
    #afui .list > li > span.transporttype {
        font-weight: bold;
    }
    
    #afui .list > li > a.viewDetails {
        font-weight: bold;
        font-size: 14px;
    }
    
    #afui .list > li.selected > a.viewDetails:after {
        display: none; 
    }
    
    #afui .notexttransform
    {
        text-transform: none;
    }
    
    #afui .list > li.daydivider >  a.confirmlock {
        position: absolute;
        top: 28px;
        right: 70px;
        color: #8CC588;
    }
    
    #afui .list > li.daydivider.nodata {
        
    }
    
    #afui .myscroller {
        overflow: visible !important;
    }
    
    #afui .list > li.daydivider >  a.confirmlock:after {
        font-family: FontAwesome;
        content: "\f023";
        color: #8CC588;
    /*    color: #fafafa;*/
        font-size: 40px;
    }
    
    #afui .list > li.daydivider.selecteddivider >  a.confirmlock:after {
        font-family: FontAwesome;
        content: "\f023";
        color: #333333;
    /*    color: #fafafa;*/
        font-size: 40px;
    }
    
    #afui .list > li.daydivider >  i.confirmlock {
        font-family: FontAwesome;
        content: "\f023";
        color: #8CC588;
    /*    color: #fafafa;*/
        font-size: 40px;
    }
    
    #afui .list li.topdividermenu {
        color: #FAFAFA;
        text-transform: uppercase;
        font-size: small;
        position: relative;
        top: 0px;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 12px;
    /*    font-weight: bold;*/
        line-height: 18px;
        background-color: #EE745D;
        border-top: 0px solid #F8F7F7;
        border-bottom: 0px solid #F8F7F7;
        box-shadow: none;
        padding-right: 40px;
        text-align: right;
        min-height:30px;
    }

#afui .list li.dividercustom {
    color: #FAFAFA;
    text-transform: uppercase;
    font-size: small;
    position: relative;
    top: 0px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 12px;
    /*    font-weight: bold;*/
    line-height: 18px;
    background-color: #490826;
    border-top: 0px solid #F8F7F7;
    border-bottom: 1px solid #F8F7F7;
    box-shadow: none;
    padding-right: 60px;
    font-weight: bold;
}    
    
    #afui .list li.dividerconfirmlog > a.folder:after {
        color:#FAFAFA;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f07b";
    }
    
    #afui .list li.dividerconfirmlog.expanded > a.folder:after {
        color:#FAFAFA;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f07c";
    }
    
    #afui .list li.dividerconfirmlog > a.folder{
        color: #FAFAFA !important;
        position: absolute;
        top: 34px;
        right: 40px;
    }
    
    #afui .list li.dividerconfirmlog.projectdivider > a.folder{
        color: #FAFAFA !important;
        position: absolute;
        top: 29px;
        right: 40px;
    }

    #afui .list li.dividercustom.nodata {
        opacity: 0.2;
    }

#afui .list li.dividerblue {
    color: #FAFAFA;
    text-transform: uppercase;
    font-size: small;
    position: relative;
    top: 0px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 12px;
    /*    font-weight: bold;*/
    line-height: 18px;
    background-color: #490826;
    border-top: 0px solid #F8F7F7;
    border-bottom: 0px solid #F8F7F7;
    box-shadow: none;
    padding-right: 60px;
    font-weight: bold;
}
    
    #afui .list li.dividerlightgreen {
        color: #333333;
        text-transform: uppercase;
        font-size: small;
        position: relative;
        top: 0px;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 12px;
    /*    font-weight: bold;*/
        line-height: 18px;
        background-color: #8CC588;
        border-top: 0px solid #F8F7F7;
        border-bottom: 0px solid #F8F7F7;
        box-shadow: none;
        padding-right: 60px;
    }
    
    #afui .list li.divideryellow {
        color: #333333;
        text-transform: uppercase;
        font-size: small;
        position: relative;
        top: 0px;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 12px;
    /*    font-weight: bold;*/
        line-height: 18px;
        background-color: #F7AB6B;
        border-top: 0px solid #F8F7F7;
        border-bottom: 0px solid #F8F7F7;
        box-shadow: none;
        padding-right: 60px;
    }
    
    #afui .list li.dividergrey {
        color: #333333;
        text-transform: uppercase;
        font-size: small;
        position: relative;
        top: 0px;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 12px;
    /*    font-weight: bold;*/
        line-height: 18px;
        background-color: #C6C6C6;
        border-top: 0px solid #F8F7F7;
        border-bottom: 1px solid #F8F7F7;
        box-shadow: none;
        padding-right: 60px;
    }

#afui .list li.dividerlightgrey {
    color: #333333;
    text-transform: uppercase;
    font-size: small;
    position: relative;
    top: 0px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 12px;
    /*    font-weight: bold;*/
    line-height: 18px;
    background-color: #d3d3d3;
    border-top: 0px solid #F8F7F7;
    border-bottom: 1px solid #490826;
    box-shadow: none;
    padding-right: 60px;
}
    
    #afui .list li.dividerblack {
        color: #FAFAFA;
        text-transform: uppercase;
        font-size: small;
        position: relative;
        top: 0px;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 12px;
    /*    font-weight: bold;*/
        line-height: 18px;
        background-color: #333333;
        border-top: 0px solid #F8F7F7;
        border-bottom: 0px solid #F8F7F7;
        box-shadow: none;
        padding-right: 60px;
    }
    
    #afui .list li.timeregtype.expanded {
    /*    display: block !important;*/
    }
    
    #afui .list li.timeregtype.collapsed {
        display: none !important;
    }
    
    #afui .list li.dashboardlistgroup > a:after {
        color:#333333;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f07b";
    }
    
    #afui .list li.dashboardlistgroup.expanded > a:after {
        color:#333333;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f07c";
    }
    
    #afui .list li.dashboardlistgroup {
    /*    text-transform: uppercase;*/
    /*    font-size: small;*/
    /*    position: relative;*/
    /*    top: -1px;*/
    /*    padding-top: 6px;*/
    /*    padding-bottom: 6px;*/
        color: #333333;
        background-color: #EDEDED;
        border-bottom: 0px solid #FAFAFA;
    }
    
    #afui .list li.dashboardlistgroup > a{
        color: #333333 !important;
    }
    
    #afui .list li.jobtask.collapsed {
        display: none !important;
    }
    
    #afui .list li.transporttype.collapsed {
        display: none !important;
    }
    
    /* END TRAVELLOG */
    
    /* TIMEBOOK STYLES */
    #afui .list > li.timebook 
    {
    /*    padding: 5px 10px 10px 10px;*/
    /*    font-weight: bold;*/
    }
    
    #afui .list > li.timebook > span
    {
        width: 100%;
        display: inline-block;
        text-align: left;
    }
    
    #afui .list > li.timebook > a 
    {
        color: #333333;
        font-weight: bold;
    }
    #afui .list > li.timebook > a:after 
    {
        content: none;
    }
    
    #afui .list > li.timebook.amsexpanded {
        background-color: #8CC588;
    }
    
    #afui .list > li > input.timeinput
    {
        width: 4em;
    }
    
    #afui .list > li > a.editdata.error
    {
        background: #EE745D;
    }
    
    #afui .list > li > a.edittime.expand
    {
        color: #333333;
        text-align: left;
        width: 25%;
        font-family: FontAwesome;
    /*    font-size: 22px;*/
        content: "\f0d8";
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 0;
        margin: 0;
    }
    
    #afui .list > li > i.edit
    {
        text-align: left;
        width: 25%;
        font-family: FontAwesome;
    /*    font-size: 22px;*/
        content: "\f0d8";
        padding: 0;
        margin: 0;
        
    }

#afui .list > li > i.blue {
    color: #490826;
}
    
    #afui .list > li > .expandicon {
        text-align: right;
        width: 25%;
    }
    
    #afui .list > li > i.expand
    {
        text-align: right;
        width: 25%;
        padding: 0;
        margin: 0;
    }
    
    #afui .list > li  i.green {
        color: #8CC588;
    }
    
    #afui .list > li > i.topleft
    {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 999999;
    }
    #afui .list > li > .topright
    {
        position: absolute;
        top: 10px;
        right: 40px;
        z-index: 999999;
    }
    
    #afui .list >  .topright
    {
        position: absolute;
        top: 10px;
        right: 40px;
        z-index: 999999;
    }
    
    
    #afui .list > li > a.edittime.expand:after
    {
        content: none;
    }
    
    #afui .list > li > a.edittime.collapse
    {
        color: #333333;
        text-align: left;
        width: 25%;
        font-family: FontAwesome;
    /*    font-size: 22px;*/
        content: "\f0d7";
    }
    
    #afui .list > li > a.edittime.collapse:after
    {
        content: none;
    }
    
    #afui .list > li > i.edittime.save
    {
    /*    position: absolute;*/
    /*    float: right;*/
        width: 100%;
        text-align: right;
    }
    
    #afui .list > li > i.edittime.edit
    {
        float: left;
        text-align: left;
        width: 25%;
    }
    #afui .list > li > i.edittime.delete
    {
        float: right;
        text-align: right;
        width: 25%;
    }
    #afui .list > li > i.edittime.topright.delete 
    {
        position: absolute;
        top: 10px;
        right: 40px;
    }
    
    #afui .list > li > i.edittime.red
    {
        color:#EE746D;
        background-color:transparent;
    }
#afui .list > li > i.edittime.blue {
    color: #490826;
}
#afui .list > li > a.edittime.blue {
    color: #490826;
}
    #afui .list > li > i.edittime.green
    {
        color: #8CC588;
    }
    
    /* END TIMEBOOK */
    
    
    #afui .list > li.nolink > a:after {
        content: none;
    }
    
    /*
    #afui .list > li.nolink.selected > a:after {
        color: #31859C;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f00c";
    }
    */
    
    #afui .list > li.selecteddivider
    {
        color: #333333 !important;
        background-color: #8CC588 !important;
    }


#afui .list > li.isParent > a:after {
    color: #490826;
    display: inherit;
    font-family: FontAwesome;
    font-size: 22px;
    content: "\f0d7";
}
    
    #afui .list > li.drilldownParent.notSelectable > a:after {
        color: #EE746D;
        font-family: FontAwesome;
        font-size: 12px;
        font-style: normal;
        content: "\f056";
        margin-right: 3px; 
        opacity: 0.2;
    }
    
    /*Eirik 21.08.17 v2.0.7.17 task 2815 - in project selector the user might select a parent, and then the drilldown icon should not be displayed */
    #afui .list > li.drilldownParent.selectable > a:after {
        color: #EE746D;
        font-family: FontAwesome;
        font-size: 12px;
        font-style: normal;
        content: "";
        margin-right: 3px;
    }
    
    #afui .list > li.isChild.notSelectable > a:after {
        color: #EE746D;
        font-family: FontAwesome;
        font-size: 12px;
        font-style: normal;
        content: "\f056";
        margin-right: 3px; 
        opacity: 0.2;
    }

#afui .list > li.drilldownParent {
    background-color: #490826;
    font-weight: bold;
    color: #FAFAFA;
}
    
    #afui .list > li.drilldownParent > a {
        font-weight: bold;
        color: #FAFAFA;
    }
    
    #afui .list > li.drilldownParent > a:after{
        color: #FAFAFA;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f0d8";
    }
    
    #afui .list > li:not(.divider).lastfive {
        background-color: #fafafa;
    }

        #afui .list > li:not(.divider).lastfive > a {
            color: #490826;
        }
    
    
    /* Search box */
    
    #afui div.searchlist {
        height: auto;
    /*    margin: 2 2 2 2;*/
    }
    
    #afui input.searchinput {
        outline: none;
        margin: 2px 2px;
    /*    width: 75%;*/
    }
    #afui a.searchbutton {
    /*    font-size: 50px;*/
        width: 20%;
    /*
        float: right;
        text-align: center;
    */
        color: #EE746D;
        border:1px solid #333333;
        float:right;
        margin: 2px 2px;
    }
    
    /*checkbox custom defined
    when checkbox in divider the check icon shows outside of box if font-size: 30px
    */
    /*
    #afui input[type="checkbox"]
    {
        display: block;
    }
    */
    
    #afui input[type="checkbox"] + label.amscheck {
    /*
        float: center !important;
        left: 50px;
        width: 100%;
        text-align: left;
    */
        width: 100%;
        padding-bottom: 20px;
        left: 25px;
    }
    #afui li.divider > input[type="checkbox"] + label.amscheck {
    /*
        float: center !important;
        left: 25px;
        width: 100%;
        text-align: left;
    */
        width: 100%;
        padding-bottom: 20px;
        left: 25px;
    }
    /*
    #afui li:not(.divider) > input[type="checkbox"] + label.amscheck:before {
        background-color: #fafafa;
        border: 1px solid #cacece;
        border-radius: 3px;
        display: block;
        position: absolute;
        top: 0px;
        left: -50px;
        width: 1.3em;
        height: 1.3em;
        font-size: 30px;
        content: " ";
    }
    */
    /*
    #afui li:not(.divider) > input[type="checkbox"]:checked + label.amscheck:before {
      content: '';
      padding: 0px;
      display: inline-block;
    }
    */
    /*
    #afui li:not(.divider) > input[type="checkbox"]:checked+label.amscheck:before {
    background: #33B5E5;
    }
    */
    
    /*
    #afui .list > li.drilldownParent.selected > a:after {
        color: #31859C;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f00c";
        opacity: 1.0;
    }
    */
    
    #afui .list > li.show {
        display: block;
        width: 100%;
    /*    -webkit-transform:rotate(360deg);*/
        -webkit-transition:  1s ease-in-out;
    }
    
    #afui .list > li.hide {
        display: none;
    /*    -webkit-transform:rotate(360deg);*/
        -webkit-transition:  1s ease-in-out;
    }
    
    /*Removing a li element from a list*/
    #afui .list > li.removed {
      
    /*    background-color: #FF6D83;*/
      -webkit-animation: disappear 1s;
      -webkit-animation-fill-mode: forwards; 
      animation: disappear 1s;
      animation-fill-mode: forwards;
    }
    
    
    @-webkit-keyframes disappear{
      
      50% {
        
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
      }
      
      100% {
        -webkit-transform: translateX(200%);
        transform: translateX(200%); 
      }    
    }
    
    @keyframes disappear{
      
      50% {
        
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
      }
      
      100% {
        -webkit-transform: translateX(200%);
        transform: translateX(200%); 
      }    
    }
    
    /*Removing a li element from a list*/
    #afui .sendtotimebook {
      
    /*    background-color: #FF6D83;*/
        -webkit-animation: movetotimebook 1s;  /* Chrome, Safari, Opera */
        -webkit-animation-iteration-count: 1;  /* Chrome, Safari, Opera */
        -webkit-animation-fill-mode: forwards;  /* Chrome, Safari, Opera */
      /* Standard syntax */
    /*
        animation-name: movetotimebook;
        animation-duration: 1s;
        animation-timing-function: linear;
        animation-delay: 0s;
        animation-play-state: running;
    */
    }
    
    /*CSS animation to show where active time and transport is sent*/
    @-webkit-keyframes movetotimebook {
      50% {
        
        -webkit-transform: translateX(-5%);
        transform: translateX(-5%);
      }
      
      100% {
        -webkit-transform: translateX(200%);
        transform: translateX(200%); 
      }  
    }
    
    #afui .highlighttimebook
    {
        -webkit-animation-name: dohighlighttimebook;
        -webkit-animation-duration: 2s;
        -webkit-animation-timing-function: linear;
        -webkit-animation-delay: 0s;
        -webkit-animation-fill-mode: forwards;
    /*    -webkit-animation-play-state: running;*/
        -webkit-animation-iteration-count: 1;  /* Chrome, Safari, Opera */
    }
    
    /*CSS animation to highlight the timebook og travellog where the time or transport was sent*/
    @-webkit-keyframes dohighlighttimebook {

        10% {
            background: #490826;
            color: #FAFAFA;
        }

        100% {
            background: #FAFAFA;
            color: #490826;
        } 
    }
    
    
    
    #afui .list > li.flip {
        background-color: #EE745D;
    /*    -webkit-transform:rotate(360deg);*/
        -webkit-transition:  0.5s ease-in;
    }
    
    #afui .list > li.flip > a {
        color: #FAFAFA;
        -webkit-transition:  0.1s ease-in-out;
    }
    
    #afui .list > li.flip > a.info:after {
        
        font-family: FontAwesome;
        content: "\f014";
        color: #FAFAFA;
        -webkit-transition:  0.1s ease-in-out;
    }
    
    #afui .list > li > a.deletehide {
        opacity: 1;
        color: #FAFAFA;
        display: none;
        -webkit-transition:  1s ease-in-out;
    }
    
    #afui .list > li.flip > a.deletehide {
        opacity: 1;
        color: #FAFAFA;
        display: block;
        -webkit-transition:  1s ease-in-out;
    }
    
    #afui .list > li > a.deletehide:after {
        font-family: FontAwesome;
        content: "\f056";
        color: #EE746D;
    }
    
    #afui .list > li.flip > a.deletehide {
        opacity: 1;
        display: block;
        -webkit-transition:  1s ease-in-out;
    }
    
    
    #afui .list > li.flipback {
        background-color: #FAFAFA;
    /*    -webkit-transform:rotate(360deg);*/
        -webkit-transition:  1s ease-in-out;
    }
    
    #afui .list > li.flipback > a {
        opacity: 1;
    /*    -webkit-transform:rotate(360deg);*/
        -webkit-transition:  1s ease-in-out;
    }
    
    /*
    #afui .list > li.level2 {
        width: 15px;
        height: 100%;
        border-style: none;
        background:rgba(238,238,238,255);
    }
    
    #afui .list > li.level2 > a {
        margin-left: 15px;
    }
    */
    
    /*
    #afui div.active {
        background: #FF8000;
        margin-top: 10px;
        margin-bottom: 5px;
        color: #000;
        height: 70px;
        padding: 10px;
        border-radius: 6px 6px 6px 6px;
        font-size: 10px;
        font-weight: bold;
    }
    
    #afui div.active .right {
        float: right;
        background: #EE746D;
        border-color: #EE746D;
        color: #fff;
    }
    
    #afui div.active.hidden {
        display: none;
    }
    */
    
    /* Font Awesome add-ons */
    
    .fa-2point5x {
      font-size: 2.5em;
    }
    
    /* End Font Awesome */

#afui small.versionnumber {
    color: #490826;
    margin: 5px;
    margin-top: 10px;
    position: fixed;
    right: 3px;
    top: -3px;
}
    
    #afui i.sliders
    {
        font-size: 10px !important; 
    }
    
    #afui .margin-left-5
    {
        margin-left: 5px;
    }
    
    /*Eirik 30.03.15 v1.0.0.39 - css for projectowner*/
    #afui  i.projectowner
    {
        color: #F7AB6B;
        z-index: 9999;
        font-size:22px;
        
        position:absolute;
        top:2px; right:2px;
        
    }

    #afui i.right
    {
        float: right;
    }

    #afui i.left
    {
        float: left;
    }
    
    /*Eirik 29.03.17 v2.0.7.1 task 2606 - show exclamation icon when not synched times exists. show on #dashboardfooter_footer_download */
    #afui i.notsynched
    {
        color: #333333;
        z-index: 9999;
        font-size:22px;
        
        position:absolute;
        /* top:2px;  */
    /*    right:2px;*/
    }

    #afui i.notsynched.hamburger {
        margin-left: 5px;
        color: #EE745D !important;
    }
    
    /* Eirik 19.05.15 v1.0.0.43 task 1787 - custom style to side menu */
#afui > #aside_menu,
#afui > #menu.tabletMenu {
    color: #FAFAFA;
    background: #490826;
    border-right: 0px solid #88B0C5;
}

#afui a.openmenubtn {
    padding-top: 5px;
    color: #490826;
}
    #afui a.openmenubtn > i
    {
        font-size: 30px;   
    }
    #afui a.openmenubtn > span
    {
        font-size: 20px;   
    }
    
    #afui nav.sidemenu
    {
        background: #FAFAFA;
    }
    
    
    #afui .list.sidemenu 
    {
        width: 100%;
        margin: 0px;
    }
    
    #afui .list.sidemenu > li.active
    {
        background-color: #8CC588 !important;
        
    }
    
    #afui .list.sidemenu > li.active > a
    {
        color: #333333 !important;
    }

        #afui .list.sidemenu > li > a {
            text-align: left;
            margin-left: 0px;
            padding: 20px 20px 20px 0px;
            color: #490826;
        }
    #afui .list.sidemenu > li > a.red
    {
        color:#EE746D;
    }
    #afui .list.sidemenu > li > a.#333333
    {
        color:#333333;
    }
    #afui .list.sidemenu > li > a.sidemenuheader
    {
        text-align: center !important;
        font-size: 20px;
    }
    #afui .list.sidemenu > li > a > i.i-2x
    {
        font-size: 30px;   
    }
    #afui .list.sidemenu > li > a > span.span-2x
    {
        font-size: 16px;   
    }
    #afui .list.sidemenu > li > a > i
    {
        font-size: 20px;   
    }
    #afui .list.sidemenu > li > a > span
    {
        font-size: 15px;   
    }
    #afui .list.sidemenu > li > a:after
    {
        content: none;
    }
    
    /*Eirik 22.05.15 v1.0.0.43 task 1787 - style number of active items icon */
    #afui span.noofactive
    {
        color: #333333;
        background-color: #8CC588;
        z-index: 9999;
        
        position:absolute;
        top:2px; 
        right:2px;
        
        min-width: 20px;
        border-radius: 20px;
        height: 20px;
    }
    
    /*Eirik 29.06.15 v1.0.1.1 - add style to loginbtn*/
#afui a.loginbtn {
    background-color: #FAFAFA;
    color: #490826;
    box-shadow: 2px 2px 1px #333333;
}
    #afui a.loginbtn:after {
        position: absolute;
        right: 8px;
        font-family: FontAwesome;
        content: "\f090";
        color: #490826;
    }

#afui a.loginbtnblue {
    width: 100%;
    background-color: #490826;
    color: #FAFAFA;
    box-shadow: 2px 2px 1px #333333;
}
    #afui  a.loginbtnblue:after
    {
        position:absolute;
        right: 8px;
        font-family: FontAwesome;
        content: "\f090";
        color: #FAFAFA;
    }
    
    /* Overwrite input-group style */
    #afui .input-group input:not([type='button']):not([type='submit']),
    #afui .input-group textarea,
    #afui .input-group select {
        border: 1px solid #EDEDED;
        margin: 1px;
    }
    
    /*
    #afui input[type=number]:invalid {
        background-color: #FFF8F7F7C;
    } */
    
    #afui .showsoftkeyboard
    {
        display: block;
        height: 225px;
    }
    
    #panel_download #searchinput {
        display: none;
    }
    
    #afui #panel_download .list > li.projectisdownloaded:after {
        color: #8CC588;
        float:right;
        font-family: FontAwesome;
        content:"\f019";
        display:block;
        position:absolute;
        top:2px; right:2px;
    }
    
    #afui #panel_download .list > li.projectnotdownloaded:after {
        color: #f8f7f7;
        float:right;
        font-family: FontAwesome;
        content:"\f019";
        display:block;
        position:absolute;
        top:2px; right:2px;
    }
    
    /* Center Today button in timeline statusbar */
    #afui #panel_timeline .webix_bottombar .webix_el_label {
    /*    width: 100% !important;*/
    }
    
    /* Remove border from timeline details page */
    .webix_event_view {
        border: 0 !important;
        border-top: 1px solid #f8f7f7 !important;
    }
    
    /* Modify stying of edit button */
    #afui #panel_timeline  .webix_img_btn {
        pointer-events: none;
        text-align: right !important;
        padding-right: 10px !important;
    }
    #afui #panel_timeline .webix_img_btn .webix_icon_btn {
        color: #333333 !important;
        font-size: x-large !important;
        vertical-align: middle !important;
    }
    
    /* Fix for aligning timeline events properly */
    .webix_dayevents_event_item {
        box-sizing: content-box;
        margin-top: -1px;
    }
    .webix_dayevents_scale_item {
        box-sizing: content-box;
    }

    .webix_dayevents_event_item  .timeline_icon {
        position: absolute;
        top: 5px;
        right: 5px;
    }
    
    
    /* Calulate styles */
    #afui #panel_calculate_result #ul_calculate_result_total_details li:nth-child(odd)  {
        color: #333333;
    /*    text-transform: uppercase;*/
        font-size: small;
        position: relative;
        top: -1px;
        padding-top: 6px;
        padding-bottom: 6px;
        font-size: 14px;
    /*    font-weight: bold;*/
        line-height: 18px;
        background-color: #EFEFEF;
        border-top: 0px solid #F8F7F7;
        border-bottom: 0px solid #F8F7F7;
        /* box-shadow: inset 0 1px 1px #F8F7F7; */
        padding-right: 60px;
    }
    
    #afui #panel_calculate_result tr.spaceunder > td
    {
      padding-bottom: 1em;
    }
    
    #afui #panel_calculate_result tr.borderbottom > td
    {
      border-bottom: 0px solid #333333;
    }
    
    #afui #panel_calculate_result tr > td.label
    {
        padding-right: 5px;
    }
    
    #afui #panel_calculate_result tr > td > span
    {
        font-size: 14px;
        font-weight: normal;
    }
    
    #afui #panel_calculate_result tr.sumrow > td > span
    {
        font-size: 16px;
        font-weight: normal;
    }
    
    #afui #panel_calculate_result tr > td > strong
    {
        font-size: 14px;
        font-weight: bold;
    }
    
    #afui #panel_calculate_result tr.sumrow > td > strong
    {
        font-size: 16px;
        font-weight: bold;
    }
    
    #afui #panel_calculate_result .list li.dividercalculate {
        text-transform: none !important;
        padding: 2px 2px 2px 2px !important;
        font-size: 14px;
    }
    
    #afui .list li.groupli > a:after {
        color:#333333;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f07b";
    }
    
    #afui .list li.groupli.expanded > a:after {
        color:#333333;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f07c";
    }
    
    #afui .list li.groupli {
    /*    text-transform: uppercase;*/
    /*    font-size: small;*/
    /*    position: relative;*/
    /*    top: -1px;*/
    /*    padding-top: 6px;*/
    /*    padding-bottom: 6px;*/
        color: #333333;
        background-color: #E0E0E0;
    }
    
    #afui .list li.groupli > a{
        color: #333333 !important;
    }
    
    #afui .combodateselect {
        width: 75px !important;
    }
    
    #afui .list li.noborder {
        border: none !important;
    }
    
    /*Eirik 28.10.16 v2.0.3.26 - set background color on pause and stop buttons in myPopup*/
    #myPopup.afPopup > FOOTER > a#cancel {
        background-color: #EE746D;
        color: #333333;
    }
    
    #myPopup.afPopup > FOOTER > a#action {
        background-color: #8CC588;
        color: #333333;
    }
    
    /*Eirik 04.11.16 04.11.16 v2.0.3.30 - style to clear button to inputs*/
    #afui  a.inputclear > i:before {
        content: "\f00d";
        top: -30px;
        float: right;
        font-family: FontAwesome;
        content: "\f00d";
        display: block;
        position: absolute;
        color:#EE746D !important;
        font-size: 25px;
    }
    /*Eirik 04.11.16 04.11.16 v2.0.3.30 - style to clear button to inputs*/
    #afui  a.textareaclear > i:before {
        content: "\f00d";
        top: -60px;
        float: right;
        font-family: FontAwesome;
        content: "\f00d";
        display: block;
        position: absolute;
        color:#EE746D !important;
        font-size: 25px;
    }
    
    #afui a.copy:before {
        font-family: FontAwesome;
        content: "\f0c5";
        color: #333333;
        padding-right: 10px;
    }
    /*Eirik 04.11.16 05.11.16 v2.0.3.30 - style anchor as buttons*/
    #afui a.btn {
        display: inline-block;
        margin-bottom: 0;
        font-weight: 400;
        text-align: center;
        vertical-align: middle;
        cursor: pointer;
        border: 0px solid transparent;
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857;
        border-radius: 4px;
        background-color: #f8f7f7;
    }
    
    /* Change Password styles */
    meter::-webkit-meter-bar {background: #f8f7f7;} 
    meter::-webkit-meter-optimum-value {background: #8CC588;}
    meter::-webkit-meter-suboptimum-value{background: #FF8000;}
    meter::-webkit-meter-even-less-good-value{background: #EE746D;}
    meter {
    
      margin: 0 auto 1em;
      width: 100%;
      height: 0.5em;
    
      /* Applicable only to Firefox */
      background: none;
      background-color: rgba(0, 0, 0, 0.1);
    }
    
    #afui input.confirmpassok {
        border-color: #8CC588 !important;
    }
    
    #afui input.confirmpasswrong {
        border-color: #EE746D !important;
    }
    
    
    #afui .list li.sectionstampissplit > a:after {
        color:#88B0C5;
        display: inherit;
        font-family: FontAwesome;
        font-size: 22px;
        content: "\f044";
    }
    
    #afui i.hidden {
        display: none;
    }
    
    
    /*.dx-popup-content {
        height: 550px !important;
        overflow: auto;
    }
    
    .dx-popup-content.landscape {
        max-height: 300px !important;
        overflow: auto;
    }*/
    
    /*.dx-popup-content.portrait > .dx-actionsheet-container {
        max-height: 500px !important;
        overflow: auto;
    }
    
    .dx-popup-content.landscape > .dx-actionsheet-container {
        max-height: 320px !important;
        overflow: auto;
    }*/
    
    .dx-popup-content > .dx-actionsheet-container {
        max-height: 500px !important;
        overflow: auto;
    }
    
    /*.dx-popup-content.landscape .dx-button-content {
        overflow: hidden;
        -o-text-overflow: ellipsis;
        -ms-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        height: 30px !important;
        max-height: 100%;
    }*/
    .dx-button-content {
        overflow: hidden;
        -o-text-overflow: ellipsis;
        -ms-text-overflow: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        height: 55px !important;
        max-height: 100%;
    }
    
    .dx-button-content > .dx-icon {
        font-size: 35px !important;
        margin-right: 25px !important;
        color: #333333 !important;
    }
    /* .dx-button-content > .dx-icon.fa-stop {
        color: #EE746D !important;
    }
    .dx-button-content > .dx-icon.fa-sign-out {
        color: #EE746D !important;
    } */
     /* .dx-button-content > .dx-icon.fa-pause {
        color: #ed930b !important;
    } */
    /* .dx-button-content > .dx-icon.fa-play {
        color: #00b200 !important;
    } */
    /* .dx-button-content > .dx-icon.fa-edit {
        color: #88B0C5 !important;
    } */
    /* .dx-button-content > .dx-icon.fa-plus {
        color: #88B0C5 !important;
    } */
    /* .dx-button-content > .dx-icon.fa-trash {
        color: #EE746D !important;
    }  */
    .dx-button-content > .dx-icon.fa-balance-scale {
        margin-right: 35px !important;
    }

.dx-actionsheet-cancel {
    background-color: #490826 !important;
    color: #FAFAFA !important;
}
    
    .dx-actionsheet-cancel .dx-button-text {
        color: #FAFAFA !important;
    }
    
    .dx-button-text {
        color: #333333;
        display: inline;
        vertical-align: middle;
        font-size: 22px !important;
        font-weight: bold;
        font-family: Trebuchet MS, Trebuchet, sans-serif !important;
    }
    
    /*.dx-popup-content.landscape .dx-actionsheet-item {
        height: 30px !important;
    }*/
    .dx-actionsheet-item {
        height: 55px !important;
    }
    
    .disableddiv {
        pointer-events: none;
        opacity: 0.2;
    }

#afui a.btnConfirm {
    width: 100%;
    background-color: #490826;
    color: #FAFAFA;
    box-shadow: 2px 2px 1px #888888;
}
    
    .hamburger {
        margin-left: auto;
        color: #FAFAFA;
        cursor: pointer;
    }
    
    .material-icons {
        font-family: 'Material Icons';
        font-weight: normal;
        font-style: normal;
        font-size: 24px;
        line-height: 1;
        letter-spacing: normal;
        text-transform: none;
        display: inline-block;
        white-space: nowrap;
        word-wrap: normal;
        direction: ltr;
        -webkit-font-feature-settings: 'liga';
        -webkit-font-smoothing: antialiased;
    }


.dashboardheader {
    height: 70px !important;
    background-color: #490826 !important;
    overflow: visible !important;
}

.dashboardheader a {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    /* text-align: center;
    color: #FAFAFA; */
}

.centerDiv {
    
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


#menu_navbar
{
  position: fixed;
  width: 95%;
  height: 90%;
  margin: 0px 0 0 -50px;
  padding: 70px 0px 0px 50px;
  background-color: #FAFAFA;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1.0);
  border-radius: 0px 0px 35px 0px;
}

#menu_navbar_ul {
    height: 85%;
    border-radius: 0px 0px 35px 0px;
    overflow-y: auto;
}

#menu_navbar_ul li
{
    background-color: #F8F7F7;
    padding: 20px 0;
    transition-delay: 2s;
}


#menu_navbar_ul > li > a
{
    
    text-align: left;
    display: inline !important;

    /* left: 10%;
    width: 90%; */
}

#menu_navbar_ul > li > a:after
{
    content: "" !important;
}

#menu_navbar_ul > li > span {
    float:right;
    width: 25px;
    height: 25px;
}

#menu_navbar_ul > li > span.update_img {
    -webkit-mask: url(../images/icons_d24/Ikon-historie-purple.svg) center / 20px no-repeat;
    background-color: #333333;
}

#menu_navbar_ul > li > span.timeline_img {
    -webkit-mask: url(../images/icons_d24/Ikon-registrering-purple.svg) center / 20px no-repeat;
    background-color: #333333;
}

#menu_navbar_ul > li > span.lastregs_img {
    -webkit-mask: url(../images/icons_d24/Ikon-aktiv.svg) center / 20px no-repeat;
    background-color: #333333;
}

#menu_navbar_ul > li > span.confirm_img {
    -webkit-mask: url(../images/icons_d24/Ikon-godkjenn-purple.svg) center / 20px no-repeat;
    background-color: #333333;
}

#menuToggle input:checked ~ ul
{
  transform: none;
}

#menu_navbar.showMenu {
    transform: none;
}

#menu_profile
{
    position: fixed;
    width: 95%;
    height: 90%;
    margin: 0px -50px 0 0;
    padding: 70px 50px 0px 0px;
    background-color: #FAFAFA;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(100%, 0%);
    transition: transform 0.2s cubic-bezier(0.77,0.2,0.05,1);
    border-radius: 0px 0px 0px 35px;
    right: 0px;
}

#menu_profile_ul {
    height: 85%;
    border-radius: 0px 0px 0px 35px;
    overflow-y: auto;
}

#menu_profile_ul li
{
    background-color: #F8F7F7;
    padding: 20px 0;
    transition-delay: 2s;
}


#menu_profile_ul > li > a
{
    text-align: right;
    /* left: 10%;
    width: 90%; */
}

#menu_profile_ul > li > a:after
{
    content: "" !important;
}

#menu_profile_ul > li > a > i
{
    float: left;
}

#menu_profile.showMenu {
    transform: none;
}

#menu_profile_toggle {
    position: absolute;
    /* left: 95%; */
    right: 0px;
    top: 50%;
    transform: translate(-50%, -50%);
}

#menu_profile_toggle i {
    transition: opacity 0.2s linear;
    opacity: 1;
}

#menu_profile_toggle i.fadeOut {
    opacity: 0;
}

    #menu_profile_toggle i.black {
        color: #490826 !important;
    }

#menu_profile_toggle img {
    transition: opacity 0.2s linear;
    opacity: 1;
}

#menu_profile_toggle img.fadeOut {
    opacity: 0;
}
    
#menu_profile i.red {
    color:#EE746D;
    background-color:transparent;
}

.elevate {
    z-index: 9999999999 !important;
}

.logoimg {
    margin-left: 5px; 
    width: 120px;
    transition:  opacity 0.1s linear;
    opacity: 1;
}

.logoimg.fadeOut {
    opacity: 0;
}

#time_active_starttime {
    position: relative;
    top: 3px;
}
/* 
.activeicon {
    -webkit-animation:spin 4s linear infinite;
    -moz-animation:spin 4s linear infinite;
    animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } */
.activeicon {
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    position: relative;
    top: 5px;
  
}
.activeicondiv {
    width: 100%;
    background-image: url(../images/icons_d24/Ikon-aktiv-rotate.svg);
    background-size: cover;
    height: 0;
    padding: 0; /* reset */
    padding-bottom: calc(100% * 3 / 4);
    
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
   }

   div.icondashboardfooter {
    /* height: 40px !important;
    width: 40px !important; */
   }

div.icondownload {
    background-image: url('../images/icons_d24/Ikon-oppdater.svg');
}

.dashboardfooter div {
    height: 100%;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -ms-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding-top: 3px;
    margin-top: 7px;
}

.view footer {
    border-top: 1px solid #490826 !important;
}


/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  /* Position and style the close button (top right corner) */
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }
  
  /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
  #main {
    transition: margin-left .5s;
    padding: 20px;
  }
  
  /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }