@import url("https://fonts.googleapis.com/css?family=Fira+Sans:300,400,500,600");
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500&subset=cyrillic");
html {
  height: 100%;
}

body {
  width: 100%;
  height: auto;
  min-height: 100%;
  font-family: "Roboto", sans-serif;
  min-width: 1260px;
}

.wait * {
  cursor: wait !important;
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear,
input::-ms-clear {
  display: none;
}

:not(output):-moz-ui-invalid {
  box-shadow: none;
}

[v-cloak] {
  display: none;
}

#main-layout {
  background-color: #fafafa;
  height: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

p {
  margin: 0px;
}

.clearfix {
  display: block;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

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

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

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

.right {
  float: right;
}

.left {
  float: left;
}

.position-absolute {
  position: absolute !important;
}

.position-relative {
  position: relative !important;
}

.content {
  max-width: 1290px;
  margin: auto;
  box-sizing: border-box;
}

.user-name {
  font-size: 16px;
  color: #424242;
}

.user-post {
  font-size: 14px;
  color: #999999;
}

/* HEADER */
.header {
  max-height: 80px;
  height: 100%;
  width: 100%;
  background: #0288d1;
  overflow: hidden;
  position: relative;
  z-index: 15;
}

.header .logo {
  position: absolute;
  left: 50px;
  top: 25px;
}

.header .content {
  height: 100%;
  margin: 0 16.4%;
}

.header .menu {
  height: 100%;
}

.header .user-info {
  position: absolute;
  top: 24px;
  right: 40px;
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.header .user-info .user-photo {
  width: 34px;
  height: 34px;
  border-radius: 100%;
  margin-right: 15px;
  float: left;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

.header .user-info .user-name {
  float: left;
  margin-top: 10px;
  margin-right: 24px;
  color: white;
}

.header .user-info a.logout {
  float: right;
  margin-top: 8px;
}

/* MENU */
.menu {
  color: white;
}

.menu a,
.menu a:focus,
.menu a:visited,
.menu a:active {
  display: inline-block;
  color: white;
  outline: none;
  text-decoration: none;
  padding: 30px;
  max-height: 80px;
  height: 100%;
  box-sizing: border-box;
  font-weight: 500;
  font-family: "Fira Sans", sans-serif;
  font-size: 18px;
  margin-left: -4px;
}

.menu a:hover, .menu a.active,
.menu a:focus:hover,
.menu a:focus.active,
.menu a:visited:hover,
.menu a:visited.active,
.menu a:active:hover,
.menu a:active.active {
  background: #005b9f;
}

/* PANEL */
.panel {
  background: white;
  border-radius: 3px;
  border: solid 1px #ebebeb;
  padding: 24px 30px;
  width: 100%;
  box-sizing: border-box;
}

/* LOGO */
.logo {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: normal;
  color: #ffd200;
  overflow: hidden;
  display: inline-block;
}

.logo a,
.logo a:focus,
.logo a:active,
.logo a:hover,
.logo a:visited {
  color: #ffd200;
  text-decoration: none;
  outline: none;
}

.logo span:first-child {
  color: white;
  font-weight: 500;
}

.logo span:last-child {
  color: white;
  font-weight: 300;
}

.logo.logo_blue span:first-child,
.logo.logo_blue span:last-child {
  color: #0288d1;
}

/* INPUTS */
.input-wrap {
  position: relative;
}

.input {
  position: relative;
}

.input.input-checkbox {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  top: 4px;
  /* border-radius: 3px; */
  /* overflow: hidden; */
}

.input.input-checkbox .checkbox {
  display: block;
  width: 18px;
  height: 18px;
  border: solid 2px #b1b1b1;
  box-sizing: border-box;
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 3px;
}

.input.input-checkbox input[type="checkbox"] {
  opacity: 0;
  width: 100%;
  height: 100%;
}

.input.input-checkbox input[type="checkbox"]:checked + .checkbox {
  background-color: #0288d1 !important;
  border-color: #0288d1 !important;
}

.input.input-checkbox input[type="checkbox"]:checked + .checkbox::before {
  content: "";
  width: 8px;
  height: 4px;
  border-left: solid 2px white;
  border-bottom: solid 2px white;
  transform: rotate(-45deg);
  display: block;
  top: 2px;
  position: absolute;
  left: 2px;
}

.input.input-number .number-up,
.input.input-number .number-down {
  text-decoration: none;
  color: #757575;
  font-size: 25px;
  position: absolute;
  display: block;
  cursor: pointer;
  z-index: 5;
  user-select: none;
}

.input.input-number .number-down {
  left: 5px;
  top: 6px;
}

.input.input-number .number-up {
  right: 6px;
  top: 5px;
}

.input .input-title {
  color: #999999;
  font-size: 16px;
  position: absolute;
  top: 9px;
  left: 0px;
  z-index: 0;
  transition: all 0.3s linear;
}

.input input {
  position: relative;
  width: 100%;
  border: none;
  border-bottom: solid 2px #999999;
  padding: 8px 0px;
  margin-bottom: 8px;
  z-index: 1;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.input.active input {
  outline: none;
  border-bottom: solid 2px #0288d1;
}

.input.active .input-title {
  top: -10px;
  color: #0288d1;
  font-size: 12px;
}

.input input:focus,
.input input:valid {
  outline: none;
  border-bottom: solid 2px #0288d1;
}

.input input:focus ~ .input-title,
.input input:valid ~ .input-title {
  top: -10px;
  color: #0288d1;
  font-size: 12px;
}

.input .input-help {
  font-size: 12px;
  color: #cecece;
}

.input.password {
  position: relative;
}

.input.password i.visibility_off {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 24px;
  height: 24px;
  background-image: url(/img/visibility_on_off.png);
  background-repeat: no-repeat;
  background-position: 0px 0px;
  cursor: pointer;
  z-index: 2;
}

.input.password input[type="password"] + i.visibility_off {
  background-position: 0px 0px;
}

.input.password input[type="text"] + i.visibility_off {
  background-position: -26px 0px;
}

.input.datepicker {
  position: relative;
}

.input.datepicker input {
  cursor: pointer;
}

.input.datepicker .datepicker-icon {
  position: absolute;
  right: 3px;
  top: 7px;
  width: 20px;
  height: 20px;
  background-image: url(/img/datepicker-icon.png);
  background-repeat: no-repeat;
  cursor: pointer;
}

.input.error input ~ .input-title,
.input.error input:focus ~ .input-title,
.input.error input:valid ~ .input-title {
  color: #dd5120;
}

.input.error .input-help {
  color: #dd5120;
}

.input.error input {
  border-bottom: solid 2px #dd5120;
}

/* BUTTONS */
.btn-wrap {
  display: inline-block;
  font-size: 14px;
}

.btn {
  outline: none;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  border-radius: 2px;
  padding: 10px 16px;
}

.btn.btn-link, .btn.btn-link:focus, .btn.btn-link:visited {
  color: #005b9f;
}

.btn.btn-link:hover {
  background: #f4f4f4;
}

.btn.btn-orange {
  background: #fc8a0d;
  border: none;
  color: white;
  box-shadow: 0px 2px 10px 2px #d6d6d6;
}

.btn.btn-orange:hover {
  background: #f08005;
}

/* FOOTER */
.footer {
  font-size: 13px;
  line-height: 22px;
  width: 100%;
  height: auto;
  background: #0288d1;
  color: white;
  z-index: 15;
  position: relative;
}

.footer .footer-content {
  max-width: 350px;
  margin-bottom: 40px;
}

.footer .content {
  padding: 25px 60px;
}

.footer .copyright {
  color: white;
}

/* ICONS */
.icon.icon-logout {
  display: block;
  width: 18px;
  height: 18px;
  background-image: url("/img/logout.png");
  background-repeat: no-repeat;
}

/* TOOLTIP */
.has-tooltip {
  position: relative;
}

.has-tooltip.tooltip-hover:hover .tooltip {
  display: block !important;
}

.has-tooltip .tooltip-sib:hover ~ .tooltip {
  display: block !important;
}

.has-tooltip .tooltip {
  position: absolute;
  display: none;
  padding: 24px 24px 43px 24px;
  border-radius: 3px;
  background-color: white;
  box-sizing: border-box;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.has-tooltip .tooltip-full-width {
  margin: auto;
  left: 0px;
  right: 0px;
  transform: none;
}

.has-tooltip .tooltip-position-bottom {
  top: 100%;
}

.has-tooltip .tooltip-position-top {
  bottom: 100%;
}

.has-tooltip .tooltip-shadow {
  box-shadow: 0px 20px 50px 2px rgba(0, 0, 0, 0.24);
}
