
.backgroundindex {
    position: relative;
    display: flex;
    background: #fff;

}

.marginBox {
    margin:20px 0px 50px 0px;
}

.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;
}

.version {
    width: 35%;
}

.versions {
    padding: 8px;
    width: 110px;
    color: rgb(36, 90, 90);
    border: 2px solid #3aa3a7;
    background-color: #fff;
}

:focus-visible {
    outline: #3aa3a7 auto 1px;
}

h1 {
    color: rgb(36, 90, 90);
    text-align: center;
    /* margin-top: 50px; */
}

h3 {
    color: rgb(36, 90, 90);
    margin: 0px 0px 20px 0px;
}

.hr {
    width: 100%;
    opacity: 1 !important;
    height: 1.9px;
    background: linear-gradient(to right, rgba(36, 90, 90, 0.027) 0%, hsl(182, 48%, 44%) 50%, rgba(36, 90, 90, 0.027) 100%);
    border: none;
    margin-top: 20px;
}

.RAM {
    display: flex;
    /* flex-direction: column; */
    align-items: flex-start;
    justify-content: space-between;
    /* margin: 70px 0px 50px 0px; */
}

.store {
    /* width: 100%; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: flex-start;
    /* margin-top: 20px; */
}

.box {
    margin: 50px 0px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}

.AssembleArea {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
}

.lableAssembly {
    display: flex;
    flex-direction: column;
}

.lableAssembly label {
    margin-bottom: 15px;
}

.Instruction {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.Instruction table {
    margin-left: 15px;
}

.InstructionTableReg td {
    text-align: center;
    border-collapse: collapse;
    border: 1px solid #3aa3a7;
    padding: 1px 10px;
}

.Instruction th {
    text-align: center;
    padding: 10px;
    border-collapse: collapse;
    border: 1px solid #3aa3a7;
}

.box-RAM {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;

    width: 700px;

}

.block {
    width: 70px;
    height: 30px;

}

.btn {
    border: 1px solid rgb(36, 90, 90);
    background-color: rgb(255, 255, 255);
    padding: 8px 8px;
    color: rgb(36, 90, 90);
    transition: .3s;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 10px;
    width: 120px;
}

.special {
    background-color: #3aa3a7;
    color: #fff;
}

.btn:hover {
    transition: .3s;
    background-color: rgb(36, 90, 90);
    color: #fff;
}

.special:hover {
    background-color: #ffffff;
    color: rgb(36, 90, 90);
}

.listData {
    list-style-type: none;
    margin-bottom: 10px;
    color: rgb(36, 90, 90);
    cursor: pointer;
}

ul#list > li.listData:nth-of-type(even){
  background-color: #eee; /*lightseagreen;*/
}

ul#list > li.listData:nth-of-type(odd){
  background-color: #ddd; /*lightgreen;*/
}

ul#list > li.listData{
  border: 2px;
  border-color: black;
}

input[type=file] {
    color: rgb(36, 90, 90);
    margin: 15px 0px;
}

input[type=file]::file-selector-button {
    border: 1px solid rgb(36, 90, 90);
    padding: .2em .4em;
    border-radius: .2em;
    background-color: #ffffff;
    transition: .3s;
    color: rgb(36, 90, 90);
    cursor: pointer;
}

input[type=file]::file-selector-button:hover {
    background-color: rgb(36, 90, 90);
    color: #fff;
}

.flexStyle {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 20px;
}

.inputTag {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    /* padding: 30px 0px; */
}

.clickTextarea {
    display: flex;
    flex-direction: column;
}

.area {
    display: flex;
    flex-direction: column;
}

.area label {
    margin-bottom: 10px;
}

.inputTag button {
    margin-left: 15px;
}

.inputJs {
    display: none;
}

.data {
    color: #727272;
}

.firstInput {
    visibility: hidden;
    margin-top: 20px;
    
}
#firstInput{
    width: 70px;
    height: 35px;
}

.inputToMem {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* justify-content: ; */
}

#list {
    height: 130px;
    overflow-y: scroll;
}














/* page decode  */

.decode {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    /* margin-top: 100px; */
}

table {

    /* display: block; */
    color: #333333;
    background-color: rgb(223, 223, 223);
}

.ramtable table {
    display: block;
    table-layout: fixed;
    width: 100%;
    margin: 0 auto;
    overflow-y: auto;
    height: 70vh;
}

.ramtable td {
    padding: 8px;
    border-collapse: collapse;
    border: 1px solid #3aa3a7;
}

.sticky {
    top: 0;
    position: sticky;
    background-color: #3aa3a7;
    color: black;
}
.sticky1 {
    bottom: 0;
    position: sticky;
    background-color: #3aa3a7;
    color: black;
}

.center {
    text-align: center;
}

::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #3aa3a7;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #3aa3a7;
}

.border {
    border: 2px solid red !important;
}

.registerTable td {
    padding: 8px;
    border-collapse: collapse;
    border: 1px solid #3aa3a7;
}
#back{
    display: none;
    width: 35%;
}
.onCpu {
   margin: 0px;
    padding: 8px;
    width: 110px;
    color: rgb(36, 90, 90);
    border: 2px solid #3aa3a7;
    background-color: #fff;
}

.logexecute {
    display: flex;
    flex-direction: column;
}

.flagTable {
    margin-top: 50px;
}

.flagTable td {
    align-items: center;
    padding: 8px;
    border-collapse: collapse;
    border: 1px solid #3aa3a7;
}

.itemsStyle {
    width: 220px;
}

#HLT {
    padding: 8px;
    margin-right: 15px;
    text-align: center;
    background-color: #3aa3a7;
}
#help{
    padding: 8px;
    margin-right: 15px;
    text-align: center;
    background-color: #3aa3a7;
    width: 50px;
    margin-bottom: 10px;
}
#help a{
    color: #fff;
}
.shutDown {
    display: block !important;
}

.textHLT {
    color: #fff;
    margin: 0px;
    /*width: 100px;*/
}






.boxLog {
    width: 170px;
    border: 1px solid #3aa3a7;
    height: 70vh;
    overflow-y: auto;
}

#log {
    width: 100%;
}

#log th {
    /* width: 112px; */
    padding: 8px;
    background-color: #3aa3a7;
    border: 1px solid #3aa3a7;
}

#log td {
    padding: 8px;

    text-align: center;
}

.ledBox {
    /* border:1px solid #3aa3a7; */
    background-color: rgb(223, 223, 223);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.ledBox h3 {
    margin: 0px 10px 0px 0px;
}

.circle {
    height: 25px;
    width: 25px;
    border: 1px solid #3aa3a7;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
}

.led {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}

.led h1 {
    margin: 20px 0px;
}

.StartCPU {
    display: none;
}

.space {
    background-color: #fff;
    height: 20px;
}

/* seven segment  */

.boxSevensegment {
    margin-top: 50px;
    width: 45%;
    height: 340px;
    padding: 20px;
    background-color: #1d1d1d;
    display: flex;
    justify-content: space-around;
}

.display {
    position: relative;
    width: 160px;
}

.display2 {
    position: relative;
    width: 160px;
}

/* .display3 {
    position: relative;
    width: 160px;
}

.display4 {
    position: relative;
    width: 160px;
} */

.segment {
    height: 125px;
    width: 15px;
    background-color: #3aa3a7;
    border-radius: 9999px;
    box-shadow: 0px 0px 25px #3aa3a7;
}

.segment2 {
    height: 125px;
    width: 15px;
    background-color: #3aa3a7;
    border-radius: 9999px;
    box-shadow: 0px 0px 25px #3aa3a7;
}

/* .segment3 {
    height: 125px;
    width: 15px;
    background-color: #3aa3a7;
    border-radius: 9999px;
    box-shadow: 0px 0px 25px #3aa3a7;
}

.segment4 {
    height: 125px;
    width: 15px;
    background-color: #3aa3a7;
    border-radius: 9999px;
    box-shadow: 0px 0px 25px #3aa3a7;
} */

.A {
    position: absolute;
    top: -45px;
    left: 90px;
    transform: rotate(90deg);
}

.B {
    position: absolute;
    top: 20px;
    left: 160px;
}

.C {
    position: absolute;
    top: 150px;
    left: 160px;
}

.D {
    position: absolute;
    top: 215px;
    left: 90px;
    transform: rotate(90deg);
}

.E {
    position: absolute;
    top: 150px;
    left: 20px;
}

.F {
    position: absolute;
    top: 20px;
    left: 20px;
}

.G {
    position: absolute;
    top: 85px;
    left: 90px;
    transform: rotate(90deg);
}
/* version two  */
.dis {
    display: none;
}

/* version Four */

#INP{
    /* width: 100%;
    height: 100%;
    padding: 30px;
    background-color: #3aa3a76f;
    top: 0;
    position: sticky;
    display: block;
    align-items: center;
    justify-content: center;
    z-index: 10; */
    margin-top: 10px;
}

.BoxINP{
    background-color: #fff;
    /* padding: 15px; */
    display: flex;
    flex-direction: column;
    /* width: 400px; */
    justify-content: space-between;
}
.BoxINP label{
    color: #272727;
    /* margin-bottom: 10px; */
}
.inputBox{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 10px;
}

#InputINPR{
    height: 35px;
    width: 65px;
}
.btn1{
    border: 1px solid rgb(36, 90, 90);
    background-color: rgb(255, 255, 255);
    padding: 8px 8px;
    color: rgb(36, 90, 90);
    transition: .3s;
    cursor: pointer;
    margin-bottom: 10px;
    margin-left: 10px;
    width: 90px;    
}

@media screen and (max-width: 1000px) {
    .boxSevensegment {
        width: 100%;
        
    }
}
