.productmainpage {
    max-width: 100%;
    margin: 0px auto;
}

.productmainpage .row {
    justify-content: center;
}

.productmainpage .pageheading {
    color: #97144d;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.productmainpage .suggestnewusecasebutton {
    height: 40px;
    align-items: center;
    margin: 0;
    padding: 10px 25px;
}

.productmainpage .pageheading+p {
    margin: 20px 0;
}

.productmainpage .feature {
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #97144d;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 30px;
    position: relative;
}

.productmainpage .feature .productname_icon_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.productmainpage .feature .productname_icon_wrapper img {
    width: 40px;
}

.productmainpage .feature .select-wrapper select.form-control {
    color: initial;
    background: initial;
}

.productmainpage .feature .fivestar-basic div.fivestar-widget {
    justify-content: center;
    display: flex;
}

.productmainpage .feature .fivestar-widget .star+.star {
    margin-left: 2px;
}

.productmainpage .feature .fivestar-basic div.fivestar-widget .star a {
    background-image: url(../images/STars_02.png) !important;
}

.productmainpage .feature .select-selected {
    display: none;
}

.productmainpage .feature .fivestar-average-text .select-wrapper {
    border: none;
    padding: 0;
}

.productmainpage .feature .views-field-field-short-description .field-content {
    min-height: 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.productmainpage .feature .view-more {
    padding: 8px 0;
    display: block;
    border-radius: 5px;
    text-align: center;
    background-color: #97144d;
    color: #FFFFFF;
    width: 100%;
    border: none;
    text-decoration: none;
}


/* Customer Top Picks */
.feature .tooltip1 {
    position: absolute;
    top: 5px;
    left: 22px;
    opacity: 1;
    display: none;
}

.feature .tooltip__text {
    font-size: 12px;
    display: none;
    position: absolute;
    top: 0;
    left: 55px;
    width: -moz-max-content;
    width: max-content;
    background-color: #97144D;
    padding: 10px;
    border-radius: 5px;
    color: #FFFFFF;
    margin: 0;
}

.feature .tooltip1:hover .tooltip__text {
    display: block;
}

.user-logged-in .feature .tooltip1 {
    display: block;
}

#leaderboardModal p.count {
    display: none;
}

/* SUBMIT BUTTON SUGGEST USECASE MODAL */
.webform-submission-suggest-use-case-form .form-submit {
    margin: 20px 0;
    padding: 10px 45px !important;
    height: 48px !important;
}

/* SUBMIT BUTTON SUGGEST USECASE MODAL */

@media(max-width:1400px) {
    .feature .tooltip1 img {
        width: 40px;
    }

    .feature .tooltip__text {
        left: 45px;
    }
}

@media(max-width:767px) {
    .feature .tooltip1 img {
        width: 55px;
    }

    .feature .tooltip__text {
        left: 60px;
    }
}

/* Customer Top Picks */

@media (min-width: 768px) and (max-width: 991px) {
    .col {
        flex: 0 0 50% !important;
    }

    .productname_icon_wrapper {
        flex-direction: column;
    }

    .productname_icon_wrapper p {
        margin-bottom: 15px;
    }
}

@media(max-width: 767px) {

    .col,
    .col-sm-2,
    .col-sm-10 {
        flex: 0 0 100%;
    }

    .context--product .apicMainContent>.row,
    .page-node-type-product .apicMainContent>.row {
        margin: 0;
    }

    .node--type-api {
        padding: 15px !important;
    }

    .apiconnect-explorer .Resizer.vertical {
        display: none;
    }
}

@media(max-width: 576px) {
    .productmainpage .pageheading {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .productmainpage .suggestnewusecasebutton {
        padding: 15px 25px;
        height: auto;
        width: 100%;
        text-align: center;
    }
}
