/*Fonts*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto+Slab');

a {
    color: #666
}

/*Animation Control*/
.ng-enter {
    transition: opacity 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity:0;
}
.ng-enter-prepare {
    opacity: 0;
}
.ng-enter-active {
    opacity:1;
}
.ng-leave {
    transition: opacity 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
    opacity:1;
}
.ng-leave-active {
    opacity:0;
}
.ng-leave-prepare {
    opacity: 1;
}

input {
    outline: none;
}
.clear {
    clear: both;
}

.transition {
    transition: all 400ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

body, html {
    background:#f9f9f9;
    width: 100%;
    height:100%;
    margin:0;
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    color: #333;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', serif;
}

.brand {
    font-size: 5vw;
    color: #333;
    text-align: center;
    position: absolute;
    width: 50%;
    height: 30%;
    left: 25%;
    top: 35%;
}

.brand-header {
    width: 100%;
    height: 40px;
    left: 0;
    top: 0;
}

.brand .mark {
    margin: auto;
    width: 9vw;
    height: 7vw;
}

.brand-type {
    opacity: 1;
    white-space: nowrap;
}

.mark {
    background: url(/assets/brand/mark_black.svg) center center no-repeat;
    background-size: contain;
    cursor: pointer;
}

.brand-header .mark {
    height: 70px;
    width: 190px;
    margin: 20px;
}

.brand-header .brand-type {
    opacity: 0;
    width: 0;
    height: 0;
}

nav.nav-stack {
    width: 180px;
    border-right: 1px solid #e5e5e5;
    background: #f9f9f9;
    color: #666;
    padding: 20px 0;
    float: left;
    height: 100%;
    overflow-y: scroll;
    box-sizing: border-box;
}

.menu-item {
    display: block;
    width: calc(100% - 40px);
    padding: 5px 20px;
    line-height: 20px;
    font-size: 14px;
    cursor: pointer;
}

.menu-item:hover {
    color: #000;
    cursor: pointer;
}

.menu-item.selected {
    color: #000;
    background: #f1f1f1;
}

.work-holder {
    float: left;
    max-width: 640px;
    width: calc(100% - 365px);
    height: calc(100vh);
    padding: 0 20px;
    background: #f9f9f9;
    color: #333;
    overflow: auto;
}

/*.work-holder p {*/
    /*font-size: 14px;*/
/*}*/

/* Scroll Area Style */
.scroll-window::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    background: none;
    position: absolute;
    top: 0;
    opacity: 0.1;
}

.scroll-window::-webkit-scrollbar-thumb {
    background: rgba(33, 33, 33, 0.1);
}

.scroll-window::-webkit-scrollbar:hover {
    opacity: 1;
}

@media screen and (max-width: 1010px){
    nav.nav-stack {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        background: #f9f9f9;
        color: #666;
        padding: 0 20px;
        float: none;
        height: 33px;
        white-space: nowrap;
        overflow-x: scroll;
        box-sizing: border-box;
    }

    nav.nav-stack > div {
        display: inline-block;
        width: auto;
    }

    .menu-item {
        display: inline-block;
        width: auto;
        padding: 5px 20px;
        line-height: 20px;
        font-size: 14px;
        cursor: pointer;
    }

    .work-holder {
        float: none;
        max-width: 640px;
        width: calc(100% - 40px);
        height: calc(100vh - 60px);
        padding: 0 20px;
        background: #f9f9f9;
        color: #333;
        overflow: auto;
    }
}