html, body {
    margin: 0px; 
    padding: 0px;
    height: 100%;
    overflow: auto;
}

body {
    padding-top: 0px !important;
}

#main {
    height: 95%;
}

/************************************************************************************************************************/
/* Navbar
/************************************************************************************************************************/
.navbar {
    height: 25px;
    width: 100%;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    margin-top: 5px;
}

.nav-link {
    color: #bc0000 !important;
    font-weight: bold !important;
    font-size: 80% !important;
}

/************************************************************************************************************************/
/* top row                                                                                                              */
/************************************************************************************************************************/

#logo {
    max-width: 50%; 
    padding: 10px;
}

#emulator_logo {
    margin: auto;
    padding: 10px;
}

/************************************************************************************************************************/
/* GoldenLayout components  
/************************************************************************************************************************/

#gl_wrapper {
    height: 88%;
}

.lm_goldenlayout {
    margin-bottom: 10px;
    height: 100% !important;
}

.lm_header {
    min-height: 24px !important;
    height: 24px !important;
}

.lm_tab {
    min-height: 18px !important;
    height: 18px !important;
}

.lm_title {
    font-size: 16px;
}

/************************************************************************************************************************/
/* Components inside the GoldenLayout 
/************************************************************************************************************************/

#buttons {
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.btn {
    background-color: #bc0000; 
    border: none; /* Remove borders */
    color: white; /* White text */
    /*padding: 12px 16px; */
    /*padding: 4px 8px; */
    /*margin: 5px;*/
    font-size: 14px; /* Set a font size */
    cursor: pointer; /* Mouse pointer on hover */
    min-width: 30px;
}

.btn_disabled {
    background-color: darkgray !important; 
    border: none !important; /* Remove borders */
    color: black !important; /* White text */
    cursor: not-allowed !important; /* Mouse pointer on hover */
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: #900000;
}

.registers tr {
   line-height: 0.8vh;
   table-layout: fixed;
}

#editor, #source_editor { 
    height: 94%;
}

#stack {
    height: 100%;
}

/************************************************************************************************************************/
/* editor                                                                                                               */
/************************************************************************************************************************/

.kernel {
    background: lightgrey;
    /*color: lightgrey;*/
}

.ip {
	background: lightblue !important;
    font-weight: bold;
}

.breakpoint {
	background: #faa;
	/*width: 5px !important;*/
	/*left: 3px;*/
}

.ip.breakpoint {
	background: #D050D0;
	width: 5px !important;
	left: 3px;
}

.error {
	background: #c397db;
}

.changed_reg {
    background: #ffcccc;
}

.table-title {
    margin-top: 0px !important;
}

#instruction {
    /*margin-top: 10px !important;*/
    /*margin-bottom: 10px !important;*/
}

#instruction {
    /*height: 10vh;*/
}

/************************************************************************************************************************/
/* Stack                                                                                                                */
/************************************************************************************************************************/

#stack { 
    text-align: left;
    /*height: 85vh !important;*/
    height: 94% !important;
    width: 98% !important; /* for some reason right border gets cut off*/

}
.textSegment {
    background: #f7e2ad;
}

.stackSegment {
    background: #d2efb6;
}

.freeSegment {
    background: #e2e2e2;
}

.dataSegment {
    background: #c5ebf7;
}

.heapSegment {
    background: #e4bbed;
}

#stack .lines-content {
    margin-left: 50px !important;
}


/***********************************************************************************************************************/
/* Radio buttons for memory pane
/************************************************************************************************************************/

.radio-toolbar input[type="radio"] {
    display:none; 
}

.radio-btn-label {
   margin-bottom: 0px !important;
}

.radio-toolbar label {
    display:inline-block;
    background-color:darkgray;
    padding: 5px 5px; 
    font-family:Arial;
    font-size:12px;
    color: white;
    border: 1px solid #bc0000;
    border-radius: 2px;    
}

.radio-toolbar label:hover {
  background-color: #900000;
}

.radio-toolbar input[type="radio"]:checked + label { 
    background-color:#990000;
    border-color: #bd0000;
}

/***********************************************************************************************************************/
/* Console
/************************************************************************************************************************/

.console {
    overflow-y: scroll;
    height: 100%;
    font-family: monospace;
    margin-left: 5px;
    background-color: cornsilk;
    white-space: pre;
}


