.fertility-listing{
    margin-bottom: 55px;
    & #pills-tabContent{
        margin-bottom: 25px;
    }
    &--content{
        display: grid;
        grid-gap: 20px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        @include media-breakpoint-down(md) { 
            display: block;
        }
        &-item{
            background: $white;
            cursor: pointer;
            position: relative;
            @include media-breakpoint-down(md) { 
                margin-bottom: 20px;
            }
            &:hover{
                transform: translateY(-3px);
                transition: all ease-in-out 0.3s;
                box-shadow: 0px 0px 6px #00000029;
            }
            &-text{
                padding: 30px 25px;
                font-size: 16px;
                line-height: 24px;
                position: relative;
                height: 50%; 
                @include media-breakpoint-down(md) { 
                    width: 100%;
                    height: 100%;
                    float: none;
                }
                h4{
                    font-size: 20px;
                    line-height: 24px;
                    color: $title-dark;
                    margin-bottom: 16px;
                }
                a.text-button{
                    position: absolute;
                    bottom: 25px;
                    font-size: 12px;
                    letter-spacing: 0.6px;
                    text-transform: uppercase;
                    width: 100%;
                    left: 25px;
                    color: $title-dark;
                    font-family: $font-title;
                    @include media-breakpoint-down(md) { 
                        position: relative;
                        bottom: 0px;
                        left: 0px;
                    } 
                    i{
                        margin-left: 2px;
                        transition: all ease-in-out .3s;
                    }
                    &:hover{
                        text-decoration: none;
                        i{
                            margin-left: 8px;
                            transition: all ease-in-out .3s;
                        }
                    }
                }
            }
            &-img {
                min-height: 260px;
                background-size: cover;
                background-repeat: no-repeat;
                background-position: top center;
                display: block!important;
                @include media-breakpoint-down(md) { 
                    width: 100%;
                    height: 100%;
                    float: none;
                } 
                img{
                    width: 100%;
                    height: 50%;
                }
            }
            .post-link{
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 3;
                text-indent: -200%;
                overflow: hidden;
            }
        }
    }
    .nav-pills{
        li .nav-link{
            width: 40px;
            height: 40px;
            text-align: center;
            border-radius: 0px;
            margin-right: 16px;
            background: $white;
            box-shadow: 0px 0px 6px #00000029;
        }
        .nav-link.active, .nav-pills .show > .nav-link{
            color: $white;
            background-color: #007bff;
            
        }
    }
} 

.fertility-listing--content-horizontal-item {
    .fertility-listing--content-item-img{
        float: left;
        width: 49%;
        min-height: 260px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
        display: block; 
        @include media-breakpoint-down(md) { 
            width: 100%;
            height: 100%;
            float: none;
        } 
    }
    .fertility-listing--content-item-text {
        width: 50%;
        float: left;
        height: 100%;
        @include media-breakpoint-down(md) { 
            width: 100%;
            height: 100%;
            float: none;
        } 
    }
}


.fertility-listing-content .product-accordion .accordion-title .btn-link{
    color: $primary-color;
    font-size: 18px;
}


/*First List*/
.fertility-listing--content-item{
    &:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    }
    &:nth-child(2) {
    grid-column: 3;
    grid-row: 1 / 3;
    }
    &:nth-child(3) {
    grid-column: 1;
    grid-row: 2 / 4;
    }
    &:nth-child(4) {
    grid-column: 2;
    grid-row: 2 / 4;
    }
    &:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 4;
    }
    &:nth-child(6) {
    grid-column: 3 / 3;
    grid-row: 3 / 5;
    }
}


/*Second List*/
.fertility-second-listing--content {
    .fertility-listing--content-item{
        &:nth-child(1) {
        grid-column: 1;
        grid-row: 1 / 3;
        }
        &:nth-child(2) {
        grid-column: 2 / 4;
        grid-row: 1;
        }
        &:nth-child(3) {
        grid-column: 1;
        grid-row: 3 / 5;
        }
        &:nth-child(4) {
        grid-column: 2;
        grid-row: 2 / 4;
        }
        &:nth-child(5) {
        grid-column: 3;
        grid-row: 2 / 4;
        }
        &:nth-child(6) {
        grid-column: 2 / 4;
        grid-row: 4 / 5;
        }
    }
}

.product-faq{
    font-size: 16px;
    &--intro{
        margin-bottom: 20px;
        font-size: 16px;
        .title-forth{
            color: $title-dark;
            margin-bottom: 20px;
        }
    }
    &--questions{
        margin-bottom: 50px;
        .big-text{
            font-family: $font-title;
        }
    }
    .card{
        margin-bottom: 10px;
        box-shadow: 0px 0px 6px #00000029;
        .card-header{
            padding: 0px 10px;
        }
    }
    .product-accordion{
        margin-top: 20px;
    }
}

.awks-section{
	position: relative;
	margin-bottom: 120px;
    @include media-breakpoint-down(md) { 
        .col-md-10{
            flex: 100%;
            max-width: 100%;
            width: 100%;
        }
    }
    &--info{
        background: #E696C7;
        color: #FFFFFF;
        position: relative;
        &-inner{
            padding: 30px 0px 35px 30px;
            width: 60%;
            @include media-breakpoint-down(md) { 
                width: 100%;
                padding: 25px;
            }
            a{
                font-size: 16px;
                color: $white;
                text-transform: capitalize;
                letter-spacing: 0.8px;
                font-family: $font-title;
                padding-top: 20px;
                display: block;
                i {
                    margin-left: 3px;
                    transition: all ease-in-out .3s;
                }
                &:hover{
                    text-decoration: none;
                    i {
                        margin-left: 8px;
                        transition: all ease-in-out .3s;
                    }
                }
            }
        }
        &-shape{
            position: absolute;
            top: 0;
            right: 0;
        }
    }
    &--feature-img {
        position: absolute;
        right: 15px;
        bottom: -80px;
        @include media-breakpoint-down(md) {
            position: relative;
            bottom: 0;
            left: 15px;
            width: 100%;
            img{
                width: 95%;
            }
        }
    }
}
