input,
textarea,
select,
.select .btn {
  background-color: #fff;
  color: #53539f;
  border: none;
  -webkit-box-shadow: inset 1px 1px 1px 1px #eee2d8;
  -moz-box-shadow: inset 1px 1px 1px 1px #eee2d8;
  box-shadow: inset 1px 1px 1px 1px #eee2d8;
}

input[type='file'] {
  color: #53539f;
}
input[type='radio'] {
  box-shadow: none;
}

.row.small-padding {
  margin-left: -10px;
  margin-right: -10px;
}

.row.small-padding div[class*='col-'] {
  padding: 0 10px;
}

.btn {
  padding: 9px 15px 11px;
  text-transform: none;
  -webkit-box-shadow: 1px 2px 0px 0px #c55659;
  -moz-box-shadow: 1px 2px 0px 0px #c55659;
  box-shadow: 1px 2px 0px 0px #c55659;
  outline: none;
}

.btn.pale {
  color: #2a2a68;
  -webkit-box-shadow: 1px 2px 0px 0px #d8c8ba;
  -moz-box-shadow: 1px 2px 0px 0px #d8c8ba;
  box-shadow: 1px 2px 0px 0px #d8c8ba;
}

.btn.pale.active {
  background: transparent;
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  font-weight: 600;
}

.btn.pale.active {
  color: #2a2a68;
}

.btn.plus {
  height: auto;
}

.btn.plus:before {
  left: 15px;
  top: 20px;
  font-size: 32px;
  font-weight: 500;
}

.btn.no-bg {
  background: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  color: #2a2a68;
  padding: 0;
}

.btn:focus:active,
.btn:focus {
  outline: none;
}

table .btn {
  padding: 5px 15px 6px;
}

h1 {
  font-weight: 600;
}

/* ================= modal ================= */

.modal-dialog.add-user input,
.modal-dialog.add-user textarea,
.modal-dialog.add-user select {
  border: none;
}

.modal-dialog.add-user input[type='file'] {
  display: inline-block;
}

.modal .white-block .glyphicon-file {
  opacity: 0.6;
  font-size: 18px;
}

/* =================navigation ================= */

.nav > li > a {
  font-weight: 600;
  color: #fff;
  font-size: 18px;
  padding: 18px 20px;
  white-space: nowrap;
  text-transform: none;
}

.nav > li > a:hover {
  background: #4a4b8e;
}

.nav > li > a:focus,
.nav > li > a.active,
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  background: #4a4b8e;
  border-top: 3px solid #ed5e61;
  padding-top: 15px;
}

.nav > li > a.active:after,
.btn.active:after {
  display: none;
}

.nav-tabs {
  border-bottom: none;
}

.nav.nav-tabs > li > a {
  border: none;
  padding: 13px 35px 13px 25px;
  background: #ecd5c7;
  border-radius: 0;
  border: none;
  margin-right: 0;
  color: #2a2a68;
  font-size: 16px;
  position: relative;
}

.nav.nav-tabs > li.active > a,
.nav.nav-tabs > li.active > a:focus {
  border: none;
  color: #2a2a68;
  background: #fff;
}

.nav.nav-tabs > li > a:focus {
  background: #e8d9cd;
  border-top: none;
}

.nav.nav-tabs > li > a:hover {
  color: #4a4b8e;
}

.nav.nav-tabs > li.active > a:after {
  content: '';
  right: 0;
  top: 0;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 48px 0;
  border-color: transparent #ecd5c7 transparent transparent;
}

.nav.nav-tabs > li.active:last-of-type > a:after {
  border-color: transparent #faf1ec transparent transparent;
}

.nav-justified > .dropdown .dropdown-menu {
  width: 100%;
}

.top-filter input,
.top-filter select {
  height: 45px;
}

/* =========== user ============= */

.user-info .user-img.no-photo {
  background: #fff;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-weight: 400;
  line-height: 1;
  font-size: 42px;
  color: #e7e7f1;
}

.user-info .user-img.no-photo:hover {
  border: 3px solid transparent;
}

.user-info .user-img.no-photo:before {
  content: '\E008';
  position: absolute;
  top: 26px;
  left: 26px;
}

/* ========= subjects ===== */

.subject,
.users {
  background: #fff;
  color: #2e2e66;
  font-size: 16px;
  height: 260px;
  text-align: center;
  position: relative;
  overflow: hidden;
  -webkit-box-shadow: 1px 2px 0px 0px #eaded4;
  -moz-box-shadow: 1px 2px 0px 0px #eaded4;
  box-shadow: 1px 2px 0px 0px #eaded4;
  padding: 0;
  text-transform: none;
}

.subject:hover,
.users:hover {
  background: #ed5e61;
  color: #fff;
  transition: 0.5s;
}

.subject {
  height: 310px;
  text-align: left;
}

.subject .img {
  height: 150px;
  display: block;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 0;
  filter: grayscale(100%) opacity(90%);
  -webkit-filter: grayscale(100%) opacity(90%);
  transition: 0.5s;
}

.subject:hover .img,
.users:hover .img {
  filter: none;
  -webkit-filter: none;
}

.subject:after {
  content: '';
  border-width: 15px;
  border-style: solid;
  border-color: #f06060;
  border-top-color: #faf1ec;
  border-right-color: #faf1ec;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 0;
  top: 0;
}

.subject .text {
  padding: 15px;
  overflow: hidden;
  display: inline-block;
  height: 80px;
}

.subject img {
  margin: 0 auto;
  max-height: 110px;
  max-width: 110px;
}
.site .subject .text {
  height: auto;
}

.price {
  float: right;
  margin-bottom: 15px;
}

.price a.dotted {
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
}

.price .edit {
  opacity: 0.3;
  margin-left: 0;
}
.price:hover .edit {
  opacity: 0.8;
}

/* ========= webinars page ===== */

.webinars .subject {
  text-align: left;
  height: 350px;
}

.webinars .subject:hover {
  background: #fff;
  color: inherit;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.webinars .subject:after {
  display: none;
}

.webinars .subject .text {
  padding: 20px;
  height: auto;
}

.webinars .subject .text .btn {
  display: block;
  margin-top: 15px;
  background: #f18c93;
  -webkit-box-shadow: 1px 2px 0px 0px #d05e61;
  -moz-box-shadow: 1px 2px 0px 0px #d05e61;
  box-shadow: 1px 2px 0px 0px #d05e61;
}

.webinars .subject:hover .btn {
  background: #ed5e61;
}

.webinars .subject .text .about {
  height: 70px;
  display: block;
}

.webinars .subject .text .date,
.uppercase {
  display: block;
  text-transform: uppercase !important;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.webinars.past .subject {
  height: 290px;
}
.subject .img {
  position: relative;
}

.webinars.past .subject .img:after,
.webinars .subject.watch .img:after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 45px 0 45px 70px;
  border-color: transparent transparent transparent #ffffff;
  top: 50%;
  left: 50%;
  margin-left: -35px;
  margin-top: -45px;
  opacity: 0.6;
}

.webinars.past .subject:hover .img:after {
  opacity: 0.8;
}

.top-filter button + button {
  margin-left: 5px;
}

.top-filter button {
  margin-bottom: 10px;
}

.mail .table-responsive {
  overflow: auto;
}

#modal-webinar .modal-body {
  padding: 0 30px 30px;
}

.modal-body iframe {
  width: 100%;
  height: 480px;
  margin-bottom: 30px;
}
/* ================= sites ================= */

.site .subject {
  height: auto;
  overflow: visible;
  text-align: left;
}

.site .subject .img {
  height: 137px;
  filter: none;
  -webkit-filter: none;
  position: relative;
}

.site .subject:hover .img:after {
  width: 100%;
  height: 100%;
  content: '';
  left: 0;
  top: 0;
  position: absolute;
  background: #fff;
  opacity: 0.3;
}

.site .subject .text {
  padding: 20px;
  text-align: left;
}

.site .subject .text > span {
  display: block;
  text-align: left;
  margin-bottom: 5px;
}

.subject .text > span.published,
.published {
  display: inline-block;
  background: #e8d9cd;
  font-size: 14px;
  font-weight: normal;
  padding: 5px 7px;
  margin-top: 3px;
}

.site .subject:hover span {
  color: #fff !important;
}

.subject:hover .published,
.subject:hover .text > span.published {
  background: transparent;
}

.subject:hover .uppercase {
  color: #fff;
}

.subject:after {
  display: none;
}

.edit-site {
  top: 10px;
  right: 10px;
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
  opacity: 0.7;
  cursor: pointer;
  text-align: center;
}

.edit-site .edit {
  margin: 10px auto;
}

.edit-site .delete,
.edit-site .glyphicon-trash,
.edit-site-2 .glyphicon-copy {
  color: #2e2e66;
  font-size: 18px;
}

.edit-site-2 {
  top: 10px;
  left: 10px;
  position: absolute;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
  opacity: 0.7;
  cursor: pointer;
  text-align: center;
}

/* .edit-site-2 .glyphicon-copy {
    margin-top: 8px;
    color: #2e2e66;
    font-size: 18px;
} */

.edit-site .dropdown-menu {
  display: none;
  top: 46px;
  right: 0;
  left: auto;
}

.edit-site .dropdown-menu:after {
  content: '';
  position: absolute;
  top: -8px;
  right: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #ffffff transparent;
}

.edit-site .dropdown-menu:before {
  content: '';
  position: absolute;
  width: 80%;
  height: 50px;
  top: -50px;
  right: 0;
}

.edit-site .dropdown-menu > li > a {
  padding: 10px 20px;
}

.edit-site:hover .dropdown-menu {
  display: block;
}

.subject:hover .edit-site,
.subject:hover .edit-site-2 {
  opacity: 1;
}

/* ================= schedule ================= */

form.schedule {
  /*margin: 40px 0;*/
  /*margin: 40px 0;*/
}

form.schedule select {
  margin: 0 5px;
  font-size: 14px;
}

form.schedule select:focus {
  outline-color: #9595dc;
}

.weeks {
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 40px;
  text-align: center;
  background: #e8d9cd;
  font-weight: 600;
  color: #2e2e66;
}

.weeks a {
  font-weight: 600;
}

.weeks .present {
  padding: 15px;
  position: relative;
}
.weeks .present:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  margin-left: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 20px 0 20px;
  border-color: #e8d9cd transparent transparent transparent;
}

.weeks .previous,
.weeks .next {
  background: #ed5e61;
  color: #fff;
  padding: 15px;
  position: relative;
}

.weeks .previous:before,
.weeks .next:after {
  content: '';
  position: absolute;
  width: 11px;
  height: 17px;
}

.weeks .previous:before {
  background: url('../img/icons.png') no-repeat -30px 0;
  left: 15px;
  top: 16px;
}

.weeks .next:after {
  background: url('../img/icons.png') no-repeat -30px -20px;
  right: 15px;
  top: 16px;
}

.weeks .previous:hover,
.weeks .next:hover {
  background: #f18c93;
}

.table-responsive.schedule {
  margin-bottom: 40px;
  overflow: visible;
}

/* ========= users ===== */

.users {
  height: 240px;
  padding: 15px;
}

.users:hover {
  cursor: pointer;
}

.users .img {
  width: 125px;
  height: 125px;
  display: block;
  margin: 5px auto 15px;
  background-size: 100%;
  filter: grayscale(100%) opacity(90%);
  -webkit-filter: grayscale(100%) opacity(90%);
  transition: 0.2s;
}

.white-block {
  position: relative;
  background: #fff;
  border: 1px solid #eaded4;
  padding: 20px;
  /* -webkit-box-shadow: 1px 2px 0px 0px #eaded4;
  -moz-box-shadow: 1px 2px 0px 0px #eaded4;
  box-shadow: 1px 2px 0px 0px #eaded4; */
}

/* ================= mail ================= */

.white-block.profile-edit {
  padding: 30px;
}

.variables {
  border: 1px solid #dcdcdc;
  padding: 15px;
  margin-top: 27px;
}

.variables .light {
  margin-top: 10px;
}

.variables div {
  margin-bottom: 5px;
}

.variables span {
  display: block;
  color: #53539f;
}

.mail .message {
  padding: 0 15px;
  margin: 0;
}

.mail .message .add-file {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input[type='text'] {
  margin-bottom: 0;
}

.form-group.radio-buttons span {
  font-size: 14px;
  display: block;
  margin-bottom: 3px;
}

.form-group.radio-buttons span input {
  margin-right: 3px;
  margin-bottom: 5px;
  width: auto;
}

.mail thead {
  background: #faf1ec;
}

.mail thead tr {
  border-bottom: none;
}

.mail td {
  padding: 10px;
}

.row-blocks.mails {
  margin-bottom: 30px;
}

.row-blocks.mails > .row {
  border-bottom: 1px solid #ecd5c7;
  padding: 15px 0;
  margin: 0;
}

.row-blocks.mails > .row:first-child {
  padding-top: 0;
}
.row-blocks.mails > .row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.row-blocks.mails > .row > div:first-child {
  padding-left: 0;
}
.row-blocks.mails > .row > div:last-child {
  padding-right: 0;
}

.row-blocks.mails a.mail-name {
  font-weight: 600;
  font-size: 18px;
}

.row-blocks.mails p {
  margin-bottom: 2px;
}

.profile-edit.mail select {
  width: 100%;
  height: auto;
}

.mail .buttons input {
  width: 300px;
  padding-left: 45px;
}

.mail .datepicker-hidden {
  display: none;
}

.datetimepicker td.active {
  background-image: none;
}

.datetimepicker td.active.active {
  background-color: #ed5e61;
}

/* ================= finance ================= */

.profile-edit .filters select,
.profile-edit .filters .datepicker {
  width: 300px;
  display: inline-block;
  height: 42px;
  margin-right: 5px;
}

#chartdiv {
  width: 100%;
  height: 300px;
  font-size: 16px !important;
  font-family: 'Open Sans';
}

g:nth-child(odd) > path {
  fill: #535499;
}

g:nth-child(even) > path {
  fill: #ed5e61;
}

text[text-anchor='middle'] > tspan {
  font-size: 14px !important;
  opacity: 0.7;
  font-family: 'Open Sans';
}

g tspan {
  font-size: 16px !important;
  font-family: 'Open Sans';
}

.amcharts-balloon-div *,
.amcharts-balloon-div * * {
  border: none !important;
  outline: none;
  color: #fff !important;
  font-size: 16px !important;
}

#chartdiv a {
  display: none !important;
}

.balance {
  margin-bottom: 30px;
}

.balance .balance-number {
  padding: 8px 10px 10px;
  font-size: 18px;
  font-weight: 600;
  color: #53539f;
}

.balance .balance-number .glyphicon-ruble {
  font-size: 14px;
  margin-left: 2px;
  opacity: 0.9;
}

.balance .btn {
  margin-bottom: 3px;
}

/* ================= test edit================= */

.test-block .glyphicon-random {
  color: #53539f;
  margin-right: 5px;
}

.test-block .dropdown-menu {
  top: -11px;
  left: -11px;
  width: 240px;
  padding: 10px;
}

.variants .dropdown a {
  display: inline-block;
}

.test-block .dropdown-menu select {
  width: 100%;
  margin-top: 20px;
}

/* ================= books ================= */

.books .subject .img {
  filter: grayscale(100%) opacity(90%);
}

/* ================= adaptive ================= */

@media (min-width: 320px) and (max-width: 766px) {
  .mobile-menu {
    top: 20px;
  }
  #menu-collapse-user a {
    text-transform: none;
  }
  .nav > li > a:focus,
  .nav > li > a.active,
  .nav > li > a:hover {
    background-color: transparent;
  }
  .subject,
  .user,
  .webinars .subject,
  .webinars.past .subject,
  .webinars .subject .text .about {
    height: auto;
  }
  .top-filter .btn {
    margin-bottom: 10px;
  }
  .price {
    float: left;
  }
}

@media (min-width: 767px) and (max-width: 1200px) {
}

@media (min-width: 0) and (max-width: 1200px) {
}

@media (min-width: 0) and (max-width: 1024px) {
  .row-blocks.mails > .row > div {
    margin-bottom: 10px;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {
  .enter:after,
  .enter:before {
    background-size: 80% 80%;
  }
}

.multiple-ui-search {
  width: 100%;
}

.ui-select-multiple.ui-select-bootstrap .ui-select-match .close {
  line-height: 1;
}

.multiple-ui-search .ui-select-container {
  border: none;
  padding: 5px;
  -webkit-box-shadow: inset 1px 1px 1px 1px #eee2d8;
  -moz-box-shadow: inset 1px 1px 1px 1px #eee2d8;
  box-shadow: inset 1px 1px 1px 1px #eee2d8;
}

.multiple-ui-search .ui-select-search {
  box-shadow: none;
}
