html{
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}
body{
    font-family: 'Titillium Web', 'Roboto';
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* overflow-y: scroll; */
    /*overflow-x: hidden;*/
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
h1{
    font-size: 28px;
    color: #474747;
    font-weight: 600;
}
h3{
    font-weight: 600;
    color: #474747;
}
h4{
    font-size: 20px;
    font-weight: 600;
    color: #44AD34;
    align-items: center;
}
h5{
    font-size: 17px;
    color: #44AD34;
    font-weight: 600;
    border-bottom: 1px solid #44AD34;
    padding: 8px 0;
    margin-bottom: 0;
    margin-top: 32px;
    position: relative;
    z-index: 1;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
}
h5.grey{
    color: #767676;
    border-bottom: 1px solid #767676;
}
h5.small{
    font-size: 14px;
}
h5 .hint{
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    font-size: 11px;
    line-height: 14px;
    font-weight: 700;
    color: #FFFFFF;
    background: #44AD34;
    border-radius: 3px;
    margin-left: 6px;
    padding: 3px 6px;
    text-transform: uppercase;
}
h5 img, h5 svg{
    z-index:5;
    position:relative;
    margin-left: auto; 
    cursor: pointer;   
}
h5 a{
    cursor: pointer;
    display: flex;
    margin-left: auto;
}
h5 a:hover{
    text-decoration: none;
}
p{
    font-size: 17px;
    line-height: 24px;
    font-weight: 400;
    color: #767676;
    margin: 0;
}
p.small{
    font-size: 14px;
    line-height: 20px;
    color: #767676;
}
small{
    font-size: 14px;
    line-height: 20px;
    color: #767676;
}

.light{
    color: #A8A8A8;
}
.dark{
    color: #474747;
}
.green{
    color: #44AD34 !important;
}
.red{
    color: #D63636;
}
.white{
    color: #fff;
}
.dot{
    position: relative;
    padding-left: 4px;
    padding-right: 6px;
}
.dot:before{
    content: '';
    position: absolute;
    top: 10px;
    left: 3px;
    width: 3px;
    height: 3px;
    background: #767676;
    border-radius: 1.5px;
}

b{
  font-weight: 600;
}
hr{
    margin: 12px 0;
}
a{
    color: #44AD34;
}
a:hover{
    color: #44AD34;
}

.text-center{
    justify-content: center;
}
li{
    font-size: 17px;
    line-height: 24px;
    color: #767676;
}


/* STRUCTURE */

/* HEADER */
#header{
	padding: 0 0 0 64px;
	position: fixed;
	width: 100%;
    top: 0;
	text-align: center;
    z-index: 1001;
    color: #fff;
    transition:0.4s;
}
#navigation-title {
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    align-items: center;
    min-height: 64px;
}
.header-title{
    font-size: 22px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.header-buttons-right{
    justify-content: flex-end;
    padding: 16px 0;
}

.header-buttons-right a{
    position: relative;
    font-size: 17px;
    font-weight: 600;
    color: #FFF;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background: none;
    border: 0;
    padding: 0;
    margin: 0 16px 0 6px;
}
.header-buttons-right a:hover{
    text-decoration: none;
}
.header-buttons-right img, .header-buttons-right svg{
    vertical-align: middle;
}
.header-buttons-right svg path{
    fill: #fff;
}
.header-buttons-right button{
    position: relative;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex; 
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background: none;
    border: 0;
    font-size: 17px;
    font-weight: 600;
    padding: 0;
    margin: 0 16px 0 6px;
}
.header-buttons-right a:not(:last-child), .header-buttons-right button:not(:last-child) {
    margin-right: 0;
}
.header-buttons-left,.header-buttons-right{
    flex: 1;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex; 
    min-width: -webkit-min-content; /* Workaround to Chrome bug */
}
.header-back {
    padding: 20px 12px 20px 14px;
}

.no-flexbox #navigation-title{
    display: inline-block;
    width: 100%;
    float: left;
}
.no-flexbox .header-buttons-left{
    display: inline-block;
    float:left;
    position: relative;
    z-index: 10000;
}
.no-flexbox .header-title{
    display: inline-block;
}

.no-flexbox .header-buttons-right{
    display: inline-block;
    float: right;
}
.no-flexbox #menu-btn{
    display: inline-block;
    position: relative;
    z-index: 10000;
}
.no-flexbox .menu-header-cell{
    display: inline-block;
    width: 100%;
}
.no-flexbox .menu-header-icon, .no-flexbox .menu-header-content{
    display: inline-block;
    float: left;
}
.no-flexbox .menu-header-switch{
    display: inline-block;
    float: right;
}
.no-flexbox #navigation-drawer li{
    display: inline-block;
    width: 100%;
}
.no-flexbox #navigation-drawer .nav-icon{
    display: inline-block;
}
.no-flexbox #navigation-drawer .nav-label{
    display: inline-block;
}

/* MENU */
#menu {
    position: fixed;
    overflow: auto;
    left: 0;
    visibility: hidden;
    display: none;
    width: 80%;
    max-width: 350px;
    height: 100%;
    min-height: 100vh;
    max-height: 100vh;
    background-color: #fff;
    z-index: 1032;
    box-shadow: none;
	border: none;
    overflow-x: hidden;
}
#menu-btn {
    position: relative;
    background-color: transparent;
    border: none;
    color: white;
    padding: 16px;
    width: 64px;
    height: 64px;
    margin: 0;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex; 
    /*-webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;*/
}
#menu-btn-back svg{
    margin-right: 12px;
}
#menu-checkbox {
  display: none;
}
#menu-checkbox:checked ~ #overlay {
    display: block;
}
#menu-checkbox:checked ~ #menu {
    visibility: visible;
    display: block;
}
.menu-btn-back{
    padding-right: 0;
    border-right: 0;
    padding-left: 12px;
    max-height: 64px;
    z-index: 1;
}
.menu-btn-back ~ #menu-btn{
    margin-left: -16px;
}
#menu-header {
    color: white;
    background: #44AD34;
    box-shadow: inset -2px 0 0 0 rgba(0,0,0,0.08), inset 0 -2px 0 0 rgba(0,0,0,0.08);
}
#menu-header a {
    color: white;
    border-radius: 16px;
    overflow: hidden;
}
#menu-header a:hover,
#menu-header a:focus {
    text-decoration: none;
}
.menu-header-title{
    display: flex;
    flex-wrap: nowrap;
    padding: 16px 16px 15px 16px;
}
.menu-header-title .menu-header-icon{
    border: 0;
    border-radius: 0;
    cursor: pointer;
}
.menu-header-title .menu-header-label{
    font-size: 22px;
    text-align: center;
    width: calc(100% - 64px);
    margin-top: 0px;
    font-weight: 600;
}
.menu-header-cell{
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px 16px;
    min-height: 64px;
}
.menu-header-cell.without-sublabel{
    padding: 15px 16px 17px 16px;
}
.menu-header-cell .menu-header-icon svg{
    width: 32px;
    height: 32px;
}
.menu-header-cell-user{
    background: #27681D;
}
#menu-header .menu-header-cell-user a{
    color: #49CF34;
}
.menu-header-cell-user .menu-header-icon{
    box-shadow: inset 0 0 0 2px #49CF34;
}
.menu-header-cell-user .menu-header-drilldown .svg path{
    fill: #49CF34;
}
.menu-header-icon{
    height: 32px;
    width: 32px;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex: 0;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #fff;
}
.menu-header-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.menu-header-content{
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-header-label{
    font-size: 17px;
    font-weight: 600;
    padding-left: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-header-sublabel{
    font-size: 14px;
    font-weight: 600;
    margin-top: -1px;
    padding-left: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-header-switch{
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}
.menu-header-drilldown{
    margin-left: auto;
}
.menu-header-drilldown svg{
    align-self: center;
}
.menu-header-drilldown .svg path{
    fill: #fff;
}
.menu-header-cell-user{
    background: #27681D;
}
#menu-header .menu-header-cell-user{
    color: #49CF34;
}
.menu-header-cell-user .menu-header-icon{
    box-shadow: 0 0 0 2px #49CF34;
}
.menu-header-cell-user .menu-header-drilldown .svg path{
    fill: #49CF34;
}

#navigation-drawer {
    box-shadow: inset -2px 0px 0px 0px  rgba(0,0,0,0.08);
    min-height: calc(100vh - 65px)
}
#navigation-drawer a {
    border: none;
    height: 100%;
    width: calc(100% + 30px);
    color: #767676;
    outline: 0;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 0;
    margin: 0 -16px;
}
#navigation-drawer ul{
    padding: 8px 16px 50px;
}
#navigation-drawer li {
    border-bottom: 1px solid #EAEAEA;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    height: 56px;
    margin:0;
}
#navigation-drawer li:last-child {
    border-bottom: 0;
}
#navigation-drawer li.logout a{
    color: #44AD34;
}
#navigation-drawer li:hover a{
    color: #696969;
    background: #FAFAFA;
}
#navigation-drawer li.logout:hover a{
    color: #44AD34;
    background: #FAFAFA;
}
#navigation-drawer li.active a{
    background: none;
}
#navigation-drawer li.active:hover a{
    background: #FAFAFA;
}
#navigation-drawer li.active path{
    fill: #44AD34;
}
#navigation-drawer li.active .nav-label{
    color: #44AD34;
}
#navigation-drawer .nav-icon{
    float: left;
    display: flex;
}
#navigation-drawer li.logout path{
    fill: #44AD34;
}
#navigation-drawer .nav-label{
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    margin-top: 3px;
    padding-left: 16px;
}

#overlay {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1031;
}



/* CONTENTAREA */
.wrap{
	padding: 0 16px 0 80px;
}

/* MODAL */
.modal-body{
    padding: 0 24px 24px 24px;
}
.modal-header{
    border: 0;
}
.modal-head img{
    margin-bottom: 6px;
}
.modal-text-input{
    border: 2px solid #EAEAEA;
    border-radius: 4px;
    height: 64px;
    width: 100%;
    text-align: center;
    font-size: 17px;
    color: #474747;
    transition:0.4s;
}
.modal-text-input:hover{
    border:2px solid #DBDBDB;
    transition:0.4s;
}
.modal-text-input:focus{
    outline: none;
    border: 2px solid #44AD34;
    transition:0.4s;
    border-radius: 4px;
}

@media (max-width: 768px){
    body.loggedin {
        padding-bottom: 64px;
    }
}

@media (min-width: 768px){
    /* MENU */
    #menu {
        visibility: visible;
        display: block;
        width: 64px;
        transition:0.2s;
        transition-timing-function: ease-in-out;
        /* overflow: hidden; If active, navigation isn't scrollable */
    }
    #menu-btn {
        display: none !important;
    }
    #menu:hover{
        width: 296px !important;
    }
    #menu:hover ~ #overlay{
        display: block;
    }
    #menu .menu-header-title{
        display: none;
    }
    #menu .nav-label{
        position: absolute;
        opacity: 0;
        left: 40px;
        white-space: nowrap;
        transition:0.4s;
    }
    #menu:hover .nav-label{
        opacity: 1;
        left: 48px;
        transition:0.4s;
    }
    /*
    #menu .menu-header-label{
        position: absolute;
        opacity: 0;
        left: 40px;
        white-space: nowrap;
        transition:0.4s;
    }
    #menu:hover .menu-header-label{
        opacity: 1;
        left: 48px;
        transition:0.4s;
    }
    #menu .menu-header-drilldown{
        opacity: 0;
        position: absolute;
        right: -16px;
        transition:0.4s;
    }
    #menu:hover .menu-header-drilldown{
        opacity: 1;
        right: 16px;
        transition:0.4s;
    }*/
    
    .menu-header-switch{
        opacity: 0;
        transition:0.4s;
    }
    #menu:hover .menu-header-switch{
        opacity: 1;
        transition:0.4s;
    }

    #overlay {
        display: none !important;
    }

    #navigation-title > button {
	    display: none;
	}
}
@media (max-width: 767px){
	#header{
		padding: 0;
	}
    #navigation-drawer {
        box-shadow: none;
    }
	.wrap{
		padding: 0;
	}
}
@media (min-width: 768px) and (max-width: 1060px){
    .container{
        width: auto;
    }
}
@media (min-width: 1200px){
    .container{
        width: 1104px;
    }
}
@media (min-width: 1680px){
    /* IF NAVIGATION IS EXPANDED ON LARGE SCREENS */
    #menu{
        width: 296px;
        transition: 0;
    }
    #menu .nav-label{
        position: absolute;
        left: 48px;
        opacity: 1;
        white-space: nowrap;
    }
    #menu:hover .nav-label{
        opacity: 1;
        left: 48px;
        transition:0.4s;
    }
    .menu-header-switch{
        opacity: 1;
        transition:0.4s;
    }
    .wrap{
        padding: 0 16px 0 368px;
    }
    #header{
        padding: 0 0 0 352px;
    }
}
