/* variables*/
:root{
    --backlight: white;
    --white: #f9f9f9;
    --black: #36383F;
    --gray: #85888C;
    --dropbtn-color: orange;
    --button-drop-bg-color: rgba(100, 100, 100, 0.5); /* was silver; */
    --logo-color: var(--backlight);
    --address-line-color: var(--backlight);
    --shadow-color: var(--backlight);
    --header-background-color: rgba(0, 0, 0, 1); /* was rgb(204, 136, 51) */
    --body-background-color: rgb(100, 200, 200); /* #666c82; */
    --button-background-color: var(--header-background-color);
    --button-color: var(--backlight);
    --dropdown-background-color: var(--header-background-color);
} /* variables*/


html, body {
  /* Ensure both html and body take up the full height */
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--body-background-color);
    padding: 1%;
    margin: 0px;
}


.container-narrow {
    max-width: 600px;
    margin-left: 10px;;
    margin-right: auto;
}

/* Main Content Area */
#main-content {
  /* Tells this section to fill the available space in the body */
  flex: 1; 

  /* Turns this section INTO a flex container for its children */
  display: flex;
  flex-direction: column;
}

/* The iframe INSIDE the main content area */
#main-content iframe {
  /* Tells the iframe to grow, but allows siblings to have space */
  flex-grow: 1;
  
  width: 100%;
  border: none;
}

/* NEW RULE for the links container */
.pdf-links {
  /* This prevents the links container from being squished */
  flex-shrink: 0;
  
  /* Add some spacing to make it look nice */
  padding-top: 30px;
  margin-bottom: 50px;
}

header {
    background-color: var(--header-background-color);
    border: double orange 5px;
    padding: 1%;
    margin: 0px;
    flex-shrink: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/CentralPresbyterianChurch-1960-5thAndGrapeStreetAbileneTX.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.addressline {
  margin-left: 15px;
  margin-bottom: 15px;
  color: var(--address-line-color);
}


/* Logo */
.logo{
    display: inline-block;
    color: var(--logo-color);
    font-size: 160%;
    margin-left: 15px;
}


 /* Dropdown Button */
.dropbtn {
  background-color: var(--button-background-color);
  color: var(--dropbtn-color);
  padding: 8px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: sticky;
  top: 0;
  display: inline-block;
  background-color: var(--dropdown-background-color);
  z-index: 100;
  flex-shrink: 0;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  min-width: 100px;
/*  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
  box-shadow: 4px 4px 4px var(--backlight);
  z-index: 1;
  background-color: var(--dropdown-background-color);
}

/* Links inside the dropdown */
.dropdown-content a {
  color: var(--backlight);
  padding: 8px 8px;
  text-decoration: none;
  display: block;
  width: 300px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  color: var(--dropbtn-color);
  background-color: var(--button-drop-bg-color);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
/*  box-shadow: 4px 4px 4px var(--black);  */
}

/* Change the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: var(--button-drop-bg-color);
    box-shadow: 4px 4px 4px var(--black);
/*    border-radius: 8%; */
}

.dropdown:select .dropdown-content {
  display: none;
}


.dropdown:select .dropdown {
  display: none;
}



ul {
  list-style-type: none;
}

.menu {
  padding-left: 10px;
}

dt {
  color: blue;
  font-weight: 700; /* 100 - 900 = light to bold */
  font-size: 110%;
}




/* addy {
  font-size: small;
  color: blue;
  border-bottom: solid gray 2px;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 0;
  padding-top: 0;
}
*/
