body,
html {
    margin: 0;
    height: 78em;
    padding: 0;
}

.clearfix {
    clear: both;
}

.wholebody {
    margin: 0 auto;
    width: 88em;
    height: 52em;
    border: 1px solid black;
    background-color: white;
    position: absolute;
    top: 0em;
    left: 0em;

}

#description {
    background-color: red;
    position: absolute;
    top: 42px;
    right: 7px;
    width: 92px;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 20px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 2px solid #556B2F;
    ;
    min-width: 450px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;

}

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

#se-pre-con {
    position: absolute;
    left: 0px;
    background-color: white;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    text-align: center;
}
/* @media screen and ( min-width:1040px ) {
    #se-pre-con{
        z-index: -1;
    }

    
} */


.load {
    top: 50%;
    position: absolute;
    font-family: cursive;
    font-size: 1.3em;
    left: 50%;
    transform: translate(-50%, -50%);
}

#circuitsection {
    position: absolute;
    border: 2px solid #556B2F;
    top: 132px;
    width: 650px;
    height: 327px;
    right: 57px;
}

#circuit {

    position: absolute;
    top: 40px;
    right: 10px;
    height: 300px;
    width: 400px;
}


.calc {
    position: absolute;
    right: 9em;
    top: 31em;
}

.graph {
    width: 25em;
    height: 25em;
    position: absolute;
    top: 33em;
    left: 32em;
}

.button {
    margin: auto;
    display: block;
}

button:hover {
    background-color: #bb2d3b;
    cursor: pointer;
    /* font-size: 18px; */
}

.middlerightsectiondivide {
    position: relative;
    left: 225px;
    top: 0px;
    width: 3px;
    height: 211px;
    border: 1px solid #737373;
    /* //color: #e6e6e6;
  //  background-color:  #737373; */
}

.middlerightmiddle {
    position: absolute;
    top: 49px;
    width: 455px;
    height: 212px;
    /* border: 1px solid #737373; */
    left: 108px;
}

.lowerleftsection {
    position: relative;
    margin: 0 auto;
    top: 21px;
    width: 446px;
    height: 170px;
    border: 1px solid #737373;
   
}


#mycanvas {
    color: #0000FF;
    margin-top: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    border: 1.5px solid black;
}

#P1 {
    position: relative;
    cursor: pointer;
    top: 43px;
    left: 51px;
}

#P2 {
    position: relative;
    cursor: pointer;
    top: 76px;
    right: 155px;
}

#P3 {
    position: relative;
    cursor: pointer;
    top: 85px;
    left: 82px;
}

#lp1 {
    position: relative;
    top: 42px;
    left: 41px;
}

#lp2 {
    position: relative;
    top: 71px;
    right: 164px;
}

#lp3 {
    position: relative;
    top: 81px;
    left: 52px;
}

#add {
    position: relative;
    left: -8px;
    top: 119px;
    cursor: pointer;
    visibility: hidden;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px #999;
    z-index: 1;
}

#chhn1 {
    position: relative;
    left: 8px;
    top: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px #999;
    z-index: 1;
}

#chhn2 {
    position: relative;
    left: 17px;
    top: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px #999;
    z-index: 1;
}

#chhn3 {
    position: relative;
    left: 25px;
    top: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px #999;
    z-index: 1;
}

#grnd {
    position: relative;
    left: 32px;
    top: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px #999;
    z-index: 1;
}

#dual {
    position: relative;
    left: 49px;
    top: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px #999;
    z-index: 1;
}

/* //---------------------------vertical range slider-------------------------// */
/* input[type=range][orient=vertical]
{

} */
#positiony1 {
    -webkit-appearance: slider-vertical;
    width: 8px;
    height: 175px;
    padding: 0 5px;
    position: relative;
    top: 10px;
    float: right;
    right: 381px;
}

#positnlabely1 {
    position: relative;
    top: 190px;
    float: right;
    right: 366px;
}

#positnlabelch1 {
    position: relative;
    top: 190px;
    float: right;
    right: 222px;
}

#positiony2 {
    -webkit-appearance: slider-vertical;
    width: 8px;
    height: 175px;
    padding: 0 5px;
    position: relative;
    top: 10px;
    float: left;
    left: 215px;
}

#positnlabely2 {
    position: relative;
    top: 191px;
    float: left;
    left: 138px;
}

#positnlabelch2 {
    position: relative;
    top: 191px;
    float: left;
    left: 56px;
}

#positiony3 {
    -webkit-appearance: slider-vertical;
    width: 8px;
    height: 175px;
    padding: 0 5px;
    position: relative;
    top: 10px;
    float: left;
    left: 222px;
}

#positnlabely3 {
    position: relative;
    top: 191px;
    float: left;
    left: 134px;
}

#positnlabelch3 {
    position: relative;
    top: 173px;
    float: left;
    left: 217px;
}

#controller {
    position: absolute;
    border: 2px solid #556B2F;
    top: 491px;
    width: 650px;
    height: 282px;
    left: 696px;

}

#grpwrap {
    position: absolute;
    border: 2px solid #556B2F;
    top: 132px;
    width: 572px;
    height: 646px;
    left: 52px;
}
.instruct{
    float:right;
}

.modal {
    display: none;
    position: fixed;
    z-index: 11;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top: 20px;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal-header {
    padding: 2px 16px;
    background-color: #044ca3;
    color: white;
}
.modal-body {padding: 30px 20px;}
.modal-footer {
    padding: 2px 12px;
    background-color: white;
    color: white;
}