
#heading {
  display: block;
  position:relative;
  left: 10%;
  margin-bottom:2px;
  height:24px;
  width:61%;
  color: black;
}


/* adds some margin below the link sets  */
.navbar .dropdown-menu div[class*="col"] {
   margin-bottom:1rem;
}

.navbar .dropdown-menu {
  border:none;
  background-color:#0060c8!important;
}


.navbar {
  display: block;
  position: fixed;
  width:100%;
  padding-top:0px;
  padding-bottom:3px;
  z-index: 6;
}

/* remove the padding from the nav-item and add some margin to give some breathing room on hovers */
.navbar .nav-item {
  padding:0 .6rem;
  margin:0 .25rem;
}



#diagnostics {
  display: inline-block;
  float: right;
  position: relative;
  right: 2vw;
  padding-top: 3px;
  padding-bottom: 0px;
  z-index:2;
}

#accordion {
  position: fixed;
  display: inline-block;
  left: 70%;
  top: 25%;
  width:260px;
  z-index:1;
  font-size: 13px;
}

#square {
  display:inline-block;
  width: 50px;
  height: 34px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}

#square2 {
  display:inline-block;
  width: 50px;
  height: 34px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}



iframe {
  display: block;
  float: left;
  margin: 3px;
  width: 250px;
  height:150px;

 }



.marks {
  display: inline-block;
  float: right;
  font-weight:bold;
  margin-right: 5%;
}



#score,#grade {
  font-size:15px;
}

.calc {
  float:right;
  width: 35px;
  height: 42px;
}
.noncalc {
  float:right;
  width: 35px;
  height: 42px;
}

#box1 {
  padding:5px;
  display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}
#box2 {
  padding:5px;
 display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}
#box3 {
  padding:5px;
  display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}

#box4 {
  padding:5px;
  display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}
#box5 {
  padding:5px;
  display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}

#box6 {
  padding:5px;
  display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}

#box7 {
  padding:5px;
  display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}

#box8 {
  padding:5px;
  display: block;
  border-style: solid;
  border-color: grey;
  border-radius: 8px;
  margin-left: 3vw;
   width: 60%;
  
}

.qnumber {
  display: block;
  float: left;
  font-weight: bold;
  margin-left: 30px;
}

.question {
  display: inline-block;
  position-left: 20px;
  margin-right: 10px;
 
   }

#question1,#question1b,#question2,#question2b,#question2c,#question3b,#question3,#question4,#question5, #question5a, #question5b, #question6,#question6b,#question7,#question8 {
 display: inline-block;
  margin-left: 20px;
  margin-right: 10px;
  
}

#w,#y,#s,#t {
  display: inline-block;
  
}
#timetable{
  display:block;
  width:70%;
}

#answer1,#answer1b,#answer1c,#answer2,#answer2b,#answer2c,#answer3,#answer3b,#answer3c,#answer4,#answer4b,#answer5,#answer5b,#answer6,#answer6b,#answer6c,#answer7,#answer7b,#answer7c,#answer8 {
  border-radius: 5px;
  height: 32px;
  width: 100px;

}
#answer7a,#answer7aa{
 border-radius: 5px;
  height: 32px;
  width: 100px;

}


#answer5,#answer5a{
width: 50px;
border-radius: 5px;
height: 32px;

}


#go,#go1,#go1b,#go2,#go2b,#go3,#go3b,#go3c,#go4,#go4b,#go5,#go5b,#go6 {
 border-radius: 5px;
  height: 32px; 
}
#barmod1,#barmod2,#barmod3,#show1,#show1b,#show2,#show2b,#show3,#show3b,#show3c,#show4,#show4b,#show5,#show6,#show6b,#show7,#show7b{
  margin-left: 20px;
 border-radius: 5px;
  height: 32px;  
}

.end {
  display: inline-block;
 
  margin-right: 10px;
}

#frac1,#frac2,#frac3,#frac4,#frac5,#frac6,#frac7,#frac8{
  display: none;
  width: 45%;
}

#cuboid{
  width:290px;
  height:210px;
}
#shape4,#shape6{
width: 40%;  
}


#shape1,#shape2,#shape3{
width: 80%;
}
#shape8,#shape9{
display: none;
width: 60%;
}


#length,#length2,#length5{
position: relative;
left: 74px;
bottom: 10px;
}

#width,#width2,#width5{
position: relative;
left:170px;
bottom:60px;
}
#height,#height2,#height5{
position: relative;
left:200px;
bottom:145px;
}

#height3{
position: relative;
left:165px;
bottom:125px;
}

#length3{
position: relative;
left: 95px;
bottom: 22px;
}


#spinner1{
width: 40%;

}





 @media screen and (min-width:260px) and (max-width:500px){




#square {
  display:inline-block;
  width: 35px;
  height: 32px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}

#square2 {
  display:inline-block;
  width: 35px;
  height: 32px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}




#diagnostics {
  display: inline-block;
  float: right;
  position: relative;
  right: 0vw;
  padding-top: 3px;
  padding-bottom: 0px;
  z-index:2;
}


#accordion {
  position:fixed;
  width: 100%;
  top: 85.5%;
  right:0;
  left:0;
  margin: 0px;
  z-index:2;
 }

#v1{
  position:fixed;
  width: 100%;
  top: 55%;
  right:0;
  left:0;
  margin: 0px;
  z-index:2;
}
iframe {
  display: block;
  margin-left: 5%;
  height:170px;
  width: 290px;
 }

#reminder {
 position:fixed;
  width: 100%;
  top: 52%;
  right:0;
  left:0;
  margin: 0px;
  z-index:3;
  font-size: 12px;
  
}




#box1,#box2,#box3,#box4,#box5,#box6,#box7,#box8,#box9,#box9 {
  padding:5px;
  display: block;
  border-style: solid;
  border-width: 4px;
  border-color: grey;
  border-radius: 8px;
  margin-left: 7%;
   width: 80%;
   font-size:16px;

  
}

#answer1,#answer2,#answer3,#answer3b,#answer3c,#answer4,#answer5,#answer6,#answer7,#answer8 {
  border-radius: 5px;
  height: 32px;
  width: 70px;
}



#cuboid{
  width:200px;
  height:210px;
}
#shape4,#shape6{
width: 40%;  
}


#shape1,#shape2,#shape3{
width: 80%;
}
#shape8,#shape9{
display: none;
width: 60%;
}


#length,#length2,#length5{
position: relative;
left: 44px;
bottom: 0px;
}

#width,#width2,#width5{
position: relative;
left:130px;
bottom:50px;
}
#height,#height2,#height5{
position: relative;
left:150px;
bottom:125px;
}

#height3{
position: relative;
left:115px;
bottom:95px;
}

#length3{
position: relative;
left: 65px;
bottom: 12px;
}


}

