.izzit_btn_refresh {
    color: #ffffff;
    background-color: #5e9ee0;
    font-size: 16px;
    padding: 12px 15px;
    text-align: center;
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857143;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border-bottom: 1px solid #ffffff;
    border-top: none;
    border-left: none;
    border-right: none;
    webkit-border-radius: 7px;
    border-radius: 7px;
    transition-delay: 0.3s;
    transition: fade;
    text-decoration: none;
}

.izzit_btn_refresh:hover {
    color: #ffffff;
    background-color: #1e5ea0;
    border-bottom: 1px solid #ffffff;
    text-decoration: none;
}

.container-45ml {
    display: flow-root;
    flex-direction: row;
    width: 98%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #202938;
    border-radius: 15px;
    margin: 20px 10px 20px 10px;
}

.video-container {
    /*flex: 3;*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.buttons-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.buttons-container button {
    width: 95%;
    padding: 10px;
    margin: 10px 10px 10px 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.buttons-container button:hover {
    background-color: #45a049;
}

.lesson-title {
    color: #ffffff;
    font-size: 1.5em;
}

@media (max-width: 1080px) {

    .button-container .button-1,
    .button-container .button-2 {
        flex: 1;
        /* Makes both buttons the same size */
        padding: 10px 15px;
        /* Adjust padding as needed */
        font-size: 16px;
        /* Adjust font size as needed */
    }
}

@media (max-width: 921px) {
    *.container-45ml {
        flex-direction: column;
        align-items: center;
    }

    .video-container {
        width: 100%;
        /* Adjust this value to control the width */
        padding-bottom: 53.125%;
        /* Adjusted aspect ratio */
        max-width: 100%;
        min-width: 100%;
        margin-bottom: 20px;
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .buttons-container {
        width: 100%;
        margin-top: 10px;

    }
}

/*-------------------------------------------INFO SECTION-----------------------------*/

.ml-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    width: 95%;
    box-sizing: border-box;
    padding: 25px 30px 20px 20px;
    background-color: #f0f0f0;
    /* Light grey background */
    border-radius: 15px;
    /* Rounded corners */
    /*margin-left: 20px;*/
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.column {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.column-text {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.button-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    /* Space between buttons */
}

.button-container button {
    color: #ffffff;
    background-color: #5e9ee0;
    font-size: 16px;
    padding: 12px 15px;
    text-align: center;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857143;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border-bottom: 1px solid #ffffff;
    border-top: none;
    border-left: none;
    border-right: none;
    webkit-border-radius: 7px;
    border-radius: 7px;
    transition-delay: 0.3s;
    transition: fade;
    text-decoration: none;
}

.button-container button:hover {
    color: #ffffff;
    background-color: #1e5ea0;
    border-bottom: 1px solid #ffffff;
    text-decoration: none;
}

.button-container .button-1 {
    flex: 1.67;
    /* Makes button-1 2/3 larger than button-2 */
}

.button-container .button-2 {
    flex: 1;
    /* Default size for button-2 */
}

/* Responsive adjustments */
@media (max-width: 921px) {
    .ml-info {
        grid-template-columns: 1fr;
        /* Stack columns vertically */
    }

    .column {
        margin-bottom: 20px;
        /* Add space between stacked columns */
    }
}

.question-section {
    width: 95%;
    margin-left: 25px;
    margin-right: 50px;
    padding-top: 10px;
    padding-left: 30px;
    padding-right: 20px;
}

.question {
    font-size: 1.5em;
    font-weight: bold;
    padding-top: 15px;
}

.statement {
    font-size: 1.2em;
    padding-top: 15px;
}

.lesson_heading {
    font-size: 1.5em;
    font-weight: bold;
    padding-top: 35px;
    padding-left: 55px;
}

.lesson_text {
    font-size: 1.2em;
    padding-top: 15px;
    padding-left: 55px;
}

.lesson_border {
    border-bottom: 2px solid #1e5ea0;
    padding-top: 15px;
    padding-bottom: 15px;
}

.related_videos_border {
    border-bottom: 2px solid #1e5ea0;
}

.lesson_icon {
    max-width: 50px;
}

.lesson_link {
    padding-top: 15px;
    padding-left: 55px;
}

a:hover {
    text-decoration: none;
}

.izzit_btn_disabled {
    cursor: default;
    background-color: #696c6e;
}

.izzit_btn_disabled:hover {
    cursor: default;
    background-color: #696c6e;
}

.izzit_link_disabled {
    cursor: default;
    color: #006699;
}

.izzit_link_disabled:hover {
    cursor: default;
    color: #006699 !important;
}

#feedbackForm select {
    font-size: 18px;
    width: 70%;
}

#feedbackForm h2 {
    color: #00bbff;
}

.required-field {
    display: none;
    color: red;
}

.feedback-question {
    text-align: left;
    font-size: 20px;
}

.feedback-select {
    width: 100%;
    font-size: 20px;
}

.related-video-section-title{
    font-weight: 700;
    font-size: 18px;
    text-align: left;
}

.related-video-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 30px;
    padding-top: 10px;
    row-gap: 40px;
    flex-basis: 19%;
    padding-left: 15px;
    padding-right: 15px;
}

.video-poster-container {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(25% - 30px);
    /* 4 columns per row with spacing */
    box-sizing: border-box;
    /* Include padding in width calculations */
    text-decoration: none;
    max-width: calc(25% - 15px);
}

/* For screens smaller than 998px, 3 columns per row */
@media screen and (max-width: 1100px) {
    .video-poster-container {
        flex: 1 1 calc(33.333% - 30px);
        max-width: calc(33.333% - 30px);
    }
}

/* For screens smaller than 792px, 2 columns per row */
@media screen and (max-width: 850px) {
    .video-poster-container {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

/* For screens smaller than 587px, 1 column per row */
@media screen and (max-width: 587px) {
    .video-poster-container {
        flex: 1 1 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
    #filter-container-bar{
        flex-direction: column;
        row-gap: 5px;
    }
    .filter-item{
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        flex: 1 1 calc(100% - 10px);
    }
    .filter-item select {
        width: 70%;
    }
}



.video-poster-container .video-poster {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.video-poster p{
    padding-top: 15px;
    padding-left: 10px
}

.video-poster-container .video-poster img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s, box-shadow 0.5s;
    border-radius: 15px;
}

.highlighted img,
.video-poster img:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    outline: 4px solid #ffcc00;
}

.related-video-section-title{
    padding-left: 15px;
}

.related-video-section{
    padding-top: 20px;
}