html, body {
    width: 100%;
    height: 100%;
    padding: 0px;
    /*overflow:hidden;*/
    font-family: sans-serif;
}
body
{
    font-size: 10pt;
    background-color: #efefef;
}
form
{
    width:100%;
    height: 100%;
}
a
{
    color:black;
}
form.k-filter-menu.k-popup {
    width: unset;
    height: unset;
}
/* ----- blurred background ----- */
/*.jemm-overlay {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001
}*/
/* ----- Quick menu ----- */
#headerMenu {
    padding: 4px;
    margin: 0px;
    cursor: pointer;
}

#headerMenu li {
    list-style-type: none;
    display: inline;
    padding-right: 8px;
}
#headerMenu li:hover {
    background-color: rgb(48,48,48);
}
#headerMenu li ~ li {
    padding-left: 8px;
    border-left: 1px solid;
}
#headerMenu i {
    font-size: 16px;
    vertical-align:baseline !important;
}
#headerMenu i:before {
    margin-left: 0;
}

/* ----- Sub menu ----- */
.jemmVSplitter, .subMenuContentPanel {
    height: 100%;
    border-style: none;
}
.subMenuPanel.k-pane {
    text-align:center;
}
.subMenuPanel li {
    text-align: left;
}
.subMenuButtonPanel {
    text-align: center;
}
.subMenuPanel, .subMenuButtonPanel {
    overflow: visible !important; /* Make menu overlap the splitter */
    /*background-color: #EAEAEA !important;*/
}
#subMenuElement, .subMenuButtonPanel button {
    top: 8px;
    position: relative;
    z-index:5002;
}
.subMenuButtonPanel button{
    width: 85px;
}
.k-menu li[disabled] {
    pointer-events: none;
}
li.k-item[rule='BROKEN'] {
    text-decoration: line-through;
}

/* ---------------------- */

.headerPanel, .footerPanel {
    color: white;
    background-color: rgb(64, 64, 64);
}
.mainContainer > div:first-child
{
    top:0px;
}
.mainContainer > div:last-child
{
    bottom:0px;
}
.headerPanel
{
    position:absolute;
    /*top:0px;*/
    width:100%;
    height:66px;
}
.contentPanel 
{
    position:absolute;
    top:66px;
    bottom:21px;
    width:100%;
}
.footerPanel
{
    position:absolute;
    bottom:0px;
    width:100%;
    line-height:20px;
}
.cycle-slide
{
    padding-left:4px;
}
.menuPanel {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 30px;
    z-index: 8000;
}
.menuPanel .k-menu-horizontal
{
    width:100%;
    border-top-style: none;
    border-left-style: none;
    border-right-style: none;
}
.menuContentPanel 
{
    position:absolute;
    top:31px;
    bottom:0px;
    width:100%;
}
.mainContainer, .contentContainer
{
    position:relative;
    width:100%;
    height:100%;
}
.headerPanel {
    background: #404040; /*Solid color when no gradient support*/
    background: linear-gradient(#404040, #606060);
}
.headerPanel .headerLogo, .headerPanel .headerLogoOverlay {
    position:fixed;
    top:0px;
    right:0px;
    width:66px;
    height:66px;
}
.headerPanel .headerLogo {
    background-image:url('custom/logo.png');
    background-size:contain;
}
@keyframes LogoAnimation {
    0% { background-position: 0% 100%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 100%; }
}
.headerPanel .headerLogoOverlay {
    background: linear-gradient(45deg, rgba(128,128,128,.1), rgba(255,255,255,.3));
    background-size: 110% 110%;
    animation: LogoAnimation 5s infinite;
}
.headerPanel #headerTime {
    position: absolute;
    left: 5px;
    bottom: 4px;
    text-transform: uppercase;
}
.headerPanel #headerTime .k-icon
{
    /*/font-size: 14px;
    display: inline-block;
    vertical-align:top;*/
    vertical-align:text-bottom !important;
}
.headerPanel #headerTime span
{
    padding-left:3px;
    font-size: 12.5px;
}
.headerPanel #headerText, .headerPanel #headerStatus, .headerPanel #headerSelector {
    padding-top: 21px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
}
.headerPanel #headerStatus {
    font-style:italic;
    padding-left:8px;
}
.headerPanel #headerStatus:empty {
    display: none;
}
.headerPanel #headerStatus:before {
    content:'[ ';
}
.headerPanel #headerStatus:after {
    content: ' ]';
}
.headerPanel #headerSelector {
    text-transform:uppercase;
    background-color:transparent;
}
.headerPanel #headerSelector .k-dropdown {
    width:auto;
    background-color:inherit;
}
.headerPanel #headerSelector .k-dropdown-wrap {
    height: 23px;
    background-color:inherit !important;
}
.headerPanel #headerSelector .k-input {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color:inherit;
    color:white;
}
.headerPanel #headerSelector .k-select .k-icon {
    vertical-align: baseline !important;
    color: white;
}
.jemmSplitter {
    height: 100%;
    border: 0px;
}
.jemmSplitter .k-content-frame {
    visibility: hidden;
}
.jemmCentered {
    height: 100%;
    display: flex;
    align-items: center; /* Vertical */
    justify-content: center; /* Horizontal */
}

/* Object Editor */

.dynamiceditor [jemmControl] > label {
    width: 170px;
    display: inline-block;
    padding-right: 5px;
    vertical-align: top;
    /*font-weight: bold;*/
}

.dynamiceditor[jemmmode='create'] [jemmControl] > label, .dynamiceditor[jemmmode='update'] [jemmControl] > label {
    top: 6px;
    position: relative;
}
.dynamiceditor [jemmControl] > .clsTextFloat > textarea, .dynamiceditor [jemmControl] > .clsTextFloat > input[type=text] {
    width: calc(100vw - 220px);
    resize: vertical;
}
.dynamiceditor .clsTextMemoFloat br {
    display: block; /* but allow the br's in the memo fields */
}
.subMenuContentPanel > table > tbody > tr > td {
    padding: 10px; /* pad the container that holds the dynamic content of the Object Editor */
}
.dynamiceditor [jemmControl] > .clsTextFloat > textarea {
    padding: 6px;
}
.clsActionDescriptionFloat {
    font-size: 12pt;
    font-weight: bold;
    color: inherit;
}
.clsPanelouter, .clsPanelouter:visited {
    background-color: #E0E0E0;
    /*display: flex;*/
}

.clsPanelLeft, .clsPanelRight, .clsPanelFull {
    display: inline-block;
    vertical-align: top;
    padding: 10px;
    padding-top: 5px;
    background-color: #E0E0E0;
}
.clsPanelRight {
    border-left: 10px;
    border-color:red;
}
.clsPanelouter {
    margin-top: 10px;
}
.clsPanelouter:last-of-type {
    margin-bottom: 10px;
}
.clsPanelouter span, .clsPanelFull span, .clsPanelLeft span, .clsPanelRight span {
    display: block;
}
span[id$='cphMain_ObjectUserControl1_DynamicEditor1'] > div:last-child > span {
    display: block; 
}
.clsPanelouter:empty, .clsPanelFull:empty {
    display:none;
}
.clsPanelLeft {
    width: 50%
}
.clsTextFloat, .clsCaptionFloat, .clsCaptionFloatLarge, .clsMandatoryFloat {
    display: inline-block !important;
}
.clsTextFloat > span, .clsCaptionFloat > span, .clsCaptionFloatLarge > span {
    display: inline-block;
}
.dynamiceditor span.k-invalid-msg {
    display: none;
}
.dynamiceditor [jemmControl] > span {
    display: inline-block !important;
    /* Put all elements in a control in the same line, no line break */
}
.dynamiceditor > div > [jemmControl='LabeledText'] span, .dynamiceditor[jemmmode='view'] > div > [jemmControl='LabeledDate'] span {
    padding-left: 10px;
    width: calc(100vw - 230px);
    white-space: pre-wrap; /* makes \r\n break lines */
    /* align the text controls with the controls in the panels */
}
.clsCaptionFloatLarge, .clsCaptionFloat {
    width: 180px;
    padding-right: 10px;
    vertical-align: top;
}

span[jemmattrib], div[jemmattrib] {
    padding-top: 12px;
}
.clsPanelouter span[jemmattrib] > div, .clsPanelouter div[jemmattrib] > div {
    padding-top: 0px;
}
.clsPanelouter span[jemmattrib], .clsPanelouter div[jemmattrib] {
    padding-top: 5px;
}
span[jemmattrib="FullAuditTrail"] {
    font-size:11px;
    padding-top:12px;
    color:darkgrey;
}
span[jemmattrib="FullAuditTrail"] .clsAuditCaptionFloat {
    float: left;
    width: 105px;
}
span[jemmattrib="FullAuditTrail"] .clsAuditInfoFloat {
    width: calc(100vw - 120px);
}
[jemmcontrol='LabeledAuditInfo'] > .clsTextFloat > span > span:nth-of-type(even) {
    display: block;
}
span[jemmattrib="FullAuditTrail"] [disabled] {
    display: none;
}
span[jemmattrib="AttachmentList"] .clsCaptionFloat {
    vertical-align: top;
    width: 20px !important;
}
.jemmHiddenControl {
    display: none;
}
/* --------------- */

span[jemmRequired] > label::after {
    content: '*';
    display:inline-block !important;

}
.k-textbox.k-invalid, .k-listbox .k-invalid {
    border-color: rgba(243,23,0,5);
}
.k-widget.k-invalid-msg {
    display: none !important;
}

/* --------------- */
.jemmDeleted {
    opacity: 0.1;
    pointer-events: none;
    cursor: default;
}

/* --------------- */

span[jemmcontrol="LabeledMultipleSelect5"] .k-listbox-toolbar {
    margin-left:0px !important;
}

span[jemmcontrol="LabeledMultipleSelect5"] .k-listbox-toolbar li {
    margin-bottom:-2px !important;
}

span[jemmcontrol="LabeledMultipleSelect5"] .k-listbox {
    width: 236px;
}

span[jemmcontrol="LabeledMultipleSelect5"] .k-listbox:first-of-type {
    width: 270px;
}

span[jemmcontrol="LabeledMultipleSelect5"] .k-listbox .k-item {
    white-space: nowrap;
}

/* --------------- */

span[jemmcontrol="htmllistcontrol"] .k-listbox-toolbar {
    margin-left: 0px !important;
}

    span[jemmcontrol="htmllistcontrol"] .k-listbox-toolbar li {
        margin-bottom: -2px !important;
    }

span[jemmcontrol="htmllistcontrol"] .k-listbox {
    width: 236px;
}

    span[jemmcontrol="htmllistcontrol"] .k-listbox:first-of-type {
        width: 270px;
    }

    span[jemmcontrol="htmllistcontrol"] .k-listbox .k-item {
        white-space: nowrap;
    }

/* --------------- */

span[jemmcontrol] .k-tabstrip {
    background: none;
    border: none;
    box-shadow: none;
}

span[jemmcontrol] .k-tabstrip-wrapper {
    display:inline;
}

span[jemmcontrol] .k-tabstrip input[type=radio], span[jemmcontrol] .k-tabstrip input[type=radio] + label {
    display: none;
}

span[jemmcontrol] .k-tabstrip .k-content input, span[jemmcontrol] .k-tabstrip .k-content .k-widget {
    margin-right: 5px;
}

/* --------------- */

span[jemmcontrol="LabeledInjectionDependencies5"] .LabeledInjectionDependencies5ddl {
    width:350px;
}

span[jemmcontrol="LabeledInjectionDependencies5"] .k-textbox {
    width: 110px;
}

/* --------------- */

[jemmcontrol='LabeledLocation5'] .clsTextFloat > div {
    float:left;
    margin-right:10px;
}

/* --------------- */

input::placeholder {
    opacity: 0.5;
}


/* Add Menu loading text */
/*.menuLoading {
    padding-left: 9px;
    padding-top: 8px;
    display: inline-block;
}*/

/* --------------- */

[jemmcontrol='LabeledDropDownTree5'] .k-dropdowntree {
    width: 75vw;
}

.k-popup-dropdowntree > div{
    max-height: 50vh;
}

/*[jemmcontrol='LabeledDropDownTree5'] > .clsTextFloat {
    width: 80vw;
    overflow: scroll;
}
[jemmcontrol='LabeledDropDownTree5'] > .clsTextFloat > span.kendoDropDownTree {
    width: 100%;
}*/
/* --------------- */
.clsMandatoryDescriptionFloat {
    font-size: 8pt;
}

/* --------------- */

span[jemmattrib="meeting"] ul {
    display: inline-block;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

/* --------------- */

[jemmcontrol='LabeledTreeControl'][jemmattrib='ActorList'] > table
{
    display: inline-block;
}

/* --------------- */
/* RFC Answer dialog */

.k-form-footer {
    display: flex;
}

.k-counter-container {
    color: #9C9C9C;
    font-size: 13px;
    margin-top: 5px;
    margin-left: auto;
}

/* --------------- */

.legacyListBox, .legacyScrollablePanel {
    padding: 2px;
    border: solid 1px #ebebeb;
    background-color: #fff;
    margin-right:5px;
}

.legacyScrollablePanel > a
{
    display: none;
}

.legacyScrollablePanel {
    border-style: none !important;
}

.legacyListBox option {
    color: #676767;
}

.legacyTable {
    border-spacing: 0px;
}

.legacyTable input.RemoveEntry, .legacyTable input.AddEntry {
    padding-right: 5px;
}

.legacyTable .addAdhocActor
{
    display:none;
}

.legacyListBox:focus, .legacyTable input[type='image'] {
    outline: none;
    border-width: 0px;
}

.legacyTable > tbody > tr > td {
    padding: 0px;
}

.legacyTable .addAdhocActor {
    display:none !important;
}

.legacyScrollablePanel .clsNode {
    vertical-align: top;
    padding-left: 4px;
}

/* --------------- */

.locationPoint {
    cursor: pointer;
}

/* --------------- */

tr.locked {
    color: lightgrey;
}

tr.emphasize {
    font-style: italic;
}

/* --------------- */

.olImageLoadError {
    opacity: 1.0 !important;
    background: url("custom/tileerror.png") no-repeat scroll 0 0 transparent !important;
    /*visibility: hidden !important;*/
}

input[jemmpurpose='dependentdays']
{
    width: 50px !important;
}

input[jemmpurpose='dependenttime']
{
    width: 75px !important;
}

span[aria-owns$='beforeafter_listbox']
{
    width: 100px;
}