
/* ----------------------
	PORTFOLIO WIDGETS
------------------------ */
.element__ready__single__portfolio {
    transition: 0.5s;
}

.portfolio__thumb {
    margin-bottom: 30px;
}


/* ----------2-----------*/
.portfolio__carousel__flex {
    display: flex;
    border: 1px solid #ededed;
    border-radius: 5px;
    overflow: hidden;
}

.portfolio__carousel__flex > div {
    flex: 1;
    margin: 0;
}

.portfolio__carousel__flex .portfolio__content {
    padding: 30px;
}
@media only screen and (max-width: 767px) {
    .portfolio__carousel__flex {
        display: block;
    }
}
/* ----------3-----------*/
.element__ready__portfolio__layout__3 {
    position: relative;
    overflow: hidden;
}
.element__ready__portfolio__layout__3 .portfolio__thumb {
    margin-bottom: 0;
}

.element__ready__portfolio__layout__3 a {
    color: #ffffff;
}
.element__ready__portfolio__layout__3 a:hover,
.element__ready__portfolio__layout__3 a:focus {
    color: #ffffff;
    text-decoration: underline;
}
.element__ready__portfolio__layout__3 .portfolio__content {
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,33,73,0) 1%, #002149 100%);
    width: 100%;
    height: 40%;
    color: #ffffff;
    transition: 0.3s;
    padding: 30px;
}
.element__ready__portfolio__layout__3 .portfolio__title,
.element__ready__portfolio__layout__3 .portfolio__btn {
    margin: 0;
}
.element__ready__portfolio__layout__3 .portfolio__btn a {
    margin: 0;
    position: absolute;
    bottom: 40px;
    transition: 0.3s;
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    left: 0;
    transition: 0.5s;
    text-decoration: none;
    min-width: 40px;
    height: 40px;
    padding-top: 6px;
    border-radius: 50%;
}
.element__ready__portfolio__layout__3:hover .portfolio__btn a {
    opacity: 1;
    visibility: visible;
    left: 30px;
}
.element__ready__portfolio__layout__3:hover .portfolio__btn a:hover {
    background: #ffffff;
    color: #006de8;
    padding-left: 13px;
}
.element__ready__portfolio__layout__3:hover .portfolio__content {
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.8) 0%, rgba(96, 170, 255, 0.5) 100%);
}

/* ----------4-----------*/
.element__ready__portfolio__layout__4 {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}

.element__ready__portfolio__layout__4 .portfolio__thumb{
    margin-bottom: 0;
}
.element__ready__portfolio__layout__4 .portfolio__thumb img {
    width: 100%;
}

.element__ready__portfolio__layout__4 .portfolio__content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background: linear-gradient(rgb(255 171 74 / 50%), #000000);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.46,-0.01, 0.5, 1.01);
    transition-delay: 0.6s;
    opacity: 0;
    visibility: hidden;
}
.element__ready__portfolio__layout__4:hover .portfolio__content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.element__ready__portfolio__layout__4 .portfolio__title a{
    color: #ffffff;
}

.element__ready__portfolio__layout__4 .portfolio__title a:hover{
    color: #FFAB4A;
}

.element__ready__portfolio__layout__4 .portfolio__title {
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.76, 0.21, 0.32, 0.85);
    transition-delay: 0.3s;
    font-size: 30px;
    opacity: 0;
}


.element__ready__portfolio__layout__4 p {
    transition: all 0.4s cubic-bezier(0.76, 0.21, 0.32, 0.85);
    transition-delay: 0.2s;
    transform: translateY(50px);
    opacity: 0;
}

.element__ready__portfolio__layout__4 .portfolio__btn {
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.76, 0.21, 0.32, 0.85);
    transition-delay: 0.1s;
    opacity: 0;
}
.element__ready__portfolio__layout__4 a.readmore__btn {
    padding: 10px 30px;
    background: #ffffff;
    margin-top: 30px;
    border-radius: 5px;
}

.element__ready__portfolio__layout__4 a.readmore__btn:hover {
    background: #FFAB4A;
    color: #ffffff;
}

.element__ready__portfolio__layout__4:hover .portfolio__title{
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.element__ready__portfolio__layout__4:hover p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.element__ready__portfolio__layout__4:hover .portfolio__btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}


.element-ready-filter-activation {
    display: flex;
    flex-wrap: wrap;
    height: auto;
}

.element__ready__portfolio__item__parent {
    display: inline-block;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

/* ----------5-----------*/
.element__ready__portfolio__layout__5 {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 0;
}
.element__ready__portfolio__layout__5 .portfolio__thumb {
    margin-bottom: 0;
}
.element__ready__portfolio__layout__5 .portfolio__thumb img {
    width: 100%;
}
.element__ready__portfolio__layout__5 .portfolio__content {
    position: absolute;
    left: 1px;
    bottom: 20px;
    background: #ffffff;
    padding: 30px 20px;
    max-width: 70%;
    border-radius: 0 10px 10px 0;
    min-width: 300px;
    transform-origin: left;
    transform-style: preserve-3d;
    transition: 0.5s cubic-bezier(0.79, 0.07, 0.17, 0.83);
    perspective: 200px;
}
.element__ready__portfolio__layout__5:hover .portfolio__content {
    transform: translateX(-100%) rotateX(45deg) scale(.8);
}
.element__ready__portfolio__layout__5 .portfolio__hover__content {
    position: absolute;
    top: 0;
    transform: translateY(-80%) perspective(300px) rotateX(80deg);
    width: calc( 100% - 80px );
    left: 0;
    right: 0;
    margin: auto;
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #FAD029, #FF564F);
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
}
.element__ready__portfolio__layout__5:hover .portfolio__hover__content {
    opacity: 1;
    transform: translateY(-50%) perspective(300px) rotateX(0deg);
    top: 50%;
}
.element__ready__portfolio__layout__5 .portfolio__title {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 22px;
}
.element__ready__portfolio__layout__5 .portfolio__category {
    color: #ff564f;
    font-size: 14px;
    text-transform: capitalize;
    line-height: 1;
    margin-top: 10px;
}

.element__ready__portfolio__layout__5 .portfolio__hover__content .portfolio__category {
    margin-top: 20px;
}
.element__ready__portfolio__layout__5 .portfolio__hover__content .portfolio__title {
    font-size: 25px;
    font-weight: 700;
}
.element__ready__portfolio__layout__5 .portfolio__hover__content .portfolio__title a {
    color: #ffffff;
}

.element__ready__portfolio__layout__5 .portfolio__hover__content .portfolio__title a:hover {
    color: #000000;
}

.element__ready__portfolio__layout__5 .portfolio__hover__content .portfolio__category {
    color: #ffffff;
    font-weight: 500;
}
.element__ready__portfolio__layout__5 .portfolio__hover__content .readmore__btn {
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-size: 14px;
}
.element__ready__portfolio__layout__5 .portfolio__hover__content .readmore__btn:hover,
.element__ready__portfolio__layout__5 .portfolio__hover__content .readmore__btn i {
    color: #000000;
}

/* --------------------------------
    PORTFOLIO LAYOUT SIX
----------------------------------- */
.element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent {
    max-width: 25% !important;
}

.element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(3),
.element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(4),
.element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(8){
    max-width: 50% !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent {
        max-width: 50% !important;
    }
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(3),
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(4),
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(8){
        max-width: 50% !important;
    }
}

@media only screen and (max-width: 767px) {
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent {
        max-width: 100% !important;
        padding-right: 0 !important;
    }
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(3),
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(4),
    .element__ready__portfolio__content__layout__6 .element__ready__portfolio__item__parent:nth-child(8){
        max-width: 100% !important;
    }
}
.element__ready__portfolio__layout__6 {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}
.element__ready__portfolio__layout__6:hover {
    border-radius: 10px;
}

.element__ready__portfolio__layout__6 .portfolio__thumb {
    margin-bottom: 0;
    transition: 0.6s;
}
.element__ready__portfolio__layout__6 .portfolio__thumb img {
    width: 100%;
}

.element__ready__portfolio__layout__6:hover .portfolio__thumb {
    transform: scale(1.2);
}

.element__ready__portfolio__layout__6 .portfolio__content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: linear-gradient(0deg, rgba(98, 73, 239, 0.85) 0%, rgba(40, 149, 221, 0.85) 100%);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}
.element__ready__portfolio__layout__6:hover .portfolio__content{
    opacity: 1;
    visibility: visible;
}
.element__ready__portfolio__layout__6 .portfolio__category {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.element__ready__portfolio__layout__6 .readmore__btn {
    position: absolute;
    left: -30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #ffffff;
    font-size: 22px;
    text-align: center;
    padding-top: 15px;
    border-radius: 50%;
    transition: 0.5s;
    opacity: 0;
}
.element__ready__portfolio__layout__6:hover .readmore__btn{
    opacity: 1;
    left: 30px;
}
/* --------------------------------
    PORTFOLIO LAYOUT SEVEN
----------------------------------- */
.element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent {
    max-width: 25% !important;
}

.element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(1),
.element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(5),
.element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(6) {
    max-width: 50% !important;
}
.element__ready__portfolio__layout__7 .portfolio__thumb img {
   width:100%;
}
.element__ready__portfolio__layout__7 {
    overflow: hidden;
    position: relative;
}

.element__ready__portfolio__layout__7 .portfolio__content {
    position: absolute;
    left: 30px;
    bottom: 30px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden;
    width: calc( 100% - 60px );
}
.element__ready__portfolio__layout__7:hover .portfolio__content {
    opacity: 1;
    visibility: visible;
}
.element__ready__portfolio__layout__7 .portfolio__thumb {
    margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 991px) {
    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent {
        max-width: 50% !important;
    }

    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(1),
    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(5),
    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(6) {
        max-width: 50% !important;
    }
}

@media only screen and (max-width: 767px) {
    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent {
        max-width: 100% !important;
        padding-right: 0 !important;
    }

    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(1),
    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(5),
    .element__ready__portfolio__content__layout__7 .element__ready__portfolio__item__parent:nth-child(6) {
        max-width: 100% !important;
    }
}

/* --------------------------------
    PORTFOLIO LAYOUT EIGHT
----------------------------------- */
.element__ready__portfolio__layout__8 {
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

.element__ready__portfolio__layout__8 .portfolio__thumb {
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    margin-bottom: 0;
}
.element__ready__portfolio__layout__8 .portfolio__thumb img {
    transition: 1.5s;
    width: 100%;
}

.element__ready__portfolio__layout__8:hover .portfolio__thumb img {
    transform: scale(1.2);
}

.element__ready__portfolio__layout__8 .portfolio__btn {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    margin: -20px;
}

.element__ready__portfolio__layout__8 .portfolio__content {
    padding: 20px;
}

.element__ready__portfolio__layout__8 .readmore__btn {
    background: #ffffff;
    padding: 8px 25px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    transform: translateY(50px);
    opacity: 0;
    visibility: hidden;
    transition: 0.6s;
}
.element__ready__portfolio__layout__8:hover .readmore__btn {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.sldier-content-area ul.slick-dots{
    display: flex;
    text-align: justify;
    align-items: center;
    gap: 4px;
}


.sldier-content-area.cfull .portfolio__thumb a {
    width: 100%;
    height: 100%;
}

.sldier-content-area.cfull .portfolio__thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}