
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/329DD5_11_0.eot');
    src: url('../fonts/329DD5_11_0.eot?#iefix') format('embedded-opentype'), url('../fonts/329DD5_11_0.woff2') format('woff2'), url('../fonts/329DD5_11_0.woff') format('woff'), url('../fonts/329DD5_11_0.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/329DD5_6_0.eot');
    src: url('../fonts/329DD5_6_0.eot?#iefix') format('embedded-opentype'), url('../fonts/329DD5_6_0.woff2') format('woff2'), url('../fonts/329DD5_6_0.woff') format('woff'), url('../fonts/329DD5_6_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/329DD5_9_0.eot');
    src: url('../fonts/329DD5_9_0.eot?#iefix') format('embedded-opentype'), url('../fonts/329DD5_9_0.woff2') format('woff2'), url('../fonts/329DD5_9_0.woff') format('woff'), url('../fonts/329DD5_9_0.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;

    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: rgba(0, 0, 0, 0.77);
}
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/329DD5_9_0.eot');
    src: url('../fonts/329DD5_9_0.eot?#iefix') format('embedded-opentype'), url('../fonts/329DD5_9_0.woff2') format('woff2'), url('../fonts/329DD5_9_0.woff') format('woff'), url('../fonts/329DD5_9_0.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;

    font-size: 16px;
    font-weight: 100;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: 0.2px;
    color: rgba(0, 0, 0, 0.53);
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/329DD5_5_0.eot');
    src: url('../fonts/329DD5_5_0.eot?#iefix') format('embedded-opentype'), url('../fonts/329DD5_5_0.woff2') format('woff2'), url('../fonts/329DD5_5_0.woff') format('woff'), url('../fonts/329DD5_5_0.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}


body {
    font-family: 'Gilroy';
    letter-spacing: 0.2px;
    background: #f0f0f0;
}

.wrapper {
    /* width: 1631px; */
    width: 95%;
    /* padding: 0 16px; */
    margin: 0 auto;
    position: relative;
}
.header {
    background: #f0f0f0;
    border-bottom: 1px solid #dcdcdc;
    height: 60px;
    padding-left: 20px;
}
.header__title {
    font-size: 24px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.77);
    display: inline-block;
    margin: 0;
    margin-top: 14px;
}
.header__logo {
    display: none;
    width: 64px;
    height: 24px;
    margin-top: 15px;
    vertical-align: top;
    align-items: center;
    justify-content: flex-start;
}
.header__logo.show {
    display: inline-block;
}
.header__logo.dr_logo {
    display: inline-block;
    margin-top: 5px;
    margin-right: 10px;
    width: 184px;
    height: 45px;
}
.content {
    display: flex;
    flex-direction: row;
    padding-top: 16px;
}
.content__col-1 {
    width: 480px;
    /* width: 35%; */
    min-width: 480px;
    /* margin-left: -16px; */
    padding: 0 16px;
    max-height: calc(100vh - 32px - 16px - 60px);
    overflow: auto;
}
.footer__col-1 {
    width: 440px;
    position: absolute;
    bottom: 16px;
    padding-left: 4px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.content__col-2 {
    /* width: 384px; */
    width: 100%;
    min-width: 350px;
    margin-right: 16px;
}
.content__col-3 {
    /* width: 393px; */
    /* width: 40%; */
    width: 100%;
    min-width: 350px;
}
.cardItem {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    position: relative;
}
.cardItem_horizontal {
    min-height: calc(100vh - 32px - 16px - 60px);
    max-height: calc(100vh - 32px - 16px - 60px);
    overflow: auto;
}
.cardItem__scrollContainer {
    /*padding-top: 44px;*/
    overflow: auto;
    max-height: calc(100vh - 32px - 16px - 60px);
}
.cardItem__title {
    padding: 0 16px;
    height: 40px;
    line-height: 40px;
    background: #f7f7f7;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.77);
    position: relative;
}
.cardItem__title__em{
    background: #fd000061;
}
.cardItem__userInfo {
    padding: 12px 0 0 16px;
    background: #fff;
    border-bottom: 1px solid #dcdcdc;
}



#cont-icd10-alg{
    display: none;
}

.cardItem__dynamicButtons{
    padding: 12px 0 12px 16px;
    background: #fff;
    border-bottom: 1px solid #dcdcdc;
}
#dyn-buttons,#dyn-buttons-accepted{
    display: none;
}

.btn-clue{
    font-size: 11px;
    margin: 4px 4px 4px 4px;
    border-radius: 5px;
    background: #fff;
    /* border: solid 1px #dcdcdc; */
}
/*.btn-clue:hover {
    background-color: #f0f0f0;
    color: #3c3c3c;
    border: solid 1px #f0f0f0;
}*/
.btn-clue-accepted{
    font-size: 11px;
    margin: 4px 4px 4px 4px;
    border-radius: 5px;
    background-color: #f0f0f0;
}
.btn-to-del{
    display: none;
}
.btn-clue-accepted:hover .btn-not-del{
    display: none;
}
.btn-clue-accepted:hover .btn-to-del{
    display: inline;
}

.button__reload {
    color: #ff3c41;
    background-color: rgba(255, 60, 65, 0.16);
    height: 28px;
    line-height: 28px;
    width: 112px;
    text-align: center;
    border-radius: 8px;
    position: absolute;
    right: 16px;
    top: 6px;
    border: none;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}
.button__reload:focus, .button__reload:active {
    outline: none;
}
.fix {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.bar-type0{
    background: #4b9bf5;
}
.bar-type1{
    background: #9c85cc;
}
.bar-type2{
    background: #63a621;
}
.bar-type3{
    background: #ff9933;
}






.fix + .probability {
    padding-top: 40px;
}
.cardItem__inputsWrapper {
    display: flex;
    flex-direction: row;
}
.cardItem__inputsWrapper > * + * {
    margin-left: 16px;
}

input[id="age-in"]:disabled {
    background: #fff;
    color: rgba(0, 0, 0, 0.29);
}
.inputItem_age {
    width: 72px;
}
.inputItem_gender {
    width: 111px;
}
select[id="sel-gender"]:disabled {
    color: rgba(0, 0, 0, 0.29);
}
select[id="sel-doc"]:disabled {
    color: rgba(0, 0, 0, 0.29);
}
.inputItem_specialization {
    width: 200px;
}
input[id="source-in"]:disabled {
    background: #fff;
    color: rgba(0, 0, 0, 0.29);
}
.inputItem_source {
    width: 84px;
}
.inputItem {
    border-bottom: 1px solid #dcdcdc;
    padding: 12px 0;
}
.inputItem__label {
    font-size: 12px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.29);
    margin-bottom: 8px;
}
.inputItem__input {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.77);
    border: none;
    padding: 0;
    width: 100%;
}
.inputItem__input:focus {
    outline: none;
}
.select__container {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.77);
}
.select__selected {
    position: relative;
    cursor: pointer;
}
.select__arrow {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 10px;
    top: 50%;
    pointer-events: none;
    margin-top: -8px;
    background: transparent url(../images/dropdown.svg) 50% 50% no-repeat;
}
.select__arrow_r0 {
    right: 0;
}
.select__arrow_r10 {
    right: 10px;
}
.select__options {
    position: absolute;
    bottom: 0;
    display: none;
}
.customSelect__container {
    position: relative;
}
.customSelect {
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    border: none;
    cursor: pointer;
    height: 24px !important;
    padding: 0 !important;
}
.customSelect:focus {
    outline: none;
}
.cardItem__textareaWrapper {
    position: relative;
    padding: 36px 0 12px 0;
}


.cardItem__textarea[required]:disabled{
    color: rgba(0, 0, 0, 0.29);
}

.cardItem__textarea[required]:focus + label[placeholder]:before,
.cardItem__textarea[required]:disabled + label[placeholder]:before,
.cardItem__textarea[required]:valid + label[placeholder]:before
{
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transform: translate(0, -27px);
    -ms-transform: translate(0, -27px);
    transform: translate(0, -27px);
    font-size: 12px;
    font-weight: bold;
}

.cardItem__textarea[required] + label[placeholder] {
    display: block;
    pointer-events: none;
    position: absolute;
    top: 36px;
    margin: 0;
}

.cardItem__textarea[required] + label[placeholder]:before {
    content: attr(placeholder);
    display: inline-block;
    padding: 0;
    color: rgba(0, 0, 0, 0.29);
    font-weight: 500;
    white-space: nowrap;
    text-align: left;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    font-size: 16px;
}
.cardItem__textarea:focus {
    outline: none
}

.cardItem__textarea {
    resize:none;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.77);
    width: 100%;
    background: transparent;
    border: none;
    min-height: 24px; /* for default height */
    overflow: hidden;
    padding: 0;
    /*transition: 0.3s;*/
}

.buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    bottom: 12px;
}

.buttons .action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.buttons .action button {
    width: 156px;
}

.button {
    height: 40px !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.2px;
    padding: 0;
    box-sizing: border-box;
    border: none;
    display: inline-block;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button:focus,.button:active, button:hover {
    outline: none;
    border: none;
}

.button_black {
    color: #fff;
    background: #3c3c3c;
    line-height: 40px;
}
.button_black.dr_button {
    background: #f36f03;
}
.button_black.dr_button:hover {
    background: #ff9840;
}
.button_black.dr_button_green {
    background: #549452;
}
.button_grey {
    background-color: #f0f0f0;
    color: #3c3c3c;
    line-height: 40px;
}

.button_white {
    background: #fff;
    border: solid 1px #dcdcdc;
    line-height: 38px;
    color: rgba(0, 0, 0, 0.77);
    padding: 0 24px;
    margin-right: 16px;
}
.button_white.dr_button {
    background: #f36f03;
    color: #ffffff;
}
.button_white.dr_button_green {
    background: #549452;
    color: #ffffff;
}
.button_white:hover {
    background-color: #f0f0f0;
    color: #3c3c3c;
    border: solid 1px #f0f0f0;
}
.button_white.dr_button:hover {
    background: #ff8e30;
    color: #ffffff;
}
.button_white.dr_button_green:hover {
    background: #6aa767;
    color: #ffffff;
}
.button_white:focus {
    border: solid 1px #f0f0f0;
}
.question__buttonCheckbox:checked + .button_white,
.button_white:active {
    background-color: #f0f0f0;
}
.question__buttonCheckbox:checked + .button_white.dr_button,
.button_white.dr_button:active {
    background: #f36f03;
}
.question_tooltip {
    margin-top: 8px;
    margin-bottom: -12px;
    padding-bottom: 12px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
}
.question_tooltip--error {
    color: #c82333;
    display: none;
}

.startConsultation {
    padding: 16px;
}

.startConsultation__button {
    padding: 0 16px;
    width: 100%;
}
.settings {
    background-color: #f7f7f7;
    padding-left: 16px;
}
.settings__title {
    position: relative;
    font-size: 12px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.53);
    line-height: 1.33;
    padding: 12px 16px 12px 0;
    cursor: pointer;
    display: block;
}
.settings__title:hover {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.53);
}
.settings__item {
    padding: 12px 6px 12px 0;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #dcdcdc;
}
.settings__item:first-child {
    padding-top: 0;
}
.settings__item:last-child {
    border-bottom: none;
}
.settings__param {
    width: 100%;
    font-family: Gilroy;
    color: rgba(0, 0, 0, 0.53);
    /*font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.53);
    */
}
.settings__input {
    color: rgba(0, 0, 0, 0.77);
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    border: none;
    background: transparent;
}
.settings__input:focus {
    outline: none;
}
.settings__select {
    width: 100%;
    font-family: Gilroy;
    color: rgba(0, 0, 0, 0.77);
    /* font-size: 16px; */
    font-weight: bold;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    /* padding-right: 40px; */
    /* text-align: right !important; */
    /* text-align-last: right; */
}
.settings__select option {
    text-align: right;
    /*direction: rtl;*/
}
.settings__select:focus {
    outline: none;
}
.settings__selectContainer {
    position: relative;
    height: 22px;
}
.question__buttonsContainer {
    /* font-size: 0; */
    vertical-align: top;
    letter-spacing: 0;
}
.question__buttonsContainer .question__buttonItem {
    margin-right: 16px;
    display: inline-block;
    vertical-align: top;
}

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

.question__buttonCheckbox {
    display: none;
}
.question__container {
    padding: 24px 0 16px 16px;
}
.question__title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}
.question__title sub {
    font-size: 14px;
    opacity: 0.5;
}
.question__input {
    height: 40px;
    border-radius: 8px;
    border: solid 1px #dcdcdc;
    box-sizing: border-box;
    line-height: 38px;
    padding: 0 16px;
    color: rgba(0, 0, 0, 0.77);
    font-size: 16px;
    font-weight: bold;
    width: 256px;
    margin-right: 16px;
    margin-bottom: 12px;
}
.question__input2 {
    /* float: left; */
    height: 40px;
    width: 80px;
    border-radius: 8px;
    border: solid 1px #dcdcdc;
    /* box-sizing: border-box; */
    line-height: 38px;
    padding: 0 16px;
    color: rgba(0, 0, 0, 0.77);
    font-size: 16px;
    font-weight: bold;
    /* width: 256px; */
    margin-right: 16px;
}
.question__input:focus {
    outline: none;
}
.resultItem {
    font-size: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #dcdcdc;
}
.resultItem__title {
    font-weight: bold;
    color: rgba(0, 0, 0, 0.77);
}

.resultItem__text{
    font-family: Gilroy;
    font-weight: 500;
}
.resultItem__text_red {
    color: #ff3c41;
}
.resultItem__text_grey {
    color: rgba(0, 0, 0, 0.53);
}
.resultItem__text_green {
    color: #63a621;
}
.resultItem__text_blue {
    color: #4b9bf5;
}
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}
.probability {
    padding-left: 16px;
    border-bottom: 1px solid #dcdcdc;
}
.probability__item {
    border-bottom: 1px solid #dcdcdc;
    padding: 12px 16px 18px 0;
}
.probability__item:last-child {
    border-bottom: none;
}
.probability__title {
    color: rgba(0, 0, 0, 0.77);
    line-height: 1.5;
    margin-bottom: 8px;
    font-family: 'Gilroy';
}
.percentage {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.percentage__number {
    color: rgba(0, 0, 0, 0.53);
    margin-right: 11px;
}
.percentage__container {
    position: relative;
    width: 100%;
}
.percentage__line {
    height: 12px;
    border-radius: 8px;
}
.percentage__all {
    background: #f0f0f0;
    width: 100%;
    position: absolute;
}
.percentage__real {
    position: relative;
}
















#btn-refresh{
    margin-top: 4px;
    float: right;
}

#img-refresh{
    width: 20px;
    height: 20px;
}



#qCard{
    display: none;
}


#menu1,#c-for-classes{
    display: none;
}
#menu2,#c-for-classes3{
    display: none;
}
#menu4,#c-for-classes-tests{
    display: none;
}

#settings__item0,#settings__item1,#settings__item2{
    display: none;
}



.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 20px;
    float: right;
    top: 10px;
}
#viz-label{
    position: relative;
    float: right;
    margin-top: 0px;
    font-style: normal;
    font-weight: normal;
    font-size: 80%;
}


/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(28px);
    -ms-transform: translateX(28px);
    transform: translateX(28px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.links line {
    stroke: #999;
    stroke-opacity: 0.6;
}

.nodes circle {
    stroke: #fff;
    stroke-width: 1.5px;
}
