.categories ul {
    list-style: none;
    padding: 0;
    position: relative;
    margin: 20px 0;
    text-align: center
}

.categories ul li {
    display: inline-block;
    padding: 0;
    line-height: 24px;
    background: transparent;
    margin: 0;
    margin-left: 5px;
    margin-bottom: 10px
}

.categories ul li a {
    display: block;
    font-size: 18px;
    font-weight: normal;
    padding: 5px 20px;
    border-radius: 0px;
    border: 2px solid transparent;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    font-family: 'SegoeUI-SemiBold', Arial, Sans-Serif
}

.categories ul li a, .categories ul li a:active, .categories ul li a:hover {
    line-height: 24px;
    color: #444;
    font-size: 18px;
    text-decoration: none;
    font-family: 'SegoeUI-SemiBold', Arial, Sans-Serif;
    font-weight: normal
}

.categories ul li.active a {
    color: #fff;
    font-size: 18px;
    font-family: 'SegoeUI-SemiBold', Arial, Sans-Serif;
    font-weight: normal;
    position: relative;
    background: #3283C8 !important;
    border: 2px solid #3283C8
}

.categories ul li a:hover {
    color: #fff;
    font-size: 18px;
    position: relative;
    background: #3283C8;
    border: 2px solid #3283C8
}

.categories ul li.active a:after, .categories ul li:hover a:after, .categories ul li.active a:before, .categories ul li:hover a:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none
}

.categories ul li.active a:after, .categories ul li:hover a:after {
    border-color: rgba(50, 131, 200, 0);
    border-top-color: #3283C8;
    border-width: 5px;
    margin-left: -5px
}

.categories ul li.active a:before, .categories ul li:hover a:before {
    border-color: rgba(50, 131, 200, 0);
    border-top-color: #3283C8;
    border-width: 8px;
    margin-left: -8px
}


.portfolio-thumb {
    display: block;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    -webkit-transition: all .4s ease-out;
    transition: all .4s ease-out
}

.scrollimation .portfolio-thumb {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
    -webkit-transition: opacity .4s ease-out, -webkit-transform .4s ease-out;
    transition: opacity .4s ease-out, transform .4s ease-out
}

.touch .scrollimation .portfolio-thumb, .scrollimation .portfolio-thumb.in {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1
}

.portfolio-thumb .overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5CC9DF;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 1;
    -webkit-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out
}

.portfolio-thumb:hover .overlay-mask {
    opacity: 0.8;
    filter: alpha(opacity=80)
}

.portfolio-thumb .enlarge, .portfolio-thumb .link {
    display: inline-block;
    margin: 0;
    margin-top: -25px;
    font-size: 50px;
    line-height: 50px;
    color: #fff;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    height: 50px;
    width: 64px;
    top: 40%;
    left: 50%;
    text-align: center;
    z-index: 3
}

.portfolio-thumb .enlarge {
    margin-left: -84px;
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out
}

.portfolio-thumb:hover .enlarge {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transition: all .3s ease-out .3s;
    transition: all .3s ease-out .3s
}

.portfolio-thumb .link {
    margin-left: 20px;
    -webkit-transform: translateX(200px);
    transform: translateX(200px);
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out
}

.portfolio-thumb:hover .link {
    -webkit-transform: translate(0);
    transform: translate(0);
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transition: all .3s ease-out .6s;
    transition: all .3s ease-out .6s
}

.portfolio-thumb .enlarge.centered, .portfolio-thumb .link.centered {
    margin-left: -32px;
    -webkit-transform: translateY(-200px);
    transform: translateY(-200px);
    -webkit-transition-delay: 0s;
    transition-delay: 0s
}

.portfolio-thumb:hover .enlarge.centered, .portfolio-thumb:hover .link.centered {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s
}

.portfolio-thumb .project-title {
    display: block;
    width: 100%;
    position: absolute;
    bottom: -100px;
    background: #2E84CA;
    margin: 0;
    padding: 10px;
    font-size: 21px;
    font-weight: 300;
    color: #fff;
    text-align: left;
    z-index: 2;
    -webkit-transition: bottom .4s ease-out, color .2s ease-out;
    transition: bottom .4s ease-out, color .2s ease-out
}

.portfolio-thumb:hover .project-title {
    bottom: 0;
    -webkit-transition: bottom .3s ease-out .1s, color .2s ease-out 0s;
    transition: bottom .3s ease-out .1s, color .2s ease-out 0s
}

.portfolio-thumb .project-title:hover {
    color: #5CC9DF
}

.portfolio-item {
    position: relative;
    margin-bottom: 30px;
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    -webkit-transition: all .4s ease-out;
    transition: all .4s ease-out;
    padding: 12px
}

.portfolio-item.filtered {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0.2;
    cursor: default;
    -webkit-transition: all .4s ease-out;
    transition: all .4s ease-out;
    display: none
}

.no-opacity .portfolio-item.filtered {
    display: none
}

.portfolio-item.filtered a {
    cursor: default
}

.portfolio-item.filtered .enlarge, .portfolio-item.filtered .link, .portfolio-item.filtered .overlay-mask, .portfolio-item.filtered .project-title {
    display: none
}

.portfoliolbl {
    float: left;
    margin: 0 3px 0 0;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    font-family: 'SegoeUI-Regular', Arial, Sans-Serif;
    border-radius: 0px
}

.port_tag {
    background-image: url(/wp-content/themes/cmsminds/comman-style/images/sprites.png);
    background-position: -258px -63px;
    background-repeat: no-repeat;
    display: inline-block;
    height: 14px;
    position: relative;
    top: 4px;
    width: 15px
}
