  /*BASE STYLING GOES HERE*/
body {
    background-image: linear-gradient(#eaeaea, #d6d6d6);
    background-repeat: no-repeat;
}

.clear {
    float: none;
}

.container {

    background-color: #606471;
    width: 1500px;
    /* height: 1300px; */
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
}

.heading {
    height: 60px;
    width: 1435px;
    margin: 0 30px;
    margin-top: 20px;
    margin-bottom: 5px;

    /* background-color: #eaeaea; */
    border-radius: 10px;

}

.r2 {
    float: left;

    width: 1500px;
    margin: 00px 30px;
    border-radius: 10px;

}

.r2c1 {
    float: left;

    width: 500px;
    height: 300px;


    border-radius: 10px;

}

.action-buttons {
    background-color: #eaeaea;
    width: 535px;
    height: 100px;


    border-radius: 10px;

}

.formulas {
    display: block;
    background-color: #eaeaea;
    width: 535px;
    height: 210px;
    border-radius: 10px;
    margin: 0 auto;

}

.r2c2 {

    float: left;
    background-color: rgb(35, 35, 35);
    width: 870px;
    height: 600px;
    border-radius: 10px;
    margin: 20px 65px;

}

.r3 {
    float: left;

    width: 1435px;
    height: 500px;
    margin: 30px 30px 30px 30px;
    border-radius: 10px;
    background-color: white;
    color: #111111;



}

.r2c1 .o_table {
    float: left;

    width: 535px;
    height: 250px;
    background-color: #eaeaea;
    margin-top: 30px;
    border-radius: 10px;

}


.r2c1 .o_table p {
    margin-top: 0px;
    margin-bottom: 0px;
}




/*Text Edits Default*/
.heading p {
    text-align: center;
    font-size: 40px;
    font-family: 'Zacbel X', sans-serif;
    color: rgb(31, 31, 31);
}

.action-buttons p {
    text-align: center;
    font-size: 20px;
    font-family: 'Zacbel X', sans-serif;
    color: rgb(31, 31, 31);
}

.formulas p {
    text-align: center;
    font-size: 20px;
    font-family: 'Zacbel X', sans-serif;
    color: rgb(31, 31, 31);
}

.o_table p {

    text-align: center;
    font-size: 20px;
    font-family: 'Zacbel X', sans-serif;
    color: rgb(31, 31, 31);
}

.circuit p {
    text-align: center;
    font-size: 20px;
    font-family: 'Zacbel X', sans-serif;
    color: #eaeaea;
}

.calculation p {
    text-align: center;
    font-size: 30px;
    font-family: 'Zacbel X', sans-serif;
    color: #111111;
}


/*Buttons CSS*/
.action-buttons {
    border: none;

}

.control-panel-buttons {
    display: inline-flex;

    height: 40px;
    width: 535px;
    background-color: #eaeaea;

    border-radius: 10px;
    text-align: center;
}

.control-panel-buttons button {
    border: none;
    height: 35px;
    outline: none;
    background-color: rgba(129, 129, 129, 0.313);

    margin: -7px 12px;
    border-radius: 10px;


    text-align: center;
    font-family: 'Foco Trial', sans-serif;
    font-size: 20px;
    transition: all 0.25s ease-in, border 0.001s ease-in-out;
    cursor: pointer;
}

.control-panel-buttons button:hover {
    background-color: #1e1e1ee8;
    color: rgb(238, 234, 234);

}

.control-panel-buttons button:active {
    background-color: #606471;
    color: rgb(238, 234, 234);
    border: 3px solid #6a6b6e;
}

/*Table Css*/
.o_table {



    border-radius: 10px;
    width: 500px;
    height: 380px;



}

.o_table table {
    width: 500px;
    text-align: center;
    padding: 2px;
    margin: 0 auto;

}

.o_table td {
    border-radius: 0px;
    border: 1px solid #1e1e1e;
}

.o_table th {
    border-radius: 10px;
    border: 2px solid #1e1e1e;
}


/*Assets Placement*/
#A {
    position: relative;
    left: 300px;
    bottom: 10px;
}



#P_A {
    position: relative;
    bottom: 121px;
    left: 0136.5px;

    transform-origin: 85% 52%;
}



#M {
    position: relative;
    left: 225px;
    bottom: 30px;
}

#P_M {
    position: relative;
    bottom: 30px;
    left: 69px;
}

#power {
    position: relative;
    bottom: 240px;

}

#circuit_diagram {
    position: relative;
    bottom: 120px;
    right: 20px;

}

#variacSlider {
    position: relative;
    bottom: 380px;
    left: 140px;
    width: 90px;
    z-index: +2;
    position: relative;
    appearance: none;
    height: 20px;
    background-color: #111111;
    border-radius: 2px;

}
#variacSlider::-webkit-slider-thumb {
    z-index: +2;
    appearance: none;
    height: 40px;
    border-radius: 2px;
    width: 10px;
    cursor: grab;
    background-color: #aa0a0a;


}

#variacSlider::-webkit-slider-thumb:active {
    cursor: grabbing;
}

#variacSlider:disabled {
    z-index: +2;
    background-color: #808080;
    cursor: default;


}

#variacSlider:disabled::-webkit-slider-thumb {

    background-color: #808080;
    cursor: default;

}

/*Nodes Placement Start Here*/

.nodes {
    position: relative;
    bottom: 200px;
}

.nodes button {
    border: none;
    background: none;
    background-color: green;
    float: left;
    height: 15px;
    width: 15px;
    border-radius: 25px;
    cursor: pointer;
}

#p_a {
    position: relative;
    bottom: 321.5px;
    left: 364.5px;
}

#n_a {
    position: relative;
    bottom: 321.5px;
    left: 410px;
}



#p_power {
    position: relative;
    bottom: 116.5px;
    left: 20px;
}

#n_power {
    position: relative;
    bottom: 116.5px;
    left: 40px;
}

#on_power {
    position: relative;
    bottom: 192px;
    left: 113px;
    height: 26px;
    width: 26px;

    opacity: 0;

}

#c_p_power1 {
    position: relative;
    bottom: 172px;
    left: 207px;
    height: 18px;
    width: 18px;
}

#c_n_power1 {
    position: relative;
    bottom: 127px;
    left: 188px;
    height: 18px;
    width: 18px;
}

#c_ul {
    position: relative;
    bottom: 253px;
    left: 550px;
}

#c_ur {
    position: relative;
    bottom: 253px;
    left: 595px;
}

#c_ll {
    position: relative;
    bottom: 023px;
    left: 520px;
}

#c_lr {
    position: relative;
    bottom: 023px;
    left: 567px;
}

#p_mul {
    position: relative;
    bottom: 323px;
    left: 437px;
}

#n_mul {
    position: relative;
    bottom: 304px;
    left: 422px;
}

/*Instruction Start here*/

.instructions {
    background-color: #e8e8e8;
    border-radius: 10px;
    z-index: +2;
    filter: drop-shadow(2px 2px 8px rgba(56, 53, 53, 0.315));
    font-family: 'Foco Trial', sans-serif;
    font-size: 19px;
    padding-top: -20px;
    overflow: visible;

    transition: all 0.2s ease-in-out;


    position: absolute;

    top: 40px;
    left: -300px;

    height: 650px;
    width: 300px;
}

.instructions:hover {
    left: 0px;
}

.insHeading {

    background-color: #afaeae;
    border-radius: 8px;
    margin-right: 0px;
    margin-left: 10px;
    text-align: center;
    margin-top: -10px;
    font-size: 30px;

    height: 40px;
    width: 90%;
}

.steps {
    margin-top: -20px;
    margin-left: 0px;
    margin-right: -5px;
    text-align: left;
    padding-top: 0px;
    border-radius: 10px;
    font-size: 19px;
    height: 550px;
    overflow: auto;
}

.MyLabel {
    background-color: #111111;
    color: #e8e8e8;
    writing-mode: vertical-lr;
    text-orientation: sideways;
    text-align: center;
    font-size: 20px;
    border-radius: 0px 10px 10px 0px;

    height: 120px;
    width: 50px;

    position: absolute;
    top: 10px;
    left: 300px;
}

#s1 {
    color: red;
}

/*Sliders and Labels*/
.formulas input {
    -webkit-appearance: none;
    width: 300px;
    border-radius: 10px;
    background-color: #3a3a3a;

    margin: 4px 134px;
}

.formulas input::-webkit-slider-thumb {
    appearance: none;
    height: 20px;
    width: 30px;
    border-radius: 10px;
    background-color: #d0d0d0;
    transition: background-color 0.2s ease-in;
}

.formulas input::-webkit-slider-thumb:hover {
    cursor: grab;
    background-color: #ffffff;
}

.formulas input::-webkit-slider-thumb:active {
    cursor: grabbing;
}

#Rls {
    margin-top: -10px;
}

.formulas label {
    position: relative;
    font-family: 'Foco Trial', sans-serif;
    font-size: 25px;
    font-weight: bold;
    right: 430px;

}

/* Making images unselectable */
img {
    pointer-events: none;
    -moz-user-select: none;
    user-select: none;

    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}


/*Calculation Implementation*/
.calculation {
    margin-top: -15px;
}

.calculation input{
    width: 50px;
    font-family: 'Foco Trial', sans-serif;
    position: relative;

}

#VthC {
    bottom: 375px;
    right: 410px;
}

#RthC {
    position: relative;
    bottom: 345px;
    right: 445px;
}

#ReqC2 {
    position: relative;
    right: 537px;
    bottom: 200px;
    width: 40px;
}

#RlC {
    bottom: 315px;
    right: 655px;
    
}

#numeriator1 {
    position: relative;
    bottom: 200px;
    right: 563px;
    width: 40px;
}

#newcell {
    position: relative;
    bottom: 200px;
    right: 495px;
    width: 40px;
}

#numeriator2 {
    bottom: 200px;
    right: 460px;
}

#denominator1 {
    bottom: 170px;
    right: 620px;
}

#denominator2 {
    bottom: 170px;
    right: 610px;
}

#IlC {
    bottom: 185px;
    right: 600px;
}

#IlC_calc {
    bottom: 140px;
    right: 970px;
}

#IlC_obsv {
    bottom: 110px;
    right: 1025px;
}

#PSDisplay {
    position: relative;
    background-color: rgba(24, 22, 22, 0.834);
    color: red;

    text-align: center;
    font-family: 'Seven Segment';
    font-weight: bold;
    border: inset;
    font-size: 20px;

    width: 50px;
    height:25px;

    bottom:170px;
    right:138px;
}

#MMDisplay {
    position: relative;
    background-color: rgba(24, 22, 22, 0);
    color: rgb(165, 20, 20);

    text-align: right;
    font-family: 'Seven Segment';
    font-weight: bold;
    border: hidden;
    font-size: 25px;

    width: 45px;
    height: 30px;

    bottom: 474px;
    left:290px;
}
#RlDisplay,#R1Display,#R2Display,#R3Display{
position: relative;
width:70px;
height:40px;
text-align: center;
    font-size: 20px;
    font-family: 'Zacbel X', sans-serif;
    color: #212020;
    border-radius: 10px;

}
#RlDisplay{
    bottom:110px;
    left:430px;
}
#R1Display{
    bottom:200px;
    right:70px;
}
#R2Display{
    bottom:114px;
    right:-10px;
}
#R3Display{
    bottom:200px;
    right:20px;
}

ckt-element-shift{
    position: relative;
    left:30px;
}

.nodes button label{
    text-align: center;
    font-family: 'Zacbel X', sans-serif;
    overflow: visible;
    position: absolute;


font-size: 12px;

border: 2px solid white;
background-color: white;
border-radius: 2px;


}
.positive button label{
    transform: translate(-5px, 20px);
}
.nodes{
    position: relative;
    top:-200px;
}


#label9,#label10{
    transform: translate(-28px,-8px);
}
#label5,#label6,#label12{
    transform: translate(15px,-8px);
}

/*-----------calculationstab----------*/

#IscC{
    position: relative;
    bottom: 375px;
    right: 535px;
}

#ReqC{
    position: relative;
    bottom: 345px;
    right: 465px;
}

#RlC2{
    position: relative;
    bottom: 200px;
    right: 515px;
    width: 40px;
}


#IlC{
    position: relative;
    bottom: 140px;
    right: 940px;
    width: 40px;
}

#user{
    position: relative;
    bottom: 110px;
    right: 990px;
    width: 40px;
}

#verify{
    position: relative;
    bottom: 110px;
    right: 980px;
    background-color: rgba(129, 129, 129, 0.313);
}

#IscC:hover{
    cursor:default;
}
#IscC:focus{
    cursor:default;
    outline:none;
}

.SeeOnly:hover{
    cursor:default;
}
.SeeOnly:focus{
    cursor:default;
    outline:none;
}