*{padding: 0 ; margin: 0 ;}

body{
    min-height: 564px;
    min-width: 1100px;
    text-align: center;
    height: 100%;
    font-size: 100%;
    position:absolute; top:0%; bottom:0%; right:0%; left:0%;
}

#header {
    position: absolute;
    top: 0;bottom: 0;left: 0;right: 0;
    width: 100%;
    height: 6%;
    font-size: 4vh;
    padding-top: 1.3vmin;
}

.button, .buttonDisable {
    position: relative;
    padding: 0.5em 1em;
    border-radius: 0.2em;
    overflow: visible;
    outline: none;
    white-space: nowrap;
    -moz-background-clip: padding;
    background-clip: padding-box;
    border: 1px solid #d4d4d4;
    margin: 0;
    text-align: center;
    zoom: 1;
    *display: inline;
    text-decoration: none;
    display: inline-block;
}

.button{
    cursor: pointer;
}

#header, .button {
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    border-color: #a4214b;
    border-bottom-color: #a40f30;
    color: #fff;
    background-color: #3c8dde;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#a4214b));
    background-image: -moz-linear-gradient(#599bdc, #a4214b);
    background-image: -o-linear-gradient(#599bdc, #a4214b);
    background-image: linear-gradient(#599bdc, #a4214b);
}

.buttonDisable {
    text-shadow: 1px 1px 0 #fff;
    color: #999999;
    background-color: #ececec;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
    background-image: -moz-linear-gradient(#f4f4f4, #ececec);
    background-image: -ms-linear-gradient(#f4f4f4, #ececec);
    background-image: -o-linear-gradient(#f4f4f4, #ececec);
    background-image: linear-gradient(#f4f4f4, #ececec);
}

.buttonDisable, .button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.vlabsIcon{
    position: absolute;
    top: 1.2%;
    left: 8%;
    width: 15vh;
    height:6.7vh;
    background-image:url('organization.jpg');
    background-repeat:no-repeat;
    background-color:transparent;
}

.inputDivision, .outputDivision, .executionDivision{
    color: #464646;
    border-radius: 5px;
    position: absolute;
    top:11%;
    height:87%;
}

.inputDivision{
    left: 1.2%;
    width:18%;
}

.executionDivision{
    left: 20.4%;
    width:35%;
    border:1px solid #CCC;
}

.outputDivision{
    border:1px solid #CCC;
    left:56.6%;
    width:42%;
}

.inputDivisionTitle, .outputDivisionTitle, .executionDivisionTitle, .theoryStatementDivisionTitle{
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 0 #fff;
    width:100%;
    color: #a01e32;
    background-color: #F8F8F8;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.inputDivisionTitle{
    float: left;
    height:18%;
}

.theoryStatementDivisionTitle{
    float: left;
    height:20%;
}

.outputDivisionTitle, .executionDivisionTitle{
    top: 0%;
    height:9%;
}

.experimentPic{
    margin-top:1.8vh;
    margin-left: 10%;
    width: 20%;
    float: left;
    height: 100%;
    background-image:url('simulator.jpg');
    background-repeat:no-repeat;
    background-color:transparent;
}


.theoryPic{
    margin-top:1vh;
    margin-left: 10%;
    width: 20%;
    float: left;
    height: 100%;
    background-image:url('theory.png');
    background-repeat:no-repeat;
    background-color:transparent;
}

.experimentText{
    width: 60%;
    float: left;
    height: 100%;
}

.executionPic{
    margin-top:1vh;
    margin-left: 10%;
    width: 25%;
    float: left;
    height: 100%;
    background-image:url('calculation.jpg');
    background-repeat:no-repeat;
    background-color:transparent;
}

.executionText{
    text-align: left;
    width: 50%;
    float: left;
    height: 100%;
}

.outputPic{
    margin-top:1.8vh;
    margin-left: 10%;
    width: 25%;
    float: left;
    height: 100%;
    background-image:url('output.png');
    background-repeat:no-repeat;
    background-color:transparent;
}

.outputText{
    text-align: left;
    width: 50%;
    float: left;
    height: 100%;
}

.inputDivisionBody{
    float: left;
    width:100%;
    height:79%;
    text-align: center;
    font-size: 1em;
    border-top: 1px solid #CCC;
    overflow-x: auto;
}

.warningText {
    margin-left: 5%;
    width: 90%;
    text-align: left;
}

.FirstInputBlock{
    width: 100%;
    height: 45%;
    float: left;
    border-radius: 5px;
    border: 1px solid #CCC;
    margin-bottom: 5%;
}

.SecondInputBlock{
    width: 100%;
    height: 52%;
    float: left;
    border-radius: 5px;
    border: 1px solid #CCC;
}

.variableText{
    float: left;
    width: 100%;
    min-width: 70px;
    font-size: 1.5vh;
    height: 15%;
    min-height: 30px;
    margin-top:15px;
}

.arraySizeDivision{
    float: left;
    width: 100%;
    height:15%;
    min-height: 40px;
}

.inputField{
    text-align: center;
    font-size: 15px;
    float: left;
    height:10%;
    margin-bottom: 8px;
    min-height:30px;
    width: 80%;
    margin-left: 10%;
    min-width:150px;
    border:1px solid #CCC;
    outline: none;
    border-radius: 3px;
}

.startButton{
    font-size: 13px;
    min-width: 144px;
    float: left;
    margin-left: 10%;
    height: 30px;
    width: 80.5%;
    margin-bottom: 8px;
}

.myStartButton{
    margin-left: 10%;
    height: 30px;
    width: 37%;
    float:left;
    font-size:14px;
}

.nextButton{
    margin-left:14px;
    height: 30px;
    width: 37%;
    float:left;
    font-size:14px;
}

.resultDisplay{
    position: absolute;
    top: 9%;
    left:0%;
    width:100%;
    height:90%;
    text-align: center;
    font-size: 1em;
    font-size: 3vmin;
    border-top:1px solid #CCC;
}

.canvas{
    margin-top: 15px;
    margin-left: -5%;
}

.stepExecutionDisplay{
    padding-top: 2%;
    padding-left: 2%;
    overflow-x:auto;
    font-size: 3vmin;
    position: absolute;
    top: 9%;
    left:0%;
    width:97.8%;
    height:88%;
    text-align: center;
    border-top:1px solid #CCC;
}

.hide{
    display:none;
}

.show{
    display: block;
}

.programCode{
    line-height: 150%;
    text-align: left;
    margin-top: 1%;
    margin-left: 2%;
}

.gapBitweenMeamoryGap{
    float: left;
    width: 100%;
    height:5%;
}

.textAlignLeft{
    text-align: left;
}

.redClass {
    display: block;
    color: red;
    font-weight: bold;
}

.marginLeft{
    margin-left: 20px;
    margin-top: 6px;
}

@media only screen and (min-width: 360px) and (max-width: 640px){
    body
    {
        width: auto;
        height: 100px;
        /*height: 700px;*/
        min-width: 0;
    }

    .vlabsIcon {
        left: 0.5%;
    }

    #header {
        width:93%;
        height: 7%;
        font-size: 2.7vh;
        padding-top: 4vmin;
        padding-bottom: 0;
        padding-left: 10%;
    }

    .inputDivision
    {
        width: 100%;
        height: 55%;
        position: static;
        margin-top: 15%;
        margin-left: 1vw;
        margin-right: 1vw;
        margin-bottom: 1vw;
    }

    .FirstInputBlock
    { display:inline-block;
        width: 45%;
        height:98%;
        margin: 5px;
    }

    .SecondInputBlock
    { display:inline-block;
        width: 49%;
        height: 98%;
        margin-top: 5px;
    }

    .theoryStatementDivisionTitle{
        height:12%;
    }

    .experimentText{
        padding-top: 2.5vmin;
    }
    .theoryPic{
        margin-top:0.3vh;
        margin-left: 1%;
    }

    .experimentPic{
        margin-top:1.0vh;
        margin-left: 10%;
        width: 20%;
        float: left;
        height: 100%;
        background-image:url('simulator.jpg');
        background-repeat:no-repeat;
        background-color:transparent;
    }
    .inputDivisionTitle{
        float: left;
        height:12%;
    }

    .variableText{
        font-size: 2.5vh;
    }
    .executionDivision
    {
        position: static;
        width: 96%;
        height: 60%;
        margin-left: 2vw;
        margin-right: 2vw;
        margin-top: 2vw;
    }

    .executionDivisionTitle {
        height: 12%;
        /*        margin-bottom: 0;*/
        /*backg1em-color: red;*/
        border-bottom: 1px solid #CCC;
    }
    .executionPic{
        margin-top:0.5vh;
        height:100%;
    }

    .executionText{
        text-align: left;
        width: 50%;
        float: left;
        height: 100%;
        padding:10px 0 0 0;
    }

    .stepExecutionDisplay{
        padding-top: 2%;
        padding-left: 2%;
        overflow-x:auto;
        font-size: 1em;
        position: static;
        top: 9%;
        left:0%;
        width:97.8%;
        height:75%;
        text-align: center;
        border-top: 0 solid;
    }

    .outputDivision{
        margin:8px;
        position: static;
        border:1px solid #CCC;
        left:56.6%;
        width:96%;
    }

    .outputText {
        padding: 10px 0 0 0;
    }

    .graph{
        height:100%;
        width:60%;
    }
    .resultDisplay {
        position: static;
        top: 9%;
        width: 100%;
        height: 70%;
        text-align: center;
        font-size: 1em;
        font-size: 3vmin;
        padding-left: 3%;
        border-top: 1px solid #CCC;
    }

    .resultDisplay{
        position: static;
    }

    .canvas{
        margin-left: -5%;
    }

    .vlabsIcon{
        left: 2%;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1280px){
    body
    {
        width: auto;
        height: 100px;
        /*height: 700px;*/
        min-width: 0;
    }

    .vlabsIcon {
        left: 5%;
        top: 4%;
    }

    #header {
        width:93%;
        height: 7%;
        font-weight: bold;
        /*font-size: 2.1vh;*/
        padding-top: 4vmin;
        padding-bottom: 0;
        padding-left: 8%;
    }

    .inputDivision
    {
        width: 100%;
        height: 52%;
        position: static;
        margin-top: 9%;
        margin-left: 1vw;
        margin-right: 1vw;
        margin-bottom: 1vw;
    }

    .FirstInputBlock
    { display:inline-block;
        width: 45%;
        height:98%;
        margin: 5px 10px;
    }

    .SecondInputBlock
    { display:inline-block;
        width: 49%;
        height: 98%;
        margin-top: 5px;
    }

    .theoryStatementDivisionTitle{
        height:12%;
    }

    .experimentText{
        padding-top: 1.5vmin;
    }
    .theoryPic{
        margin-top:0.3vh;
        margin-left: 1%;
    }

    .experimentPic{
        margin-top:1.0vh;
        margin-left: 10%;
        width: 20%;
        float: left;
        height: 100%;
        background-image:url('simulator.jpg');
        background-repeat:no-repeat;
        background-color:transparent;
    }
    .inputDivisionTitle{
        float: left;
        height:12%;
    }

    .variableText{
        font-size: 1.5vh;
    }
    .executionDivision
    {
        position: static;
        float:left;
        /*      clear:both;*/
        width: 45%;
        height: 80%;
        /*      margin-left: 2vw;
              margin-right: 2vw;*/
        margin: 1vw 0.5vw 1vw 2vw;
    }

    .executionDivisionTitle {
        height: 9%;
        /*        margin-bottom: 0;*/
        /*backg1em-color: red;*/
        border-bottom: 1px solid #CCC;
    }
    .executionPic{
        margin-top:0.5vh;
        height:100%;
    }

    .executionText{
        text-align: left;
        width: 50%;
        float: left;
        height: 100%;
        padding:10px 0 0 0;
    }

    .stepExecutionDisplay{
        padding-top: 2%;
        padding-left: 2%;
        overflow-x:auto;
        font-size: 1em;
        position: static;
        top: 9%;
        left:0%;
        width:97.8%;
        height:75%;
        text-align: center;
        border-top: 0 solid;
    }

    .outputDivision{
        margin:1vw 2vw 1vw 0.7vw;
        position: static;
        border:1px solid #CCC;
        left:56.6%;
        width:49%;
        float:left;
        height:80%;
    }

    .gapBitweenMeamoryGap {
        float: left;
        width: 100%;
        height: 5%;
        margin: 1.5vw;
    }
    .outputText {
        padding: 10px 0 0 0;
    }

    .outputPic {
        margin-top: 1.2vh;
        margin-left: 10%;
        width: 25%;
        float: left;
        height: 100%;
        background-image: url('output.png');
        background-repeat: no-repeat;
        background-color: transparent;
    }
    .graph{
        height:100%;
        width:60%;
    }
    .resultDisplay {
        position: static;
        top: 9%;
        width: 100%;
        height: 70%;
        text-align: center;
        font-size: 1em;
        font-size: 2vmin;
        padding-left: 0%;
        border-top: 1px solid #CCC;
    }

    .resultDisplay{
        position: static;
    }

    .canvas{
        margin-left: -5%;
    }

    .vlabsIcon{
        left: 2%;
    }
}

@media only screen and (min-device-width : 800px) and (orientation: landscape) {

    body
    {
        width: auto;
        height: 100px;
        /*height: 700px;*/
        min-width: 0;
    }

    .vlabsIcon {
        left: 5%;
        top: 4%;
    }


    #header {
        width:93%;
        height: 7%;
        font-size: 2.1vh;
        padding-top: 4vmin;
        padding-bottom: 0;
        padding-left: 8%;
    }

    .inputDivision
    {
        width: 100%;
        height: 52%;
        position: static;
        margin-top: 9%;
        margin-left: 1vw;
        margin-right: 1vw;
        margin-bottom: 1vw;
    }

    .FirstInputBlock
    { display:inline-block;
        width: 45%;
        height:98%;
        margin: 5px 10px;
    }

    .SecondInputBlock
    { display:inline-block;
        width: 49%;
        height: 98%;
        margin-top: 5px;
    }

    .theoryStatementDivisionTitle{
        height:12%;
    }

    .experimentText{
        padding-top: 1.5vmin;
    }
    .theoryPic{
        margin-top:0.3vh;
        margin-left: 1%;
    }

    .experimentPic{
        margin-top:1.0vh;
        margin-left: 10%;
        width: 20%;
        float: left;
        height: 100%;
        background-image:url('simulator.jpg');
        background-repeat:no-repeat;
        background-color:transparent;
    }
    .inputDivisionTitle{
        float: left;
        height:12%;
    }

    .variableText{
        font-size: 1.5vh;
    }
    .executionDivision
    {
        position: static;
        float:left;
        /*      clear:both;*/
        width: 45%;
        height: 80%;
        /*      margin-left: 2vw;
              margin-right: 2vw;*/
        margin: 1vw 0.5vw 1vw 2vw;
    }

    .executionDivisionTitle {
        height: 9%;
        /*        margin-bottom: 0;*/
        /*backg1em-color: red;*/
        border-bottom: 1px solid #CCC;
    }
    .executionPic{
        margin-top:0.5vh;
        height:100%;
    }

    .executionText{
        text-align: left;
        width: 50%;
        float: left;
        height: 100%;
        padding:10px 0 0 0;
    }

    .stepExecutionDisplay{
        padding-top: 2%;
        padding-left: 2%;
        overflow-x:auto;
        font-size: 1em;
        position: static;
        top: 9%;
        left:0%;
        width:97.8%;
        height:75%;
        text-align: center;
        border-top: 0 solid;
    }

    .outputDivision{
        margin:1vw 2vw 1vw 0.7vw;
        position: static;
        border:1px solid #CCC;
        left:56.6%;
        width:49%;
        float:left;
        height:80%;
    }

    .gapBitweenMeamoryGap {
        float: left;
        width: 100%;
        height: 0.5%;
        margin: 1vw;
    }
    .outputText {
        padding: 10px 0 0 0;
    }

    .outputPic {
        margin-top: 1.2vh;
        margin-left: 10%;
        width: 25%;
        float: left;
        height: 100%;
        background-image: url('output.png');
        background-repeat: no-repeat;
        background-color: transparent;
    }
    .graph{
        height:100%;
        width:60%;
        margin:0.7vw 5vw;
    }
    .resultDisplay {
        position: static;
        top: 9%;
        width: 100%;
        height: 70%;
        text-align: center;
        /*font-size: 1em;*/
        font-size: 1.5vmin;
        padding-left: 0%;
        border-top: 1px solid #CCC;
    }

    .resultDisplay{
        position: static;
    }

}
