body {
  font-family: "Montserrat", sans-serif;
}

.rotate-clockwise {
  display: inline-block;
  animation: spin 1s ease-in-out infinite !important;
  transform-origin: center center;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ftr_version {
  display: none;
}

.btn-primary,
.btn-outline-primary-main {
  padding: 10px 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease 0.3s;
  animation-fill-mode: both;
}

.btn.btn-outline-primary {
  border-color: rgba(13, 36, 83, 0.9);
  color: rgba(13, 36, 83, 0.9);
}

.btn.btn-outline-primary:hover {
  background-color: rgba(13, 36, 83, 0.9);
  color: white;
}

.badge-primary {
  background: linear-gradient(135deg, 
    rgba(57, 87, 141, 0.9),
    rgba(13, 36, 83, 0.9)
  );
}

a {
  color: rgba(13, 36, 83, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 87, 141, 0.9);
}

a:hover {
  text-decoration: none;
  border-bottom-color: transparent;
}

a.navbar-brand,
a.wl-wrapper,
a.nav-link {
  border-bottom: none;
}

.item-icons {
  margin-bottom: .5em;
}

a.badge.badge-primary {
  color: white;
}

.landing-page .btn-primary,
.landing-page .btn-outline-primary-main {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, 
    rgba(57, 87, 141, 0.9),
    rgba(13, 36, 83, 0.9)
  );
  color: white !important;
  border: none;
  box-shadow: 
    0 4px 6px rgba(57, 87, 141, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, 
    rgba(57, 87, 141, 1),
    rgba(13, 36, 83, 1)
  );
  box-shadow: 
    0 8px 15px rgba(57, 87, 141, 0.3),
    0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary-main {
  background: rgba(57, 87, 141, 0.05);
  color: #39578d !important;
  border: 2px solid rgba(57, 87, 141, 0.2);
  box-shadow: 
    0 4px 6px rgba(57, 87, 141, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-outline-primary-main:hover {
  background: rgba(57, 87, 141, 0.1);
  border-color: rgba(57, 87, 141, 0.4);
  box-shadow: 
    0 8px 15px rgba(57, 87, 141, 0.2),
    0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover::before {
  transform: translateX(100%);
}

/* Form control */

select.form-control {
  font-size: .875rem;
}

/* Switchery */

label.wsh-switchery-label {
  display: block;
  padding: .375rem 0;
}

label.wsh-switchery-label.no-p {
  padding: 0;
}

.wsh-switchery-label .wsh-switchery-title {
  display: inline-block;
  vertical-align: top;
  margin-left: .35em;
  margin-top: 1px;
}

.wsh-switchery-label .wsh-switchery-title.wsh-switchery-title-more {
  margin-top: 2px;
  margin-left: .5em;
}

.wsh-switchery-label .wsh-switchery-title-h5 {
  font-size: 1.25rem;
  line-height: 1rem;
  font-weight: 500;
  margin-top: 4px;
  margin-left: 8px;
}

/* Modal Custom CSS */

.modal {
  z-index: 3000;
}

/* Cropper Custom CSS */

#cropper_img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}


/* Custom Menu CSS */

@media (max-width: 767.98px) {
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #343a40;
        transition: left 0.3s ease-in-out;
        padding-top: 60px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
        z-index: 2052;
    }

   
    .sidebar .nav {
        padding-left: 0;
    }

    .sidebar .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar .nav-link {
        color: white;
        font-size: 1.2em;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        transition: background 0.3s ease-in-out;
    }

    .sidebar .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-icon {
        margin-right: 10px;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s;
        z-index: 2050;
    }

    .sidebar.active {
        left: 0;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Navbar Custom CSS */

.navbar-toggler-icon {
  width: 1em;
  height: 1em;
}

.navbar-toggler {
  padding: 0 .25em .1em .25em;
}

a.navbar-brand img {
  height: 12px;
}

/* Add Item Page CSS */

.add-item-page .dropzone_status,
.edit-item-page .dropzone_status {
  margin: 1em 0;
}

.add-item-page .dropzone,
.edit-item-page .dropzone {
  border: 1px solid #ced4da;
  min-height: auto;
  transition: all .1s ease-in;
  border-radius: .25rem;
  padding: 0;
}

.add-item-page .dropzone .dz-message .dz-button,
.edit-item-page .dropzone .dz-message .dz-button {
  color: #495057;
}

@media (min-width: 769px) {
  .add-item-page .dropzone .dz-message .dz-button,
  .edit-item-page .dropzone .dz-message .dz-button {
    font-size: 1.25em;
  }
}

.add-item-page .dropzone .dz-preview,
.edit-item-page .dropzone .dz-preview {
  display: block;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
  padding: 15px;
}

.add-item-page .dropzone .dz-preview .dz-image,
.edit-item-page .dropzone .dz-preview .dz-image {
  left: 50%;
  margin-left: -60px;
}

.add-item-page .cc-photo,
.edit-item-page .cc-photo {
  width: 100%;
  margin-bottom: 1em;
}

.add-item-page .cc-photo img,
.edit-item-page .cc-photo img {
  width: 100%;
  max-width: 100%;
}

/* Crop Image Modal CSS on Mobile CSS */

@media (max-width: 768px) {
    #cropImageModal .modal-dialog {
        max-width: 100%;
        width: 100%;
        height: 100%;
        margin: 0;
        display: flex;
        align-items: center;
    }

    #cropImageModal .modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        border: none;
    }

    #cropImageModal .modal-body {
        flex: 1;
        overflow-y: auto;
    }

    .add-item-page .dropzone .dz-message .dz-button {
      font-size: 1em;
    }
}

/* Other CSS */

.price_cur {
  text-align: center;
}

.wl-wrapper.wlw-friend {
  padding: 15px 30px;
  font-size: 0;
  margin-bottom: 15px;
}

.wl-wrapper.wlw-friend .wlw-user-wrapper {
  width: 50%;
}

.wl-wrapper.wlw-friend > * {
  vertical-align: top;
  display: inline-block;
}

.wl-wrapper.wlw-friend * {
  vertical-align: top;
}

.wl-wrapper.wlw-friend .wlw-photo {
  margin-right: 15px;
}

.wl-wrapper.wlw-friend .wlw-username {
  font-size: 22px;
  line-height: 40px;
  border-bottom: 1px solid #999;
  transition: all .25s ease 0s;
}

.wlw-friend:hover .wlw-username {
  border-bottom-color: transparent;
}

.wl-wrapper.wlw-friend .wlw-items {
  width: 50%;
  font-size: 16px;
  line-height: 40px;
}

.js_filter_reserve {
  display: block;
  transition: all .25s ease 0s;
}

.btn-outline-primary.js_filter_reserve:hover,
.btn-outline-primary.js_filter_reserve:not(:disabled):not(.disabled):active {
  background-color: transparent;
  color: rgba(57, 87, 141, 0.9);
  opacity: .75;
}

h1 > * {
  vertical-align: top;
}

h1 .badge {
  margin-left: .25em;
}

h1 span.page_title {
  padding-right: 5px;
  line-height: 1.3em;
}

.wlw-photo,
.wishlist-user-photo {
  box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.25);
  background-color: #000;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
  margin-right: 10px;
  display: inline-block;
}

.wlw-photo img,
.wishlist-user-photo img {
  width: 100%;
  vertical-align: top;
}

.list-private .list-private-icon {
  display: inline-block;
}

.list-private-icon {
  display: none;
  padding-right: .25em;
}

.list-actions-btns .btn {
  margin-right: 3px;
  margin-bottom: 3px;
}

.list-actions-btns .btn.btn-sm {
  font-size: .8em;
  padding: .35em .5em;
}

.alert.alert-left-lined.alert-secondary {
  border: none;
  border-left: 3px solid #d6d8db;
  background-color: transparent;
  border-radius: 0;
  margin: .5em 0 1em 0;
  color: #585e63;
}

.alert.alert-outlined {
  background-color: transparent;
}

.alert.alert-outlined.alert-secondary {
  color: #585e63;
}

.alert.alert-sm {
  padding: .5em 1em;
  font-size: .9em;
}

.alert.alert-dib {
  display: inline-block;
}

.b09-footer a {
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .75);
}

.b09-footer a:hover {
  border-bottom-color: transparent;
}

.post-c h4 {
  font-size: 1.25em;
  margin-bottom: .25em;
}

.post-c h1 {
  margin-bottom: 1em;
}

.blog-feed {
  margin: 2em 0;
}

.bf-item {
  box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.15);
  border-radius: 1em;
  margin-bottom: 1em;
  transition: all .25s ease 0s;
  padding: 2em 2.5em;
}

.bfi-title {
  font-size: 1.75em;
  margin-bottom: .5em;
}

.bfi-footer {
  font-size: .8em;
  color: #999;
}

.bfi-content {
  margin-bottom: 1em;
}

.bfi-content p:nth-last-of-type(1) {
  margin-bottom: 0;
}

.row.row-tr.row-th div {
  font-weight: bold;
}

.row.row-tr div {
  padding-top: .75em;
  padding-bottom: .75em;
  border-bottom: 1px solid #cfcfcf;
}

.row.row-tr div:nth-last-of-type(1) {
  border-right: none;
}

.row-wrapper {
  margin-bottom: 1em;
}

h1 {
  font-size: 2.1em;
}

.main-c {
  padding-bottom: 2em;
}

.btn.btn-success.btn-success-shadow {
  box-shadow: 0px 0px 18px 6px rgba(40, 167, 69, 0.4);
  border-radius: 8px;
  padding: 10px 35px;
  font-weight: 600;
  transition: all .25s ease 0s;
  position: relative;
  overflow: hidden;
}

.btn.btn-success.btn-success-shadow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn.btn-success.btn-success-shadow:hover::before {
  transform: translateX(100%);
}

.btn.btn-success.btn-success-shadow:hover {
  transform: translate(0, 2px);
}

.item-reserve {
  margin-top: 3em;
  margin-bottom: 3em;
}

.wl-footer {
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  text-transform: uppercase;
  font-size: .8em;
}

.wl-archive .wl-footer, 
.wl-archive.wl-reserved .wl-footer {
  background-color: #999;
  color: #fff;
}

.wl-reserved .wl-footer {
  background-color: #ffc107;
}

.wl-col.wl-archive a > span:not(.wl-footer) {
  opacity: .5;
}

.wl-col.wl-reserved a > span:not(.wl-footer) {
  opacity: .5;
}

.item-archived .row > div > :not(.item-archived-full-opacity) {
  opacity: .5;
}

.item-edit-photo img {
  width: 100%;
  margin-bottom: 1em;
}

.item-edit-photo {
  width: 50%;
  margin-bottom: 1em;
}

.item-views {
  font-size: .8em;
  margin-bottom: 1em;
  margin-top: 3em;
  color: #999;
}

.item-actions {
  margin-top: 2em;
}

h1 .badge {
  font-size: .5em;
}

.item-icons .item-icon a.btn.btn-sm {
  font-size: .8em;
}

.item-price-wrapper {
  margin: 1em 0 2em 0;
}

.item-price {
  background-color: #343a40;
  color: #fff;
  display: inline-block;
  font-size: 2em;
  line-height: 1.5em;
  padding: 0 .35em;
  border-radius: 10px;
}

.item-descr {
  border: 1px solid #343a40;
  border-radius: 10px;
  padding: 10px 20px;
  color: #343a40;
}

.item-photo {
  margin-bottom: 2em;
}

.item-photo img {
  width: 100%;
}

.irs--flat .irs-bar, 
.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single {
  background-color: #343a40 !important;
}

.irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before {
  border-top-color: #343a40 !important;
}

.irs--flat .irs-handle.state_hover > i:first-child, .irs--flat .irs-handle:hover > i:first-child, .irs--flat .irs-handle > i:first-child {
  background-color: #1a1d21 !important;
}

.wl-filters-title {
  margin-top: 1em;
}

.wl-filters {
  margin-bottom: 1em;
}

.wl-filters a.badge {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  position: relative;
}

.wl-filters a.badge > * {
  vertical-align: top;
}

.wl-filters a.badge .wl-filters-list-title {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 5px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.wl-filters a.badge .badge {
  font-size: .9em;
  border-radius: 999px;
}

.wl-filters a.badge.badge-primary {
  box-shadow: none !important;
}

.wl-filters a.badge.badge-primary .badge {
  background: none;
  background-color: #fff;
  color: rgba(57, 87, 141, 0.9);
}

.wl-filters a.badge.badge-outlined.badge-primary {
  background: none;
  background-color: transparent !important;
  color: rgba(57, 87, 141, 0.9);
}

.wl-filters a.badge.badge-outlined.badge-primary .badge {
  background-color: rgba(57, 87, 141, 0.9);
  color: #fff;
  border: none;
}

.wl-filters a.badge.badge-default .badge {
  background-color: #fff;
  color: #B0BEC5;
}

.wl-filters a.badge.badge-outlined.badge-default .badge {
  color: #fff;
  background-color: #B0BEC5;
}


.add_list_form {
  border: 1px solid #17a2b8;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 1em;
}

.item-lists-labels label {
  display: block;
}

.item-lists-labels label > * {
  vertical-align: top;
}

.item-lists-labels label input[type='radio'] {
  margin-top: 3px;
  margin-right: 5px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 6px;
  border: 1px solid transparent;
  min-width: 10px;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
}

.badge.badge-outlined {
  background-color: transparent;
}

.badge.badge-outlined.badge-default {
  border-color: #B0BEC5;
  color: #B0BEC5;
  background-color: transparent;
}

.badge.badge-default {
  border-color: #B0BEC5;
  background-color: #B0BEC5;
  color: #fff;
}

.badge.badge-outlined.badge-primary {
  border-color: rgba(57, 87, 141, 0.9);
  color: rgba(57, 87, 141, 0.9);
}

.badge.badge-outlined.badge-secondary {
  border-color: rgba(57, 87, 141, 0.9);
  color: rgba(57, 87, 141, 0.9);
}

.badge.badge-outlined.badge-success {
  border-color: #64DD17;
  color: #64DD17
}

.badge.badge-outlined.badge-warning {
  border-color: #FFD600;
  color: #FFD600
}

.badge.badge-outlined.badge-info {
  border-color: #29B6F6;
  color: #29B6F6
}

.badge.badge-outlined.badge-danger {
  border-color: #ef1c1c;
  color: #ef1c1c
}

.row.wl-items {
  margin-top: 2em;
  margin-bottom: 2em;
}

a.wl-wrapper {
  display: block;
  width: 100%;
  text-decoration: none;
  color: #000;
  box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.15);
  border-radius: 10px;
  margin-bottom: 2em;

  transition: all .25s ease 0s;
}

a.wl-wrapper:not(.wlw-friend):hover {
  transform: translate(0, -10px);
}

.wl-wrapper > span {
  display: block;
}

.wl-wrapper .wl-photo img {
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.wl-wrapper .wl-title {
  font-size: 1em;
  line-height: 1.35em;
  font-weight: 600;
  padding: 10px 15px 0 15px;
}

.wl-wrapper .wl-price {
  font-size: 1.5em;
  padding: 5px 15px 10px 15px;
}

.wl-wrapper .wl-descr {
  padding: 0 15px 15px 15px;
}

.wl-wrapper .wl-lists {
  padding: 0 40px 10px 15px;
  width: 100%;
  position: relative;
}

.wl-lists .wl-views {
  position: absolute;
  top: 2.5px;
  right: 15px;
  font-size: .8em;
  color: #999;
}

.wl-wrapper .wl-lists .badge {
  margin-right: .5em;
  margin-bottom: .25em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 5px);
}

.alert i.fa {
  margin-right: .5em;
}

body {
  min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.b09-footer {
  margin-top: auto;
}

.local-warning {
  display: none;
}

.red-border {
  border-color: red;
}

.green-border {
  border-color: #15b138;
}

/* index-wrapper */

.index-wrapper {
  padding: 6em 0;
}

.index-wrapper-btns {
  margin-top: 4em;
}

.index-wrapper-btns a {
  margin-bottom: .5em;
}

/* b09-footer */

.b09-footer {
    padding: 2em 0;
    background-color: #343a40;
    color: #fff;
    font-size: .8em;
}

.b09-footer .b09-docs {
    color: rgba(255, 255, 255, .5);
}

.b09-phone {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.b09-phone a {
    color: #fff;
    border-bottom-width: 0;
}

.b09-phone a i.fas {
    font-size: .9em;
    padding-right: .25em;
}

.b09-phone a span {
    border-bottom: 1px solid #fff;
    display: inline-block;
}

.b09-social ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 0;
}

.b09-social ul li {
    display: inline-block;
}

.b09-social ul li a {
    font-size: 26px;
    line-height: 40px;
    border: none;
    background-color: #fff;
    border-radius: 100px;
    color: #340086;

    width: 40px;
    height: 40px;
    text-align: center;

    display: inline-block;
    margin-right: 10px;
}

.b09-cookies {
    font-size: .8em;
    margin-top: 2em;
    color: rgba(255, 255, 255, .5);
}

a.disabled {
  pointer-events: none;
  cursor: default;
  opacity: .5;
}

.sub_block_invis {
  opacity: .5;
}

table.table-forecast-comments-history tr td {
  padding: .15rem;
  font-size: .9em;
}

tr.hightlight_on_hover:hover {
  background-color: #fff3cd !important;
}

.forecasts_history {
  display: block;
  margin-top: .5em;
  display: none;
}

.forecasts_history .fh_block {
  display: block;
  padding: .25em 0;
  border-bottom: 1px solid #bcbcbc;
}

.forecasts_history .fh_block:nth-last-of-type(1) {
  padding-bottom: 0;
  border-bottom: none;
}

.badge.badge-secondary.badge-secondary-half {
  background-color: #aaa;
}

tr.bottom_border_transparent td {
  border-bottom-color: transparent;
  padding-bottom: 0;
}

tr.top_border_transparent > td {
  border-top-color: transparent;
  padding-top: 0;
}

.badge.forecast_comment {
  font-size: .9em;
  font-weight: normal;
  text-align: left;
  white-space: normal;
  line-height: 1.25em;
}

.forecast_input input.form-control-sm {
  display: inline-block;
  width: 80%;
  margin-right: .5em;
  font-size: .8em;
  padding: .2em .4em;
}

a.edit_forecast_comment {
}

td.student_status {
  white-space: nowrap;
  vertical-align: top;
}

td.student_status span {
  background-color: red;
  display: inline-block;
  border-radius: 25px;
  width: 25px;
  height: 25px;
  margin-right: 3px;
  text-align: center;
  vertical-align: top;
}

td.student_status span.ss_15 {
  line-height: 25px;
  padding-left: 2px;
}

td.student_status span.ss_sick {
  line-height: 23px;
  padding-left: 1px;
}

td.student_status span.ss_kick {
  line-height: 20px;
}

.forecast_input {
  display: none;
}

.cabinet_photo_preview {
    width: 300px;
}

.cabinet_photo_preview img {
    width: 100%;
}

.ml05em {
  margin-left: .5em !important;
}

.ml1em {
  margin-left: 1em !important;
}

.ml2em {
  margin-left: 2em !important;
}

table.table.table-borders {
  border-left: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

table.table.table-borders th, 
table.table.table-borders td {
  border-right: 1px solid #dee2e6;
}

.p-as-list p, 
.p-as-list ul,
.p-as-list ol {
  margin-bottom: .5em;
  margin-left: 1em;
}

.p-as-list {
  margin-bottom: 1em;
}

table.table-coaches tr:hover td,
table.table-coaches tr:hover td a {
  background-color: #333;
  color: #fff;
}

.badge-outline-white {
  border: 1px solid #fff;
  background-color: transparent;
}

.badge-white {
  background-color: #fff;
  color: rgba(57, 87, 141, 0.9);
}

ul.mini-ul, ul.mini-ul li {
  margin: 0;
  padding: 0;
}

ul.mini-ul {
  margin-bottom: 1em;
}

ul.mini-ul li {
  list-style-type: none;
}

ul.mini-ul li:before {
  content: "– ";
}

.lesson-block-title {
  background-color: #bee5eb;
  border-top: 1px solid #86cfda;
  font-weight: bold;
  text-transform: uppercase;
  padding: .5em .5em;
  font-size: 1.1em;
}

.mt2em {
  margin-top: 2em;
}

.mb2em {
  margin-bottom: 2em;
}

.lesson-block {
  border-top: 1px solid #dee2e6;
  padding: .25em .5em;
}

.lesson-block .row > div:nth-last-of-type(1) {
  text-align: right;
}

.badge09em {
  font-size: .9em;
}

.nav-icon {
  display: inline-block;
  width: 18px;
}

.nav-link-pay {
  font-weight: bold;
  background-color: #28a745;
  border-top-color: #1e7c33 !important;
  color: #fff !important;
}

.nav-link-pay a {
  color: #fff !important;
}

.pc_date {
  display: inline-block;
  border-right: 1px dotted #aaa;
  padding-right: 1em;
  margin-right: 1em;
}

.pc_date:nth-last-of-type(1)
{
  border-right-color: transparent;
}

.pc_year {
  margin-bottom: 2em;
}

.btn.btn-sm.btn-micro {
  padding: 3px 2em;
}

.students_avatar {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
}

.students_avatar img {
  width: 100%;
}

h1.h2 .students_avatar {
  position: relative;
  top: 10px;
}

h1.h2-students-edit {
  display: block;
  vertical-align: top;
  position: relative;
  line-height: .9em;
}

.fastlog {
  float: right;
  color: rgba(255,255,255,.5) !important;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 0.25rem;
}

.scoring-data {
  margin-bottom: 1em;
}

.su-hidden {
  display: none;
}

.sd-full-stats {
  margin-top: 1em;
}

.sd-info {
  font-size: .8em;
  color: #666;
}

.sc-title {
  text-transform: uppercase;
  font-size: .8em;
  letter-spacing: .1em;
}

.sc-value {
  font-size: 2.5em;
  line-height: 1.2em;
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
}

.sc-value-bold {
  font-weight: 900;
}

.sc-move {
  padding-left: .5em;
  display: inline-block;
}

.sc-move.sc-move-edit {
  font-size: .6em;
}

.sc-value.sc-value-mini {
  font-weight: 800;
  font-size: 1em;
  color: #fff;
  padding: 4px 5px 2px 5px;
  border-radius: 5px;
  display: block;
  text-align: center;

  -webkit-box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.4);
  -moz-box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.4);
  box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.4);
}

.sc-value.sc-value-mini.sc-value-mini-subs {
  font-size: 1em;
  padding: 2px 4px 1px 4px;
}

.sc-value.sct-green {
  background: -webkit-linear-gradient(180deg, rgba(13,213,84,1) 100%, rgba(30,156,11,1) 100%);
}

.sc-value.sct-yellow {
  background: -webkit-linear-gradient(180deg, rgba(217,202,43,1) 0%, rgba(235,185,12,1) 100%);
}

.sc-value.sct-red {
  background: -webkit-linear-gradient(180deg, rgba(231,134,109,1) 0%, rgba(199,28,8,1) 100%);
}

.sc-value.sct-na {
  background: -webkit-linear-gradient(180deg, rgba(111,111,111,1) 0%, rgba(77,77,77,1) 100%);
}

.scoring-data .sc-value {
  background: -webkit-linear-gradient(#111, #222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scoring-data .sc-value.sct-green {
  background: -webkit-linear-gradient(180deg, rgba(13,213,84,1) 100%, rgba(30,156,11,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scoring-data .sc-value.sct-yellow {
  background: -webkit-linear-gradient(180deg, rgba(217,202,43,1) 0%, rgba(235,185,12,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scoring-data .sc-value.sct-red {
  background: -webkit-linear-gradient(180deg, rgba(231,134,109,1) 0%, rgba(199,28,8,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scoring-data .sc-value.sct-na {
  background: -webkit-linear-gradient(180deg, rgba(111,111,111,1) 0%, rgba(77,77,77,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alert-outline-warning {
    border-color: #edd58a;
    color: #856404;
} 

.alert-outline-primary {
  border-color: rgba(57, 87, 141, 0.9);
}

body {
  font-size: .875rem;
}

.btn-pseudo-primary {
  border: 1px dotted rgba(57, 87, 141, 0.9);
  color: rgba(57, 87, 141, 0.9);
}

.btn-pseudo-primary:hover {
  border-style: dashed;
  background-color: rgba(57, 87, 141, 0.9);
  color: #fff;
}

.alert.alert-outline-danger {
    border: 1px solid #dc3545;
}

.green {
  color: #28a745;
}

.red {
  color: #dc3545;
}

a.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

.btn.btn-sm.btn-full {
  text-transform: uppercase;
  font-size: 1em !important;
}

div.form-title {
  text-align: center;
  font-weight: bold;
  color: rgba(57, 87, 141, 0.9);
  position: relative;
  margin-bottom: 10px;
}

div.form-title span {
  font-size: 12px;
  display: inline-block;
  background-color: #fff;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

span.badge span {
  font-size: 12px;
  display: inline-block;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

div.form-title:before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: rgba(57, 87, 141, 0.9);
  position: absolute;
  top: 10px;
}

a.pseudo {
  border-bottom: 1px dotted rgba(57, 87, 141, 0.9);
  text-decoration: none;
}

a.pseudo-mini {
  font-size: .8em;
}

a.pseudo:hover,
a.pseudo:focus {
  border-bottom-color: transparent;
}

.btn-full {
  width: 100%;
}

.mb05em {
  margin-bottom: .5em;
}

.mb0 {
  margin-bottom: 0;
}

/*.alert p:nth-last-of-type(1) {
  margin-bottom: 0;
  padding-bottom: 0;
}*/

h4.h4_pay_price {
  margin-bottom: 0;
  font-size: 2.25em;
  font-weight: bold;
}

.alert-pay-info p {
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 1.25em;
}

.badge-outline-secondary {
  background-color: transparent;
  border: 1px solid #999;
  color: #999;
}

div.form-wrapper {
  background-color: #fff;
  border-radius: 10px;

  padding: 15px 30px 30px 30px;

  -webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.15);
  box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.15);

  margin-bottom: 40px;
}

div.form-wrapper .form-title span:nth-of-type(1) {
  text-transform: uppercase;
  font-size: 10px;
  line-height: 10px;
  letter-spacing: .1em;
}

div.form-wrapper .form-title a.span {
  text-decoration: none;
  border-bottom: 1px dotted rgba(57, 87, 141, 0.9);
}

div.form-wrapper input[type='submit'].btn {
  display: block;
  width: 100%;
  font-size: 1.4em;
}

.br {
  border-right: 1px solid #dee2e6;
}

.waiting_sum {
  display: inline-block;
  vertical-align: top;
  padding-left: 1em;
}

.row-with-margins .col-md-6 {
  margin-bottom: 2em;
}

.m-title .m-sum {
  font-size: 3em;
  font-weight: bold;
  line-height: 1.25em;
  font-family: 'Oswald', sans-serif;
  display: inline-block;
}

.m-title .m-sup {
  display: inline-block;
  vertical-align: top;
  padding-left: 1em;
  padding-top: 7px;
}

.m-title .m-sup > span {
  display: block;
}

.m-info {
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  margin-top: .25em;
  font-size: 1.2em;
}

h5.lined {
  margin-top: 1em;
  margin-bottom: 1em;
  position: relative;
}

h5.lined .l-title {
  display: inline-block;
  background-color: #fff;
  position: relative;
  z-index: 99;
  padding-right: .5em;
}

h5.lined .l-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #999;
  position: absolute;
  z-index: 98;
  top: 50%;
  left: 0;
}

.m-gray {
  color: #aaa;
}

.m-max {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8em;
}

.mini-info {
  font-size: .8em;
  background-color: #f5f5f5;
  padding: 2px 4px;
  display: inline-block;
  max-width: 300px;
}

.m-sum.red {
  color: darkred;
}

.m-sum.green {
  color: green;
}

.parent_contact {
  display: block;
  white-space: nowrap;
  font-size: 12px;
}

.parent_contact a {
  display: inline-block;
  margin-right: 5px;
}

.parent_contact img {
  width: 12px;
}

.tr-done {
  opacity: .35;
}

.task-block {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.task-block .tb-title {
  font-size: 2em;
  font-weight: bold;
  line-height: 1.25em;
  font-family: 'Oswald', sans-serif;
  display: block;
}

.task-block .tb-info {
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  margin-top: .25em;
  font-size: 1.1em;
  display: block;
}

.task-block a {
  display: block;
  width: 100%;
  text-transform: uppercase;
  padding-top: .35em;
  padding-bottom: .35em;
}

.task-block.tb-no-border {
  border-color: transparent;
}

table.table-kpi tr td {
  width: 25%;
}

span.kpi_full {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  margin-top: 5px;
  background-color: #ddd;
  position: relative;
}

span.kpi_done {
  display: block;
  height: 6px;
  border-radius: 3px;
  background-color: green;
}

span.kpi_done.kpi_red {
  background-color: #dc3545;
}

span.kpi_done.kpi_yellow {
  background-color: #ffc107;
}

span.kpi_done.kpi_green {
  background-color: #28a745;
}

span.kpi_title {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.2em;
  padding-top: 6px;
  display: block;
}

table.table.table-kpi th {
  border-top-color: transparent;
}

div.gray-container {
  background-color: rgba(199, 199, 199, .3);
  margin-bottom: 10px;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 1.25em;
  transition: background-color 0.25s ease;
}

div.gray-container label {
  margin-bottom: 0;
  margin-top: 5px;
}

div.gray-container a.btn {
  display: block;
  width: 100%;
  padding: 5px 10px;
}

div.gray-container:hover {
  background-color: rgba(199, 199, 199, .4);
}

div.gray-container.gc-done {
  opacity: .5;
}

.alert.alert-white {
  background-color:  #fff;
}

.alert.alert-gray {
  background-color: #f1f1f1;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.alert.alert-dark-gray {
  background-color: #555;
  color: #fff;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.alert.alert-gray label,
.alert.alert-dark-gray label {
  margin-bottom: 0;
}

.badge.badge-manual-update {
  margin-left: .5em;
  padding: 0 5px;
}

.form_wrapper_gray {
  margin-bottom: 1em;
  background-color: #f1f1f1;
  border-radius: .5em;
  padding: 1.5em;
  margin-top: 1em;
}

.alert.alert-mini {
  padding: .25rem 0.75rem;
}

.parent_contact img {
  width: 16px;
}

.bright {
  border-right: 1px solid #dee2e6;
}

.half-opacity, 
.half-opacity a {
  color: #aaa;
}

.badge-full {
  font-size: .9em;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

.ruble_format {
  white-space: nowrap;
}

.hide_on_load {
  display: none;
}

.btn.btn-sm {
  font-size: 12px;
  line-height: 1em;
  padding: 5px 10px;
  border-radius: 3px;
}

.mb1em {
  margin-bottom: 1em;
}

.mt1em {
  margin-top: 1em;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 44px;
  bottom: 0;
  left: 0;
  z-index: 2052; /* Behind the navbar */
  padding: 10px 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);

  overflow-y: auto;  /* Add overflow-y */
  overflow-x: hidden;  /* Add overflow-x */
}

.sidebar.sidebar-admin {
  padding-top: 0;
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: rgba(57, 87, 141, 0.9);
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
  padding-left: .75rem;
  right: .75rem;
}

.nav-link {
    display: block;
    padding: .1em .75rem;
    font-size: 1em;
}

.sidebar .user-info {
  display: block;
  font-size: 1.1em;
  background-color: rgb(238, 238, 238);
  padding: 15px .75rem;
  margin-bottom: 15px;
}

.sidebar .user-info p:nth-last-of-type(1) {
  margin-bottom: 0;
}

.sidebar .user-info a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #999;
}

.sidebar .user-info a:hover {
  border-bottom-color: transparent;
}

.sidebar .user-info table tr td {
  vertical-align: top;
}

.sidebar .user-info table tr td.ui-avatar {
  padding-right: 10px;
}

.sidebar .user-info img.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 30px;
}

.sidebar-heading {
  margin-top: .5em;
}

.sidebar-heading span {
  font-size: 1.25em;
}

.sidebar-heading span a {
  color: #7f878f;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 0, 0, .25);
}

.sidebar-heading span a:hover {
  border-bottom-color: transparent;
}

/*
 * Content
 */

[role="main"] {
  padding-top: 60px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
  [role="main"] {
    padding-bottom: 80px;
  }
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.navbar-brand {
  background-color: transparent;
  box-shadow: none;
  margin-left: .5em;
  padding: 0;
}

a.navbar-brand span {
  padding-left: 1em;
  padding-right: 1em;
}

.navbar {
  z-index: 2051;
  display: block;
  position: fixed;
  width: 100%;
}

/* mini-row */

.row.mini-row {
  margin-left: -2px;
  margin-right: -2px;
}

.mini-row .col-6,
.mini-row .col-md-6 {
  padding-right: 2px;
  padding-left: 2px;
}

/* cyaModal */

div.cyaModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  overflow: auto;
}

div.cyaModal div.cyaModal_inner {
  padding: 2em;
}

div.cyaModal div.cyaModal_close {
  position: absolute;
  top: 2.5em;
  right: 2.5em;
  z-index: 9999;
}

div.cyaModal div.cyaModal_close span {
  font-size: 48px;
  line-height: 48px;
  vertical-align: top;
  width: 48px;
  height: 48px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
} 

div.cyaModal div.loader {
  font-size: 24px;
  margin-bottom: 1em;
  display: none;
}

tr.updatedBlink {
  background-color: #ffffe0;
}

h1.h1_top {
  margin-top: .5em;
  margin-bottom: 1em;
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.ld_data {
  margin-bottom: 1em;
  display: block;
}

.ld_data .badge {
  margin-right: .5em;
}

.ui-info-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-top: 1em;
}

.navbar-badge {
  position: relative;
}

.nav-link .badge {
  width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0;
  border-radius: 9px;
}

.hide_on_desktop {
  display: none;
}

@media (max-width: 767.98px) {

  .sidebar {
    padding-top: 0;
  }

  ul.nav li.nav-item:nth-of-type(1) .nav-link {
    border-top: none;
  }

  .wl-wrapper.wlw-friend .wlw-user-wrapper {
    width: 100%;
  }

  .wl-wrapper.wlw-friend .wlw-items {
    width: 100%;
    margin-top: .5em;
  }

  .bfi-title {
    font-size: 1.25em;
    border-radius: .5em;
  }

  .bf-item { 
    padding: 1em 1.25em;
  }

  .row.row-tr div {
    border-bottom: none;
    padding-top: 0;
    padding-bottom: .25em;
  }

  .row.row-tr {
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 1em;
    padding-top: 1em;
  }

  .add_list_form button {
    margin-top: .5em;
  }

  .fastlog {
    font-size: 1.9rem;
  }

  .nav-link .badge {
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
  }

  .hide_on_mobile {
    display: none;
  }

  .hide_on_desktop {
    display: table-row;
  }

  .btn-lg {
    font-size: 1em;
  }

  .sidebar .user-info table tr td.ui-avatar {
    display: none;
  }

  .sidebar .user-info table {
    width: 100%;
  }

  h1.h1_top {
    margin-top: 0;
    font-size: 1.5em;
    letter-spacing: 1px;
  }

  .sidebar-heading span {
    display: block;
    width: 100%;
    font-size: .75em;
  }

  .col-md-mb-1 {
    margin-bottom: 1em;
  }

  .col-md-mt-1
  {
    margin-top: 1em;
  }

  .col-md-mt-05
  {
    margin-top: .5em;
  }

  #sidebarMenu .sidebar-heading.mt-4 {
    margin-top: 20px !important;
  }

  .nav-link {
      display: block;
      padding: .1rem .25rem;
      font-size: 1em;
  }

  .sidebar-heading {
    margin-top: 0;
  }

  .mb-block {
    display: none;
  }

  .sidebar-heading {
    padding: 0;
    margin: 0;
  }

  .sidebar-heading span a, 
  .ui-info-links a {
    display: block;
    width: 100%;
    padding: 30px 30px;
    font-size: 25px;
    border-top: 1px solid #999;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 20px 30px;
    font-size: 1.5em;
    border-top: 1px solid #999;
  }

  .item-edit-photo img {
    width: 100%;
  }

  .sidebar {
    top: 42px !important;
  }

  .sidebar .nav-icon {
    margin-right: 5px;
  }

  .sidebar-heading span a {
    font-weight: bold;
    font-size: 20px;
    background-color: #343a40!important;
    color: #fff;
    border-top: 1px solid #666;
    border-bottom-width: 0;
  }

  .sidebar-heading.mb-1 {
    margin-bottom: 0 !important;
  }

  .sidebar .user-info {
    padding: 0;
    margin: 0;
  }

  .ui-info-greetings {
    font-size: 25px;
    padding: 30px;
    display: none;
  }

  .ui-info-links {
    margin-top: 0;
  }

  .sidebar .user-info a {
    border-bottom-width: 0;
  }
}

.badge.navbar-badge {
  font-size: .6em;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 11px;
  padding: 0;
  position: absolute;
}

/* admin_profile */

.admin_info {
  text-align: center;
  background-color: #f1f1f1;
  padding: 2em;
  border-radius: 2em;
}

.ai_avatar {
  width: 50%;
  margin: 0 auto 2em;
}

.ai_avatar img {
  width: 100%;
  border-radius: 9999px;
}

.ai_name {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 1em;
}

.admin-badges .badge {
  font-size: 90%;
  margin-left: 1em;
}

/* balance */

.page-balance h4 {
  margin-bottom: .5em;
  margin-top: 0;
}

.page-balance .alert.alert.wallet-info {
  padding: 25px 40px;
  border-radius: 10px;
  margin: 10px 0;
  position: relative;
}

.page-balance .alert.wallet-info .wi-edit {
  position: absolute;
  top: 25px;
  right: 40px;
}

.page-balance .alert.wallet-info h6 {
  text-transform: uppercase;
  font-size: 1.2em;
  letter-spacing: .05em;
}

.page-balance .alert.wallet-info h3 {
  font-weight: bold;
  font-size: 2.5em;
  margin-bottom: 0;
}

.page-balance .alert.wallet-info.alert-info {
  background-color: transparent;
  color: #666;
  border-color: #aaa;
}

.page-balance .alert.wallet-info.alert-success {
  background-color: transparent;
}

/* bonuses */

.page-bonuses .badge {
  font-size: .9em;
}

/* coaches */

.page-coaches .student-edit-menu .btn.btn-sm {
  font-size: 12px;
  line-height: 1em;
  padding: 5px 10px;
  border-radius: 3px;
}

.page-coaches .student-edit-menu .dropdown-menu {
  padding: 5px 0;
}

.page-coaches .student-edit-menu .dropdown-divider {
  margin: 5px 0;
}

.page-coaches .student-edit-menu .dropdown-item {
  font-size: 12px;
  line-height: 1em;
  padding: 5px 10px;
}

/* economics */

.page-economics .kid-circle {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #cacaca;
  margin-right: 2px;
}

.page-economics .kid-circle.kid-green {
  background-color: green;
}

.page-economics .kid-circle.kid-yellow {
  background-color: #FFD400;
}

.page-economics .kid-circle.kid-red {
  background-color: red;
}

.page-economics .kid-circle.kid-dark-red {
  background-color: #8B0000;
}

.page-economics .kids-count,
.page-economics .kids-count-number {
  display: block;
  line-height: 14px;
}

.page-economics .kids-count-number .kcn-inner {
  font-size: 12px;
  line-height: 14px;
  font-weight: bold;
  display: block;
  text-align: left;
}

.page-economics .lh-label {
  font-size: 9px;
  font-weight: bold;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 8px;
  line-height: 15px;
  text-align: center;
  background-color: #666;
  color: #fff;
  margin-right: 1px;
}

.page-economics .lh-label.lhl-red {
  background-color: #8B0000;
}

.page-economics .lh-label.lhl-bad {
  background-color: red;
}

.page-economics .lh-label.lhl-gray {
  background-color: #ddd;
}

.page-economics .lessons_dates {
  margin-top: 1em;
  font-size: .8em;
  border-radius: .75em;
  padding: 1em;
  background-color: #f1f1f1;
  display: none;
}

.page-economics .editMoneySettings {
  display: none;
}

.page-economics .form-control.form-control-xs {
  display: inline-block;
  font-size: 12px;
  width: 80px;
  margin-left: 10px;
}

.page-economics .sg_underline {
  border-bottom: 1px dotted #333;
}

/* forecast-subs */

.page-forecast-subs th h4 {
  margin-bottom: 0;
  padding: .25em 0;
}

.page-forecast-subs th h6 {
  margin-bottom: 0;
  padding: .25em 0;
}

.page-forecast-subs td .badge {
  font-size: .9em;
}

.page-forecast-subs tr:hover {
  background-color: rgba(155, 155, 155, .2);
}

/* invoices */

.page-invoices .badge {
  font-size: 90%;
}

.page-invoices .delete_files label {
  display: block;
}

/* marketing-stats */

.page-marketing-stats .bright {
  border-right: 1px solid #dee2e6;
}

/* news */

.page-news .addNews {
  display: none;
}

.page-news .mb1em {
  margin-bottom: 1em;
}

/* promocodes */

.page-promocodes .badge {
  font-size: .9em;
  margin-left: 5px;
}

/* saldo */

.page-saldo table.table th,
.page-saldo table.table td {
  white-space: nowrap;
}

/* sber-payments */

.page-sber-payments .badge {
  font-size: .9em;
}

/* settings */

.page-settings .settings-block p .badge,
.page-settings .settings-block div .badge {
  font-size: .8em;
  float: right;
}

.page-settings .settings-block .col-12 {
  margin-bottom: 1em;
}

.page-settings .stg-update-date {
  font-size: .8em;
}

/* static-pages */

.page-static-pages #ace_editor {
    position: relative;
    width: 100%;
    height: 600px;
}

.page-static-pages #wysiwyg {
  height: 600px;
}

.page-static-pages .ace_editor_textarea {
  display: none;
}

.page-static-pages button[type='submit'] {
  margin: 1em 0 2em 0;
}

/* subs */

.page-subs th h4 {
  margin-bottom: 0;
  padding: .25em 0;
}

.page-subs th h6 {
  margin-bottom: 0;
  padding: .25em 0;
}

.page-subs td .badge {
  font-size: .9em;
}

.page-subs tr:hover {
  background-color: rgba(155, 155, 155, .2);
}

.autoComplete_wrapper {
  width: 100%;
}

.autoComplete_wrapper>input {
  border-color: #633abc !important;
  color: #633abc !important;
  width: 100% !important;
  border-radius: 1px !important;
}

.btn-style {
  background-color: #633abc;
  border-color: #633abc;
  color: #fff !important;
}

.btn-kid {
  padding-top: 18px;
  padding-bottom: 18px;
  text-transform: uppercase;
  font-weight: bold;
}

td.the_wheel
{
    background-position: center;
    background-repeat: no-repeat;
}

.nosubs_potential_sum_day, 
.nosubs_question_potential_sum_day {
  display: none;
}

.last-p-no-mb p:nth-last-of-type(1) {
  margin-bottom: 0;
}