html,
body {
  font-size: 62.5%;
  background-color: #3176a1;
}
ul {
  list-style-type: none;
}

.empty-warning {
  background-color: #fcf8e3!important;
}
.show {
  visibility: visible!important;
  background-color: rgba(0, 0, 0, .5)!important;
}
.show-pop {
  visibility: visible!important;
}
.hide-title {
  display: none!important;
}


.main {
  position: absolute;
  top: 20%;
  left: 25%;
  width: 50%;
}
.main h2 {
  text-align: center;
}
.main #text-in {
  width: 88%;
}
.main #add {
  width: 10%;
}

h2 {
  text-align: center;
  font-size: 2.8rem;
  color: white;
}
#create {
  margin-bottom: 1rem;
}
#create input {
  font-size: 1.4rem;
  padding-top: .6rem;
  padding-bottom: .6rem;
  text-indent: .6rem;
}
#create #text-in {
  width: 85%;
}
#create #add {
  width: 10%;
  cursor: pointer;
  text-align: center;
}


@media only screen and (max-width: 1000px) {
  /* 输入框 部分 */
  #create #text-in {
    width: 80%;
  }
  #create #add {
    width: 15%;
  }
}
@media only screen and (min-width: 650px) and (max-width: 860px) {
  /* 输入框 部分 */
  #create #text-in {
    width: 77%;
  }
  #create #add {
    width: 17%;
  }
}
@media only screen and (max-width: 650px) {
  /* 输入框 部分 */
  #create #text-in {
    width: 100%;
  }
  #create #add {
    width: 40%;
    display: block;
    margin:  1rem auto;
    background-color: #689f38;
    border-width: 0;
  }
}
.lists {
  padding-left: 0;
}
.lists li {
  background-color: white;
  position: relative;
  height: 2.6rem;
  line-height: 2.6rem;
  font-size: 1.4rem;
  margin-bottom: .5rem;
  text-indent: .6rem;
  border-radius: .5rem;
}
.lists li i {
  position: absolute;
  visibility: hidden;
  right: 0;
  cursor: pointer;
  opacity: 0;
  transition: all .2s;
}
.lists li:hover i:nth-child(2) {
  right: 6%;
  visibility: visible;
  opacity: 1;
}
.lists li:hover i:nth-child(3) {
  right: 2%;
  opacity: 1;
  visibility: visible;
}
@media only screen and (max-width: 1000px) {
 /* li 部分 */
 .lists li:hover i:nth-child(2) {
    right: 8%;
    visibility: visible;
    opacity: 1;
  }
}
@media only screen and (min-width: 550px) and (max-width: 1000px) {
  /* li 部分 */
 .lists li:hover i:nth-child(2) {
    right: 10%;
    visibility: visible;
    opacity: 1;
  }
}
@media only screen and (max-width: 550px) {
  /* li 部分 */
 .lists li:hover i:nth-child(2) {
    right: 16%;
    visibility: visible;
    opacity: 1;
  }
}

#pop-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  visibility: hidden;
  background-color: raba(0, 0, 0, 0);
  transition: all .3s;
}

#del {
  width: 30%;
  background-color: #f0f1f2;
  height: 9rem;
  font-size: 1.6rem;
  text-align: center;
  position: absolute;
  top: 30%;
  border-radius: .6rem;
  left: 35%;
  opacity: 0;
  visibility: hidden;
}
#del div:first-child {
  height: 5rem;
  line-height: 5rem;
  margin-bottom: .4rem;
}
#del input {
  cursor: pointer;
  border: none;
  width: 6rem;
  height: 2.6rem;
  padding: .3rem .7rem;
  border-radius: .3rem;
}
#del div #del-sure {
  margin-right: 4rem;
  background-color: #00cc66;
}
#del div #del-cancel {
  background-color: #cc6666;
}

@media only screen and (min-width: 650px) and (max-width: 840px) {
  /* 弹出框（删除） 部分 */
   #del div #del-sure {
    margin-right: 2rem;
  }
}
@media only screen and (max-width: 650px) {
  #del input {
    font-size: 1.2rem;
    width: 3rem;
  }
  #del div #del-sure {
    margin-right: .5rem;
  }
}

#edit {
  width: 30%;
  height: 23rem;
  font-size: 1.4rem;
  padding: .5rem 1rem;
  background-color: #f0f1f2;
  position: absolute;
  top: 30%;
  border-radius: .6rem;
  left: 35%;
  opacity: 0;
  visibility: hidden;
}
#edit span {
  display: block;
  line-height: 2.5rem;
}
#edit input{
  width: 100%;
  line-height: 2.5rem;
  border-width: 0;
}

#desc {
  height: 10rem;
  width: 100%;
  padding: .4rem .3rem;
}
#edit input[type = 'button'] {
  cursor: pointer;
  border: none;
  width: 8rem;
  padding: .3rem .7rem;
  border-radius: .3rem;
}
#edit section {
  margin-bottom: 1rem;
}
#edit section:nth-child(4) {
  text-align: center;
}
#edit #edit-sure {
  margin-right: 4rem;
  background-color: #00cc66;
}
#edit #edit-cancel {
  background-color: #cc6666;
}


@media only screen and (min-width: 850px) and (max-width: 1000px) {
  /* 弹出框（编辑） 部分 */
  #edit #edit-sure {
    margin-right: 2rem;
  }
}
@media only screen and (max-width: 850px) {
  #edit section:nth-child(4) {
    font-size: 1.2rem;
  }
  #edit input[type = 'button'] {
    width: 20%;
    min-width: 3rem;
  }
  #edit #edit-sure {
    margin-right: .5rem;
  }
}