body {
  padding-bottom: 0;
}

.row.flex {
  flex-wrap: wrap;
  display: flex;
}

.row.flex > .col {
  -webkit-flex-basis: 0;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.loading:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  opacity: 0.8;
  z-index: 1000;
}
.loading:after {
  content: '';
  display: block;
  border: 3px solid #f5f5f5;
  border-top: 3px solid #2b3d51;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1.2s linear infinite;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  z-index: 1001;
}
.text-center {
  text-align: center;
}

/*
 * Styles for session pages
 */
.account-pages {
  background-color: #2b3d51 !important;
}

.account-bg .card-box {
  border: 5px solid #2b3d51 !important;
}

.account-bg .logo {
  color: #2b3d51 !important;
}

/*
 * Styles for modals
 */
.modal-header {
  padding: 15px 25px 15px 25px;
  line-height: 22px;
  font-size: 18px;
  background-color: #64b0f2;
  color: #ffffff;
  text-align: left;
  margin: 0px;
}

.modal-success .modal-header {
  background-color: #1bb99a;
}

.modal-warning .modal-header {
  background-color: #f1b53d;
}

.modal-danger .modal-header {
  background-color: #ff5d48;
}

.modal-header .close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #ffffff;
  opacity: 0.5 !important;
  font-size: 2rem;
  line-height: 1.2;
  text-shadow: 0 1px 0 #fff;
}

.modal-header .close:hover {
  opacity: 1 !important;
}

.modal-footer {
  border-top: 0;
  background-color: #f5f5f5;
}

.modal-content {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/*
 * Element fixes
 */
.el-input.form-control, .el-select.form-control, .el-input-number.form-control {
  display: block;
  width: 100% !important;
  padding: 0;
  line-height: 1;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

label.el-form-item__label {
  margin-bottom: 0
}

.el-time-panel {
  width: 140px !important;
}

.table-container {
  display: table;
  width: 100%;
  height: 100%;
}

.table-cell {
  display: table-cell;
  padding: 5px;
  vertical-align: top;
}

.table-cell-no-padding {
  padding: 0;
}

.vue-timetable.vue-timetable-list-mode ul li {
  padding-left: 12px !important;
}

.vue-timetable.vue-timetable-list-mode .vue-timetable-event-time {
  display: none !important;
}

.timetable-name {
  margin: 3px 0 6px 0;
}

ul.ul-fa {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.ul-fa li {
  padding: 5px;
}

ul.ul-fa.condensed li {
  padding: 0;
}

ul.ul-fa li .fa {
  margin-right: 5px;
  min-width: 12px;
}

.time-item .item-info {
  padding-top: 3px;
}

.time-item .item-info, .time-item .item-info > p {
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 1.2em;
}

.notification-list .notify-item .notify-details span {
  display: inline;
}

.title-block {
  padding: 8px;
  background-color: #868e96;
  color: white
}
.title-block-success {
  background-color: #1bb99a;
}
.title-block-warning {
  background-color: #f1b53d;
}
.title-block-danger {
  background-color: #ff5d48;
}

.with-tabs .topbar {
  margin-top: 41px;
}

.with-tabs .content-page > .content {
  margin-top: 111px;
}

.with-tabs .side-menu {
  top: 111px;
}

#top-tabs {
  position: fixed;
  z-index: 1000;
}

#top-tabs .el-tabs__content {
  display: none;
}

.topbar {
  position: absolute;
}

@media (max-width: 768px) {
  .enlarged .left.side-menu.displayed {
    margin-left: 0px;
  }
}

.content-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
}

.content-loading .el-loading-mask {
  background: transparent;
}

.label-secondary {
  background-color: #868e96;
}

/*
 * ELEMENT UI
 */


.el-menu-no-bg {
  background-color: transparent !important;
}

.el-menu-no-bg .el-menu-item {
  background-color: transparent !important;
}

.el-tabs__nav-wrap.is-scrollable {
  padding: 0 35px !important;
}

.el-tabs__nav-prev, .el-tabs__nav-next {
  width: 35px;
}

.el-icon-arrow-left, .el-icon-arrow-right {
  margin-left: 10px;
}

.el-dialog {
  z-index: 100000;
}

.el-dialog__body {
  padding: 10px 20px !important;
}

.el-tabs__item {
  font-weight: normal !important;
}

.el-form-item {
  margin-bottom: 10px;
}

.el-form-item__label {
  line-height: 1 !important;
}

.el-popover {
  text-align: left !important;
  overflow-wrap: break-word !important;
}
