/*

    Authors: Adrian Demleitner, Jan Dellsperger, Cyril Mouttet
    E-Mail: a.demleitner@cloudtec.ch, j.dellsperger@cloudtec.ch, c.mouttet@cloudtec.ch
    2017 (c) cloudtec.ch

    "With all due respect sir; This is great."

    Main Luna Framework Styles

 */


/* ------------------------------------------------------------ *\
    Reset
\* ------------------------------------------------------------ */
*{
    margin: 0;
    padding: 0;
    line-height: normal;

    outline: none;
    -webkit-outline: none;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body{
    height: 100%;
}
html, body, input, textarea, select {
    font-family: 'Roboto', sans-serif;
}

body {
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

img{ display: block; }
ul{ list-style: none; }
a{
    text-decoration: none;
    color: #3c6edc;
}

a img{border:none;}

button::-moz-focus-inner {
    border:0;
    padding:0;
}

::-ms-clear { display: none; }



/* ------------------------------------------------------------ *\
    Font styles
\* ------------------------------------------------------------ */

.tac { text-align: center; }

#main-section .main-form-holder > p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
}
#main-section p + p {
    margin-top: 10px;
}
#main-section .table-cell p + p {
    margin-top: 0;
}
#main-section p.large {
    font-size: 18px;
}

#main-section h3.canton {
    font-weight: normal;
    line-height: 42px;
    margin-bottom: 10px;
    margin-top: 20px;
}
#main-section h3.canton img {
    float: left;
    margin-right: 10px;
}
#main-section .main-form-holder > h1,
#main-section .main-form-holder > h2,
#main-section .main-form-holder > h3,
#main-section .main-form-holder > h4,
#main-section .main-form-holder > h5,
#main-section .main-form-holder > h6 { margin-bottom: 0.715em; color: #222126; font-weight: normal; }
#main-section .main-form-holder > h1 { font-size: 40px; }
#main-section .main-form-holder > h2 {
    border-bottom: 1px solid #e4e8eb;
    padding-bottom: 20px;
    margin-bottom: 40px !important;
    margin-top: 40px;
    font-size: 22px;
    font-weight: normal;
}
#main-section .main-form-holder > h3 { font-size: 20px; }
#main-section .main-form-holder > h4 { font-size: 18px; }
#main-section .main-form-holder > h5 { font-size: 16px; }
#main-section .main-form-holder > h6 { font-size: 14px; }

#main-section .main-form-holder ul li {
    margin-bottom: 10px;
}


/* ------------------------------------------------------------ *\
    Helpers
\* ------------------------------------------------------------ */
.dib {
    display: inline-block;
}

.left{ float: left; }
.right{ float: right; }

.inline-icon{ padding: 0 5px 0 0; }
.overflow{ overflow: hidden; }
.no-wrap{ white-space: nowrap; }

.medic-icon {
    width: 40px;
    height: 40px;
    float: right;
}

.horizontal-divider{
    width: 100%;
    height: 1px;
}

.coma-seperated:after{ content: ', '; }
.coma-seperated:last-child:after{ content: ''; }

.top-margin{ margin-top: 10px; }
.top-margin-20{ margin-top: 20px; }
.bottom-margin{ margin-bottom: 10px; }
.bottom-margin-m{ margin-bottom: 20px; }
.left-margin{ margin-left: 10px; }

.right-padding{ padding-right: 10px; }
.left-padding{ padding-left: 10px; }
.top-padding{ padding-top: 10px; }

.tar {
    text-align: right;
}

.block{ display: block; }
.inline-block{ display: inline-block; }
.hidden{ display: none !important; }
.hide {display: none !important;}
.absolute {
    position:absolute;
}

.left-margin-icon {
    margin-left:25px;
}

.mb0 {
    margin-bottom: 0 !important;
}
.mb20 {
    margin-bottom: 20px;
}
.pl5 {
    padding-left: 5px;
}
.pl10 {
    padding-left: 10px !important;
}
.p10 {
    padding: 10px;
}
.p20 {
    padding: 20px;
}
.icon-ok {
    font-family: "luna";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    content: '\e851';
}

/* ------------------------------------------------------------ *\
    Thumb Size
\* ------------------------------------------------------------ */
.thumb-xs {
    width:20px;
    height:20px;
    border-radius:20px;
}

.thumb-m {
    width:30px;
    height:30px;
    border-radius:30px;
}

.thumb-l {
    width:40px;
    height:40px;
    border-radius:40px;
}

.thumb-xl {
    width:150px;
    height:150px;
    border-radius:150px;
}

/* ------------------------------------------------------------ *\
    Notification & Error Colors
\* ------------------------------------------------------------ */
.cursor-help {
    cursor:help;
}

.cursor-pointer {
    cursor:pointer;
}

.circle-notification {
    border-radius: 50%;
    width: 26px;
    height: 26px;
    background: none;
    border: 2px solid #fff;
    margin-top:12px;
    float: left;
    text-align: center;
}
.circle-notification span {
    position: relative;
    top: 1px;
    font-size: 13px;
    color: #ffffff;
}

#notification-section {
    padding: 0;
    height: 50px;
    position: fixed;
    right: 0px;
    left: 260px;
    top: 60px;
    z-index: 10;
}

.notification-bar {
    height: 51px;
    position:relative;
    padding: 0 40px 0 60px;
}

.notification-bar p {
    float: left;
    font-size: 13px;
    line-height: 50px;
    padding-left: 10px;
    color: #ffffff;
    font-weight: 700;
}

.error-page-bar {
    height: 50px;
    position:relative;
    padding-left:15px;
    padding-right:15px;
    margin-bottom:25px;
    border-radius: 3px;
}
.error-page-bar > * {
    color: #ffffff;
    line-height: 50px;
    font-weight: 300;
}
.error-template {
    float: none;
    clear: both;
    margin-top: 50px;
}
.error-template h3 {
    float: none !important;
}
.error-template p,
.error-template ul li {
    color: #181818
}
.error-template ul li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 21px;
}
.error-template ul li:before {
    font-family: "luna";
    content: '\e86a';
    position: absolute;
    top: -4px;
    left: 0;
    display: inline-block;
    width: 30px;
    height: 30px;
    color: #3570db;
    border: 1px solid #e8e8e8;
    border-radius: 100%;
    text-align: center;
    line-height: 28px;
}
.error-template .big-o {
    float: left;
    width: 220px;
}
.error-template .big-o + div {
    float: left;
    padding-left: 20px;
    padding-top: 50px;
}

#notification-close {
    float: right;
    cursor:pointer;
    margin-right: 20px;
}

#notification-close:hover {
    opacity:0.8;
}

.flash {
    -moz-animation: flash 1s ease-out;
    -moz-animation-iteration-count: 1;

    -webkit-animation: flash 1s ease-out;
    -webkit-animation-iteration-count: 1;

    -ms-animation: flash 1s ease-out;
    -ms-animation-iteration-count: 1;
}

@-webkit-keyframes flash {
    0% { background-color: transparent; }
    50% { background-color: #fbf8b2; }
    100% { background-color: transparent; }
}

@-moz-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}

@-ms-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}

/* ------------------------------------------------------------ *\
    Test Top Bar
\* ------------------------------------------------------------ */
#test-flag + #wrapper > #top-section,
#test-flag + #wrapper > .login-content-image {
    top:50px !important;
}

#test-flag + #wrapper > #show-left-section-button,
#test-flag + #wrapper > #left-section,
#test-flag + #wrapper > #notification-section,
#test-flag + #wrapper > #filter-section,
#test-flag + #wrapper > #show-filter-button {
    top:110px !important;
}

#test-flag + #wrapper > #tool-section {
    padding-top: 160px;
}

#test-flag + #wrapper > #right-section {
    top:260px !important;
}

#test-flag + #login-section {
    top:50px !important;
}

#test-flag{
    width: 100%;
    height:50px;
    background-color: #ff003c;
    position:fixed;
    top:0;
    z-index:50;
}

#test-flag>p{
    font-size:20px;
    line-height:50px;
    letter-spacing: 0.02em;
}



/* ------------------------------------------------------------ *\
    Global Site Elements
\* ------------------------------------------------------------ */
#wrapper{
    min-height: 100%;
    position: relative;
    padding: 0 0 60px 0;
}

#top-section{
    position: fixed;
    height: 60px;
    right: 0;
    top: 0;
    left: 0;
    padding: 0 0 0 20px;
    z-index: 1000;
    background-color: #3570db;
}

#left-section {
    width: 259px;
    position: fixed;
    left: 0;
    top: 60px;
    bottom: 0;
    border-right: 1px solid #e5e5e5;
    background: #ffffff;
    z-index: 25;
    overflow:hidden;
}
#left-section.open {
    left: 0;
}

#menu-holder {
    overflow-y:scroll;
    width:280px;
    height:100%;
}

#menu-holder ul:first-child {
    padding-bottom:120px;
}

#right-section{
    position: fixed;
    right: 60px;
    top: 210px;
    width: 275px;
}

#tool-section {
    border-bottom: 1px solid #e5e5e5;

    padding-top: 110px;
    margin-left: 320px;
    margin-right: 60px;

    z-index: 5;
    background: #ffffff;
}
#tool-section:after {
    content: '';
    display: block;
    clear: both;
}

.aside-section-title {
    display: none;
}

#main-section {
    padding: 20px 60px 90px 320px;
    min-height: 100%;
}

#bottom-section{
    border-top: 1px solid #e5e5e5;
    padding: 20px 20px 0 320px;
    background: #ffffff;
    clear: both;
    bottom: 0;
    left: 0;
    width: 100%;
}
#bottom-section p {
    font-size: 12px;
    margin-top: 5px;
    color: #999999;
    float: left;
}
#bottom-section p + p {
    padding-left: 10px;
}
#bottom-section a {
    color: #999999;
}
#bottom-section a:hover {
    text-decoration: underline;
}

/* layout left animation */
#left-section, #tool-section, #main-section, #bottom-section {
    -webkit-transition: .25s;
    -moz-transition: .25s;
    -ms-transition: .25s;
    -o-transition: .25s;
    transition: .25s;
}

#left-section.close {
    left: -260px;
}

@media screen and (min-width: 1200px){
    #left-section.close ~ #tool-section {
        margin-left: 60px;
    }
    #left-section.close ~ #main-section,
    #left-section.close ~ #bottom-section {
        padding-left: 60px;
    }
}

/* ------------------------------------------------------------ *\
    Filter Section
\* ------------------------------------------------------------ */
#filter-section {
    position: fixed;
    right: -275px;
    top: 60px;
    bottom: 0px;
    width: 260px;
    z-index: 1250;
    -webkit-box-shadow: -3px 0 3px -3px #afafaf;
    -moz-box-shadow: -3px 0 3px -3px #afafaf;
    box-shadow: -3px 0 3px -3px #afafaf;
    overflow-y: scroll;
}
#filter-section {
    position: fixed;
    right: -275px;
    top: 60px;
    bottom: 0px;
    width: 260px;
    z-index: 25;
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
    -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
    overflow-y: scroll;
    transition: all .25s ease;
}
#filter-section.open {
    right: -15px;
}
#filter-section label {
    display: inline-block;
    text-align: left;
}
#filter-form .form-label,
#filter-form .form-input {
    float: none;
    width: 100%;
}
#filter-form > div:not(.form-field) {
    border-top:1px solid #e5e5e5;
    padding-top:20px;
    padding-bottom:0px;
    margin-top:20px;
}
.filter-count {
    font-size: 13px;
    line-height: 20px;
    color: #222222;
    margin-bottom: 10px;
}
.filter-count a {
    color: #3570db;
}
.filter-count a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------ *\
    Filter Section
\* ------------------------------------------------------------ */
#filter-section{
    background: #ffffff;
}
#filter-section .side-section-title-holder {
    padding: 0 0 0 20px;
    height: 51px;
    border-bottom: 1px solid #e5e5e5;
}
#filter-section .side-section-title-holder > p {
    font-size: 13px;
    line-height: 50px;
    text-transform: uppercase;
    color: #a3b1bf;
    float: left;
}
#show-filter-button {
    position: fixed;
    right: 0;
    top: 60px;
    padding: 0;
    width: 42px;
    height: 50px;
    z-index: 999;
}
#show-filter-button > span {
    margin-right: 0;
}

#filter-form{
    padding: 5px 20px;
}
#filter-form > div {
    margin-bottom: 0px;
}
#filter-form label {
    display: inline-block;
    font-size: 14px;
    line-height: 30px;
    color: #222222;
    font-weight: 700;
    white-space: nowrap;
}
#filter-form label.checkbox-label {
    position: relative;
    padding: 0 10px 0 25px;
    font-weight: 400;
    white-space: nowrap;
}
#filter-form .button-cancel {
    display: none;
}

/* ------------------------------------------------------------ *\
    History
\* ------------------------------------------------------------ */
.history-title{
    border-bottom:1px solid #e5e5e5;
    padding-top:20px;
    padding-bottom:20px;
}

.event {
    position: relative;
    padding-top:15px;
    padding-bottom:15px;
    border-bottom:1px solid #e5e5e5;
    min-height: 80px;
}


#event-holder p {
    font-size: 13px;
}

.event p {
    color: #999999;
}
.event p.color-black {
    color: #151515;
}

.event-text {
    margin-left:50px;
}

.event-text del {
    color:#e65c5c;
}

.event-text ins {
    color:#77cc66;
}

.event-logo{
    margin: 0 10px 0 0;
}
.event-update {
    position: absolute;
    left: 25px;
    top: 10px;
    width: 20px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}
.event-user-name{
    padding: 0 10px 0 0;
    margin: 0 10px 0 0;
    border-right: 1px solid #e5e5e5;
}

.event-horizontal-divider{
    margin: 10px 0 10px 0;
}

.event-mutation-seperator {
    height:3px;
    width:15px;
    margin-top:10px;
    margin-bottom:10px;
    margin-left:50px;
}

.event-left-margin {
    margin-left:50px;
}

/* ------------------------------------------------------------ *\
    Login Section
\* ------------------------------------------------------------ */
#login-section{
    width: 400px;
    min-height: 700px;
    height: 100%;
    position: relative;
    z-index: 1;
}

#login-section h1 {
    font-weight: 400;
    font-size: 28px;
}

#login-top{
    padding: 0;
    position: relative;
    margin: 0 0 100px 0;
}

.login-logo {
    width: 100%;
    height: 180px;
    background-color: #f2f2f2;
    background-repeat: no-repeat;
    background-size: 320px;
    background-position: center;
}

#login-triangle{
    border-style: solid;
    border-width: 20px;
    border-color: #f2f2f2 transparent transparent #f2f2f2;
    position: absolute;
    left: 40px;
    bottom: -40px;
    width: 0;
    height: 0;
}

#login-main{
    padding: 0 40px 0 40px;
    margin-bottom:60px;
}

.login-info{
    height:80px;
}

.login-info div{
    margin-top:25px;
}

#login-bottom{
    padding: 0 40px 0 40px;
    border-top: 1px solid #e5e5e5;
    position: fixed;
    bottom: 0;
    width: 400px;
    background-color:#ffffff;
}

#login-image{
    height:100%;
    width:100%;
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center center;
    opacity: 0;
    -webkit-transition: .25s;
    -moz-transition: .25s;
    -ms-transition: .25s;
    -o-transition: .25s;
    transition: .25s;
}
#login-image.show {
    opacity: 1;
}

.login-content-wrapper{
    float: left;
    width: 100%;
    height:100%;
}

.login-content-left{
    float: left;
    width: 400px;
    height: 100%;
    min-height:100%;
}

.login-content-image{
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 400px;
    height: 100%;
    width: 100%;
    background-color:#a3acbf;
}

.login-content-image > img {
    width: 100%;
    height: auto;
}

.photo-of-the-day-copyright {
    position:fixed;
    bottom: 25px;
    right: 25px;
}

#login-main {
    color: #222;
}
#login-main .form-input {
    width: 100% !important;
}
#login-main .form-button-row > button,
#login-main .form-input:first-child {
    margin-left: 0 !important;
}
#login-main > p,
#login-main > ul,
#login-main form > p,
#login-main form > ul,
#login-main .password-rules > p,
#login-main .password-rules > ul {
    font-size: 14px;
    line-height: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
}
#login-main ul > li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 10px;
}
#login-main ul > li:before {
    content: '-';
    position: absolute;
    left: 0;
    top: -2px;
}
#showPasswordRules {
    cursor: pointer;
    margin-top: 20px;
}

/* ------------------------------------------------------------ *\
    Top Section
\* ------------------------------------------------------------ */
.logo-holder{
    width: 240px;
    position: relative;
}

#main-navigation {
    margin-left: 240px;
}

.logo{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 20px;
}



/* ------------------------------------------------------------ *\
    Main Navigation
\* ------------------------------------------------------------ */

#main-navigation > li {
    position: relative;
    float: left;
    background-color: #3570db;
}
#main-navigation > li.active,
#main-navigation > li:hover {
    background-color: #2ab5f7;
    opacity: 1;
}
#main-navigation > li > a {
    display: block;
    position: relative;
    padding: 0 20px;

    color: #ffffff;
    font-size: 15px;
    line-height: 60px;
    font-weight: 700;
}
#main-navigation > li > a .marker {
    width: 0;
    height: 0;
    border-width: 5px;
    border-color: transparent transparent #ffffff transparent;
    border-style: solid;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}
#main-navigation > li.active > a .marker,
#main-navigation > li:hover > a .marker {
    display: block;
}
#main-navigation > li > a .count {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.7rem;
    /* min-width: 16px; */
    line-height: 16px;
    text-align: center;
    background: #e65c5c;
    border-radius: 8px;
    padding: 0 5px;
}
#main-navigation > li > ul {
    display: none;
}

.user-options-triangle {
    display:none;
}

.add-to-sub {
    display: none;
}
#main-navigation > .too-many-items:hover > ul {
    display: block;
    position: absolute;
    background-color: #3570db;
}
.too-many-items > ul ul {
    display: none;
}
.too-many-items .add-to-sub {
    display: block;
}
.too-many-items .add-to-sub a {
    display: inline-block;
    padding: 0 20px;
    color: white;
    line-height: 40px;
    font-weight: 400;
}
.too-many-items .add-to-sub:hover {
    background-color: #2ab5f7;
}



/* ------------------------------------------------------------ *\
    User, Impersonation, Organisation Switch
\* ------------------------------------------------------------ */

.logout-holder,
.user-info-holder,
.impersonation-holder,
.organisation-switch-holder {
    position: relative;
    float: right !important;
}
.logout-holder {
    max-width: 42px;
}
.user-info-holder > a > img {
    position: relative;
    display: inline-block;
    top: -2px;
    margin-right: 10px;
    vertical-align: middle;
}
.user-info-holder > a .icon-arrowdown {
    margin-left: 10px;
}

#main-navigation > li.logout-holder > a,
#main-navigation > li.user-info-holder > a,
#main-navigation > li.impersonation-holder > a,
#main-navigation > li.organisation-switch-holder > a {
    font-size: 13px;
    font-weight: normal;
    line-height: 60px;
    color: #ffffff;
    padding: 0 12px;
}
.impersonation-holder > a > span,
.organisation-switch-holder > a > span {
    padding-left: 10px;
}

.user-info-holder > ul,
.impersonation-holder > ul,
.organisation-switch-holder > ul {
    display: none;
    width: 200px;
    position: absolute;
    right: 0px;
    top: 60px;
}
.user-info-holder:hover > ul,
.impersonation-holder:hover > ul,
.organisation-switch-holder:hover > ul {
    display: block;
    width: 100%;
}
.user-info-holder > ul > li,
.impersonation-holder > ul > li,
.organisation-switch-holder > ul > li {
    display: block;
    padding: 0;
    background-color: #2ab5f7;
}
.user-info-holder > ul > li:hover,
.impersonation-holder > ul > li:hover,
.organisation-switch-holder > ul > li:hover {
    background-color: #3570db;
}
.user-info-holder > ul > li > a,
.impersonation-holder > ul > li > a,
.organisation-switch-holder > ul > li > a {
    display: block;
    padding: 10px 20px 10px 15px;
    font-size: 13px;
    line-height: 30px;
    color: #ffffff;
}


/* ------------------------------------------------------------ *\
    Left Section
\* ------------------------------------------------------------ */

#left-section .side-section-title-holder {
    padding: 0 0 0 20px;
    height: 50px;
    border-bottom: 1px solid #e5e5e5;
}
#left-section .side-section-title-holder > p {
    font-size: 13px;
    line-height: 50px;
    text-transform: uppercase;
    color: #a3b1bf;
    float: left;
}

#hide-left-section-button {
    width: 34px;
    float: right;
    border-left: 1px solid #e5e5e5;
    height: 100%;
    cursor: pointer;
}
#hide-left-section-button:hover {
    background-color: #f2f2f2;
}
#hide-left-section-button > span {
    font-size: 11px;
    line-height: 50px;
    text-align: center;
    color: #a3b1bf;
    display: block;
}

#show-left-section-button {
    position: fixed;
    left: 0;
    top: 60px;
    padding: 0;
    width: 34px;
    z-index: 25;
    line-height: 50px;
}
#show-progress-widget-button {
    position: fixed;
}
#show-left-section-button > span,
#show-progress-widget-button > span {
    line-height: 50px;
    margin-right: 0;
}

.help-link-holder{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid #e5e5e5;
    padding: 0 0 0 30px;
    margin-top:30px;
}



/* ------------------------------------------------------------ *\
    Side Navigation
\* ------------------------------------------------------------ */

#side-nav-wrapper {
    overflow-y: scroll;
    width: 280px;
    height: 100%;
}

.side-navigation {

}
.side-navigation > li {
    padding: 0 0 0 20px;
    width: 258px;
    font-weight: normal;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.side-navigation > li:hover {
    background-color: #f2f2f2;
}


.side-navigation > li.highlight-updated {
    border-right: 3px solid #77cc66;
}
.side-navigation > li.highlight-critical {
    border-right: 3px solid #e65c5c;
}

.side-navigation > li > a {
    padding: 15px 21px 15px 0;
    display: block;
    border-bottom: 1px solid #e5e5e5;
}
.side-navigation > li > a p:first-child {
    font-size: 15px;
    line-height: 20px;
    color: #222222;
}
.side-navigation > li > a p:nth-child(2),
.side-navigation > li > a p:last-child {
    font-size: 13px;
    line-height: 20px;
    color: #999999;
}
.side-navigation > li .icon-custom-next {
    display: none;
}

.side-navigation > li.active {
    background-color: #2ab5f7;
    border-right: 3px solid #3570db;
}
.side-navigation > li.active > a {
    border-bottom: none;
}
.side-navigation > li.active > a p {
    color: #ffffff;
}

/* lvl2 */

.side-navigation > li ul {
    display: none;
    margin-left: -20px;
    padding-bottom: 10px;
}
.side-navigation > li li:hover {
    background-color: #55c4f9;
}
.side-navigation > li li a {
    padding: 5px 20px 5px 20px;
    display: block;
}
.side-navigation > li li p:first-child {
    color: #ffffff;
    line-height: 20px;
    font-size: 14px;
}

.side-navigation > li.active ul {
    display: block;
}
.side-navigation > li li.active {
    background-color: #3570db;
}




/* ------------------------------------------------------------ *\
    Right Section
\* ------------------------------------------------------------ */
.status{
    width: 100%;
    padding: 0 0 0 20px;
    position: relative;
    height: 90px;
}

.status-bullet-point{
    width: 40px;
    height: 40px;
    border-radius: 40px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background-color: #2ab5f7;
    padding: 10px 0 10px 0;
}

.status-inner{
    padding: 15px 0 15px 33px;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.status:last-child .status-inner{
    border-bottom: none;
}

/* ------------------------------------------------------------ *\
    Tool Section
\* ------------------------------------------------------------ */
.tool-section-row{
    height: 65px;
}

.tool-section-title-holder{
    padding: 12px 0 0 0;
}

.tool-section-title {
    padding: 0 20px 0 0;
    margin: 0 20px 0 0;
    border-right: 1px solid #e5e5e5;

    font-size: 24px;
    line-height: 30px;
    float: left;
}
.tool-section-subtitle {
    font-size: 13px;
    line-height: 35px;
    float: left;
}
.be-facility-list .tool-section-title, .be-facility-list .tool-section-subtitle {
    color: #181818;
}

.button-row{
    height: 67px;
}


/* Success Messages */
.success-holder{
    position: relative;
    padding: 10px;
}

.success-triangle{
    position: absolute;
    height: 0;
    width: 0;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #77cc66 transparent;
    top: -10px;
    left: 10px;
}

/* Switch */
.switch {
    overflow: hidden;
    position: relative;
}

.switch input {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 5px;
}

.switch label {
    width: 80px;
    height: 30px;
    border: 1px solid #e6e6e6;
    border-radius: 15px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: border-color .4s ease;
    margin-right: 0;
}

.switch .switch-btn {
    width: 40px;
    height: 20px;
    background: #e6e6e6;
    color: #fff;
    position: absolute;
    top: 4px;
    left: 5px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 21px;
    text-align: center;
    transition: background-color .4s ease, -webkit-transform .4s ease;
    transition: transform .4s ease, background-color .4s ease;
    transition: transform .4s ease, background-color .4s ease, -webkit-transform .4s ease;
}

.switch .switch-btn span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transition: opacity .4s ease, visibility .4s ease;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-appearance: none;
}

.switch .switch-btn span ~ span {
    opacity: 0;
    visibility: hidden;
}

.switch input:checked ~ label {
    border-color: #3570db;
}

.switch input:checked ~ label .switch-btn {
    -webkit-transform: translateX(28px);
    -ms-transform: translateX(28px);
    transform: translateX(28px);
    background: #3570db;
}

.switch input:checked ~ label .switch-btn span {
    opacity: 0;
    visibility: hidden;
}

.switch input:checked ~ label .switch-btn span ~ span {
    opacity: 1;
    visibility: visible;
}
.switch input[type="checkbox"] + label:before {
    content: none;
}

/* Datepicker */
.pika-single {
    z-index: 9999;
    display: block;
    position: relative;
    width: 260px;
    padding: 8px;
    border: 1px solid #e5e5e5;
}

.pika-single.is-hidden {
    display: none;
}

.pika-single.is-bound {
    position: absolute;
}

.pika-title {
    position: relative;
    text-align: center;
}

.pika-label {
    display: inline-block;
    *display: inline;
    position: relative;
    z-index: 9999;
    overflow: hidden;
    margin: 0;
    padding: 5px 3px;
}
.pika-title select {
    cursor: pointer;
    position: absolute;
    z-index: 9998;
    margin: 0;
    left: 0;
    top: 5px;
    filter: alpha(opacity=0);
    opacity: 0;
}
.pika-prev {
    float: left;
}
.pika-next {
    float: right;
}
.pika-prev,
.pika-next {
    display: block;
    cursor: pointer;
    position: relative;
    border: 0;
    padding: 0;
    width: 20px;
    height: 30px;
    white-space: nowrap;
    overflow: hidden;

    background-color: #ffffff;
    font-size: 13px;
    line-height: 30px;
    color: #999999;
}
.pika-prev:hover,
.pika-next:hover {
    color: #222222;
}

.pika-select {
    display: inline-block;
}

.pika-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}

.pika-table th,
.pika-table td {
    width: 14.285714285714286%;
    padding: 0;
}

.pika-button {
    cursor: pointer;
    display: block;
    outline: none;
    border: 0;
    margin: 0;
    width: 100%;
    padding: 5px;

    background: #ffffff;
    color: #222222;

    line-height: 24px;
    font-weight: 400;
}
.pika-button.is-selected {
    color: #ffffff;
    background-color: #3570db;
}
.pika-button:hover,
.pika-button.is-today {
    color: #222222;
    background-color: #f2f2f2;
}
.pika-abbr{
    font-size: 12px;
    line-height: 25px;
    text-align: center;
}
.pika-label p {
    font-size: 13px;
    line-height: 20px;
    color: #222222;
}

/* Profile Picture Upload */
.picture-upload{
    position: relative;
}

.picture-upload > div img {
    max-width: 400px;
}

.picture-upload input[type='file']{
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    max-width: 100%;
    z-index: 1;
    cursor:pointer;
}

.picture-upload-circle{
    width: 160px;
    height: 160px;
    border-radius: 150px;
    border: 5px solid #e5e5e5;
    margin: 0 auto;
    position: relative;
}

#profile-picture{
    position: absolute;
    width: 150px;
    height: 150px;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 150px;
}

.loader {
    background-image: url('../img/icons/loading@2x.gif');
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: text-top;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 16px 16px;
}

form .highlight {
    border: 2px solid #ff9600;
}

hr.hr-bb {
    border:0;
    border-bottom:1px solid #e5e5e5;
    margin-top:10px;
    margin-bottom:20px;
}

/* ------------------------------------------------------------ *\
    Entries per Page
\* ------------------------------------------------------------ */

ul.tags {

}
ul.tags li {
    display: inline-block;
}
ul.tags a {
    display: inline-block;
    background-color: #a3b1bf;
    color: #ffffff;
    margin-bottom: 4px;
    padding: 4px 6px;
    border-radius: 3px;

    font-size: 14px;
    font-weight: 300;

    -webkit-transition: .25s;
    -moz-transition: .25s;
    -ms-transition: .25s;
    -o-transition: .25s;
    transition: .25s;
}

ul.tags a:hover {
    background-color: #181818;
}


/* ------------------------------------------------------------ *\
    Entries per Page
\* ------------------------------------------------------------ */

.entries-per-page-holder {
    float: right;
    padding-top: 4px;
}
.entries-per-page-holder > p {
    float: left;
    font-size: 13px;
    line-height: 40px;
    color: #222222;
}
.entries-per-page-holder > select,
.entries-per-page-holder > .chosen-container {
    float: left;
    width: 80px !important;
    margin: 0 0 0 10px;
}




/* ------------------------------------------------------------ *\
    Pagination
\* ------------------------------------------------------------ */

.pagination-holder {
    margin: 20px 0 0 0;
    float: right;
}
.pagination-holder .pagination-button {
    display: inline-block;
    float: left;

    line-height: 40px !important;
    font-size: 13px !important;
    color: #222222;
    background-color: #ffffff;

    padding: 0 15px 0 15px;
    border: 1px solid #e5e5e5;
    border-right: none;
}
.pagination-holder .pagination-button:hover{
    background-color: #f2f2f2;
}
.pagination-holder .pagination-button:last-child {
    border-right: 1px solid #e5e5e5;
}
.pagination-holder p.pagination-button {
    background-color: #f2f2f2;
}
.pagination-holder span {
    font-size: 12px;
}


/* ------------------------------------------------------------ *\
    Main Content Elements
\* ------------------------------------------------------------ */
.main-title{
    margin: 0 0 25px 0;
}

.main-subtitle{
    padding: 0 0 0 20px;
    margin: 25px 0 20px 0;
}

.main-row{
    margin: 0 0 10px 0;
}

.section-title-row {
    position: relative;
}
.section-title-bullet {
    width: 40px;
    height: 40px;
    border: 1px solid #a3acbf;
    border-radius: 40px;
    font-size: 14px;
    margin: 0 15px 0 0;

    position: absolute;
    top: -5px;
    line-height: 40px !important;
    text-align: center;
}
.section-title-bullet + h2 {
    font-size: 18px;
    line-height: 30px;
    padding-left: 50px;
}
.section-title-row:first-child{
    margin-top: 30px;
}

.main-subsection-row{
    padding: 0 0 0 20px;
    margin: 0 0 10px 0;
}

.main-horizontal-divider{
    width: 100%;
    height: 1px;
    margin: 35px 0 35px 0;
}

.main-form-holder{
    width: 960px;
    /*float: left;*/
}

.form-holder-application-edit {
    /*margin-top:-60px;*/
}

/* User List */
.user-list-profile-thumb{
    margin: 0 auto;
}
.form-label .user-list-profile-thumb {
    margin: auto;
    float: right;
}
.form-label .user-list-profile-thumb + .icon-bullet {
    float: right;
    position: relative;
    top: -10px;
    right: 10px;
}

.account-status-bullet {
    position:relative;
    float:left;
    width:8px;
    height:8px;
    margin-top:-12px;
    font-size:24px !important;
}

/* Modal */
.confirmation-modal {
    display: none;
    background: #ffffff;
    padding:30px 30px 10px;
    min-width:300px;
}

.modalCloseImg {
    display:none;
}

.simplemodal-overlay {
    background:#000;
}

/* Plaintext Application */
.textarea_widget {padding-left:2px; width:95%; }
.textarea_widget textarea {font-family: "Courier New", Courier, monospace; }


/* Placeholder */
#infobox {
    width: 400px;
    margin: 20px auto;
    padding: 20px;
    color: #333;
    background-color: #9fe1ff;
    border: 4px solid #333;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 0 5px #333;
}

.hasPlaceholder {
    color: #777;
}

/* ------------------------------------------------------------ *\
    Change Log
\* ------------------------------------------------------------ */

.change-log-title {
    padding-top:20px;
    padding-bottom:20px;
    border-bottom: 1px solid #e5e5e5;
}

.log-icon-holder {
    width:30px;
    margin-top:10px;
}

.log-entry {
    margin-top:12px;
}

.log-entry ul {
    margin-top:10px;
    margin-bottom:10px;
}

.log-entry ul li {
    list-style-type:disc;
    margin-left:14px;
}
.form-generic .list-generic-files li {
    padding-left: 0;
}
/* ------------------------------------------------------------ *\
    Tabs Navigation
\* ------------------------------------------------------------ */

.tab-nav {
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #2ab5f7;
}
.tab-nav:after {
    content: "";
    display: block;
    clear: both;
}
.tab-nav li {
    display: block;
    text-align: center;
    float: left;
    box-sizing: border-box;
    border: 1px solid #e4e8eb;
    border-bottom: 0;
    border-right: 0;
}
.tab-nav li:last-child { border-right: 1px solid #e4e8eb; }
.tab-nav li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px 24px 15px;
    font-size: 13px;
    font-weight: bold;
    color: #181818;
}
.tab-nav li a .icon-bullet {
    font-size: 22px;
    line-height: 20px;
    position: relative;
    top: 2px;
    position: relative;
    top: 2px;
}
.tab-nav li a .icon-custom-check {
    font-size: 14px;
    line-height: 18px;
    position: relative;
    top: -1px;
}
.tab-nav li.current { border-color: #2ab5f7; }
.tab-nav li.current a {
    background: #2ab5f7;
    color: white;
    padding-top: 16px;
}

.unread-events {
    border:4px solid #77cc66;
    padding:15px 15px 10px;
}
.unread-event-title {
    border-bottom:1px solid #e5e5e5;
    padding-top: 0;
    padding-bottom: 20px;
    font-weight:normal;
}
#main-section h3.unread-event-title {
    margin-bottom: 0;
}
.unread-events:after {
    content: '';
    display: block;
    clear: both;
}
.unread-events .event {
    padding-bottom: 0;
    border-bottom: none;
}
.unread-events form {
    float: left;
}
.unread-events .form-button-row {
    border-top: none;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 20px;
    margin-bottom: 10px;
}
.unread-events .event-meta {
    margin-left: 20px;
    float: left;
    line-height: 40px;
    margin-top: 20px;
    font-size: 14px;
}
.unread-events .form-button-row > button {
    margin-left: 50px;
}
.event-meta {
    margin-left: 50px;
    font-size: 14px;
}


/* ------------------------------------------------------------ *\
    Edit View Sidebar Right
\* ------------------------------------------------------------ */
.edit-view-right-bar {
    top: 60px;
    right: 0px;
    bottom: 0px;
    width: 286px;
    position: fixed;
    padding: 20px 0 0 0;
    z-index: 100;
}

.edit-view-right-bar-test-system {
    top:100px !important;
}

.edit-view-right-row {
    padding: 0 25px 0 25px;
}

.edit-view-right-button {
    width: 100%;
}

.edit-view-right-section-row {
    padding: 12px 25px 12px 25px;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
}
.edit-view-right-section-row.first {
    border-top: 1px solid #e6e6e6;
}
.edit-view-right-row:after,
.edit-view-right-section-row:after {
    content: '';
    display: block;
    clear: both;
}
.indented .edit-view-right-section-row {
    padding: 5px 25px 5px 70px;
    border-bottom: none;
}
.indented .edit-view-right-section-row.tt {
    padding-top: 10px;
}
.indented .edit-view-right-section-row.bb {
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
}

.edit-view-right-section-row:hover {
    background-color: #ffffff;
}

.edit-view-right-section-row:hover .edit-view-right-section-bullet {
    border: 1px solid transparent;
    background-color: #3570db;
    color: #ffffff;
}

.edit-view-action-row {
    padding: 5px 25px 5px 25px;
}

.edit-view-action-row:hover {
    background-color: #ffffff;
}

.edit-view-right-section-bullet {
    float: left;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid #a3b1bf;
    text-align: center;
    line-height: 19px;
    font-size:12px;
    margin: 1px 14px 0 0;
}
.edit-view-right-section-p {
    float: left;
    font-size: 15px;
    line-height: 20px;
    color: #181818;
    font-weight: 700;
}




/* ------------------------------------------------------------ *\
    Responsive
\* ------------------------------------------------------------ */
.scroll-right,
#main-navigation .back-button,
.side-navigation .back-button,
#main-navigation .icon-custom-next {
    display: none;
}

.hide-desktop {
    display: none;
}


.turbolinks-progress-bar {
    top: 60px;
    height: 5px;
    background-color: #2ab5f7;
}

/* smaller desktop */
@media (max-width: 1200px){
    .logo-holder {
        width: 110px;
    }
    #main-navigation {
        margin-left: 110px;
    }
    .user-info-holder {
        padding-left: 30px;
    }
    .user-info .name {
        display: none;
    }

    .pagination-holder,
    .entries-per-page-holder {
        float: right;
        clear: both;
        margin-top: 10px;
    }

    /* left sidebar closed */
    #left-section {
        left: -260px !important;
        transition: all .25s ease;
    }
    #left-section.open {
        left: 0 !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }
    #left-section ul {
        background: white;
        z-index: 1000;
        position: relative;
    }
    #tool-section {
        margin-left: 0;
        padding-left: 58px !important;
        padding-right: 58px;
        padding-top: 60px;
        width: 100%;
    }
    #tool-section .tool-section-row {
        height: 51px;
    }
    #main-section {
        clear: both;
        min-width: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #main-section.fullwidth {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #main-section.fullwidth > * {
        padding-left: 20px;
        padding-right: 20px;
    }
    #main-section.fullwidth > .table-wrap,
    #main-section.fullwidth > .scroll-right {
        padding-left: 0;
        padding-right: 0;
    }
    #main-section.fullwidth > .button-row {
        margin-top: 20px;
    }
    #bottom-section {
        left: 0;
        padding-left: 20px;
    }
}

/* statistics listviews */
#main-section .statistics-display {
    padding-bottom:20px;
}

#main-section .statistics-display .table-cell {
    padding-right:30px;
}

#main-section .statistics-display .big-number {
    font-size:2em;
    font-weight:normal;
}

#main-section .statistics-display p {
    margin:0;
    font-weight:bold;
}

@media (max-width: 1300px) and (-webkit-min-device-pixel-ratio: 2), (max-width: 1024px) {
    /*

        0. Test Flag

     */

    #test-flag + #wrapper > #tool-section {
        padding-top: 110px;
    }
    #test-flag + #wrapper #main-navigation {
        min-height: 100%;
    }

    /*

        1. Defaults

    */

    .hide-desktop {
        display: block;
    }
    .hide-max {
        display: none;
    }

    #wrapper {
        overflow: hidden;
    }
    #main-section {
        padding-top: 140px;
    }

    #tool-section {
        padding-left: 20px !important;
    }

    select[multiple="multiple"] option {
        margin-bottom: 10px;
    }

    /* main navigation */
    #top-section {
        padding-left: 0;
        min-width: 0;
        max-width: 1300px;
        height: auto;
        min-height: 60px;
        max-height: 120px;
        /* temp */
        height: 60px;
        z-index: 5000;
    }

    /* mainNavigation */
    #main-nav-wrapper {
        position: fixed;
        left: -100%;
        width: 100%;
        height: 100%;
        overflow: scroll;
        background: rgba(0, 0, 0, 0);

        -webkit-transition: .25s;
        -moz-transition: .25s;
        -ms-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }
    #main-nav-wrapper.open {
        left: 0;
        background: rgba(0, 0, 0, 0.25);
    }
    #main-navigation {
        position: relative;
        left: 0;
        margin-left: 0;
        display: block;
        background: #fff;
        max-width: 440px;
        min-width: 320px;
        min-height: 100%;
        min-height: calc(100% - 60px);
        text-align: left;
        -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

        -webkit-transition: .25s;
        -moz-transition: .25s;
        -ms-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }

    /* main navigation nav styles */
    #main-navigation .back-button {
        display: block;
        opacity: 0;
        visibility: hidden;

        -webkit-transition: .25s;
        -moz-transition: .25s;
        -ms-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }
    #main-navigation > li.back-button > a {
        font-weight: 400;
    }
    #main-navigation > .back-button {
        position: absolute;
        left: 100%;
        z-index: 10;
    }
    #main-navigation li {
        position: static;
        width: 100%;
        float: none;
        opacity: 1;
        border-bottom: 1px solid #f5f5f5;
    }
    #main-navigation li a {
        color: #222;
        border-bottom: none;
    }
    #main-navigation li ul {
        max-height: none;
        position: absolute;
        left: 100%;
        top: 0;
        width: 100%;
        max-width: 440px;
        min-width: 320px;
        min-height: 100%;
        opacity: 0;
        visibility: hidden;
        background: #ffffff;

        -webkit-transition: .25s;
        -moz-transition: .25s;
        -ms-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }
    #main-navigation > li.active > a .marker,
    #main-navigation > li:hover > a .marker {
        display: none;
    }

    /* lvl1 */
    #main-navigation.lvl1 {
        left: -440px;
    }
    #main-navigation.lvl1 > .back-button {
        opacity: 1;
        visibility: visible;
    }
    #main-navigation li.hover > ul {
        display: inline-block;
        opacity: 1;
        visibility: visible;
        overflow: visible;
    }
    #main-navigation li.active {
        background-color: #2ab5f7;
    }
    #main-navigation li.active > *,
    #main-navigation li.active > a > * {
        color: #fff;
    }
    #main-navigation li.active > ul {
        background-color: #fff;
        color: #222;
    }
    #main-navigation li.active > ul a {
        position: relative;
        color: #222;
    }

    /* lvl2 */
    #main-navigation.lvl2 {
        left: -880px;
    }
    #main-navigation.lvl2 .back-button.lvl1 {
        opacity: 1;
        visibility: visible;
    }

    #main-navigation li ul ul {
        top: -60px;
        margin-top: 0;
        margin-left: 0;
        background-color: #fff;
    }
    #main-navigation li ul ul li {
        padding: 0px;
    }
    #main-navigation li ul ul li a {
        padding: 20px;
    }

    /* user and impersonation holder mobile */
    .user-info-holder,
    .impersonation-holder {
        padding-left: 20px;
    }

    .user-info-holder,
    .impersonation-holder,
    .organisation-switch-holder {
        display: block;
        float: none !important;
        max-width: 440px;
        min-width: 320px;
        min-height: 60px;

        padding-left: 0;
        padding-right: 0;

        background: #3570db;
    }
    .user-info-holder a,
    .impersonation-holder a,
    .organisation-switch-holder a {
        padding-left: 20px;
    }
    .user-info-holder a + ul,
    .impersonation-holder a + ul,
    .organisation-switch-holder a + ul {
        position: static;
        display: block;

        width: 100%;
        max-height: 0;

        background: #f2f2f2;
        padding-left: 0;

        -webkit-transition: max-height .25s;
        -moz-transition: max-height .25s;
        -ms-transition: max-height .25s;
        -o-transition: max-height .25s;
        transition: max-height .25s;
    }
    .user-info-holder a.hover + ul,
    .impersonation-holder a.hover + ul,
    .organisation-switch-holder a.hover + ul {
        max-height: 1000px;
    }
    .user-info-holder > ul > li,
    .impersonation-holder > ul > li,
    .organisation-switch-holder > ul > li {
        border-bottom: 1px solid #ffffff;
        padding-left: 0px;
        background: none;
    }

    .user-info-holder > ul > li > a,
    .impersonation-holder > ul > li > a,
    .organisation-switch-holder > ul > li > a {
        color: #222222;
    }


    .top-navigation-link-profile-triangle {
        display: none;
    }
    #show-left-section-button {
        display: none;
    }
    #main-navigation > li {
        background-color: transparent;
    }
    #main-navigation > li.active .top-navigation-link-triangle {
        display: none;
    }

    #main-navigation > li > a {
        padding: 0 30px 0 20px;
    }
    #main-navigation > li > a .count {
        position: static;
        display: inline-block;
        margin-left: 5px;
        top: 21px;
        right: 20px;
        color: #ffffff;
    }
    #main-navigation > li > a .icon-custom-next {
        position: absolute;
        right: 20px;
        top: 20px;
        display: inline-block;
    }
    #main-navigation .back-button {
        position: absolute;
        left: 100%;
        width: 100%;
        background-color: #fff;
        border-bottom: 1px solid #f2f2f2;
        font-weight: 400;
    }
    #main-navigation .back-button .icon-custom-prev:before {
        margin-right: 10px;
    }
    #main-navigation.lvl1 .back-button {
        display: block;
        opacity: 1;
        visibility: visible;
        z-index: 100;
    }
    #main-navigation > li:hover > a,
    #main-navigation > li:active > a,
    #main-navigation > li:focus > a {
        background-color: #fff;
    }
    #main-navigation > li.active:hover > a,
    #main-navigation > li.active:active > a,
    #main-navigation > li.active:focus > a {
        background-color: #2ab5f7;
    }

    #main-navigation > li > ul,
    #main-navigation > li:hover > ul {
        padding-top: 60px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .logo-holder {
        width: auto;
        margin-left: 20px;
        margin-right: 5px;
        height: 60px;
        min-width: 100px;
    }
    .logo-holder > p {
        display: none;
    }

    .mobile-nav-button {
        position: relative;
        float: right;
        width: 60px;
        height: 60px;
        display: inline-block;
    }
    #mobile-left-section-btn {
        display: none;
        position: relative;
        width: 40px;
        height: 60px;
        float: left;
    }
    .burger > div {
        width: 30px;
        height: 3px;
        background: white;

        position: absolute;
        left: 15px;

        transition: all .25s ease;
    }
    #mobile-left-section-btn > div {
        left: 10px;
    }
    .burger > div:first-child {
        top: 20px;
    }
    .burger > div:nth-child(2),
    .burger > div:nth-child(3) {
        top: 28px;
    }
    .burger > div:last-child {
        top: 36px;
    }
    .burger.open > div:first-child,
    .burger.open > div:last-child {
        opacity: 0;
    }
    .burger.open > div:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .burger.open > div:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* responsive width */
    .progress-widget, #right-form-holder {
        display: block;
        position: absolute;
        background: white;
        padding-left: 30px;
        box-sizing: border-box;
        width: 270px;
        transition: all .25s ease;
        right: -270px;
    }
    .progress-widget.open, #right-form-holder.open {
        right: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }
    #filter-section.open {
        right: 0;
    }
    .main-form-holder {
        width: 100%;
        max-width: 1300px;
    }

    /* right progress-widget */
    #show-progress-widget-button {
        position: fixed;
        right: 0;
        top: 60px;
        padding: 0;
        width: 34px;
        z-index: 25;
    }

    /* detail view */
    .main-row .g-3-10, .main-row .g-7-10,
    .row .g-1-3, .row .g-2-3, .row .g-7-10 {
        float: none;
        width: 100%;
    }
    .row .g-3-10 {
        float: none;
        width: auto;
    }
    .g-7-10 > .g-1-3,
    .g-7-10 > .row > .g-1-3 {
        width: 33%;
    }
    .form-button-row .g-3-10,
    .form-button-row .g-7-10 {
        width: auto;
        float: left;
    }
    .form-button-row .g-3-10 a {
        padding-left: 20px;
    }
    .main-form-holder label {
        float: none;
        display: inline-block;
        margin-bottom: 10px;
    }
    .label-view {
        text-align: left;
        padding-left: 0;
    }
    .g-3-10 > p {
        text-align: left !important;
    }
    a.btn {
        display: inline-block;
        padding: 0 12px;
        background: #a3b1bf;
        color: white;
        min-height: 27px;
        padding-top: 3px;
        border-radius: 4px;
        margin-bottom: 2px;
    }
    a.btn:hover, a.btn:focus, a.btn:active {
        color: white;
    }
    a.btn .icon-pencil-squared {
        position: relative;
        top: 1px;
        color: white !important;
    }

    #notification-section {
        left: 0;
        z-index: 1000;
    }
    .notification-bar-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
    .notification-bar {
        height: auto;
        position: relative;
    }
    #notification-section .circle-notification {
        position: absolute;
        left: 10px;
        top: 0;
    }
    #notification-section p {
        float: none;
        line-height: 20px;
        padding: 15px 0 15px 5px;
    }
    #notification-close {
        display: none;
    }
    .entries-per-page-holder {
        padding-right: 100px;
        padding-top: 5px;
    }

    .input-holder span[class*="icon"] {
        margin: 0;
        top: auto;
    }

    /* sidebar */
    .edit-view-right-bar {
        right: -286px;

        -webkit-transition: .25s;
        -moz-transition: .25s;
        -ms-transition: .25s;
        -o-transition: .25s;
        transition: .25s;
    }
    .edit-view-right-bar.open {
        right: 0;

        -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.125);
        -moz-box-shadow: 0 0 50px rgba(0, 0, 0, 0.125);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.125);
    }

    .main-form-holder span.right {
        float: none;
    }

    .medic-icon {
        display: none;
    }

}

@media (min-width: 1025px){
    #main-navigation > li:hover > ul {
        display: none;
    }
    #main-navigation > li.impersonation-holder:hover > ul {
        display: block;
    }
}

@media (max-width: 1024px){
    /* mobile table wrap styles */
    .table-wrap {
        position: relative;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .table-wrap .datatable {
        min-width: 1080px;
    }
    .datatable-tools-holder {
        left: 0;
        right: auto;
    }
    .datatable .table-body .table-cell {
        padding: 15px 10px 10px 0;
    }
    .scroll-right {
        display: block;
        position: absolute;
        right: 0;
        width: 40px;
        height: 100px;
        background: rgba(245, 245, 245, 0.8);
        color: #191919;

        -webkit-transition: .25s;
        -moz-transition: .25s;
        -ms-transition: .25s;
        -o-transition: .25s;
        transition: .25s;

        -webkit-box-shadow: 0 0 60px rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0 0 60px rgba(0, 0, 0, 0.25);
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.25);
    }
    .scroll-right span {
        position: absolute;
        width: 40px;
        line-height: 50px;
        display: inline-block;
        text-align: center;
        top: 50%;

        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .scroll-right.fadeout {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 1024px) {
    .hide-tablet-landscape {
        display: none;
    }
    .photo-of-the-day-copyright {
        display: none;
    }
    .business-open-interval.datatable .table-body .table-cell:first-child {
        padding-top: 15px;
    }
    .main-form-holder .form-button-row {
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        background: #f5f5f5;
        z-index: 1000;
        padding: 5px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .main-form-holder .form-button-row > div,
    .main-form-holder .form-button-row > .button,
    .main-form-holder .form-button-row > button {
        width: 50%;
        float: left;
        margin: 0;
        text-align: center;
        padding: 0;
    }
    .main-form-holder .form-button-row > div > button,
    .main-form-holder .form-button-row > div > .button {
        width: 100%;
        margin: 0;
    }
    #main-section {
        padding-top: 20px;
    }
    #main-section.fullwidth > .button-row {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .section-title-row:first-child {
        margin-top: 0px;
    }
    .section-title-row:first-child h2 {
        margin-top: 10px;
    }

    #bottom-section {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    .hide-tablet-portrait {
        display: none;
    }

    #login-section {
        width: 100%;
        max-width: 400px;
    }
    #login-top {
        padding: 40px;
    }
    #login-triangle {
        left: 20px;
    }
    #login-main {
        margin-bottom: 60px;
        padding: 0 20px;
    }
    #login-bottom {
        padding-left: 20px;
    }
    .logo-svg {
        width: 100%;
        max-width: 312px;
    }
    .login-logo {
        margin: 0;
    }
    #wrapper {
        padding-bottom: 80px;
    }

    .business-hours-delete-cell .datatable-tools-holder {
        left: auto;
        display: block;
        z-index: auto;
    }

    /* form */
    .form-label {
        float: none;
        width: 100%;
    }
    .form-label label {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .form-label label,
    .form-label .field-description {
        text-align: left;
    }
    #bottom-section {
        position: static;
        margin-top: 50px;
    }
}

@media (max-width: 480px) {

    .hide-mobile {
        display: none;
    }

    #test-flag + #wrapper > #tool-section {
        padding-top: 110px !important;
    }
    #test-flag + #wrapper > #main-section {
        padding-top: 0 !important;
    }
    #test-flag + #wrapper > #show-progress-widget-button {
        top: 110px;
    }

    #show-progress-widget-button {
        width: 45px;
    }
    #show-progress-widget-button span {
        line-height: 50px;
        font-size: 20px;
    }
    .edit-view-right-bar {
        top: 10px;
    }

    .user-info {
        position: relative;
    }
    .user-info > a {
        padding-right: 10px;
    }
    .user-info-holder {
        padding-right: 60px;
    }
    #mobile-left-section-btn {
        display: inline-block;
    }
    #show-left-section-button {
        display: none;
    }
    #tool-section {
        position: static;
        height: auto;
        padding-left: 20px;
    }
    #tool-section .tool-section-row {
        height: auto;
    }
    .tool-section-title-holder,
    .tool-section-title-holder p {
        float: none;
    }
    .tool-section-title-holder {
        padding-top: 5px;
    }
    .tool-section-title-holder p:first-child {
        margin-top: 5px;
    }
    .tool-section-title-holder p:first-child,
    .tool-section-title-holder p:nth-child(2) {
        line-height: 26px;
        margin-bottom: 12px;
        margin-top: 7px;
        border-right: none;
    }

    .main-form-holder .main-row .left-padding {
        padding-left: 0;
        margin-top: 10px;
    }
    .main-form-holder .main-row .right-padding {
        padding-right: 0;
        margin-bottom: 10px;
    }
    form .main-row button.bg-white {
        padding-left: 0;
        margin-left: 0;
    }

    .event p {
        padding-left: 50px;
    }
    .event p.event-mutation-padding {
        padding-left: 0;
    }
    #intercom-container {
        display: none;
    }
    body.help #intercom-container {
        display: block;
    }

    .datatable-tools-holder > .button,
    .datatable-tools-holder > button {
        float: left;
    }

    /* form smartphone */
    .form-field {
        margin-bottom: 20px;
    }
    .form-label label {
        margin: 0 0 5px;
    }
    .input-size-ms, .input-size-s, .input-size-sm, .input-size-m, .input-size-l, .input-size-xl {
        max-width: none;
    }
    .form-input {
        width: 100%;
    }
    .form-input:first-child {
        margin-left: 0;
    }
    .form-input + .form-input {
        margin-left: 0;
        margin-top: 10px;
    }
    .form-input > p {
        margin-top: 0 !important;
    }
    .canton-icon-small {
        margin-top: 0;
    }
    .form-input .button-polite {
        padding-left: 0;
        padding-right: 0;
    }

    .button-row {
        height: auto;
    }

    .button-row button + button,
    .button-row button + .button,
    .button-row .button + button,
    .button-row .button + .button {
        margin-left: 0;
        margin-top: 10px;
    }

    .table-body .table-row:hover .datatable-tools-holder,
    .table-body .table-row.small-row:hover .datatable-tools-holder {
        display: none;
    }
    .table-body .table-row.hover .datatable-tools-holder,
    .table-body .table-row.small-row.hover .datatable-tools-holder {
        display: block;
    }

}

@media (max-width: 440px){
    #main-navigation.lvl1 {
        left: -100%;
    }
    #main-navigation.lvl2 {
        left: -200%;
    }
}
