#categories > ul > li {
    font-size: 17px;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    color: #23201d;
    margin-bottom: 5px;
    background-color: #ffd445;
}

#categories > ul > li:hover {
    font-size: 17px;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
}

#categories > ul > li > a {
    padding: 8px 30px 8px 10px !important;
    text-transform: none;
    font-size: 14px;
    word-break: break-word;
    display: block;
}

#categories > ul {
    background-color: #ffffff;
    padding-top: 10px;
    padding-bottom: 10px;
}

.active {
    background-color: #23201d !important;
    color: white !important;
}

.active > a {
    color: white !important;
}

.card-border {
    border: solid 4px #fff;
    padding: 10px;
    margin: 5px;
}

.flag {
    width: 10%;
    position: absolute;
}

.company-images {
    width: 100%;
    object-fit: contain;
    height: 140px;
}

.content-company {
    overflow: hidden;
    line-height: 27px;
    display: -webkit-box;
    width: 100%;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 57px;
}

.left-content {
    float: left;
    margin-left: 4px;
}

.button-detail{
    float: right;
    margin-top: 40px;
}

@media only screen and (max-width: 425px) {
    .left-content {
        float: left;
        margin-left: 0px;
        padding-bottom: 10px;
    }
    .category-toggle button span {
        transform: rotate(-90deg);
        position: fixed;
        top: 213px;
        left: -49px;
        background: #1a1a1a;
        padding: 8px;
        display: block;
        font-family: arial;
        font-size: 15px;
    }
.card-border{
    padding-left: 5px;
    padding-right: 8px;
}
    .button-detail{
        float: right;
        margin-top: 5px;
    }
}

@media (min-width: 425px) and (max-width: 768px) {
    .category-toggle button span {
        transform: rotate(-90deg);
        position: fixed;
        top: 213px;
        left: -49px;
        background: #1a1a1a;
        padding: 8px;
        display: block;
        font-family: arial;
        font-size: 16px;
    }

    .button-detail {
        float: right;
        margin-top: 15px;
    }

}
.companies-stars{
    right: 0px;
    top: 0px;
    background: #ffffff;
    padding: 2px 5px;
    width: auto;
    float: right;
    z-index: 1;
    position: absolute;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .companies-stars{
        right: 0px;
        top: 0px;
        background: #ffffff;
        padding: 2px 5px;
        width: auto;
        float: right;
        z-index: 1;
        position: absolute;
    }
}
@media (min-width: 425px) and (max-width: 768px) {
    .companies-stars{
        right: 0px;
        top: 0px;
        background: #000000c7;
        padding: 2px 5px;
        width: auto;
        float: right;
        z-index: 1;
        position: absolute;
    }
}
