.top-header {
  position: fixed;
  width: 100%;
  background-image: url('/sources/lanat/bg.jpg');
  background-repeat: repeat-x;
  background-size: 100% 600%;
  height: 160px;
  z-index: 999;
}
.top-header img.logo {
  margin-top: 0 !important;
}
.logo-container {
  overflow: hidden;
  height: 159px;
  margin-left: 4px;
}
.navbar-default {
  position: absolute;
  top: 25px;
  right: 20px;
  background-color: transparent;
  border-color: transparent;
  margin-bottom: 0;
}
@media (max-width: 399px) {
  .navbar-default {
    right: 0;
  }
}
.container-fluid {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
a.navbar-brand {
  float: none !important;
  color: white !important;
  font-size: 25px !important;
}
@media (min-width: 400px) and (max-width: 525px) {
  a.navbar-brand {
    font-size: 22px !important;
    margin-top: 25px;
  }
}
@media (max-width: 399px) {
  a.navbar-brand {
    font-size: 18px !important;
    padding: 5px 5px;
  }
}
@media (min-width: 400px) and (max-width: 470px) {
  .navbar-header {
    margin-left: 25px !important;
  }
}
@media (min-width: 400px) {
  .navbar-header {
    margin-top: 20px;
  }
}
@media (max-width: 399px) {
  .navbar-header {
    margin-top: 85px;
  }
}
.scrolled.top-header {
  height: 90px;
  margin-bottom: 20px;
}
.scrolled.top-header .logo-container {
  height: 90px;
}
.scrolled.top-header img.logo {
  height: 100px;
  margin-top: -30px;
  margin-bottom: 15px;
}
.scrolled.top-header .navbar-default {
  top: 7px;
}
@media (min-width: 768px) and (max-width: 1085px) {
  .scrolled.top-header .navbar-collapse {
    margin-top: 6px;
  }
}
@media (min-width: 768px) and (max-width: 1085px) {
  .scrolled.top-header .navbar-header {
    margin-top: 3px;
  }
}
@media (max-width: 410px) {
  .scrolled.top-header .navbar-header {
    margin-top: 10px;
  }
}
@media (min-width: 400px) {
  .navbar-collapse {
    margin-top: 11px;
  }
}
.navbar-toggle {
  margin-top: 0;
}
.nav-bar {
  margin-top: 0;
}
@media (max-width: 767px) {
  .nav-bar {
    position: relative;
  }
}
.navbar-inverse {
  background-color: inherit;
}
.collapse.in,
.collapsing {
  position: absolute;
  right: 15px;
  top: 45px;
  background-color: #18171D;
  border-color: #18171D;
  margin-right: 0;
  margin-top: 0;
}
.collapse.in li a,
.collapsing li a {
  color: white !important;
}
.navbar-toggle span {
  color: #000;
}
ul.nav {
  margin: 0;
  padding: 0;
}
.navbar-default .navbar-nav > li > a,
.btn-link.logout {
  font-size: 14px;
  text-transform: capitalize;
  margin: 0 8px;
  font-weight: 600;
  color: white;
  padding: 14px 15px;
}
.navbar-default .navbar-nav > li > a:focus,
.btn-link.logout:focus,
.navbar-default .navbar-nav > li > a:hover,
.btn-link.logout:hover {
  color: #666;
}
@media (max-width: 1199px) {
  .navbar-default .navbar-nav > li > a,
  .btn-link.logout {
    margin: 0 0;
  }
}
.navbar-default .navbar-nav > .active > a {
  color: #555 !important;
}
/* End of header */
/* for site/role-user/index */
.videoWrapper {
  margin: 30px auto;
}
@media (min-width: 1200px) {
  .videoWrapper {
    width: 600px;
    height: 337.5px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .videoWrapper {
    width: 580px;
    height: 326.25px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .videoWrapper {
    width: 560px;
    height: 315px;
  }
}
@media (min-width: 750px) and (max-width: 767px) {
  .videoWrapper {
    height: 426.375px;
  }
}
@media (min-width: 725px) and (max-width: 749px) {
  .videoWrapper {
    height: 414.5625px;
  }
}
@media (min-width: 700px) and (max-width: 724px) {
  .videoWrapper {
    height: 400.5px;
  }
}
@media (min-width: 675px) and (max-width: 699px) {
  .videoWrapper {
    height: 386.4375px;
  }
}
@media (min-width: 650px) and (max-width: 674px) {
  .videoWrapper {
    height: 372.375px;
  }
}
@media (min-width: 625px) and (max-width: 649px) {
  .videoWrapper {
    height: 358.3125px;
  }
}
@media (min-width: 600px) and (max-width: 624px) {
  .videoWrapper {
    height: 344.25px;
  }
}
@media (min-width: 575px) and (max-width: 599px) {
  .videoWrapper {
    height: 330.1875px;
  }
}
@media (min-width: 550px) and (max-width: 574px) {
  .videoWrapper {
    height: 316.125px;
  }
}
@media (min-width: 525px) and (max-width: 549px) {
  .videoWrapper {
    height: 302.0625px;
  }
}
@media (min-width: 500px) and (max-width: 524px) {
  .videoWrapper {
    height: 288px;
  }
}
@media (min-width: 475px) and (max-width: 499px) {
  .videoWrapper {
    height: 273.9375px;
  }
}
@media (min-width: 450px) and (max-width: 474px) {
  .videoWrapper {
    height: 259.875px;
  }
}
@media (min-width: 425px) and (max-width: 449px) {
  .videoWrapper {
    height: 245.8125px;
  }
}
@media (min-width: 400px) and (max-width: 424px) {
  .videoWrapper {
    height: 231.75px;
  }
}
@media (min-width: 375px) and (max-width: 399px) {
  .videoWrapper {
    height: 217.6875px;
  }
}
@media (min-width: 350px) and (max-width: 374px) {
  .videoWrapper {
    height: 203.625px;
  }
}
@media (max-width: 767px) {
  .videoWrapper {
    width: 100%;
  }
}
.videoWrapper iframe {
  width: 100%;
  height: 100%;
}
.user-profile-form {
  display: -webkit-flex;
  /* Safari */
  display: flex;
}
.user-profile-form .buttons {
  margin-left: 20px;
  margin-top: 8px;
}
/* -------------------------------------------------- */
/* for solutions _form.php */
.no-display {
  display: none;
}
.supported-video-hint {
  height: 124px;
}
.supported-video-hint p {
  font-size: 12px;
  margin-top: 2px;
  margin-bottom: 7px;
}
.supported-video-hint .icon {
  width: 65px;
  height: 65px;
  float: left;
  margin-right: 14px;
  background-size: contain;
}
.supported-video-hint .fa-youtube-play {
  font-size: 68px;
  color: red;
}
.input-group-addon .icon {
  width: 30px;
  height: 30px;
  background-size: contain;
}
#solutions-link {
  height: 43px;
}
/* FileUploadUI widget  */
#solutionfiles-files-fileupload .preview img {
  width: 200px;
}
#file-wrapper .control-label {
  margin-bottom: 9px;
}
/* --- */
/* ------------------------- */
/*user-profile _form */
.no-avatar-in-profile {
  margin: 0 auto;
  text-align: center;
  width: 200px;
  height: 200px;
  border: 1px solid;
  line-height: 200px;
}
@media (max-width: 500px) {
  .no-avatar-in-profile {
    width: 100px;
    height: 100px;
    line-height: 100px;
  }
}
.user-form .change-avatar {
  margin-bottom: 15px;
}
.user-form .change-avatar img {
  width: 67%;
}
.user-form .change-avatar span img {
  width: 30%;
}
.user-form .change-avatar .alert {
  margin-top: 30px;
}
@media (max-width: 767px) {
  .user-form .change-avatar .alert {
    margin-top: 15px;
  }
}
.courses-form img {
  width: 400px;
}
/* ------------------------- */
/* course view */
.no-avatar-in-profile-small {
  text-align: center;
  width: 80px;
  height: 80px;
  border: 1px solid;
  line-height: 80px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
/* -------------------------- */
/* ----- tasks-index page ---- */
@media (min-width: 1200px) {
  width: 70%;
}
@media (min-width: 992px) and (max-width: 1199px) {
  width: 80%;
}
@media (max-width: 500px) {
  .panel-heading {
    font-size: 20px;
  }
}
.panel-heading h2,
.panel-heading h3 {
  color: #337ab7;
  margin-top: 5px;
}
.panel-heading h2 a,
.panel-heading h3 a {
  text-decoration: none;
}
.panel-heading p {
  margin: 0;
}
.panel-body .table {
  margin-bottom: 0;
}
.panel-body .table .glyphicon-trash {
  margin-left: 10px;
}
.panel-footer .buttons,
.panel-footer .note {
  float: left;
}
.panel-footer .note {
  margin-top: 7px;
  margin-left: 20px;
}
/*   Enable Flex */
.flex {
  display: -webkit-flex;
  /* Safari */
  display: flex;
}
/* --------------------------- */
p img {
  padding: 12px;
}
@media (max-width: 767px) {
  p img {
    max-width: 100%;
    height: auto !important;
  }
}
/* Sidebar */
#sidebar {
  height: calc(100% - 50px);
  /* 100% Full-height */
  width: 300px;
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Stay on top */
  top: 0;
  /* Stay at the top */
  left: 0;
  background-color: #222;
  color: #9d9d9d;
  overflow-x: hidden;
  /* Disable horizontal scroll */
  transition: 0.5s;
  /* 0.5 second transition effect to slide in the sidenav */
  margin-top: 50px;
  /* Place content 60px from the top */
}
@media (max-width: 767px) {
  #sidebar {
    height: auto;
    width: 100%;
    overflow-x: inherit;
  }
}
@media (max-width: 767px) {
  #sidebar .menu {
    position: absolute;
    top: 10px;
    left: 15px;
  }
}
#sidebar a {
  text-decoration: none;
  color: inherit;
}
#sidebar a.active {
  color: #fff;
}
#sidebar a.active:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border: 10px solid transparent;
  border-right-color: #fff;
  border-left: 0;
  position: absolute;
  right: 0;
  top: 50px;
  transform: translateY(-50%);
}
#sidebar .navbar {
  margin-bottom: 0;
}
#sidebar .navbar-collapse {
  padding-left: 0;
  padding-right: 0;
  background-color: #222;
}
#sidebar .navbar-inverse {
  border: none;
  background: transparent;
}
#sidebar .navbar-inverse .navbar-toggle {
  float: left;
}
#sidebar .header {
  padding: 10px 15px;
  color: #9d9d9d;
  text-decoration: none;
}
@media (max-width: 767px) {
  #sidebar .header {
    padding: 0 15px;
    padding-left: 80px;
  }
}
#sidebar .header h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  padding: 0;
}
@media (max-width: 767px) {
  #sidebar .header h2 {
    margin-top: 10px;
  }
}
#sidebar .header h2:hover {
  background: none;
}
#sidebar .header:hover {
  background: rgba(49, 49, 49, 0.5);
}
#sidebar .fa-book {
  display: block;
  position: absolute;
  top: 34px;
  right: 18px;
  padding: 5px;
  font-size: 35px;
}
@media (max-width: 767px) {
  #sidebar .fa-book {
    top: 15px;
  }
}
#sidebar .fa-book:hover {
  color: #fff;
  background: none;
}
#sidebar li a {
  color: #9d9d9d;
}
#sidebar li a:hover {
  background: rgba(49, 49, 49, 0.5);
}
#sidebar .active a,
#sidebar .active .header {
  color: #fff;
  background-color: #080808;
}
#sidebar .active:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border: 10px solid transparent;
  border-right-color: #fff;
  border-left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.course-content {
  padding-left: 300px;
}
@media (max-width: 767px) {
  .course-content {
    padding-left: 0;
  }
}
.course-content .container-fluid {
  padding: 60px 40px;
}
@media (max-width: 767px) {
  .course-content .container-fluid {
    padding-top: 122px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 1200px) {
  .course-content .task-panel {
    width: 83%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .course-content .task-panel {
    width: 90%;
  }
}
.footer .container {
  padding-left: 260px;
}
@media (max-width: 767px) {
  .footer .container {
    padding-left: 15px;
  }
}
.lesson-reference,
.user-description-box {
  padding: 1rem;
  border: 1px solid #dddddd;
  border-radius: 0.25rem;
  background-color: #f9f9f9;
}
@media (max-width: 767px) {
  .lesson-reference,
  .user-description-box {
    width: 100%;
  }
}
.lesson-reference {
  margin-bottom: 4rem;
  margin-top: 1.7rem;
  width: 83%;
  display: flex;
  align-items: flex-start;
}
@media (max-width: 991px) {
  .lesson-reference {
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .lesson-reference {
    width: 100%;
  }
}
.teachers-block {
  display: flex;
  float: left;
  margin-top: 10px;
}
.teachers-block .no-avatar-in-profile-small {
  float: none;
}
.teachers-block .teachers-list {
  display: flex;
  flex-wrap: wrap;
}
.teachers-block b {
  display: block;
  padding: 10px;
}
.profile-view-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  -webkit-justify-content: space-around;
}
@media (min-width: 992px) {
  .profile-view-row {
    width: 90%;
  }
}
@media (max-width: 767px) {
  .profile-view-row {
    margin-top: 15px;
  }
}
.profile-view-row .big-avatar {
  width: 35%;
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .profile-view-row .big-avatar {
    width: 70%;
    margin-bottom: 15px;
  }
}
.profile-view-row .big-avatar img {
  width: 100%;
}
.profile-view-row .profile-content {
  width: 590px;
  margin-top: 0;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .profile-view-row .profile-content {
    width: 515px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .profile-view-row .profile-content {
    width: 410px;
  }
}
@media (max-width: 767px) {
  .profile-view-row .profile-content {
    width: 100%;
    padding-left: 0;
  }
}
.profile-view-row .profile-content .user-description-box {
  margin-bottom: -1px;
}
.course-cover {
  width: 300px;
  padding: 8px 25px;
  float: left;
}
@media (min-width: 768px) and (max-width: 991px) {
  .course-cover {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .course-cover {
    max-width: 100%;
    padding: 8px 15px;
  }
}
.users-priorities-form .course-cover {
  width: 220px;
  padding: 8px 15px;
}
@media (max-width: 767px) {
  .users-priorities-form .course-cover {
    width: 90%;
  }
}
.users-priorities-form h3 {
  margin-left: 14px;
  margin-top: 12px;
}
.users-priorities-form button {
  padding: 10px 18px;
  font-size: 20px;
  width: 176px;
  display: block;
  position: absolute;
  top: calc(50% - 25px);
}
.users-priorities-form td:first-of-type {
  width: 44%;
}
.users-priorities-form td {
  vertical-align: middle !important;
}
.users-priorities-form .priorities-row {
  display: flex;
  background-color: #f9f9f9;
  margin-top: -1px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .users-priorities-form .priorities-row {
    margin: 20px auto;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .users-priorities-form .priorities-row {
    margin: 20px auto;
  }
}
@media (max-width: 767px) {
  .users-priorities-form .priorities-row {
    margin: 20px auto;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .users-priorities-form .priorities-row .no-avatar-in-profile-small {
    margin-top: 10px;
  }
}
.users-priorities-form .priorities-row .first-col {
  width: 100%;
  border: 1px solid #bbb;
  padding: 20px;
}
@media (max-width: 1199px) {
  .users-priorities-form .priorities-row .first-col {
    border-radius: 0.25rem;
  }
}
@media (max-width: 767px) {
  .users-priorities-form .priorities-row .no-small-screen {
    display: none;
  }
}
.users-priorities-form .priorities-row .small-screen {
  flex-grow: 1;
}
@media (min-width: 768px) {
  .users-priorities-form .priorities-row .small-screen {
    display: none;
  }
}
.users-priorities-form .priorities-row .teachers-block-small-screen {
  padding-left: 10px;
  border: 1px solid #bbb;
}
.users-priorities-form .priorities-row .priorities-buttons {
  display: flex;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .users-priorities-form .priorities-row .priorities-buttons {
    flex-direction: column;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .users-priorities-form .priorities-row .priorities-buttons {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .users-priorities-form .priorities-row .priorities-buttons {
    flex-direction: column;
  }
}
@media (max-width: 362px) {
  .users-priorities-form .priorities-row .priorities-buttons {
    border-left: 1px solid #bbb;
  }
}
.users-priorities-form .priorities-row .priorities-buttons > div {
  padding: 15px;
  border: 1px solid #bbb;
  border-left-width: 0;
  position: relative;
  width: 229px;
}
.users-priorities-form .priorities-row .priorities-buttons > div:first-of-type {
  margin-top: 0;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .users-priorities-form .priorities-row .priorities-buttons > div {
    height: 80px;
    border-radius: 0.25rem;
    margin-top: -1px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .users-priorities-form .priorities-row .priorities-buttons > div {
    height: 80px;
    border-radius: 0.25rem;
    margin-top: -1px;
  }
}
@media (max-width: 767px) {
  .users-priorities-form .priorities-row .priorities-buttons > div {
    height: 80px;
    border-radius: 0.25rem;
    margin-top: -1px;
  }
}
.users-priorities-form .priorities-row .button-container {
  width: 176px;
  margin: 0 auto;
}
.users-priorities-form.counselor-form .priorities-row {
  margin: 0 auto;
}
.users-priorities-form.counselor-form .first-col {
  padding: 10px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .users-priorities-form.counselor-form .priorities-buttons {
    flex-direction: row;
  }
}
.users-priorities-form.counselor-form .priorities-buttons > div {
  height: auto;
}
.teachers-index h2 {
  margin-bottom: 20px;
}
.user-cards {
  display: flex;
  flex-direction: column;
}
.user-card {
  display: flex;
  border: #337ab7 1px solid;
  margin-bottom: 10px;
  padding-right: 10px;
}
.user-card label {
  margin-top: 15px;
}
.user-card .no-avatar-in-profile-small {
  margin-bottom: 0;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
}
.site-index .user-profile-form {
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  .course-admin-h1 {
    font-size: 22px;
  }
}
