﻿/* Internet Radio player styles*/

#player-outer-box {
    margin-left: clamp(1rem, 50vw - 240px, 300px);
    padding: 0;
    font-size: 1rem;
    line-height: 1.1;
}

#player-scrollup {
    padding: 0.3rem 0.3rem 0.1rem 0.3rem;
    border: 4px solid dimgray;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: indigo;
    background-color: #EEEEEE;
}

#player-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
    margin: 2px;
    padding: 1rem;
    border: 6px solid #3F3FF0;
    border-radius: 2rem;
    background-color: #EFEFFF;
 }

    #player-heading {
        margin: 0;
        padding: 0;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.7rem;
        color: darkred;
    }

#player-logo {
    position: absolute;
    top: -3.8rem;
    right: 1.8rem;
    z-index: 3;
    transform-origin: bottom right;
      transform: rotate(20deg);
    font-size: 5rem;
    font-weight: 900;
    color: darkred;
    background-color: transparent;
}

#station-row {
    display: block;
    margin-bottom: 0.1rem;
    padding: 0;
    text-align: center;
 }

#btn-row {
    table-layout: fixed;
    margin: 2px;
    border: 4px outset #F0F0FF;
}

#btn-row tr {
        background-color: navy;
    }

#btn-row td {
    margin: 0;
    padding: 0.2rem 1px 0.2rem 1px;
    border: 0;
    vertical-align: middle;
}

#cell-1 {
    width: auto;
    white-space: nowrap;
}

    #btn-row button {
        display: inline-block;
        border-radius: 100%;
        font-family: monospace;
        cursor: pointer;
    }

        #btn-row button:focus {
            outline: medium dotted white;
        }

#play-toggle {
    margin: 1px 1rem 1px 1rem;
    padding: 0.4rem;
    border: 10px solid white;
 }

    #play-toggle img {
        height: 3.2rem;
        width: 3.2rem;
        border: 0;
    }

/* button is ready to play */
    #play-toggle[aria-pressed="false"] {
        background-color: lawngreen;
        border: outset ghostwhite;
    }

    #play-toggle[aria-pressed="true"] {
        background-color: lightgoldenrodyellow;
        border: inset;
    }

        #play-toggle[aria-disabled="true"] {
            border: solid ghostwhite;
            background-color: #8080AF;
            cursor: none;
        }

 #audio-icon {
    height: clamp(3rem, 8vw, 4.4rem);
    width: clamp(3.2rem, 9vw, 4.9rem);
    margin: 1px;
    border: 0;
  }

 #cell-2 fieldset {
    margin-top: 0.5rem;
    padding: 0.2rem 0.2rem 0.2rem 0;
    font-size: 1rem;
    line-height: 1rem;
    white-space: nowrap;
    border: 0;
  }

#Vol-Legend {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    color: white;
 }

#vol-louder, #vol-softer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.4rem;
    width: 3.4rem;
    margin: 1px;
    padding: 0;
    border: 5px solid ghostwhite;
    font-family: monospace, sans-serif;
    font-size: 3.2rem;
    line-height: 0.5rem;
    color: black;
    background-color: cornsilk;
 }

#vol-louder > span, #vol-softer > span {
padding-left: 1px;
}

    #vol-louder[aria-disabled="true"], #vol-softer[aria-disabled="true"] {
        border: solid ghostwhite;
        color: white;
        background-color: #8080AF;
        cursor: none;
    }

#vol-col1 {
    display: inline-flex;
    flex-direction: column;
        justify-content: space-around;
              align-items: center;
              gap: 1rem;
              height: 8rem;
    width: 2.5rem;
    padding-top: 1px;
    white-space: normal;
    font-family: monospace, sans-serif;
    font-size: 1rem;
    line-height: 1;
}

#vol-col2 {
    display: inline-block;
    vertical-align: bottom;
}

#vol-bar-outer {
    display: inline-block;
    position: relative;
    height: 8rem;
    width: 2.1rem;
    box-sizing: content-box;
    margin: 0.5rem 0.5rem 0.2rem 0.9rem;
    border: 4px solid ghostwhite;
    background-color: slateblue;
}

#vol-bar-inner {
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 2px;
    height: 100%;
    width: 1.8rem;
    background-color: cornsilk;
}

#vol-level {
    font-family:  Arial, Helvetica, sans-serif, sans-serif;
    font-size: 0.9rem;
    line-height: 1.2;
  }
    /* start station-menu styles */

    #station-menu1-wrapper {
        position: relative;
    }

#station-row fieldset {
    display: inline-block;
    padding: 0.6rem 0 0 0;
    border: 0;
}

#station-row  legend {
    font-size: 1.1rem;
    font-weight: auto;
}

    #app-menu1 {
        position: absolute;
        top: 2.9rem;
        left: 4px;
        z-index: 5;
        display: inline-flex;
            flex-direction: column;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
        border: 3px solid darkgray;
        box-shadow: 0.6rem 0.6rem 0.5rem silver;
        background-color: silver;
    }

        #app-menu1 button[role="menuitemradio"] {
            position: relative;
            display: block;
            margin: 0;
            padding: 0 0.2rem 0 2rem;
            border: 4px solid gray;
            white-space: nowrap;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 1rem;
            font-weight: bold;
            letter-spacing: 0.1rem;
            text-align: left;
            line-height: 2;
            color: black;
            background-color: #EEEEEE;
                    }

                    #app-menu1 button[aria-checked="true"]::before {
                        position:  absolute;
                        top: 1%;
                        left: 0.4rem;
                                                content: "✔" / "";
                                                font-size: 110%;
                        color: darkred;
                        background-color: white;
                    }

                #app-menu1 button[role="menuitemradio"]:focus,
                #app-menu1 button[role="menuitemradio"]:hover {
                    border: 3px solid rgba(0, 0, 92, 0.5);
                    outline: medium;
                                        color: black;
                    background-color: lightgoldenrodyellow;
                }

    #app-menu1-trigger {
        display: inline-block;
        padding: 0.3rem 1rem 0.2rem 1rem;
        border: 4px solid dimgrey;
        border-radius: 0.5rem;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.2rem;
        line-height: 1.5;
        color: black;
        background-color: #CCCCCC;
    }

        #app-menu1-trigger span {
            font-size: 50%;
            font-weight: 400;
            color: #767676;
        }

        #app-menu1-trigger[aria-expanded="true"] {
            border: outset;
            color: black;
            background-color: goldenrod;
        }

            #app-menu1-trigger:focus,
            #app-menu1-trigger:hover {
                border: inset darkgray;
                color: black;
                background-color: lightgoldenrodyellow;
                outline: medium;
                            }

#app-menu1-result {
    display: inline-block;
    width: 8rem;
    margin: 0.2rem 0 0.2rem  0;
    padding: 0 0 0.1rem 0;
    border-bottom: 4px solid dimgray;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: bold;
    line-height: 1.2;
    color: slateblue;
    background-color: #EEEEEE;
}
        #app-menu1-trigger[aria-expanded="false"]~#app-menu1 {
            display: none;
        }

