.parent-filter {
    position: relative;
    z-index: 10;
    top: 25px;
}
/** filters list **/
#filter-list {
    display: block;
    margin-bottom: 15px;
    text-align: -moz-right;
    text-align: -webkit-right;
    text-align: right;
    position: relative;
    border-bottom: 1px solid #03298d;
}

    #filter-list li {
        display: inline-block;
        width: auto;
        margin: 0px 5px;
        padding: 0 5px;
        color: #666666;
        font-size: 10pt;
        cursor: pointer;
        -webkit-transition: all 0.35s ease-in-out;
        -moz-transition: all 0.35s ease-in-out;
        transition: all 0.35s ease-in-out;
    }

        #filter-list li:first-child {
            margin: 0px 0 0 5px;
        }

        #filter-list li:hover, #filter-list li.active {
            border-bottom: 2px solid #03298d;
            -webkit-transition: all 0.35s ease-in-out;
            -moz-transition: all 0.35s ease-in-out;
            transition: all 0.35s ease-in-out;
            color: #03298d;
        }


/** portfolio list **/
#portfolio {
    width: 100%;
    text-align: right;
    box-sizing: border-box;
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
}

    /*#portfolio .item {
        display: none;
        opacity: 0;
        vertical-align: top;
        -moz-box-sizing: border-box;
        position: relative;
        overflow: hidden;
        width: 20%;
        float: right;
        margin: 0;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }*/

    #portfolio .item a {
        display: block;
        width: 100%;
        text-decoration: none;
        background: #fff;
    }

    #portfolio .item img {
        width: 100%;
    }

.portfolio-text {
    display: block;
    color: #fff;
    background: #03298d;
    height: 40px;
    text-align: -webkit-right;
    text-align: -moz-right;
    text-align: right;
    width: 100%;
    margin: auto;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    padding: 6px 10px;
    cursor: pointer;
    position: absolute;
    bottom: -70px;
    right: 0;
    left: 0;
    font-size: 10pt;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


.bgBlack {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#portfolio .item:hover {
    -webkit-box-shadow: 0px 3px 20px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 0px 3px 20px 0px rgba(0,0,0,0.4);
    box-shadow: 0px 3px 20px 0px rgba(0,0,0,0.4);
}

    #portfolio .item:hover .portfolio-text {
        bottom: 0;
    }

    #portfolio .item:hover .bgBlack {
        opacity: 1;
    }
