.qSkills-content-left-div {
    max-width: 900px;
}

.right-sidebar-div {
    width: 300px;
    height: 100%;
    /* optional, adjust as needed */
}

.qSkills-content {
    padding-bottom: 10px;
    padding-top: 10px;
    width: 900px;
}

.right-sidebar {
    width: 100%;
    max-width: 300px;
}

.subTitle {
    font-size: 20px;
    font-weight: bold;
    color: #000000
}

.title {
    font-size: 30px;
    color: #db0031;
    font-weight: bold;
}

.small-paragraph {
    font-size: 12px;
    font-weight: normal;
}

.link {
    color: #db0031;
}

.header-top-logo {
    position: absolute;
    top: 35px;
    right: 0;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: lightgrey;
    margin-top: 10px;
    margin-bottom: 20px;
}

.training-divider {
    width: 60%;
    height: 1px;
    background-color: lightgrey;
    margin-top: 99px;
    margin-bottom: 20px;
}

.search-results-page {
    width: 1200px;
}

.search-results-div {
    width: 900px;
}

.pagination-list {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-left: 250px;
}

.pagination-link.is-current .pagination-number {
    background-color: #db0031;
}


.pagination-number {
    width: 35px;
    height: 35px;
    background-color: #878787;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1%;
}

.pagination-number-arrows i {
    color: #707070;
    font-weight: bold;
    font-size: 20px;
}

.pagination-number-arrows {
    width: 35px;
    height: 35px;
    background-color: white;
    border: 2px solid #707070;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.training-search-result-div-item,
.latest-news-results-div-item {
    position: relative;
    width: 1200px;
    box-shadow: 0 0 5px rgb(0 0 0 / 30%);
    background-color: white;
    margin-top: 1.25rem;
    padding-bottom: 50px;
}

.result-type {
    position: absolute;
    background-color: #E8E8E8;
}

.result-type p {
    padding: 2px 30px;
    font-size: 1rem;
    text-transform: uppercase;
    height: 30px;
}

.search-results-arrow-right i {
    color: #DB0031;
    font-size: 1.25rem;
}

.search-results-arrow-right {
    left: 1170px;
    position: relative;
    top: 40px;
}

.training-search-result-div-item-title,
.latest-news-results-div-item-title {
    color: #DB0031;
    font-size: 1.25rem;
    font-weight: bold;
}

.description-with-images img {
    margin-top: -50px;
    margin-bottom: 1.25rem;
}

.training-search-results,
.all-latest-news-results {
    margin-bottom: 10px;
}

.search-paragraph {
    font-size: 0.7rem;
    font-weight: normal;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.search-results-paragraph {
    font-size: 1.25rem;
    font-weight: bold;
}

.search-results-length-paragraph {
    font-size: 1.875rem;
    font-weight: bold;
    color: #DB0031;
}

.search-result-div-buttons {
    display: flex;
    gap: 10px;
}

.search-result-button {
    padding: 0 30px;
    background-color: #878787;
}

.search-result-button a {
    color: white;
    font-size: 1.25rem;
    font-weight: normal;
}


/*This css is to know which data we are getting from database and which not*/
.database-query-done {
    border: 2px solid green;
}

.database-query-needed {
    border: 2px solid red;
}


/* This CSS is for the Statamic Static Pages. */
.training-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* This sets the space between the items */
    padding: 20px; /* Padding around the container */
}

.training-option {
    box-sizing: border-box;
    margin-bottom: 20px; /* Spacing below each item */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*text-align: center;*/
}

.training-option img {
    height: auto;
    width: 90px; /* Fixed width for the image */
}

.training-option h1, h2, h3, h4 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
}


/*Training option STatamic*/

.one-row-slider-logos {
    position: relative;
    max-width: 900px;
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: center;
    padding-left: 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.slider-container {
    position: relative;
}

.one-row-slider-logos div {
    display: flex;
    justify-content: center;
}

.one-row-width-slide {
    flex: 0 0 auto; /* Allows the slide to grow or shrink as needed */
    scroll-snap-align: start;
    width: auto; /* Let JavaScript set the width */
    box-sizing: border-box;
}


/*////*/

.content-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.content-body {
    display: flex;
    flex-wrap: wrap; /* This will allow items to wrap onto the next line */
    justify-content: space-between;
    gap: 20px;
}

.workshop-content {
    width: calc(50% - 10px); /* Adjust the width to account for the gap */
    margin-bottom: 20px; /* Add margin to the bottom for wrapped items */
}

.workshop-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.one-row-text-image-slide {
    flex: 0 0 auto; /* Allows the slide to grow or shrink as needed */
    scroll-snap-align: start;
    width: auto; /* Let JavaScript set the width */
    box-sizing: border-box;
}

.aws-btn {
    background-color: #d62300; /* AWS orange-red button color */
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 2px;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}
#oneRowTextImageSliderLogos {
    display: flex;
    overflow-x: auto; /*Allows for horizontal scrolling*/
    scroll-behavior: smooth; /* Ensures smooth scrolling*/
}

.slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px; /* Add padding to prevent content from being behind the arrows */
}

.slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease-out; /* Smooth transition for sliding */
}

.one-row-width-slide {
    flex: 0 0 50%; /* Adjust this if you need different sizing */
    max-width: 50%; /* Adjust this if you need different sizing */
    padding-right: 30px;
    /* Your other styles */
}

/* Position your arrows absolutely within the slider container */
.slider-left-arrow, .slider-right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Ensure they are above the slide content */
}

.slider-left-arrow {
    left: 10px; /* Adjust as needed */
}

.slider-right-arrow {
    right: 10px; /* Adjust as needed */
}

/*/////////*/

@media (max-width: 768px) {
    .training-option {
        flex-basis: 100%; /* Full width on mobile */
        max-width: 100%; /* Full width on mobile */
        box-sizing: border-box;
    }

    .aws-container {
        flex-direction: column;
    }
    .workshop-content {
        width: 100%;
        margin-bottom: 20px; /* Keep the margin for mobile for spacing */
    }

    .content-header,
    .divider {
        margin-bottom: 10px;
    }
}
