
/*html {
  font-family: Helvetica, sans-serif;
}*/
a {
  color: #eee;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 300;
}

.bgSplash {
  background: url(../images/bg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height: 100vh;
  /* Set up proportionate scaling */
  width: 100%;

  /* These are to keep the footer at the bottom even if scroll is needed on mobile */
  position: relative;
  padding-bottom: 60px;
  }

.logo-box {
  margin-top: 60px;
}
.login-box {
  max-width: 300px;
  margin: auto;

  background-color: rgb(0,0,0, .50);

  border-radius: 5px;
  padding: 20px;
}

.login-button {
  color: #444;
  width: 260px;
  margin-bottom: 10px;
}

.register-button {
  width: 260px;
  margin-bottom: 10px;
}

.reset-button {
  background-color: rgba(0,0,0,0.6);
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
  margin-bottom: 10px;
}

.login-button:hover, .reset-button:hover, .register-button:hover  {
  opacity: 0.8;
  transition-duration: 0.5s;
}

/* HEADER */
.nav-wrapper {
  z-index: 2;
}

.header-logo {
  height: 60px;
  margin-left: 20px;
}

.account-nav {
  height: 50px;
  margin-right: 20px;
  float: right;
  min-width: 140px;
  padding: 0 20px 0 20px;
  margin-top: 5px;
  line-height: 50px;
  background-color: rgba(0,0,0,0.1);
  border-radius: 25px;
  transition-duration: 0.5s;
}

.account-nav:hover {
  background-color: rgba(0,0,0,0.2);
}

/* PRETEST */
.pretest-progress-bar {
  background-color: #ddd;
  width: 100%;
  height: 6px;
  border-radius: 3px;
}

.pretest-progress {
  background-color: #f9a825;
  width: 20%;
  height: 6px;
  border-radius: 3px;
}

/* SKETCH CANVAS */
canvas.pretest-canvas {
  border: 1px solid #ddd;
  width: 100%;
  background: #fff url('../images/grid-md.png') repeat;
  margin: 0;
  height: 400px;
}

.spacer {
  height: 100px;
  width: 100%;
}

#questionText {
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 1;
  flex-grow: 0;
  padding: 10px 20px;
  color: #eee
}

#axisImage {
  top: 80px;
  right: 30px;
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 1;
  background-image: url('../images/icons/axis.svg');
}

/* QUESTIONS */
html {
  height: 100%;
  min-height: 100%;
}

body, .content {
  height: auto;
  min-height: 100vh;
  position: relative;
}

#canvasContainer {
  height: 100vh;
  width: 75vw;
  position: relative;
  left: 25vw;
  overflow: hidden;
}

#questionCanvas {
  display: block;
  background: url('../images/grid-md.png') repeat;
  margin: 0;
  /* Set up proportionate scaling */
  width: 100%;
  height: 100%;

  /* Set up positioning */
  z-index: 1;
}

canvas.draw {
  cursor: crosshair;
}

canvas.erase {
  cursor: url('../images/icons/eraserCursor.svg'), auto;
}

#resizeCanvasHandle {
  width: 100vw;
  height: 0px;
  border: 2px black dashed;
  /* background-color: black; */
  cursor: ns-resize;
}

/* canvas[resize] {
    width: 100%;
    height: 100%;
} */

.materialboxed.active {
  margin-top: 30px;
}

.sidepanel {
  background-color: #333;
  min-width: 380px;
  width: 25%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  float: left;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
  transition-duration: 0.5s;
}

.sidepanel #assignmentInfo {
  color: #eee;
  margin-right: 20px;
  margin-bottom: 10px;
  overflow: hidden;
}

#assignmentName {
  margin-bottom: 0px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sidepanel p{
  color: #ccc;
  padding: 0 30px 0 30px;
}

.creationSidepanel {
  background-color: #444444;
  width: 30%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  float: left;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
  transition-duration: 0.5s;
}

.creationsidepanel #assignmentInfo {
  color: #eee;
  padding: 0 30px 0 90px;
  margin: 0 0 10px 0;
  /* line-height: 60px; */
}

.creationsidepanel p{
  color: #ccc;
  padding: 0 30px 0 30px;
}

.creationHidepanel {
  height: 40px;
  width: 40px;
  position: fixed;
  left: 29%;
  top: 21px;
  background-color: #f9a825;
  background-image: url('../images/icons/hidepanel.svg');
  transform: rotate(0deg);
  transition-duration: 0.5s;
  cursor: hand;
  border-radius: 20px;
}

.creationHidepanel:hover {
  background-color: #e9a115;
}

.hidepanel {
  height: 40px;
  width: 40px;
  position: absolute;
  right: -20px;
  top: 20px;
  background-color: #565656;
  background-image: url('../images/icons/hidepanel.svg');
  transform: rotate(0deg);
  transition-duration: 0.5s;
  cursor: hand;
  border-radius: 20px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

.hidepanel:hover {
  background-color: #f9a825;
}

.hidepanel.rotated {
  transform: rotate(180deg);
}

#question-image {
  background-color: #fff;
  position: relative;
}

#question-image img {
  margin: auto;
  max-height: 25vh;
  max-width: 100%;
}

#question-image img.active {
  max-height: 100vh;
  max-width: 100vw;

}


#gridToggle {
	background-color: #444;
	background-image: url('../images/icons/grid.svg');
  border-radius: 25px;
  cursor: hand;
}

#togglegrid a {
	float: left;
	height: 40px;
	width: 40px;
	opacity: 0.6;
	transition: .5s;
}

#togglegrid a:hover {
	opacity: 1;
	transition: .5s;
}

#drawOptions {
	position: absolute;
  top: 15px;
  right: 15px;
	width: 165px;
  /* background: #ff191d; /* Old browsers */
  /* background: -moz-linear-gradient(left, #ff191d 0%, #76db98 100%); /* FF3.6-15 */
  /* background: -webkit-linear-gradient(left, #ff191d 0%,#76db98 100%); /* Chrome10-25,Safari5.1-6 */
  /* background: linear-gradient(to right, #ff191d 0%,#76db98 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff191d', endColorstr='#76db98',GradientType=1 ); /* IE6-9 */
  height: 50px;
  border-radius: 25px;
}

#drawOptions ul {
  margin: 0;
  padding: 0;
}

#drawOptions li {
	display: inline-block;
	margin: 0 0 0 0px;
	padding: 0;
	width: 50px;
	height: 50px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

#drawOptions li.active {
  background-color: #f9a825;
}

#drawOptions li:hover {
	opacity: 0.8;
	transition-duration: 0.5s;
}

#loadingSpinner {
  display: flex;
  width: 0;
  height: 0;
  background-color: #444;
  opacity: 0;
  position:absolute;
  left:0;
  top:0;
  z-index: -1000;
  transition: opacity 0.5s ease, width 0.05s ease 0.5s, height 0.05s ease 0.5s, z-index 0.05s ease 0.5s;
}

#loadingSpinner.visible {
  width: 100vw;
  height: 100vh;
  opacity: 0.8;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

#gridOptions {
	box-shadow: 0px 5px 25px rgba(0,0,0,0.2);
	position: absolute;
	top: 140;
	right: 95;
	width: 50px;
	background-color: #ddd;
  border-radius: 25px;
}

#gridOptions ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#gridOptions li {
	margin: 0;
	padding: 0;
	display: inline-block;
	height: 50px;
	width: 50px;
	cursor: hand;
  border-radius: 25px;
}

#gridOptions li:hover {
	background-color: #ccc;
}

.grid-sm {
  background-image: url('../images/icons/grid-sm.svg');
}

.grid-md {
  background-image: url('../images/icons/grid-md.svg');
}

.grid-l {
  background-image: url('../images/icons/grid-l.svg');
}

.undo{
	background-image: url('../images/icons/undo.svg');
	cursor: hand;
  background-position: top;
}

#problemSubmitButton {
  /* height: 50px; */
  border-radius: 25px;
}

#saveButton {
  color: #eee;
  background-color: #565656;
  margin: 0 10px;
}

#toast-container {
  left: 27%;
  right: auto; /* Required b/c materialize sets the right to 7% by default */
  top: auto;
  bottom: 2%;
}

#submissionCountIndicator {
  color: #eee;
}

#correctCount {
  color: #eee;
}

.custom-opacity-button {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 25px;
  display: inline-block;
  height: auto;
  width: auto;
  line-height: 48px;
  padding: 0 2rem;
  vertical-align: middle;
  text-transform: none;
  -webkit-tap-highlight-color: transparent;
}

.opacity-2 {
  background: rgba(0, 0, 0, 0.5);
  margin-right: 4rem

}

.custom-opacity-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

img.responsive-img {
  max-width: 1000px;
}

.custom-opacity-button:focus {
  background: rgba(0, 0, 0, .3);
}

.btn {
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
}

.footer {
  position: absolute;
  bottom: 0;
  height: 60px;
  line-height: 60px;
  width: 100%;
  color: #eee;
  padding: 0 30px 0 30px;

}

.footer img {
  height: 50px;
  float: right;
  margin-left: 30px;
}

/* label underline focus color */
   .input-field input[type=text]:focus {
     border-bottom: 1px solid #f9a825;
     box-shadow: 0 1px 0 0 #000;
   }


   /* REGISTRATION */

   #left-vs-right {
   	width: 200px;
    margin: auto;
    line-height: 30px;
   	margin: 40px 0 20px 0;
   	border-radius: 50px;
   	background-color: rgba(255, 255, 255, 0.1);
   }

   #lefty {
   	background: url('../images/lefty.svg') no-repeat bottom left;
   	background-size: 70px 70px;
   	width: 100px;
   	height: 100px;
   	border-radius: 50px;
   	float: left;
   	cursor: hand;
   }

   #righty {
   	background: url('../images/righty.svg') no-repeat bottom right;
   	background-size: 70px 70px;
   	width: 100px;
   	height: 100px;
   	border-radius: 50px;
   	float: right;
   	cursor: hand;
   }

   #righty.active {
   	background-color: #f9a825;
   }

   #lefty.active {
   	background-color: #f9a825;
   }

   #righty:hover {
   	background-color: #777;
   	transition-duration: 0.5s;
   }

   #lefty:hover {
   	background-color: #777;
   	transition-duration: 0.5s;
   }

  #instructions {
    background-color: #eee;
    color: #444;
    position: absolute;
    height: 50px;
    line-height: 50px;
    left: 28%;
    top: 15px;
    padding: 0 20px 0 30px;
    font-size: 14px;
    box-shadow: 10px 5px 15px rgba(0,0,0,0.1);
    transition-duration: 0.5s;
    border-radius: 25px;
    background-image: url('../images/icons/idea.svg');
    background-repeat: no-repeat;
  }

  #creationInstructions {
    background-color: #eee;
    position: absolute;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
    width: 60%;
    left: 33%;
    top: 15px;
    padding: 0;
    font-size: 16px;
    box-shadow: 10px 5px 15px rgba(0,0,0,0.1);
    transition-duration: 0.5s;
  }

  #prevStep {
    width: 10%;
    height: 50px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    background-color: #f9a825;
    float: left;
    padding: 0 0px 0 20px;
    color: #eee;
    text-align: center;
  }

  .disabledStep {
    background-color: #555 !important;
  }

  #nextStep {
    width: 10%;
    height: 50px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: #f9a825;
    float: right;
    padding: 0 20px 0 20px;
    color: #eee;
    text-align: center;
  }

  #creationStep {
    background-color: #444;
    color: #eee;
    padding-left: 20px;
    height: 50px;
    line-height: 50px;
    width: 80%;
    float: left;
  }

  #prevStep:hover, #nextStep:hover {
    opacity: 0.8;
    transition-duration: 0.5s;
  }

  #creationSteps {
    background-color: #444;
    color: #eee;
    height: 50px;
    line-height: 50px;
    width: 80%;
    display: inline-block;
    float: left;
  }

  #creationSteps ul {
    margin: 0;
    padding: 0;
  }

  #creationSteps ul li{
    display: inline-block;
    width: 33.3%;
    height: 50px;
    border-bottom: 4px solid #999;
    border-right: 1px solid #666;
    padding: 0 0 0 50px;
    margin: 0;
    opacity: 0.6;
  }

  #creationSteps ul li.active{
    border-bottom: 4px solid #f9a825;
    opacity: 1;
  }

  #creationSteps ul li:hover{
    opacity: 1;
  }

  #steps {
    background-color: #444;
    color: #eee;
    height: 50px;
    line-height: 50px;
    width: 150px;
    display: inline-block;
    float: left;
  }

  #steps ul {
    margin: 0;
    padding: 0;
  }

  #steps ul li{
    display: inline-block;
    width: 50px;
    height: 50px;
    border-bottom: 3px solid #bd7e17;
    padding: 0;
    margin: 0;
  }

  #steps ul li.active{
    border-bottom: 4px solid #f9a825;
  }

  #steps ul li:hover{
    opacity: 0.7;
  }


  #step1 {
    background: url('../images/icons/step1.svg') no-repeat;
    background-size: cover;
  }

  #step2 {
    background: url('../images/icons/step2.svg') no-repeat;
  }

  #step3 {
    background: url('../images/icons/step3.svg') no-repeat;
  }

  #creationStep1 {
    background: url('../images/icons/creationStep1.svg') no-repeat;
  }

  #creationStep2 {
    background: url('../images/icons/creationStep2.svg') no-repeat;
  }

  #creationStep3 {
    background: url('../images/icons/creationStep3.svg') no-repeat;
  }

  .equations {
    padding: 20px 20px;
    flex-basis: 135px;
    flex-shrink: 1;
    flex-grow: 1;
  }

  .equations ul li {
    color: #eee;
    font-size: 1.3rem;
    line-height: 40px;
  }

  .equations {
      color: #eee;
      font-size: 1.3rem;
      line-height: 40px;
      background-color: #2b2b2b;
  }

  .eqn {
      margin: 0 0 20px 0;
  }

  .eqn-text {
      color: #eee;
      font-size: 1.3rem;
      line-height: 40px;
      flex-shrink: 0;
      max-width: 60%;
  }

  .eqn-input {
    padding: 0px 10px !important;
  }

  input.arrowLabel {
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    color: #eee;
    text-align: center;
  }

  input.nodeLabel {
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #eee;
    background-color: transparent !important;
    text-align: center;
  }

  i.arrowLabelWarning {
    position: absolute;
    right: -8px;
    top: -18px;
    display: none;
    color: red;
  }

  .correct {
      color: green;
  }

  .wrong {
      color: red;
  }

  .toggle-menu {
    height: 60px;
    width: 60px;
    background: #f9a825 url('../images/icons/emblem.svg') no-repeat;
    border-radius: 30px;
    display: inline-block;
    margin: 10px;
    margin-left: 20px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
    z-index: 3;
  }

  .side-nav {
    background-color: #f9a825;
    color: #eee;
  }

  .side-nav li>a {
    color: #fff;
    font-size: 24px;
    height: 60px;
    padding-top: 5px;
    font-weight: 300;
  }

  .side-nav .user-view {
    height: 80px;
    margin: 10px 20px;
  }

  #feedback {
    display: inline-block;
    padding-left: 20px;
    line-height: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  #finishedButton {
    display: inline-block;
    margin-left: 20px;
    line-height: 50px;
    height: 50px;
    font-size: 1.1rem;
    border-radius: 25px;
    padding: 0 20px;
    background-color: #f9a825;
    color: #eee;
    margin-right: -20px;
  }

  #finishedButton:hover {
    opacity: 0.7;
    transition-duration: 0.5s;
  }

  .redo {
    background-color: rgba(0,0,0,0);
    background-image: url('../images/icons/redo.svg');
    cursor: hand;
  }

  li.erase {
    background-color: #444;
    background-image: url('../images/icons/eraser.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 25px;
  }

  li.draw {
    background-color: #444;
    background-image: url('../images/icons/pencil.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 25px;
  }

  li.delete {
    background-color: #444;
    background-image: url('../images/icons/delete.svg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 25px;
  }

  /* label underline focus color */
     .input-field input[type=text]:focus {
       border-bottom: 1px solid #f9a825;
       box-shadow: 0 1px 0 0 #000;
     }

  input[type=text].valid:not(.browser-default) {
      border-bottom: 1px solid #f9a825;
      box-shadow: 0 0 0 0 #000;
  }

  input[type=text].valid:active(.browser-default) {
      border-bottom: 1px solid #f9a825;
      box-shadow: 0 0 0 0 #f9a825 !important;
  }

  input[type=text].valid:(.browser-default) {
      border-bottom: 1px solid #f9a825;
      box-shadow: 0 0 0 0 #f9a825 !important;
  }

  input[type=text]:not(.browser-default) {
    border-bottom: 1px solid #888;
    box-shadow: 0 0 0 0 #000;
    border-radius: 0px;
  }

  input[type=text]:disabled {
    color: #999 !important;
  }

  .assignments {
    background-image: url('../images/bg-dashboard.jpg');
    background-attachment: fixed;
  }

  .progressbar {
    height: 5px;
    width: 100%;
    background-color: #333;
    margin: 20px 0 20px 0;
  }

  #progress {
    height: 5px;
    width: 20%;
    background-color: #f9a825;
  }

  #uploadImage {
    width: 100%;
    height: 25vh;
    background-color: #333;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 10px 0 0 0;
    margin-top: 20px;
  }

  #uploadIcon{
    width: 140px;
    height: 140px;
    line-height: 200px;
    margin: 40px auto 0 auto;
    background-image: url('../images/icons/upload.svg');
    background-repeat: no-repeat;
    background-position: center;
    color: #eee;
    text-align: center;
    background-color: #303030;
    border-radius: 70px;
    cursor: hand;
  }

  #uploadImage:hover {
    opacity: 0.5;
    transition-duration: 0.5s;
  }

  .creationTab {
    float: left;
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 50%;
    height: 50px;
    line-height: 50px;
    color: #eee;
    text-align: center;
    font-size: 1.2rem;
    cursor: hand;
  }

  .creationTab.active {
    background-color: #393939;
  }

  .creationTab:hover {
    background-color: #393939;
    transition-duration: 0.5s;

  }

  .creationSection {
    display: none;
    background-color: #393939;
    padding: 10px 20px 0 20px;
    margin: 0;
    height: 100vh;
  }

  .creationSection {
    display: none;
    background-color: #393939;
    padding: 10px 20px 0 20px;
    margin: 0;
    height: 100vh;
  }

  .creationSection.active {
    display: block;
  }

  .gradingFeedback {
    background-color: #222;
    color: #eee;
    margin-bottom: 20px;
    padding: 0 20px 0 20px;
    border-radius: 20px;
    height: 40px;
    min-width: 20px;
    line-height: 40px;
  }

  .gradeA {
    background-color: rgba(0,150,0,1) !important;
    font-weight: bold !important;
  }

  .gradeB {
    background-color: rgba(100,150,0,1) !important;
    font-weight: bold !important;
  }

  .gradeC {
    background-color: rgba(150,150,0,1) !important;
    font-weight: bold !important;
  }

  .gradeD {
    background-color: rgba(200,150,0,1) !important;
    font-weight: bold !important;
  }

  .gradeF {
    background-color: rgba(200,50,0,1) !important;
    font-weight: bold !important;
  }

  #submitDiv {
    background-color: #333;
    padding: 10px 20px;
    border-top: 0px solid #424242;
    min-height: 70px;
    flex-shrink: 0;
    flex-basis: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

  }

  #statusText {
    display: flex;
    flex-direction: column;
    align-items: left;
  }

  .prevQuestion {
    color: #eee;
    background-color: #565656;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 0 5px;
    margin-right: -1px;
  }

  .nextQuestion {
      color: #eee;
      background-color: #565656;
      border-top-right-radius: 20px;
      border-bottom-right-radius: 20px;
      padding: 0 5px;
      margin-right: -1px;
    }

  .prevQuestion:hover, .nextQuestion:hover {
    background-color: #f9a825;
    transition-duration: 0.5s;
  }

  .switch label input[type=checkbox]:checked+.lever {
  background-color: #fa3;
}

.switch label input[type=checkbox]:checked+.lever:after {
  background-color: #f93;
}

.clear60 {
  width: 100%;
  height: 60px;
  clear: both;
}

::-webkit-scrollbar {
  background-color: #252525;
}

::-webkit-scrollbar-thumb {
  background-color: #404040;
}

#warningOverlay {
  z-index: 1000;
  position: absolute;
  background-color: rgba(0,0,0,0.3);
  width: 100%;
  height: 100vh;
  display: none;
  opacity: 0;
  transition-duration: 1s;
}

.warningModal {
  position: relative;
  width: 25%;
  margin: 20% auto 0 auto;
  background-color: #333;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
  padding: 20px;


}

#warningText {
  color: #eee;
  font-size: 1.1em;
  text-align: center;
}

#cancelButton {
  margin-right: 10px;
}

#confirmButton {

}

.buttonContainer {
  position: relative;
  text-align: center;
}

#studentName {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 50px;
  line-height: 50px;
  vertical-align: center;
  background-color: #444;
  color: #eee;
  border-radius: 25px;
  padding: 0 20px 0 45px;
  background-image: url('../images/icons/profile.svg');
  background-repeat: no-repeat;
  background-position: left center;
}

#attemptNumber {
  background-color: #373737;
  border-radius: 25px;
  color: #ddd;
  height: 50px;
  line-height: 50px;
  padding: 0px 20px;
}
