.header-wrap {
    background: #000;
}

.header {
    color: #FFFFFF;
    background: #000;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
}

    .header h1 {
        font-family: "Guardian-EgypTT";
        font-weight: 500;
        margin: 0;
        font-size: 2.4rem;
        line-height: 32px;
        float: left;
        display: block;
        position: absolute;
        width: 250px;
        text-align: center;
        top: 50%;
        left: 50%;
        margin-top: -17px;
        margin-left: -125px;
    }

    .header .inner {
        height: 120px;
        background: #000;
        position: relative;
        margin: 0 4rem;
    }

    .header .main-nav {
        font-size: 1.5rem;
        margin: -11px 0 0 0;
        padding: 0;
        position: absolute;
        top: 50%;
        right: 0;
        list-style: none;
    }

        .header .main-nav li {
            float: left;
            margin-left: 14px;
        }

            .header .main-nav li a {
                color: #999;
            }
            .header .main-nav li.current_page_item a {
                color: #FFFFFF;
            }
            .header .main-nav .ss-icon {
                font-size: 1.3rem;
                padding: 1rem;
                margin-left: -1rem;
            }

    .header a {
        color: #FFFFFF;
        text-decoration: none;
    }

    .header .logo {
        position: absolute;
        top: 50%;
        left: 0;
        width: 54px;
        height: auto;
        margin-top: -13px;
    }

        .header .logo img {
            width: 100%;
            height: auto;
        }

    .nav-trigger {
        display: none;
        font-size: 2.4rem;
        line-height: 1em;
        position: absolute;
        width: 23px;
        height: 15px;
        right: -20px;
        top: 50%;
        margin-top: -28px;
        border: 20px solid transparent;
        background: url(../images/menu.png) no-repeat transparent;
    }

    .mobile-nav {
       display: none;
    }

        .mobile-nav ul {
            margin: 0 0;
            padding: 10px 0;
            background: #EEEEEE;
        }

        .mobile-nav li {
            margin: 0;
            padding: 0 10px;
            list-style: none;
        }

        .mobile-nav a {
            font-size: 16px;
            line-height: 18px;
            padding: 8px 0;
            text-align: center;
            display: block;
            color: #333;
        }

        .mobile-nav a:hover {
            background: #E1E1E1;
        }

        .mobile-nav .search-form-mobile {
            margin-bottom: 0.5rem;
        }

        .mobile-nav .search-form-mobile input[type='text'] {
            box-sizing: border-box;
            width: 100%;
            font-size: 1.6rem;
            padding: 1rem;
            border: none;
            background: #e1e1e1;
        }
        .mobile-nav .search-form-mobile input:focus {
            outline:none;
        }

.search-form {
    background: #EEEEEE;
    display: none;
}

.search-form.active {
    display: block;
}
    .search-form .inner {
        max-width: 1200px;
        margin: 0 auto;
    }
    .search-form form {
        margin: 0 4rem;
        padding: 1.5rem 0;
        position: relative;
    }
    .search-form input[type='text'] {
        font-family: Arial, sans-serif;
        font-size: 2.2rem;
        color: #000;
        border: 0;
        background: #EEEEEE;
        padding: 1rem 0;
        box-sizing: border-box;
        width: 100%;
    }
    .search-form input:focus {
        outline:none;
    }
    .search-form .ss-icon {
        color: #999999;
        padding: 0.5rem;
        position: absolute;
        top: 30%;
        right: 0;
        font-size: 1.6rem;
        cursor: pointer;
    }

.codeascraft-logo {
    box-sizing: border-box;
    border-top: 1px solid #333333;
    width: 100%;
    height: 536px;
    padding: 110px;
    background: #000;
    text-align: center;
}

.codeascraft-logo img {
    width: 316px;
    height: 316px;
    vertical-align: middle;
}

@media only screen and (max-width : 960px) {
    .search-form.active {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .nav-trigger {
        display: block;
    }

    .header-wrap.active .mobile-nav {
        display: block;
    }

    .codeascraft-logo {
        display: none;
    }
}

@media only screen and (max-width: 782px) {

    .header .inner {
        height: 80px;
        margin: 0 2rem;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header .logo {
        width: 42px;
        height: 20px;
        margin-top: -10px;
    }

}
