/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.olists-container {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.olist-list-item {
    display: grid;
    grid-template-columns: 25% 43% 15% 17%;
    height: 130px;
    margin-bottom: 15px;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .1);
    border-radius: 3px;
}

.olist-list-item:hover {
    transform: scale(1.01);
}

.olist-ratings, .olists-cta, .olist-img {
    justify-self: center;
    align-self: center;
}

.olist-bonus-texts {
    justify-self: left;
    align-self: center;
}

.olist-img {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #cccfea;
}

.o-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.o-img-wrap img {
    max-width: 170px;
    height: 80px;
    object-fit: contain;
}

.o-img-wrap a, .o-cta-wrap a {
    text-decoration: none!important;
}

.o-bonus-wrap {
    padding: 0 20px;
}

.o-first-line {
    font-size: 22px;
    font-weight: bold;
}

.o-second-line {
    font-size: 14px;
    color: #7b8c98;
}

.o-third-line {
    font-size: 9px;
    color: #0580ff;
}

.o-rating-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: #70ca1b;
    font-weight: bold;
    font-size: 20px;
}

.o-rating {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.o-rating-txt {
    font-size: 12px;
}

.o-rating-first {
    font-size: 22px;
}

.o-rating-wrap .fas {
    margin-right: 5px;
}

.o-cta-wrap {
    display: flex;
    align-items: center;
    background-color: #44be4c;
    padding: 10px 15px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

.o-cta-wrap:hover {
    background-color: #fff;
    border: 2px solid #44be4c;
}

.o-cta-wrap:hover a, .o-cta-wrap:hover .fas {
    color: #44be4c!important;
}

.o-cta-wrap a {
    color: #fff!important;
}

.o-cta-wrap .fas {
    color: #fff;
    font-size: 14px;
    margin-left: 5px;
}

.list-items .list-updated {
    text-align: center;
    padding:10px 0;
}

.list-items .list-updated span {
    text-transform: capitalize;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .olist-list-item {
        grid-template-columns: auto;
        height: auto;
        padding-bottom: 10px;
    }
    .olist-img {
        width: auto;
        height: auto;
        background-color: #fff;
    }

    .o-img-wrap {
        padding: 10px 0;
    }

    .o-first-line, .o-second-line, .o-third-line {
        text-align: center;
    }

    .olist-bonus-texts {
        justify-self: center;
    }

    .o-bonus-wrap {
        padding-top: 10px;
    }
    .o-rating-wrap {
        padding-bottom: 10px;
        flex-wrap: wrap;
        width: 150px;
    }
    .o-cta-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 250px;
    }
}

@media screen and (max-width: 330px) {
    .o-cta-wrap {
        width: 170px;
    }
    .o-bonus-wrap {
        padding: 15px!important;
    }
}

