/*
Theme Name: KTC Safety
Author: Norbert Narbut
Version: 1.0.5
Text Domain: KTC Safety
*/

.service-hook {
    position: relative;
    height: 100px;
    width: 100%;
}

.service-courses--wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    max-width: 1490px;
    padding: 15px 15px;
    justify-content: flex-start;
    width: 100vw !important;
}

.service-courses--wrapper strong {
    white-space: nowrap;
}

.course-entry--container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.course-entry--container.active::before,
.course-entry--container.active::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.course-entry--container.active::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.course-entry--container.active::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.service-courses {
    display: flex;
}

.autoscroll-inner,
.autoscroll-track {
    display: flex;
    gap: 24px;
}

.course-entry {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.course-entry--location {
    font-size: 14px;
    white-space: nowrap;
}

.course-entry--date {
    font-size: 14px;
    white-space: nowrap;
}

.course-entry--name {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.course-entry a {
    background-color: #ec008c;
    border-color: #ec008c;
    padding: 2px 16px;
    border-radius: 15px;
    color: white;
    font-size: 15px;
    text-align: center;
    align-items: center;
    align-self: center;
    display: flex;
    white-space: nowrap;
}
