h4.caption {
  margin: 40px 0px 30px 0px;
}
.error {
  color: red;
  font-weight: bold;
}

.choose-role {
  font-size: 1.2em;
  cursor: pointer;
  text-decoration: none;
  padding-left: 16px;
  margin-bottom: 10px;
}
.choose-role:hover {
  text-decoration: underline;
  background-color: #ccc;
}

.marked {
  animation: mark 5s;
}
@keyframes mark {
    0%   {background-color: pink;}
    100% {background-color: #f3f8f0;}
}

.error-element {
  background-color: pink;
}

.pat-urgent {
  background-image: linear-gradient(225deg, coral, coral 20px, transparent 20px, transparent);
}

.pat-panel2 {
  background-color: rgb(224,255,255) !important;
}
.pat-panel-heading {
  background-color: #028f8d !important;
  color: #fff !important;
}

.pat-panel3 {
  background-color: #ffffff !important;
}

.pat-panel3 h4{
  margin: 0px 0px;
}

.pat-panel3 .pat-panel-heading {
  background-color: #edecec !important;
  color: #3e406e !important;
}
.pat-panel3 .caption {
  margin-top: 15px;
  text-decoration: underline;
}
.pat-panel3 .link {
  text-decoration: underline;
}
.pat-panel3 .link:hover {
  text-decoration: none;
  color: #000;
}

.breadcrumb {
  padding: 0.5rem 1rem;
  margin-bottom: 30px;
  background-color: #f8f9fa;
}

/*
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
  border: none;
}*/
.table-xsm th, .table-xsm td {
    padding: 0.1rem;
}

label {
  font-weight: bold;
}

.btn-patient {
  white-space:normal;
  word-wrap:break-word;
  cursor: pointer;
  font-size: 1.2em;
}
.btn-patient:hover {
  color:#007bff !important;
}

.btn-choice {
  width:100px;
  height:80px;
  line-height: 1.2;
}
.panel-chosen {
  box-shadow: 0 0 24px rgba(0,0,0,0.5);
}

.header-block {
  margin: 12px 0 12px 0;
  font-size: 1em;
}

.circle {
  width: 30px;
  height: 30px;
  background-color: #00ff00;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
}

.circle-param {
  float:left;
  margin:-3px 10px 0 0;
}

.circle-value {
  float:left;
  margin:-3px 10px 0 0;
}

.param-body {
  padding: 1em;
}

.my-slider-handle {
  width: 3em !important;
  height: 1.6em !important;
  top: 50% !important;
  margin-top: -.8em !important;
  text-align: center !important;
  line-height: 1.6em !important;
  font-size: large !important;
}

.quest-cell {
  max-width:30px;
  padding-top:4px !important;
  padding-bottom:4px !important;
}
.commented-cell {
  background-image: linear-gradient(225deg, red, red 10px, transparent 10px, transparent);
}
.selected-col {
  border-left: brown 1px solid;
  border-right: brown 1px solid;
}
.selected-row {
  border-top: brown 1px solid !important;
  border-bottom: brown 1px solid !important;
}

.required {
  color:#ff8300;
}

.btn-pat-marked {
  margin-left: 12px;
  border: 1px red solid;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.1) url(/img/spinner.gif) no-repeat center;
}

.blink-text {
  animation: blinker 1s linear infinite;
}
@keyframes blinker {
  50% { opacity: 0; }
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #aaa !important;
  opacity: 1 !important; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #aaa !important;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #aaa !important;
}


/* Box styles */
.box {
  display: flex;
  flex-direction: column;
}
.box-main {
  border-top: 1px solid mediumseagreen;
  border-left: 1px solid mediumseagreen;
  border-right: 1px solid mediumseagreen;
}
.box-item {
  margin-bottom: 2px;
  border-bottom: 1px solid mediumseagreen;
  /*border-radius: 2%;*/
  padding: 3px;
}
.box-col {
  display: flex;
  flex-direction: column;
}
.box-row {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  justify-content: space-between;
}
.box-row_month {
  font-size: 11px;
}
.box-row_item {
  border-radius: 7%;
  border: 1px solid green;
  height: 20px;
  width: 100%;
  margin-top: 3px;
  padding: 2px;
  text-align: center;
  font-size: 11px;
}
.box-row_item-link {
  padding: 0;
  margin-top: -1px;
  display: inline-block;
  cursor: pointer;
  background-color: rgba(var(--common-rgb), 0.7);
  color: #FFFFFF;
  padding: 0 2px;
  border-radius: 25%;
}
#heat-map-desktop-mobile a.box-row_item-link {
    color: #006457;
}
.box-row_title {
  margin-top: 3px;
  padding: 2px;
  margin-top: 3px;
  width: 100%;
  text-align: center;
  border: 0;
}
.box-row_text {
  text-align: center;
  width: 100%;
  padding: 2px 0;
}
/* END Box styles */



/* Tooltip */
.tooltip-main {
  position: relative;
}
.tooltip-main .tooltip-text {
  z-index: 1;
  text-align: left;
  right: 0px;
  visibility: hidden;
  min-width: 255px;
  /*background-color: #FFFFFF;*/
  background-color: rgba(255, 255, 255, 0.9);
  color: inherit;
  display: block;

  /* Position the tooltip */
  position: absolute;
  margin: 15px auto;
  padding: 1em;
  box-shadow:  0 1px 4px rgba(0, 0, 0, .3), -23px 0 20px -23px rgba(0, 0, 0, .8), 23px 0 20px -23px rgba(0, 0, 0, .8), 0 0 40px rgba(0, 0, 0, .1) inset;
}
.tooltip-main .tooltip-text-mobile {
  min-width: 185px;
}
.tooltip-text__title {
  display: block;
  padding-bottom: 5px;
}
.tooltip-text__description {
  line-height: 12px;
}
.tooltip-text__description ul {
  display: block;
  list-style-type: none;

}
.tooltip-text__box {
  display: flex;
  flex-direction: column;
  margin: 3px 0;
}
.tooltip-text__box-item {
  line-height: 11px;
  padding: 3px 2px;
  border-bottom: 1px #d9d9d9 dotted;
}
.tooltip-main:hover .tooltip-text {
  visibility: visible;
}
.tooltip-main:hover .box-row_item-link {
  background-color: var(--common);
  padding: 2px 4px;
  margin-top: -3px;
  color: #FFFFFF;
  text-decoration: none;
}
/* END Tooltip */

/* Other */
.border-row{
  border-top:1px solid #95b395 !important;
  margin-bottom:20px;
  padding-left: 12px;
} /* #eb9316 */
.hr-line {
  border: 1px solid #ddd;
}
.form-mibile {
  margin-top: -10px;
}
.button-link {
  height: 16px;
  margin-top: -6px;
}
.table td.custom {
  background-color: rgb(249, 249, 249);
}
.btn-primary {
  background-color: #026f85;
  border-color: #2e6da4;
}
.btn-primary:hover {
  background-color: #8dced8;
  border-color: #8dced8;
}
.circle {
  width: 30px;
  height: 30px;
  background-color: #00ff00;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
}
.circle-param {
  float:left;
  margin:-3px 10px 0 0;
}
.circle-value {
  float:left;
  margin:-3px 10px 0 0;
}
.my-slider-handle {
  width: 3em !important;
  height: 1.6em !important;
  top: 50% !important;
  margin-top: -.8em !important;
  text-align: center !important;
  line-height: 1.6em !important;
  font-size: large !important;
}
.valueList {
  margin-top:10px;
  margin-bottom:0px;
}
.error {
  color: red;
  font-weight: bold;
}
.done {
  color: #0d0;
  font-weight: bold;
}
.error-element {
  background-color: pink;
}
.msg {
  color: green;
  font-weight: bold;
}
.choose-role {
  font-size: 1.2em;
  cursor: pointer;
  text-decoration: underline;
  padding-left: 16px;
}

#heat-map-desktop {
  display: none;
}

@media (min-width: 500px) {
  .main-bg{
    margin: 0px -15px 0px 0px;
  }
  #heat-map-desktop {
    /*visibility: collapse;*/
    /*visibility: hidden;*/
    display: none;
  }
}

@media (min-width: 768px) {
  .card-menu-calendar{
    display: block;
  }
  .left-menu a.profile{
    width: 100px;
    margin-left: -20px;
  }
  .bu{
    text-decoration: underline;
  }
  .m-l{
    margin-left: 0px;
  }
  .head-page{
    border-bottom: 3px solid #005a90;
    margin-bottom: 25px;
    padding-bottom: 15px;
    margin-top: 25px;
  }
  .navbar-light .navbar-toggler{
    background-color: transparent;
  }
  .card-menu{
    padding: 20px;
    margin-bottom: 40px;
    background-color: #ffffff;
  }
  .container-page .top-menu{
    border: none;
    margin-top: 0px;
    text-align: right;
    padding-right: 20px;
  }
  .main-bg{
    background-color: #c3f9f7;
    margin: 0px -15px 0px 10px;
    padding: 30px 30px 30px 30px;
  }
  .left-menu img{
    display: block;
  }
  .card-role{
    display: block;
  }
  /*левео меню*/
  .left-menu{
    //background-color: #006457;
    font-family: PTSansRegular;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
  }
  .card-links{
    display: block;
    width: 100%;
    padding-left: 15px;
  }
  .left-menu a.profile{
    color: #333333;
    text-decoration: underline;  
  }
  .left-menu a.profile:hover{
    color: #F6AC8D;
    text-decoration: none;    
  }
  .card-links a{
    color: #333333;  
  }

  .card-links a:hover, .footer a:hover{
    color: #F6AC8D;
  }

  .card-menu{
    padding: 20px 10px 0px 0px;
    margin-bottom: 0px;
    border-radius: 10px;
    font-family: PTSansRegular;
    color: #006457;
    font-size: 18px;
  }
  .card-menu img{
    width: 90%;
    border-radius: 10px;
  }
  .card-role{
    font-family: PTSansRegular;
    color: #01b9b3;
    font-size: 24px; 
    padding-top: 10px;
    text-transform: uppercase;
  }
  .card-line{
    border-top: 3px solid #01b9b3;
    width: 100%;
    margin: 10px 15px;
  }
  .card-slim{
    border-top: 1px solid #b2dccb;
    width: 100%;
    margin: 5px 15px; 
  }
  .card-list{
    padding-left: 0px;
    padding-right: 30px;
  }
  .blocks-role .card-slim:last-child{
    display: none;
  }
  .timezone{
    padding: 15px 15px;
  }

  .container-page .footer a{
    color: #ffffff;
    font-family: PTSansBold;
    font-size: 18px;
  }
  .card-title{
    display: none;
  }
}

/*patlist doctor table*/
.patlist-header{
  border: 1px solid #ccc; 
  color: #000; 
}
.patlist-border-left{
  border-left: 1px solid #ccc; 
}
.patlist-border-bottom{
  border-bottom: 1px solid #ccc; 
}
.patlist-border-top{
  border-top: 1px solid #ccc; 
}
.mar-0{
  margin: 0px; 
}
.mar-5{
  margin: 5px; 
}
.p-tb-10{
  padding-top: 10px;
  padding-bottom: 10px;
}
.patlist-mob{
  display: block !important;
}
.patlist-desc{
  display: none !important;
}
/*patlist doctor table end*/

@media (min-width: 900px) {
  #heat-map-desktop {
    /*visibility: collapse;*/
    /*visibility: hidden;*/
    display: block;
  }
  #heat-map-mobile {
    /*visibility: visible;*/
    display: none;
  }
  .left-menu a.profile{
    width: 120px;
  }
  .head-page img{
    height: 140px;
  }
  .container-page .top-menu{
    padding-top: 40px;
    padding-right: 20px;
  }
}

.pat-mob {
      display: block;
  }

@media (min-width: 991px) {
  .patlist-mob{
    display: none !important;
  }
  .pat-mob {
      display: flex !important;
  }
  .patlist-desc{
    display: block !important;
  }
}

@media (min-width: 990px) {
  #heat-map-desktop {
    /*visibility: collapse;*/
    /*visibility: hidden;*/
    display: block;
  }
  .left-menu a.profile{
    width: 100px;
  }
}

@media (min-width: 1100px) {
  #heat-map-desktop {
    /*visibility: collapse;*/
    /*visibility: hidden;*/
    display: block;
  }
  .left-menu a.profile{
    width: 110px;
  }
}

@media (min-width: 1200px) {
  #heat-map-desktop {
    /*visibility: collapse;*/
    /*visibility: hidden;*/
    display: block;
  }
  .card-role {
    font-size: 30px;
  }
  .container-page .top-menu{
    padding-top: 40px;
    padding-right: 20px;
  }
  .left-menu a.profile{
    width: 130px;
  }
}

@media (max-width: 1400px) {
  .left-menu{
    padding-top: 15px;
    padding-left: 35px;
    padding-right: 15px;
  }
}
