/* ---- main ---- */

.toolList {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 50px auto;
    width: 100%;
    max-width: 500px;
    height: auto;
    overflow: hidden;
    animation: expand 1s;
}

@keyframes expand {
    0% {
        height: 0;
    }

    100% {
        height: auto;
    }
}

.dropdown input[type=checkbox] {
    opacity: 0;
    position: absolute;
}

.dropdown label {
    display: block;
    width: 100%;
    margin-top: 25px;
    text-align: center;
    padding: 15px;
    background-color: white;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .1);
    border-radius: 5px;
}

.dropdown .arrow {
    float: right;
    height: auto;
    transition: transform ease-in-out 0.3s;
}

.dropdown .dropdown-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 0;
    width: 100%;
    overflow: hidden;
    transition: all ease-in-out 0.5s;
}

.dropdown .dropdown-item {
    max-width: 300px;
    cursor: pointer;
}

.dropdown-list a {
    text-decoration: none;
    text-align: center;
    color: black;
    padding: 10px;
    width: 100%;
}

.dropdown a:not(:last-child) {
    border-bottom: 1px solid #c1c1c1;
}

.dropdown .btn:checked + label > .arrow {
    transform: rotate(180deg);
}

.toolList #elect-btn:checked ~ .elect {
    height: auto;
}

.toolList #temp-btn:checked ~ .temp {
    height: auto;
}

/* ---- Amps to KW ---- */

.a-kw {
  position: absolute;
  top: 82px;
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgb(240, 239, 239);;
}

.a-kw .back {
    margin: 25px;
    width: 100%;
    cursor: pointer;
}

.a-kw .back i {
    padding-right: 10px;
}

#a-kw-form {
    max-width: 600px;
    padding: 15px;
}

#a-kw-form input {
    display: block;
    padding: 7px;
    margin: 10px 0px 20px;
}

#a-kw-form label {
    padding: 7px;
    margin-top: 25px;
}
