
  
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-grid;
    background-color: #f6f6f6;
    color: rgb(0, 0, 0);
    vertical-align: middle;

    border: 2px solid rgb(165, 165, 165);
    border-radius: 10px;

    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    font-family: Garamond;
}

.dropdown h2 {
    margin: 0; 
    pointer-events: none;
}


.dropdown p {
    height: 100%;
    vertical-align: middle;
    pointer-events: none;
}

.big-dropdown {
    width: 100%;
    box-sizing: border-box;

    font-size: 1.2em;
}

.dropdown-selected-text {
    margin: 0;
    display: inline-grid;
    align-items: center;
}

.dropdown-selected-text * {
    width: 100%;
}

.dropdown-option.selected {
    font-weight: bold;
    background-color: #dddddd;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0px;
    min-width: 100%;

    max-height: 500px;
    overflow-y: auto;
}
  
.dropdown-option {
    
    position: relative;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
}
  
/* Change color of dropdown links on hover */
.dropdown-option:hover {background-color: #ddd;}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:grid;} 