.companies-container {
    display: flex;
    flex-flow: row wrap;
    width: 92%;
    margin: 2em 4%;
}

.companies-container h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 1em;
}

.companies-list .companies,
.top-research .top-companies {
    display: flex;
    flex-direction: column;
}

.companies-list {
    width: 64%;
    margin-right: 4%;
}

.top-research,
.contact-form {
    width: 32%;
}

.company-info .premium span {
    padding: .25em .75em;
    border: 2px solid #207200;
    border-radius: 1em;
    color: #207200;
    background: none;
    font-size: 14px;
    margin-left: 1em;
    margin-top: 1em !important;
}

.company-info .premium .closed {
    background-color: #fff2f2;
    border: 2px solid #ef8b8b;
    color: #A03535;
}

.company-info .premium .closed,
.company-info .premium .opened {
    display: none;
}

.company-status span {
    margin-left: 1em;
}

.company-info .premium .opened {
    background-color: #f2ffed;
    border: 2px solid #a5e58b;
}

.company-info .premium .show {
    display: inline;
}

.company-info .company-map {
    border: 5px solid #fff;
    width: 100%;
    border-radius: .5em;
    box-shadow: 2px 4px 8px rgb(0 0 0 / 10%);
}

.company-info .company-map iframe {
    width: 100%;
    border-radius: .5em;
}

.company-info .company-presentation {
    margin-bottom: 1.5em;
}

.company-info .company-presentation .presentation-section {
    margin-top: 1.5em;
}

.presentation-section p {
    text-align: justify;
    font-size: 15px;
}

.presentation-section img {
    width: 100%;
    margin: 1.25em 0;
    border-radius: .5em;
}

.company-info .horaires .font-bold {
    font-weight: bold;
    color: var(--color-primary);
    background-color: rgba(212, 33, 122, 0.1);
}

.company-info .contacts ul li {
    list-style-type: none;
    padding: 2px 0;
    font-size: 14px;
}

.company-info .contacts ul li i {
    font-size: 1.5em;
    color: var(--color-primary);
    margin-right: .5em;
}

.contacts .website-link {
    text-decoration: none;
    color: var(--text-color);
}

.contacts .website-link:hover {
    font-weight: bold;
}

.top-research .top-companies {
    margin-top: 12em;
    padding: .5em;
}

.top-research .top-company-info {
    background: #fff;
    padding: 1em 1.5em;
    margin-bottom: 1em;
    border-radius: .5em;
    box-shadow: 0 5px 10px rgb(100 100 100 / 12%);
}

.top-research .top-company-info:hover {
    border: 1px solid var(--color-primary);
}

.top-research .top-company-info h4 {
    margin-bottom: 5px;
}

.top-research .top-company-info h4 a {
    text-decoration: none;
    color: var(--color-primary);
    text-transform: uppercase;
}

.top-research .top-company-info h4 a:hover {
    color: var(--color-primary);
    margin-left: .5em;
    transition: all 300ms ease-out;
}

.top-research .top-company-info ul li {
    font-size: 14px;
    list-style-type: none;
    padding: 2px 0;
}

.top-research .top-company-info ul li i {
    color: var(--color-primary);
    margin-right: 4px;
}

.companies .review {
    width: 100%;
    max-height: 40em;
}

.contact-form {
    top: 6em;
    position: sticky;
    padding: 2em;
    border-radius: 1em;
    height: fit-content;
    background-color: #fff;
    border-bottom: 5px solid var(--color-secondary);
    box-shadow: 0 5px 10px rgb(100 100 100 / 12%);
}

.contact-form:hover {
    border: 1px solid var(--color-primary);
    border-bottom: 5px solid var(--color-primary);
}

.contact-form .input-box {
    height: 2.5em;
    width: 100%;
    margin: 12px 0;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    background: #F0F1F8;
    border-radius: .5em;
    padding: 0 1em;
    resize: none;
    font-family: Poppins;
}

.contact-form .message-box {
    min-height: 6em;
}

.contact-form .input-box textarea {
    padding-top: 4px;
}

.contact-form .button {
    display: inline-block;
    margin-top: 12px;
}

.contact-form .button input {
    color: #fff;
    font-size: 1em;
    outline: none;
    border: none;
    padding: .5em 1em;
    border-radius: .5em;
    background: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .button input:hover {
    background: var(--color-secondary);
}

.company-banner {
    border: 2px solid var(--color-primary);
    border-bottom: 5px solid var(--color-primary);
    width: 100%;
    padding: 1.5em 2.5em;
}

.company-banner h1 {
    color: var(--color-primary);
    margin-bottom: .5em;
}

.page-views {
    margin: 1em 0 0 .5em;
    font-size: 1.25em;
    color: var(--text-color);
}

.page-views .product-rating {
    font-size: 12px;
}

.page-views .product-rating i {
    color: #ccc;
}

.page-views .product-rating .count-review {
    text-decoration: none;
    color: var(--text-color);
}

.company-slider {
    margin-left: 0;
    margin-right: 0;
}

.companies-container .img-slider {
    border-radius: 0;
}

.flex-boxes {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 100%;
}

@media (max-width: 900px) {
    .contact-form {
        top: 2.5em;
    }
}

@media (max-width: 800px) {
    .companies-list {
        width: 100%;
        margin-right: 0;
    }

    .top-research .top-companies {
        margin-bottom: 8em;
    }

    .top-research,
    .contact-form {
        width: 100%;
        margin-top: 1.5em;
    }

}

@media (max-width: 640px) {
    .company-banner .left {
        width: 100%;
    }

    .company-banner .right {
        width: 100%;
    }
}