﻿/* Source: https://www.w3schools.com/howto/howto_css_dropdown.asp */

/* Dropdown Button */
.customDropbtn {
    padding: 10px 10px 10px 0px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    height:64px;
    color: #5c3e8f;
}

.customDropbtn.listItemOptions {
    padding: 0;
    font-size: 14px;
    height: 22px;
}

.customDropbtnsmall
{
    padding: 10px 10px 10px 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	height: 64px;
	color: #5c3e8f;
}

/* The container <div> - needed to position the dropdown content */
.customDropdown {
    position: relative;
    display: inline-block;
    height: 64px !important;
}

.customDropdown.listItemOptions {
    height: 22px !important;
}

/* Dropdown Content (Hidden by Default) */
.customDropdown-content {
    background-color: #fff;
    margin: 0;
    display: none;
    position: absolute;
    min-width: 100px;
    max-height: calc(100vh - 100px);
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
    overflow: auto;
}

.customDropdown-content.listItemOptions-content {
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.2);
    top: 22px;
}

/* Links inside the dropdown */
.customDropdown-content a {
    color: black;
    clear: both;
    /*padding: 12px 16px;
    text-decoration: none;*/
    display: block;
    cursor: pointer;
    line-height: .0rem;
    width: 100%;
    text-align: left;
    text-transform: none;
}

.customDropdown-content.listItemOptions-content a {
    font-size: 1rem;
    width: 180px;
}

/* Change color of dropdown links on hover */
.customDropdown-content a:hover 
{ 
    background-color: #f1f1f1 
}

.customDropdown-content li:hover
{
    background-color: #f1f1f1;
}
    
    .customDropdown-content li > a, .customDropdown-content li > span
    {
        font-size: 1.2rem;
		color: #5C3E8F;
		display: block;
        padding: 1rem 1rem;
    }


.customDropdown-content li > a > i
        {
            height: inherit;
            line-height: inherit;
        }

/* Show the dropdown menu on hover */
.customDropdown:hover .customDropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.customDropdown:hover .customDropbtn {
    background-color: #eeeeee;
}

.customDropdown:hover .customDropbtnsmall {
    background-color: #eeeeee;
}

.customDropbtn.listItemOptions:hover {
    background-color: #eeeeee;
}