
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
body > .container {
  padding: 60px 15px 0;
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

a:link, a:visited, a:hover, a:active{
    text-decoration: none;
}

#footer {
  position: absolute;
  padding-top: 15px;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 50px;
  background-color: #f5f5f5;
}
.do {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;

}
/* exam */

.q1, .q2, .q3 {
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-top: 0px solid #ccc;

}
.label {
  white-space: normal !important;
}

.line {
  border: 2px solid #5cb85c;
  padding: 1px;
}


/* back to top */
#go-top {
	position: fixed;
	left: 48%;
	margin-left: 470px; 
	bottom: 50px;
	z-index: 99999;
	display: none;
}
#go-top a {
	display: block;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
#go-top a:hover {
opacity: 1;
}
@media (max-width: 1000px) {
#go-top {left: 83%; margin-left: 0px;bottom: 5px;display:none;}
}
@media (max-width: 320px) {
#go-top {left: 80%; margin-left: 0px;bottom: 0px;display:none;}
}


/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
       -moz-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}
