html, body, #bodyContainer {
    margin: 0;
    padding: 0;
    height: 100%;
}

html {
    overflow-y: scroll;
    font-size: 10px;
}

body {
    -webkit-font-smoothing: antialiased;
    line-height: 22px;
    font-size: 13px;
    color: #000;   
    font-family: Helvetica,Arial,sans-serif;
}

.topAlign {
    vertical-align: top;
}

#logoText
{
    color: #2D92CC;
    font-size: 22px;
}

.titleIcon, .tableIcon
{
    font-size: 24px;
    color: #666665;
    width: 25px;
    height: 25px;
}

.titleIconDisabled
{
    color: #CCC;
}

h3 .titleIcon, h4 .titleIcon, .tableIcon
{
    font-size: inherit;
}

.headerButton {
    line-height: 1em;
    padding-top: 2px;
    padding-bottom: 4px;
    margin: -7px 0px -4px 0px;
    padding-left: 6px;
    padding-right: 6px;
}

#headerContextMenuContainer{
    display: inline-block;
    float: right;
}
/*
-------- Containers
*/
#bodyContainer {
    min-height: 100%;
    position: relative;
}

#menuContainer
{
    margin-top: 5px;
    margin-bottom: 5px;
}

#contentContainer
{
    padding: 40px;
    padding-top: 5px;    
	padding-bottom: 0;
    height: calc(100% - 120px);
}

#footerContainer
{
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
}


/*
-------- Links
*/

a:link, a:active, a:visited {
    color: #2D92CC;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*
-------- HEADERS
*/



h1, h2, h3, h4 {
    color: #2D92CC;
    margin-top: 0px;
    margin-bottom: 15px;
    font-family: Helvetica,Arial,sans-serif;
}

h1
{
    color: #000000;
}

h2 {
    margin-bottom: 10px;
}

h3 {
    margin-bottom: 5px;
}

h4 {
    margin-bottom: 5px;
}

h5, h6 {
    color: #8c8c8c;
    font-size: 18px;
    margin-bottom: 7px;
    font-family: Helvetica,Arial,sans-serif;      
}

h6 
{
    font-size: 16px;
}


/*
--------- Form stuff
*/

input[type="text"], input[type="password"], input[type="tel"], input[type="email"], textarea {
    width: 250px;
}


/*
--------- Modal dialog fixes
*/
.k-block, .k-widget, .k-popup, .k-content, .k-toolbar, .k-dropdown .k-input {
    color: #000000;
}

.k-tooltip-content {
    color: white;
}

/*.k-block, .k-widget {
    line-height: 22px;
}*/

/* 
--- Business unit selector
*/

#businessUnitSelectorContainer
{
    position: relative;
    text-align: left;
}

/*#businessUnitSelectorButton span
{
    position: absolute;
    right: 3px;
}*/

#businessUnitSelectorButton {
    float: right;
    text-align: left;
    /*position: absolute;
    top: -15px;
    right: -1px;*/
    border: 1px solid #EBEBEB;
    padding: 5px;
    /* color: #999999;
    width: 274px;*/
}

#businessUnitSelectorButton:hover {
    border: 1px solid #CCCCCC;
    cursor: pointer;
}

#businessUnitSelectorTreeviewContainer
{
    display: none;
    padding: 5px;
    border: 1px solid #CCCCCC;
    position: absolute;
    top: -15px;
    right: -1px;
    width: 274px;
    z-index: 1000;
    background-color: #FFFFFF;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.3);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.3);
}

#businessUnitSelectorTreeview
{    
    overflow: hidden;
}

#businessUnitSelectorButtonBar
{
    padding-top: 5px;
    border-top: 1px solid #CCCCCC;
    text-align: right;
}

.businessUnitTreeViewItemLabel
{
	font-weight: normal;
}

.businessUnitTreeViewItemLabel.NotVisible
{
    color: #bebebe;
}

.tree-item-context-menu-item {
    margin-left: 3px;
    margin-right: 3px;
}
/*
------ Header
*/
#headerTable {
    width: 100%;
}

#logoContainer
{
    background-image: url('../Images/taloslabs_logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    padding: 10px;
    min-width: 200px;
}


#historyContainer
{
    white-space: nowrap;
    width: 300px;
    text-align: right;
    line-height: 16px;
}


#businessUnitContainer
{
    white-space: nowrap;
    width: 277px;
    text-align: right;
    line-height: 16px;
}

#businessUnitContainer #businessUnitLabel {
    margin-right: 40px;
    font-size: 1.4em;
    font-weight: bold;
}

#searchContainer
{
    text-align: center;
}

#logoutContainer h4
{
    display: inline-block;
}

#BaseSearch
{
    background-image: url('../Images/icon-glass.png');
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 25px;
}

.baseSearchParent
{
    padding-right: 25px;
    min-width: 400px;
}

table.searchResultTable
{
    margin-top: 3px;
    margin-bottom: 3px;
}

.searchResultTable td
{
    padding: 0px;
    word-spacing: 0px;
}

.searchResultIcon
{
    font-size: 34px;
    color: #666665;
    width: 40px;
    height: 40px;
}

.searchResultIconDisabled
{
    font-size: 34px;
    color: #CCCCCC;
    width: 40px;
    height: 40px;
}

.searchResultTitle
{
    color: #2d92cc;
    font-size: 16px;
    font-family: Helvetica,Arial,sans-serif;   
}

#headerUserContainer
{
    float:right;
}
    
#headerUserContainer h3
{
    display: inline;
    margin-right: 20px;
    /*vertical-align: bottom;
    line-height: 38px;*/
}


/*
--------- Footer
*/

div.footer {    
    background-image: url('../Images/border-black.png');
    background-repeat: repeat-x;
    padding-top: 10px;
    padding-left: 100px;
    padding-right: 100px;
}

div.footer a {
    color: #000;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 15px;
    margin-right: 20px;    
}

div.footer h1 {    
    float: right;
}

/*
--------- History
*/

.historyValue
{
    display: inline-block;
    text-align: center;
    color: #666666;
    height: 28px;
    width: 100%;
}

.historyItemTable {
    width: 100%;
    cursor: pointer;
}

.historyItemTable td
{
    padding: 0px;
    word-spacing: 0px;
}

.historyItemIcon
{
    font-size: 32px;
    color: #666665;
    width: 40px;
}

.historyItemTitle
{
    color: #2D92CC;
    font-size: 14px;
    font-family: Helvetica,Arial,sans-serif;
}

.historyItemDescription
{
    color: #8c8c8c;
}

/*
------ Logout dialog
*/

#logoutConfirmDialog, #loginDelayDialog, #changeTaskStatusDialog, #confirmationDialog
{
    display: none;
    text-align: center;
}

#logoutConfirmDialog h4, confirmationDialog h4, #logoutConfirmDialog a
{
    margin: 15px;
}

#confirmationDialog p
{
    text-align: left;
}

 #changeTaskStatusDialog h4
 {
     margin: 25px;
 }


/*
------ User settings dialog
*/
#userSettingsDialog
{
    display: none;
}

/* stupid bootstrap is removing the margins of my menuitem icons */
.k-menu .k-item > .k-link > .k-icon {
    margin-right: 4px;
}

/*
--------- Global styles
*/

.underlined {
    background-color: #f8f8f8;
}

.flatList li {
    display: inline;
    padding-right: 10px;
}

.flatList {
    padding-left: 0;
    margin-bottom: 0;
}

.small-gridbutton {
    min-width: 0px !important;
    padding: 0px 2px 0px 2px;
}

.small-gridbutton .fa {
    margin-top: 7px;   
}
    /*
--------- Talos logo
*/
    a.talosLogo {
        opacity: 0.3;
        filter: alpha(opacity=30); /* For IE8 and earlier */
    }

a.talosLogo:hover
{
    opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}
/*
--------- Validation
*/

.field-validation-error {
    background-color: transparent !important;
    color: #FF0000;
}

input.input-validation-error, textarea.input-validation-error {
    border: 1px solid red !important;
}

/*
--------- Worklists
*/
#WorkListMenu {
    width: fit-content;
}

.requestObjectMenuContainer {
    padding: 5px;
    font-size: 14px;
}

#workListContainerMenu {
    display: inline-block;
    vertical-align: top;
}

#WorkListMenu, #WorkListMultipleMenu, #WorkListSearchMenu {
    border-color: #09f;
    background-color: #09f;
    border-radius: 0.25rem;
}

#WorkListMenu > li > span:first-child, #WorkListMultipleMenu > li > span:first-child, #WorkListSearchMenu > li > span:first-child {
    color: white;
}

.workListMenuItem.workListOpen .k-menu-link {
    color: black !important;
}

.workListMenuItem.workListOpen.workListAssigned .k-menu-link {
    color: green !important;
    font-weight: bold;
}

.workListMenuItem.workListOpen.workListNotAssigned .k-menu-link {
    color: black !important;
}

.workListMenuItem.workListHidden .k-menu-link {
    color: lightgray !important;
}

.workListMenuItem.workListClosed .k-menu-link {
    color: red;
}

.workListMenuContainer > ul > li {
    padding: 0 !important; /* make worklist menu same height as the button(s) next to it*/
}

#WorkListSearchMenu
{
    margin: 0.16em;
}

.workListActionRow {
    display: none;
}
/*
--------- Notes
*/

#objectNotesContainerMenu {
    display: inline-block;
    vertical-align: top;
}

#addNoteDialog {
    display: none;
}

.taskNoteInput {
    width: 100% !important;
    padding-left: 4px;
}

.taskListContainer {
    width: 100%;
    max-height: 20em;
    overflow-y: scroll;
    border: 3px solid orange;
}

.taskListContainer table {
    width: 100%;
}

.taskNoteEditRow{
    display: none;
}

.taskNoteNameColumn{
    width: 150px;
}

.taskNoteDateColumn {
    width: 180px;
    text-align: right;
}

.loadingBlock {
    position: relative;
}

.loadingBlock:after {
  content: '';
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background-color: rgba(0,0,0,0.3);
  background-image: url('../Images/progressbar.gif');
  background-repeat: no-repeat;
  background-position: center;
}

.dropDownBlock {
    position: absolute; z-index: 999; box-shadow: 8px 8px 5px #888888;
}

.treeicon {
    font-size: 10pt;
    font-weight: normal;
    color: #666665;
}

.menuicon {
    font-size: 10pt;
    font-weight: normal;
}

.treeiconDisabled
{
    font-size: 10pt;
    font-weight: normal;
    color: #CCC;
}

.k-widget.k-treeview {
    color: #676767;
}

.grid-info-icon {
    color: #666665;
    margin-right : 2px;
}

.periodSelectionTable .k-numerictextbox {
    width: 55px;
}

.periodSelectionTable th {
    vertical-align: middle !important;
}

table.periodSelectionTable, .popoutContainer {
    position: absolute;
    border: 1px solid #ccc !important;
    box-shadow: 5px 5px 5px 5px #888;
    z-index: 100;
}

table.periodSelectionTable {
    max-width: 400px;
}

.popoutContainer {
    max-height: 600px;
    overflow-y: auto;
}

#ScheduleDetailsWindow {
    padding: 2px 5px 2px 5px;
}

.journalFieldset {
    margin-top: 20px;
    padding-right: 20px;
}

.journalFieldset legend {
    margin-bottom: 0px;
    font-size: 13px;
    font-weight: bold;
}

.journalFieldset table
{
    margin: 10px;
}

.auditTrailView {
    background-color: #cedef6;
}

.auditTrailCreate {
    background-color: #c3fdb8;
}

.auditTrailEdit {
    background-color: #f5deb3;
}

.auditTrailDelete {
    background-color: #f6ced8;
}

.saveButtonSuccess, .saveButtonSuccess:hover {
    background-color: green !important;
}

.saveButtonSuccess span {
    color: white;
}

.buttonList {
    padding-left: 0;
}

.listButton {
    height: 40px;
}

.listButton:hover {
    cursor: pointer;
    color: #2d92cc;
    font-weight: bold;
    background-color: #f8f8f8;
}

/* Business unit selector */

#businessUnitSelectorContainer {
    width: 450px;
    position: fixed;
    top: 0px;
    right: 0px;
    height: 100%;
    background-color: #FFF;
    border-left: 1px solid #CCCCCC;
    z-index: 10002;
    display: none;
    padding: 15px;
}

#businessUnitSearchField {
    width: 100%;
    border: 1px solid #CCCCCC;
    margin-bottom: 10px;
    background-image: url(../Images/icon-glass.png);
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 25px;
    margin-top: 8px;
    margin-bottom: 10px;
}

#businessUnitTreeContainer {
    width: 100%;
    height: calc(100% - 150px);
    border: 1px solid #CFCFCF;
    overflow-x: hidden;
    overflow-y: scroll;
}

#applyBusinessUnitSelectionBtn {
    position: absolute;
    width: 94%;    
    bottom: 10px;
}

.businessUnitSelectedCount {
    float: right;
    color: #8c8c8c;
}

.hasAdminPermissions {
    color: red;
    font-style: italic;
}


.requiredMark {
    color: red !important;
    white-space: nowrap;
    font-size: 12px;
    color: #808080;
}

/* auto-refresh */
.auto-refresh-grid-container label {
    font-weight: normal;
    margin: 0px;
    color: #666;
}

.auto-refresh-grid-container {
    margin-top: 5px;
}

.auto-refresh-grid-container input {
    border-color: #666;
    color: #666;
}

.k-toolbar{
    overflow: visible;
}

#banners-container {
    max-width: 100%;
    display: flex;
    flex-direction: column-reverse; /* Stack banners in reverse order */
    z-index: 1000;
    bottom: 5px;
    width: 100%;

}

#banners-container.not-loggedin {
    top: 5px;
}

    #banners-container.loggedin {
        bottom: 5px;
        position: fixed;
        margin-right: 1px;
        width: max-content !important;
        align-items: end;
        right: 1ex;
    }

    #banners-container .banner {
        box-shadow: 0 10px 8px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        width: 50vw;
        display: block;
        box-sizing: border-box;
        justify-content: space-between; /* Align content and close button to the right */
        background-color: white;
        margin: 5px;
        transition: width 0.5s ease;
    }

@media only screen and (max-width: 768px) {
    #banners-container .banner {
        width: 98vw;
    }
 }

#banners-container .banner i {
    margin-left: 6px;
    margin-top: 4px;
}

#banners-container .banner p {
    word-break: break-all;
    white-space: normal;
}

#banners-container .banner .title {
    min-height: 2.5em;
    padding: 2px;
}

#banners-container .banner .high-level-title {
    background: #FF0000 !important;
    color: white;
}

#banners-container .banner .medium-level-title {
    background: #FFD402 !important;
    color: black;
}

#banners-container .banner .low-level-title {
    background: #0099FF !important;
    color: white;
}

#banners-container .banner .message {
    min-height: 2.5em;
    max-height: 15em;
    overflow-y: scroll;
    padding: 2px;
}

#banners-container .banner .high-level-text {

}

#banners-container .banner .medium-level-text {

}

#banners-container .banner .low-level-text {

}

#banners-container .close {
    background-color: transparent;
    border: none;
    color: #721c24;
    cursor: pointer;
    font-size: 16px;
    float: right;
    justify-content: flex-end !important;
}

#banners-container .minmax {
    background-color: transparent;
    border: none;
    color: #721c24;
    cursor: pointer;
    font-size: 16px;
    float: right;
    margin-right: 5px;
    justify-content: flex-end !important;
}


#broadcast-details .high-level-title {
    background: #FF0000 !important;
    color: white;
}

#broadcast-details .medium-level-title {
    background: #FFD402 !important;
    color: black;
}

#broadcast-details .low-level-title {
    background: #0099FF !important;
    color: white;
}
#broadcast-details .message-box {
    height: 100px;
    overflow-y: auto;
}

.downloadSearchResultsIcon {
    height: 16px;
    margin-top: 0.5em;
}

#noteContainer {
    max-height: 200px;
    overflow-y: auto;
}

#page-loader-container {
    display: none;
}

#twoFactorAuthenticationKeyValidationForm .mfaQRImage{
    max-width: 30em;
}