.site-header {
    padding: 0 !important;
}
.site-header .site-header-container {
    height: 90px;
    padding: 0 20px;
}

body.sticky-header .site-content, body.buddypress.sticky-header .site-content, .bb-buddypanel.sticky-header .site-content, .single-sfwd-quiz.bb-buddypanel.sticky-header .site-content, .single-sfwd-lessons.bb-buddypanel.sticky-header .site-content, .single-sfwd-topic.bb-buddypanel.sticky-header .site-content {
    padding-top: 120px;
}

#masthead .site-branding.ld-brand-logo img {
    height: 100%;
    width: auto;
}

/* Secondary Menu */

div.secondary-nav {
    display: none;
}

#masthead .secondary-header {
    background-color: black;
    min-height: 30px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-transform: uppercase;
}

#masthead .secondary-header ul {
    list-style-type: none;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#masthead .secondary-header ul li {
    display: inline;
    height: 100%;
    align-items: center;
    transform: skew(-45deg);
}

#masthead .secondary-header ul li:not(:last-child):not(.current-menu-item):after {
    position: absolute;
    content: "";
    height: 50%;
    width: 3px;
    /* transform: skew(-45deg); */
    background-color: #13ceff;
    right: 0;
    top: 9px;
}

.prev-active-element:after {
    content: none !important;
}


#masthead .secondary-header ul li:first-child {
    border-left: none;
}

#masthead .secondary-header ul li:last-child {
    border-right: none;
}

#masthead .secondary-header ul li.current-menu-item {
    background-color: #13CEFF;
}

#masthead .secondary-header ul li a {
    display: inline-block;
    transform: skew(45deg);
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 0 3em;
    width: 100%;
    height: 100%;
    
}


/* Center Logo on Mobile */
.bb-mobile-header .flex-1 {
    justify-content: center;
}



#masthead .secondary-header ul li a:hover {
    color: #ddd;
}

#masthead .secondary-header ul span {
    /* height: 10px; */
    line-height: 10px;
    font-size: 30px;
}

@media (max-width: 1200px) {
    #masthead .secondary-header ul li a {
        font-size: 14px;
        padding: 0 2em;
    }
}

@media (max-width: 800px) {
    #masthead .secondary-header {
        display: none;
    }

    body.sticky-header .site-content, body.buddypress.sticky-header .site-content, .bb-buddypanel.sticky-header .site-content, .single-sfwd-quiz.bb-buddypanel.sticky-header .site-content, .single-sfwd-lessons.bb-buddypanel.sticky-header .site-content, .single-sfwd-topic.bb-buddypanel.sticky-header .site-content {
        padding-top: 90px;
    }
    
}

@media (max-width: 799px) {
    #masthead .bb-mobile-header {
        height: 90px;
    }
}

@media (max-width: 767px) {
    #masthead .bb-mobile-header {
        height: 90px;
    }
}


/*
    Footer Design
*/

.bb-footer .container {
    max-width: 100%;
    padding-bottom: 20px;
}

.bb-footer .container .bb-grid aside {
    box-sizing: border-box;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bb-footer h2 {
    color: #fff;
    margin-bottom: 0;
    font-size: 24px !important;
    font-weight: 700;
    line-height: 36px;
}

.bb-footer li {
    margin-bottom: 10px;
}

.bb-footer li a {
    font-size: 16px;
    line-height: 24px;
}

.bb-footer .wp-social-link a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: var(--bb-primary-color) !important;
    border-radius: 50%;
    font-size: 40px;
}

.wp-block-social-links {
    margin: 0;
}


.gamipress-wc-partial-payments-form-toggle .woocommerce-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bb-primary-color);
    color: #fff;
}

.gamipress-wc-partial-payments-form-toggle .woocommerce-info img {
    width: 50px;
    height: 50px;
}

.gamipress-wc-partial-payments-form-toggle .woocommerce-info a {
    text-decoration: underline;
}

.gamipress-wc-partial-payments-form-toggle .woocommerce-info::after {
    display: none;
}


@media (max-width: 450px) {
    .gamipress-wc-partial-payments-form-toggle .woocommerce-info{
        font-size: 14px;
    }
    .gamipress-wc-partial-payments-form-toggle .woocommerce-info::before {
        padding-top: 2px; 
    }
}



.popmake {
    max-width: 90%;
}
.pum-content.popmake-content p {
    margin: 0;
}

@media only screen and (max-width: 768px) {
button.pum-close.popmake-close {
    right: 0;
    top: 0;
}
}

/* Wordpress Menu WPML style*/
/* #menu-mobile-in li.menu-item-wpml-ls-66-fr a,
#menu-mobile-in li.menu-item-wpml-ls-66-en a {
  background-color: #13CEFF;
  color: white;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  margin-top: 20px;
}

#menu-mobile-in li.menu-item-wpml-ls-66-fr a i,
#menu-mobile-in li.menu-item-wpml-ls-66-en a i {
    width: 100%;
    text-align: right;
} */

.side-panel-menu .bs-submenu-toggle {
    right: 0;
    top: 5px;
    transform: rotate(0deg);
}


/* Fix Login Page UI with WPML Language Switcher */
@media ( min-width: 991px ) {
    body.login .wpml-login-ls {
        margin: 0 0 0 50%;
        padding: 0 0;
        text-align: center;
        width: 50%;
    }
    #wpml-login-ls-form {
        margin-top: 0;
        padding-top: 2em;
    }
    
}