@charset "utf-8"; @media only screen and (min-width: 768px) {
    .sf-menu,.sf-menu * {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sf-menu li {
        position: relative;
    }

    .sf-menu ul {
        position: absolute;
        display: none;
        top: 100%;
        top: 2rem;
        left: 0;
        z-index: 99;
    }

    .sf-menu > li {
        float: left;
    }

    .sf-menu li:hover > ul,.sf-menu li.sfHover > ul {
        display: block;
    }

    .sf-menu ul ul {
        top: 0;
        left: 100%;
    }

    .sf-menu {
        float: left;
        margin-bottom: 0;
        width: 100%;
        z-index: 1000;
        padding: 0;
    }

    .sf-menu ul {
        box-shadow: 2px 2px 6px rgba(0,0,0,.6);
        min-width: 12em;
        * width: 12em;
        min-width: 100%;
    }

    .sf-menu a {
        display: block;
        position: relative;
        /* padding: 0.25rem 0rem; */
        margin: 0 auto;
        font-size: 1.125rem;
        text-decoration: none;
        zoom:1; color: #1b1b1b;
        /* text-transform: uppercase; */
        width: 100%;
        font-weight: 500;
        transition: all 0.7s;
        /* border-right: 1px solid  #4c4c4c; */
        line-height: 1;
    }

    .sf-menu a:hover {
        /* color: #2f85aa; */
        transition: all 0.6s;
        color: #ad1003;
        /* color: rgb(255 255 255 / 70%); */
    }

    .sf-menu li a .spacing {
        padding-left: 1rem;
    }

    .sf-menu a.act {
        color: #2f85aa;
        transition: all 0.9s;
        color: #ad1003;
    }

    .sf-menu li:first-child a {
        border-left: none;
    }

    .sf-menu li {
        white-space: normal;
        -webkit-transition: background 0.5s;
        -moz-transition: background 0.5s;
        transition: background 0.5s;
        text-align: center;
        overflow: visible;
        color: #4c4c4c;
        /* border-right: 2px solid; */
    }

    .sf-menu li:last-child {
        border-right: none;
    }

    .menuakt {
        background: #494848;
    }

    .sf-menu ul li {
        width: 100%;
        text-align: left;
        border-top: none;
        background-image: none;
        border-top: 1px solid #969696;
        -webkit-transition: background 0.3s;
        -moz-transition: background 0.3s;
        transition: background 0.9s;
        border-right: none;
        background: rgb(7 13 19 / 70%);
    }

    .sf-menu ul li:hover {
        -webkit-transition: background 0.3s;
        -moz-transition: background 0.3s;
        transition: background 0.9s;
        background: rgb(10 15 20 / 85%);
    }

    .sf-menu ul li:first-child {
        border-top: none
    }

    .sf-menu ul li ul li {
        background: #fff;
        width: 100%;
        text-align: left;
        border-top: none;
        background-image: none;
        border-top: 1px solid #969696;
        background: rgba(36,51,64,.85);
    }

    .sf-menu ul li ul li:first-child {
        border-top: none
    }

    .sf-menu ul li a {
        border: none;
        padding: 0.8125rem .6rem;
        font-size: 1.0625rem;
        text-decoration: none;
        zoom:1;color: #fff;
        border: none;
        font-weight: 300;
    }

    .sf-menu ul li a:hover {
        color: rgb(255 255 255 / 70%);
    }
  .sf-menu ul li a.act {
        color: rgb(255 255 255 / 70%);
    }

    #logo {
        width: 21.5%;
        float: left;
    }

    #navi.reduced {
        position: fixed;
        width: 100%;
        max-width: 1260px;
        padding-top: 0;
        margin-top: 0;
        top: 0;
        z-index: 10000;
    }

    #navi.reduced .sf-menu a {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        transition: all 1s;
    }

    .sf-menu > li:first-child {
        width: 13%;
        background-image: none;
        margin-left: 0%;
    }

    .sf-menu > li:nth-child(2) {
        width: 24%;
    }

    .sf-menu > li:nth-child(3) {
        width: 23%;
    }

    .sf-menu > li:nth-child(4) {
        width: 21%;
    }

    .sf-menu > li:nth-child(5) {
        width: 19%;
    }

    .sf-menu a {
        font-weight: 400;
        /* font-size: 1rem; */
        /* padding-top: .25rem; */
        /* padding-bottom: .25rem; */
    }

    #headpic {
        max-width: inherit;
        width: 40%;
        position: relative;
        /* margin-top: 10px; */
    }
}

@media only screen and (min-width: 870px) {
    .sf-menu a {
        font-size: 1.0625rem;
    }

    #headpic {
        max-width: inherit;
        position: relative;
    }

    #sliding {
        /* margin-top: 0px; */
    }
}

@media only screen and (min-width: 960px) {
    .sf-menu > li:first-child {
        width: 15%;
        background-image: none;
        margin-left: 0%;
    }

    .sf-menu > li:nth-child(2) {
        width: 22%;
    }

    .sf-menu > li:nth-child(3) {
        width: 22%;
    }

    .sf-menu > li:nth-child(4) {
        width: 22%;
    }

    .sf-menu > li:nth-child(5) {
        width: 19%;
    }
}

@media only screen and (min-width: 985px) {
    #headpic {
        max-width:inherit;
        position: relative;
    }

    .sf-menu a {
        font-size: 1.1875rem;
    }

    #sliding {
        /* margin-top: 0px; */
    }
}

@media only screen and (min-width: 985px) {
    .sf-menu > li:first-child {
        width: 15%;
        background-image: none;
        margin-left: 0%;
    }

    .sf-menu > li:nth-child(2) {
        width: 22%;
    }

    .sf-menu > li:nth-child(3) {
        width: 22%;
    }

    .sf-menu > li:nth-child(4) {
        width: 22%;
    }

    .sf-menu > li:nth-child(5) {
        width: 19%;
    }
}

@media only screen and (min-width: 1050px) {
    .sf-menu a {
        font-size: 1.275rem;
    }

    #headpic {
        max-width: inherit;
        width: 39%;
        margin-top: 10px;
    }

    .sf-menu > li:first-child {
        width: 15%;
        background-image: none;
        margin-left: 0%;
    }

    .sf-menu > li:nth-child(2) {
        width: 22%;
    }

    .sf-menu > li:nth-child(3) {
        width: 22%;
    }

    .sf-menu > li:nth-child(4) {
        width: 22%;
    }

    .sf-menu > li:nth-child(5) {
        width: 19%;
    }
}

@media only screen and (min-width: 1150px) {
    .sf-menu a {
        /* font-size: 1.125rem; */
    }

    #headpic {
        max-width: inherit;
        width: 36%;
        /* margin-top: -33px; */
    }
}

@media only screen and (min-width: 1250px) {
    #navi {
        width: 55%;
    }

    #sliding {
        margin-top: 154px;
        /* border-top: 1px solid green; */
        /* margin-bottom: -40px; */
    }
}

@media only screen and (min-width: 1280px) {
    .sf-menu > li:first-child {
        width: 15%;
        background-image: none;
        margin-left: 0%;
    }

    .sf-menu > li:nth-child(2) {
        width: 22%;
    }

    .sf-menu > li:nth-child(3) {
        width: 22%;
    }

    .sf-menu > li:nth-child(4) {
        width: 22%;
    }

    .sf-menu > li:nth-child(5) {
        width: 19%;
    }

    .sf-menu > li:nth-child(6) {
        width: 16.5%;
    }

    .sf-menu a {
        font-size: 1.3125rem;
    }
}

@media only screen and (min-width: 1350px) {
    .sf-menu a {
        /* font-size:1.625rem; */ /* padding-top: .25rem; */ /* padding-bottom: .25rem; */ /* transition: all 0.9s; */
    }

    #navi.reduced {
        position: fixed;
        width: 100%;
        max-width: 1320px;
        padding-top: 0;
        margin-top: 0;
        top: 0;
        z-index: 10000;
    }

    #navi.reduced .sf-menu a {
        font-weight: 300;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        transition: all 1s;
    }
}

@media only screen and (min-width: 1450px) {
    #navi {
        width: 50%;
    }

    .sf-menu a {
        font-size: 1.375rem;
    }

    #sliding {
        margin-top: 163px;
        border-top: 1px solid green;
        /* margin-bottom: -40px; */
    }
}
