/* ------------------------------------------
 * IT书包
 * 网址：www.itshubao.com
 * 整理：yinq<3331653644@qq.com> 
 -------------------------------------------- */
/*
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,700,200);
@import url(https://fonts.googleapis.com/css?family=Varela+Round);
*/
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background: url(../images/chuntian13.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100vw;
  height: 100vh;
}

.bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.top {
  top: 0;
  position: absolute;
  width: 100%;
}

#clouds {
  background: url(../images/cloudy-sky.png);
  background-size: 100% 300px;
  width: 50%;
  height: 300px;
  position: absolute;
  z-index: 5;
  -webkit-animation: moveClouds 30s infinite linear;
          animation: moveClouds 30s infinite linear;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}

#clouds2 {
  background: url(../images/cloudy-sky.png);
  background-size: 100% 300px;
  width: 50%;
  height: 300px;
  position: absolute;
  top: 150px;
  z-index: 5;
  -webkit-animation: 30s linear 10s infinite moveClouds;
          animation: 30s linear 10s infinite moveClouds;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}

@-webkit-keyframes moveClouds {
  from {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

@keyframes moveClouds {
  from {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
#weather {
  z-index: 10;
  width: 75%;
  height: 80%;
  min-width: 600px;
  min-height: 570px;
  margin: 5% auto;
  position: relative;
}
#weather .panelLeft,
#weather .panelRight {
  width: 50%;
  height: 100%;
  min-height: 570px;
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: relative;
}
#weather .panelLeft {
  background: -webkit-linear-gradient(left, rgba(0, 77, 102, 0.6), rgba(204, 0, 204, 0.4));
  background: linear-gradient(to right, rgba(0, 77, 102, 0.6), rgba(204, 0, 204, 0.4));
  background-blend-mode: overlay;
}
#weather .panelLeft img {
  width: 400px;
  height: auto;
  position: absolute;
  top: calc(50% - 200px);
  left: -50px;
}
#weather .panelLeft .top p {
  font-family: "Source Sans Pro",sans-serif;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  width: 100%;
  right: 0;
  padding-right: 10px;
}
#weather .panelLeft .bottom .temp {
  padding-left: 30px;
  padding-bottom: 20px;
}
#weather .panelLeft .bottom .temp p {
  font-family: "Varela Round",sans-serif;
  color: rgba(255, 255, 255, 0.8);
}
#weather .panelLeft .bottom .temp p:first-child {
  font-size: 8rem;
  margin-bottom: -35px;
}
#weather .panelLeft .bottom .temp p:nth-child(2) {
  font-family: "Source Sans Pro",sans-serif;
  font-weight: 300;
  padding-left: 8px;
}
#weather .panelRight {
  float: right;
}
#weather .panelRight:after, #weather .panelRight:before {
  clear: both;
}
#weather .panelRight > * {
  padding: 15px 30px;
}
#weather .panelRight .customHeight {
  height: 35%;
  min-height: 200px;
  width: 100%;
  background: rgba(50, 170, 250, 0.9);
  color: rgba(255, 255, 255, 0.7);
}
#weather .panelRight .customHeight ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
#weather .panelRight .customHeight ul li {
  display: inline-block;
  width: 32%;
}
#weather .panelRight .customHeight ul li p {
  text-align: center;
  font-size: .8rem;
  font-family: "Source Sans Pro",sans-serif;
  font-weight: 400;
}
#weather .panelRight .customHeight ul li svg {
  width: 35px;
  height: 35px;
  margin: 0 auto;
  display: block;
}
#weather .panelRight .customHeight p {
  font-family: "Montserrat",sans-serif;
}
#weather .panelRight .customHeight hr {
  background: rgba(255, 255, 255, 0.4);
  height: 1px;
  border: transparent;
}
#weather .panelRight .remainingHeight {
  height: 65%;
  min-height: 370px;
  background: rgba(255, 255, 255, 0.9);
}
#weather .panelRight .remainingHeight ul.inline {
  border-bottom: 1px solid rgba(204, 204, 204, 0.8);
  list-style: none;
  padding: 0;
}
#weather .panelRight .remainingHeight ul.inline li {
  color: #aaa;
  font-family: "Montserrat",sans-serif;
  display: inline-block;
  padding-bottom: 20px;
  margin-right: 20px;
  position: relative;
  text-align: center;
  -webkit-transition: .5s all;
  transition: .5s all;
}
#weather .panelRight .remainingHeight ul.inline li:after {
  height: 1px;
  background: transparent;
  display: block;
  content: "";
  width: 100%;
  position: absolute;
  bottom: -1px;
  -webkit-transition: .5s all;
  transition: .5s all;
}
#weather .panelRight .remainingHeight ul.inline li.active, #weather .panelRight .remainingHeight ul.inline li:hover {
  color: rgba(0, 0, 0, 0.9);
}
#weather .panelRight .remainingHeight ul.inline li.active:after, #weather .panelRight .remainingHeight ul.inline li:hover:after {
  background: tomato;
}
#weather .panelRight .remainingHeight ul.forecast {
  list-style: none;
  padding: 0;
  margin: 0;
}
#weather .panelRight .remainingHeight ul.forecast li {
  min-height: 60px;
  width: 100%;
  font-family: "Montserrat",sans-serif;
  position: relative;
  padding-top: 18px;
}
#weather .panelRight .remainingHeight ul.forecast li .time {
  float: left;
  color: rgba(136, 136, 136, 0.9);
  font-family: "Varela Round",sans-serif;
}
#weather .panelRight .remainingHeight ul.forecast li .temp {
  float: right;
  right: 0;
  position: absolute;
  top: 10px;
  font-family: "Varela Round",sans-serif;
}
#weather .panelRight .remainingHeight ul.forecast li .conditions {
  float: right;
  color: rgba(170, 170, 170, 0.9);
  float: right;
  font-size: 0.8rem;
  right: 0;
  position: absolute;
  top: 28px;
}