* {
    margin: 0px;
    padding: 0px;
    font-family: Arial; 
    box-sizing: border-box;
}

.theme-dark {
    background-color: black;
    color: white;
}

.theme-light {
    background-color: white;
    color: black;
}

img {
    border-radius: 10px;
  }

.ximage-class {
    position: relative;
}

.xvideo-time {
    font-weight: 500;
    font-size: 12px;
    line-height: 12px;
    padding: 4px;
    background-color: rgb(0, 0, 0);
    color: white;
    position: absolute;
    border-radius: 4px;
    bottom: 12px;
    right: 8px;
  }

#wrapper-div {
    width: 100%;
    margin:auto;
}

#header_image-div {
    max-width: 100%;
    width: auto;
    height: auto;
    margin: auto;
    border: 0px;
    object-fit: cover;
}

#site-navigation-div {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;   
    align-content: center;
    justify-content: center;
    background-color: rgb(128,129,108);
    color: white;
}

#buttons-div {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;   
    align-content: center;
    justify-content: center;
    color: black;

}

.myButton {
    background-color: darkgray;
    color:black;

    margin: 4px 4px;
    border: 2px solid lightgray;
    border-radius: 5px;
    max-height: 20;
}

.myButton:hover {
    color : white;
    border-color: white;
}

.shrinking-img {
    width:100%;
    height:auto;
}

#flexbox-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
}
#flexbox-container::after {
    content: '';
    display: block;
    height: 300px; /* or more if needed */
}

.flexbox-item {
    max-width: 320px;
    height: auto;
    margin: 10px;
}

.my-para.title-text {
    line-height: 1;
    margin:  0%;
    padding: 0px;
    border: 0px;
}

.title-text {
    font-size: smaller;
    font-weight: bold;
    color: black;
    padding:0%;
    border:0px;
}
.fly-text {
    font-size: smaller;
    color: black;
    padding:0%;
    border:0px;
}
    
.centered-text {
    text-align: center;
}


/* Dropdown Button */
.dropbtn {
  background-color: rgb(128,129,108);
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  max-height: 20;
}

/* .dropbtn:hover, .dropbtn:focus {
  background-color: rgb(128,129,108);
    color : peachpuff;
}
*/

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  overflow: visible;
  z-index: 9999;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(128,129,108);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 9999;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: rgb(128,129,108);
    color : darkgreen;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: rgb(128,129,108);}
    
/* Change the color of the links in the navigation bar */
.my_a:link { color: White; text-decoration: none; font-weight: normal; }
.my_a:visited { color: White; text-decoration: none; font-weight: normal; }
.my_a:active { color: purple; text-decoration: none; }
.my_a:hover { color: darkgreen; text-decoration:cyan; font-weight: none; }

.filter-by-menu-container {
    display: flex;
    justify-content: center;
    margin: 0 6px;

}

.filter-by-menu {
    display: inline-block;
    position: relative;
    text-align: center;
    margin-right: 10px;

}

.filter-by-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
}

.filter-by-menu:hover .filter-by-submenu {
    display: block;
    background-color: purple;
}
.filtered-by-btn {
    background-color: darkgray;
    color:black;
    width: 100%;
    margin: 4px 2px;
    border: 2px solid lightgray;
    border-radius: 5px;
    max-height: 20;
}

.filtered-by-btn:hover { 
    border-color: white;
    color : white;
}

.filtered-by-subbtn {
    background-color: darkgray;
    color:black;
    width: 60vh;
    width:fit-max;
    text-align: left;
    max-height: 20;
}

/* Change color of filter-by buttons on hover */
.filtered-by-subbtn:hover {
    color : white;
    border-color: white;
}

/* the below was added Oct 19, 2023 to improve the submenu operation on the iphone */

.dropfilterbtn {
    background-color: #939380;
    color: white;
    width: fit-content;
    margin-left: 2px;   
    margin-right: 2px;
    padding: 3px ;
    border-radius: 6px;
}

.dropfilterbtn:hover, .dropfilterbtn:focus {
    border-color:black;
    color: aliceblue;

}

.my_buttons-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 5px;
    width: 100%;
}

.dropdown-div {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.dropdown-content {
  display: none;
  position: absolute;
  width: auto;
  overflow:auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  overflow: visible;
}

.dropdown-content button {
  display: block;
}

.dropdown-content button:hover {
    border-color: white;
    font-weight: bold;
}

.dropdown-div:hover .dropdown-content {display: block;}

.dropdown-div:hover .dropfilterbtn {
    border: 3px solid black;
    font-weight: bold;}

.filter_button {
    background-color: #939380;
    color: white;
    text-align: Left;
    width:400px;
    border: 1px solid black;
    padding: 5px;
    font-size: 16px;
    border-radius: 4px;
}

.filter_button:hover {
    border: 1px solid white;
    color: white;
}

