
#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;
}


#accordion {
  position: fixed;
  display: inline-block;
  left: 70%;
  top: 25%;
  width:260px;
  z-index:1;
  font-size: 13px;
}


#diagnostics {
  display: inline-block;
  position: relative;
  float: right;
  height: 40px;
  right: 0.5vw;
  padding-top: 3px;
  padding-bottom: 0px;
  z-index:2;
}

#square {
  display:inline-block;
  width: 50px;
  height: 34px;
  border: 1px solid deepskyblue;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  background: white;
  text-align: center;
}

#square2 {
  display:inline-block;
  width: 50px;
  height: 34px;
  border: 1px solid deepskyblue;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  background: white;
}

#square3 {
  position: relative;
  bottom:1px;
  display:inline-block;
  width: 36px;
  height: 36px;
  border: 3px solid transparent;
  margin-left: 1px;
  padding-top: 0px;
  padding: 0px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  background-color: gold;
}

#grade,#score{
  position: fixed;
  width:48px;
  font-size: 18px;
  font-weight: bold;
  

}

iframe {
  display: block;
  float: left;
  margin: 3px;
  width: 250px;
  height:150px;

 }



.marks {
  display: inline-block;
  float: right;
  font-weight:bold;
  margin-right: 5%;
}



.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,#question1a,#question1b,#question2,#question2b,#question2c,#question3b,#question3,#question4,#question5, #question5a, #question5b, #question6,#question6a,#question6aa,#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,#answer2a,#answer2b,#answer2c,#answer3,#answer3b,#answer3c,#answer4,#answer4b,#answer4c,#answer4d,#answer5,#answer5b,#answer6,#answer6b,#answer7,#answer7b,#answer8 {
  border-radius: 5px;
  height: 32px;
  width: 100px;

}

#answer3x,#answer3y,#answer6y{
border-radius: 5px;
  height: 32px;
  width: 100px;
}

#answer2,#answer2a,#answer2aa,#answer3,#answer3a,#answer3aa{
border-radius: 5px;
height: 32px;
width: 40px;
margin-left: -8px;  
margin-top: 3px;  

}





#go,#go1,#go1b,#go2,#go2b,#go3,#go3b,#go3c,#go4,#go4b,#go5,#go5b,#go6,#go6b,#go6y{
 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;
}

#sigfig1,#sigfig2,#sigfig3,#sigfig4,#sigfig5,#sigfig6 {
  width:100%;

}







#list1,#list1a,#list2,#list2a,#list3,#list3a,#spinner1,#spinner1a,#spinner2,#spinner2a{
  display: none;
  width: 60%;
}

#quad1,#quad2,#quad3,#quad4{
display: none;
 width: 50%; 
}
#simshapes1,#simshapes2,#simshapes3,#simshapes4{
  display:none;
  width: 50%;
}
#cuboid{
  display: block;
  width:330px;
  height:230px;
  margin-bottom: 5px;
}

#shape6,#shape7{
  width:99%;
}
#height7{
  position: relative;
  bottom:135px;
  left:164px;
}
#height6{
  position: relative;
  bottom:115px;
  left:242px;
}


#graphs1,#graphs2,#graphs3,#graphs4,#graphs5,#graphs6,#graphs7,#graphs8,#graphs9,#graphs10,#cfreq1{
 display:none;
  width: 65%; 
  margin-left: 20px;
}
#scatter{
 width: 55%; 
}
#scattera{
 display: none;
 width: 55%; 
}
#perim1{
  width:50%;
}

.col {
  display: inline-block;
  position: static;
  float: left;
  border: 1px solid black;
  width: 120px;
  height: 50px;
  margin:0;
  text-align: center;
  font-size: 14px;
}


#row1,#row2,#row3,#row4,#row5 {
  display: block;
  height: 50px;
  width: 420px;
  margin-left: 15px;
  font-size: 14px;
}

#row10,#row20,#row30,#row40,#row50 {
  display: block;
  height: 50px;
  width: 260px;
  margin-left: 15px;
  font-size: 14px;
}

#boxplot1{
  width: 70%;
}

#plan,#planb,#planc{
  display: none;
  width: 80%;
}





 @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-weight: bold;
  background: white;
}

#square2 {
  display:inline-block;
  width: 35px;
  height: 32px;
  border: 1px solid deepskyblue;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  background: white;
}

#square3 {
  position: relative;
  bottom:0px;
  display:inline-block;
  width: 34px;
  height: 34px;
  border: 1px solid deepskyblue;
  padding-top: 1px;
  margin-left: 2px;
  border-radius: 4px;
  text-align: center;
  background-color: orange;
  }


#diagnostics {
  display: inline-block;
  float: right;
  position: relative;
  left: 3vw;
  padding-top: 3px;
  padding-bottom: 0px;
  font-size: 10px;
  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: 65%;
  right:0;
  left:0;
  margin: 0px;
  z-index:3;
  font-size: 12px;
  
}


#grade,#score{
  font-size: 14px;
}

#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: 75%;
   font-size:16px;

  
}

#answer1,#answer2,#answer2a,#answer2b,#answer2c,#answer3,#answer3b,#answer3c,#answer4,#answer4b,#answer4c,#answer4d,#answer5,#answer6,#answer7,#answer8 {
  border-radius: 5px;
  height: 32px;
  width: 70px;
}

#answer2,#answer2a,#answer2aa,#answer3,#answer3a,#answer3aa{
border-radius: 5px;
height: 32px;
width: 35px;
margin-left: -8px;  
}


#question5bb{
  font-size: 14px;
}


#list1,#list1a,#list2,#list2a,#list3,#list3a,#spinner1,#spinner1a,#spinner2,#spinner2a{
  display: none;
  width: 80%;
}
#quad1,#quad2,#quad3,#quad4{
display: none;
 width: 85%; 
}
#graphs1,#graphs2,#graphs3{
display:none;
  width:75%;
}
#scatter{
 width: 95%; 
}
#scattera{
 display: none;
 width: 95%; 
}

#boxplot1{
  width: 90%;
}


.col {
  display: inline-block;
  position: static;
  float: left;
  border: 1px solid black;
  width: 80px;
  height: 40px;
  margin:0;
  padding-left: 2px;
  font-size: 9px;
}
#perim1{
  width:70%;
}


#row1,#row2,#row3,#row4,#row5 {
  display: block;
  height: 40px;
  width: 300px;
  margin-left: 5px;
  font-size: 10px;
  
}

#row10,#row20,#row30,#row40,#row50 {
  display: block;
  height: 40px;
  width: 240px;
  margin-left: 15px;
  font-size: 14px;
}



#plan,#planb,#planc{
  display: none;
  width: 80%;
}

#graphs1,#graphs2,#graphs3,#graphs4,#graphs5,#graphs6,#graphs7,#graphs8,#graphs9,#graphs10,#cfreq1{
 display:none;
  width: 95%; 
  margin-left: 5px;
}
#cuboid{
  width:200px;
  height:210px;
}

#height7{
  position: relative;
  bottom:85px;
  left:97px;
  font-size: 11px;
  font-weight: bold;

}
#height6{
  position: relative;
  bottom:71px;
  left:145px;
  font-size: 11px;
  font-weight: bold;
}



}

