body {
  font-family: 'Questrial', sans-serif;
  background-image: url("../images/background-destop.jpg");
  background-color: #cccccc;
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}
#myBtn {
  display: none;
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: gray;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}
.logo {
  font-family: 'Pacifico', cursive, serif;
}

.main {
  width: 60%;
  margin: 10% auto 0 auto;
  color: white;
}

#resultContainer {
  width: 100%;
  margin: 10px;
  color: white;
}
button {
  margin: 10px;
}
.card {
  float: left;
  margin: 5px;
  background: rgba(0, 0, 0, 0.6);
  color: black;
}
.card-title a{
  color: white;
}
#flightContainer {
  position: absolute;
  left: 0;
}
.flightsInfo{
  color: white;
}
#eventContainer {
  margin-left: auto;
  margin-right: auto;
}

/*+++++++++++++++++++ SideBar ++++++++++++++++++*/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 20px;
  transition: 0.5s;
}

/* Style the sidenav links and the dropdown button */
.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}
.dropdownbtnContainer {
  position: absolute;
  top: 55px;;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
  color: #f1f1f1;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #262626;
  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 36px;
  margin-left: 50px;
}
/*+++++++++++++++ END +++++++++++++++++++++*/
.autocomplete-wrapper {
  position: relative;
}

.autocomplete-wrapper input {
  width: 100%;
}

.autocomplete-results {
  position: absolute;
  background: white;
  z-index: 1;
  top: 100%;
  left: 0;
  font-size: 13px;
  border: solid 1px #ddd;
  border-top-width: 0;
  border-bottom-color: #ccc;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.autocomplete-result {
  padding: 12px 15px;
  border-bottom: solid 1px #eee;
  cursor: pointer;
  color: black;
}

.autocomplete-result:last-child {
  border-bottom-width: 0;
}

.autocomplete-location {
  opacity: 0.8;
  font-size: smaller;
}

.autocomplete-results[data-highlight="0"]> :nth-child(1) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.autocomplete-results[data-highlight="1"]> :nth-child(2) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.autocomplete-results[data-highlight="2"]> :nth-child(3) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.autocomplete-results[data-highlight="3"]> :nth-child(4) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.autocomplete-results[data-highlight="4"]> :nth-child(5) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.autocomplete-results[data-highlight="5"]> :nth-child(6) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.autocomplete-results[data-highlight="6"]> :nth-child(7) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.autocomplete-results[data-highlight="7"]> :nth-child(8) {
  color: black;
  background: #26c9ff;
  border-bottom-color: #26c9ff;
  outline: solid 1px #00b6f2;
}

.container {
  color: white;
}

/* CSS to truncate the pagination */
.pagination {
  margin: 20px 0 0;
  font-size: 0;
  text-align: center;
}

.pageno {
  text-decoration: none;
  color: #000;
  display: inline-block;
  background: #ccc;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 14px;
}

.pageno:hover {
  text-decoration: underline;
}

ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

li {
  display: inline-block;
  margin: 0 2.5px;
}
li.active a {
  background: #fff;
}
li.active a:hover {
  text-decoration: none;
  cursor: default;
}

.prev.disabled, .next.disabled {
  cursor: default;
  background: #ccc;
  color: #888;
  border-color: #888;
}
.prev.disabled:hover, .next.disabled:hover {
  cursor: default;
  text-decoration: none;
}

.prev {
  margin-right: 2.5px;
  text-decoration: none;
  color: #000;
  display: inline-block;
  background: #ccc;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 14px;
}

.prev:hover {
  text-decoration: underline;
}

.next {
  margin-left: 2.5px;
  text-decoration: none;
  color: #000;
  display: inline-block;
  background: #ccc;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 14px;
}
.next:hover {
  text-decoration: underline;
}

.figure-img {
  width: 50px;
}
.figure-caption {
  color: white;
}
#weatherContainer {
  position: fixed;
  right: 0;
  overflow: visible;
}

@media (max-width: 767px) {

  li:first-child,
  li.active,
  li.active-sibling:nth-last-child(2),
  li:last-child {
    display: inline-block !important;
  }

  li:first-child:nth-last-child(n+6)~li {
    display: none;
  }

  li:first-child:nth-last-child(n+6)~li:nth-last-child(-n+3) {
    display: inline-block;
  }

  li:first-child:nth-last-child(n+6)~li:nth-last-child(3):before {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-right: 2.5px;
  }

  li:first-child:nth-last-child(n+6).active:before,
  li:first-child:nth-last-child(n+6)~li.active:before {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-right: 2.5px;
  }

  li:first-child:nth-last-child(n+6).active:after,
  li:first-child:nth-last-child(n+6)~li.active:after {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-left: 2.5px;
  }

  li:first-child:nth-last-child(n+6).active:nth-child(-n+2):before,
  li:first-child:nth-last-child(n+6).active:nth-child(-n+2):after,
  li:first-child:nth-last-child(n+6).active:nth-last-child(-n+2):before,
  li:first-child:nth-last-child(n+6).active:nth-last-child(-n+2):after,
  li:first-child:nth-last-child(n+6)~li.active:nth-child(-n+2):before,
  li:first-child:nth-last-child(n+6)~li.active:nth-child(-n+2):after,
  li:first-child:nth-last-child(n+6)~li.active:nth-last-child(-n+2):before,
  li:first-child:nth-last-child(n+6)~li.active:nth-last-child(-n+2):after {
    display: none;
  }

  li:first-child:nth-last-child(n+6).active~li:nth-last-child(-n+3),
  li:first-child:nth-last-child(n+6)~li.active~li:nth-last-child(-n+3) {
    display: none;
  }

  li:first-child:nth-last-child(n+6).active~li:nth-child(-n+3),
  li:first-child:nth-last-child(n+6)~li.active~li:nth-child(-n+3) {
    display: inline-block;
  }

  li:first-child:nth-last-child(n+6).active~li:nth-child(-n+2):after,
  li:first-child:nth-last-child(n+6)~li.active~li:nth-child(-n+2):after {
    display: none;
  }

  li:first-child:nth-last-child(n+6).active~li:nth-child(3):after,
  li:first-child:nth-last-child(n+6)~li.active~li:nth-child(3):after {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-left: 2.5px;
  }
}

@media (min-width: 768px) {

  li:first-child,
  li.active-sibling,
  li.active,
  li.active+li,
  li:last-child {
    display: inline-block !important;
  }

  li:first-child:nth-last-child(n+8)~li {
    display: none;
  }

  li:first-child:nth-last-child(n+8)~li.active-sibling:before {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-right: 2.5px;
  }

  li:first-child:nth-last-child(n+8)~li.active+li:after {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-left: 2.5px;
  }

  li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+5) {
    display: inline-block;
  }

  li:first-child:nth-last-child(n+8)~li:nth-last-child(5):before {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-right: 2.5px;
  }

  li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):before,
  li:first-child:nth-last-child(n+8)~li:nth-child(-n+2):after,
  li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):before,
  li:first-child:nth-last-child(n+8)~li:nth-last-child(-n+2):after,
  li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):before,
  li:first-child:nth-last-child(n+8)~li.active-sibling:nth-last-child(-n+4):after {
    display: none !important;
  }

  li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5),
  li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5) {
    display: none;
  }

  li:first-child:nth-last-child(n+8).active~li:nth-last-child(-n+5):before,
  li:first-child:nth-last-child(n+8)~li.active~li:nth-last-child(-n+5):before {
    display: none;
  }

  li:first-child:nth-last-child(n+8).active~li:nth-child(-n+5),
  li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+5) {
    display: inline-block;
  }

  li:first-child:nth-last-child(n+8).active~li:nth-child(-n+4):after,
  li:first-child:nth-last-child(n+8)~li.active~li:nth-child(-n+4):after {
    display: none;
  }

  li:first-child:nth-last-child(n+8).active~li:nth-child(5):after,
  li:first-child:nth-last-child(n+8)~li.active~li:nth-child(5):after {
    content: "\2026";
    font-size: 24px;
    display: inline-block;
    margin-left: 2.5px;
  }

  li:first-child:nth-last-child(n+8).active:before,
  li:first-child:nth-last-child(n+8).active:after,
  li:first-child:nth-last-child(n+8)~li.active:before,
  li:first-child:nth-last-child(n+8)~li.active:after {
    display: none;
  }
}

