@media (min-width: 992px){
.modal_width-timer {
    max-width: 65%;
}}

@media (min-width: 576px) and (max-width: 992px){
  .modal_width-timer {
      max-width: 95%;
  }}


 #MyModalTimer_Week.cold .cold_nvsbl {
    display: none;
  }

.rm-weekly-seting {
  display: table;
  width: 100%;
}

.rm-weekly-seting .modal-header {
 border-bottom: 0px solid #e9ecef;
}

.rm-weekly-top_header {
 display: -ms-flexbox;
 display: flex;
 -ms-flex-align: start;
 align-items: flex-start;
 -ms-flex-pack: justify;
 justify-content: space-between;
}

.my_dropdown_custom.account-item > .content {
 margin-left: 0px;
 padding: 9px 0;
 padding-left: 12px;
 width: 45px;
}

.my_dropdown_custom.account-item--style2 .account-dropdown {
 top: 37px;
 z-index: 500;
}

.my_dropdown_custom.account-item > .content > a:after {
 font-family: "Material-Design-Iconic-Font";
 font-weight: 500;
 content: '';
 display: inline-block;
 font-size: 16px;
 margin-left: 5px;
}

.rm-weekly-seting_wrap{
 display: flex;
 align-items: flex-start;
 padding-left: 1rem;
 padding-right: 1rem;
 max-width: 750px;
}
.rm-weekly-seting_wrap.disable{
  opacity: 0.7;
  filter: grayscale(90%);
  pointer-events: none;
 }

 #TMR_label_flow.auto,
 #TMR_Slider_flow.auto{
  opacity: 0.6;
  filter: grayscale(90%);
  pointer-events: none;
 }

.rm-weekly-seting_wrap_item_left{
 width: 29%;
}
.rm-weekly-left_box{
 background-color: var(--primary-color);
 color: rgb(255, 255, 255);
 padding: 8px;
 padding-left: 20px;
}

.rm-weekly-left_box_item{
 font-weight: 500;
}
.rm-weekly-left_box_item .big{
  margin-right: 0.4em;
  font-weight: 700;
 }

.rm-weekly-left_box_2{
 background-color: var(--primary-color);
 color: rgb(255, 255, 255);
 padding: 9px;
 text-align: center;
 cursor: pointer;
}
.rm-weekly-left_box_2:hover {
 background-color: #0c3647;
}

.rm-weekly-seting_wrap_item_right{
 width: 100%;
}

.rm-weekly-seting_wrap_item_right .big{
  font-size: large;
  font-weight: 700;
  margin-right: 0.4em;
 }


/*.rm-weekly-seting_wrap_item_right_2{
 width: 100%;
}*/

.rm-weekly-info_lbl {
 color: var(--primary-color);
 font-weight: 900;
 margin-top: -13px;
}
/*tooltyp-------------------------------------------*/

/*Planner preview-------------------------------------------*/
.prevrm-weekly-schedule {
    overflow: hidden;
    width: 100%;
    display: flex;
    height: 150px;
  }
  .prevmws-days-labels {
    display: table-cell;
    width: 40px;
    height: 100%;
  }
  .prevmws-days-label {
    box-sizing: border-box;
    width: 50px;
    position: relative;
    text-align: center;
    font-size: 90%;
    font-weight: 700;
    height: 12.5%;
  }
  .prevmws-days {
    float: right;
    width: 100%;
  }
  .prevmws-time-day {
    box-sizing: border-box;
    width: 100%;
    height: 12.5%;
  }
  .prevmws-time-slots {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
  }
  .prevmws-day {
    box-sizing: border-box;
    width: 100%;
    height: 12.5%;
  }
  .prevmws-slots {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
  }
  .prevmws-time {
    box-sizing: border-box;
    width: 12.5%;
    padding: 3px;
    text-align: center;
    font-weight: 700;
    font-size: 70%;
  }
  .prevmws-slot {
    box-sizing: border-box;
    width: 12.5%;
    padding-top: 2px;
    padding-right: 2px;
  }
  .prevmws-slot:last-child {
    padding-right: 2px;
  }
  .prevmws-bgn {
    background-color: #ecebeb;
    box-sizing: border-box;
    width: 100%;
    height: 15px;
  }
  .prevmws-event {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 2px;
    box-sizing: border-box;
    color: var(--primary-color);
    position: absolute;
    z-index: 10;
    margin-top: 4px;
    height: 11px;
    opacity: 0.9;
  }

  .sar_theme .prevmws-event {
  border-radius: 6px;
  } 
  
  .prevmws-event:hover{
    opacity: 1;
    transform: scale(1, 1.15);
  }

  .prevmws-event.disable {
    filter: grayscale(100%);
    opacity: 0.7;
  }

/* END Planner preview--------------------------------------*/
/*Planner control-------------------------------------------*/

 /*---------------------------------*/

.rm-weekly-schedule {
    background-color: #f5f5fa;
   /* border: 1px solid #ddd;*/
    display: table;
    overflow: hidden;
    width: 100%;
}
.rmws-hour-labels {
    display: table-cell;
    padding-top: 48px;
    vertical-align: middle;
    width: 65px;
    padding-left: 10px;
}
.rmws-hour-label {
    box-sizing: border-box;
    font-size: 14px;
    height: 50px;
    margin-right: 10px;
    position: relative;
    text-align: right;
    top: -8px;
    font-weight: 700;
}
.vertical .rmws-days {
    display: table-cell;
    height: 100%;
    width: 95%;
}
.horizontal .rmws-days {
  display: table-cell;
  height: 100%;
  width: 95%;
}
.rmws-day {
  box-sizing: border-box;
  border-left: 1px solid #ddd;
}
.vertical .rmws-day {
    float: left;
    height: 100%;
    width: 14.285714285714%;
}
.horizontal .rmws-day {
  border-top: 1px solid #ddd;
  float: left;
  height: 14.285714285714%;
}
.rmws-day-label {
    /*background-color: #eaeaf0;*/
    border-bottom: 1px solid #ddd;
    line-height: 48px;
    text-align: center;
    font-weight: 700;
    cursor: var(--icons-icon_copy) 16 16, auto;
}
.horizontal .rmws-day-label {
  display: none;
}

.vertical .rmws-slots {
    height: 100%;
    position: relative;
}
.horizontal .rmws-slots {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.vertical .rmws-slot {
    border-bottom: 1px dotted #e0e0e0;
    box-sizing: border-box;
    height: 7px;
}


.horizontal .rmws-slot {
  border-right: 1px dotted #e0e0e0;
  box-sizing: border-box;
  height: 100px;
}

.vertical .rmws-slot:last-child {
    border-bottom: none;
}
.horizontal .rmws-slot:last-child {
  border-right: none;
}
.rmws-event {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    z-index: 10;
    overflow: hidden;
}
/*.rmws-event .big{
  margin-right: 0.3em;
 }*/

.vertical .rmws-event {
  left: 0;
  padding: 3px 4px;
  right: 0;
  margin-left: 6px;
  margin-right: 6px;
}

.horizontal .rmws-event {
  top: 0;
  padding: 3px 4px;
  bottom:  0;
  margin-top:  6px;
  margin-bottom: 6px;
}

.rmws-event.active {
  background-color: #0c3647;
  border: 1px solid #0c3647;
}
.rmws-event .rmws-time {
    font-size: 13px;
    font-weight: 300;
}
.rmws-event .big {
  margin-right: 0.4em;
}

.rmws-event .rmws-flow {
    font-size: 16px;
    font-weight: 300;
}

.rmws-event .big {
  font-size: 16px;
  font-weight: 300;
}



.vertical .rmws-event .rmws-handle {
    cursor: row-resize;
    height: 7px;
    left: 0;
    right: 0;
    position: absolute;
}
.horizontal .rmws-event .rmws-handle {
  cursor: col-resize;
  width: 7px;
  top: 0;
  bottom: 0;
  position: absolute;
}
.vertical .rmws-event .rmws-handle.rmws-handle-bottom {
    bottom: -1px;
}
.horizontal .rmws-event .rmws-handle.rmws-handle-bottom {
  right: -1px;
}
.vertical .rmws-event .rmws-handle.rmws-handle-top {
    top: -1px;
}
.horizontal .rmws-event .rmws-handle.rmws-handle-top {
  left: -1px;
}
.rmws-event .rmws-close {
    cursor: pointer;
    display: none;
    position: absolute;
    right: 0.3rem;
    bottom: -0.8rem;
    font-size: 2rem;
}
.vertical .rmws-event .rmws-close {
  right: 0.3rem;
  bottom: -0.8rem;
}
.horizontal .rmws-event .rmws-close {
  right: 0.3rem;
  top: -0.8rem;
}
.rmws-event .rmws-close:after {
  content:'\00D7';
  color: rgb(218, 30, 30);
}
.rmws-event:hover .rmws-close {
    display: block;
}


/* Timer Week/Year tabs ------------------------------------*/
#timer_tabs .nav-link {
    color: var(--primary-color_control_text);
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-weight: 600;
    padding: 8px 18px;
    transition: color 0.15s, border-color 0.15s;
}
#timer_tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    opacity: 0.8;
}
#timer_tabs .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--primary-color);
    background: transparent;
}
/* END Timer tabs ------------------------------------------*/

.prevrm-yearly-schedule {
    overflow: hidden;
  }
  .prevmws-year-labels {
    display: table-cell;
  }
  .prevmws-year-label {
    box-sizing: border-box;
    width: 60px;
    position: relative;
    /*text-align: center;*/
    /*font-size: 90%;*/
    font-weight: 700;
  }

  .prevmws-year {
    box-sizing: border-box;
    height: 15px;
  }
  .prevmws-slot-year{
    box-sizing: border-box;
    width: 60px;
    padding-top: 2px;
  }

  .prevmws-bgn-year {
    background-color: #ecebeb;
    box-sizing: border-box;
    width: 100%;
    height: 15px;
  }
/* END Year preview ------------------------------------------------*/



#TestTimerYear {
cursor: pointer;
    position: absolute;
    top: 116px;
    left: 33px;
}
/* END Timer widget layout -----------------------------------------*/

/* Year preview - single slot horizontal bar (365 days)              */
#TestTimerYear { cursor: pointer; }
#TestTimerYear .prevrm-yearly-schedule {
    overflow: hidden;
    width: 100%;
    height: 100%;
    /* display: flex; */

}
#TestTimerYear .prevmws-year-labels {
    font-size: 90%;
    /* text-align: center; */
    /* color: #aaa; */
    /* font-weight: 700; */
    height: 13px;
    /* line-height: 13px; */
    overflow: hidden;
    white-space: nowrap;
}
#TestTimerYear .prevmws-year {
    flex: 1; position: relative; overflow: hidden;
    background: #ececec; border-radius: 2px;
}
#TestTimerYear .prevmws-slot-year {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden;
}
#TestTimerYear .prevmws-event {
    position: absolute; top: 2px; bottom: 2px;
    min-width: 3px; max-height: none; height: auto;
    border: none; border-radius: 1px;
    background-color: var(--primary-color);
    cursor: pointer;
    margin-top: 0px;
}
#TestTimerYear .prevmws-event.yr-off { background-color: #aaa; }
#TestTimerYear .prevmws-event:hover  { opacity: 0.85; transform: none; }
/* END Year preview ------------------------------------------------*/

/* Slider disabled stavy - .auto trida (flow-auto) a .disabled pro off-mode    */
/* Flow slider: jiz existujici pravidlo pro flow-auto mode                      */
#TMR_label_flow.auto,
#TMR_Slider_flow.auto { opacity: 0.6; filter: grayscale(90%); pointer-events: none; }

/* Temp slider disable - pouzito pri TS_PSEUDO_OFF (Mod vypnuto)                */
#TMR_label_temp.auto,
#TMR_Slider_temp.auto { opacity: 0.6; filter: grayscale(90%); pointer-events: none; }

/* Prutok Auto checkbox disable pri off mode                                    */
#chb_flow_auto.disabled { opacity: 0.5; pointer-events: none; }

/* Year month label - jako rmws-day-label ale bez copy cursoru */
.yr-month-label {
    border-bottom: 1px solid #ddd;
    line-height: 48px;
    text-align: center;
    font-weight: 700;
    cursor: default;
}

/* END Planner control--------------------------------------*/