@charset "UTF-8";

body {
    background-color: aquamarine;
    /* background-image: url("../assets/img/SmartAgriculture.jpeg"); */
}

#page-top {
    background-color: white;
}

.controlParamHeading {
    color: white;
}

.limitParamHeading {
    color: yellow;
}

/* GROOVE NORNAL */
.toggle {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 49px;
    background-color: grey;
    border-radius: 30px;
    border: 2px solid gray;
}

/* KNOB */
.toggle:after {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    top: 0px;
    left: 0px;
    transition: all 0.5s;
}

/* Toggle text */
.toggle_switch_groove_text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    position: relative;
    word-spacing: 15px;
    left: 2px;
}

/* KNOB TOGGLED */
.checkbox:checked + .toggle::after {
    left: 40px;
    right: -10px;
}

/* GROOVE COLOR when knob ON */
.checkbox:checked + .toggle {
    background-color: green;
}

/* DEFAULT CHECKBOX  hide */
.checkbox {
    display: none;
}

.motor-container {
    display: flex;
    align-items: center;
}

.motor-title {
    margin-bottom: 10px;
}

.myForm {
    margin-bottom: 10px;
}

/* Input and select styling */
.form_wide_text_field input[type="text"],
.form_wide_text_field select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Textarea styling */
.form_wide_text_field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

/* Large text field styling */
.large_text_field textarea {
    height: 150px;
}

/* Wide text area field styling */
.wide_text_area_field {
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
}

.restart-btn {

    border-radius: 5px;
    /*float: right;*/
    /*margin-right: 50%;*/
    position: absolute;
    /*bottom: 10px;*/
    right: 10px;
}

.submit-btn {
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    /*margin: 4px 2px;*/
    cursor: pointer;
    background-color: #04AA6D;
    border-radius: 5px;
    margin-right: 35%;
    /*margin-left: auto;*/
    float: right;

}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.control_panel_slider_wrapper {
    width: 80%;
}

.control_panel_slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    border-radius: 5px;
}

.control_panel_slider:hover {
    opacity: 1;
}

.control_panel_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 33.33%;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
}

.control_panel_slider::-moz-range-thumb {
    width: 33.33%;
    height: 25px;
    background: #4CAF50;
    cursor: pointer;
}

.control_panel_slider_labels {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

#control_slider::-webkit-slider-thumb {
    width: 50%;
}

#control_slider::-moz-range-thumb {
    width: 50%;
}

.limit_params_form:input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 35%;
}

.ota_toggle_btn {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.ota_toggle_btn input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ota_toggle_btn_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.ota_toggle_btn_slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .ota_toggle_btn_slider {
    background-color: #2196F3;
}

input:checked + .ota_toggle_btn_slider:before {
    transform: translateX(26px);
}


.btn {
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
}

.btn.active {
    background-color: #007bff;
    color: white;
}

.weather-card {
    display: none;
}


/*.form_wide_text_field input[type="text"],*/
/*.form_wide_text_field select {*/
/*    width: 100%;*/
/*    padding: 8px;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
/*}*/

/*#control-panel-div-mode-control-params{*/
/*    background-color: pink;*/
/*}*/
/*#control-panel-div-limit-params{*/
/*    background-color:lightblue ;*/
/*}*/