@import url('https://fonts.googleapis.com/css?family=Vidaloka');
@import url('https://fonts.googleapis.com/css?family=Slabo+27px');
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  empty-cells: show;
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  padding: 0;
  border: 0;
}

::-moz-selection {
  background: rgba(169, 167, 177, 0.1);
}

::selection {
  background: rgba(169, 167, 177, 0.1);
}

body {
  font-family: 'Slabo 27px', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: normal;
  background-color: #ffffff;
  min-height: 400px;
  min-width: 320px;
  color: #1b1539;
}

html,
body {
  width: 100%;
  height: 100%;
}

body.modal-open {
  overflow: hidden;
}

input,
button,
textarea,
select {
  font-family: 'Slabo 27px', Arial, Helvetica, sans-serif;
  font-size: 16px;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
}

img {
  vertical-align: top;
  max-width: 100%;
}

a {
  cursor: pointer;
  color: #c09241;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: #c7c5d1;
}

.under a,
a.under {
  text-decoration: underline;
}

.under a:hover,
a.under:hover {
  text-decoration: none;
}

b,
.bold {
  font-weight: bold;
}

.light {
  font-weight: 300;
}

i,
.italic {
  font-style: italic;
}

.upper {
  text-transform: uppercase;
}

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

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

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

h1,
.h1 {
  font-size: 1.75em;
  line-height: 1.286;
}

h2,
.h2 {
  font-size: 1.5em;
  line-height: 1.25;
}

h3,
.h3 {
  font-size: 1.125em;
  line-height: 1.333;
}

h4,
.h4 {
  font-size: 1em;
  line-height: 1.5;
}

.font-title {
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
}

.dotted {
  border-bottom: 1px dotted;
}

.dashed {
  border-bottom: 1px dashed;
}

.plus {
  color: #4a6900;
}

.super {
  vertical-align: super;
  font-size: 11px;
}

.caret {
  color: inherit;
  border-top: 7px solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
}
.caret.up {
  border-top: 0;
  border-bottom: 7px solid;
}

.box-inline {
  display: inline-block;
  vertical-align: top;
}

.box-inline-middle {
  display: inline-block;
  vertical-align: middle;
}

.box-scroll {
  height: 100%;
  overflow-y: auto;
}

.btn {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
  outline: none;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  border-radius: 0;
}

.btn.btn-middle {
  vertical-align: middle;
}

.btn-change {
  float: right;
  margin-right: 2.7rem !important;
}

.row-half {
  width: 50%;
  float: left;
}

.row-double-three {
  width: 66.666666%;
  float: left;
}

.row-three {
  width: 33.333333%;
  float: left;
}

.box-right {
  float: right;
}

.box-left {
  float: left;
}

.padding-full-block {
  padding: 15px;
}

.padding-block {
  padding-left: 15px;
  padding-right: 15px;
}

.border-bottom {
  padding-bottom: 10px;
  border-bottom: 1px solid #d4d4d4;
}

.padding-none {
  padding: 0 !important;
}

.clearfix:after {
  clear: both;
}

input::-ms-clear {
  display: none;
}

.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}

.double-block .row-half:first-child {
  padding-right: 10px;
}

.double-block .row-half:last-child {
  padding-left: 10px;
}

.box-table {
  width: 100%;
  display: table;
}

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

.content-vertical,
.item-cell {
  display: table-cell;
  vertical-align: middle;
  float: none;
}

.table-row {
  display: table-row-group;
}

.box-tab {
  display: none;
}

.box-tab.active {
  display: block;
}

.none-margin {
  margin-bottom: 0 !important;
}

.column-l {
  padding-left: 5px;
}
.column-l .form-control {
  padding-left: 1.2em;
}

.column-r {
  padding-right: 5px;
}
.column-r .form-control {
  padding-right: 1.2em;
}

.flexible {
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  -webkit-box-align: stretch;
  align-items: stretch;
  -ms-flex-align: stretch;
}

.column {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.clone {
  height: 0;
  overflow: hidden;
}

/*colors*/
.grey {
  color: #a9a7b1;
}

.black {
  color: #000000;
}

.white {
  color: #ffffff;
}

.blue {
  color: #52babc;
}

.red {
  color: #ff3b3b;
}

.yellow {
  color: #f0ab01;
}

.green {
  color: #509600;
}

/*CONTENT*/
.wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow-x: hidden;
}

.wrapper-block {
  min-height: 100%;
  overflow-x: hidden;
}

.main {
  padding-top: 50px;
  padding-bottom: 80px;
  min-height: 100%;
  position: relative;
}

.name-page {
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  font-size: 48px;
  line-height: 1;
  padding-top: 45px;
  margin-bottom: 35px;
}
.name-page .name {
  margin-right: 10px;
  word-wrap: break-word;
}
.name-page .btn {
  margin-right: 10px;
}
.name-page .btn:last-child {
  margin-right: 0;
}

.name-box {
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1;
  margin-top: 25px;
  margin-bottom: 25px;
}

.block-text p:not(:last-child) {
  margin-bottom: 15px;
}

.btn {
  text-align: center;
  padding: 15px;
  position: relative;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
}
.btn-green {
  color: #ffffff;
  background-color: #002c09;
  line-height: 35px;
  font-size: 24px;
}
.btn-green:hover {
  opacity: 0.7;
}
.btn-red {
  color: #ffffff;
  background-color: #c04141;
  line-height: 35px;
  font-size: 24px;
}
.btn-red:hover {
  opacity: 0.7;
}
.btn-gold {
  color: #ffffff;
  background-color: #c09241;
  line-height: 35px;
  font-size: 24px;
}
.btn-gold:hover {
  opacity: 0.7;
}
.btn-transparent {
  font-size: 24px;
  line-height: 33px;
  color: rgb(27, 21, 57);
  background-color: transparent;
  border: 1px solid rgb(27, 21, 57);
}
.btn-transparent:hover {
  opacity: 0.7;
}
.btn-full {
  width: 100%;
}
.btn.disabled,
.btn:disabled {
  background: #c7c5d1;
  color: #ffffff;
}
.btn-dotted {
  font-size: 16px;
  color: #1b1539;
  border: 1px dotted #cbc9d4;
  text-align: left;
  font-family: 'Slabo 27px', Arial, Helvetica, sans-serif;
  line-height: 25px;
}
.btn-dotted .name {
  line-height: normal;
}
.btn-dotted .label {
  padding-left: 0 !important;
  line-height: normal;
}
.btn-dotted .box-icon {
  font-size: 21px;
  color: #d4d3d8;
}
.btn-border {
  line-height: 26px;
  font-size: 21px;
  color: #c09241;
  border: 1px solid #c09241;
  border-radius: 20px;
  padding: 7px 20px;
}
.btn-code {
  padding: 10px 15px;
  line-height: normal;
}
.btn-code .code {
  font-size: 20px;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  line-height: 1;
}
.btn-code .box-icon {
  line-height: 40px;
}
.btn-toggle.open .hide-open {
  display: none;
}
.btn-toggle:not(.open) .show-open {
  display: none;
}
.btn-circle {
  width: 40px;
  height: 40px;
  line-height: 36px;
  padding: 0;
  border: 2px solid;
  background: #ffffff;
  margin: 3px;
  border-radius: 50%;
}
.btn-circle.remove {
  color: #c04141;
  border-color: #c04141;
}
.btn-circle.remove:hover {
  color: #ffffff;
  background: #c04141;
}
.btn-circle.approve {
  color: #002c09;
  border-color: #002c09;
}
.btn-circle.approve:hover {
  color: #ffffff;
  background: #002c09;
}
.btn-circle.edit {
  color: #c09241;
  border-color: #c09241;
}
.btn-circle.edit:hover {
  color: #ffffff;
  background: #c09241;
}
.btn-circle.archive {
  color: #c7c5d1;
  border-color: #c7c5d1;
}
.btn-circle.archive:hover {
  color: #ffffff;
  background: #c7c5d1;
}

.link {
  display: inline-block;
  vertical-align: top;
  color: #a9a7b1;
  font-size: 13px;
}
.link-dotted span {
  border-bottom: 1px dotted;
}
.link-default {
  color: #c09241;
}

.nav-main {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  background: #ffffff;
  height: 100%;
  /* overflow-y: auto; */
  -webkit-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
  -webkit-transition: left 0.4s ease-in-out;
  transition: left 0.4s ease-in-out;
}
.nav-main.open {
  left: 0;
}

.nav-main.open .subMenuMobile.show{
  left: 280px;
  transition: left 0.4s ease-in-out;
}

.nav-main .user-info {
  padding: 70px 0 50px;
  text-align: center;
  background-position: center 30px;
}
.nav-main .user-info .name {
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  font-size: 36px;
  color: #1b1539;
  line-height: 1;
  word-wrap: break-word;
}
.nav-main .user-info .type {
  display: inline-block;
  vertical-align: top;
  background: #c09241;
  color: #ffffff;
  line-height: 20px;
  padding: 0 5px;
  margin-top: 10px;
}
.nav-main .nav {
  text-align: center;
}
.nav-main .nav li a {
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  font-size: 21px;
  display: block;
  padding: 15px;
  border-bottom: 1px dotted #cbc9d4;
  color: #a9a7b1;
}
.nav-main .nav li.active a {
  color: #c09241;
}
.nav-main .box-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
.nav-main .copy {
  font-size: 13px;
  color: #a9a7b1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  height: 65px;
}
.nav-tabs {
  line-height: 60px;
  border-bottom: 1px solid #cbc9d4;
  font-size: 24px;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  text-align: center;
}
.nav-tabs li {
  display: inline-block;
  vertical-align: top;
  margin-bottom: -1px;
  margin-left: 20px;
  margin-right: 20px;
}
.nav-tabs li a {
  display: block;
  border-bottom: 2px solid transparent;
  color: #c7c5d1;
}
.nav-tabs li.active a {
  border-bottom-color: #c09241;
  color: #1b1539;
}
.nav-tabs li.cancel a {
  color: #1b1539;
}
.nav-type {
  margin: 0 -7px;
  display: block;
  text-align: center;
}
.nav-type li {
  padding: 0 7px;
  width: 33.33%;
  float: left;
}
.nav-type li .box-icon {
  line-height: 40px;
  margin-bottom: 5px;
  font-size: 28px;
}
.nav-type li a {
  display: block;
  border: 1px dotted #cbc9d4;
  color: #000000;
}
.nav-type li.active a {
  border: 1px solid #c09241;
  -webkit-box-shadow: inset 0 0 0 1px #c09241;
  box-shadow: inset 0 0 0 1px #c09241;
  color: #c09241;
  z-index: 1;
}
.nav-type.line {
  display: table;
  width: 100%;
  margin: 0;
  table-layout: fixed;
}
.nav-type.line li {
  display: table-cell;
  padding: 0;
  width: auto;
  float: none;
}
.nav-type.line li + li a {
  margin-left: -1px;
}
.nav-type.line li a {
  line-height: 30px;
  padding-left: 5px;
  padding-right: 5px;
}
.nav-type.line .name {
  display: inline-block;
  vertical-align: middle;
  line-height: 14px;
}
.nav-breadcrumbs {
  color: #c09241;
  font-size: 13px;
  line-height: normal;
  font-family: 'Slabo 27px', Arial, Helvetica, sans-serif;
}

@media (min-width: 769px) {
  .nav-left {
    text-align: left;
  }
  .nav-left li:first-child {
    margin-left: 0;
  }
  .nav-main {
    -webkit-transition: none;
    transition: none;
    width: 240px;
  }
  .nav-main .content-nav {
    min-height: 100%;
    padding-bottom: 80px;
    position: relative;
  }
  .nav-main:not(.open) {
    left: 0;
  }

  .nav-main ~ .main {
    margin-left: 240px;
  }
}
@media (min-width: 1025px) {
  .nav-main {
    padding: 0 10px;
    width: 280px;
  }

  .nav-main ~ .main {
    margin-left: 280px;
  }
}
@media (max-width: 400px) {
  .nav-tabs li {
    margin: 0 10px;
  }
}
/* Generated by Glyphter (http://www.glyphter.com) on  Fri Aug 11 2017*/
@font-face {
  font-family: 'Glyphter';
  src:
    url('../fonts/Glyphter.eot');
  src:
    url('../fonts/Glyphter.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Glyphter.woff') format('woff'),
    url('../fonts/Glyphter.ttf') format('truetype'),
    url('../fonts/Glyphter.eot?#iefix') format('embedded-opentype');

  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Glyphter_2';
  src:
    url('../fonts/Glyphter_2.eot');
  src:

    url('../fonts/Glyphter_2.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Glyphter_2.woff') format('woff'),
    url('../fonts/Glyphter_2.ttf') format('truetype'),
    url('../fonts/Glyphter.svg#Glyphter') format('svg');
  font-weight: normal;
  font-style: normal;
}
.icon {
  background-repeat: no-repeat;
  background-size: 100% auto;
  position: relative;
  display: inline-block;
  font: normal normal normal 14px/1 Glyphter;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-left {
  margin-right: 5px;
}
.icon-right {
  margin-left: 5px;
}
.icon-middle {
  vertical-align: middle;
  margin-top: -2px;
}
.icon-bell {
  width: 16px;
  height: 20px;
  background-image: url('../images/icons/bell.svg');
}
.icon-bell .active {
  width: 6px;
  height: 6px;
  background: #ff3b3b;
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 0;
  color: #ff3b3b;
  font-weight: bold;
  font-size: 13px;
  padding-left: 6px;
  line-height: 3px;
}

.icon-bell-full:before {
  content: '\0041';
}

.icon-file:before {
  content: '\0042';
}

.icon-ban:before {
  content: '\0043';
}

.icon-photo:before {
  content: '\0044';
}

.icon-assistant:before {
  content: '\0045';
}

.icon-back:before {
  content: '\0048';
}

.icon-close:before {
  content: '\004a';
}

.icon-copy:before {
  content: '\004d';
}

.icon-edit:before {
  content: '\004e';
}

.icon-list:before {
  content: '\0051';
}

.icon-note:before {
  content: '\0052';
}

.icon-logout:before {
  content: '\0055';
}

.icon-menu:before {
  content: '\0056';
}

.icon-check:before {
  content: '\0057';
}

.icon-search:before {
  content: '\0059';
}

.icon-eye:before {
  content: '\005a';
}

.icon-trainer:before {
  content: '\0061';
}

.icon-vet:before {
  content: '\0064';
}

.icon-settings:before {
  content: '\0067';
}

.icon-plus:before {
  content: '\0072';
}

.icon-horse:before {
  content: '\0068';
}

.icon-listview:before{
  margin-right: 5px;
  font-family: 'Glyphter_2';
  content: '\002f';
 }

.icon-grid:before {
  margin-right: 40px;
  font-family: 'Glyphter_2';
  content: '\005b';
}

.icon-syringe:before {
  font-family: 'Glyphter_2';
  content: '\005c';
}
.modal {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  min-width: 320px;
  display: none;
  -webkit-transition: top 0.2s ease-in-out;
  transition: top 0.2s ease-in-out;
  will-change: transition;
}
.modal.open {
  top: 0;
  -webkit-transition: top 0.4s ease-in-out;
  transition: top 0.4s ease-in-out;
}
.modal-wrapper {
  width: 100%;
  background: #ffffff;
  height: 100%;
  padding: 65px 0;
  position: relative;
}
.modal-wrapper.no-footer {
  padding-bottom: 0;
}
.modal-header {
  height: 65px;
  line-height: 65px;
  text-align: center;
  padding: 0 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
.modal-header .btn {
  padding-top: 0;
  padding-bottom: 0;
  min-width: 50px;
  text-align: center;
  color: inherit;
}
.modal-header .title {
  font-size: 21px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modal-header .left-part {
  position: absolute;
  top: 0;
  left: 0;
}
.modal-header .right-part {
  position: absolute;
  top: 0;
  right: 0;
}
.modal-header.bg-green {
  background: #002c09;
  color: #ffffff;
}
.modal-body {
  max-height: 100%;
  overflow-y: auto;
}
.modal-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

@media (min-width: 769px) {
  .modal {
    overflow-y: auto;
  }
  .modal-open .wrapper:before {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
  }
  .modal-body {
    overflow: visible;
  }
  .modal-wrapper {
    max-width: 465px;
    height: auto;
    padding: 30px 45px 40px;
    margin: 100px auto 30px;
    -webkit-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  }
  .modal-wrapper.no-footer {
    padding-bottom: 40px;
  }
  .modal-wrapper .status-treatment {
    margin: 0 -45px;
  }
  .modal-header {
    position: static;
    padding: 0;
  }
  .modal-header .btn {
    padding: 15px;
    line-height: normal;
    margin: 15px;
    font-size: 13px;
    color: #a9a7b1;
  }
  .modal-header .btn .icon {
    font-size: 16px;
  }
  .modal-header .btn:hover {
    color: #1b1539;
  }
  .modal-header .title {
    font-size: 36px;
  }
  .modal-header.bg-green {
    background: #ffffff;
    color: #1b1539;
  }
  .modal-header .box-control-search {
    margin-top: 30px;
  }
  .modal-header .box-control-search .search-control {
    font-size: 16px;
  }
  .modal-footer {
    position: relative;
  }
  .modal .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 15px;
    line-height: normal;
    margin: 0;
    color: #a9a7b1;
  }
  .modal .btn-close:hover {
    color: #1b1539;
  }
}
header {
  background: #002c09;
  height: 65px;
  line-height: 65px;
  color: #ffffff;
  text-align: center;
  padding: 0 50px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 6;
}
header ~ .main {
  padding-top: 65px;
}
header .btn {
  padding-top: 0;
  padding-bottom: 0;
  min-width: 50px;
  text-align: center;
  color: inherit;
}
header .title {
  font-size: 21px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
header .left-part {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
header .right-part {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
header .center-part {
  position: relative;
  overflow: hidden;
}

@media (min-width: 769px) {
  header {
    display: none;
  }
}
footer {
  text-align: center;
  font-size: 13px;
  color: #a9a7b1;
  line-height: 20px;
  padding-bottom: 25px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
}

.footer-button {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
}

.block-activity {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  -webkit-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  z-index: 5;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  padding-top: 65px;
  overflow-x: hidden;
  opacity: 0;
}
.block-activity.open {
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  width: 280px;
  opacity: 1;
}
.block-activity .activity-wrapper {
  background: #ffffff;
  height: 100%;
  overflow-y: auto;
  padding: 0 20px;
  transform: translateX(110%);
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.block-activity.open .activity-wrapper{
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  transform: translateX(0);
}
.block-activity .line-new {
  text-align: center;
  font-size: 13px;
  color: #a9a7b1;
  line-height: 8px;
  padding: 10px 0;
  position: relative;
}
.block-activity .line-new:before {
  position: absolute;
  content: '';
  top: 14px;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px solid #cbc9d4;
}
.block-activity .line-new .caret {
  margin: 0 5px;
  color: #d4d3d8;
}
.block-activity .line-new .name {
  display: inline-block;
  vertical-align: top;
  background: #ffffff;
  z-index: 1;
  position: relative;
}

.btn-toggle-activity.open {
  background: #33563a !important;
}

.item-activity {
  font-size: 13px;
  position: relative;
  padding-left: 25px;
  margin: 25px 0;
}
.item-activity:before {
  position: absolute;
  content: '';
  top: 4px;
  left: -3px;
  width: 7px;
  height: 7px;
  background: #d4d3d8;
}
.item-activity.active:before {
  background: #c09241;
}
.item-activity:after {
  position: absolute;
  content: '';
  top: 30px;
  left: 0;
  width: 1px;
  height: 70%;
  border-left: 1px dotted #cbc9d4;
}
.item-activity .name,
.item-activity .person,
.item-activity .date {
  color: #a9a7b1;
}
.item-activity .date,
.item-activity .text {
  margin-top: 10px;
}

table {
  width: 100%;
  font-size: 0.875em;
}
table th {
  color: #c7c5d1;
  text-align: left;
}
table td {
  vertical-align: middle;
}
table .table-last td {
  padding-bottom: 1.5em !important;
}

.bg-intro {
  background: url('../images/horse.png') center 60px no-repeat;
}

.box-dropdown {
  position: relative;
}
.box-dropdown.open {
  z-index: 10;
}

.menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: #ffffff;
  width: 100%;
  min-width: 60px;
  color: #303030;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  line-height: normal;
}
.menu-dropdown a {
  display: block;
}

.label-count {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  background: #ff3b3b;
  color: #ffffff;
  font-size: 9px;
  line-height: 14px;
  text-align: center;
}

.form-control {
  background: none;
  margin: 0;
  color: #1b1539;
  outline: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  border-bottom: 1px dotted #cbc9d4;
  vertical-align: top;
  line-height: normal;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-clip: padding-box;
  padding: 12px 10px;
}
.form-control:disabled {
  background: #c7c5d1;
  color: #ffffff;
}
.form-control:focus {
  border-bottom: 1px solid #c09241;
  -webkit-box-shadow: 0 1px 0 0 #c09241;
  box-shadow: 0 1px 0 0 #c09241;
}
.form-control:hover {
  border-bottom-color: #c09241;
}
.form-control.error {
  border-bottom: 1px solid #c04141;
  -webkit-box-shadow: 0 1px 0 0 #c04141;
  box-shadow: 0 1px 0 0 #c04141;
}
.form-control.error + .input__label {
  color: #c04141;
}
.form-control.error + .agree_terms {
  color: #c04141;
}
.form-control.valid {
  border-color: #002c09;
}
.form-control.warning {
  border-color: #fec92d;
}

textarea.form-control {
  height: auto;
  resize: vertical;
  min-height: 65px;
  max-height: 270px;
}

.box-checkbox label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  margin: 0;
  text-align: left;
  line-height: 26px;
  padding: 0;
  padding-left: 40px;
  font-size: 1em;
  font-weight: normal;
  color: #c7c5d1;
}
.box-checkbox label:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #cbc9d4;
  margin-top: -10px;
  position: absolute;
  left: 0;
  top: 50%;
  color: #ffffff;
  background: #ffffff;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-align: center;
  line-height: 17px;
  font-size: 12px;
}
.box-checkbox input[type='radio'],
.box-checkbox input[type='checkbox'] {
  display: none;
}
.box-checkbox:hover label:before {
  border-color: #c7c5d1;
}
.box-checkbox input[type='radio']:checked + label:before,
.box-checkbox input[type='checkbox']:checked + label:before {
  content: '\f00c';
  font-family: 'FontAwesome';
  border-color: #002c09;
  background-color: #002c09;
}
.box-checkbox input[type='radio'] + label:before {
  border-radius: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  line-height: 22px;
}
.box-checkbox input:disabled + label {
  color: #c7c5d1;
}
.box-checkbox input:disabled + label:before {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  background: #c7c5d1;
}

.box-select {
  position: relative;
}
.box-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.box-select:after {
  right: 0.625em;
  top: 50%;
  position: absolute;
  content: '\f107';
  font-size: 1.25em;
  font-family: 'FontAwesome';
  color: #002c09;
  line-height: 1em;
  margin-top: -0.5em;
  pointer-events: none;
}

.input__field:not(.error):not(.warning):focus + .input__label {
  color: #a9a7b1;
}

.input__label {
  width: 100%;
  text-align: left;
  position: absolute;
  bottom: 100%;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  padding-top: 12px;
  padding-left: 10px;
  margin: 0;
  color: #1b1539;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
  -webkit-transition: -webkit-transform 0.25s;
  transition: -webkit-transform 0.25s;
  transition: transform 0.25s;
  transition: transform 0.25s, -webkit-transform 0.25s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.input__label span {
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform-origin: left center;
  -webkit-transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
  transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
  display: inline-block;
  vertical-align: top;
}

.input--filled .input__label,
.input--filled--model .input__label {
  -webkit-transform: translate3d(0, 25%, 0);
  transform: translate3d(0, 25%, 0);
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform-origin: left center;
  color: #a9a7b1;
}
.input--filled .input__label span,
.input--filled--model .input__label span {
  -webkit-transform: scale(0.8125);
  -ms-transform: scale(0.8125);
  transform: scale(0.8125);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 35em;
  width: 100%;
}

.box-inputfile .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.box-inputfile .inputfile + label {
  display: block;
  padding: 13px;
  text-align: center;
}
.box-inputfile .inputfile + label span {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: top;
  font-size: 13px;
  line-height: 18px;
  max-width: 100%;
}
.box-inputfile .select {
  color: #c09241;
  text-decoration: underline;
  cursor: pointer;
}
.box-inputfile.selected .img-load {
  border: 0;
  padding: 0;
  width: 84px;
  height: 84px;
}
.box-inputfile.selected .inputfile + label {
  display: inline-block;
  vertical-align: top;
  width: 84px;
  height: 84px;
  background: #f4f4f7;
  color: #a9a7b1;
  padding: 25px 10px;
}

.form-center {
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
  padding-top: 70px;
}
.form .form-group {
  margin-bottom: 65px;
}
.form .box-btn {
  margin-top: 25px;
}
.form .box-control {
  margin: 25px 0;
  position: relative;
}
.form .box-control .control-btn {
  position: absolute;
  top: 0;
  right: 0;
}
.form .box-control .control-btn a {
  padding: 15px 10px;
  line-height: 14px;
}
.form .box-control .name-box {
  padding-left: 10px;
}
.form .box-control .double-block .box-control {
  margin: 0;
}
.form .box-text {
  color: #a9a7b1;
  padding: 0 55px;
  margin: 25px 0;
}
.form .box-nav {
  margin: 15px 0;
}
.form .label-value {
  padding: 12px 10px;
  color: #1b1539;
  border-bottom: 1px solid transparent;
}
.form .label-value .name {
  letter-spacing: 2px;
}
.form .text-value {
  padding-left: 10px;
  color: #1b1539;
  padding-top: 8px;
  line-height: 20px;
}
.form .text-value .name {
  letter-spacing: 2px;
}
.form .label {
  color: #a9a7b1;
  font-size: 13px;
  padding-left: 10px;
  padding-bottom: 5px;
}
.form .label-group {
  position: relative;
}
.form .label-group:before {
  position: absolute;
  content: '';
  top: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px dotted #cbc9d4;
}
.form .label-group .label {
  background: #ffffff;
  display: inline-block;
  vertical-align: top;
  z-index: 0;
  position: relative;
  padding-right: 10px;
}
.form .border-control {
  border: 1px dotted #cbc9d4;
  padding: 10px;
}
.form .border-control .box-inputfile {
  margin: -8px;
}
.form .img-load {
  width: 90px;
  height: 90px;
  border: 1px solid #cbc9d4;
  padding: 2px;
  display: inline-block;
  vertical-align: top;
  position: relative;
  overflow: hidden;
}
.form .img-load .btn-remove {
  padding: 6px;
  position: absolute;
  top: 0;
  right: 0;
}

@media (min-width: 769px) {
  .form-left {
    max-width: 400px;
  }
}
.item-horse {
  line-height: 40px;
  padding: 15px 0;
  border-bottom: 1px dotted #cbc9d4;
  font-size: 13px;
  display: block;
  color: #1b1539;
  position: relative;
}
.item-horse .name {
  font-size: 24px;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  display: inline-block;
  vertical-align: top;
}
.item-horse .status {
  font-size: 12px;
  padding: 0 5px;
  border: 1px solid;
  border-radius: 17px;
  margin: 0 10px;
  line-height: 17px;
  display: inline-block;
  vertical-align: top;
  position: absolute;
}
@media screen and (min-width: 768px) {
  .item-horse .status {
    right: 30%;
    bottom: 15px;
  }
}
@media screen and (max-width: 767px) {
  .item-horse .status {
    right: -10px;
    bottom: 5px;
  }
}
.item-horse .status.blue {
  color: #325fb0;
}
.item-horse .status.red {
  color: #c04141;
}
.item-horse .status.grey {
  color: #a9a7b1;
}
.item-horse .age {
  float: right;
}
.item-horse .box-about {
  font-size: 13px;
  line-height: normal;
  color: #1b1539;
}
.item-horse .box-about .count {
  position: absolute;
  left: 15px;
  bottom: 20px;
}
.item-horse .box-about .count .icon {
  font-size: 16px;
}
.item-horse .box-about .count,
.item-horse .box-about .label {
  color: #a9a7b1;
}
.item-horse .box-about .text,
.item-horse .box-about .date {
  margin-top: 3px;
}
.item-horse .box-about .text {
  max-height: 30px;
  overflow: hidden;
}
.item-horse .box-about .person .icon {
  font-size: 10px;
  color: #d4d3d8;
}

.item-horse .item-horse-link{
  height: 100%;
  display: block;
  padding: 0 0 10px 0;
}

.item-horse .item-horse-link .box-name .name span {
  width: 190px;
  word-break: break-all;
}
@media screen and (max-width: 768px) and (min-width: 425px) {
  .item-horse .item-horse-link .box-name .name span {
    padding: 0 0 0 20px;
  }
}

.about-horse {
  margin-bottom: 15px;
}
.about-horse .name-page {
  margin-bottom: 15px;
}
.about-horse .status {
  font-size: 12px;
  padding: 0 5px;
  border: 1px solid;
  border-radius: 17px;
  margin: 0 10px;
  line-height: 17px;
  display: inline-block;
  vertical-align: top;
}
.about-horse .status.blue {
  color: #325fb0;
}
.about-horse .status.red {
  color: #c04141;
}
.about-horse .box-desc {
  font-size: 13px;
  line-height: normal;
  /* max-width: 600px; */
}
.about-horse .box-desc .label {
  color: #a9a7b1;
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
}
.about-horse .box-desc .text {
  margin-bottom: 15px;
}

#vaccination-warning {
  z-index: 101;
}



@media (min-width: 769px) {
  .box-items-horse {
    margin: 0 -7px;
  }

  .item-horse {
    max-width: 280px;
    width: 47%;
    height: 260px;
    float: left;
    border: 1px dotted #cbc9d4;
    margin: 0 7px 20px;
    display: inline-block;
    vertical-align: top;
    padding: 15px 15px 20px;
  }
  .item-horse:hover {
    -webkit-box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-color: transparent;
  }
  .item-horse .box-name {
    line-height: 30px;
    height: 95px;
    overflow: hidden;
    padding-left: 5px;
  }
  .item-horse .box-name .age {
    position: absolute;
    right: 15px;
    bottom: 10px;
  }
}
@media (min-width: 1025px) {
  .item-horse {
    padding-right: 25px;
    padding-left: 25px;
  }
  .item-horse .box-about .count {
    left: 25px;
  }
}
.item-treatment {
  margin-top: 7px;
  display: table;
  width: 100%;
}
.item-treatment:first-child {
  margin-top: 15px;
}
.item-treatment .cell-date {
  background: #c09241;
  color: #ffffff;
  width: 90px;
  text-align: center;
  vertical-align: top;
}
.item-treatment .cell-date .date {
  padding: 15px 0;
  font-size: 9px;
}
.item-treatment .cell-date .date .day {
  font-size: 45px;
  line-height: 1;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
}
.item-treatment .cell-event {
  border: 1px dotted #cbc9d4;
  border-left: 0;
}
.item-treatment .cell-person .icon {
  color: #d4d3d8;
}
.item-treatment .line-even {
  padding: 10px 20px;
  display: block;
  color: #1b1539;
}
.item-treatment .line-even + .line-even {
  border-top: 1px dotted #cbc9d4;
}
.item-treatment .line-even .name-horse {
  font-size: 18px;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  color: #1b1539;
  margin-bottom: 5px;
  line-height: 1;
}
.item-treatment .line-even .name {
  font-size: 15px;
  color: #1b1539;
}
.item-treatment .line-even .status {
  display: inline-block;
  vertical-align: top;
  border-left: 1px solid #cbc9d4;
  padding: 0 7px;
  margin-left: 5px;
}
.item-treatment .line-even .text {
  font-size: 12px;
  color: #a9a7b1;
}

.status-treatment {
  font-size: 15px;
  line-height: 30px;
  text-align: center;
}
.status-treatment.pending {
  background: #fdf2d8;
}
.status-treatment.active {
  background: #e8f3d8;
}

.table-treatment .table-header {
  color: #a9a7b1;
  margin: 15px 0;
}

@media (min-width: 769px) {
  .table-treatment {
    font-size: 13px;
    margin-top: 30px;
  }
  .cell-space {
    width: 100px;
  }
  .cell-space-name {
    width: 140px;
  }
  .table-treatment .cell-time {
    width: 80px;
  }
  .table-treatment .cell-status {
    width: 15%;
  }
  .table-treatment .cell-treatment {
    width: 250px;
  }
  .table-treatment .cell-checkbox {
    width: 5%;
  }
  .table-treatment .cell-gender {
    width: 5%;
  }
  .table-treatment .cell-actions {
    width: 25%;
  }
  .table-treatment .cell-minim {
    width: 7%;
  }
  .table-treatment .cell-person {
    width: 15%;
  }
  .table-treatment .cell-duration {
    width: 15%;
  }
  .table-treatment .cell-action {
    text-align: right;
  }
  .table-treatment .cell-event {
    border: 0;
    border-top: 1px dotted #cbc9d4;
  }
  .table-treatment .line-even {
    display: table;
    width: 100%;
    padding: 15px 0;
  }
  .table-treatment .line-even .status {
    border: 0;
    margin: 0;
  }
  .table-treatment .line-even .name {
    font-size: 13px;
    font-family: 'Slabo 27px', Arial, Helvetica, sans-serif;
  }
  .table-treatment .line-even .text {
    margin-top: 10px;
  }
  .table-treatment .line-even .file {
    margin-top: 5px;
    color: #a9a7b1;
  }
}
.search-modal .modal-body {
  min-height: 100%;
  background: #f4f4f7;
}
.search-control {
  background: #eeeeee;
  margin: 0;
  color: #1b1539;
  outline: none;
  width: 100%;
  border: 0;
  border-radius: 4px;
  vertical-align: top;
  line-height: normal;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-clip: padding-box;
  padding: 5px 10px;
  font-size: 12px;
}
.search-result .item-result {
  padding: 10px;
  line-height: 44px;
  border-bottom: 1px dotted #cbc9d4;
}
.search-result .item-result:last-child {
  border-bottom: 0;
}
.search-result .item-result .name {
  display: inline-block;
  vertical-align: middle;
  line-height: 20px;
  font-size: 15px;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  color: #1b1539;
}
.search-form-toggle {
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  padding: inherit;
  -webkit-transition: right 0.2s ease-in-out;
  transition: right 0.2s ease-in-out;
}
.search-form-toggle.open {
  right: 0;
}
.search-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #ffffff;
  background: #002c09;
  z-index: 10;
  height: 65px;
  overflow: hidden;
}
.search-line .btn {
  width: 70px;
  line-height: 35px;
  background: #002c09;
  color: #ffffff;
  font-size: 20px;
}
.search-line .search-control {
  color: #ffffff;
  background: #002c09;
  font-size: 16px;
  padding: 23px 70px;
}
.search-line .search-control:focus + .btn-close {
  display: inline-block;
}
.search-line .box-icon {
  position: absolute;
  left: 0;
  top: 0;
  line-height: 65px;
  width: 70px;
  text-align: center;
}
.search-line .box-nav {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}
.search-line .box-nav .btn + .btn {
  border-left: 1px solid #264014;
}

.box-control-search {
  margin: 20px 0;
  line-height: normal;
}

.item-note {
  padding: 15px;
  width: 100%;
  border-bottom: 1px dotted #cbc9d4;
  font-size: 13px;
}
.item-note.full {
  border-bottom: 0;
}
.item-note.full .name {
  margin-bottom: 25px;
}
.item-note .status {
  font-size: 12px;
  padding: 0 7px;
  border: 1px solid;
  border-radius: 17px;
  line-height: 17px;
  display: inline-block;
  vertical-align: top;
  color: #c09241;
}
.item-note .item-cell {
  vertical-align: middle;
}
.item-note .cell-info {
  width: 155px;
  padding-right: 15px;
}
.item-note .text {
  color: #1b1539;
}
.item-note .text p:not(:last-child) {
  margin-bottom: 15px;
}
.item-note .name-horse {
  margin-top: 0;
  margin-bottom: 15px;
}
.item-note .name {
  font-size: 16px;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
  margin-bottom: 7px;
}
.item-note .person {
  margin-top: 5px;
}
.item-note .date {
  color: #a9a7b1;
}
.item-note .date + .name {
  margin-top: 15px;
}
.item-note .box-info {
  margin-top: 10px;
}
.item-note .box-info .item-cell {
  vertical-align: middle;
}
.item-note .person .icon {
  color: #d4d3d8;
}

.item-horse-list {
  padding: 15px;
  width: 100%;
  border-bottom: 1px dotted #cbc9d4;
  font-size: 13px;
}

@media (min-width: 769px) {
  .item-note {
    padding: 20px 0;
  }
  .item-note .status {
    font-size: 13px;
    border-radius: 20px;
    line-height: 20px;
  }
  .item-note .date {
    margin-top: 10px;
  }
}
.item-person {
  padding: 5px 0;
}
.item-person .name {
  font-size: 20px;
  line-height: 1;
  font-family: 'Vidaloka', Arial, Helvetica, sans-serif;
}
.item-person .cell-name {
  padding-left: 10px;
}

.box-list-person .box-scroll {
  max-height: 295px;
}

@media (min-width: 769px) {
  .box-list-person .form {
    width: 100%;
    display: inline-block;
    vertical-align: top;
  }
  .box-list-person .form:first-child {
    margin-right: 20px;
  }
}
@media (min-width: 769px) {
  .show-mobile {
    display: none !important;
  }

  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  .container .padding-block {
    padding: 0;
  }
}
@media (min-width: 1025px) {
  .hide-desktop {
    display: none;
  }
}
@media (min-width: 1280px) {
  .container {
    padding-left: 70px;
    padding-right: 70px;
    max-width: 1340px;
  }
}
@media (max-width: 1024px) {
  .hide-tablet {
    display: none;
  }
}
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

html:lang(ar) * {
direction: rtl;
}
