/* portfolio layouts */

/* portfolio layout 01 */
.xg-portfolio-layout-01{}

.xg-portfolio-layout-01 {
    text-align: center;
    overflow: hidden;
    position: relative;
}

.xg-portfolio-layout-01:before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(4, 36, 66, 0.8);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease 0s;
}

.xg-portfolio-layout-01:hover:before {
    opacity: 1;
}

.xg-portfolio-layout-01 img {
    width: 100%;
    height: auto;
}

.xg-portfolio-layout-01 .icon {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 30%;
    left: 0;
    transform: translateY(-40%);
}

.xg-portfolio-layout-01 .icon li {
    display: inline-block;
}

.xg-portfolio-layout-01 .icon li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #fff;
    font-size: 20px;
    color: #fff;
    margin-right: 5px;
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.xg-portfolio-layout-01 .icon li:first-child a {
    transform: translateY(35px);
}

.xg-portfolio-layout-01 .icon li:last-child a {
    transform: translateY(-35px);
}

.xg-portfolio-layout-01:hover .icon li:first-child a,
.xg-portfolio-layout-01:hover .icon li:last-child a {
    opacity: 1;
    transform: translateY(0);
}

.xg-portfolio-layout-01 .xg-content {
    width: 100%;
    position: absolute;
    bottom: -50%;
    left: 0;
    transition: all 0.3s ease 0s;
}

.xg-portfolio-layout-01:hover .xg-content {
    bottom: 25%;
}

.xg-portfolio-layout-01 .title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 10px 10px;
    color: #fff;
}

.xg-portfolio-layout-01 .cats a{
    display: inline-block;
    font-size: 15px;
    font-style: italic;
    font-weight: 600;
    color: #fff;
    transition: all 500ms;
}
.xg-portfolio-layout-01 .cats a+a{
    margin-left: 10px;
}
@media only screen and (max-width:990px) {
    .xg-portfolio-layout-01 {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width:479px) {
    .xg-portfolio-layout-01:hover .xg-content {
        bottom: 10%;
    }
}

/* portfolio layout 02 */

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .box-img {
    position: relative;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .box-img img {
    width: 100%;
    height: auto;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .box-img:before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease 0s;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner:hover .box-img:before {
    opacity: 1;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .link .link-wrap a {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #333;
    position: relative;
    top: 45%;
    opacity: 0;
    font-size: 16px;
    line-height: 40px;
    margin-right: 5px;
    display: inline-block;
    transform: rotateZ(-360deg);
    transition: all 0.3s ease 0s;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .link .link-wrap a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.4);
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner:hover .link .link-wrap a {
    transform: rotateZ(0deg);
    opacity: 1;
}

@media only screen and (max-width: 990px) {
    .xg-portfolio-layout-02 .xg-portfolio-layout-02-inner {
        margin-bottom: 20px;
    }
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .link .title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    transition: .3s ease-in;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .link .post {
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    transition: .3s ease-in;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .link .content-area {
    visibility: hidden;
    opacity: 0;
}

.xg-portfolio-layout-02:hover .xg-portfolio-layout-02-inner .link .content-area {
    visibility: visible;
    opacity: 1;
}

.xg-portfolio-layout-02 .xg-portfolio-layout-02-inner .link .content-area {
    margin-bottom: 20px;
    padding: 30px 20px 0 20px;
}
.xg-portfolio-layout-02:hover .xg-portfolio-layout-02-inner .link .content-area .cats a {
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
}

.xg-portfolio-layout-02:hover .xg-portfolio-layout-02-inner .link .content-area .cats a + a {
    margin-left: 10px;
}

/* portfolio layout 03 */

.xg-portfolio-layout-03 {
    border: 4px solid #fff;
    position: relative;
    overflow: hidden;
}

.xg-portfolio-layout-03 img {
    width: 110%;
    height: auto;
    position: relative;
    transition: all 0.30s linear 0s;
}

.xg-portfolio-layout-03:hover img {
    transform: scale(1.1);
}

.xg-portfolio-layout-03 .over-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.8);
    transition: all 0.30s ease 0s;
}

.xg-portfolio-layout-03:hover .over-layer {
    opacity: 1;
}

.xg-portfolio-layout-03 .post a,
.xg-portfolio-layout-03 .over-layer .subtitle {
    position: absolute;
    bottom: -20%;
    left: 10%;
    color: #fff;
    text-transform: uppercase;
    transition: all 0.30s ease 0s;
    padding-right: 20px;
}

.xg-portfolio-layout-03:hover .post a {
    bottom: 45%;
    text-decoration: none;
    top: 35px;
}

.xg-portfolio-layout-03:hover .over-layer .subtitle {
    bottom: 35%;
    text-decoration: none;
}

.xg-portfolio-layout-03 .social-links {
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    bottom: -30%;
    left: 10%;
    transition: all .70s ease 0s;
}

.xg-portfolio-layout-03:hover .social-links {
    bottom: 20%;
}

.xg-portfolio-layout-03 .social-links li {
    display: inline-block;
}

.xg-portfolio-layout-03 .social-links li a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
}

.xg-portfolio-layout-03 .social-links li a:hover {
    text-decoration: none;
    background: #fff;
    color: #333;
}

@media only screen and (max-width: 990px) {
    .xg-portfolio-layout-03 {
        margin-bottom: 20px;
    }
}
.xg-portfolio-layout-03:hover .over-layer .cats {
    margin-left: 30px;
    display: block;
}

.xg-portfolio-layout-03:hover .over-layer .cats a {
    font-size: 14px;
    line-height: 24px;
    color: rgba(255,255,255,.8);
}

.xg-portfolio-layout-03:hover .over-layer .cats a+a {
    margin-left: 10px;
}

/* portfolio layout 04 */

.xg-portfolio-layout-04 .single-hover-effect-04 .tile {
    display: inline-block;
    text-align: left;
    opacity: .99;
    overflow: hidden;
    position: relative;
    border-radius: 3px;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:before {
    content: '';
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2;
    transition-property: top, opacity;
    transition-duration: 0.3s;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile img {
    display: block;
    max-width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile .details {
    font-size: 16px;
    padding: 20px;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile .details span {
    display: block;
    opacity: 0;
    position: relative;
    top: 100px;
    transition-property: top, opacity;
    transition-duration: 0.3s;
    transition-delay: 0s;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile .details .title {
    line-height: 1;
    font-weight: 600;
    font-size: 18px;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile .details .info {
    line-height: 1.2;
    margin-top: 5px;
    font-size: 12px;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:focus:before,
.xg-portfolio-layout-04 .single-hover-effect-04 .tile:focus span,
.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover:before,
.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover span {
    opacity: 1;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:focus:before,
.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover:before {
    top: 50%;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:focus span,
.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover span {
    top: 0;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:focus .title,
.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover .title {
    transition-delay: 0.15s;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:focus .info,
.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover .info {
    transition-delay: 0.25s;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile .details .links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 1px solid #eee;
    line-height: 35px;
    text-align: center;
    transition: .5s;
    transition-delay: .30s;
    visibility: hidden;
    opacity: 0;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover .details .links {
    padding-top: 20px;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile:hover .details .links a {
    visibility: visible;
    opacity: 1;
}

.xg-portfolio-layout-04 .single-hover-effect-04 .tile .details .links a:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}
.xg-portfolio-layout-04 .single-hover-effect-04 .tile span.cats a+a {
    margin-left: 20px;
}
/* portfolio layout 05 */

.xg-portfolio-layout-05 .single-hover-effect-05 {
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}

.xg-portfolio-layout-05 .single-hover-effect-05 .overlay,
.xg-portfolio-layout-05 .single-hover-effect-05 .content {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.xg-portfolio-layout-05 .single-hover-effect-05 img {
    display: block;
    position: relative
}

.xg-portfolio-layout-05 .single-hover-effect-05 h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    margin: 20px 0 0 0
}

.xg-portfolio-layout-05 .single-hover-effect-05 p {
    font-style: italic;
    font-size: 14px;
    position: relative;
    color: #fff;
    padding: 0px 20px 0px;
    text-align: center
}

.xg-portfolio-layout-05 .single-hover-effect-05 a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 0 1px #000;
    font-size: 14px;
}

.xg-portfolio-layout-05 .single-hover-effect-05 a.info:hover {
    box-shadow: 0 0 5px #000
}

.xg-portfolio-layout-05 .single-hover-effect-05 img {
    transition: all 0.2s linear;
}

.xg-portfolio-layout-05 .single-hover-effect-05 .overlay {
    opacity: 0;
    background-color: rgba(58, 1, 132, 0.44);
    transition: all 0.4s ease-in-out;
}

.xg-portfolio-layout-05 .single-hover-effect-05 h2 {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.xg-portfolio-layout-05 .single-hover-effect-05 p {
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.2s linear;
}

.xg-portfolio-layout-05 .single-hover-effect-05 a.info {
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.xg-portfolio-layout-05 .single-hover-effect-05:hover img {
    transform: scale(1.1);
}

.xg-portfolio-layout-05 .single-hover-effect-05:hover .overlay {
    opacity: 1;
}

.xg-portfolio-layout-05 .single-hover-effect-05:hover h2,
.xg-portfolio-layout-05 .single-hover-effect-05:hover p,
.xg-portfolio-layout-05 .single-hover-effect-05:hover a.info {
    opacity: 1;
    transform: translateY(0px);
}

.xg-portfolio-layout-05 .single-hover-effect-05:hover p {
    transition-delay: 0.1s;
}

.xg-portfolio-layout-05 .single-hover-effect-05:hover a.info {
    transition-delay: 0.2s;
}

.xg-portfolio-layout-05 .single-hover-effect-05:hover .links a {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.xg-portfolio-layout-05 .single-hover-effect-05 .links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #333;
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.4);
    transition: .5s ease-in;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
}

.xg-portfolio-layout-05 .single-hover-effect-05 .links a:hover {
    background-color: #fff;
    color: #333;
    border-color: #fff;
}
.xg-portfolio-layout-05 .single-hover-effect-05 .cats a {
    font-size: 14px;
    line-height: 24px;
    color: #fff;
}

.xg-portfolio-layout-05 .single-hover-effect-05 .cats a+a {
    margin-left: 20px;
}

.xg-portfolio-layout-05 .single-hover-effect-05 .cats {
    margin-bottom: 20px;
}

/* portfolio layout 06 */

.xg-portfolio-layout-06 .single-hover-effect-06:hover .links a {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.xg-portfolio-layout-06 .single-hover-effect-06 .links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.4);
    transition: .5s ease-in;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
}

.xg-portfolio-layout-06 .single-hover-effect-06 .links a:hover {
    background-color: #fff;
    color: #333;
    border-color: #fff;
}

.xg-portfolio-layout-06 .single-hover-effect-06 {
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
}

.xg-portfolio-layout-06 .single-hover-effect-06 .overlay,
.xg-portfolio-layout-06 .single-hover-effect-06 .content {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.xg-portfolio-layout-06 .single-hover-effect-06 img {
    display: block;
    position: relative
}

.xg-portfolio-layout-06 .single-hover-effect-06 h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    margin: 20px 0 0 0
}

.xg-portfolio-layout-06 .single-hover-effect-06 p {
    font-style: italic;
    font-size: 14px;
    position: relative;
    color: #fff;
    padding: 0px 20px 0px;
    text-align: center
}

.xg-portfolio-layout-06 .single-hover-effect-06 a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 0 1px #000;
    font-size: 14px;
}

.xg-portfolio-layout-06 .single-hover-effect-06 a.info:hover {
    box-shadow: 0 0 5px #000
}

.xg-portfolio-layout-06 .single-hover-effect-06 img {
    transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
}

.xg-portfolio-layout-06 .single-hover-effect-06 .overlay {
    background-color: rgba(12, 19, 27, 0.3);
    opacity: 0;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

.xg-portfolio-layout-06 .single-hover-effect-06 img {
    transform: scaleY(1);
    transition: all .7s ease-in-out;
}

.xg-portfolio-layout-06 .single-hover-effect-06 .overlay {
    background-color: rgba(255, 231, 179, 0.3);
    transition: all 0.5s linear;
    opacity: 0;
}

.xg-portfolio-layout-06 .single-hover-effect-06 h2 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    transform: scale(0);
    color: #333;
    transition: all 0.5s linear;
    opacity: 0;
}

.xg-portfolio-layout-06 .single-hover-effect-06 p {
    color: #333;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.xg-portfolio-layout-06 .single-hover-effect-06 a.info {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s linear;
}

.xg-portfolio-layout-06 .single-hover-effect-06:hover img {
    -webkit-transform: scale(10);
    transform: scale(10);
    opacity: 0;
}

.xg-portfolio-layout-06 .single-hover-effect-06:hover .overlay {
    opacity: 1;
}

.xg-portfolio-layout-06 .single-hover-effect-06:hover h2,
.xg-portfolio-layout-06 .single-hover-effect-06:hover p,
.xg-portfolio-layout-06 .single-hover-effect-06:hover a.info {
    transform: scale(1);
    opacity: 1;
}
.xg-portfolio-layout-06 .single-hover-effect-06 .overlay .cats {
    font-size: 14px;
    line-height: 24px;
    color: #666;
}

.xg-portfolio-layout-06 .single-hover-effect-06 .overlay .cats {
    margin: 10px 0;
}

.xg-portfolio-layout-06 .single-hover-effect-06 .overlay .cats a+a {
    margin-left: 20px;
}
/* portfolio layout 07 */

.xg-portfolio-layout-07 .single-hover-effect-07:hover .content .links {
    margin-top: 20px;
}

.xg-portfolio-layout-07 .single-hover-effect-07:hover .content .links a {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.xg-portfolio-layout-07 .single-hover-effect-07 .content .links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.4);
    transition: .5s ease-in;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
}

.xg-portfolio-layout-07 .single-hover-effect-07 .content .links a:hover {
    background-color: #fff;
    color: #333;
    border-color: #fff;
}

.xg-portfolio-layout-07 .single-hover-effect-07 {
    color: #fff;
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    width: 100%;
    background: #000000;
    text-align: center;
}

.xg-portfolio-layout-07 .single-hover-effect-07 img {
    opacity: 1;
    width: 100%;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

.xg-portfolio-layout-07 .single-hover-effect-07 .content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    width: 100%;
    height: 100%;
}

.xg-portfolio-layout-07 .single-hover-effect-07 .content:before {
    position: absolute;
    top: 50%;
    right: 30px;
    bottom: 50%;
    left: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    content: '';
    opacity: 0;
    background-color: #ffffff;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

.xg-portfolio-layout-07 .single-hover-effect-07 h2,
.xg-portfolio-layout-07 .single-hover-effect-07 .cats {
    margin: 0 0 5px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, -webkit-transform 0.35s, -moz-transform 0.35s, -o-transform 0.35s, transform 0.35s;
}

.xg-portfolio-layout-07 .single-hover-effect-07 h2 {
    font-weight: 700;
    -webkit-transform: translate3d(0%, 50%, 0);
    transform: translate3d(0%, 50%, 0);
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.xg-portfolio-layout-07 .single-hover-effect-07 h2 span {
    font-weight: 700;
}

.xg-portfolio-layout-07 .single-hover-effect-07 .cats {
    font-weight: 400;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    font-size: 14px;
}

.xg-portfolio-layout-07 .single-hover-effect-07:hover img {
    opacity: 0.35;
}

.xg-portfolio-layout-07 .single-hover-effect-07:hover .content h2 {
    opacity: 1;
    -webkit-transform: translate3d(0%, 0%, 0);
    transform: translate3d(0%, 0%, 0);
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.xg-portfolio-layout-07 .single-hover-effect-07:hover .content .cats {
    opacity: 0.9;
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

.xg-portfolio-layout-07 .single-hover-effect-07:hover .content:before {
    background: rgba(255, 255, 255, 0);
    top: 30px;
    bottom: 30px;
    opacity: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

/* portfolio layout 08 */

.xg-portfolio-layout-08 .single-hover-effect-08 {
    color: #fff;
    position: relative;
    float: left;
    overflow: hidden;
    width: 100%;
    background: #000000;
    text-align: right;
}

.xg-portfolio-layout-08 .single-hover-effect-08 img {
    opacity: 1;
    width: 100%;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

.xg-portfolio-layout-08 .single-hover-effect-08 .content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    width: 100%;
    height: 100%;
    padding-right: 50px;
    padding-left: 30px;
}

.xg-portfolio-layout-08 .single-hover-effect-08 .content::before {
    position: absolute;
    top: 30px;
    right: 100%;
    bottom: 30px;
    left: 30px;
    border-right: 4px solid rgba(255, 255, 255, 0.8);
    content: '';
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

.xg-portfolio-layout-08 .single-hover-effect-08 h2,
.xg-portfolio-layout-08 .single-hover-effect-08 .cats {
    margin: 0 0 5px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, -webkit-transform 0.35s, -moz-transform 0.35s, -o-transform 0.35s, transform 0.35s;
}

.xg-portfolio-layout-08 .single-hover-effect-08 h2 {
    word-spacing: -0.15em;
    font-weight: 400;
    -webkit-transform: translate3d(-30%, 0%, 0);
    transform: translate3d(-30%, 0%, 0);
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.xg-portfolio-layout-08 .single-hover-effect-08 h2 span {
    font-weight: 700;
}

.xg-portfolio-layout-08 .single-hover-effect-08 .cats {
    font-weight: 200;
    -webkit-transform: translate3d(0%, -30%, 0);
    transform: translate3d(0%, -30%, 0);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.xg-portfolio-layout-08 .single-hover-effect-08:hover img {
    opacity: 0.3;
}

.xg-portfolio-layout-08 .single-hover-effect-08:hover .content h2,
.xg-portfolio-layout-08 .single-hover-effect-08:hover .content .cats{
    visibility: visible;
}

.xg-portfolio-layout-08 .single-hover-effect-08:hover .content h2 {
    opacity: 1;
    -webkit-transform: translate3d(0%, 0%, 0);
    transform: translate3d(0%, 0%, 0);
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s;
}

.xg-portfolio-layout-08 .single-hover-effect-08:hover .content .cats {
    opacity: 0.9;
    -webkit-transform: translate3d(0%, 0%, 0);
    transform: translate3d(0%, 0%, 0);
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
}
.xg-portfolio-layout-08 .single-hover-effect-08:hover .content .cats a{
    font-size: 14px;
    line-height: 24px;
}
.xg-portfolio-layout-08 .single-hover-effect-08:hover .content .cats a+a{
    margin-left: 20px;
}
.xg-portfolio-layout-08 .single-hover-effect-08:hover .content::before {
    background: rgba(255, 255, 255, 0);
    right: 30px;
    opacity: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.xg-portfolio-layout-08 .single-hover-effect-08:hover .content .links {
    margin-top: 20px;
}

.xg-portfolio-layout-08 .single-hover-effect-08:hover .content .links a {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.xg-portfolio-layout-08 .single-hover-effect-08 .content .links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.4);
    transition: .5s ease-in;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
    text-align: center;
}

.xg-portfolio-layout-08 .single-hover-effect-08 .content .links a:hover {
    background-color: #fff;
    color: #333;
    border-color: #fff;
}

/* portfolio layout 09 */

.xg-portfolio-layout-09 .single-hover-effect-09 {
    color: #fff;
    position: relative;
    float: left;
    overflow: hidden;
    max-height: 220px;
    width: 100%;
    background: #000000;
    text-align: center;
}

.xg-portfolio-layout-09 .single-hover-effect-09 img {
    max-width: 100%;
    opacity: 1;
    width: 100%;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

.xg-portfolio-layout-09 .single-hover-effect-09 .content {
    font-size: 1.25em;
}

.xg-portfolio-layout-09 .single-hover-effect-09>.content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 35px;
    width: 100%;
    height: 100%;
}

.xg-portfolio-layout-09 .single-hover-effect-09>.content::before {
    position: absolute;
    top: 30px;
    right: 50%;
    bottom: 30px;
    left: 50%;
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    content: '';
    opacity: 0;
    background-color: #ffffff;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
}

.xg-portfolio-layout-09 .single-hover-effect-09 h2,
.xg-portfolio-layout-09 .single-hover-effect-09 .cats {
    margin: 0 0 5px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, -webkit-transform 0.35s, -moz-transform 0.35s, -o-transform 0.35s, transform 0.35s;
}

.xg-portfolio-layout-09 .single-hover-effect-09 h2 {
    font-weight: 400;
    -webkit-transform: translate3d(0%, 100%, 0);
    transform: translate3d(0%, 100%, 0);
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.xg-portfolio-layout-09 .single-hover-effect-09 h2 span {
    font-weight: 800;
}

.xg-portfolio-layout-09 .single-hover-effect-09 .cats {
    font-weight: 600;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    font-size: 14px;
    line-height: 24px;
}
.xg-portfolio-layout-09 .single-hover-effect-09 .cats a{
    color: #fff;
}

.xg-portfolio-layout-09 .single-hover-effect-09 .cats a+a{
    margin-left: 20px;
}

.xg-portfolio-layout-09 .single-hover-effect-09:hover img {
    opacity: 0.35;
}

.xg-portfolio-layout-09 .single-hover-effect-09:hover>.content h2 {
    opacity: 1;
    -webkit-transform: translate3d(0%, 0%, 0);
    transform: translate3d(0%, 0%, 0);
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.xg-portfolio-layout-09 .single-hover-effect-09:hover>.content .cats {
    opacity: 0.8;
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
    font-size: 14px;
    line-height: 20px;
}

.xg-portfolio-layout-09 .single-hover-effect-09:hover>div::before {
    background: rgba(255, 255, 255, 0);
    left: 30px;
    right: 30px;
    opacity: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.xg-portfolio-layout-09 .single-hover-effect-09:hover .content .links {
    margin-top: 20px;
}

.xg-portfolio-layout-09 .single-hover-effect-09:hover .content .links a {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
}

.xg-portfolio-layout-09 .single-hover-effect-09 .content .links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.4);
    transition: .5s ease-in;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
    text-align: center;
}

.xg-portfolio-layout-09 .single-hover-effect-09 .content .links a:hover {
    background-color: #fff;
    color: #333;
    border-color: #fff;
}

/* portfolio layout 10 */

.xg-portfolio-layout-10 {
    position: relative;
    overflow: hidden;
}

.xg-portfolio-layout-10 img {
    width: 100%;
    height: auto;
}

.xg-portfolio-layout-10 .over-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: all 0.5s ease 0s;
}

.xg-portfolio-layout-10:hover .over-layer {
    opacity: 1;
}

.xg-portfolio-layout-10 .xg-content {
    width: 100%;
    position: absolute;
    top: -100%;
    padding: 10px 20px;
    transition: all 0.5s ease 0s;
}

.xg-portfolio-layout-10:hover .xg-content {
    top: 0;
}
.xg-portfolio-layout-10:hover .xg-content .cats a{
    font-size: 16px;
    font-width: 400;
    line-height: 20px;
    color: #fff;
}
.xg-portfolio-layout-10:hover .xg-content .cats a+a{
    margin-left: 10px;
}
.xg-portfolio-layout-10 .xg-content:after {
    content: "";
    width: 30%;
    display: block;
    margin-top: 10px;
    border-bottom: 2px solid #fff;
}

.xg-portfolio-layout-10 .title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.xg-portfolio-layout-10 .links {
    padding: 0 30px 0 0;
    margin: 0;
    list-style: none;
    width: 100%;
    position: absolute;
    bottom: -100%;
    text-align: right;
    transition: all 0.5s ease 0s;
}

.xg-portfolio-layout-10:hover .links {
    bottom: 15%;
}

.xg-portfolio-layout-10 .links li {
    display: inline-block;
    margin-right: 2px;
}

.xg-portfolio-layout-10 .links li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    color: #e74c3c;
    background: #fff;
    text-align: center;
    transition: all 0.3s ease 0s;
}

.xg-portfolio-layout-10 .links li a:focus {
    outline: none;
}

.xg-portfolio-layout-10 .links li a:hover {
    background: #e74c3c;
    color: #fff;
}

@media only screen and (max-width: 990px) {
    .xg-portfolio-layout-10 {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 479px) {
    .xg-portfolio-layout-10 .title {
        margin-top: 5px;
    }
}
