/* 25. portfolio css here */

.portfolio_section_area {
	padding-bottom: 30px;
}
.portfolio_button {
	padding: 50px 0;
	background: #f5f5f5;
	margin-bottom: 30px;
    @media #{$large-mobile}{
        padding: 50px 0 40px;
    }
}
.portfolio_tab_button{
    text-align: center;
    & ul{
        & li{
            display: inline-block;
        }
    }
}

.portfolio_link {
	position: absolute;
	top: 50%;
	text-align: center;
	-webkit-transform: translatey(-50%);
	transform: translatey(-50%);
	right: 15px;
	height: 60px;
	width: 60px;
	background-color: rgba(1,98,189,1.00);
	border: 3px solid #fff;
	border-radius: 50%;
    -webkit-transition: .3s;
    transition: .3s;
    opacity: 0;
    @media #{$desktop-device}{
        height: 50px;
        width: 50px;
    }
    @media #{$tablet-device}{
        height: 50px;
        width: 50px;
    }
    @media #{$large-mobile}{
        height: 50px;
        width: 50px;
    }
    &:hover{
        background:$secondary_color;
        border-color: $secondary_color;
    }
    & a{
        color: #ffffff;
        font-size: 16px;
        line-height: 56px;
        display: block;
        @media #{$desktop-device}{
            line-height: 46px;
        }
        @media #{$tablet-device}{
           line-height: 46px;
        }
        @media #{$large-mobile}{
            line-height: 46px;
        }
    }
}
.portfolio_popup{
    position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
	-webkit-transform: translatey(-50%);
	transform: translatey(-50%);
    & a{
        font-size: 16px;
        line-height: 22px;
        color: #ffffff;
        font-weight: 400;
        border-radius: 50%;
        background-color: rgba(1,98,189,1.00);
        display: inline-block;
        text-align: center;
        -webkit-transition: .3s;
        transition: .3s;
        opacity: 0;
        padding: 0;
        &:hover{
            background:$secondary_color;
        }
    }
	
}
.single_portfolio_inner{
    position: relative;
	margin-bottom: 30px;
    &:hover{
        & .portfolio_link{
            top: 80%;
            opacity: 1;
            @media #{$desktop-device}{
                top: 76%;
            }
            @media #{$tablet-device}{
               top: 76%;
            }
            @media #{$large-mobile}{
                top: 76%;
            }
        }
        & .portfolio_popup{
            & a{
                opacity: 1;
	            padding: 15px 18px;
                @media #{$desktop-device}{
                    padding: 12px 15px;
                }
                @media #{$tablet-device}{
                   padding: 12px 15px;
                }
                @media #{$large-mobile}{
                    padding: 12px 15px;
                }
            }
        }
        & .portfolio_content{
            opacity: 1;
            visibility: visible;
        }
        & .portfolio_thumb{
            &::before{
                opacity: 0.5;
            }
        }
    }
}

.portfolio_content{
    background: #f5f5f5;
	padding: 15px 20px;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	z-index: 999;
	width: 100%;
	-webkit-transition: .3s;
	transition: .3s;
    & > a{
        font-size: 17px;
        font-weight: 700;
        display: block;
        line-height: 29px;
        @media #{$desktop-device}{
            font-size: 16px;
        }
        @media #{$tablet-device}{
           font-size: 16px;
        }
        @media #{$large-mobile}{
            font-size: 16px;
        }
        &:hover{
            color: $secondary_color;
        }
    }
    & span{
        text-transform: capitalize;
	    font-weight: 400;
    }
}

.portfolio_thumb {
	position: relative;
    &::before{
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0;
        -webkit-transition: .3s;
        transition: .3s;
    }
    & img{
        width: 100%;
    }
}


.portfolio_tab {
	padding: 0 15px;
}
.portfolio_tab_button{
    & button{
        background: #fff;
        border-right: 2px solid #f5f5f5;
        line-height: 45px;
        padding: 0 30px;
        font-size: 12px;
        text-transform: capitalize;
        font-weight: 700;
        position: relative;
        display: inline-block;
        border: none;
        cursor: pointer;
        -webkit-transition: .3s;
        transition: .3s;
        @media #{$large-mobile}{
            line-height: 38px;
            margin-bottom: 10px;
            margin-right: 10px;
            padding: 0 21px;
        }
        &:hover{
            color: #fff;
            background: #0162bd;
        }
        &.active{
            color: #fff;
            background: #0162bd;
        }
        &::before{
            content: "";
            display: block;
            position: absolute;
            top: 2px;
            right: 2px;
            border-color: transparent;
            border-width: 5px;
            border-style: solid;
            border-top-color: #fff;
            border-right-color: #fff;
            -webkit-transition: .3s;
            transition: .3s;
        }
    }
	
}



/*portfolio page css end*/
