/***************************************************************************************/
/*          APAN css file appbuttondropstyle.css 
/*          Author: Shawn Parrish
/*          Purpse: Supports the "look" of the drop down button 
/*                  requires the css file appbuttondropclick.css, also in widget
/*          Date:   06/03/2024
/*
/*
 /***************************************************************************************/

/* CSS Document */

.dropdown {
    float: right;
    display: flex;
    display: inline-flex;
    /* flex-direction: column; */
    cursor: pointer;
    font-family: Arial, Gotham, "Helvetica Neue", Helvetica, "sans-serif";
}

.dropbtn {
    height: 29px;
    /* This is for height of the button*/
    cursor: pointer;
    /*makes hand icon appear when pointer hovers over something */
    border: none;
    outline: none;
    box-sizing: border-box;
    font-size: large;
    font-family: Arial, Gotham, "Helvetica Neue", Helvetica, "sans-serif";
    white-space: nowrap;
    line-height: normal;
    background-size: auto;
    padding: 2px 4px 2px 4px;
    transition: 1.35s ease-out;
    color: orange; /*color of the app launcher button is set in flaticon5.css, this is for the drop down arrow*/
    background-color: black; /* was inherit this is the color behing the area of the app launcher button*/
}


    .dropbtn:hover {
        background-color: #0072c6;
        /*bubble behind app button on hover also for text in the drop down on hover*/
        color: #ff00ff;
        border-radius: 5px;
        border-width: 1px;
        border-style: hidden;
        /*if you turn on "solid" it makes the the drop down box expand and contract as you move the mouseover*/
    }

/*You need both classes of .dropdown .dropdown-content  on the grant-sandbox server, but on apan verint you only need .dropdown-content -shawn*/
/*.dropdown .dropdown-content {*/
.dropdown-content {
    display: flex;
    /*display:inline-flex;*/
    flex-direction: column;
    /*flex-wrap: wrap;*/
    /*align-items:flex-start;*/
    opacity: 0;
    visibility: hidden;
    /*transition: visibility 1s;*/
    transition: 0.75s ease-out;
    padding-top: 5px;
    /*on regular html this is absolute, but here it needs to be set to fixed for Verint*/
    position: fixed;
    background-color: #024873;
    /*color:#FF00FF;*/
    border-radius: 5px;
    /*min-width: 150px;*/
    max-width: 250px;
    /*max-height: 100%;*/
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.8);
    /*a declared z-index is needed here to ensure the odrop down stays visible when in hoover*/
    z-index: 1000000;
    /*top:0;  this needs to be like 20px for verint*/
    top: 20px;
    /*vertical-align: top;*/
    margin-left: 25px;
}

    /*************** mi is menu item ***********************************/


    .dropdown-content .mi {
        display: flex;
        position: relative;
        padding: 4px 3px 1px 0px;
        text-decoration: none;
        font-family: Arial, Gotham, "Helvetica Neue", Helvetica, "sans-serif";
        font-weight: bold;
        text-align: left;
        /*margin: 4px 4px 10px 5px;*/
        margin: 8px 8px 8px 8px;
    }



        .dropdown-content .mi:hover {
            opacity: 1;
            background-color: #0072c6;
            /* COLOR of bubble around link text in the dropdown for the mouseover effect*/
            color: #ffffff;
            /* COLOR Of icons when mouse pointer hovers over each option */
            text-shadow: 2px 2px 18px rgba(255, 255, 255, 0.4);
        }



        .dropdown-content .mi::before {
            content: '';
            /* color:#024873; */
            color: #FF00FF;
            position: absolute;
            opacity: 0;
            z-index: -1;
            transition: 1.4s ease-out;
        }

        .dropdown-content .mi:hover::before {
            opacity: 1;
        }




/* show drop down (dd) content */
.dropbtn:focus .dropdown-content {
    position: fixed;
    visibility: visible;
    opacity: 1;
}


/* mask to close menu by clicking on the button */
.dropdown .db2 .dropbtn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
    display: none;
}


.dropdown:focus .db2 .dropbtn {
    display: flexbox;
}


.dropdown .db2 .dropbtn:focus .dropdown-content {
    outline: none;
    visibility: hidden;
    opacity: 0;
}






/*=================================   MOBILE SUPPORT  ===========================*/
/*===============================================================================*/


@media screen and (max-width: 670px) {




    .dropdown {
        /*float: right;*/
        /*cursor: pointer;*/
        /*text-indent: 0;*/
        /*position: absolute;*/
        /*text-align: center;*/
        width: 40px;
        height: 40px;
        /*top: 5px;*/
        /*left: 0;*/
        /*display: block;*/
        /*content: "\e828";*/
        /*font-size: large;*/
        font-family: Arial, Gotham, "Helvetica Neue", Helvetica, "sans-serif";
        white-space: nowrap;
        line-height: normal;
        overflow: visible;
        margin: 5px 0px 0px 1px;
    }

        /* MODIFIED */
        .dropdown .dropbtn {
            cursor: pointer;
            /*makes hand icon appear when pointer hovers over something */
            /*height: 44px!important;*/
            /* This is for height of the button it is 29 for full screen but needs to be 44px for mobile view*/
            /*color: Yellow;*/
            /*color of the app launcher button is set in flaticon5.css, this is for the drop down arrow*/
            /*background-color: black!important;*/
            /* was inherit this is the color behing the area of the app launcher button*/

            line-height: normal;
        }




        .dropdown .dropdown-content {
            /*display: block;*/
            /*display: grid;  */
            display: flex;
            /*display:inline-flex;*/
            flex-direction: column;
            /*flex-wrap: wrap;*/
            /*align-items:flex-start;*/
            opacity: 0;
            visibility: hidden;
            transition: visibility 1s;
            /* display: none;   */
            /*visibility: hidden; don't use visibility it will stay hidden in both states */
            /*padding-top: 0px;*/
            padding: 5px 5px 5px 5px;
            /*on regular html this is absolute, but here it needs to be set to fixed*/
            position: fixed;
            /*color of the dropdown box frame  was #ffffff by default*/
            /*background-color:red;  */
            /* background-color:yellow;  */
            background-color: #024873;
            color: white;
            border-radius: 5px;
            min-width: 175px;
            max-width: 250px;
            /*max-height: 100%;*/
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.8);
            /*a declared z-index is needed here to ensure the odrop down stays visible when in hoover*/
            z-index: 1000000;
            /*top:0;  this needs to be like 20px for verint*/
            top: 60px;
            vertical-align: top;
            /*left:50%;*/
            /*float:inline-start;*/
            float: none;
            margin-left: 15px;
        }



    .dropdown-content .mi {
        display: flex;
        position: relative;
        /* color:#024873; */
        color: #ff00ff;
        padding: 4px 3px 2px 0px;
        text-decoration: none;
        text-align: left;
        /* margin:8px 8px 8px 8px; */
        margin: 4px 40px 2px 10px;
    }



        .dropdown-content .mi:hover {
            opacity: 1;
            background-color: #0072c6;
            /* COLOR of bubble around link text in the dropdown for the mouseover effect...original was background-color: #780B78; */
            color: #ffffff;
            /* COLOR Of icons when mouse pointer hovers over each option */
            text-shadow: 2px 2px 18px rgba(255, 255, 255, 0.4);
        }



        .dropdown-content .mi::before {
            content: '';
            /* color:#024873; */
            color: #FF00FF;
            position: absolute;
            opacity: 0;
            z-index: -1;
            transition: 0.4s ease-out;
        }

        .dropdown-content .mi:hover::before {
            opacity: 1;
        }
}
/*End of mobile support */


/* *********************************************** END OF FILE **************************************************/
