/* Homepage critical CSS (above-the-fold).
 * Keep this file small and focused. Full styling lives in home.min.css.
 */

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.42857143;
  color: #333333;
  background-color: #ffffff;
}

#main-nav {
  z-index: 1001;
}

#main-nav span {
  color: #e6e6e6;
}

.navbar {
  font-family: "Lato", sans-serif;
  font-size: 15px;
  line-height: 15px;
  font-weight: 300;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
}

@media screen and (min-width: 768px) {
  .navbar.navbar-default {
    height: 57px;
  }
  .navbar .navbar-nav > li > a,
  .navbar .navbar-nav > li > span,
  .navbar .navbar-header > a {
    padding-top: 21px;
    padding-bottom: 21px;
    font-size: 15px;
    line-height: 15px;
  }
}

.navbar .navbar-nav .btn {
  margin-left: 12px;
  font-size: 15px;
}

.navbar .navbar-nav .btn.btn-sm {
  margin-top: 12px;
  margin-bottom: 12px;
}

#navbar-logo {
  padding: 6px 0 6px 15px;
  height: 57px;
  width: 150px;
}

@media screen and (max-width: 992px) {
  #navbar-logo {
    padding-left: 0;
    padding-right: 0;
    display: none;
  }
  .container {
    width: 100%;
  }
}

@media screen and (min-width: 1000px) {
  #navbar-logo {
    padding-left: 0;
    padding-right: 0;
    width: 150px;
  }
}

.btn {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  border: 0;
  -webkit-transition: 0.2s all;
  transition: 0.2s all;
}

.btn-blue {
  color: #0a4166 !important;
  text-decoration: none !important;
  background-color: #a0d9ff;
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active,
.btn-blue.active {
  color: #ffffff;
  background-color: #287fb1;
  outline: 0;
}

.btn-blue.btn-border {
  border-style: solid;
  border-color: #24709c;
  border-width: 0 0 2px 0;
}

.btn-white {
  color: #ffffff !important;
  text-decoration: none !important;
  background-color: #3bb878;
}

.btn-white:hover,
.btn-white:focus,
.btn-white:active,
.btn-white.active {
  color: #ffffff;
  background-color: #35a56b;
  outline: 0;
}

.btn-white.btn-border {
  border-style: solid;
  border-color: #2f915f;
  border-width: 0 0 2px 0;
}

.pad-xs {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .pad-xs {
    margin-top: 0;
  }
}

.hero {
  width: 100%;
  height: 700px;
  position: relative;
  background: -webkit-linear-gradient(top, rgb(10, 65, 102) 0%, rgb(22, 147, 229) 75%, rgb(240, 249, 255) 100%);
  background: linear-gradient(to bottom, rgb(10, 65, 102) 0%, rgb(22, 147, 229) 75%, rgb(240, 249, 255) 100%);
  background-size: 100% 100%;
  color: #ffffff;
}

#weather-apis-for {
  display: block;
  margin: 0 auto;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
  font-size: 50px;
}

@media screen and (min-width: 768px) {
  #weather-apis-for {
    font-size: 80px;
  }
}

#home-header {
  font-size: 30px;
}

@media screen and (min-width: 768px) {
  #home-header {
    font-size: 45px;
  }
}

#high-performance {
  position: relative;
}

.h3-medium {
  font-size: 20px;
}

.h2-large {
  font-size: 26px;
  line-height: 1.2;
}

.clouds {
  height: 300px;
  position: absolute;
  overflow: hidden;
}

.cloud1 {
  top: 80px;
  z-index: 0;
  fill: #d9d9d9;
  -webkit-animation: move 20s linear infinite;
  animation: move 20s linear infinite;
}

.cloud2 {
  top: 240px;
  z-index: 0;
  fill: #d9d9d9;
  -webkit-animation: move 30s linear 5s infinite backwards;
  animation: move 30s linear 5s infinite backwards;
}

@-webkit-keyframes move {
  from {
    -webkit-transform: translateX(-400px);
  }
  to {
    -webkit-transform: translateX(1408px);
  }
}

@keyframes move {
  from {
    transform: translateX(-400px);
  }
  to {
    transform: translateX(1408px);
  }
}

.weather-container {
  padding-top: 0;
}

.hidden-temp {
  display: none;
}

.weather_animated {
  position: absolute;
  border-radius: 10px;
  right: 15px;
  border: 4px solid #608094;
  background: #3bb878;
}

.weather_animated i {
  background: url(/static/img/animated-icons/cloudy-day-2.svg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 80px;
  height: 70px;
  position: absolute;
}

.weather_animated .location {
  display: block;
  height: 40px;
  text-align: center;
  padding-top: 15px;
}

.weather_animated .location span {
  font-weight: bold;
}

.weather_animated .main_left {
  float: left;
  width: 275px;
  height: 137px;
}

.weather_animated .main_left i {
  background-size: cover;
  width: 140px;
  height: 137px;
  left: 22px;
}

.weather_animated .main_left span {
  position: absolute;
  top: 130px;
  left: 40px;
  font-weight: bold;
  width: 100px;
  text-align: center;
}

.weather_animated .main_right {
  float: right;
  height: 137px;
  padding-top: 26px;
  position: absolute;
  right: 37px;
}

.weather_animated .main_right span {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.weather_animated .main_right .temperature {
  position: absolute;
  left: -135px;
  top: 33px;
  font-size: 32px;
}

.weather_animated .week {
  clear: both;
  display: block;
  width: 100%;
  text-align: center;
}

.weather_animated .week .day {
  display: inline-block;
  width: 95px;
  height: 107px;
  position: relative;
}

.weather_animated.loading * {
  display: none;
}

.weather_animated.loading {
  background: #16394c url(/static/img/animated-icons/loading.svg);
  background-size: 100px;
  background-repeat: no-repeat;
  background-position: center;
  background-position-y: 75px;
}

.weather_animated.loading:after {
  content: "Fetching data ...";
  color: #657f92;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 17px;
  display: block;
  margin: 0 auto;
  text-align: center;
  position: relative;
  top: 160px;
}

@media only screen and (max-width: 1200px) {
  .weather_animated {
    width: 95%;
  }
  .cloud-container {
    display: none;
  }
}

@media only screen and (max-width: 870px) {
  #banner-text {
    display: none;
    width: 0;
  }
  #banner {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .hero {
    height: 900px;
  }
  .weather-container {
    padding-top: 50px;
  }
  .hidden-temp {
    display: block;
    font-size: 13px;
    float: left;
  }
  .weather_animated .main_right .temperature {
    position: relative;
    left: 0;
    top: 0;
    font-size: 13px;
    font-weight: bold;
    float: right;
  }
}

@media only screen and (max-width: 480px) {
  .weather-container {
    padding-top: 50px;
    margin-left: 20px;
  }
  .hero {
    height: 950px;
  }
  .weather_animated .main_left i {
    width: 100px;
    height: 120px;
    left: 0;
    top: 20px !important;
  }
  .weather_animated .main_left span {
    top: 130px;
    width: 120px;
    left: 0;
  }
}

@media only screen and (max-width: 420px) {
  .hero {
    height: 1050px;
  }
}
