/* The container <div> - needed to position the dropdown content */

/* Dropdown Button */
.dropbtn {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0px 8px;
    width: 42px;
    margin: 0px;
    height: 100%;
    background-color: #1585d7;
    color: #FFF;
    cursor: pointer;
    border: none;
    border-style: none;
    display: inline-block;
    font-family: Arial;
    font-size: 11pt;
    font-weight: bold;
    border-left: 1px #ededed dotted;
}

.dropbtn.compact {
    background-color: #372f2b;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 2px;
    border-left: 0px;
}

.dropbtn.compact:hover,
.dropbtn.compact:focus {
    color: darkgreen;
    border-bottom: 1px dotted red;
    border-top: 1px dotted red;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
    color: darkgreen;
    background-color: #4db5ff;
}

.dropbtn:focus,
.dropbtn.active {
    background-color: #ededed;
}

.dropbtn.favorite {
    background-image: url("imgs/bf_favorite.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px;
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 320px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    top: 40px;
    display: none;
    position: absolute;
    font-family: Arial;
    font-size: 11pt;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    margin: 0px auto;
    background-image: linear-gradient(#ededed, #d7d7d7);
}

/* Links inside the dropdown */
.dropdown-content a {
    color: darkblue;
    padding: 8px 8px;
    text-decoration: none;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11pt;
    margin: 4px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #3399FF;
    color: #FFFFFF;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    margin: 4px;

}

.dropdown-content a.favorite {
    padding-left: 20px;
    background-image: url('imgs/bf_favorite.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px;
}

.dropdown-content a.pinpopup {
    background-image: url('imgs/bt_rightmark.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px;
    cursor: pointer;
}

.dropdown-content a.pinpopup.header {
    background-image: url('');
    color: darkviolet;
    font-weight: bold;
    border-bottom: #FFFFFF solid 1px;
}


/* 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: block;
}

hr.menu {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 0px;
    margin-left: 8px;
    margin-right: 8px;
    border-top: 1px dotted darkgray;
    width: calc(100%-8px);
}