*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
* {
  image-orientation: none;
}

#leftMenu a {
    cursor: pointer;
}


.btn-edit {
    color:#00d6b2;
    text-shadow: 1px 1px 2px black, 0 0 2px blue;
    cursor: pointer;
    overflow: hidden;
}

.btn-delete {
    color:red;
    text-shadow: 1px 1px 2px black, 0 0 2px red;
    cursor: pointer;
    overflow: hidden;
}



.cardEditor, .kapha_order, .dhatu_overload, .kapha_chanel {
    cursor: pointer;
}

.centerize {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* INTERACTION */
.scrollToTop {
    width: 75px;
    height: 30px;
    padding: 10px;
    text-align: right;
    background: antiquewhite;
    font-weight: bold;
    color: #444;
    text-decoration: none;
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: none;
    opacity: 0.6;
    cursor: pointer;
    background: url('/img/go_top.gif') no-repeat 0px 20px;
}

.scrollToTop:hover {
    text-decoration: none;
}

label.error {
    border: 1px solid lightcoral;
    border-radius: 5px;
    text-align: center;
    background-color: lightpink;
    opacity: 0.9;
}

/* PRINTABLE */
#printDiseases .complainItem {
    font-size: smaller;
}

.hoverMeGreen:hover {
    background-color: darkseagreen;
}

form {
    margin: 0
}

table.tableCounter {
    counter-reset: rowNumber-1;
}

table.tableCounter tr {
    counter-increment: rowNumber;
}

table.tableCounter tr td:first-child::before {
    content: counter(rowNumber) ")";
    min-width: 1em;
    margin-right: 0.5em;
}

.panel-heading a.accordion-toggle {
    font-size: larger;
    padding: 7px 0 2px 0;
}

.panel-body {
    padding-top: 3px;
}

#smartSearch {
    position: absolute;
    right: 10px;
    padding: 1px 10px;
    background-color: rgba(0, 235, 2, 0.60);
    border: 1px solid rgb(0, 235, 2);
    border-radius: 10px;
    cursor: pointer;
    margin: 0 10px;
"
}

#smartSearch input {
    margin: 5px;
    display: none;
    width: 100px;
}

#smartSearch:hover input {
    /*  display: inline-block;*/
}

.destroyOnOuterClick {
    background-color: white;
    border: 1px solid lightgrey;
    border-radius: 7px;
    position: absolute;
    padding: 10px;
}

.destroyOnOuterClick > div:hover {
    text-decoration: underline;
}

.ui-autocomplete-loading {
    background: white url("/img/ui-anim_basic_16x16.gif") right center no-repeat;
}

.botton_arrow {
    background-image: url(img/arrow.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-color: #e71404;
    z-index: 9999;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    text-indent: -99999px;
    position: fixed;
    bottom: 0px;
    right: 25px;
    cursor: pointer;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    -ms-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
    overflow: auto;
}

input[type="range"] {
    -webkit-appearance: none;
    border: 1px solid white;
    width: 300px;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 300px;
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
    margin-top: -4px;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type=range]::-moz-range-track {
    height: 5px;
    background: #ddd;
    border: none;
    border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}

input[type=range]::-ms-track {
    width: 300px;
    height: 16px;
    background: #ddd;
    border: none;
    border-radius: 10px;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    outline: none;
    background: #777;
    border-radius: 10px 0 0 10px;
}

input[type=range]::-ms-thumb {
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: goldenrod;
}

input[type=range]:focus::-ms-track {
    background: #ccc;
}

input[type=range]:focus::-ms-fill-lower {
    background: #888;
}

/* BARK */
#barkSchema {

}

#barkSchema input {
    padding: 1px 5px;
    margin: 0;
    width: 50px;

}

#barkSchema form {
    margin: 0;
    padding: 0;
}

.bark_dhatu_direction {
    width: auto;

}

td.statuses {
    color: white;
    cursor: pointer;
}

td.statuses .statuses_roots {
    background-color: red;
    color: black;
}

.bark_dhatu_direction input, .bark_dhatu_direction select {
    width: 80px;
    margin: 0;
    font-size: smaller;
}

/* DISEASES */

.diseasesDescription {
    float: left;
    width: auto;
    height: 100%;
    min-width: 50px;
}

.chanel_description form {
    margin: 0;
}

.addDiagnoseToDhatu {
    display: inline-block;
    margin: 12px 2px;
    background-repeat: no-repeat;
    background-position: 0 -96px;
    float: right;
    height: 16px;
    width: 16px;
    border: 1px solid lightgray;
    cursor: pointer;
}

.addDiagnoseToDhatu:hover {
    background-image: url("../img/glyphicons-halflings.png");
    border: 1px solid transparent;
}

.addRootsToDhatu {
    display: inline-block;
    margin: 12px 2px;
    background-repeat: no-repeat;
    /*background-position: 0 -96px;*/
    float: right;
    height: 16px;
    width: 16px;
    border: 1px solid lightgray;
    cursor: pointer;
}

.addRootsToDhatu:hover {
    /*background-image: url("../img/glyphicons-halflings.png");*/
    border: 1px solid transparent;
}

.diseaseTag {
    height: 20px;
    float: right;
    background-color: gainsboro;
    padding: 0px 4px 0px 2px;
    border: 1px solid #c1bfff;
    border-radius: 7px;
    margin: 0 1px;
    cursor: pointer;
}

.diseaseTag:hover {
    border: 1px solid #ff9494;
}

.diseaseTag > span {
    background-position: -312px 0;
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-top;

    background-repeat: no-repeat;
}

.diseaseTag:hover > span {
    background-image: url("../img/glyphicons-halflings.png");
}

.diseaseTitle {
    /*text-decoration: underline;*/
}

.anamnesis {

    display: block;
    unicode-bidi: embed;
    /*font-family: monospace;*/
    /*white-space: pre;*/
    width: 45 bo0px;
    margin: 2px 0 5px 20px;
}

.complainItem {
    margin: 2px 0 5px 20px;
    padding-left: 10px;
    border-left: 1px solid lightgray;
}

.complainItem span {

}

.complainItem > div > div {
    width: 110px;
    float: right;
    color: #aaa;
}

.priorityClass1 {
    background-color: #fff9f9;
}

.priorityClass2 {
    background-color: #f9f9ff;
}

#disease_list a {
    cursor: pointer;
}

#diagnose-error {
    float: left;
}

div.disease_anamnes, div.disease_treatment {
    width: 100%;

}

div.disease_anamnes > textarea, div.disease_treatment > textarea {
    width: 95%;
    height: 85px;
}

.complains > div.complain_remove {
    width: 45px;
    height: 45px;
    background: no-repeat center url('/img/red-x.png');
    cursor: pointer;
}

.complains > div {
    display: inline-block;
    width: 150px;
    height: 40px;
    text-align: center;
    margin: auto 0;
    float: left;
}

.complains {
    float: left;
    vertical-align: middle;
    border-bottom: 1px solid lightblue;
    border-radius: 10px;
    height: 45px;
}

.complains > div > input {
    display: inline-block;
    margin: 8px;
    padding: 0;
    line-height: 15px;

}

.complains > div > input[type="range"] {
    width: 130px;
    margin: 0;
}

.disease_priority {
    width: auto;
}

tr.disease_max > td {
    padding: 15px 10px 30px 10px;
}

div.disease_min tr.disease_max, div.disease_max .disease_min {
    display: none;
}

#disease_msg {
    display: none;
    width: 100%;
    padding: 20px;
    font-size: larger;
    color: green;
}

#disease_list {
    border: 1px solid lightgray;
    width: 600px;
    height: auto;
}

.disease_name {
    width: 100%;
    /* width: auto;*/
}

.disease_name input {
    width: 370px;
}

.disease_add {
    border: 1px solid lightgray;
    border-radius: 10px;
    width: 600px;
    height: 400px;
    padding-top: 10px;
    display: inline-table;
}

.disease_add > form > div {
    float: left;
    margin: 5px 10px;
}

.disease_add textarea {
    padding: 0 5px;
    width: 95%;
}

.complains {
    width: 100%;
}

.complains textarea {
    width: 95%;
}

.complain_description {
    width: 100%;
}

.complain_description textarea {
    width: 95%;
    height: 150px;
}

.complain_started {

}

.complain_started input {
    width: 50px;
}

.complain_started select {
    width: auto;
}

.disease_add > form > div.complain_level {
    float: right;
}

.complain_level select {
    width: auto;
}

.complain_level select option:first-child, .complain_started select option:first-child {
    color: lightgray;
}

.mkb10 {
    /*width: 260px; float:left;*/
}

.mkb10 textarea {
    height: 30px;
    width: 520px;
    padding: 0 5px;
}

.disease_details {
    width: 100%
}

.disease_details textarea {
    height: 30px;
    width: 95%;
    padding: 0 5px;
}

/* CARD */
#diagnoseMassage, #diagnoseGrahas, #diagnoseOils {
    border: 1px solid gray;
    width: 100%;
}

#diagnoseMassage td, #diagnoseMassage th, #diagnoseGrahas td, #diagnoseGrahas th, #diagnoseOils td, #diagnoseOils th, #mineralsHand td, #mineralsHand th, #barkTable th, #barkTable td {
    border: 1px solid gray;
    padding: 2px 5px;

}

#barkTable th {
    text-align: center;
}

#barkTable td {
    height: 30px;
}

#barkTable select {
    height: 22px;
}

#barkTable td:nth-child(1) {
    width: 100px;
    text-align: center;
}

#barkTable td:nth-child(2) {
    width: 100px;
    padding: 3px 10px;
}

#barkTable td:nth-child(3) {
    width: 90px;
    text-align: center;
}

#barkTable td:nth-child(5) {
    width: 90px;
    text-align: center;
}

#diagnoseMassage td:nth-child(1) {
    width: 130px;
    font-style: italic;
}

#diagnoseMassage td:nth-child(2) {
    width: 300px;
}

#diagnoseGrahas td:nth-child(1) {
    width: 25px;
    text-align: center;
}

#diagnoseGrahas td:nth-child(2) {
    width: 100px;
    padding: 3px 10px;
}

#diagnoseGrahas td:nth-child(3) {
    width: 90px;
    text-align: center;
}

#diagnoseGrahas td:nth-child(5) {
    width: 90px;
    text-align: center;
}

#card_frontal span {
    text-decoration: underline;
    font-style: normal;
    padding-left: 20px;
}

#card_frontal div {
    margin: 15px;
}

#card_back table td {
    height: 10px;
    min-width: 40px;
    padding: 0px;;
}

#card_back {
    width: 600px;
}

#card_back th {
    text-align: center;
}

#card_diagnostics {
    width: 600px;

}

#card_diagnostics td {

}

#card_diagnostics table td {
    height: 40px;
    min-width: 20px;
    padding: 0px;;
    vertical-align: middle;
    text-align: center;
}

td.kapha_order, td.kapha_subchanel {
    width: 48px;
    font-size: x-small;
}

td.dhatu {
    width: 60px;
}

td.dhatu_direction {
    width: 30px
}

td.dhatu_overload, td.kapha_chanel {
    width: 20px;
}

td.dhatu_roots {
    width: 80px;
}

td.dhatu_roots > div {
    display: none;
}

td.dhatu_roots.rootNeeded.expert > div {
    display: block;
}

#card_diagnostics td.chanel_description {
    text-align: left;
    padding: 0px 5px;
    font-size: smaller;
}

#anamnesis {
    width: 600px;
}

#patient_complains, #patient_inspection, #card_minerals, #card_bark, #card_herbs, #card_spices {
    width: 600px;
}

#patient_complaints {
    width: 600px;
}

#patient_mkb10 {
    width: 600px;
}

#patient_treatment {
    width: 600px;
}

#editable_card input {
    line-height: inherit;
    font-size: 10px;
    border: 0px;
    width: auto;
    min-width: 60px;
}

#editable_card .cardEditor {
    text-decoration: underline;
    cursor: pointer;
    padding: 0px 5px;
}

#editable_card > div > span:first-of-type {

    margin-left: 30px;
}

.card_unselected {
}

.card_unselected a {
    color: #D4BAB0;
    font-weight: 800;
    cursor: pointer;
}

.card_unselected a:hover {
    color: dimgray;

}

#card_kapha_table .direction {

}

.dhatu_direction {
    background-image: url(/img/dhatu-none.png);
    background-repeat: no-repeat;
    background-position: center;
    float: left;
    width: 15px;
    height: 100%;
    cursor: pointer;
}

.dhatu_sign {
    background-image: url(/img/no-sign.png);
    background-repeat: no-repeat;
    background-position: center;
    float: right;
    width: 15px;
    height: 100%;
    cursor: pointer;
}

.direction_up .dhatu_direction, .direction_down tr:nth-of-type(4n-1) .dhatu_direction {
    background-image: url(/img/dhatu-up.png);
}

.direction_up tr:nth-of-type(4n-1) .dhatu_direction, .direction_down .dhatu_direction {
    background-image: url(/img/dhatu-down.png);
}

.sign_plus .dhatu_sign, .sign_minus tr:nth-of-type(4n-1) .dhatu_sign {
    background-image: url(/img/sign-plus.png);
}

.sign_plus tr:nth-of-type(4n-1) .dhatu_sign, .sign_minus .dhatu_sign {
    background-image: url(/img/sign-minus.png);
}

#patient_hand a, #patient_constitution a, #patient_number a, #patient_number_invers a {
    cursor: pointer;
}

.kapha_order select {
    border: 0px;
    font-size: inherit;
    width: 45px;
    margin: 0;
    padding: 0px;
}

.overloaded div {
    background-image: url("../img/glyphicons-halflings.png");
    background-position: -72px -144px;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    margin: auto;
    cursor: pointer;
}

.kapha_in .kapha_chanel {
    background: url("../img/kapha_in.png") center no-repeat;
}

.kapha_out .kapha_chanel {
    background: url("../img/kapha_out.png") center no-repeat;
}

.kapha_double .kapha_chanel {
    background: url("../img/kapha_double.png") center no-repeat;
}

.dhatu div {
    position: relative;
    top: -10px;
    font-size: larger;
    margin: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.dhatu div:first-of-type {
    width: 100%;
    height: 20px;
    cursor: pointer;
}

.dhatu .kapha_type_V {
    background-image: url("../img/type_vata.png");
}

.dhatu .kapha_type_P {
    background-image: url("../img/type_pita.png");
}

.dhatu .kapha_type_K {
    background-image: url("../img/type_kapha.png");
}

.kapha-vata {

}

/* MENU */
#leftMenu {

}

#leftMenu li.active > a {

    font-weight: 900;

}

/* DOCTOR */
tr.consultation_doctorPreConsul > td:first-child {
    background-color: rgba(200, 200, 200, 0.5);
}

tr.consultation_doctorLiveConsul > td:first-child {
    background-color: rgba(150, 220, 150, 0.5);
}

tr.consultation_doctorPostConsul > td:first-child {
    background-color: rgba(150, 150, 220, 0.5);
}

tr.consultation_firstConsultation > td:first-child {
    background-color: white;
}

#doctorsConsultations {
    display: block;
    width: 1000px;
    height: 450px !important;
    overflow-x: hidden;
    overflow-y: scroll;
}

#doctorsConsultations td {
    /*color: rgb(15, 125, 0)*/
    border: 2px solid lightgray;
    padding: 4px;
    height: 35px;
    width: 150px !important;
}

#doctorsConsultations th {
    border: 2px solid lightgray;
    background-color: lightgray;
    padding: 4px;
    height: 35px;
    width: 150px !important;
}

.docTimeActive, .arTimeActive {
    border: 2px solid #31d781;
    background-color: rgba(64, 220, 38, 0.20);
}

.docTimeHover {
    background-color: greenyellow;
}

.arTimeHover {
    background-color: rgba(243, 238, 191, 0.84);
}

#doctorsConsultations td.noConsultation {
    background-color: rgba(106, 25, 20, 0.20);
}

select.diagnoseSelect {
    width: auto;
    height: 26px;
    margin: 8px;
    padding: 0;
}

/*CALL MANAGER */
.pDelim {
    color: gray;
    font-size: xx-small;
    text-align: left;
    line-height: 5px;
    padding: 3px;
}

#CanBeTreated div {

}

table#callManagerList {
    table-layout: fixed;
    width: 100%;
    font-size: small;
}


table#callManagerList .editableTA  {
    font-size: small;
    word-wrap: break-word; /* All browsers since IE 5.5+ */
    overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
}
table#callManagerList .editableTA textarea {

    padding:0;
    margin:0;
    font-size:inherit;
    line-height: 20px;

}


table tbody td {
    word-wrap: break-word; /* All browsers since IE 5.5+ */
    overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
}

table#callManagerList thead th:nth-child(1) {
    width: 45px;
}

table#callManagerList thead th:nth-child(2) {
    width: 110px;
}

table#callManagerList thead th:nth-child(3) {
    width: 50px;
}

table#callManagerList thead th:nth-child(4) {
    width: 115px;
}

/*table#callManagerList thead th:nth-child(4){ width:110px;}*/
/*table#callManagerList thead th:nth-child(4){ width:80px;}*/
table#callManagerList thead th:nth-child(5) {
}

table#callManagerList thead th:nth-child(6) {
    width: 160px;
}

table#callManagerList thead th:nth-child(7) {
    width: 26px;
}

table#callManagerList thead th:nth-child(8) {
}

table#callManagerList thead th:nth-child(9) {
    width: 130px;
}

table#callManagerList thead th:nth-child(10) {
    width: 90px;
}

.c_email span, .c_phone span {
    display: none;
    /*white-space: nowrap;*/
}
.c_phone {
    font-size: larger;
}
.c_email,  .skype {
    font-size: smaller;
}

/* EXPERT */
#checkSafetyContainer div div {
    float: right;
    border: 1px solid #ffe4bc;
    margin: 5px;
    padding: 4px;
    min-height: 40px;
}

.center-block {

    display: block;
}

.skype {
    background: url(/img/skype_16.png) no-repeat center left;
    padding-left: 20px;
}

.xdsoft_datetimepicker {
    z-index: 10006;
}

#photogalery {
    /*width: 460px;*/
}

/* Registrators */
.isDownloadFile {
    border: 10px solid lightgray;
    border-radius: 10px;
    background-color: lightgray;
}

#registratorsFilter {
    text-align: center;
}

.centrate {
    text-align: center;
}

/* Doctor consultation */
.consultationStatus_0 td {
    background-color: #9393a2;
}
.consultationStatus_1 td {
    background-color: transparent;
}

.consultationStatus_2 td {
    background-color: rgba(255,190,190,0.4);
}
.consultationStatus_5 td {
    background-color: rgba(125, 235, 125,0.4);

}
.consultationStatus_9 td {
    background-color: rgba(80,130,160,0.3);
}





/*Consultant*/
.consultationStatus_new {
    background-color: rgba(250, 236, 210, 0.65)
}

.c_card a {
    cursor: pointer;
}

#consultantAdd table tr td {
    border-top: 1px solid #e9e9ff;
    padding: 5px 5px 0px 5px;
}

#consultantAdd table tr:hover {
    background-color: lightblue;
}

#ConsultantsSelector {
    margin: 10px;
}

#consultantEvents tr td div.c_name {
    font-weight: bold;
}

#ConsultantsSelector div {
    display: inline;
    border: 1px solid lightblue;

    padding: 4px;
    margin: 4px;
}

#consultantEvents {
    border-radius: 10px;
    border: 1px solid black;
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;

}

#consultantEvents td {
    border-top: 1px solid black;
}

#consultantEvents .consultantDate {
    height: 30px;
    background-color: #f49463;
    text-align: center;
    margin: 100px 0px 10px 0px;
}

#consultantEvents td {
    width: auto;
}

#consultantEvents .consultationPatient div {

}

#consultantEvents .consultantEvent {
    height: 70px;
}

#consultantEvents .consultationTime {
    font-weight: bold;
    margin: 25px;
    text-align: center;

}

/* TIMETABLE */
input#TT_val {

}

.tt_control {
    width: 860px;
    text-align: center;
}

input.timepicker_input {
    background: url(/img/time_bg.png) no-repeat center left;
    background-color: white;
    border: 1px solid #CCC;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    padding: 2px 3px 2px 35px;
    font-size: larger;
    height: 30px;
    line-height: 20px;
    display: inline-block;
    color: #555;
    vertical-align: middle;
    width: 200px;
    margin-right: 5px;
    cursor: pointer;
}

div#TT_conteiner .TT_cell:hover {
    color: #f49100;
}

div#TT_conteiner .TTdi:hover {
    color: #bbb;
}

div#TT_conteiner .TTdi {
    color: #bbb;
    cursor: not-allowed;
    -webkit-transition: background 0.5s ease-in-out;
    -moz-transition: background 0.5s ease-in-out;
    -ms-transition: background 0.5s ease-in-out;
    transition: background 0.1s ease-in-out;
}

div#TT_conteiner .TTopen {
    border: 1px green solid;
    background-color: greenyellow
}

div#TT_conteiner .TTen {
    background: blue;
    color: #fff;
}

.timepicker-span {
    position: relative;
}

#TT_conteiner {
    width: 860px;
    height: auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.TT_col {
    width: 120px;
    float: left;
    margin-right: 5px;
}

.TT_cell {
    text-align: center;
    width: 120px;
    float: left;
    padding: 3px 5px;
    margin: 2px;
    color: #333;
    border: 1px lightgray solid;
    text-decoration: none;
    border-radius: 3px;
}

/* OTHER */
.present_in_pack {
    color: green;
}

.present_in_pack label {
    font-weight: bold;
}

#prescribe_form div label {
    width: 80%;
    display: inline;
}

.prescription_div:first-child {
    text-align: center;
}

.prescription_div {
    width: 570px;
    float: left;
    background-color: #F4C430;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 10px;
    background: rgba(245, 125, 215, 0.2);
    padding: 5px;
    margin: 5px;

    /*disable mouse select*/
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    /* text-align: center;*/
}

.prescription_div label {

}

#prescribe_form select {
    width: auto;
}

#prescribe_form {

    /*FIXED POSITION*/
    padding: 0px;
    /*  position: fixed;*/
    height: auto;
    width: auto;
    right: 0px;
    top: 50px;
    /* margin-left: -300px; half the width*/

}

#prescribe_form div {
    padding-top: 1px;
    /*border: solid black 1px;*/

}

.like_pre {
    white-space: pre;
    display: block;
    unicode-bidi: embed
}

tr.u_status_19 {
    color: forestgreen;
}

tr.u_status_14 {
    color: darkslateblue;
}

tr.u_status_15 {
    color: darkslateblue;
    font-weight: bold;
}

tr.u_status_10 {
    color: #000000;
    font-weight: bold;
}

.dialog_title {
    font-size: x-large;
    font-family: fantasy;
    padding-bottom: 10px;
}

.consultant_selection {
    cursor: pointer;
    padding-left: 20px;

}

.consultant_selection:hover {
    background-color: lightyellow;
    padding-left: 30px;
    background: url(/img/arrow_right.png) no-repeat;
}

.button.b-close, .button.bClose {
    border-radius: 7px 7px 7px 7px;
    box-shadow: none;
    font: bold 131% sans-serif;
    padding: 0 6px 2px;
    position: absolute;
    right: -7px;
    top: -7px;
}

.button {
    background-color: #2b91af;
    border-radius: 10px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background-color: #1e1e1e
}

#accept_dialog {
    background-color: #fff;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 25px 5px #999;
    color: #111;
    display: none;
    min-width: 450px;
    min-height: 250px;
    padding: 25px;
}

.pDialog {
    background-color: #fff;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 25px 5px #999;
    color: #111;
    display: none;
    min-width: 450px;
    min-height: 250px;
    padding: 25px;
}

.answer_cont {
    width: auto;
    margin-right: 50px;
}

.answer_msg {
    background-color: lightgoldenrodyellow;
    border: 2px solid;
    border-radius: 25px;
    width: auto;
    text-align: center;
    display: inline-block;
    padding: 0px 10px;
    float: right;
    margin-bottom: 10px;
    opacity: 0.6;
}

.answer_msg tbody tr:hover > td {
    background-color: lightgoldenrodyellow;
}

.get_answer_btn {
    cursor: pointer;
    float: right;
    background: url(/img/pan_down.png) no-repeat;
    height: 28px;
    width: 28px;
}

.get_picture_btn {
    cursor: pointer;
    float: right;
    background: url(/img/picture_down.png) no-repeat;
    height: 52px;
    width: 50px;
}

.answer_msg div {
    height: auto;
}

.question_msg {
    text-decoration: underline;
    font-size: x-small;
    color: darkgray;
}

#user_card .col1 {
    font-weight: bolder;
}

.control_td {
    overflow-x: hidden;
    white-space: nowrap;
}

.amrita_button {
    border: none;
    background-color: transparent;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    background-position: center;
}

.amrita_button:hover {
    background-position: top;
}

/*BUTTONS*/
.button_card {
    background-image: url(/img/icons/card.png);
}
.button_seeds {
    background-image: url(/img/icons/seeds.jpeg);

    background-size: 30px 30px;
}

.button_delete {
    background-image: url(/img/icons/delete.png);
}

.button_next {
    background-image: url(/img/icons/next.png);
}

.button_add_conult {
    background-image: url(/img/icons/add_consult.png);
}

.button_accept {
    background-image: url(/img/icons/face_ok_32.png);
}

.button_user_time {
    background-image: url(/img/icons/user_time.png);
}

.button_prescribe {
    background-image: url(/img/icons/prescribe.png);
}

.button_consultation {
    background-image: url(/img/icons/consultation.png);
}

.button_cancel {
    background-image: url(/img/icons/members_cancel_32.png);
}

.button_connect {
    background-image: url(/img/icons/connect.png);
}

.button_delivery {
    background-image: url(/img/icons/delivery.png);
}

.successMessage {
    color: green;
    font-weight: 600;
    padding: 15px;
}

.noticeMessage {
    color: blue;
    font-weight: 600;
    padding: 15px;
}

.errorMessage {
    color: red;
    font-weight: 600;
    padding: 15px;
}

.headerSortDown span {
    background-image: url("../img/glyphicons-halflings.png");
    background-position: -312px -96px;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
}

.headerSortUp span {
    background-image: url("../img/glyphicons-halflings.png");
    background-position: -289px -96px;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
}

#photos {

    /*float: left;*/
    padding-bottom: 70px;
}

#privateConteiner {
    width: 99%;

}

.container {
    width: 90%;
    /* background-color: lightgray;*/
}

#main_image_conteiner {
    max-width: 600px;
    max-height: 800px;
    float: right;
    border: 1px solid rgba(248, 217, 192, 0.3);
}

#image_list_conteiner {
    width: 100%;

}

#image_list_conteiner li {
    float: left;
    padding: 0;
    margin: 5px 10px 5px 0;
    list-style: none;
    background-color: #fff;
    margin: 2px;

}

#image_list_conteiner img {
    border: none;
    display: block;
    text-decoration: none;
    color: #777;
}

#validate_form select {
    width: auto;
}

#vallidate {
    margin: 0 auto;
}

#validate tr td:last-child {
    text-align: center;
}

#vallidate_table {
    width: 100%;
}

div.remember {
    margin-top: 7px;
    color: #969696;
}

div.remember label {
    padding-top: 15px;
}

div.forgot {
    margin-top: 7px;
    color: #dadada;
}

footer {
    background: #d1d1ff;
    color: #B7B7B7;
    font-size: 12px;
    padding: 30px 0;
    text-align: center;
}

footer a {
    margin-left: 10px;
    margin-right: 10px;
}

table.signup td {
    padding: 10px;
}

table.signup .alert {
    margin-bottom: 0;
    margin-top: 3px;
}

table.perms select {
    margin-top: 5px;
    margin-right: 10px;
}

table.perms label {
    margin-right: 10px;
}

div.main-container {
    min-height: 450px;
}

/*CONTROLLER*/

div#TT_controler .TT_cell:hover {
}

div#TT_controler .TTdi:hover {
    color: #bbb;
}

div#TT_controler .TTdi {
    color: #bbb;

}

div#TT_controler .TTen {
    border: 1px green solid;
    background-color: greenyellow
}

div#TT_controler .TTactive {
    background: blue;
    color: #fff;
}

div#TT_controler .TT_col {
    width: 150px;
    float: left;

    margin-right: 5px;

}

div#TT_controler .TT_col:first-of-type {
    width: 70px;
    float: left;

    margin-right: 5px;

}

div#TT_controler .TT_cell {
    text-align: center;
    width: 100%;
    float: left;
    padding: 3px 5px;
    margin: 2px;
    color: #333;
    border: 1px lightgray solid;
    text-decoration: none;
    border-radius: 8px;
    height: 65px;
    line-height: 58px;
    overflow-y: hidden;
}

div#TT_controler .TT_bar {
    vertical-align: middle;
    font-size: 20px;
    text-align: center;
    width: 100%;
    float: left;
    padding: 3px 5px;
    margin: 2px;
    color: #333;
    background-color: #fafada;
    border: 1px lightgray solid;
    text-decoration: none;
    border-radius: 3px;
    height: 65px;
    line-height: 58px;
}

div#TT_controler .small_title {
    font-size: xx-small;
    color: white;
    display: none;
}

div#TT_controler .small_title:hover {
    background-color: lightblue;
    color: red;
}

div#TT_controler .TTremConsultant:hover {
    background-color: aliceblue;
}

div#TT_controler .TTremConsultant {
    float: right;
    width: 20px;
    cursor: pointer;
    margin: 4px;
    height: 20px;
    border-radius: 5px;
    background: url(/img/minus_20.png) no-repeat;
    background-position: right;
    background-color: lightblue;
    border: 1px solid lightblue;
}

div#TT_controler .TTconsultant {
    height: 30px;
    border-radius: 5px;
    background-color: #dfd;
    border: 1px solid green;
}

div#TT_controler .TTpatient:hover {

    background-color: lightyellow;
}

div#TT_controler .TTpatient {
    margin: 4px;
    height: 20px;
    width: 20px;
    border-radius: 5px;
    background: url(/img/add_user_20.png) no-repeat;
    background-position: right;

}

div#TT_controler .TTpatientRem:hover {
    background-color: lightyellow;
    border-color: lightblue;
}

div#TT_controler .TTpatientRem {
    width: 75%;
    height: 27px;
    line-height: normal;
    margin: 0px 6px;
    border: 1px solid white;
    border-radius: 5px;
    padding: 0px 0px 0px 20px;
    font-size: smaller;
    text-align: left;
    background: url(/img/rem_user_20.png) no-repeat #ddddfa;
    background-position: left;
}

#patientsWithoutConsultation {
    display: none;
}

.TTaddConsultant {
    background: url(/img/add_20.png) no-repeat;
    background-position: center;
    height: 20px;
    text-align: center;
    border-radius: 5px;
}

.TTaddConsultant:hover {
    background-color: lightgoldenrodyellow;

}

div#TT_controler .TT_day_title {
    font-size: larger;
    border-radius: 10px;
    border: 1px solid pink;
    background-color: lightgoldenrodyellow;
    cursor: default;
    text-align: center;
}

html, body {
    height: 100%;
}

/* GALLERY STYLE AND POPUP */
body {
    -webkit-backface-visibility: hidden;
}

html {
    overflow-y: scroll
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #5A6064
}

pre, code {
    tab-size: 4
}

p {
    margin: 0 0 11px
}

ul {
    list-style: disc
}

ul, ol {
    padding: 0;
    margin: 0 0 11px 25px
}

li {
    line-height: 22px;
    margin: 0 0
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 400;
    text-rendering: optimizelegibility;
    color: #282B30;
    font-family: Calibri, "PT Sans", "Trebuchet MS", 'Helvetica Neue', Arial
}

.mfp-preloader {
    font-size: 13px
}

img {
    border: 0
}

h1 {
    margin-bottom: 5px
}

.get-code-window {
    position: relative;
    background: #FFF;
    padding: 2em 3em;
    width: auto;
    margin: 20px auto;
    max-width: 600px
}

#magnific_popup_documentation {
    font-size: 3em;
    margin-bottom: 1em;
    font-weight: 700;
    text-align: center
}

h2 {
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: .3em;
    border-bottom: 1px solid #DDD;
    padding-bottom: .2em;
    font-size: 1.8em
}

h3 {
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 12px;
    margin-top: 20px
}

h4 {
    margin-bottom: 5px
}

a:hover {
    color: #C00;
    text-decoration: underline
}

body {
    background: #dfdfef
}

.grid-c h3 {
    margin-top: 0
}

.grid-c {
    clear: both
}

.grid-c p {
    margin-bottom: .5em
}

.grid-c {
    overflow: hidden;
    margin: 0 -1em
}

.gc3 {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 50%;
    float: left;
    padding: 1em;
    overflow: hidden
}

.grid-c .gc3:nth-of-type(2n+1) {
    clear: left
}

#logo {
    height: 150px;
    text-align: center;
    position: relative;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    padding: 0 3em;
    margin-left: -3em;
    cursor: pointer;
    margin-top: 50px;
    margin-bottom: 50px
}

#broken-glass {
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%
}

#logo:active h1 {
    top: 1px
}

#logo h1 {
    margin-top: 27px;
    font-size: 63px;
    line-height: 1.4;
    top: 0
}

#logo h1 {
    text-align: center;
    font-weight: 700;
    width: 100%;
    color: #000;
    position: absolute;
    left: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: pointer
}

h2.intro {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
    border: 0;
    margin-top: 0
}

#header-links {
    font-size: 16px
}

#magnific_popup_docs {
    display: none
}

.maruku_toc {
    position: fixed;
    left: 0;
    top: 50px;
    padding: 20px;
    background: rgba(255, 255, 255, .71);
    -webkit-backface-visibility: hidden
}

.maruku_toc ul {
    list-style: none
}

.maruku_toc ul ul {
    display: none
}

.maruku_toc:before {
    content: 'Table of contents';
    font-weight: 700;
    display: block;
    margin-bottom: 10px
}

@media all and (max-width: 75em) {
    .maruku_toc {
        position: static;
        padding: 0;
        background: 0
    }
}

.maruku_toc a {
    text-decoration: none;
    border-bottom: 1px dotted
}

.maruku_toc ul {
    margin: 0;
    padding: 0
}

.maruku_toc .active a {
    text-decoration: none;
    color: #666
}

code, pre {
    font-family: Consolas, "Liberation Mono", Courier, monospace
}

code {
    background: #F8F8F8;
    padding: .1em .4em;
    color: #c82829;
    font-size: 13px
}

pre {
    background: 0;
    line-height: 18px;
    overflow: auto;
    padding: 20px 25px;
    border-radius: 2px
}

pre code {
    border: 0;
    padding: 0;
    background: 0;
    color: #000;
    font-size: 13px
}

.highlight {
    position: relative;
    margin-bottom: .5em;
    margin-left: -1.5em;
    width: 100%;
    padding: 0 1.5em;
    background-color: #F5FAFC
}

pre code:before {
    display: block;
    position: absolute;
    right: 3px;
    top: 6px;
    padding: 3px 7px 0;
    color: #889499;
    font-size: 12px;
    line-height: 13px
}

code.html:before {
    content: 'HTML'
}

code.javascript:before {
    content: 'JS'
}

code.css:before {
    content: 'CSS'
}

#main-wrapper {
    background: 0;
    max-width: 800px;
    width: 100%;
    margin: 2em auto 4em;
    padding: 3em;
    padding-top: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative
}

.white-popup-block {
    background: #FFF;
    padding: 20px 30px;
    text-align: left;
    max-width: 650px;
    margin: 40px auto;
    position: relative
}

#examples:after {
    content: 'to view source click on the title of example';
    opacity: .4;
    font-weight: 400;
    font-size: 14px;
    margin-top: 13px;
    float: right
}

.example {
    margin-bottom: 20px;
    position: relative
}

.example h3 {
    display: inline-block;
    cursor: pointer;
    border-bottom: 1px dotted #949494
}

.example h3:hover {
    color: #C00
}

.example h3:hover:after {
    content: 'view source';
    padding-left: 8px;
    color: #999;
    position: absolute;
    top: 16px;
    font-family: Consolas, "Liberation Mono", Courier, monospace;
    font-size: 12px
}

.square-tmb {
    margin: 0 10px 0 0;
    cursor: pointer
}

.zoom-cursor {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in
}

.example a, a.popup-link {
    text-decoration: none;
    border-bottom: 1px dotted
}

.example a:hover, a.popup-link:hover {
    text-decoration: none
}

.example a {
    line-height: 26px
}

.example p a {
    text-decoration: underline;
    border: 0;
    line-height: 1.6
}

#image-gallery a, #single-image {
    border-bottom: 0
}

.not-ready-yet-notice {
    padding: 20px;
    background: #EEE
}

#footer {
    border-top: 1px solid #DDD;
    padding-top: 3em;
    margin: 5em 0 0;
    width: 100%;
    text-align: center;
    opacity: .9
}

#conditional-lightbox-notice {
    display: none
}

#logo-status {
    opacity: 0;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    transition: opacity .5s;
    width: 100%;
    text-align: center
}

#logo-status.down {
    opacity: 1
}

.grid-of-images a {
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
    border-bottom: 0;
    height: 75px;
    display: block;
    float: left;
    margin: 0 5px 5px 0;
    width: 75px
}

.grid-of-images a:hover {
    opacity: .9
}

h3 em {
    opacity: .3
}

code.def {
    padding: 0;
    background: #FFF;
    border: 0;
    display: block;
    margin-bottom: 8px;
    margin-top: -10px;
    color: #A3A3A3
}

@media all and (max-width: 50em) {
    #logo h1 {
        font-size: 52px;
        margin-top: 36px
    }
}

@media all and (max-width: 30em) {
    #examples:after {
        display: none
    }

    .gc3 {
        width: 100%
    }

    .grid-c .gc3:nth-of-type(2n+1) {
        clear: none
    }

    #main-wrapper {
        padding: 1em;
        margin-top: 0
    }

    .highlight {
        padding: .2em 1em;
        margin: 1em -1em
    }

    #logo {
        height: 95px;
        width: 100%;
        padding: 0;
        margin: 0 auto;
        margin-top: 0;
        margin-bottom: 2em
    }

    #logo h1 {
        font-size: 32px;
        margin-top: 23px
    }

    h2.intro {
        font-size: 20px
    }
}

@media all and (max-width: 700px) {
    .zoom-cursor {
        cursor: pointer
    }

    #conditional-lightbox-notice {
        display: block;
        padding: 10px;
        background: #FFEAEA
    }
}

#logo-overlay {
    width: 100%;
    height: 75px
}

#logo-overlay {
    opacity: 1;
    background: red;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0
}

#mfp-build-tool {
    background: #FFF;
    padding: 30px 40px 40px;
    max-width: 500px;
    text-align: left;
    margin: 10px auto;
    position: relative
}

#mfp-build-tool h2 {
    margin-top: 0;
    margin-bottom: .7em
}

#mfp-build-form label {
    display: block;
    margin-bottom: 5px;
    min-height: 18px;
    padding-left: 18px
}

#mfp-build-form input[type=checkbox] {
    margin: 3px 0;
    line-height: normal;
    cursor: pointer;
    width: auto;
    margin-right: 5px;
    float: left;
    margin-left: -18px
}

#mfp-build-status {
    min-height: 40px
}

#mfp-build-status .error {
    color: #830C0C
}

#mfp-build-status .success {
    color: #014B04
}

#mfp-build-status .progress {
    color: #000
}

#smashing {
    text-align: center;
    font-weight: 700
}

#smashing a {
    color: #EF4A35
}

#smashing a:hover {
    color: #FF9369
}

#smashing strong {
    color: #EF4A35
}

.smashing-link {
    margin-left: 29px;
    position: relative
}

.smashing-link:before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(http://dimsemenov.com/images/sm-logo-24x24.png);
    position: absolute;
    top: -4px;
    left: -28px
}

#hackernews {
    margin-left: 24px
}

#hackernews:before {
    background: url(http://dimsemenov.com/images/hn-logo-18x18.gif);
    width: 18px;
    height: 18px;
    top: -1px;
    left: -22px
}

.share-buttons {
    text-align: center
}

.share-buttons h2 {
    text-align: center;
    border: 0
}

.share-buttons {
    position: relative;
    margin: 70px 0
}

.share-buttons a {
    -moz-border-radius: 2px;
    border-radius: 2px;
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    color: #FFF;
    text-decoration: none;
    background: #5AAF63;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer
}

.share-buttons a:hover {
    opacity: .7
}

#tweet {
    background: #0096c4
}

#like {
    background: #3b5998
}

#gplus {
    background: #d34836
}

#vkcom {
    background: #6e8fb1
}

pre .comment, pre .template_comment, pre .diff .header, pre .javadoc {
    color: #998;
    font-style: italic
}

pre .keyword, pre .css .rule .keyword, pre .winutils, pre .javascript .title, pre .nginx .title, pre .subst, pre .request, pre .status {
    color: #333;
    font-weight: 700
}

pre .number, pre .hexcolor, pre .ruby .constant {
    color: #099
}

pre .string, pre .tag .value, pre .phpdoc, pre .tex .formula {
    color: #D01040
}

pre .title, pre .id {
    color: #900;
    font-weight: 700
}

pre .javascript .title, pre .lisp .title, pre .clojure .title, pre .subst {
    font-weight: 400
}

pre .class .title, pre .haskell .type, pre .vhdl .literal, pre .tex .command {
    color: #458;
    font-weight: 700
}

pre .tag, pre .tag .title, pre .rules .property, pre .django .tag .keyword {
    color: navy;
    font-weight: 400
}

pre .attribute, pre .variable, pre .lisp .body {
    color: teal
}

pre .regexp {
    color: #009926
}

pre .class {
    color: #458;
    font-weight: 700
}

pre .symbol, pre .ruby .symbol .string, pre .lisp .keyword, pre .tex .special, pre .prompt {
}

pre .built_in, pre .lisp .title, pre .clojure .built_in {
    color: #0086b3
}

pre .preprocessor, pre .pi, pre .doctype, pre .shebang, pre .cdata {
    color: #999;
    font-weight: 700
}

pre .deletion {
    background: #fdd
}

pre .addition {
    background: #dfd
}

pre .diff .change {
    background: #0086b3
}

pre .chunk {
    color: #aaa
}

#documentation-intro {
    background: #2b2b2b;
    text-align: center;
    padding: 3em;
    width: 100%;
    margin-left: -3em;
    margin-bottom: 3em
}

#documentation-intro h1 {
    color: #FFF;
    width: 100%;
    text-align: center;
    font-size: 44px;
    line-height: 1.1em
}

#id1 {
    display: none
}

#documentation-intro h1 a {
    text-decoration: none;
    color: #FFF
}

#documentation-intro p a {
    font-size: 15px;
    color: #7CB5FF
}

#documentation-intro a:hover {
    opacity: .75;
    text-decoration: underline
}

.hll {
    background-color: #ffc
}

.c {
    color: #998;
    font-style: italic
}

.err {
    color: #a61717;
    background-color: #e3d2d2
}

.k {
    color: #000;
    font-weight: 700
}

.o {
    color: #000;
    font-weight: 700
}

.cm {
    color: #998;
    font-style: italic
}

.cp {
    color: #999;
    font-weight: 700;
    font-style: italic
}

.c1 {
    color: #998;
    font-style: italic
}

.cs {
    color: #999;
    font-weight: 700;
    font-style: italic
}

.gd {
    color: #000;
    background-color: #fdd
}

.ge {
    color: #000;
    font-style: italic
}

.gr {
    color: #a00
}

.gh {
    color: #999
}

.gi {
    color: #000;
    background-color: #dfd
}

.go {
    color: #888
}

.gp {
    color: #555
}

.gs {
    font-weight: 700
}

.gu {
    color: #aaa
}

.gt {
    color: #a00
}

.kc {
    color: #000;
    font-weight: 700
}

.kd {
    color: #000;
    font-weight: 700
}

.kn {
    color: #000;
    font-weight: 700
}

.kp {
    color: #000;
    font-weight: 700
}

.kr {
    color: #000;
    font-weight: 700
}

.kt {
    color: #458;
    font-weight: 700
}

.m {
    color: #099
}

.s {
    color: #d01040
}

.na {
    color: teal
}

.nb {
    color: #0086b3
}

.nc {
    color: #458;
    font-weight: 700
}

.no {
    color: teal
}

.nd {
    color: #3c5d5d;
    font-weight: 700
}

.ni {
    color: purple
}

.ne {
    color: #900;
    font-weight: 700
}

.nf {
    color: #900;
    font-weight: 700
}

.nl {
    color: #900;
    font-weight: 700
}

.nn {
    color: #555
}

.nt {
    color: navy
}

.nv {
    color: teal
}

.ow {
    color: #000;
    font-weight: 700
}

.w {
    color: #bbb
}

.mf {
    color: #099
}

.mh {
    color: #099
}

.mi {
    color: #099
}

.mo {
    color: #099
}

.sb {
    color: #d01040
}

.sc {
    color: #d01040
}

.sd {
    color: #d01040
}

.s2 {
    color: #d01040
}

.se {
    color: #d01040
}

.sh {
    color: #d01040
}

.si {
    color: #d01040
}

.sx {
    color: #d01040
}

.sr {
    color: #009926
}

.s1 {
    color: #d01040
}

.ss {
    color: #990073
}

.bp {
    color: #999
}

.vc {
    color: teal
}

.vg {
    color: teal
}

.vi {
    color: teal
}

.il {
    color: #099
}

.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: .8;
    filter: alpha(opacity=80)
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: 0 !important;
    -webkit-backface-visibility: hidden
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle
}

.mfp-align-top .mfp-container:before {
    display: none
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto
}

.mfp-ajax-cur {
    cursor: progress
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in
}

.mfp-auto-cursor .mfp-content {
    cursor: auto
}

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.mfp-loading.mfp-figure {
    display: none
}

.mfp-hide {
    display: none !important
}

.mfp-preloader {
    color: #ccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -.8em;
    left: 8px;
    right: 8px;
    z-index: 1044
}

.mfp-preloader a {
    color: #ccc
}

.mfp-preloader a:hover {
    color: #fff
}

.mfp-s-ready .mfp-preloader {
    display: none
}

.mfp-s-error .mfp-content {
    display: none
}

button.mfp-close, button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: 0;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none
}

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: .65;
    padding: 0 0 18px 10px;
    color: #fff;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace
}

.mfp-close:hover, .mfp-close:focus {
    opacity: 1
}

.mfp-close:active {
    top: 1px
}

.mfp-close-btn-in .mfp-close {
    color: #333
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    color: #fff;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #ccc;
    font-size: 12px;
    line-height: 18px
}

.mfp-arrow {
    position: absolute;
    opacity: .65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.mfp-arrow:active {
    margin-top: -54px
}

.mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1
}

.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent
}

.mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px
}

.mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px
}

.mfp-arrow-left {
    left: 0
}

.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #fff;
    margin-left: 31px
}

.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3f3f3f
}

.mfp-arrow-right {
    right: 0
}

.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #fff;
    margin-left: 39px
}

.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3f3f3f
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px
}

.mfp-iframe-holder .mfp-close {
    top: -40px
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
    background: #000
}

img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 0;
    margin: 0 auto
}

.mfp-figure {
    line-height: 0
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
    background: #444
}

.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #f3f3f3;
    word-wrap: break-word;
    padding-right: 36px
}

.mfp-image-holder .mfp-content {
    max-width: 100%
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0
    }

    .mfp-img-mobile .mfp-figure {
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, .6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
    }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0
    }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, .6);
        position: fixed;
        text-align: center;
        padding: 0
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75)
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px
    }
}

.mfp-ie7 .mfp-img {
    padding: 0
}

.mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px
}

.mfp-ie7 .mfp-container {
    padding: 0
}

.mfp-ie7 .mfp-content {
    padding-top: 44px
}

.mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0
}

/* TABLESORTER */
/*************
  Bootstrap 2 Theme
 *************/
/* jQuery Bootstrap 2 Theme */
.tablesorter-bootstrap {
    width: 100%;
}

.tablesorter-bootstrap .tablesorter-header,
.tablesorter-bootstrap tfoot th,
.tablesorter-bootstrap tfoot td {
    font: bold 14px/20px Arial, Sans-serif;
    position: relative;
    padding: 8px;
    margin: 0 0 18px;
    list-style: none;
    background-color: #FBFBFB;
    background-image: -moz-linear-gradient(top, white, #efefef);
    background-image: -ms-linear-gradient(top, white, #efefef);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#efefef));
    background-image: -webkit-linear-gradient(top, white, #efefef);
    background-image: -o-linear-gradient(top, white, #efefef);
    background-image: linear-gradient(to bottom, white, #efefef);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#efefef', GradientType=0);
    background-repeat: repeat-x;
    -webkit-box-shadow: inset 0 1px 0 white;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 white;
}

.tablesorter-bootstrap .tablesorter-header {
    cursor: pointer;
}

.tablesorter-bootstrap .tablesorter-header-inner {
    position: relative;
    padding: 4px 18px 4px 4px;
}

/* bootstrap uses <i> for icons */
.tablesorter-bootstrap .tablesorter-header i {
    position: absolute;
    right: 2px;
    top: 50%;
    margin-top: -7px; /* half the icon height; older IE doesn't like this */
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    line-height: 14px;
    display: inline-block;
}

/* black unsorted icon */
.tablesorter-bootstrap .bootstrap-icon-unsorted {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWVJREFUeNqUUL9Lw2AUTGP8mqGlpBQkNeCSRcckEBcHq1jImMElToKuDvpHFMGhU0BQcHBwLji6CE1B4uB/INQsDi4d2jQ/fPeZxo764OV6915f7lLJ81xot9tCURXqdVEUr7IsO6ffH9Q5BlEUCaLwWxWqTcbYnaIoh0Dw4gAvcWlxq1qt9hqNxg6hUGAP+uIPUrGs0qXLer2+v/pTX6QpxLtkc2U2m53ACb8sSdIDXerSEms2m6+DweAICA4d89KGbduf9MpEVdXQ9/2LVqv1CASHjjn3iq/x1xKFfxQPqGnada1W86bT6SiO42OS3qk3KPStLMvbk8nkfjwen/LLuq6blFymMB0KdUPSGhAcOualjX6/f0bCiC7NaWGPQr0BwaFjzn0gYJqmLAiCA8/zni3LmhuGkQPBoWPOPwQeaPIqD4fDruu6L6Zp5kBw6IudchmdJAkLw3DXcZwnIPjy/FuAAQCiqqWWCAFKcwAAAABJRU5ErkJggg==);
}

/* white unsorted icon */
.tablesorter-bootstrap .icon-white.bootstrap-icon-unsorted {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOBAMAAAALT/umAAAAKlBMVEUAAAD///////////////////////////////////////////////////+Gu8ovAAAADXRSTlMA4EXKBtQqvR0+sxmalc142gAAAFdJREFUCNdjYGDoamAAAjZbMxCVfvd6AgMDd+3du9UMDKx3hWSvMjBwXZww8RYDGuC53NB8h4GB8a617UUGBs7Yu3cjGRhYVO9eVQFKOskKOQApFmUgBwBZ+xXRTttNdAAAAABJRU5ErkJggg==);
}

/* since bootstrap (table-striped) uses nth-child(), we just use this to add a zebra stripe color */
.tablesorter-bootstrap tr.odd td {
    background-color: #f9f9f9;
}

.tablesorter-bootstrap tbody > .odd:hover > td,
.tablesorter-bootstrap tbody > .even:hover > td {
    background-color: #f5f5f5;
}

.tablesorter-bootstrap tr.even td {
    background-color: #fff;
}

/* processing icon */
.tablesorter-bootstrap .tablesorter-processing {
    background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=');
    position: absolute;
    z-index: 1000;
}

/* caption */
caption {
    background: #fff;
}

/* filter widget */
.tablesorter-bootstrap .tablesorter-filter-row .tablesorter-filter {
    width: 98%;
    margin: 0 auto;
    padding: 4px 6px;
    background-color: #fff;
    color: #333;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: height 0.1s ease;
    -moz-transition: height 0.1s ease;
    -o-transition: height 0.1s ease;
    transition: height 0.1s ease;
}

.tablesorter-bootstrap .tablesorter-filter-row .tablesorter-filter.disabled {
    background: #eee;
    cursor: not-allowed;
}

.tablesorter-bootstrap .tablesorter-filter-row td {
    background: #eee;
    line-height: normal;
    text-align: center;
    padding: 4px 6px;
    vertical-align: middle;
    -webkit-transition: line-height 0.1s ease;
    -moz-transition: line-height 0.1s ease;
    -o-transition: line-height 0.1s ease;
    transition: line-height 0.1s ease;
}

/* hidden filter row */
.tablesorter-bootstrap .tablesorter-filter-row.hideme td {
    padding: 2px; /* change this to modify the thickness of the closed border row */
    margin: 0;
    line-height: 0;
}

.tablesorter-bootstrap .tablesorter-filter-row.hideme .tablesorter-filter {
    height: 1px;
    min-height: 0;
    border: 0;
    padding: 0;
    margin: 0;
    /* don't use visibility: hidden because it disables tabbing */
    opacity: 0;
    filter: alpha(opacity=0);
}

/* rows hidden by filtering (needed for child rows) */
.tablesorter .filtered {
    display: none;
}

/* pager plugin */
.tablesorter-bootstrap .tablesorter-pager select {
    padding: 4px 6px;
}

.tablesorter-bootstrap .tablesorter-pager .pagedisplay {
    border: 0;
}

/* ajax error row */
.tablesorter .tablesorter-errorRow td {
    text-align: center;
    cursor: pointer;
    background-color: #e6bf99;
}

/*
.amrita_button {
    border-top: 1px solid #96d1f8;
    background: #65d676;
    background: -webkit-gradient(linear, left top, left bottom, from(#4e9c3e), to(#65d676));
    background: -webkit-linear-gradient(top, #4e9c3e, #65d676);
    background: -moz-linear-gradient(top, #4e9c3e, #65d676);
    background: -ms-linear-gradient(top, #4e9c3e, #65d676);
    background: -o-linear-gradient(top, #4e9c3e, #65d676);
    padding: 9px 18px;
    -webkit-border-radius: 17px;
    -moz-border-radius: 17px;
    border-radius: 17px;
    -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
    -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
    box-shadow: rgba(0,0,0,1) 0 1px 0;
    text-shadow: rgba(0,0,0,.4) 0 1px 0;
    color: #000000;
    font-size: 18px;
    font-family: Georgia, Serif;
    text-decoration: none;
    vertical-align: middle;
}
.amrita_button:hover {
    border-top-color: #3b9446;
    background: #3b9446;
    color: #ccc;
}
.amrita_button:active {
    border-top-color: #9ac6e3;
    background: #9ac6e3;
}*/

/* INTERFACE */
.infoContainer {
    margin: 20px 10px 15px 10px;
    padding: 15px;
    border: 4px solid lightblue;
    border-radius: 10px;
}

div.infoContainer table tr td {
    padding: 2px 10px;
}



table#mineralsHand {
    border: 1px solid gray;
    width: 100%;
    text-align: center;
}

#mineralsHand td {
    height: 104px;
}

.bigCardEditor {
    white-space: pre ;
    display: block;
    unicode-bidi: embed;
    height: 100%;
    padding: 2px 5px;
    text-align: left;
}
.bigCardEditor textarea {
    height:100%;
}
.bigCardEditor {
    height:100%;
    display: block;
}
.bigCardEditor form {
    height:100%;
}

table#mineralsHand select {
    width: auto;
    margin: 0;
    padding: 0;
    height: 22px;
}

table#mineralsHand > tbody > tr td:nth-child(1) {
    width: 75px;
}

table#mineralsHand > tbody > tr td:nth-child(2) {
    width: 120px;
}

table#mineralsHand > tbody > tr td:nth-child(3) {
    width: 95px;
}

table#mineralsHand > tbody > tr td:nth-child(4) {
    width: 85px;
}


td.dhatu_roots.barkNeeded::after {
    content:"КОРА";
    display:block;
}
td.dhatu_roots.rootNeeded:not(.expert)::after{
    content:"КОРНИ";
    display:block;
}


#mainConteiner {
  max-width: calc(100vw - 180px);
}