html,body {
    font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    background: var(--cds-background, #ffffff);
    overflow: hidden;
    height: 100%;
}

#initloader {
    background: var(--cds-background, #ffffff);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index:9000;
}

.hide {
    display: none;
}

.redborder {
    border-style: solid;
    border-width: thick;
    border-color: red;
}

.greenborder {
    border-style: solid;
    border-width: thick;
    border-color: green;
}

.ui-tabs-panel {
    padding-bottom: 0px;
    height: calc(100% - 44px);
}

.maincanvas {
    margin-bottom: 5px;
    position: absolute;
}

.errormessage {
    color: red;
    white-space: pre;
    overflow-wrap: break-word;
}

#mainview {
    margin-top: 4rem;
    height: calc(100% - 4rem);
    display: none;
}

#subview {
    display: none;
}

#navbar {
    display: none;
    height: 4rem;
}

#tabs {
    height: 100%;
}

.blocklymain {
    display: flex;
    flex-flow: row;
}

.codeblock {
    width: 90%;
    height: 295px;
    margin-left: 5px;
}

#topinputs {
    width: 100%;
}

#topinputs li {
    display: inline;
}

.engine_item {
    display: inline;
    float: right;
}

.loader {
    position:absolute;
    top:200px;
    left:200px;
    z-index:10000;
    width: 100px;
    height: 100px;
    display: none;
}

#loadingtutorial {
    position: fixed;
    display: flex;
    flex-direction: column;
    left: 10px;
    top: 10px;
    z-index: 10005;
    background-color: white;
    width: 35em;
    height: 35em;

}

#urlinput {
    width: 70%;
}

.blocklyTreeLabel {
    font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}

.header_bar {
    display:flex;
    height:100%;
    flex: 1 1 0%;
    justify-content: flex-end;
}

#engine_button {
    float: right;
    clear: right;
}

.dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 14px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #2980B9;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content button {
    color: black;
    width: auto;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

#navbar cds-header-nav-item {
    height: 100%;
}

.navtoggle { 
    margin-bottom: 15px; 
    padding-left: 5px;
    padding-right: 5px;
}

#textview {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-right: 0.5em;
}

#textpanel[expanded] {
    width: 25rem;
}

#swagview {
    height: 100%;
    width: 100%;
}

#swagpanel[expanded] {
    width: 30rem;
    overflow: scroll;
}

.landingtile {
    padding: 10px;
}

.landinginputdiv {
    height: 100%;
    min-height: 5em;
}

.landinginputrow {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1em;
    height: calc(100% - 2.5em);
    margin-bottom: 1.5em;
    /* margin-left: 10px;
    margin-right: 10px; */
}

.landingbutton {
    /* margin-left: 1em;
    right: 1em;
    bottom: 1em;
    position: relative; */
    /* margin-top: 2em; */
    margin-top: auto;
    width: 15em;
    margin-left: auto;
    align-self: flex-end;
}

#landingopenbutton {
    display: none;
}

.landinginputbuttonrow {
    margin-left: auto;
    margin-top: auto;
}

.landinginput {
    width: 100%;
    margin-top: 1em;
}

.textbody {
    display: flex;
    height: 100%;
}

.textmodified .textbody {
    height: calc(100% - 4rem);
    margin-bottom: 0.5em;
}

.feedbackexpanded {
    height: calc(100% - 21rem);
}

.textmodified .feedbackexpanded {
    height: calc(100% - 24rem);
    margin-bottom: 1em;
}

.textbuttonset {
    display: none;
}

.textmodified .textbuttonset {
    display: flex;
    height: 3.5em;
    align-self: flex-end;
    width: 100%;
}

.textmodified .textacceptbutton {
    width: 50%;
    max-width: 50%;
}

/* .textmodified .textbody {
    background-color: LightSalmon;
} */

#landingheader {
    background-color: white;
}

#landingtiles {
    display: flex;
    flex-direction: row;
    flex: 1;
}

#landinginputtile {
    height: 100%;
}

.aislug {
    height: 20px;
    width: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.aisluginline {
    height: 15px;
    width: 15px;
    margin-left: 5px;
}


.tileheader {
    font-size: 1.5rem;
}

.tilebody {
    font-size: 1rem;
    margin-top: 1em;
}

.cdslandingtile {
    margin: 1em;
    width: 33%;
    min-height: 10em;
}

.tilearrow {
    height: 15px;
    width: 15px;
    position: absolute;
    bottom: 5px;
    right: 10px;
}

#landinginputcontainer {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 0.5em;
    flex: 1;
}

#landinginputtileopen {
    display: none;
}

#textview oasb-feedback {
    margin-top: auto;
    margin-bottom: 1rem;
}

#bottombar {
    display: flex;
    flex-direction: row;
}

/* #headersave {
    margin-left: auto;
} */

#suggestbtn {
    background-color: white;
    margin-left: auto;
}

#validatebtn {
    background-color: white;
    margin-left: 0.5em;
}

#headersuggest {
    margin-left: auto;
}


.headerbtnicon {
    height: 16px;
    width: 16px;
    position: absolute;
    right: 1em;
}

.headermainicon {
    height: 25px;
    width: 25px;
    margin-top: 3px;
    margin-left: 0.25em;
    margin-right: 0.25em;
}

#downloadbtn {
    display: flex;
    flex-direction: row;
    min-width: 5em;
    height: 3em;
    margin-right: 0.5em;
    margin-left: 0.5em;
}

#errornotification {
    z-index: 10000;
    position: absolute;
    top: 0;
    right: 0;
    /* height: 8em; */
    width: 35em;
}

.errorMessageText {
    white-space: pre-line;
}

#modal-landing::part(dialog) {
    height: 95%;
    width: 90%;
}

#modal-landing cds-modal-header {
    background-image: url('../icons/landing.png');
    background-size: cover;
    background-position: center;
    min-height: 3em;
    height: 10em;
    flex: 1;
}

#modal-landing cds-modal-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}



#modal-landing p {
    margin-left: 1em;
}

#modal-landing cds-modal-heading {
    margin-left: 0.5em;
    font-size: 2em;
}

#modal-landing cds-modal-label {
    margin-left: 1em;
    margin-top: 0.5em;
    font-size: 1em;
}

#modal-validation-results::part(dialog) {
    height: 95%;
    width: 90%;
}

#modal-validation-results cds-modal-header {
    background-image: url('../icons/landing.png');
    background-size: cover;
    background-position: center;
    min-height: 3em;
    height: 10em;
    flex: 1;
}

#modal-validation-results cds-modal-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}



#modal-validation-results p {
    margin-left: 1em;
}

#modal-validation-results cds-modal-heading {
    margin-left: 0.5em;
    font-size: 2em;
}

#modal-validation-results cds-modal-label {
    margin-left: 1em;
    margin-top: 0.5em;
    font-size: 1em;
}

#enhancetutorial {
    z-index: 11000;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40em;
}

#tutorialtitle {
    padding-bottom: 0;
    font-weight: bold;
}

#tutorialbody {
    padding-top: 0px;
    height: 100%;
    position: relative;
    top: -2em;
}

.tutorialimg {
    margin-top: 1em;
}

.warningIcon {
    display: block;
    background-image: url('../icons/warning--alt--filled-yellow.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

/* .monaco-hover { z-index: 10000 !important } */

.monaco-diff-editor {
    width: 100%;
}

.highlight {
    background: #ffff00;
}