* {
    box-sizing: border-box;
}


.close{
    color: #04AA6D;
}

.open{
    color : red;
}
#title {
    position: relative;
    margin-top: 5em;
}

#op {
    margin: 20px 0 20px 0;
    padding: 20px 0 20px 0;
  }

#tank {
    width: 200px;
    height: 200px;
    position: relative;
    color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
    background: linear-gradient(#cadfff, #bfd3f1, #a3c8ff);
    overflow: hidden;
}

#tank1 {
    width: 430px;
    height: 200px;
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
    background: linear-gradient(#f9855d, #fdd288, white);
    overflow: hidden;
}

.valve-btn {
    margin-left: 1%;
    margin-right: 1%;
}


/* .wave-01 {
    position: absolute;
    width: 300%;
    height: 300%;
    left: -100%;
    top: 50%;
    background-color: rgba(0, 190, 255, 0.4);
    border-radius: 45%;
    animation: rotate 10s linear infinite;
} */

/*
.wave-02 {
    position: absolute;
    width: 300%;
    height: 300%;
    left: -100%;
    top: 57%;
    background-color: rgba(0, 70, 110, 0.4);
    border-radius: 43%;
    animation: rotate 7s linear infinite;
} */

.wave-04 {
    position: absolute;
    width: 200%;
    height: 400%;
    left: -50%;
    top: 20%;
    background-color: rgba(110, 0, 0, 0.985);
    border-radius: 40%;
    animation: rotate 11s linear infinite;
}


.wave-03 {
    position: absolute;
    width: 300%;
    height: 300%;
    left: -100%;
    top: 20%;
    background-color: rgb(255 0 0);
    border-radius: 40%;
    animation: rotate 9s linear infinite;
}
.wave-03LV {
position: absolute;
    background-color: rgb(13 110 253);
    left: -3%;
    height: 136px;
    width: 206px;
    opacity: 0.65;
    transform-origin: bottom;
    animation: water 9s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;

}
/*   for level low and valve open    close */

/* level high */
.wave-03H {
    position: absolute;
    background-color: rgb(13 110 253);
    left: -3%;
    height: 270px;
    width: 206px;
    opacity: 0.65;
    /* transform-origin: top; */
    animation: water_drain 9s ease-out infinite;
    }
/* level high  end */

/* level low */
.wave-03L {
    position: absolute;
        background-color: rgb(255 0 0);
        left: -3%;
        height: 136px;
        width: 206px;
        opacity: 0.65;
        transform-origin: top;
        top: 80%;
    }

@keyframes water {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(100%);
    }
}

@keyframes water_drain {
    from {
        transform: scaleY(100%);
    }

    to {
        transform: scaleY(10%);
    }
}


.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;

    /* translucent black background color */
    z-index: 9999;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}

.loader.show {
    visibility: visible;
    /* make the overlay visible when the "show" class is added */
}

.loader.hide {
    visibility: hidden;
    /* hide the overlay when the "hide" class is added */
}

#main-wrapper {
    visibility: hidden;
}


/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}




@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}



#page-wrapper {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



#btn {
    position: fixed;
    z-index: 5;
    top: 15px;
    left: 15px;
    cursor: pointer;
    transition: left 500ms cubic-bezier(0.6, 0.05, 0.28, 0.91);
}

.card {
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

.card1 {
    display: none;
    width: 460px;
    background-color: white;
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    font-family: Arial, sans-serif;
}

#cardBlock {
}

.table-w {
    width: 80%;
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
    .table-w {
        width: 100%;
    }
}

#tankrow {
    width: 80%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 8px;
    text-align: left;
}

tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
}

.container_list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.square {
    width: 200px;
    height: 200px;
    background-color: black;
}


#btn div {
    width: 35px;
    height: 2px;
    margin-bottom: 8px;
    background-color: #ffffff;
    transition: transform 500ms cubic-bezier(0.6, 0.05, 0.28, 0.91), opacity 500ms, background-color 250ms;
}

#btn.active {
    left: 230px;
}

#btn.active div {
    background-color: #363636;
}

#btn.active #top {
    transform: translateY(10px) rotate(-135deg);
}

#btn.active #middle {
    opacity: 0;
    transform: rotate(135deg);
}

#btn.active #bottom {
    transform: translateY(-10px) rotate(-45deg);
}

#box {
    position: fixed;
    z-index: 4;
    overflow: auto;
    top: 0px;
    left: -275px;
    width: 275px;
    opacity: 0;
    padding: 20px 0px;
    height: 100%;
    background-color: #f6f6f6;
    color: #343838;
    transition: all 350ms cubic-bezier(0.6, 0.05, 0.28, 0.91);
}

#box.active {
    left: 0px;
    opacity: 1;
}

#items {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#items .item {
    position: relative;
    cursor: pointer;
    font-size: 2em;
    padding: 15px 30px;
    transition: all 250ms;
}

#items .item:hover {
    padding: 15px 45px;
    background-color: rgba(52, 56, 56, 0.2);
}

#btn,
#btn * {
    will-change: transform;
}

#box {
    will-change: transform, opacity;
}


#toggle_checkbox {
    display: none;
}



a {
    padding: 6px;
    border-style: solid;
    border-width: 1px;
    border-color: #bbb #aaa #999;
    text-shadow: 0 1px 0 #eee;
    background: #ccc;
    color: #333;
    font-family: 'Lucida Grande';
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 1px #fff, inset 0 -1px 1px #aaa, 0 2px 4px -3px #666;
}

a:hover {
    -webkit-box-shadow: inset 0 1px 1px #aaa, inset 0 -1px 1px #aaa;
    border-color: #888 #aaa #eee;
}

a.down {
    -webkit-box-shadow: inset 0 1px 1px #aaa, inset 0 8px 16px -4px #aaa, inset 0 -1px 1px #aaa;
    border-color: #888 #aaa #eee;
}



.navbar {
    overflow: hidden;
    background-color: #333;
}

.navbar p {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover,
.dropbtn:focus {
    background-color: #3e8e41;
}

.dropdown {
    float: right;
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    right: 0;
    z-index: 1;
}

.dropdown-content p {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown p:hover {
    background-color: #ddd;
}

.show {
    display: block;
}


/*==========  Structure  ==========*/
.btn-push {
    position: relative;
    top: 0px;
    font-family: "Open Sans";
    text-decoration: none;
    font-size: 25px;
    background: #f7f7f7;
    padding: 15px 50px;
    margin: 0 10px;
    border: 1px solid #c4c4c4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 0px #c4c4c4;
    -moz-box-shadow: 0px 5px 0px #c4c4c4;
    -ms-box-shadow: 0px 5px 0px #c4c4c4;
    -o-box-shadow: 0px 5px 0px #c4c4c4;
    box-shadow: 0px 5px 0px #c4c4c4;
    color: #222;
    text-shadow: 1px 1px 1px #fff;
    -webkit-transition: All 250ms ease;
    -moz-transition: All 250ms ease;
    -o-transition: All 250ms ease;
    -ms-transition: All 250ms ease;
    transition: All 250ms ease;
}

/*==========  Active State  ==========*/
.btn-push:active {
    position: relative;
    top: 5px;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    -ms-box-shadow: none !important;
    -o-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-transition: All 250ms ease;
    -moz-transition: All 250ms ease;
    -o-transition: All 250ms ease;
    -ms-transition: All 250ms ease;
    transition: All 250ms ease;
}

/*==========  Navy  ==========*/
.btn-push.navy {
    background: #1b486d;
    border: 1px solid #07121b;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 0px #07121b;
    -moz-box-shadow: 0px 5px 0px #07121b;
    -ms-box-shadow: 0px 5px 0px #07121b;
    -o-box-shadow: 0px 5px 0px #07121b;
    box-shadow: 0px 5px 0px #07121b;
    color: #fff;
    text-shadow: 1px 1px 1px #07121b;
}

/*==========  Green  ==========*/
.btn-push.green {
    background: #7cc576;
    color: #fff;
    border: 1px solid #46963f;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 0px #46963f;
    -moz-box-shadow: 0px 5px 0px #46963f;
    -ms-box-shadow: 0px 5px 0px #46963f;
    -o-box-shadow: 0px 5px 0px #46963f;
    box-shadow: 0px 5px 0px #46963f;
    text-shadow: 1px 1px 1px #46963f;
}

/*==========  Red  ==========*/
.btn-push.red {
    background: #df4242;
    color: #fff;
    border: 1px solid #a01b1b;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 0px #a01b1b;
    -moz-box-shadow: 0px 5px 0px #a01b1b;
    -ms-box-shadow: 0px 5px 0px #a01b1b;
    -o-box-shadow: 0px 5px 0px #a01b1b;
    box-shadow: 0px 5px 0px #a01b1b;
    text-shadow: 1px 1px 1px #a01b1b;
}

/*==========  Blue  ==========*/
.btn-push.blue {
    background: #2ec2dd;
    color: #fff;
    border: 1px solid #177c8e;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 0px #177c8e;
    -moz-box-shadow: 0px 5px 0px #177c8e;
    -ms-box-shadow: 0px 5px 0px #177c8e;
    -o-box-shadow: 0px 5px 0px #177c8e;
    box-shadow: 0px 5px 0px #177c8e;
    text-shadow: 1px 1px 1px #177c8e;
}

/*==========  Orange  ==========*/
.btn-push.orange {
    background: #f57936;
    color: #fff;
    border: 1px solid #bc4809;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 0px #bc4809;
    -moz-box-shadow: 0px 5px 0px #bc4809;
    -ms-box-shadow: 0px 5px 0px #bc4809;
    -o-box-shadow: 0px 5px 0px #bc4809;
    box-shadow: 0px 5px 0px #bc4809;
    text-shadow: 1px 1px 1px #bc4809;
}

#footer {
    height: 150px;
}
