@font-face {
  font-family: 'Ubuntu';
  src: url('../fonts/Ubuntu.eot');
  src: local('☺'),
  url('../fonts/Ubuntu.woff') format('woff'),
  url('../fonts/Ubuntu.ttf') format('truetype'),
  url('../fonts/Ubuntu.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NewFont';
  src: url('../fonts/new-font/New-Regular.otf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'NewFont';
  src: url('../fonts/new-font/New-Italic.otf');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'NewFont';
  src: url('../fonts/new-font/New-Bold.otf');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'NewFont';
  src: url('../fonts/new-font/New-BoldItalic.otf');
  font-weight: bold;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'NewFont', sans-serif;
  font-size: 16px;
}

a {
  font-size: 16px;
  color: #222;
  font-weight: bold;
  transition: all .25s;
}
button {
  font-size: 16px;
  color: #222;
  font-weight: bold;
}

a:hover, .button:hover {
  font-size: 16px;
  color: #222;
  font-weight: bold;
}

.button:hover,
.button-primary:hover {
  color: #111 !important;
  background: #eee;
}

a.modal-open {
  font-weight: bold !important;
  /* padding: 0 2px; */
  /* border-bottom: 1px solid #fff; */
  text-decoration: underline !important;
}

body {
  background: #f0f3f7;
  color: #343434;
}

.container {
  /* width: 960px; */
  margin: 0 auto;
  margin-top: 40px;
}

.container.send-message,
.container.course-container {
  max-width: 560px;
}

.container-full {
  width: 100%;
  margin-top: 0;
}
.container-full .content {
  margin-left: 0;
}

.header {
  background: #222;
  height: 60px;
  padding: 12px 16px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  margin-bottom: 30px;
}

.menu {
  display: inline-block;
  padding-left: 40px;
}

.menu img {
  width: 24px;
  position: relative;
  top: 6px;
}

.menu a {
  margin-right: 10px;
  text-decoration: none;
  color: #f5f6fa;
  line-height: 24px;
}

.menu a span {
  padding-left: 10px;
}

.left-content {
  width: 260px;
  float: left;
}

.content {
  /* margin-left: 290px; */
}

.block {
  background: #111;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  margin-bottom: 30px;
}

.block.foreground-user {
  background: #fff;
  margin-bottom: 0;
}

.block.foreground-user .body {
  height: 140px;
  background: #fff;
  background-image: url(../img/bg.png);
  background-size: 24px;
  padding-top: 48px;
}

.block.foreground-user {
  text-align: center;
}

.img-user {
  width: 256px;
  height: 256px;
  display: inline-block;
  border-radius: 50%;
  border: 12px solid #111;
  background-size: contain;
}

.foreground-user-info {
  padding-top: 128px;
  background: #111;
  color: #fff !important;
}
.foreground-user-info .title {
  color: #fff !important;
}

.foreground-user-info blockquote {
  color: #fff;
}

.foreground-user-info a {
  color: #fff !important;
}
.foreground-user-info .body {
  padding-top: 0 !important;
}
.foreground-user-info .title.user-name {
  text-transform: none;
}

.block.nobackground {
  background: transparent;
  box-shadow: none;
}

.block.schedule-title, .block.schedule-container {
  margin-bottom: 0;
}

.block.search-title {
  margin-bottom: 10px;
}

.block .head-image img {
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.block .title, .block .body {
  padding: 20px;
}
.message-user .body,
.message-executor .body {
  padding: 0;
}

a.light {
  color: #fff;
}

.user-account-history-table a {
  color: #fff !important;
}

.body.light {
  background: #222;
  margin-bottom: 20px;
}
.body.light select,
.body.light input[type="text"], 
.body.light input[type="password"], 
.body.light textarea,
.body.light button,
.body.light .button {
  background: #eee;
  color: #111;
}
.body.light select[disabled],
.body.light input[type="text"][disabled], 
.body.light input[type="password"][disabled], 
.body.light textarea[disabled],
.body.light button[disabled],
.body.light .button[disabled] {
  background: #aaa;
}
.body.light .label-id-user,
.body.light .label-id-message-base {
  background: #eee;
  color: #111;
}
.body.light .title {
  padding-bottom: 6px;
  padding-top: 0;
}
.input-row.user-list-wrap,
.input-row.user-select-wrap,
.input-row.message-base-list-wrap {
  text-align: left;
}
.input-row.message-base-list-wrap {
  padding-left: 0;
}
.list-user {
  padding-top: 20px;
}
.container-ids {
  padding: 10px 0;
}
.one-half {
  width: 48% !important;
}
.one-half:last-child {
  position: absolute;
  right: 10px;
}
.total-bill-input {
  padding-top: 10px;
}

.user-list form button {
  color: #fff;
  padding: 0;
  background: #111;
  border-bottom: #fff solid 2px;

}

.address-message {
  text-align: left;
}

.input-file {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.input-file + label {
  font-weight: bold;
  color: #111;
  background: #eee;
  display: inline-block;
}

.message-sended-list {
  list-style: none;
}
.message-sended-list li {
  position: relative;
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.message-sended-list li:last-child {
  border: none;
}

.message-sended-list li span.date-message {
  position: absolute;
  right: 20px;
  bottom: 14px;
  cursor: pointer;
}
.message-sended-list li i.material-icons {
  position: relative;
  top: 5px;
  padding-left: 6px;
}
.message-sended-attach-file {
  padding-left: 10px;
  font-weight: bold;
}
.message-sended-attach-file i.material-icons {
  font-size: 20px;
  padding: 0 !important;
}
.reset-message-sended {
  position: absolute;
  right: 20px;
  top: 14px;
}
.reset-message-sended i.material-icons {
  position: relative;
  top: 5px;
  padding-right: 5px;
}

.block .body.smaller {
  padding: 16px;
}

.block .title {
  /* padding-bottom: 10px; */
  position: relative;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  text-align: left;
}

.block .title + .body {
  /* padding-top: 0; */
}

.block form {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.input-row {
  padding: 10px 10px 0px;
  padding-bottom: 5px;
  position: relative;
}

.input-row:first-child {
  padding-top: 0;
}

.input-row:last-child, .input-row.submit {
  border: none;
}

.input-row select, .input-row input[type="text"], .input-row input[type="password"] {
  height: 34px;
}

.input-row select, .input-row input[type="text"], .input-row input[type="password"],
.input-row textarea {
  /* Отмена стандартной стилизации */
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 0.01px;
  text-overflow: '';
  -ms-appearance: none;
  appearance: none !important;

  background: #222;

  color: #fff;
  width: 100%;
  border: none;
  border-radius: 0;
  outline: none;
  padding-left: 10px;
}

.input-row textarea {
  box-sizing: border-box;
  padding-top: 8px;
  resize: none;
  height: 102px;
}

.input-row select {
  background-image: url('../img/select_caret.svg');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.input-row select::-ms-expand {
  display: none;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #aaa;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #aaa;
}

:-ms-input-placeholder { /* IE 10+ */
  color: #aaa;
}

:-moz-placeholder { /* Firefox 18- */
  color: #aaa;
}

.input-row.submit {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

button, .button {
  display: inline-block;
  cursor: pointer;
  padding: 8px 18px;
  text-align: center;
  text-transform: uppercase;
  background: #222;
  outline: none;
  border: none;
}

button a, .button {
  text-decoration: none;
  color: #fff;
}

button, select, input {

  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.clear-fix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.block .right-text {
  line-height: 24px;
}

.right-text {
  text-align: right;
}

.block .left-text {
  display: inline-block;
  line-height: 24px;
}

.block.gallery {
  overflow: hidden;
}

.header, .block, .group-block {
  box-shadow: none;
}

.auth-icon {
  width: 32px;
  height: 32px;
  padding-right: 10px;
  cursor: pointer;
}

.auth-icon-row {
  padding: 20px;
  text-align: center;
}

.form-info {
  padding: 10px 20px 0;
  text-align: center;
  font-size: 12px;
}

a.vk-auth {
  position: absolute;
  right: 0;
  top: 10px;
}

blockquote {
  padding: 4px 20px;
  font-size: 12px;
  color: #fff;
}

blockquote.error {
  color: red;
}

.header {
  display: none;
}

.review-good, .review-bad {
  display: inline-block;
  width: 16px;
  height: 10px;
  margin: 0 10px;
}

.review-good {
  background-color: #3ac3de;
}

.review-bad {
  background-color: crimson;
}

.review-date {
  text-align: right;
}

.menu-row {
  text-align: center;
}

.menu-row a {
  margin-bottom: 6px;
  box-sizing: border-box;
}
.block.menu-container {
  padding-top: 30px;
}

.pagination {
  margin-top: 20px;
}

.pagination.right {
  text-align: right;
}

.pagination li.active {
  background-color: #eee;
}

.pagination li.active a {
  color: #111;
}

.pagination li {
  display: inline-block;
  list-style: none;
  text-align: center;
  vertical-align: top;
  height: 30px;
  line-height: 30px;
}
.pagination li:hover {
  cursor: pointer;
  background: #222;
}

.pagination li a {
  padding: 0 10px;
  text-decoration: none;
}

.pagination li a i {
  line-height: 30px;
}

table.user-list, table.dialog-list, table.pay-list {
  width: 100%;
  text-align: center;
  border-spacing: 0;
}

.pay-list th, .pay-list td {
  padding: 0 5px 0 5px;
}

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

.admin-func a {
  margin-right: 10px;
  line-height: 24px;
}

.category-list p {
  padding-bottom: 4px;
}

.category-list p.back {
  padding-top: 6px;
}

.category-list .link-icon {
  padding-left: 4px;
  position: relative;
  top: 6px;
}

.category-list input[type=checkbox] {
  display: none;
}

.category-list label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #aaa;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 4px;
  border-radius: 50%;
  cursor: pointer;
}

.category-list label:hover::before {
  background-color: #fff;
}

.category-list input[type=checkbox]:checked + label::before {
  background-color: #76d672;
  border-radius: 50%;
}

.category-list label {
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.category-list label:hover {
  color: #fff;
}

.category-list .checkAll {
  margin: 27px 0 25px 0;
  text-transform: uppercase;
}

.category-list-check p {
  padding: 0;
  text-align: center;
}

.category-list-check button {
  margin: 8px 0 8px 0;
}

.delete-icon {
  color: red;
}

.block-stat {
  position: relative;
  overflow: hidden;
  background: #222;
  color: #fff;
}

.block-stat .title {
  text-align: left;
  font-size: 20px;
  color: #fff;
}

.stat-right {
  position: absolute;
  top: 0;
  right: 24px;
  font-size: 92px;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}

.button-upper {
  margin-top: 14px;
}

.message-user,
.message-executor {
  position: relative;
  text-align: left;
}
.block-close-task .message-datetime{
  position: static;
}
.message-user .body,
.message-executor .body {
  text-align: left;
  min-height: 31px;
}

.message-footer .pagination {
  margin-top: 0;
}

.message-content, .container-user-list {
  max-width: 560px;
  box-sizing: border-box;
  padding-bottom: 10px;
}

.user-list th {
  padding: 5px 0 5px 0;
  border-bottom: 1px solid rgba(52, 52, 52, 0.7);
}

.user-list td {
  padding: 5px 0 5px 0;
}

.message-datetime {
  position: absolute;
  top: 0;
  right: 0;
  text-align: center;
}
.message-user .message-datetime, 
.message-executor .message-datetime {
  text-align: left;
  color: #aaa;
  /* width: 54px; */
}
.message-file-link {
  display: block;
  text-decoration: underline !important;
}
.task-user-link {
  text-decoration: underline !important;
}

.task-subject-link {
  text-decoration: underline !important;
}

.task-file-link {
  text-decoration: underline !important;
}

.gray-emoji {
  -webkit-filter: grayscale(1); 
  filter: gray;
  filter: grayscale(1);
}

.block-close-task .message-content, .block-close-task .message-datetime {
  text-align: center;
}

a.underline {
  text-decoration: underline !important;
}

a.emoji {
  text-decoration: none;
}

.right-link {
  float: right;
  padding-left: 15px;
}

.message-text {
  max-width: 700px;
}

tr.message-all td, tr.message-all th {
  border-bottom: 1px solid rgba(52, 52, 52, 0.7);
  padding: 3px 10px 3px 10px;
}

.subjects-executor-list {
  width: 100%;
  border-spacing: 0;
}

.subjects-executor-list tr th,
.subjects-executor-list tr td {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.subjects-executor-list tr td {
  border-bottom: 1px solid rgba(0, 0, 0, .2);
}

input[name="id-user[]"],
input[name="id-message-base-send[]"],
input[name="id-message-base-exclude[]"] {
  position: absolute;
  left: -100000px;
}

.label-id-user,
.label-id-message-base {
  display: inline-block;
  padding: 4px 10px;
  background: #222;
  color: #fff;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 10px;
  font-weight: bold;
}

.del-id-user,
.del-id-message-base {
  cursor: pointer;
  position: relative;
  top: 1px;
  left: 4px;
}

.change-position-block-wrapper {
  position: absolute;
  top: 15px;
  right: 10px;
}

.change-position-block-wrapper a {
  display: block;
}

.link-in-title, .right-link {
  color: #aaa !important;
  font-size: 18px;
}

.link-in-title:hover, .right-link:hover {
  color: #fff !important;
  font-size: 18px;
}

.pay-method {
  padding: 10px 4px;
}

.my-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.my-gallery figure {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  overflow: hidden;
  margin: 3px;
}
.my-gallery figcaption {
  display: none;
}
.my-gallery img {
  min-width: 200px;
  max-width: 300px;
  min-height: 200px;
  max-height: 200px;
}

.delete-portfolio, .set-avatar {
  display: inline-block;
  position: absolute;
  top: 10px;
  right: 10px;
  text-shadow: 0 5px 10px rgba(0,0,0,.25);
  cursor: pointer;
}

.set-avatar {
  left: 10px;
  right: auto;
}

.user-category-list {
  line-height: 26px;
  font-size: 18px;
}

.user-name {
  padding-top: 10px !important;
  font-size: 24px !important;
}

.vk-auth-button {
  padding: 8px 16px 8px;
  margin: 0;
  margin-bottom: 2rem;
  font-style: normal;
  font-size: 16px;
  display: inline-block;
  zoom: 1;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  /*font-family: -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;*/
  font-family: 'NewFont', sans-serif;
  vertical-align: top;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
  background: none;
  background-color: #5181b8;
  color: #fff;
  border: 0;
  border-radius: 16px;
  box-sizing: border-box;
  text-transform: uppercase;
  font-weight: bold;
}

.vk-auth-button:hover {
  /*font-size: 12.5px;*/
  background-color: #5b88bd;
  color: #fff;
  text-decoration: none
}

.vk-auth-button:active {
  background-color: #4872a3;
  padding-top: 8px;
  padding-bottom: 8px
}

.vk-auth-button.inactive {
  background: #ccc;
  color: #fff;
  cursor: default;
  margin-bottom: 0;
  opacity: 0.25;
}

.vk-auth-button.inactive.good {
  padding-left: 14px;
  /*background: green;*/
  /*color: #ccc;*/
}

.vk-auth-button .material-icons {
  font-weight: bold;
  font-size: 16px;
  /*position: relative;*/
  /*top: 2px;*/
  padding-right: 4px;
}

.first-vk-auth-button {
  margin-top: 22px;
}

.vk-subscribe-container {
  height: 22px;
}

.splitter {
  height: 22px;
  padding-right: 50%;
  opacity: .25;
}

.splitter-line {
  border-right: 2px solid #999;
  height: 100%;
}

.social-icon {
  width: 24px;
  position: relative;
  top: 5px;
  padding: 0 2px;
}
.social-icon.small {
  width: 18px;
  top: 4px;
}

.block-info {
  margin-bottom: 10px;
}
#vk_subscribe {
  width: 194px !important;
  display: inline-block;
}

.betutor-img {
  display: block;
  width: 228px;
  margin: 16px auto;
}

.betutor-img-3 {
  width: 264px;
}

.betutor-list {
  list-style: none;
  line-height: 26px;
  margin-bottom: 36px;
}

.betutor-list li {
  font-size: 18px;
  margin-bottom: 4px;
}

.betutor-call-to-action {
  margin-bottom: 18px;
}

.betutor-contact-img img {
  width: 32px;
  margin: 0 8px;
}
.betutor-social {
  display: inline-block;
  margin: 0 14px;
}

img.icon {
  width: 22px;
  position: relative;
  top: 5px;
}
img.icon.right {
  padding-left: 6px;
}
img.icon.left {
  padding-right: 6px;
}

.icon-profile-text {
  float: left;
  position: relative;
  top: -1px;
  width: 22px;
  padding-right: 8px;
}
.icon-profile-text.stat {
  top: -2px;
}
.icon-profile-text.review {
  top: 1px;
}
.profile-text {
  width: 300px;
  margin: 10px auto;
  text-align: left;
}
.profile-text p {
  padding-left: 30px;
  padding-bottom: 6px;
}

.is-mobile {
  display: none;
}

.last-online {
  font-weight: normal;
  text-transform: none;
}

.aggmetrics  {
  display: inline-block;
  height: 297px;
  margin: 10px;
}
.stat-container {
  margin-top: 30px;
  margin-bottom: 20px;
}

.star.inactive, p.inactive {
  color: #444;
}
.category-name {
  padding-bottom: 0 !important;
}
.number-in-title {
  padding: 4px 6px;
  background: #444;
}

.lds-circle {
  position: relative;
  opacity: 0;
  top: 1px;
  display: inline-block;
  transform: translateZ(1px);
}
.lds-circle > i {
  display: inline-block;
  font-size: 14px;
  margin: 6px;
  animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes lds-circle {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
  }
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(1800deg);
    animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
  }
  100% {
    transform: rotateY(3600deg);
  }
}

/* Новый дизайн */
body {
  background: #111;
}
.header {
  display: none !important;
}
.container {
  text-align: center;
}
.container, .container a {
    color: #fff;
}

.container a {
  text-decoration: none;
}
.container a:hover {
  text-decoration: none;
}

.container .wrap {
  margin-top: 40px;
  display: inline-block;
  position: relative;
  text-align: left;
}
.container .head {
  text-align: center;
}
.container .head .title a {
  position: absolute;
  top: 6px;
  right: 6px;
}
.container .head .title {
  position: relative;
  width: 280px;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 6px;
  text-align: left;
  display: inline-block;
}

.task-desc {
  max-width: 280px;
  margin: 0 auto;
  text-align: left; 
}

.copyright {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.copyright a {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  opacity: .25;
}
.copyright a:hover {
  text-decoration: underline;
  opacity: 1;
}

.youtube-video {
  width: 560px;
  height: 315px;
  margin: 5px;
}

.pay-row:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.user-invited-row {
  background: linear-gradient(0.25turn, rgba(0, 0, 0, 0.15), rgba(235, 248, 225, 0.08), rgba(0, 0, 0, 0.15));
}

/* ЧАТ-БОКСЫ */
.all-dialogs-list {
  text-align: center;
}

.all-dialogs-list .title {
  text-decoration: underline;
  text-align: center;
}

.dialog-box {
  margin: 40px 10px;
  height: 300px;
  width: 250px;
  display: inline-flex;
}

.dialog-box-title {
  position: absolute;
  margin: -45px 0 0 0;
  text-align: center;
  width: 259px;
}

.dialog-box-messages {
  position: absolute;
  display: flex;
  flex-direction: column-reverse;
  border: 2px solid #fff;
  text-align: left;
  padding: 0 10px 10px 10px;
  height: 300px;
  width: 235px;
  overflow-y: auto;
  overflow-x: hidden;
}

.dialog-box-messages::-webkit-scrollbar {
  width: 7px;
  background-color: #ffffff;
}

.dialog-box-messages::-webkit-scrollbar-thumb {
  background-color: #222;
}

.dialog-box-messages::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
  border-radius: 10px;
  background-color: #f9f9fd;
}

.user-dialogs-list {
  border-spacing: 0;
  margin: 0 auto;
}

.user-dialogs-list th, .user-dialogs-list td {
  padding: 5px 5px;
  border-bottom: 1px solid rgba(52, 52, 52, 0.7);
}

.dialog-box-img {
  width: 35%;
  margin: 0 auto;
  pointer-events: none;
  display: none;
}

.product-img {
  border: 2px solid #f7f7f7;
  border-radius: 2px;
  display: none;
  background-color: #f7f7f7;
  position: fixed;
  margin: 0 auto;
  z-index: 1;
  height: 400px;
  margin: -1% auto;
  left: 0;
  right: 0;
  pointer-events: none;
}

html {
  height: 100%;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.container {
  flex: 1;
  margin-top: 0;
}

.category-list {
  margin-top: 40px;
  list-style: none;
}
.category-list a,
.executor-none {
  text-decoration: none;
  color: #aaa;
}
.executor-none {
  font-size: 12px;
}
.category-item > a {
  font-size: 24px;
}
.sub-category-item > a {
  font-size: 18px;
}

.sub-category-list {
  display: none;
  list-style: none;
  padding-left: 12px;
}
.sub-category-list.visible {
  display: block;
}

.category-link:hover {
  color: #fff;
}

.executor-item {
  position: relative;
  height: 72px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.executor-item .img-user,
.message-user .img-user, 
.message-executor .img-user {
  width: 72px;
  height: 72px;
  box-sizing: border-box;
  border: 2px solid #fff;
}
.message-user .img-user, 
.message-executor .img-user {
  width: 48px;
  height: 48px;
}

.executor-item a.name,
.message-user a.name,
.message-executor a.name {
  color: #fff;
  display: inline-block;
  margin-bottom: 3px;
  /* position: absolute;
  top: 12px; */
}
.star {
  font-size: 14px !important;
  position: relative;
  top: 2px;
}
.star-container {
  margin-left: 3px;
}
.executor-item a.avatar,
.message-user a.avatar, 
.message-executor a.avatar {
  height: 72px;
  width: 72px;
  float: left;
}
.message-user a.avatar, 
.message-executor a.avatar {
  height: 48px;
  width: 48px;
}
.right-body {
  margin-left: 82px;
}
.message-user .right-body,
.message-executor .right-body {
  margin-left: 60px;
}

.connect-button {
  position: relative;
  padding-top: 4px;
  padding-bottom: 9px;
}
.connect-button img {
  margin-left: 4px;
}
.button.connect-button-fixed {
  position: fixed;
  bottom: 80px;
  left: 50%;
  margin-left: -156px;
  z-index: 9;
  color: #111 !important;
  background: #eee;
}
.button.connect-button-admin {
  margin-left: 0;
}
.button.connect-button-fixed.connect-button-admin {
  margin-left: -66px;
}
.button.connect-button-fixed:hover {
  background: #222;
  color: #fff !important;
}
.more-video-link-container {
  padding-top: 10px;
}

.button.small {
  font-size: 12px;
  padding: 3px 6px 2px;
  line-height: 13px;
}
.wrapper-material-icon {
  display: inline-flex;
  vertical-align: middle;
  height: 24px;
}
.wrapper-material-icon .material-icons {
  padding-left: 4px;
}
.icon-first .material-icons {
  padding-left: 0;
  padding-right: 4px;
}

.wrapper-vertical-align {
  display: flex;
  align-items: center;
}
.elem-padding-right {
  padding-right: 6px;
}

.user-cabinet-block p {
  line-height: 24px;
}

.admin-vk-auth {
  /* position: absolute; */
  /* left: 46px; */
  /* top: 11px; */
  padding: 1px 5px 7px;
  margin-right: 3px;
}
.admin-vk-auth .social-icon {
  width: 22px;
}

.vk-send-message-wrap {
  width: 184px;
  display: inline-block;
}

.left-align {
  text-align: left;
}

.title.no-bottom,
.body.no-bottom {
  padding-bottom: 0;
}
.body.no-top {
  padding-top: 0;
}
.hands {
  width: 24px;
  height: 24px;
  position: relative;
  top: 7px;
  padding-left: 2px;
}

.button.inverse {
  color: #111 !important;
  background: #eee;
}
.button.inverse:hover {
  color: #fff !important;
  background: #222;
}

.course-wrap {
  position: relative;
  border-radius: 10px;
  display: block;
  width: 280px;
  height: 130px;
  overflow: hidden;
  margin: 14px auto;
}
.course-wrap:hover .course-image,
.course-wrap.active .course-image {
  opacity: .75;
}
.course-name {
  padding: 50px 0;
  font-size: 24px;
  text-shadow: 1px 3px rgba(0,0,0,0.1);
  width: 100%;
  position: absolute;
  font-weight: bold;
}
.course-name .material-icons,
.material-icons.padding-top {
  position: relative;
  top: 4px;
}
.course-image {
  opacity: .5;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.course-wrap-small {
  height: 34px;
}
.course-wrap-small .course-name {
  padding: 0;
}

.lesson-list {
  list-style-position: inside;
}
.wrap-lesson-file a {
  padding: 0 6px;
}
.wrap-lesson-file.removed input {
  opacity: .15;
}

.input-row .html-editor {
  background-color: #222;
}
.lesson-paragraph {
  position: relative;
  text-align: left;
  padding: 10px;
}
.lesson-content .lesson-paragraph {
  text-indent: 14px;
  padding-left: 0;
  padding-right: 0;
}
.lesson-video,
.lesson-photo {
  position: relative;
  margin: 10px 0;
}
.lesson-video iframe {
  height: 36vh;
}
.html-editor .lesson-video iframe {
  /* opacity: .2; */
}
.lesson-material-toolbar {
  position: absolute;
  top: 0;
  width: 100%;
  /* height: 100%; */
  background-color: rgba(0,0,0,.8);
}
.lesson-material-toolbar a {
  cursor: pointer;
}
.lesson-material-toolbar a {
  margin: 10px 0;
}

.button-with-icon {
  position: relative;
  padding-right: 32px;
}
.button-with-icon .material-icons {
  position: absolute;
  top: 6px;
}

.lesson-paragraph-toolbar {
  position: absolute;
  top: -1000px;
}

.lesson-video-input-link {
  /* width: 60% !important; */
  margin-bottom: 10px;
  background: #111 !important;
}
.lesson-file-input-button {
  margin-bottom: 10px;
}

.lesson-photo img {
  width: 150px;
}

.html-editor .my-gallery,
.html-editor .lesson-photo {
  position: relative;
}

.close-dialogs input {
  width: 50%;
}

.close-dialogs p {
  width: 90%;
  margin: 0 auto;
}

.close-dialogs span {
  color: #55ACEE;
}

h3.success {
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* withdrawal - вывод средств в профиле */
.withdrawal {
  text-align: center;
  width: 30%;
  margin: auto;
}

/* Убираем стрелочки 
Chrome, Safari, Edge, Opera */
.withdrawal input::-webkit-outer-spin-button,
.withdrawal input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Убираем стрелочки 
Firefox */
.withdrawal input[type=number] {
  -moz-appearance:textfield;
}

.withdrawal input[type="number"] {
  background: #222;
  color: #fff;
  width: 100%;
  border: none;
  border-radius: 0;
  outline: none;
  padding-left: 10px;
  height: 34px;
}

.users-executor th {
  padding: 0 5px 0 5px;
}

@media screen and (max-width: 960px) {
  .header {
    display: block;
  }

  .left-content {
    display: none;
    width: auto;
    float: none;
  }

  .content {
    margin-left: 0;
  }

  .container {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 20px;
  }

  .header {
    width: 100%;
    position: fixed;
    padding: 12px;
    margin-bottom: 20px;
    z-index: 999;
  }

  .header .menu {
    position: absolute;
    left: 0;
    right: 0;
  }

  .header .sub-menu {
    display: none;
    padding-top: 60px;
  }

  .header.open {
    position: fixed;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
  }

  .header.open .sub-menu {
    display: block;
  }

  .content {
    /* padding-top: 80px; */
  }
  .container-full .content {
    padding-top: 80px;
  }

  .content.foreground-user-content {
    padding-top: 0;
  }

  .content.header-open {
    margin-top: 0;
  }

  .container {
    padding: 0;
  }

  .sub-menu .block .title {
    font-size: 16px;
    font-weight: normal;
    padding: 12px;
  }

  .sub-menu .input-row {
    padding: 12px 12px 0;
  }

  .sub-menu .input-row.submit {
    padding-bottom: 12px;
  }

  .sm-hidden {
    display: none;
  }

  .foreground-user-info {
    padding-top: 48px;
  }

  .img-user {
    width: 232px;
    height: 232px;
  }

  .user-name {
    padding-top: 0px !important;
  }
  
  .message-user,
  .message-executor {
    padding: 20px !important;
    margin-bottom: 0;
    padding-bottom: 0 !important;
  }
  .message-user .message-datetime,
  .message-executor .message-datetime {
    top: 20px;
    right: 20px;
  }
}

@media screen and (max-width: 460px) {
  .header {
    padding: 12px;
    margin-bottom: 20px;
  }

  .container {
    padding: 0;
  }

  .profile-text {
    width: 100%;
  }

  .my-gallery figure {
    width: 150px;
    height: 150px;
  }
  .my-gallery figure img {
    max-width: 150px;
    max-height: 150px;
    min-width: 150px;
    min-height: 150px;
  }

  .more-portfolio {
    font-weight: normal;
  }

  .is-mobile {
    display: block !important;
  }
  .is-not-mobile {
    display: none !important;
  }

  .full-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .stat-container {
    text-align: center;
  }
    
  .button.connect-button, .button.connect-button-fixed {
    position: fixed !important;
    bottom: 0;
    left: 0 !important;
    right: 0;
    z-index: 9;
    margin-left: 0 !important;
    padding-top: 14px;
    padding-bottom: 18px;
    color: #111 !important;
    background: #eee;
  }

  .copyright {
    margin-bottom: 80px;
  }
  .youtube-video {
    width: 100% !important;
    height: 48vw;
    margin: 6px 0;
  }
}