@font-face {
  font-family: 'ClearSansBold';
  src: url('./../font/ClearSans-Bold.ttf');
  font-weight: bold;
}
@font-face {
  font-family: 'ClearSansMedium';
  src: url('./../font/ClearSans-Medium.ttf');
  font-weight: normal;
}
@font-face {
  font-family: 'ClearSansRegular';
  src: url('./../font/ClearSans-Regular.ttf');
}
@font-face {
  font-family: 'RobotoLight';
  src: url('./../font/Roboto-Light.ttf');
  font-weight: 100
}
@font-face {
  font-family: 'Roboto';
  src: url('./../font/Roboto-Regular.ttf');
  font-weight: 100
}
@font-face {
  font-family: 'RobotoMedium';
  src: url('./../font/Roboto-Medium.ttf');
  font-weight: 100
}
@font-face {
  font-family: 'ClearSansLight';
  src: url('./../font/ClearSans-Light.ttf');
  font-weight: 100
}
@font-face {
  font-family: 'ClearSansThin';
  src: url('./../font/ClearSans-Thin.ttf');
  font-weight: 100
}
@font-face {
  font-family: 'ClearSansMediumItalic';
  src: url('./../font/ClearSans-MediumItalic.ttf');
  font-style: italic;
}

/* Body styling */
body{
  font-family: RobotoLight, sans-serif;
  font-size: 16px;
  color: #222;
  background: url("./../img/background.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
  padding-bottom:40px;
}

.top-nav {
    display: none;
}

/* кнопки и инпуты */
.button,
button,
button:focus,
.button:focus,
input[type='button'],
input[type='reset'],
input[type='submit'],
.button[disabled]:focus, .button[disabled]:hover,
button[disabled]:focus,
button[disabled]:hover,
input[type='button'][disabled]:focus,
input[type='button'][disabled]:hover,
input[type='reset'][disabled]:focus,
input[type='reset'][disabled]:hover,
input[type='submit'][disabled]:focus,
input[type='submit'][disabled]:hover {
  background-color: #7FBBC5;
  border: 1px solid rgba(144, 144, 144, 0.7);
  border-radius: 10px;
  font-size: 0.9em;
}

.button {
    cursor: pointer;
    transition: all 0.5s ease-out 0s;
    /*line-height: 3.6rem;*/
    height:auto;
}

.button.selected,
.button.selected:hover {
    background-color: #409AA9;
    cursor: default;
}

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


.button.bigger {
  font-size: 1.2em !important;
  padding: 1.0rem 2.5rem;
  line-height: initial;
  height: auto;
}

.button.biggest {
  font-size: 2.8rem !important;
  padding: 1.0rem 1.6rem;
  line-height: 2.8rem;
  height: auto;
}

.button.orange {
  background-color:#FBCD9E;
}

.button.orange:hover {
  background-color:#d9ab7c !important;
}

.button.button-outline,
button.button-outline,
input[type='button'].button-outline,
input[type='reset'].button-outline,
input[type='submit'].button-outline {
  color: #00798d;
}

.button.button-outline[disabled]:focus, .button.button-outline[disabled]:hover,
button.button-outline[disabled]:focus,
button.button-outline[disabled]:hover,
input[type='button'].button-outline[disabled]:focus,
input[type='button'].button-outline[disabled]:hover,
input[type='reset'].button-outline[disabled]:focus,
input[type='reset'].button-outline[disabled]:hover,
input[type='submit'].button-outline[disabled]:focus,
input[type='submit'].button-outline[disabled]:hover,
.button.button-clear,
button.button-clear,
input[type='button'].button-clear,
input[type='reset'].button-clear,
input[type='submit'].button-clear,
.button.button-clear[disabled]:focus, .button.button-clear[disabled]:hover,
button.button-clear[disabled]:focus,
button.button-clear[disabled]:hover,
input[type='button'].button-clear[disabled]:focus,
input[type='button'].button-clear[disabled]:hover,
input[type='reset'].button-clear[disabled]:focus,
input[type='reset'].button-clear[disabled]:hover,
input[type='submit'].button-clear[disabled]:focus,
input[type='submit'].button-clear[disabled]:hover {
  color: #00798d;
}

a.button:hover,
button.button:hover,
input.button:hover {
  background-color: #409AA9 !important;
}

.button#copy-factor {
  background: #BFDDE2 url(./../img/arrows-left.svg)50% 50% no-repeat;
  width:80%!important;
}

.button#btnPrev {
  background: #FBFBFB url(./../img/arrow-left.svg) 5% 50% no-repeat;
  height: 8rem;
  line-height: 7.6rem;
  font-size: 1.2em;
}

.button#btnNext {
  background: #FBFBFB url(./../img/arrow-right.svg)95% 50% no-repeat;
  height: 8rem;
  line-height: 7.6rem;
  font-size: 1.2em;
}

.button#btnNext:hover,
.button#btnPrev:hover {
  background-color: #d9d9d9 !important;
}

.button#btnPrev[disabled]:hover,
.button#btnNext[disabled]:hover {
  background-color: #FBFBFB !important;
}

.button#return-factor {
  background: #BFDDE2 url(./../img/arrows-right.svg)50% 50% no-repeat;
  width:80%!important;
}

.button#copy-factor:hover,
.button#return-factor:hover {
  background-color: #7fbbc5 !important;
}

.button.inters {
  background-color: transparent;
  border-width: 0 !important;
}

.button.inters svg{
  max-height:1.2em;
}

.button.inters:hover {
  background-color: transparent !important;
}

.button.inters:hover svg path {
  fill: #7fbbc5 !important;
}
/*
.button.button-back{
  display:block;
  line-height: 3.4em;
  text-align: center;
  border-radius: 10px;
  background-color: #fbfbfb !important;
  padding: 0.6em 0.3em !important;
  border: 1px solid rgba(144, 144, 144, 0.7);
  margin-left: 5px;
  margin-bottom: 15px;
  width: 100%;
  height: auto;
  font-size: 1em;
}
.button.button-back:hover{
  background-color: #d9d9d9 !important;
}
*/
.button.button-back{
  width: 40px;
  height: 40px;
  float: left;
  border: 1px solid #909090;
  border-radius: 10px;
  background-color: #7FBBC5;
  top: 0.4em;
  position: relative;
  margin-right: 0.9em;
  background-image: url(./../img/arrow-white-left.svg);
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: 50%;
}

.button.button-back:hover{
  background-color: #6eaab4 !important;
}


a.button.margin-left {
  margin-left:12px;
}

a.button.margin-right {
  margin-right:12px;
}

a.button.no-margin {
  margin:0;
}

input[type='text'],
select
{
  margin: 0;
}

input[type='text'],
select,
textarea {
  background-color: #fff;
}

select[multiple] {
  background: #fff;
}

textarea {
  margin-bottom: 0!important;
}

input::placeholder {
  color: #000000;
  opacity:.6;
}

select[readonly] {
  color: #000000;
  opacity:.6;
}

select:invalid {
  opacity:0.6;
}

select:invalid option {
  opacity:1;
}

select.placeholder option[value=""] {
  display:none;
}

input {
  margin-bottom:0;
}

.button {
  color: #000 !important;
  background-color: #7FBBC5;
  border: 1px solid rgba(144, 144, 144, 0.7)!important;
  margin-bottom:5px;
}

.button-wide {
  width: 100%;
}

.button.nopadding {
  padding: 0;
  height:auto;
  line-height: inherit;
}

select.auto, input.auto {
  width:auto;
}



/* Таблицы */

table {
  border-collapse: separate;
  border-spacing: 0 4px;
}

td {
  border-style: solid;
  border-width: 1px 0;
  border-color: rgba(186, 186, 186, 0.4);
  background-color: #fff;
  padding: 14px 14px;
}

td:first-child,
th:first-child {
  padding-left: 1.5rem
}

tr td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-width: 1px 0 1px 1px;
}

tr td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-width: 1px 1px 1px 0;
  padding-right: 0.5rem
}

th {
  padding-bottom:10px;
}

tr td.center,
tr th.center,
div.center {
  text-align: center;
}



/* Переопределения */

div.top-offset-10{
  margin-top:1rem;
}

div.no-margin {
  margin:0!important;
}

div.no-left-margin {
  margin-left:0!important;
}

div.no-bottom-margin {
  margin-bottom:0!important;
}

div.no-bottom-padding {
  padding-bottom:0!important;
}

.max-height{
  height:100% !important;
}

.lower-padding {
  padding-left: 1.6rem !important;
  padding-right: 1.6rem !important;
}

.no-bottom-radius {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

p {
  margin:0;
}

.row {
  min-height: 2em;
}

option[disabled] {
  color: #aaaaaa;
}


/* Плашки */

div.panel {
  border-radius: 10px;
  background-color: #fbfbfb;
  padding: 0.6em 2.5em;
  border: 1px solid rgba(144, 144, 144, 0.7);
  margin-left: 5px;
  margin-bottom: 15px;
  width: 100%;
}

span.panel {
  border-radius: 10px;
  background-color: #fbfbfb;
  padding: 2px!important;
  border: 1px solid rgba(144, 144, 144, 0.7);
}

.panel-invisible {
  background-color: transparent;
  padding: 0.6em 4rem;
  border: none;
  margin-left: 5px;
  margin-bottom: 5px;
  width: 100%;
}

.panel.panel-back {
  line-height: 3.4em;
  text-align: center;
  padding-left: 0.3em !important;
  padding-right: 0.3em !important;
}

.panel-darkgrey {
  border-radius: 10px;
  background-color: #EBEBEB;
  padding: 0.6em 4.0rem;
  border: none;
  margin-left: 5px;
  margin-bottom: 15px;
  width: 100%;
}

.panel-mint {
  background: #409AA9;
  border: 1px solid rgba(144, 144, 144, 0.7);
  border-radius: 10px;
  padding: 0.6em 4rem;
  margin-left: 5px;
  margin-bottom: 15px;
  width: 100%;
}

.panel-orange {
  background: #F89C3E;
  border: 1px solid rgba(144, 144, 144, 0.7);
  border-radius: 10px;
  padding: 0.6em 4rem;
  margin-left: 5px;
  margin-bottom: 15px;
  width: 100%;
}

.panel-lightmint {
  background: #BFDDE2;
  border: 1px solid rgba(144, 144, 144, 0.7);
  border-radius: 10px;
  padding: 0.6em 4rem;
  margin-left: 5px;
  margin-bottom: 15px;
  width: 100%;
}

.panel-inters {
  background: #BFDDE2;
  border: 1px solid rgba(144, 144, 144, 0.7);
  border-radius: 10px;
  padding: 0.6em 1.1rem;
  margin: 7px 15px;
  width: auto;
}

.panel-buttons {
  background-color: transparent;
  padding: 0 1.6rem 0.6em;
  border: none;
  margin-left: 5px;
  margin-bottom: 5px;
  width: 100%;
}

.panel-inters-wrapper {
  background:#fff;
  border-radius: 0 0 10px 10px;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding:7px 0;
}

.panel-flash {
  background: #FFCC9C;
  border-radius: 10px;
  padding: 0.4em 1em;
  margin-left: 5px;
  margin-bottom: 15px;
  width: 100%;
}

.panel-flash .button {
  padding: 0.6rem 1rem;
  line-height: 0.9em;
  background-color: #BFDDE2;
}

.panel-flash .button:hover {
  background-color: #aFcDd2!important;
}

#factors-with-conclusions>.row:last-child .panel {
  margin-bottom: 0;
}


.drag-over {
  outline: 2px dashed black;
  box-sizing: border-box;
}

.hamburger {
  cursor:move;
  font-size:1.5em;
}

.conclusion-delete {
  font-size:2em;
  line-height: 1em;
}


hr {
  border-top: 1px solid rgba(144, 144, 144, 0.6);
  margin: 17px 0;
}

.score {
  border: 1px solid rgba(186, 186, 186, 0.7);
  box-sizing: border-box;
  border-radius: 10px;
  padding: 2px 10px 4px;
}

.score.set {
  background: #BFDDE2;
}

.score.undefined {
  background: #E09F8F;
}


.legend {
  line-height:32px;
  margin: 10px 0;
  font-size: 0.8em;
}

.legend-test-value {
  background: #BFDDE2;
  width:24px;
  height:32px;
  border-radius:5px;
  display:inline-block;
  vertical-align: middle;
}

.legend-hexagon {
  background: url(./../img/hexagon-curve.svg) 100% 100% no-repeat;
  width:32px;
  height:32px;
  display:inline-block;
  vertical-align: middle;
}


/* Слайдеры */
.slider-bar{
  height:40px;
}

div[id^=slider-bar] {
  margin: 7rem 3em 30px;
}

div[id^=slider-shift] {
  position:absolute;
  width: 145px;
  left: -53px;
  top: 10px;
  text-align:center;
  overflow: visible;
}

div[id^=slider-shift] a{
  padding:0 2px !important;
}

span.state-assessed {
  color: green;
  font-family: Roboto;
}
span.state-awaiting {
  color: red;
  font-family: Roboto;
}
span.state-interrupted {
  color: orange;
  font-family: Roboto;
}


/* Размеры шрифта и заголовки */
.subheader {
  font-size: 1.4em;
  margin-top: 1rem;
}

label{
  font-size: 1.4em;
  font-weight: normal;
}

.input.checkbox label{
  font-size: 1em !important;
}

.smaller{
  font-size: 0.8em;
  line-height:2.7em;
}

.bigger{
  font-size: 1.2em;
}

.inters-header {
  font-size: 1.2em;
  text-transform: capitalize;
  color: #409AA9;

}

.header-text {
  font-size: 1.7em;
  line-height: 2em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-invisible .header-text {
  color: #000;
  font-size: 1em;
}



form {
  margin:0 !important;
}

.zone-interval-wrapper {
  margin-top: 4px;
  width:170px;
  height: 100px;
  position: relative;
}
.last .zone-interval-wrapper {
  height: 80px !important;
}

[id^=zone-label-] {
  line-height: 3.8rem;
}

.zone-interval {
  position: absolute;
  top: 7px;
  height:16px;
  width:140px;
  left:15px;
  background:#fde6cf;
  border: 1px solid rgba(165, 165, 165, 0.7);
}

.zone-interval-hexagon {
  background: url(./../img/hexagon-curve.svg) 100% 100% no-repeat;
  width:30px;
  height:30px;
  position: absolute;
}

.zone-interval-hexagon.zone-interval-hexagon-filled {
  background: url(./../img/hexagon-filled.svg) 100% 100% no-repeat;
}

.zone-interval-hexagon.zone-interval-hexagon-right {
  left: 140px;
}

.zone-interval-label-left {
  float:left;
  position: absolute;
  top: 32px;
  left: 5px;
}

.zone-interval-label-right {
  float:right;
  position: absolute;
  right: 3px;
  top: 32px;
}

.modal {
  position:fixed;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  z-index:100;
  top:0;
  left:0;
  align-content: center
}

.modal-panel {
  background:#fff;
  border-radius:10px
}

.modal-close {
  font-size: 2.7rem;
}

.search-wrapper {
  width:100%;
  position:relative
}

.search-clear {
  color: black;
  position: absolute;
  right: 1rem;
  font-size: 1.3em;
}

.panel-mint .modal-close,
.panel-inters .modal-close,
.panel-orange .modal-close {
  color: #ffffff;
}

.panel-invisible .modal-close {
  color: #000000;
}

.panel-mint .modal-close:hover,
.panel-inters .modal-close:hover {
  color: #7fbbc5;
}

.panel-invisible .modal-close:hover,
.panel-orange .modal-close:hover {
  color: #777777;
}

div.grey {
  color: #6C6C6C;
}

.red {
  color: red;
}

.warning {
  position: relative;
  height: 0;
}

.warning div {
  font-size: 0.7em;
  position: absolute;
}

.selected-actions {
  margin-right:2rem;
}

.invisible {
  visibility: hidden;
}

textarea.fixedwidth {
  min-width:100%;
  max-width:100%;
}


input[type=file] {
  color: transparent;
}
input[type=file]::-webkit-file-upload-button {
  visibility: hidden;
}
input[type=file]::before {
  content: 'Загрузить файл';
  display: inline-block;
  background-color: #7FBBC5;
  border: 1px solid rgba(144, 144, 144, 0.7);
  border-radius: 10px;
  font-size: 0.9em;
  outline: none;
  white-space: nowrap;
  -webkit-user-select: none;
  cursor: pointer;
  transition: all 0.5s ease-out 0s;
  line-height: 3.8rem;
  padding: 0 1.0rem;
  text-align: center;
  outline: none;
  color: black;
}
input[type=file]:hover::before {
  border-color: black;
  background-color: #409AA9 !important;
}
input[type=file]:active::before {
  background-color: #7FBBC5;
  border: 1px solid rgba(144, 144, 144, 0.7);
  border-radius: 10px;
  font-size: 0.9em;
}

.breadcrumbs {
  margin-left: 5px;
  padding: 0 4rem 1rem;
}

.breadcrumbs a,
.breadcrumbs a:visited{
  color: #00788C;
}

.breadcrumbs a:hover{
  color: #7FBBC5;
}

.breadcrumbs ul {
  margin:0;
  opacity:0.9;
}

.breadcrumbs li {
  color: #00788C;
  padding-right: 20px;
  background-image: url('./../img/crumbs-arrow.svg');
  background-position-x: 100%;
  background-repeat: no-repeat;
  list-style-type: none;
  display:inline-block;
  height: 1.7rem;
  line-height: 1.7rem;
  font-family: Roboto;
  font-size: 1.8rem;
  margin-right: 0.5rem;
  cursor:default;
}

.breadcrumbs li:last-of-type {
  background-image: none;
  font-family: RobotoMedium;
}

.saved {
  float: right;
  line-height: 4.8rem;
  margin-right: 3rem;
  color: #888;
  font-family: 'Roboto';
  display:none;
}

.help-icon {
  cursor: help;
  background-image: url(./../img/icon-info.svg);
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  display: inline-block;
  position: relative;
  top: 4px;
}

.help-icon .help-body {
  display:none;
}

.help-icon:hover .help-body {
  display: block;
  border-radius: 10px;
  position: absolute;
  width: 300px;
  z-index: 100;
  padding: 10px;
  bottom: 10px;
  left: 14px;
}

.assess-protect {
  position: absolute;
  z-index: 100;
  height: 100%;
  width: 100%;
  cursor: not-allowed;
}

.assess-protect.hidden {
  height:0;
}
