/* Style sheet for Weather-Dashboard application
/*         Richard Ay,  August/September 2020    */

/* Implement the custom Google Styles */
body {
  font-family: "Staatliches", "Open Sans", sans-serif;
  background-color: rgb(231, 222, 205);   
}

/* This class works together with the "footer" class to keep the footer
   at the bottom of the viewport, regardless of resizing. */
.wrapper {
  min-height: calc(100vh - 50px);  /* Note the '50px' matches the footer. */
}


.footer {
  width: 100%;
  background: blue;
  color: white;
  font-size: 1rem;
  padding: 10px;
  border-top: 5px solid rgb(105, 105, 204);
  margin-top: 10px;            /* added to avoid touching the footer area */
  height: 50px;                /* 50px matches wrapper deduction */
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.next5Days {
  align-items: center;
  margin-bottom: 5px;
  min-height: 85%;
}

.day-panels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  
}

.daycard { 
  display: flex;
  flex-wrap: wrap;
  margin: 5px 0 5px 0;
}


.city-input {
  min-width: 255px;
}

.row {
  margin-left: 5px;
  margin-right: 5px;
}


h1, h2, h3, h4, h5, h6 {
  font-family: "Staatliches", sans-serif;
}

.h7 {
  font-size: 0.5em;
}

.today {
  font-family: "Staatliches", "Open Sans", sans-serif;
  font-size: 1.1em;
}

.currentday {
  margin: 10px 0 10px 0;
}

.local1 {
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: bottom;
}

.local2 {
  margin-top: 0;
  padding-top: 0;
  font-size: 0.85em;
}

.local3 {
  margin-bottom: 5px;
  padding-bottom: 0;
  text-align: bottom;
  font-size: 1em;
}

.redwhite {
  background-color: red;
  color: white;
  padding-left: 8px;
  padding-right: 8px;
}


h5, .forecast {
  font-weight: bold;
  margin: 30px 0 10px 0;
}

h1 {
  background-color: blue;
  color: white;
  padding: 10px 0 5px 0;
  text-align: center;
  font-family:  sans-serif;
  font-weight:  bolder;
}

.card {
  min-width: 95%; 
  justify-content: left;
}

.card-header {
  padding-top: 0;
  margin-top: 10px;
}

.previous {
  padding-bottom: 3px;
  margin-bottom: 0px;
}



/* General list style */
ul.list-group {
  min-height: 130px;
}

.daycard, ul {
  background-color: blue;
  color: white;
  list-style-type: none;
  min-width: 19%;
  justify-content: left;
  text-align: left;
  padding-top: 5px;
  padding-left: 1px;
  font-size: .9em;
}


/* Define the style for the 'text buttons', used for the 'previous city" list */
.btn {
  border: none;
  background-color: inherit;
  color: blue;
  padding: 5px 5px 5px 5px;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover {
  background: #440ddb;
}


/* Define the 'media query' styles.  */
/* Media queries should always be last in the style sheet. */
/* Media query style for smaller desktop screens and smaller than 980. */

@media screen and (max-width: 780px) {
  form .container-fluid {
    flex: 1 100%;
  }

 /* .day-panels {
    flex-basis: 100%;
  }  */

}
