﻿




a {
    color: #000;
}

/* header */

.header {
    background-color: #fff;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    z-index: 3;
}

    .header ul {
        margin: 0;
        padding: 0;
        list-style: none;
        overflow: hidden;
        background-color: #fff;
    }

    .header li a {
        display: block;
        padding: 20px 20px;
        border-right: 1px solid #f4f4f4;
        text-decoration: none;
    }

        .header li a:hover,
        .header .menu-btn:hover {
            background-color: #f4f4f4;
        }

    .header .logo {
        display: block;
        float: left;
        font-size: 2em;
        padding: 0px 20px;
        text-decoration: none;
    }

    /* menu */

    .header .menus {
        clear: both;
        max-height: 0;
        transition: max-height .2s ease-out;
    }

    /* menu icon */

    .header .menu-icons {
        cursor: pointer;
        display: inline-block;
        float: right;
        padding: 28px 20px;
        position: relative;
        user-select: none;
    }

        .header .menu-icons .navicon {
            background: #333;
            display: block;
            height: 2px;
            position: relative;
            transition: background .2s ease-out;
            width: 18px;
            /*width: 100%;*/
        }

            .header .menu-icons .navicon:before,
            .header .menu-icons .navicon:after {
                background: #333;
                content: '';
                display: block;
                height: 100%;
                position: absolute;
                transition: all .2s ease-out;
                width: 100%;
            }

            .header .menu-icons .navicon:before {
                top: 5px;
            }

            .header .menu-icons .navicon:after {
                top: -5px;
            }

    /* menu btn */

    .header .menu-btn {
        display: none;
    }

        .header .menu-btn:checked ~ .menus {
            /*max-height: 240px;*/
            max-height: 100%;
        }

        .header .menu-btn:checked ~ .menu-icons .navicon {
            background: transparent;
        }

            .header .menu-btn:checked ~ .menu-icons .navicon:before {
                transform: rotate(-45deg);
            }

            .header .menu-btn:checked ~ .menu-icons .navicon:after {
                transform: rotate(45deg);
            }

        .header .menu-btn:checked ~ .menu-icons:not(.steps) .navicon:before,
        .header .menu-btn:checked ~ .menu-icons:not(.steps) .navicon:after {
            top: 0;
        }

/* 48em = 768px */

/*@media (min-width: 68em) {*/
@media (min-width: 1050px) {
    .header li {
        float: left;
    }

        .header li a {
            padding: 14px 20px;
        }

    .header .menus {
        clear: none;
        float: right;
        max-height: none;
    }

    .header .menu-icons {
        display: none;
    }
}
