.hd-ctm.hd-ctm--b {
    /* background: var(--trasp); */
    background: linear-gradient(90deg, rgba(1, 84, 64, 0.63) 0%, rgba(1, 84, 64, 1) 50%, rgba(1, 84, 64, 0.59) 100%);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10;
}

.hd-ctm.hd-ctm--b .hd-ctm--logo {
    height: 70px;
    max-width: 200px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--header-background-menu);
    border-radius: 0 var(--border-radius-full) var(--border-radius-full) 0; */
}


.hd-ctm.hd-ctm--b .hd-ctm--logo img {
    height: auto;
    width: 100%;
}

.hd-ctm.hd-ctm--b .hd-ctm--menu {
    /* background: var(--header-background-menu);
    border-radius: var(--border-radius-full); */
    overflow: hidden;
    padding: 0 1rem;
    width: calc(100% - 400px);
    max-width: 600px;
}


.hd-ctm.hd-ctm--b .hd-menu--top {
    line-height: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.hd-ctm.hd-ctm--b .hd-menu--top .social-list {
    padding: .25rem .5rem;
}

.hd-ctm.hd-ctm--b .hd-menu--top .link-ctm {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 0 .5rem;
    opacity: 0.8;
}

.hd-ctm.hd-ctm--b .hd-menu--top .link-ctm a {
    margin-right: .5rem;
    font-size: 12px;
    font-weight: 100;
}

.hd-ctm.hd-ctm--b .hd-menu--top .link-ctm a .mdi {
    font-size: 15px;
    display: none;
    color: var(--header-color-icon);
}

.hd-ctm.hd-ctm--b .hd-menu--top .link-ctm.link-menu a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 100;
    min-height: 35px;
    padding: 0 .5rem;
    opacity: 0.8;
}

.hd-ctm.hd-ctm--b .hd-menu--top .link-ctm.link-menu a.active {
    opacity: 1;
    box-shadow: inset 0px -2px 0px var(--tertiary-border);
}

.hd-ctm.hd-ctm--b .hd-menu--top .link-ctm a:hover,
.hd-ctm.hd-ctm--b .hd-menu--top .link-ctm.link-menu a:hover {
    opacity: 1;
}

.hd-ctm.hd-ctm--b .hd-top--wrapper {
    background: var(--header-background-color);
}

.hd-menu--top .social-list .social:hover .mdi {
    color: var(--header-color-icon);
}

.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list {
    height: auto;
    min-height: 70px;
    padding: 0;
    overflow: hidden;
    background: var(--trasp);
    /* border-radius: var(--border-radius-a); */
}

.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    min-height: 70px;
}

.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li a {
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    justify-content: space-evenly;
    font-size: 14px;
    /* border-bottom: 2px solid var(--trasp);; */
    min-width: 25%;
    height: 100%;
    line-height: 1;
    min-height: 70px;
    box-shadow: inset 0 0 0px 0px var(--trasp);
    transition: all 0.5s ease-in-out;
}

.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li a:hover {
    color: var(--header-color-icon);
    transition: all 0.5s ease-in-out;

}

.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li a.active {
    /* border-bottom: 3px solid var(--header-color-icon); */
    /* box-shadow: inset 0 0 0px 6px #fbe6af; */
    color: var(--header-color-icon);
    box-shadow: inset 0 -4px 0px 0px var(--header-color-icon);
    transition: all 0.5s ease-in-out;

}


.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li a:hover {}

.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li a .mdi {
    display: none;
    font-size: 25px;
    color: var(--header-color-icon);
}

.hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li.item-sidemenu--activator {
    display: none;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    /* margin: 10px;
    border-radius: var(--border-radius-a); */
    overflow: hidden;
    position: relative;
    gap: 10px;
    padding-right: .5rem;
    /* background: var(--header-background-menu);
    border-radius: var(--border-radius-a) 0 0 var(--border-radius-a); */

}

.hd-ctm.hd-ctm--b .hd-ctm--auth .btn-ctm {
    display: flex;
    flex-direction: column;
    padding: .5rem;
    /* background: var(--header-btn-login-background);
    color: var(--header-btn-login-text); */
    border-radius: var(--border-radius-full);
    background: var(--trasp);

    border: 2px solid;
    border-color: var(--header-btn-login-background);
    color: var(--header-btn-login-text);
    /* margin: 5px; */
    /* border-radius: 5px; */
    /* min-width: 100px; */
    z-index: 5;
    transition: all 0.5s ease-in-out;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth .btn-ctm .btn-text {
    font-size: 12px;
    font-weight: bold;
    /* text-transform: uppercase; */
}

.hd-ctm.hd-ctm--b .hd-ctm--auth .btn-ctm.btn-ctm--login:hover {
    color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
}

.hd-ctm.hd-ctm--b .hd-ctm--auth .btn-ctm.btn-ctm.btn-ctm--register {
    /* min-width: 80px; */
}

.hd-ctm.hd-ctm--b .hd-ctm--auth .btn-ctm .mdi {
    font-size: 22px;
    padding: .05rem;
    height: 30px;
    display: none;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth .btn-ctm.btn-ctm--register {
    border-color: var(--header-btn-register-background);
    color: var(--header-btn-register-text);
}

.hd-ctm.hd-ctm--b .hd-ctm--auth .btn-ctm.btn-ctm--register:hover {
    background: var(--trasp);
    color: var(--btn-primary-text-hover);
    border-color: var(--btn-primary-text-hover);
}

.hd-ctm.hd-ctm--b .hd-ctm--auth span.text-separator {
    display: none !important;
    font-size: 0;
    /* position: absolute;
    top: calc(50% - 13px);
    left: auto;
    right: auto;
    margin: 0 auto;
    font-size: 13px;
    font-weight: bold;
    background: var(--header-btn-register-background);
    border-radius: var(--border-radius-a);
    display: block;
    padding: 5px;
    width: 27px;
    height: 27px;
    line-height: 1;
    border: 2px solid var(--header-color-icon);
    z-index: 6;
    opacity: 0.85; */
}


.hd-ctm.hd-ctm--b .hd-ctm--auth+.hd-ctm--auth.hd-ctm--auth-logged {
    z-index: 99;
    overflow: visible;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged {
    /* background-color: var(--header-btn-login-background); */
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper {
    padding: 0 .5rem;
    display: flex;
    height: 55px;
    align-items: center;
    justify-content: center;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-info {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    margin: 0 1rem 0 .5rem;
    line-height: 1.4;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-info span {
    font-size: 14px;
    line-height: 1;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-info span.info-user {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-icon {
    background: var(--box-backgound-b);
    border: 1px solid var(--primary-border);
    width: 34px;
    height: 34px;
    border-radius: var(--border-radius-full);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: .25rem;
    padding: .15rem;
    cursor: pointer;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-icon .label-count {
    position: absolute;
    right: -6px;
    top: -4px;
    width: 18px;
    height: 18px;
    border-radius: var(--border-radius-full);
    background: var(--featured-background);
    font-size: 9px;
    border: 1px solid var(--featured-border);
    color: var(--featured-text);
    font-weight: bold;
    line-height: 16px;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--box-background-d);
    border: 1px solid var(--secondary-border);
    border-radius: var(--border-radius-full);
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: .005rem;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu>span {
    display: block;
    width: 100%;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu .menu-list--submenu {
    left: 0;
    top: calc(100% + 15px);
    overflow: visible;
    visibility: visible;
    z-index: 15;
    position: absolute;
    right: 0;
    width: 200px;
    background: var(--box-background-b);
    border-radius: var(--border-radius-a);
    box-shadow: 0px 1px 14px 0px var(--semi-dark-b);
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu .menu-list--submenu::before {
    content: '';
    border-top: 0 solid var(--trasp);
    border-left: 10px solid var(--trasp);
    border-right: 10px solid var(--trasp);
    border-bottom: 20px solid var(--box-background-b);
    position: absolute;
    top: -15px;
    left: calc(50% - 15px);
    width: 20px;
    height: 20px;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu .menu-list--submenu ul li {
    width: 100%;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu .menu-list--submenu ul li a {
    text-align: left;
    font-size: 14px;
    background: var(--tertiary-background);
    border: 1px solid var(--trasp);
    margin: .5rem .5rem;
    border-radius: var(--border-radius-b);

    font-size: 12px;
    padding: .5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu .menu-list--submenu ul li:hover a {
    background: var(--box-background-d);
    border: 1px solid var(--secondary-border);
}

.hd-ctm.hd-ctm--b .hd-ctm--auth.hd-ctm--auth-logged .hd-ctm--auth-wrapper .account-menu .menu-list--submenu ul li a .mdi {
    font-size: 18px;
    margin-right: .5rem;
}


/*Search header*/
.hd-ctm.hd-ctm--b .search-box--ctm {
    overflow: visible;
    position: relative;
    width: 50px;
    transition: all 0.5s ease-in-out;
    background: var(--trasp);
}

.hd-ctm.hd-ctm--b .search-box--ctm input {
    border: 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    padding: 0;
    min-width: 0px;
    right: 50px;
    height: 50px;
    outline: none;
    transition: all 0.5s ease-in-out;
    background: var(--header-btn-login-background);
}
.hd-ctm.hd-ctm--b .search-box--ctm:hover {
    width: auto;
}
.hd-ctm.hd-ctm--b .search-box--ctm:hover input {
    width: 100%;
    min-width: 250px;
    padding: 0 0.5rem;
    transition: all 0.5s ease-in-out;
}
.hd-ctm.hd-ctm--b .search-box--ctm:hover input:focus,
.hd-ctm.hd-ctm--b .search-box--ctm:hover input:active {
    outline: none;
}
.hd-ctm.hd-ctm--b .search-box--ctm .btn-search {
    width: 50px;
    height: 50px;
    background: var(--trasp);
}

@media (min-width: 769px) and (max-width: 1280px) {
    header.hd-ctm.hd-ctm--b nav {
        flex-direction: row;
        align-items: center;
    }

    header.hd-ctm nav .hd-ctm--logo {
        max-width: 170px;
        padding: 1rem;
    }
}


@media screen and (max-width: 768px) {
    body.body--register .hd-ctm.hd-ctm--b .hd-ctm--menu {
        max-width: 100%;
    }


    body.body--sport .hd-ctm.hd-ctm--b .hd-ctm--menu,
    body.body--single-event .hd-ctm.hd-ctm--b .hd-ctm--menu,
    body.body--index .hd-ctm.hd-ctm--b .hd-ctm--menu {
        max-width: calc(100% - 50px);
    }

    .hd-ctm.hd-ctm--b .hd-top--wrapper {
        display: none;
    }

    .hd-ctm.hd-ctm--b .hd-ctm--menu ul.hd-menu--list,
    .hd-ctm.hd-ctm--b .hd-ctm--menu ul.hd-menu--list li,
    .hd-ctm.hd-ctm--b .hd-ctm--menu ul.hd-menu--list li a {
        min-height: 50px;
    }

    .hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list {
        border-radius: 0 0 0 0;
    }

    .hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li a {
        line-height: 1;
    }

    .hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list,
    .hd-ctm.hd-ctm--b .hd-ctm--menu .hd-menu--list li {
        /* min-height: 50px; */
        background: var(--header-background-color);
    }
    .hd-ctm.hd-ctm--b .search-box--ctm {
        display: none
    }
}