
.section-block-demo51-header {
    border-bottom: 1px solid #fff;
    background-color: #fff
}

.section-block-demo51-header .layout {
    padding-left: 243px;
    position: relative
}

.section-block-demo51-header .logo {
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    height: 95px;
    width: 160px;
    text-align: center;
    line-height: 95px
}

.section-block-demo51-header .logo i {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 45px;
    background: #fff;
    right: 100%;
    -webkit-transform: skew(45deg);
    transform: skew(45deg);
    -webkit-transform-origin: right top;
    transform-origin: right top
}

.section-block-demo51-header .logo img+i {
    left: 100%;
    -webkit-transform: skew(-45deg);
    transform: skew(-45deg);
    -webkit-transform-origin: left top;
    transform-origin: left top
}

.section-block-demo51-header .header-bottom {
    background-color: var(--bs-theme-color)
}

.section-block-demo51-header .header-top .layout {
    position: relative
}

.section-header-wrap-block .change-language {
    font-size: 12px
}

.section-block-demo51-header .head-contact {
    padding-left: 12px
}

.section-block-demo51-header .head-contact,
.section-block-demo51-header .head-contact a {
    color: #5f5f5f;
    font-size: 12px;
    line-height: 45px
}

.section-block-demo51-header .head-contact svg {
    fill: currentColor;
    width: 13px;
    height: 13px
}

.section-block-demo51-header .head-contact .head-email {
    border-right: 2px #eee solid;
    padding-right: 60px;
    margin-right: 60px
}

.section-block-demo51-header .nav {
    padding-left: 0
}

.section-block-demo51-header .nav>li>a {
    position: relative;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    font-weight: 500;
    line-height: 45px
}

.section-block-demo51-header .nav>li {
    margin-left: 0;
    margin-right: 36px
}

.section-block-demo51-header .search-toggle svg {
    fill: #fff;
    width: 2rem;
    height: 2rem
}

@media only screen and (max-width:1366px) {
    .section-block-demo51-header .layout {
        padding-left: 185px
    }

    .section-block-demo51-header .logo {
        width: 130px;
        height: 80px;
        line-height: 80px
    }

    .section-block-demo51-header .nav>li>a {
        font-size: 1.2rem
    }

    .section-block-demo51-header .head-contact .head-email {
        padding-right: 2.5rem;
        margin-right: 2.5rem
    }

    .section-block-demo51-header .head-contact,
    .section-block-demo51-header .head-contact a {
        line-height: 32px
    }

    .section-block-demo51-header .logo i {
        top: 30px
    }

    .section-block-demo51-header .nav>li {
        margin-right: 1.5rem
    }
}

@media only screen and (max-width:1200px) {
    .section-block-demo51-header .nav>li>a {
        font-size: 1.14rem
    }

    .section-block-demo51-header .nav>li {
        margin-right: 1rem
    }

    .section-header-wrap-block .nav {
        padding-left: 1rem
    }
}

@media only screen and (max-width:992px) {
    .section-block-demo51-header .header-outer-wrap {
        display: none
    }

    .section-block-demo51-header .logo {
        position: relative;
        width: auto;
        height: auto;
        line-height: unset
    }

    .section-block-demo51-header .logo i {
        display: none
    }

    .section-block-demo51-header .layout {
        padding-left: 0
    }
}