form {
  text-align: center;
}

.frm-schedule {
  margin: 0.5vh 0vh 0.5vh 0vh;
  padding: 0px 0px 0px 0px;
  position: relative;
  background-color:rgba(255,255,255,1);
  border-color: rgba(133,211,232,1);
  border-radius: 5px 5px 5px 5px;  
  border-style: solid;
  border-width: 1px;
  font-family: "AvantGarde Bk BT";
  /* display: inline-block; */
}

h6 {
  margin: 10px 0 5px 0;
  text-align:left;
  color: rgb(0,64,98,1);
}

.subtitle{
  padding: 0;
}

.frm-schedule ul {
    padding: 0;
    margin: 0;
    clear: both;
}

.frm-schedule li{
  margin: 0px 0.187em 0px 0px;
  list-style-type: none;
  list-style-position: outside;
  float: left;
  padding: 0.3em;
}

.frm-schedule input[type="checkbox"]:not(:checked), 
.frm-schedule input[type="checkbox"]:checked
{ 
  position: absolute;
  left: -9999%;
}

.frm-schedule input[type="checkbox"] + label /*,.frm-schedule input[type="radio"] + label */
{
  display: inline-block;
  width: 100%;
  padding-bottom: 100%;
  padding: 0.5vw;
  cursor: pointer;
  border: 1px solid rgba(133,211,232,1);
  border-radius: 1px;
  color: rgba(133,211,232,1);
  background-color: #fff;
}
.frm-schedule input[type="checkbox"]:checked + label/*,.frm-schedule input[type="radio"]:checked + label*/
{
  border: 1px solid rgba(133,211,232,1);
  border-radius: 3px;
  color: #fff;
  background-color: rgba(133,211,232,1);
}

.frm-schedule label {
  font-weight: bold;
}

.ddl-schedule {
  padding: 5px 1px 5px 1px;
  background:rgba(0,65,101,1);
  color:#fff;
  text-align: center;
  font-family: inherit;
  text-align-last: center;
 }
  
.ddl-schedule option {
  text-decoration:dotted;
  text-align: center;
  font-family: inherit;
}
  
.input-schedule {
  background:rgba(0,65,101,1);
  color:#fff;
  text-align: center;
  font-family: inherit;
  font-size: large;
}

.schedule-conf {
  float: right;
  height: 100%;
  width: 90%;
  margin: 0px 0px 10px 20px;
}

.schedule-row {
  margin: 5px 0 0 0;
  padding: 5px 0 0 0;
}

.schedule-row input[type="time"]{
  border: 1px solid;
  display: inline-block;
  padding: 3px;
  color: rgba(133, 211, 232, 1);
  border-color: rgba(133, 211, 232, 1);
  border-radius: 3px;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 1;
  font-weight: bold;
  text-align: center;
  letter-spacing: .2rem;
  background-color: #fff;
}

.btn-priority {
  height: 100%;
  width: 5%;
  text-align: center;
}

.up {
  color: #fff;
  background: rgba(133,211,232,0.9);
  height: 49%;
  width: 5%;
  position: absolute;
  border-radius: 5px 0 0 0;
  margin: 0 0 5px 0;
  padding: 2px 0 2px 0;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.up:hover{
  color: rgba(0,64,101, 1);
  background: rgba(133,211,232,0.1);
}

.down {
  color: #fff;
  background: rgba(133,211,232,1);
  height: 49%;
  width: 5%;
  position: absolute;
  border-radius: 0 0 0 5px;
  margin: 0 0 0 0;
  padding: 2px 0 2px 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.down:hover{
  color: rgba(0,64,101, 1);
  background: rgba(133,211,232,0.1);
}

.liSchedule:first-child .up{
  /* display: none; */
  color: #fff;
  background: rgba(133,211,232,0.2);
}
.liSchedule:last-child .down {
  /* display: none; */
  color: #fff;
  background: rgba(133,211,232,0.2);
}

.chk-action {
  width: 50%;
  display: inline-block;
  margin: 0px 0px 0px 0px;
  padding: 5px 5px 5px 0px;
}

.chk-action input[type="radio"]:not(:checked),
.chk-action input[type="radio"]:checked{ 
    position: absolute;
    left: -9999%;
}

.input-time{
  width:50%;
  text-align: left;
  margin: 0;
  padding: 5px 5px 5px 0px;
}

.action-charge input[type="radio"] + label {
  display: inline-block;
  padding: 3px;
  cursor: pointer;
  border: 1px solid rgba(43, 169, 146, 1);
  border-radius: 3px;
  color: rgba(43, 169, 146, 1);
  background-color: #fff;
}

.action-charge input[type="radio"]:checked + label {
  border: 1px solid rgba(43, 169, 146, 1);
  border-radius: 3px;
  color: #fff;
  background-color: rgba(43, 169, 146, 1);
}

.action-export input[type="radio"] + label {
  display: inline-block;
  padding: 3px;
  cursor: pointer;
  border: 1px solid rgba(0,64,101, 1);
  border-radius: 3px;
  color: rgba(0,64,101, 1);
  background-color: #fff;
}

.action-export input[type="radio"]:checked + label {
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  background-color: rgba(0,64,101, 1);
}

.chk-source{
  margin: 0px 0px 0px 0px;
  padding: 0px 0 0px 0px;
}

.chk-source input[type="checkbox"]:checked + label,
.chk-source input[type="checkbox"]:not(:checked) + label {
  padding: 0px;
  border: none;
}

.week{
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}

.chk-source input[type="checkbox"] + label::before { 
  content: " "; 
  display: inline-block; 
  vertical-align: middle; 
  margin-right: 3px; 
  width: 20px; 
  height: 20px; 
  background-color: #fff; 
  border-width: 1px; 
  border-style: solid; 
  border-color: rgba(43, 169, 146, 1); 
  border-radius: 2px; 
  box-shadow: none; 
}

.chk-source input[type="checkbox"]:checked + label::after { 
  content: " "; 
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMkJBOTkyIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+"); 
  background-repeat: no-repeat; 
  background-size: 12px 12px; 
  background-position: center center; 
  position: absolute; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  margin-left: 0px; 
  left: 0px; 
  top: 0px; 
  text-align: center; 
  background-color: transparent; 
  font-size: 10px; 
  height: 20px; 
  width: 20px; 
}

.chk-source input[type="checkbox"] + label {
  position: relative; 
  font-size: 14px; 
  cursor: pointer; 
  display: inline-flex; 
  align-items: center; 
  height: 20px; 
  color: rgb(0, 0, 0);
}

.chk-source input[type="checkbox"]:checked + label,
.chk-source input[type="checkbox"]:not(:checked) + label {
  color: rgba(43, 169, 146, 1);
  background-color: #fff;
} 

.controls{
  display:grid;
  padding: 5px 5px 5px 6px;
  margin: 0 0 5px 0;
  align-content: end;
}

.controls button,
.controls button:hover {
  font-weight: bold;
  margin: 5px;
  padding: 0;
  border-radius: 1px;
}

.save,
.save:hover {
  width: 70%;
  color: #fff;
  border: 2px solid rgba(0,64,101,1);
  background-color: rgba(0,64,101,1);
}

.save:disabled{
  width: 70%;
  color: #fff;
  border: 2px solid rgba(0,64,101,0.01);
  background-color: rgba(0,64,101,0.4);
}

.edit,
.edit:hover {
  width: 70%;
  color: rgba(0, 64, 101, 1);
  border: 2px solid rgba(0,64,101,1);
  background-color: #fff;
}

.delete, 
.delete:hover {
  color: rgba(0,64,101,1);
  cursor: pointer;
  font-size: 1.3em;
}

.delit{
  display: inline-block;
  text-align: left;
}

#schedules-body {
  /* height: 70vh; */
  display:block;
  overflow:hidden;
  margin: 5px 0 15px 0;
}

/* #schedules-list{
  height: 70vh;
} */

#schedulesList {
  /* height: 50vh; */
  overflow: hidden;
  /* max-height: fit-content; */
}

.download-file{
  color: rgba(0,64,101, 1); 
  border-color:rgba(0,64,101, 1); 
  padding:0px 10px 0px 10px; 
  margin:3px 0px 0px 0px;
  font-weight:bold;
}

@media only screen and (max-width: 600px) {
  .frm-schedule li{
    margin: 0px 0px 0px 0px;
    padding: 0.3em;
  }

  .frm-schedule input[type="checkbox"] + label{
    padding: 8px;
  }

  h6 {
    margin: 0px 0 0px 0px;
    padding: 0px 0 0px 0px;
    text-align:left;
    color: rgb(0,64,98,1);
  }
  
  .schedule-conf {
    margin: 0px 0px 0px 20px;
  }

  .schedule-row input[type="time"]{
    width: 100%;
    letter-spacing: 0.1em;
  }
}

#schedules-body li {
  list-style-type: none;
  list-style-position: outside;
  float: left;
  padding: 0; 
}

.uneditable {
  pointer-events: none;
}

.animateTransition {
  animation: highlight 5s;
}

.schedule-modal-header{
  background-color: #fff;
  padding: 5px 5px 5px 5px;
}

.schedule-modal-body{
  background-color: #fff;
  border-radius: 0px;
  text-align:left;
}

.schedule-modal-footer{
  background-color: #fff;
  padding: 5px 5px 5px 5px;
}

@keyframes highlight {
  from {
    background-color: rgba(133, 211, 232, 1);
  }
  to{
    background-color:none;
  }
}

.main-content {
  padding: 0px 0px 0px 0px;
}

.list-inline-item:not(:last-child){
  margin: 0px;
}