  div.um-theme .sidebar.collapse {
    height: calc(100% - 50px) !important;
  }

  @media (min-width: 992px) {
    #main-menu {
      display: block !important;
    }
  }

  @media (max-width: 979px) {
    .aui #navigation {
      display: block; }

    .aui .nav-collapse, .aui .nav-collapse.collapse {
      height: auto; }

    .aui .nav-collapse .nav > li > a {
      -webkit-border-radius: 0px;
      -moz-border-radius: 0px;
      border-radius: 0px;
      margin: 0; }

    .aui .portlet-dockbar {
      display: block; }

    .aui.ios .find-people input[type="text"] {
      max-width: 100% !important;
      -webkit-appearance: none;
      height: 34px !important; }

    .aui .dockbar-ready .navbar.navbar-static-top.dockbar a.btn.btn-navbar:nth-child(1),
    .aui .dockbar-ready .navbar.navbar-static-top.dockbar a.btn.btn-navbar:nth-child(3) {
      display: none; }

    .aui .dockbar-ready aside.user {
      right: 0px; }
  }

  @media (max-width: 800px) {
    div.um-theme .content--one-half .content__col {
      width: 100% !important;
    }

    div.um-theme .main .um-layouts-2cols-5-5,
    div.um-theme .main .um-layouts-2cols-5-5 .content--one-half .content__col.content__col--one {
      height: auto;
      display: block;
    }
  }

  @media (min-width: 800px) and (max-width: 768px) {
    div.um-theme .main{
      padding-left: 90px;
    }
  }

  @media (max-width: 767px) {
    .menu-toggle{
      display: none;
    }
    .aui body {
      padding-left: 0;
      padding-right: 0; }

    .aui .navbar-static-top {
      margin-left: 0;
      margin-right: 0; }

    div.um-theme .sidebar.collapse {
      padding-right: 10px;
    }


    div.um-theme .timetable__location .label--lighten{
      width: 100%;
      padding: 8px 0 0!important;
    }

    .loading-container {
      width: 100%;
      height: 100%;
      left: 0;
    }

    div.um-theme .user {
      display: none !important;
    }

    .aui .dockbar-ready header.header a.hamburger {
      right: 15px;
    }

    .aui .table th, .aui .table td.col-md-1 {
      min-width: 44px!important;
    }
    #grades_sticker.stick {
      width: 100%!important;
      left: 0;
    }
    #filter_sticker.stick {
      width: 100%!important;
      left: 0;
    }
    .hideOnDesktop {
      display: block;
    }
  }

  @media (max-width: 600px) {
    div.um-theme .user__profile {
      display: none; }

    div.um-theme .tabs__link {
    font-size: 13px;
    }

    .timetable--all .timetable__time {
      width: 19%;
    }

    div.um-theme .timetable__icon {
      padding: 0 3px;
    }

    .timetable__actions.pull-right {
      width: 18%;
    }

    div.um-theme .main .um-layouts-2cols-5-5 .content--one-half .content__col.content__col--two {
      min-height: 0; }

    div.um-theme .user__nav {
      float: right;
      margin-right: 75px;
      border-left: 0 none;
      padding: 6px 19px;
      height: 60px;
    }

    div.um-theme .sidebar.collapse {
      overflow: auto;
      overflow-x: hidden; }

    div.um-theme .sidebar.custom-collapse {
      overflow: auto;
      overflow-x: hidden; }

    body div.um-theme .sidebar {
      position: fixed;
      /*z-index: 2001;*/
	}

    div.um-theme #signin h1 {
      font-size: 2em; }

    .aui .btn {
      width: auto;
    }

    div.um-theme tbody tr.collapsible.announcement-row .row-fluid {
      margin: 0 -15px;
    }

    div.um-theme .user {
        display: none !important;
      }

    .student-timetable #nav.affix {
      padding: 8px 11px 0px 15px;
    }

    .aui .modal, .modal {
      z-index: 2002;
    }

    .modal-dialog {
      width: 94%;
    }

    div.um-theme .table th .heading {
      font-size: 26px;
    }

    div.um-theme .label {
      padding: 2px 4px;
    }

    div.um-theme .nav-primary__list {
      padding: 10px 0 0 10px;
    }

    div.um-theme a.nav-primary__link {
      padding: 10px;
    }

    div.um-theme .nav-tabs li, div.um-theme .tabs__item{
      display: inline;
    }

    div.um-theme .page-head__title, div.um-theme .um-btn-desc {
      display: none;
    }

    .timetable--all .btn-group .fa, .fa-hidden-desc, .timetable--schedule .um-btn .fa.fa-calendar{
    	margin-right: 0px !important;
	}
	
    #timetableDatepicker {
      font-size: 0px
    }

    #timetableDatepicker i {
      font-size: 14px;
      position: relative;
      top: 3px;
     }

    #datepicker-modal .modal-body {
      padding: 0;
    }

    div.um-theme .tabs__link {
      display: inline;
    }

    div.um-theme .btn-group__position--right span:nth-child(2) {
      font-size: 0px;
    }

    div.um-theme .btn-group__position--right span:nth-child(2) i {
      font-size: 14px;
      position: relative;
      top: 3px;
    }

    div.um-theme .main .um-layouts-2cols-5-5 .content--one-half .content__col.content__col--one,
    div.um-theme .main .um-layouts-2cols-5-5 .content--one-half .content__col.content__col--two {
      height: auto;
    }

    em {
      line-height: 26px;
    }

    .instructions {
      font-size: 15px;
    }

    #de_register_course_modal  .modal-body {
      max-height: calc(100vh - 74px);
    }

    #de_register_course_modal  .modal-body h3 {
      font-size: 1.3em;
      line-height: 1.5em;
    }

    div.um-theme .site-title {
      width: auto;
    }

    a.collapsible-header {
      font-size: 26px;
    }

    div.um-theme .timetable__location  span.label.label--lighten {
      white-space: pre-wrap;
      text-align: left;
      padding: 0 8px;
    }


    div.um-theme .calendar__link--prev {
      left: 15px;
    }

    div.um-theme .calendar__link--next {
      right: 15px;
    }

    div.um-theme .table__cell--bottom {
      top: 0;
    }

    .timetable__actions.pull-right {
      position: absolute;
      right: 10px;
      text-align: right;
    }

    .tip .timetable__actions.pull-right {
      position: static;
      right: 0;
    }
  }

  @media (max-width: 480px) {
	.notifications_messages_popup {
	    width: 100%;
	}
	
	.fancy_popup {
		width: 100%;
	}
  
    #signin {
      width: 100%;
    }
     .aui .um-theme .modal-header .close {
      padding: 0px !important;
      margin: 0px !important;
      }

     .aui .um-theme .btn {
        width: auto ;
      }

    .um-theme .modal-header .close, .modal-header .toolbar-content .close {
      top: 0px; }
  }
