html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* #region Navbar styles */
.navbar-header {
    border-bottom: 1px solid rgba(255,255,255, 0.1);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: lighter;
}

.navbar .branding img {
    height: 35px;
    max-width: 200px;
}

.navbar .logo img {
    height: 35px;
}

/* #endregion */


/* #region Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.85em;
}
/* #endregion */

/* #region custom Kendo UI styles */


h1 a {
    color: #fff;
    text-decoration: none;
}

h2 {
    font-weight: lighter;
}

.placeholder img {
    display: inline-block;
}

p .k-button {
    margin: 0 15px 0 0;
}

#configure {
    display: none;
}

p .k-button {
    margin: 0 15px 0 0;
}

.k-state-active .label {
    font-size: 1em;
}

#responsive-panel {
    padding: 0;
    width: 100%;
}

    #responsive-panel .k-menu {
        padding: .5rem;
    }
/* #endregion */

@media (max-width: 767px) {
    #responsive-panel {
        transition: all linear .2s;
    }

    #configure {
        display: block;
        float: right;
    }

    .k-rpanel {
        padding: 0 1rem;
    }

    .k-rpanel-expanded {
        padding: .5rem 1rem;
    }

    .navbar-header {
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .k-menu .k-item,
    .k-menu .k-link {
        width: 100%;
    }

    .k-widget.k-menu-horizontal > .k-item {
        border: none;
    }

    .k-menu .k-link {
        box-sizing: border-box;
    }
}


/* #region Kendo UI override styles */

.k-popup-edit-form .tabstrip-container {
    border-color: transparent;
    background-color: transparent;
}

div.k-edit-form-container {
    width: auto;
}

.k-edit-form-container div.k-tabstrip:focus {
    box-shadow: none;
}


.k-edit-label {
    width: 24%;
    white-space: nowrap;
}

.k-edit-field {
    width: 66%;
    margin-right: 5%;
}

.k-edit-field .k-textbox,
.k-edit-field .k-dropdown {
    width: 100%;
}


.k-listview {
    padding: 10px;
}


.listbox-container .k-listbox {
    width: 100%;
    height: 350px;
}


.fiori-tabstrip-container.k-widget.k-tabstrip {
    background-color: transparent;
    background-image: none;
    border-style: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.app-tabstrip ul.k-reset {
    margin-left: unset !important;
    margin-right: unset !important;
}

.app-tabstrip .k-tabstrip-items .k-item {
    background-color: #fff;
    border-width: 0 0 4px 0;
    border-bottom-style: solid;
    border-color: #5bc0de;
    margin: 0 1.8em 0 0;
}


.app-tabstrip .k-tabstrip-items .k-item .k-loading {
    border-top: unset !important;
}

.app-tabstrip .k-tabstrip-items-wrapper {
    border-style: none;
}

.app-tabstrip .k-tabstrip-items .k-item .k-link {
    font-weight: normal;
    text-transform: capitalize;
}

.app-tabstrip .k-tabstrip-items .k-item.k-state-active {
    border-color: #d9534f;
}

.app-tabstrip .k-tabstrip-items .k-item.k-state-active .k-link {
    color: red;
    font-weight: bold;
}


/* #endregion */


/* #region Custom styles */

.navbar-fixed-top {
    background-color: #2874a6;
    min-height: 45px;
    font-size: 16px;
    border-radius: 0px !important;
    padding: 0rem 1rem;
}

/*.navbar-top a, a.nav-item {
    color: #fff;
    text-decoration: none;
    padding: 0;
}*/

/*.navbar-top li a:hover {
    background-color: rgb(56,132,182);
}*/

.navbar-top .nav-item {
    padding-left: 15px;
}

.navbar-top .nav-item > a {
    color: #fff;
    text-decoration: none;
    line-height: 34px;
}

.navbar-top .nav-item .dropdown-toggle::after,
.k-link.dropdown-toggle::after {
    display: none;
}


.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu > li a:hover {
    background-color: rgb(56,132,182);
}


.k-grid .k-button, .k-grid .k-button:hover {
    min-width: unset !important;
    border-style: none !important;
    background-color: transparent !important;
    /*background-image:none !important;*/
    /*padding: 3px 5px;*/
    /*margin: 3px 5px;*/
}

.k-grid .k-button .glyphicon {
    margin-bottom: 3px;
}

/*.k-grid .k-grid-search */
.k-grid .k-grid-toolbar {
    display: flex;
    justify-content: flex-end;
}


.footer {
    min-height: 40px;
    color: white;
    /*font-size: 12px;*/
    background-color: #2874a6;
    /*position: relative;*/
    padding: 0rem 1rem;
}

.footer a {
    color: #fff;
    /*color: #d4d6d7;*/
    /*text-decoration: none;*/
}


.footer img {
    border: 0;
}

.footer a.social {
    font-size: 11px;
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.footer .icon:after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 3px 3px;
    margin: 5px 5px 0 0;
}

.footer .icon.rss:after {
    background: url(../images/rss-icon.png) no-repeat;
    background-size: cover;
}

.footer .icon.facebook:after {
    background: url(../images/facebook-icon.png) no-repeat;
    background-size: cover;
}

.footer .icon.twitter:after {
    background: url(../images/twitter-icon.png) no-repeat;
    background-size: cover;
}

.footer .icon.linkedin:after {
    background: url(../images/linkedin-icon.png) no-repeat;
    background-size: cover;
}

.footer .icon.app-pilot:after {
    background: url(../images/app-pilot.png) no-repeat;
    background-size: cover;    
}





/*.user-photo img {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    box-shadow: inset 0 0 1px #fcfcfc, inset 0 0 5px rgba(0,0,0,.1);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}*/

.user-photo {
    display: inline-block;
    max-width: 32px;
    max-height: 32px;
    line-height: 32px;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(0,0,0,.5);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.user-photo-big {
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,.25);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.app-icon {
    max-width: 32px;
    max-height: 32px;
    border-radius: 15%;
}

.imageBlock {
    display: inline-block;
    max-width: 150px;
    max-height: 150px;
    vertical-align: bottom;
    margin: 3px;
    position: relative;
}

.imageBlock .filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    width: 100%;
    position: absolute;
    bottom: 0px;
    background: rgb(0, 0, 0); /* fallback color */
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.thumb {
    max-width: 150px;
    max-height: 150px;
}

.deleteIcon {
    width: 30px;
    height: 30px;
}


div.tooltip-inner {
    padding: 10px;
    white-space: pre;
    max-width: none;
    text-align: left;
}

#edit-form .tab-container {
    min-height: 400px;
}

.tab-header {
    white-space: nowrap;
    font-weight: bold;
}

#user-edit-window .tab-container {
    max-height: 400px;
}


.checkbox-label {
    line-height: 16px;
    vertical-align: text-top;
}

.message-content {
    max-height: 500px;
    min-width: 300px;
    max-width: 500px;
    padding: 10px 20px;
}

.k-button.confirm_yes, .k-button.confirm_no {
    width: 75px;
}


#app-tabstrip .k-content {
    border: none;
    max-height: 100px;
    overflow: auto;
    padding: .92em 0;
}

.app-tile-container {
    display: inline-table;
    width: 100px;
    height: 100px;
    margin: 0 10px;
}

.app-tile-container:hover {
    background-color: aliceblue;
    -webkit-box-shadow: 3px 4px 3px 0px rgba(163,161,163,1);
    -moz-box-shadow: 3px 4px 3px 0px rgba(163,161,163,1);
    box-shadow: 3px 4px 3px 0px rgba(163,161,163,1);
    text-decoration: none !important;
}

.app-tile {
    padding: 15px 5px 0 5px;
    text-align: center;
    display: table-cell;
}

.app-tile .app-tile-img {
    max-height: 50px;
    max-width: 50px;
    border-radius: 7px;
}

.app-tile .app-tile-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    line-height: 35px;
    /*width: 100px;*/
    width: 90px;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.app-tile-img:hover, .app-tile-text:hover {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}


/* Matching scrollbar from powerBI */
* {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -ms-scrollbar-track-color: #d8d8ea;
    -ms-scrollbar-arrow-color: #c8c8c8;
    -ms-scrollbar-face-color: #c8c8c8
}

* ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent
}

* ::-webkit-scrollbar-thumb {
    background: #c8c8c8
}

* ::-webkit-scrollbar-track-piece {
    background: 0 0
}

iframe {
    border: none;
}

#powerbi-wrapper {
    padding-top: 10px;
}


.login-warning {
    height: calc(100vh - 130px);
    min-height: 400px;
}

#contact-window .version {
    position: fixed;
    left: 10px;
    padding-top: 5px;
    font-size: small;
}

textarea.k-textbox {
    padding-left: .571em;
    padding-right: .571em;
    min-height: 80px;
}

input.read-only {
    background-color: #f5f5f5 !important; /* WhiteSmoke*/
}

/* #endregion */

/* fix title being cut-off */
.k-window-title {
    overflow: unset;
}

/* fix drop down menu being cut-off */
.dropdown-menu {
    left: auto;
    right: 0;
}


/* Scrollspy, https://getbootstrap.com/docs/4.0/components/scrollspy */
.spy-container {
    position: relative;
    overflow-y: scroll;
    height: calc(100vh - 300px);
}

.spy-container .k-card {
    max-width: 1000px;
}

#spy-navbar {
    padding: 0.75rem 1rem;
    border-bottom: solid 1px #dedee0;
}

#spy-navbar .nav-pills .nav-link.active {
    color: unset;
    background-color: unset;
    border-radius: unset;
    border-bottom: solid 3px #187ebf;
}

#spy-navbar .nav-link {
    padding: 0.1rem 1rem;
}