#all-videos-container,
#all-videos-container * {
    box-sizing: border-box;
}

#all-videos-container {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    width: 100%;
    gap: 10px;
    justify-content: center;
    align-items: start;
    height: 100%;
    min-height: inherit;
}

#all-videos-container .left {
    display: flex;
    flex-direction: column;
    width: 70%;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0px;
    height: 100%;
    min-height: inherit;
}

#all-videos-container .right {
    display: flex;
    flex-direction: column;
    width: 30%;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0px;
    height: 100%;
    min-height: inherit;
}

#all-videos-container .right .inner {
    background: #F4F8FB;
    padding: 5px 45px;
    max-width: 600px;
    margin-left: auto;
}

#all-videos-container .inner {
    width: 100%;
    min-height: inherit;
}

#all-videos-container .search {
    position: relative;
    display: block;
    width: 100%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

#all-videos-container .search input {
    width: 100%;
    height: 44px;
    max-height: 44px;
    border-radius: 30px;
    border: none;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

#all-videos-container .search-button {
    background: #15A393;
    border-radius: 30px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#all-videos-container .right h3 {
    font-size: 15px;
    font-weight: 800;
    color: white;
    background: #031036;
    width: 100%;
    padding: 15px 40px;
    position: relative;
}

#all-videos-container .right h3:before {
    content: "";
    width: 5px;
    height: 22px;
    background: #15A393;
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#all-videos-container .right .latest-videos {
    list-style: none;
    padding: 0;
    margin: 0;
}

#all-videos-container .right .latest-video {
    width: 100%;
    height: 175px;
    margin-bottom: 20px;
}

#all-videos-container #all-videos-list {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: start;
    align-items: start;
}

#all-videos-container #all-videos-list .all-video {
    width: calc(33% - 20px);
    height: 375px;
    position: relative;
}

#all-videos-container #all-videos-list .all-video iframe {
    width: 100%;
    height: 255px;
    margin-bottom: -9px;
}

#all-videos-container .error,
#all-videos-container .success {
    width: 100%;
}


#all-videos-container .all-video {
    position: relative;
}

#all-videos-container .all-video .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    background: #F2F2F2;
    padding: 10px;
    height: 120px;
}

#all-videos-container .all-video .info .date {
    font-size: 12px;
    color: #686868;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

#all-videos-container .all-video .info .title {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    margin: 0;
    padding: 0;
}

#all-videos-container .all-video .info .author,
#all-videos-container .all-video .info .author a {
    font-size: 12px;
    color: #15A393;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
    padding: 0;
}


#all-videos-container .pagination {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 50px;
    max-height: 50px;
}

#all-videos-container .pagination span {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    background-color: #15A393;
    border: 1px solid #15A393;
    margin: 4px;
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

#all-videos-container .pagination a {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    border: 1px solid #c7c7c7;
    margin: 4px;
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

#all-videos-container .pagination .arrow-right {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    border: 1px solid #c7c7c7;
    margin: 4px;
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}


@media (max-width: 1200px) and (min-width: 768px) {
    #all-videos-container #all-videos-list .all-video {
        width: calc(50% - 20px);
        height: 375px;
        position: relative;
    }
}




@media (max-width: 1200px) {
    #all-videos-container {
        display: flex;
        flex-direction: column-reverse;
        max-width: 100%;
        width: 100%;
        gap: 10px;
        justify-content: center;
        align-items: start;
        height: 100%;
        min-height: inherit;
        padding: 0 30px;
    }

    #all-videos-container .left {
        width: 100%;
    }

    #all-videos-container .right {
        width: 100%;
        height: fit-content;
        min-height: fit-content;
    }

    #all-videos-container .right .inner {
        background: #ffffff00;
    }

    #all-videos-container .search input {
        border: 1px solid #dfdfdf;
    }

    #all-videos-container .latest-videos-section {
        display: none;
    }
}



@media (max-width: 768px) {


    #all-videos-container #all-videos-list .all-video {
        width: 100%;
    }


    #all-videos-container #all-videos-list {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: start;
        align-items: start;
    }
}