@media screen and (max-width: 767px) {
   /* Стили для тф */
 .settings-datepicker{
   width: 305px;
 }
  .settings-datepicker-div{
left: 48px ;
  }

  .graph-sliders{
  top:75px;
  }
  .graph-datepicker{
    right: 85px;
  }
  .Datepicker{
    height: 40px; width: 175px
  }
  #Datepicker_submit{
    top: 60px;
    right: 10px;
  }
  .graph-div{
      padding: 45px;
    display:flex;
    top: 40px
  }
   .conveyor-name-on-graph{
      font-size: 18pt;
      top: -90px;

}
}
@media screen and (min-width: 762px) {
 /* Стили для пк */
   .settings-datepicker{
  width: 220px;
 }
  .settings-datepicker-div{
  left: 145px ;
  }
  #Datepicker_submit{
    top: 50px;
  }
  .graph-div{
    height: 70vh;
    width: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .conveyor-name-on-graph{
      font-size: 24pt;
      position: absolute;
      left: 50%;
      transform: translateX(-100%);
      top: 12px;

}


}





input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

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

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

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

input:checked + .slider {
  background-color: #2972cf;
}

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

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

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

.slider.round:before {
  border-radius: 50%;
}
.form-popup {
     position: fixed; /* или fixed */
     background-color: rgba(0, 0, 0, 0.5);
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     margin: auto;
     /* остальные стили */
   }
.Psettings_form{
  z-index: 9999999;
  position: sticky;
  background-color: #f7f7f7;
  width: 60%;
  min-width: 300px;
  max-width: 600px;
  height: 80vh;
  min-height: 550px;
  margin-left: auto;
  margin-right: auto;
  bottom: auto;
  top: auto;
  top: 15%;
  z-index: 9999999;
}
.center-center{
  position: absolute;
  margin-left: 65%;
}
.center-center-2{
  position: absolute;
  margin-left: 10%;

}

.day-month-checkbox{
    position: relative;
    left: 79.5%;
}
.center-span{
     margin: 0 auto
}
.graph-1{
     background-color: white;
}
.checkbox{
    mergin-left: 200px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

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

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

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

.button_rad{
    border-radius: 12px
}