/* 
********************************************
LAMS Learner Style
********************************************
 */
/* Variables */
/* Imports */
@import url('/lams/includes/font-awesome/css/font-awesome.min.css');
@import url('/lams/css/bootstrap.min.css');
@import url('/lams/css/inlineeditor.css');
@media (max-width: 500px) {
  .h1,
  .h2,
  .h3,
  .h4 {
    font-size: 14px;
  }
  * {
    font-size: 12px;
  }
  .panel-title {
    font-size: 14px;
  }
  .no-gutter > [class*='col-'] {
    padding-right: 5px;
    padding-left: 5px;
  }
  .rating-criteria-tag {
	width: 100%;
  }
  .rating-criteria-tag input[type="text"] {
	width: 100%;
  }
  .rating-criteria-tag .ui-widget input{
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size:11px;
  }
  #criterias-table {
	margin-left: 0px;
	border-bottom: inherit;
  }
  #criterias-table td {
	vertical-align:middle;
  }
 .navbar-login {
    margin-bottom: 5px;
  }
 .navbar-brand-login {
    font-size: large;
  }
}

@media (min-width: 501px) {
  .no-gutter > [class*='col-'] {
    padding-right: 8px;
    padding-left: 8px;
 }
 .navbar-login {
    margin-bottom: 10px;
  }
 .navbar-brand-login {
    font-size: x-large;
  }
}

/* Spacer classes */

.offset2 {
	margin: 2px;
}
.offset3 {
	margin: 3px;
}
.offset5 {
	margin: 5px;
}
.offset10 {
	margin: 10px;
}
.offset15 {
	margin: 15px;
}
.offset20 {
	margin: 20px;
}

.voffset2 {
  margin-top: 2px;
}
.voffset5 {
  margin-top: 5px;
}
.voffset10 {
  margin-top: 10px;
}
.voffset20 {
  margin-top: 20px;
}
.roffset2 {
  margin-right: 2px;
}
.roffset5 {
  margin-right: 5px;
}
.roffset10 {
  margin-right: 10px;
}
.loffset2 {
  margin-left: 2px;
}
.loffset5 {
  margin-left: 5px;
}
.loffset10 {
  margin-left: 10px;
}
.loffset20 {
  margin-left: 20px;
}
.clear-both {
	clear: both;
}
/* Eliminate the scrollbar on learner popup windows, monitoring windows */
.no-margin{
	margin-left: 0px;
	margin-right: 0px;
}
/* Comments/Forum classes */
.msg .panel-heading {
  padding: 3px;
}
.msg {
  margin-bottom: 5px;
}
.msg .panel-title {
  font-weight: normal;
  font-size: 14px;
}
.msg-footer {
  display: block;
  font-size: 12px;
  float: right;
}
.msg-hr {
  margin-top: 5px;
  margin-bottom: 3px;
}
.msg .panel-footer {
  font-size: 11px;
}
.panel-heading-sm {
  padding: 3px 5px;
  font-size: smaller;
  font-weight: bold;
}
.panel-body-sm {
  padding: 3px 5px;
}
.panel-learner-page {
  border-radius: 0px;
  box-shadow: 0 1px 1px rgba(8, 8, 8, 0.88);
}
.panel-monitor-page {
  border-radius: 0px;
  box-shadow: 0 1px 1px rgba(8, 8, 8, 0.88);
}
.panel-learner-page-title,
.panel-admin-page-title {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #e7eaec;
  border-radius: 0px;
  border-image: none;
  border-style: solid solid none;
  border-width: 3px 0 0;
  color: inherit;
  min-height: 48px;
}
.panel-admin-page {
  border-radius: 0px;
  box-shadow: 0 1px 1px rgba(8, 8, 8, 0.88);
  margin-top: 20px;
}
.panel-learner-title {
	color:#337ab7 !important;
}
.panel-admin-title {
	color:#337ab7 !important;
}
body.stripes {
  background: url('/lams/images/css/light-fabric.jpg');
}
.sbox {
  border-bottom: 2px solid rgba(221, 221, 221, 0.55);
  border-radius: 0px;
}
.sbox-body {
  padding: 5px;
}
.sbox-heading {
  padding: 3px 5px;
  border-bottom: 1px solid rgba(221, 221, 221, 0.55);
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
}
.user {
  display: inline-block;
}
.user:before {
  content: "\f007";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  margin-right: 3px;
  color: inherit;
  float: left;
}
.help-tabs{
  display: inline-block;
  margin-right: 10px;
}
.help-no-tabs{
  display: inline-block;
  margin-right: 10px;
}
.help {
  display: inline-block;
}
.help:before {
  content: "\f059";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  margin-right: 2px;
  color: inherit;
  float: right;
}
.na {
  display: inline-block;
}
.na:after {
  content: "\f0a9";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  margin-left: 5px;
  color: inherit;
  /*float: right;*/
}

/* Restrict the width of the up and down arrows so they do not grow wider when the screen is enlarged. td needs to be 5px wider than div. */
div.arrows{
	display:inline-block;
	width:30px;
	text-align: center;
}
td.arrows{
	width:35px;
	text-align: center;
}
/* Tabs are a cross between pills (colouring) and tab outlines. */
/* .nav-tabs > li.active > a{
	color:#fff !important;
	background-color:#337ab7 !important;
}
 */
.nav-tabs > li > a{
  border:1px solid #ddd
}
/* Icons to show panel is collapsed */
.collapsable-icon-right a:after {
    font-family: FontAwesome;
    content:"\f078";
    float: right;
    color: grey;
	margin-right: 5px;
}
.collapsable-icon-right a.collapsed:after {
    content:"\f054";
}
.collapsable-icon-left a:after {
    font-family: FontAwesome;
    content:"\f078";
    float: left;
    color: grey;
	margin-right: 5px;
}
.collapsable-icon-left a.collapsed:after {
    content:"\f054";
}

div.navbar-heading {
	padding:0;
}

nav.navbar-heading {
	border: 0; 
	margin: 0;
	color: inherit;
}

.navbar-heading .divider {
	height: 50px;
	margin-left: 5px;
	margin-right: 5px;
	border-left: 1px solid #dddddd;
}

.navbar-heading .in .divider {
	height: 1px;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	border-top: 1px solid #dddddd;
}

.navbar-heading .in .navbar-text {
	padding-left: 15px;
}

.navbar-brand {
	color:#337ab7 !important;
}

.navbar-text {
	cursor: pointer;
}


/** Authoring */
/*layout of adding a topic button */
a.button-add-item:before {
  content: "\f067";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
  margin-left: 5px;
  color: inherit;
}

.table-no-border>thead>tr>th, 
.table-no-border>tbody>tr>th, 
.table-no-border>tfoot>tr>th, 
.table-no-border>thead>tr>td, 
.table-no-border>tbody>tr>td, 
.table-no-border>tfoot>tr>td {
  border-top: none; 
}

.table-nonfluid {
   width: auto !important;
}

.table-centered th, .table-centered td {
	text-align: center;
}

.table > tbody > tr > td {
	vertical-align: middle;
}

.table .fa {
	cursor: pointer;
}

.form-control-inline {
   width: auto !important;
   display: inline-block;
}

.rating-criteria-tag {
	width: 100%;
}
.rating-criteria-tag input[type="text"] {
	width: 100%;
}
.rating-criteria-tag .ui-widget input{
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size:12px;
	line-height:1.42857143;
	padding: 2px;
}

#criterias-table {
	margin-left: 0px;
	border-bottom: inherit;
}
#criterias-table td {
	vertical-align:middle;
}

/* .....NavBar: Icon only with coloring/layout.....*/

/*small/medium side display*/
@media (min-width: 768px) {

	/*Allow content to be next to Nav*/
	.navcontent{
		position: absolute;
		width: calc(100% - 40px); /*keeps 100% minus nav size*/
		margin-left: 20px;
		float: right;
		min-height:100%;
	}
	
	/* darker outline than usual */
	nav.sidebar{
		  border-radius: 0px;
		  box-shadow: 0 1px 1px rgba(8, 8, 8, 0.88);
		  min-height:300px;
	}
 
	/*Center Brand*/
	nav.sidebar.navbar.sidebar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
		margin-left: 0px;
	}
	/*Center Brand*/
	nav.sidebar .navbar-brand, nav.sidebar .navbar-header{
		text-align: center;
		width: 100%;
		margin-left: 0px;
	}

	/*Format Icons*/
	nav.sidebar a{
		padding:10px 10px 10px 12px;
	}

	nav.sidebar.slidesidemenu{
		padding:10px 10px 10px 12px;
	}
	/*Hide text when compressed*/
	nav.sidebar p{
		padding-right: 35px;
		text-align: center;
	}
 
	/* colour in top box to match panel heading */
	nav.sidebar .navbar-nav > li:first-child{
		background-color:#f5f5f5 !important;
	}

	/*adds border to bottom nav boxes except for the last box */
	nav.sidebar .navbar-nav > li{
		border-bottom: 1px #e5e5e5 solid;
		background-color:#fff;
	}

	nav.sidebar .navbar-nav > li:last-child{
		border-bottom: 0px;
	}

	/*allows nav box to use 100% width, style to be like panel */
	nav.sidebar .navbar-collapse, nav.sidebar .container-fluid{
		padding: 0 0px 0 0px;
		border:2px solid transparent;
		box-shadow:0 1px 1px rgba(0,0,0,0.05)
	}

	/*gives sidebar width/height*/
	nav.sidebar{
		width: 180px;
		height: 100%;
		margin-left: -135px;
		float: left;
		z-index: 8000;
		margin-top: 0px;
		margin-bottom: 0px;
	}

	/*give sidebar 100% width;*/
	nav.sidebar li {
		width: 100%;
		margin-top: 3px;
		margin-bottom: 3px;
	}

 	/* Move nav to full on mouse over*/
 	nav.sidebar.expandmenu {
		margin-left: 0;
	}
	 
/* 	nav.sidebar:hover{
		margin-left: 0px;
	}
 */
 	/*for hiden things when navbar hidden*/
	.forAnimate{
		opacity: 0;
	}
	
	nav.sidebar .fa{
		font-size: 18px;
	}
	
}

/* .....NavBar: Fully showing nav bar..... */

@media (min-width: 1330px) {

	/*Allow content to be next to Nav*/
	.navcontent{
		position: absolute;
		width: calc(100% - 180px); /*keeps 100% minus nav size*/
		margin-left: 170px;
		float: right;
	}

	/*Show all nav*/
	nav.sidebar{
		margin-left: 0px;
		float: left;
	}
	/*Show hidden items on nav*/
	nav.sidebar .forAnimate{
		opacity: 1;
	}
}

nav.sidebar .navbar-nav .open .dropdown-menu>li>a:hover, nav.sidebar .navbar-nav .open .dropdown-menu>li>a:focus {
	color: #CCC;
	background-color: transparent;
}

nav:hover .forAnimate{
	opacity: 1;
}
section{
	padding-left: 15px;
}