/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Dropdown */
.bogo-dropdown {
    gap: 0;
    align-items: flex-start;
    height: 44px;
}

@media only screen and (max-width: 719px) {
    body .submenu-click-expand
    .nav ul.bogo-language-switcher{

        display: block;

    }

}

.language-switcher-wrap{

    position: relative;
    left: 18px;
    top: auto;
    cursor: pointer;
    font-size: 1.14rem;
    line-height: 1;

}

.rtl .language-switcher-wrap {
    position: relative;
    left: auto;
}

.language-switcher-wrap svg{f}

.language-switcher-wrap > div.icon_element_outer_alignleft{

    bottom: 0;
    margin: 0;

}



@media only screen and (min-width: 719px) {
    

    .toggle-search{color:black;}
}


/* Language Switcher */
body ul.bogo-language-switcher {
    display: flex;
    flex-direction: column;
    border: 1px solid #CACACA;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    position: absolute;
    margin: 0;
    padding: 0;
    width: 96px;
    box-sizing: border-box;
}

.bogo-language-switcher li {
    cursor: default;
    box-sizing: border-box;
    padding: 8px 16px !important;
    text-align: left;
    width: 100%;
}

.bogo-language-switcher li a {
    text-decoration: none;
    font-weight: 600;
    color: #f6f6f6;

    -webkit-transition: color 300ms linear;
    -moz-transition: color 300ms linear;
    -o-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
    transition: color 300ms linear;
}

.bogo-language-switcher > li > span:fover:focus{

    background-color: #dfdfdf;
}

.bogo-language-switcher li a.current {
    padding: 8px 16px;
    background: #dfdfdf;
    border: 1px solid #666;
    border-radius: 4px;
    color: #444;
}

.active .bogo-language-switcher li.fa-IR,
.active .bogo-language-switcher li.azb {

    text-align: right;

}

.active .bogo-language-switcher li:hover {
    
    background: var(--wp--preset--color--contrast);
}

.active .bogo-language-switcher li:hover a {

    color: white;
    /*color: var(--wp--preset--color--accent);*/
}

.active .bogo-language-switcher li:hover a.current{

    color:#000;

}

.bogo-language-switcher .ja {
    order: 1;
}

.bogo-language-switcher .en-GB {
    order: 2;
}

/* Display Item */
.display-item {
    transition: 0.15s ease;
    /*width: 140px;
    border: 1px solid #CACACA;
    border-radius: 4px;
    padding: 8px;
    text-align: left;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #FDFFFA;
    padding-bottom: 0;
    font-weight: 600;

    left: auto;
    right: 100px;
    position: relative;*/
}

.bogo-language-name a {
    display: block;
    width: 100%;
    color: #333;
}

/* Arrow */
.arrow {
    width: 13px;
    height: 13px;
    display: inline-block;
    position: relative;
    bottom: -8px;
    left: -10px;
    transition: 0.4s ease;
    margin-top: 2px;
    text-align: left;
    transform: rotate(45deg);
    float: right;
}

.arrow:before,
.arrow:after {
    position: absolute;
    content: '';
    display: inline-block;
    width: 12px;
    height: 3px;
    background-color: var(--wp--preset--color--contrast);
    transition: 0.4s ease;
}

.arrow:after {
    transform: rotate(90deg);
    top: -5px;
    left: 5px;
}

/* Active Arrow */
.display-item.active .arrow {
    transform: rotate(45deg) translate(-5px, -5px);
}

.display-item.active .arrow:before {
    transform: translate(10px, 0);
}

.display-item.active .arrow:after {
    transform: rotate(90deg) translate(10px, 0);
}

/* Active List */
.display-item.active ul {
    opacity: 0.3;
    height: 108px;
}

/* Language Switcher Animation */
.wp-block-bogo-language-switcher .bogo-language-switcher {
    height: 0;
    overflow: hidden;
    padding-bottom: 4px;
    transition: 0.4s ease;
    width: 220px;
}

/* CSS Variable for Height */
:root {
    --item-height: 34px;
}

.wp-block-bogo-language-switcher.active .bogo-language-switcher {
    /*height: calc(var(--item-height) * var(--list-items));*/

    display: block;

    height: auto;
    display: block;
    overflow: auto;
    padding-bottom: 0;
    -ms-overflow-style: none;
    z-index: 9999;
    position: absolute;

    overflow: auto;
    padding-bottom: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.wp-block-bogo-language-switcher{

    position: absolute;
    width:100%;
    right: 20vw;

    box-shadow: 0 0 28px 5px rgba(90, 90, 90, .2);
}


.rtl .wp-block-bogo-language-switcher{

    right: -110px;

}

@media all and (min-width:719px){

    .wp-block-bogo-language-switcher{

        right: 0;
        bottom: 0px;
    }
    
    .rtl .wp-block-bogo-language-switcher{

        right:auto;
        left: 4vw;

    }
}

.wp-block-bogo-language-switcher
ul.bogo-language-switcher.list-view{

    opacity:0%;

}

.wp-block-bogo-language-switcher.active
ul.bogo-language-switcher.list-view{

    opacity:100%;

}

ul.bogo-language-switcher.list-view{

    background-color: #d72924;
    border: 1px solid #000;
    box-shadow: 0px 0px 21px 4px rgba(100, 100, 100, .6);

}


@media only screen and (max-width: 719px) {
    .submenu-click-expand ul, .submenu-click-expand.nav-wrap, .submenu-click-expand.nav-wrap li {
        overflow: unset !important;
    }
}

/* Disabled Styles */
.bogo-disable {
    color: var(--wp--preset--color--accent-5);
}

.bogo-disable .arrow:before,
.bogo-disable .arrow:after {
    background-color: var(--wp--preset--color--accent-5);
}