 @import url("https://fonts.googleapis.com/css?family=Nunito:400,700&display=swap"); 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
 /*background:#fdfdfd; */
 background:#6495ED;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
}
main {
  max-width: 900px;
  margin: auto;
  padding: 0.5rem;
  text-align: center;
  background:#6495ED;
}

#menu_main {
  max-width: 900px;
  margin: auto;
  padding: 0.5rem;
  text-align: center;
  background:#6495ED;
}

#header_main {
max-width: 900px; 
text-align: center; 
margin: 0 0.5rem; 
border-radius: 20px; 
background: white;
}


nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*background: #6495ED;*/
  background: white;
  border: 1px solid green; /* Green border */
  border-radius: 20px;
}

ul {
  list-style: none;
  display: flex;
  color: #6495ED;
}

li {
  margin-right: 1.0rem; 
  
}
ul>li>a {
  display:block;
  width:100%;
  color: #6495ED;
  font-size: 1.1rem;
}

h1 {
  /*color: #e74c3c; */
  color: #6495ED;
}
h2, #demo2, #demo3 {
  color: navy;
  margin-bottom: 0.5rem;
  text-align: center;
}
h3 {
  color: #6495ED;
 
}

p {
  color: navy;
}
/* Solid border dividing lines *///////////////////////////////////////
hr { 
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
} 

hr.solid {
  border-top: 15px solid #bbb;
}

a, figure {
    display: inline-block;
}
figcaption {
    margin: auto;
}
figure {
    padding: 5px;
}

.content {
 margin: 120px auto 100px auto;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: auto;
  /*padding: 0.5rem 0;*/
}
.images_card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  
  height: auto;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
   padding: 0.5rem 0;
  overflow: auto;
}



.card {
  display: flex;
  align-items: center;
  flex-direction: column;
  /*width: 20rem auto;*/
  /*width: auto;*/
  max-width: 10rem;
  height: 10rem;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  margin: auto;
  overflow: hidden;
}

.card--avatar {
  width: 100%;
  height: 10rem;
  object-fit: contain;
}

.card--title {
  color: navy;
  font-weight: 700;
  text-transform: capitalize;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.card--link {
  text-decoration: none;
  background: #db4938;
  color: #fff;
  padding: 0.3rem 0.5rem;
  border-radius: 10px;
  margin: 0 0 0.3rem 0;
}
}
/* style for airport pages */
.button  {
	 font-size: 1em;
  background-color: #04AA6D; /* Green background */
  border: 1px solid green; /* Green border */
  border-radius: 20px;
  color: white; /* White text */
  padding: 10px 24px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  width: 90%; /* Set a width if needed */
  margin: 10px auto 0 auto;
  display: block; /* Make the buttons appear below each other */
}

.button-red {
	 font-size: 1em;
  background-color: red; /* Green background */
  border: 1px solid red; /* Green border */
  border-radius: 20px;
  color: white; /* White text */
  padding: 10px 24px; /* Some padding */
  width: 90%; /* Set a width if needed */
  margin: auto;
  display: block; /* Make the buttons appear below each other */
	}

.button:not(:last-child) {
  border-bottom: none; /* Prevent double borders */
}

/* Add a background color on hover */
.button:hover {
  background-color: #3e8e41;
}
/**********************************************************************************************/
/****************** "2" items are bespoke for airports cards***********************************/
.container2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 1rem 0;
  background:#6495ED;
}
.sticky + .container2 {
  padding-top: 102px;
}
.card2 {
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
  width: 9rem;
  height: 10rem;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  margin: auto;
  overflow: hidden;
}

.card--avatar2 {
  width: 100%;
  height: 7rem;
  margin: 5px;
  object-fit: contain;
}
.card--title2 {
  color: navy;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.card--link2 {
  text-decoration: none;
  background: green;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  position: absolute;
  left: auto;
  bottom: 8px;
}


/* day of week for flight cards */
.top-center {
  position: absolute;
  top: 8px;
  left: auto;
  color: white;
  font-weight: 700;
  font-size: 1.0rem;
}

/* month letters for flight cards*/
.top-mid {
  position: absolute;
  top: 25%;
  left: auto;
  font-size: 1.2rem;
  color: red;
  font-weight: 700;
}
/* date integer text for flight cards */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 700;
  color: red;
}
/* Bottom left departure icon for flight cards */
.bottom-left-counter {
 position: absolute;
  bottom: 5px;
  left: 15px;
 max-width: 20%;
  height: 2.5rem;
  object-fit: contain; 
}

/* Bottom right arrival icon for flight cards */
.bottom-right-counter {
position: absolute;
  bottom: 5px;
  right: 15px;
 max-width: 20%;
  height: 2.5rem;
  object-fit: contain; 
}
/* Bottom left departure icon digits for flight cards */
.obd_digits{
position: absolute;
  bottom: 16px;
  left: 8px;
  color: #6495ED;
  font-weight: 700;
}
/* Bottom right arrival icon digits for flight cards */
.ibd_digits{
position: absolute;
  bottom: 16px;
  right: 8px;
  color: #6495ED;
  font-weight: 700;
}
/**********************************************************************************************************/
/****************************"3" items are bespoke for flights cards***************************************/

.container3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: auto;
  /*padding: 0.5rem 0;*/
}

.card3 { /* for flight detail and listing cards only*/
  display: flex;
  align-items: center;
  flex-direction: column;
  width: auto;
  /*width: 20rem auto;*/
  height: auto;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  margin: 15px;
  padding: 20px 10px;
  overflow: auto;
}


.card--avatar3 {
  height: 3rem;
 margin: 0px 0px 0px 10px;
 
}

.card--avatar4{
  width: 3rem;
 margin: 0px 0px 0px 10px;
 
}

.card--title3 {
  color: red;
  font-weight: 700;
  text-transform: capitalize;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
table {
  color: navy;
  border-collapse: collapse;
  width: 100%;
  margin: auto;
}
td, th {
	
  border: 1px solid #dddddd;
  /*text-align: left;*/
  padding: 5px;
}
.accordion {
  background-color: white;
  color: navy;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: left;

}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
  padding: 10px 18px;
  color: green;
  display: none;
  background-color: white;
  text-align: left;
  overflow: auto;
}

.buttonx {
font-size: 1.0 em;
  background-color: white; /* white background */
  border: 1px navy; /* Green border */
  color: Navy; /* White text */
  padding: 2px 5px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  margin: 0px auto 0 auto;
  
}

.menu_img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Change styles for menu images on extra small screens */
@media screen and (max-width: 360px) {
	nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*background: #6495ED;*/
  background: white;
  border: 1px solid green; /* Green border */
  border-radius: 8px;
}
.menu_img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  float:left;
}
}

/*This styling is all purely to make the airport name and date a "sticky"*/
/* The dummy div class is a copy of css for header_main div */

.dummy_div_class {
  position: fixed;
  top: 0;
  width:100%;
  Z-index:9;
}


.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width:100%;
  background: #6495ED;
 /*padding: 0px 15px 10px 15px;*/
   padding: 0px  0.5rem  0.5rem  0.5rem;
}

      #main-footer .footer_content {
        color: white;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 90%;
        padding-bottom: 10px;
		margin: 0 auto 10px auto;
      }

      #main-footer .material-icons {
        font-size: 34px;
      }

      #main-footer .footer_content a,
      #main-footer .footer_content a:hover,
      #main-footer .footer_content a:visited {
        color: var(--footer-font-color);
        text-decoration: none;
        display: flex;
        flex-direction: column;
        text-align: center;
      }

      #main-footer .footer_content a span {
        font-size: 12px;
      }

      #main-footer .footer_content li {
        list-style-type: none;
        font-size: 2em;
        line-height: 1;
        display: inline-block;
        margin-bottom: 0;
      }



