section.main-content {
    display: block;
  }

  .gallery_page .page_thumb {
    height: 20rem;
    background: url("../images/gallery-page-thumb.png") no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-position: center center;
  }
  .gallery_page .page_thumb h3 {
    font-weight: 600;
  }
.tabs{
    display: flex;
    border: 0.5px solid #089cb8;
    border-radius: 30px;
    padding: 4px;
    width: 23.3rem;
}
.tab-holder .tab{
    padding: 5px 20px;
    line-height: 18px;
    cursor: pointer;
}
.tab-holder .tab.active{
    border: 0.5px solid #089cb8;
    border-radius: 30px;
    background: #089cb8;
    color: white;
}
.photo-holder .photo{
    border-radius: 5px;
}
.photo-holder .photo .image{
    overflow: hidden;
}
.photo-holder .photo .image img.picture{
    width: 210px;
    overflow: hidden;
    border-radius: 5px;
    height: 130px;
    object-fit: cover;
}
.photo-holder .photo .info{
    display: none;
}

/* gallery & sidebar */
.gallery_page .tab-holder-inner {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.gallery_page .tab-holder-inner button {
    opacity: .7;
    border: 1px solid gray;
    padding: 4px 10px;
    border-radius: 2rem;
    width: 9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tab-holder_wrapper {
    padding: 4rem 0;
}

.gallery_sidebar__inner {
    display: flex;
    gap: 3rem;
}

.gallery_sidebar__inner h4 {
    font-weight: bold;
    margin-bottom: 5px;
}

.gallery_sidebar__inner .sidebar > div {
    margin-top: 2.5rem;
}

.gallery_sidebar button {
    border: 1px solid gray;
    padding: 4px 6px;
    border-radius: 4px;
}

.gallery_sidebar .months {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gallery_sidebar .months button {
    width: 4rem;
}

.gallery_sidebar .sidebar {
    min-width: 21rem;
    max-width: 21rem;
}

.gallery_sidebar .albums {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.gallery_sidebar .albums .album {
    width: 9.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 2px solid #b6b2b2;
    border-radius: 4px;
    justify-content: center;
}

.gallery_sidebar .albums .album img.camera {
    max-width: 1.5rem;
}

.gallery_sidebar .albums .album p {
    font-size: 11px;
    line-height: 6px;
}

.gallery_sidebar .albums .album span {
    font-weight: 700;
    font-size: 13px;
    color: #000;
}

.gallery_sidebar .albums .album .picnic {
    height: 3.8rem;
    display: block;
}

.gallery_sidebar {
    padding-bottom: 10rem;
}

.gallery_sidebar .sidebar .tags a {
    display: block;
}
.photos_wrapper .photos {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5rem;
}

.photo-holder h3 {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 1rem;
}

.videos_wrapper .videos .image {
    position: relative;
}

.videos_wrapper .videos .image img.video-play-btn {
    position: absolute;
    left: 50%;
    max-width: 6rem;
    top: 50%;
    transform: translate(-50%, -50%);
}

.photos_wrapper{
    display: none;
}
.photos_wrapper.active{
    display: block;
}

.arabic__lang .tab-holder-inner {
    flex-direction: row-reverse;
}

.arabic__lang .gallery_sidebar__inner {
    flex-direction: row-reverse;
}

.arabic__lang .photo-holder h3 {
    text-align: right;
}

.arabic__lang .sidebar {
    text-align: right;
}

.arabic__lang .albums, .arabic__lang .months {
    flex-direction: row-reverse;
}
.dark-mode .photo-holder h3 {
    color: white;
}

.dark-mode .gallery_sidebar .albums .album span {
    color: white;
}

@media only screen and (max-width: 1199px) {
    .gallery_page .page_thumb {
        height: 25rem;
    }
}


@media only screen and (max-width: 768px) {
    .gallery_page .tab-holder-inner {
        flex-wrap: wrap;
    }    
    .gallery_page .tab-holder-inner .tab-holder {
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .gallery_page .tab-holder-inner {
        justify-content: center;
    }
    .gallery_sidebar__inner {
        flex-wrap: wrap;
    }
    
    .gallery_sidebar .sidebar {
        text-align: center;
    }
    
    .gallery_sidebar .months {
        justify-content: center;
    }
    
    .gallery_sidebar .albums {
        justify-content: center;
    }
    
    .photos_wrapper .photos {
        justify-content: center;
    }
    
    .photo-holder h3 {
        text-align: center;
    }
    
    .photo-holder .photo .image img.picture {
        width: 200px;
    }
    .gallery_sidebar__inner {
        justify-content: center;
    }
}

@media only screen and (max-width: 458px) {
.gallery_page .tab-holder-inner > span {
    width: 100%;
    text-align: center;
}
.photos .media_item {
    width: 90%;
}
.photo-holder .photo .image img.picture {
    width: 100%;
    height: auto;
}
}