.box-img{
  position: relative;
  width: 100%;
}

.theory-img{
  position: relative;
  max-width: 550px;
}

.theory-img-holder{
  margin-left: 100px;
}

.shiny-frame {
  position: absolute;
  width: calc(100vw - 30px);
  height: calc(100vh - 150px);
  /*overflow: scroll;*/
  /*border: 1px solid #d2d2d2;*/
}

/*.shiny-bound-output {
  width: 75%;
  width: 75% !important;
}*/

.skin-blue .main-sidebar .sidebar .sidebar-menu a:hover{
  color: white;
}

.button-holder{
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 15px;
}

.para-holder{
    margin: 20px 10%;
    text-align: center;
    border: 3px black solid;
    font-size: 1.3em;
}

.para{
  margin: 10px;
}

.acknowledgements{
  margin-top: 10px;
  margin-left: 18px;
}

.instruct-checkbox {
  color: #041E42;
  margin-right: 10px;
}

.is-checked {
  color: #041E42;
  margin-right: 10px;
}
.not-checked {
  color: white;
  margin-right: 10px;
}

table.post-assess-instructions-tbl tr{
  vertical-align: baseline;
}

.minor-indent{
  margin-left: 15px;
}

.topbot-marg{
  margin-top: 5px;
  margin-bottom: 5px;
}

.countdown{
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1.3em;
}

/* New styling for refactoring */

#login-box-row {
  display: flex;
  justify-content: center;
}

#acknowledgements {
  text-align: center;
}

body:not(.modal-open){
  padding-right: 0px !important;
}

.modal-dialog {
  top: 5%;
}

.modal-header {
  background-color: #041E42;
  color: #FFF;
}

.navbar-default{
  background-color: #041E42;
  border-color: #041E42;
}

.navbar-default .navbar-brand{
  color: #FFFFFF;
  /*margin-right: 0px; /*add back in for bslib*/
}

.navbar-default .navbar-brand:hover{
  color: #FFFFFF;
}

#student_page_header {
  display:flex;
  width: calc(100vw - 95px);
}

#student_page_header_title {
  padding-right: 50px;
  font-weight: bold;
  font-size: 30px;
}

#course_picker {
  margin-top: -5px;
}

#course_picker .dropdown {
  margin-top: -5px;
}

#course_picker .btn.dropdown-toggle.btn-default {
  width: 250px;
  height: 40px;
  background-color: #fff;
  border-color: #fff;
}

#course_picker label {
  padding-right: 15px;
  transform: translateY(0px);
}

#course_picker .filter-option {
  font-size: 18px;
  font-weight: bold;
  color: #041E42D1;
}

#course_picker .caret{
  border-top: 8px dashed;
  border-top: 8px solid;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  color: #041E42;
}

#user_tutorial_link {
  margin-left: auto;
}

.user-info-logout {
  display: inline-flex;
  padding-left: 15px;
}

.tabbable ul {
  margin-right: 15px;
  margin-left: 15px;
  margin-bottom: 15px;
}

#student_ns-tab_to_assessment {
  margin-left: auto;
  height: 35px;
  color: #000;
  background-color: #fff;
}

#student-instructions-box-header {
  display: flex;
  width: calc(100vw - 105px);
}

#student-instructions-box-header  h3 {
  margin-top: 10px !important;
}

#postassess-instructions-box-header {
  display: flex;
  width: calc(100vw - 105px);
}

/* Instructor tab css */

#instruct_page_header {
  display:flex;
  width: calc(100vw - 95px);
}

#instruct_page_header_title {
  padding-right: 50px;
  font-weight: bold;
  font-size: 30px;
}

#instruct_ns-tab_to_assessment {
  margin-left: auto;
  margin-top: 8px;
  height: 35px;
  color: #000;
  background-color: #fff;
}

#instruct-instructions-box-header {
  display: flex;
  width: calc(100vw - 105px);
}

#instruct-instructions-box-header  h3 {
  margin-top: 10px !important;
}

/* sample mirtCat CSS */
#mirtCAT_sample .shiny-frame {
  width: 75vw;
  height: 75vh;
}

#postassess-instructions-box-header h3{
  margin-top: 10px !important;
}


/* Disable hover for hidden tabs */
#auth_page{
  pointer-events: none;
}

#student_page{
  pointer-events: none;
}

#instruct_page{
  pointer-events: none;
}

.box.box-solid.box-primary {
  border: 1px solid #041E42;
}

.box.box-solid.box-primary>.box-header{
  background-color: #041E42;
  background: #041E42;
  border-color: #041E42;
  color: #FFFFFF;
}

.box-header.with-border{
  border-bottom: 1px solid #041E42;
}

.acct-buttons button{
  color: white;
}

.small-box.bg-blue.icon-large {
  color: white;
}

.small-box.bg-blue h3{
  font-size: 50px;
}

.small-box.bg-blue small{
  font-size: 95%;
}

.small-box.bg-blue {
  background-color: #041E42 !important;
}

.info-box-number {
  font-size: 45px;
}

#instruct_ns-instructMostMissed table {
  width: 100%;
}

#student_ns-survey_tabset li {
  width: 32%;
  font-size: larger;
  font-weight: bold;
  text-align: center;
}

#student_ns-diagram {
  margin-left: 100px;
}

.value-box-cont .small-box {
  height: 220px !important;
  max-height: 220px !important;
}

.box-header .box-title {
  width: 100%;
  font-size:28px;
  color:white;
}

.progress-plot-cont .shiny-bound-output {
  width: 100% !important;
}

.missed-tbl-cont {
  padding-right: 10%;
  padding-left: 10%;
}

@media (max-width: 800px) {
  .missed-tbl-cont {
    padding-right: 0;
    padding-left: 0;
  }
}

.missed-tbl-cont #maintable {
  width: 100% !important;
}

.course-tree-cont {
  height: calc(100vh - 250px);
}

@media (max-width: 800px) {
  .course-tree-cont {
    height: unset;
  }
}

.course-tree-cont .shiny-bound-output {
  width: 100% !important;
}

.tree-cont .shiny-bound-output {
  width: 100% !important;
}

.tree-cont .tree-legend {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  font-weight: unset;
}

/* horizontal legend positioning and styling */
.legend { list-style: none; padding-left: 0px; }
.legend li { float: left; margin-right: 5px; color: #000000 }
.legend span { border: 1px solid black; float: left; width: 20px; height: 20px; margin: 1px; border-radius: 10px; }
/* legend colors */
.legend .tree-nodata { background-color: #111111; width: 6px; height: 6px; margin-top: 7px; }
.legend .tree-green1 { background-color: #F6FBF4; }
.legend .tree-green2 { background-color: #CAE8C1; }
.legend .tree-green3 { background-color: #81C07A; }
.legend .tree-green4 { background-color: #30893B; }
.legend .tree-green5 { background-color: #004616; }

.center-text-par {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 50px;
}

.title-text-par h2 {
  font-weight: bold;
  margin-bottom: 10px;
}

.center-text {
  text-align: center;
}

.missed-value-cont {
  /*ext-align: center;*/
  margin-bottom: 25px;
  margin-top: 25px;
  margin-left: 25%;
  margin-right: 25%;
}

.missed-value-cont img{
  max-width: 500px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.missed-answer-cont {
  display: flex;
  flex-direction: row;
  text-align: center;
  border-top: 1px #041e42 solid;
}

.missed-left {
  background-color: #f1f1f1;
  padding-bottom: 10px;
  flex: 50%;
}

.missed-right {
  background-color: #96BEE6;
  padding-bottom: 10px;
  flex: 50%;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
  .missed-answer-cont {
    flex-direction: column;
  }

  .tabbable li {
    width: 100%;
  }

  #student_ns-tab_to_assessment {
    margin-left: 25px;
  }

  #course_picker {
    position: absolute;
    left: auto;
    width: 100%;
    margin-top: 80px;
  }

  .navbar {
    height: 150px;
  }
}

@media (max-width: 800px) {
  #custom_login {
    width: 100% !important;
  }

  #auth_page_div .navbar {
    height: 50px;
  }

  #login-box-row {
    margin-top: 15%;
  }
}
