.main-content {
  padding-left: 0;
  padding-right: 0;
}

@media all and (min-width: 768px) {
  .main-content {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media all and (min-width: 768px) {
  .table-admin {
    table-layout: fixed;
  }
}

.table-admin th,
.table-admin td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-admin th:not(:first-child):not(.table-admin-cell-btn),
.table-admin td:not(:first-child):not(.table-admin-cell-btn) {
  display: none;
}

@media all and (min-width: 576px) {
  .table-admin th:not(:first-child):not(.table-admin-cell-btn),
  .table-admin td:not(:first-child):not(.table-admin-cell-btn) {
    display: table-cell;
  }
}

.table-admin th:first-child,
.table-admin td:first-child {
  max-width: 180px;
}

@media all and (min-width: 576px) {
  .table-admin th:first-child,
  .table-admin td:first-child {
    max-width: initial;
  }
}

.table-admin th.table-admin-cell-btn,
.table-admin td.table-admin-cell-btn {
  text-align: right;
}

@media all and (min-width: 576px) {
  .table-admin th.table-admin-cell-btn,
  .table-admin td.table-admin-cell-btn {
    text-align: left;
  }
}

.table-admin th.table-admin-cell-btn .btn,
.table-admin td.table-admin-cell-btn .btn {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

@media all and (min-width: 576px) {
  .table-admin th.table-admin-cell-btn .btn,
  .table-admin td.table-admin-cell-btn .btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
  }
}

.table-admin th.table-admin-cell-btn.text-right,
.table-admin td.table-admin-cell-btn.text-right {
  text-align: right;
}

.table-admin th.table-admin-cell-btn span,
.table-admin td.table-admin-cell-btn span {
  display: none;
}

@media all and (min-width: 768px) {
  .table-admin th.table-admin-cell-btn span,
  .table-admin td.table-admin-cell-btn span {
    display: inline;
  }
}

.pagination {
  margin: 0;
}

.navbar-default .brand {
  padding-top: 16px;
  padding-bottom: 16px;
}

.navbar-default .brand a {
  font-size: 18px;
}

.navbar-btn {
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-nav > li > a {
  padding-top: 18px;
  padding-bottom: 18px;
}

#wrapper #sidebar-nav,
#wrapper .main {
  padding-top: 57px;
}

label {
  font-weight: 300;
}

.panel .panel-body {
  padding-top: 20px;
}

.panel .panel-heading {
  padding-bottom: 0;
}

.panel.panel-default .panel-heading {
  padding-bottom: 20px;
}

.table {
  margin-bottom: 0;
}

.alert {
  margin: 0;
  border-radius: 0;
}

.cms-files .cms-files-element {
  margin: 0 0 30px 0;
  height: 184px;
}

.cms-files .cms-files-element .cms-files-element-image {
  width: 100%;
  height: 120px;
  border-radius: 2px 2px 0 0;
  background-position: center center;
  background-size: cover;
}

.cms-files .cms-files-element .cms-files-element-name {
  width: 100%;
  border-width: 0 1px;
}

.cms-files .cms-files-element .btn-group {
  width: 100%;
}

.cms-files .cms-files-element .btn {
  width: 50%;
}

.cms-files .cms-files-element .btn:first-child {
  border-radius: 0 2px 2px 2px;
}

.cms-files .cms-files-element .btn:last-child {
  border-radius: 2px 0 2px 2px;
}

.cms-files .cms-files-element-add {
  margin: 0 0 30px 0;
  height: 184px;
  text-align: center;
}

.cms-files .cms-files-element-add .btn {
  margin-top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.map-search-box {
  width: 50% !important;
  right: 9px !important;
  top: 9px !important;
  height: 32px !important;
}

.map-container,
.view-container {
  height: 300px;
}

.auth-box .right {
  overflow: hidden;
  position: relative;
}

.auth-box .right .text {
  text-align: center;
}

.auth-box .right .overlay {
  background: url(/assets/admin/img/splash-bg.png) center;
}

.auth-box .right:before {
  height: 5px;
  display: inline-block;
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  content: "";
  background: #7aaa36;
  -webkit-box-shadow: -1px 8px 340px 204px #7aaa36;
          box-shadow: -1px 8px 340px 204px #7aaa36;
  z-index: 1;
}

.auth-box .admin-logo {
  display: inline-block;
  height: 111px;
  width: 304px;
  background: url(/assets/admin/img/splash-logo.png) center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  margin-top: 125px;
  margin-bottom: 15px;
}

.auth-box .heading {
  position: relative;
  z-index: 2;
}

.group-lesson-delete {
  cursor: pointer;
  color: #bbb;
}

.group-lesson-delete:hover {
  color: #e50914;
}

.group-lesson-edit {
  cursor: pointer;
  color: #bbb;
}

.group-lesson-edit:hover {
  color: #84B6CF;
}

.group-lesson-details-form {
  margin-top: 15px;
  display: none;
}

.group-lesson-details-edit-form {
  margin-top: 15px;
  display: none;
}

.group-lesson-well {
  margin-bottom: 5px;
}

.group-schedule {
  overflow-x: scroll;
}

.group-schedule__column {
  width: 160px;
}

@media all and (max-width: 767px) {
  .item-block-mobile {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    float: initial !important;
    text-align: center;
  }
}

@media all and (min-width: 768px) {
  .d-inline-block-mobile {
    display: inline-block;
  }
}

/*
Chat
 */

.chat {
  padding-left: 0;
  padding-right: 0;
}

.chat .message span {
  display: block;
}

.chat .message .content {
  display: inline-block;
  background: #ebebeb;
  border-radius: 10px;
  padding: 10px;
}

.chat .message .detail {
  color: #747474;
  font-size: 12px;
  margin-left: 6px;
}

.chat .message .col-md-12 {
  padding: 3px;
}

.chat .message-alternate .content {
  float: right;
  background: #05728f;
  color: #ffffff;
}

.chat .message-alternate .content a {
  color: yellow;
}

.chat .message-alternate .content a:hover {
  color: lightyellow;
}

.chat .message-alternate .detail {
  float: right;
}

.mb-10 {
  margin-bottom: 10px;
}

.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-table-cell {
  display: table-cell !important;
}

@media (min-width: 576px) {
  .table-md-layout-fixed {
    table-layout: fixed !important;
  }
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }

  .d-sm-inline {
    display: inline !important;
  }

  .d-sm-inline-block {
    display: inline-block !important;
  }

  .d-sm-block {
    display: block !important;
  }

  .d-sm-table-cell {
    display: table-cell !important;
  }

  .text-sm-left {
    text-align: left !important;
  }

  .text-sm-right {
    text-align: right !important;
  }

  .text-sm-center {
    text-align: center !important;
  }

  .text-sm-justify {
    text-align: justify !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }

  .d-md-inline {
    display: inline !important;
  }

  .d-md-inline-block {
    display: inline-block !important;
  }

  .d-md-block {
    display: block !important;
  }

  .d-md-table-cell {
    display: table-cell !important;
  }

  .text-md-left {
    text-align: left !important;
  }

  .text-md-right {
    text-align: right !important;
  }

  .text-md-center {
    text-align: center !important;
  }

  .text-md-justify {
    text-align: justify !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-inline {
    display: inline !important;
  }

  .d-lg-inline-block {
    display: inline-block !important;
  }

  .d-lg-block {
    display: block !important;
  }

  .d-lg-table-cell {
    display: table-cell !important;
  }

  .text-lg-left {
    text-align: left !important;
  }

  .text-lg-right {
    text-align: right !important;
  }

  .text-lg-center {
    text-align: center !important;
  }

  .text-lg-justify {
    text-align: justify !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }

  .d-xl-inline {
    display: inline !important;
  }

  .d-xl-inline-block {
    display: inline-block !important;
  }

  .d-xl-block {
    display: block !important;
  }

  .d-xl-table-cell {
    display: table-cell !important;
  }

  .text-xl-left {
    text-align: left !important;
  }

  .text-xl-right {
    text-align: right !important;
  }

  .text-xl-center {
    text-align: center !important;
  }

  .text-xl-justify {
    text-align: justify !important;
  }
}

