.item .pheader {
    /*  background-color: #17cf3c55; */
    overflow: visible;
    display: flex;
    height: 900px;
    width: 109px;
    display: flex;
    align-items: flex-end;
    pointer-events: all;
    cursor: pointer;
}

.panel {
    font-size: 0;
    /* background-color: #ebeebe; */
    display: flex;
    width: 100%;
}

.item .content {
    _max-height: 0;
    overflow: hidden;
}

.panel-item-wrapper {
    /* background-color: rgb(24, 225, 71); */
    display: flex;
    width: 100%;
}

.panel .item {
    transition-property: max-width !important;
    transition-duration: 0.25s !important;
    transition-timing-function: ease-out !important;
    height: 900px;
    max-width: 103px;
    display: flex;
    overflow: hidden;
    pointer-events: none;
}

.panel .item.state1 {

    box-sizing: border-box;
    width: calc(100% - 0);
    /* width: 1119px; */
    /* width: 1119px; */
    max-width: unset;
}

.panel .item .pheader {
    transition-property: max-width !important;
    transition-duration: 0.25s !important;
    transition-timing-function: ease-out !important;
    max-width: 109px;
}

.panel .item .pheader .holder {
    white-space: nowrap;
    background: #e20e0e1e;
    font-size: 6.19rem;
    transform: rotate(-90deg);
    transform-origin: left top;
    height: 109px;
    line-height: 100px;
}

.panel .item.state1 .pheader .holder {
    color: #fff;
}

.panel .item .content {
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-left: 11px;
    /* width: calc(100% - 109px); */
    pointer-events: all;
}

.panel .item.state1 .pheader {
    max-width: 10px;
}

.panel .item.state1 .content {
    margin-left: -10px;
}

.panel .item:nth-of-type(3).state1 .content {
    margin-left: -7px;
}

.panel .item .labelo {
    height: 0;
    transform: rotate(-90deg);
    transform-origin: left top;
}

.panel .item .labelo .text {
    white-space: nowrap;
    /*     background-color: #ffcc00; */
}

.panel .item.state1 .text {
    color: #fff;
}

#Direct {
    height: 1200px;
    flex-shrink: 0;
    _border: 3px red solid;
    box-sizing: border-box;
    /* background-color: #ffcc00; */
}

.direct {
    font-size: 0;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
}

.direct a {
    color: #fff;
}



.direct-item-wrapper {
    _align-self: center;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    /* position: absolute; */
}

.direct-item-wrapper .item {
    _display: none !important;
}

.direct-item-wrapper .item:nth-child(2) {
    margin-top: 40px;
    ;
}


.direct .item {
    display: block;
    _flex-direction: column;
    overflow: hidden;
    pointer-events: none;
    width: 100%;
    position: relative;
}


.direct .item:last-of-type {
    flex-direction: column-reverse
}

.direct .item .content {

    transition-property: max-height !important;
    transition-duration: 0.15s !important;
    transition-timing-function: ease-out !important;
    max-height: 0;
}

.direct .item.state2 .content {
    /* gon chanage this to state2 */
    max-height: 450px;
}

.direct .item .pheader {
    display: flex;
    flex-direction: column;
    max-height: 65px;
    overflow: visible;
    position: relative;
    transition-property: max-height !important;
    transition-duration: 0.15s !important;
    transition-timing-function: ease-in-out !important;
    width: 100%;
}

.direct .item.state2 .pheader {
    max-height: 0;
}

.direct .item:nth-of-type(2).state2 .pheader {
    max-height: 65px;
    position: absolute;
    bottom: 0;
    background: none;
}

/* .direct .item .content .inline {
	background-color: transparent;
	left: 0;
	max-width: none;
	max-height: none;
	position: absolute;
	top: 0;
	pointer-events: none;
} */

.direct .item .inline.hunt {
    top: unset;
    bottom: 0;
    pointer-events: none;
}

.direct .item .inline.hunt a {
    text-decoration: none;
    pointer-events: none;
}

.direct .item .inline.hunt #xternal-link {
    pointer-events: all;
}


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

    .panel .item .pheader {
        transition-property: max-width !important;
        transition-duration: 0.25s !important;
        transition-timing-function: ease-out !important;
        max-width: 65px;
    }

    .item .labelo .text {
        font-size: 85px;
        font-size: 3.985rem;
        line-height: 65px;
    }

    .direct .item .labelo .text {

        /* font-size: 65px; */
        font-size: 3.047rem;
    }


    .social .labelo .text {
        text-indent: -2px;
    }

    .photo .labelo .text {
        text-indent: -7px;
    }

    .panel .item {
        height: 900px;
        max-width: 65px;
    }

    .panel .social img {
        display: inline-block;
        margin-left: 475px;
    }

    .panel .photo img {
        display: inline-block;
        margin-left: -10px;
    }

    .panel .art img {
        display: inline-block;
        margin-left: 420px;
    }

    .panel .tech img {
        display: inline-block;
        margin-left: -130px;
    }
}

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

    /*   .panel .item .pheader {
        transition-property: max-width !important;
        transition-duration: 0.25s !important;
        transition-timing-function: ease-out !important;
        max-width: 65px;
    }

    .item .labelo .text {
        /font-size: 85px;
	font-size: 3.985rem;
        line-height: 65px;
    } */

    .direct .item .labelo .text {
        /* font-size: 60px; */
        font-size: 2.813rem;
    }

    .item .labelo .daLink {
        font-size: 30px;
        /* fixMe: find the corresponding rem value for 30px */
    }


    /*.social .labelo .text {
        text-indent: -2px;
    }

    .photo .labelo .text {
        text-indent: -7px;
    }

    .panel .item {
        height: 900px;
        max-width: 65px;
    }

    .panel .social img {
        display: inline-block;
        margin-left: 475px;
    }

    .panel .photo img {
        display: inline-block;
        margin-left: -10px;
    }

    .panel .art img {
        display: inline-block;
        margin-left: 420px;
    }

    .panel .tech img {
        display: inline-block;
        margin-left: -130px;
    } */
}