:root {
    /* --dropdowntest-size: 450px; */
    /* --target-panel-size: 325px; */
    --top-search: 40px;
    --top-ul: 80px;
}

.input-margin {
    margin-right: 12px;
}


.dropdown-test-child-icon {
    padding: 0px !important;
    display: inline-block;
    position: absolute;
    top: 9px;
    height: 100%;
    right: 6px;
}

.dropdown-test-child-icon > i {
    color: inherit !important;
    font-size: 10px !important;
}
.active-panel {
    border-bottom: 4px solid !important;
}
/*
.active-panel:hover {
    border: 1px solid black !important; 
    color: white !important;
}

.active-panel a:hover {
    color: white !important;
}*/

.top-search-dropdown {
    width: 100%;
    left: 0;
    height: var(--top-search);
    padding: 7px 40px;
}

.top-search-dropdown div {
    padding: 0px !important;
}

.dropdown-test {
    position: absolute; 
    backdrop-filter: blur(1px);
    left: 0;
    /*min-height: 450px; */
    width: 100%;
    display: none;
    background-color: #fefefe;
    z-index: 100;
    /* 
    height: auto !important ; 
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;
    */
    
    opacity: 0.975;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.dropdown-test > ul {
    position: relative !important;
    white-space: nowrap;
    height: auto !important;
    height: var(--top-ul); 
    padding-bottom: 15px;
    overflow-y: visible !important;
    overflow-x: auto !important;
    overscroll-behavior: contain;
    width: calc(100% - 100px);
    margin: 0px 50px;
    padding-left: 0px;
}

.i-am-a-grandparent > ul {
    display: none !important;
}

.dropdown-test > ul > li {
    position: relative;
    display: inline-block;
    width: 175px;
    height: 65px;
    overflow-y: hidden;
    padding: 0px 15px 0px 15px !important;
    margin: 5px 10px 0px 0px;
    /*border-radius: 5px; */
    border-bottom: 1px solid #666;
    /*background-color: white;	*/
    transition: transform 200ms,
                box-shadow 200ms;	
}

/* .dropdown-test > ul > li:last-child {
    margin-right: 40px;
} */

/* .dropdown-test > ul > li.i-am-a-grandparent > a:after {
  content: '\25be';
  position: absolute;
  color: black;
  top: 0px !important;
  right: 13px !important; 
  margin-left: 10px;
  display: inline-block;
  height: 0px;
  width: 0px;
  background: #ffffff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow-x: visible;
} 
*/

/* .dropdown-test > ul > li.i-am-a-grandparent > a.cd-dropdown-item {
    padding-right: 20px !important;  
} */

.dropdown-test > ul > li > a.cd-dropdown-item {
    display: table-cell;
    left: 0px;
    line-height: 1.5;
    white-space: normal;
    overflow-y: hidden;
    text-align: center;
    vertical-align: middle;
    width: inherit;
    height: inherit;
}

.dropdown-test > ul > li > a {
    color: inherit;
    text-align: center;
    outline: none; 
    /* pointer-events:none; */
}

.dropdown-test > ul > li:hover {
    border-bottom: 5px solid #666;
    transform: scale(1.05);
    /*color: #006B8F;
    transform: scale(1.05);
    box-shadow: 3px 3px 4px #5A5A5A;*/
}

.rotate-icon{
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}

.dropdown-test > ul > li a > i {
    -moz-transition: all 200ms linear;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

/*.dropdown-test > ul > li a:hover {
    color: #006B8F;
}
.animate-right:hover{
    color: black !important;
}
*/

.animate-right:hover > i {
    text-decoration: underline !important;
}
 
.dropdown-test > ul > li:hover > a.dropdown-test-child-icon.animate-down {
    animation-name: floating-up-down;
    animation-duration: 0.75s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.dropdown-test > ul > li > a.dropdown-test-child-icon.animate-right:hover {
    animation-name: floating-left-right;
    animation-duration: 0.75s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* this will contain the panel that displays the grandchildren*/
.grand-children-target-panel {
    /* min-height: var(--target-panel-size); */
    height: var("--target-panel-size");
    position: relative;
    left: 0;
    width: 100%;
    padding: 5px 40px 15px 40px; 
    /* overflow-y: auto; */
    /* height: auto !important; */
}

.panel-internal {
    /*background-color: white;*/
    /*color: black;*/
    /*border-radius: 5px;*/
    width: 100%;
      /*min-height: inherit; */
    display: none;
      /*height: 100% !important; */
}

.panel-header {
    font-weight: bold;
    font-size: 14pt;
    margin-left: 20px;
}

.panel-description {
    padding: 5px 40px;	
}

.panel-clone-ul {
    column-count: 5;
    min-height: 45px;
    position:relative !important;
    left: -30px;
}

.panel-clone-ul a:hover, a.possible-menu:hover, .animate-right:hover {
    transform: scale(1.05);
}
.panel-clone-ul a:hover {
    /*text-decoration:underline !important;*/
    border-left: 3px solid;
}

.panel-clone-ul a {
    color: #000;
    border-left: 1px solid transparent;
    border-bottom: none !important;
}

/* @keyframes floating-up-down {
    0% { transform: translate(0,  0px); }
    25%  { transform: translate(0, 2px); }
    50%   { transform: translate(0, -0px); }   
    75%   { transform: translate(0, -2px); }  
    100% { transform: translate(0, 0px); }
}

@keyframes floating-left-right {
    0% { transform: translate(0,  0); }
    25%  { transform: translate(-2px, 0); }
    50%   { transform: translate(0, 0); }   
    75%   { transform: translate(2px, 0); }  
    100% { transform: translate(0, 0); }
} */

@media only screen and (max-width: 640px) {
    .dropdown-test > ul > li  {
        display: inline-block;
    }

    .panel-clone-ul {
        column-count: 2;
    }
}

.icon-arrow-right { 
    position: absolute;
    right: 10px;
    top: 12px;
    display: inline-block;
}
.icon-arrow-left { 
    position: absolute;
    left: 10px;
    top: 12px;
    display: inline-block;
}