body {
    font-family: Arial, Helvetica, sans-serif;
}
/* This changes all the animations globally */
:root {
    --animate-delay: 0s;
    --bs-primary-rgb: var(--themecolor-rgb);
    --bs-primary: var(--themecolor);
    --text-light-blue: #33599f;
    --text-dark-blue: #0b2350;

    --hover-light-blue: #e6eeff;
    --bg-dull-white: #f6f7fc;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--themecolor);
    --bs-btn-border-color: var(--themecolor);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--themecolor-hover);
    --bs-btn-hover-border-color: var(--themecolor-hover);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--themecolor-hover);
    --bs-btn-active-border-color: var(--themecolor-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(var(--themecolor-rgb), 0.65);
    --bs-btn-disabled-border-color: rgba(var(--themecolor-rgb), 0.65);
}

.border-bottom-side {
    border-bottom: 2px solid rgba(0, 0, 0, 0.025);
}

.color-primary-2 {
    color: var(--themecolor2) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
}
.gallery-item {
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.asset-type-info {
    background: rgba(223, 230, 243, 0.5);
    color: var(--themecolor2) !important;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.asset-type-info-float {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(238, 242, 249, 0.9);
    color: var(--themecolor2) !important;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
}

#galleryTitle,
#galleryTitle h2 {
    font-family: "Lato", sans-serif !important;
    font-weight: 700 !important;
    color: rgba(55, 55, 55, 1) !important;
}

.w-45 {
    width: 45% !important;
}

.w-10 {
    width: 10% !important;
}

#wrapper {
    background-color: #f6f7fc;
    /* background-color: rgba(249, 250, 251, 1); */
}

.section {
    background-color: transparent;
    margin-bottom: 0 !important;
}

.section:last-child {
    margin-bottom: 0 !important;
}

.table {
    border-radius: 0.75rem;
    overflow: hidden;
}

.table thead tr {
    border-top-right-radius: 0.75rem;
    border-top-left-radius: 0.75rem;
    background-color: var(--themecolor);
    overflow: hidden;
}

.table thead th {
    background-color: var(--themecolor);
    color: white;
    position: relative;
    background-color: var(--themecolor);
}

.tiny-text {
    font-size: 12px;
}

.sub-menu-container .menu-item.active a div {
    color: var(--themecolor) !important;
    font-weight: 700;
}

/* .table thead th::before  {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -13px;
    width: 50px;
    height: 100%;
    background-color: var(--themecolor);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    z-index: 0;
} */
/* .table thead th:last-child::before  {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: unset !important;
    right: -13px;
    width: 50px;
    height: 100%;
    background-color: var(--themecolor);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    z-index: 0;
} */
.table thead th div {
    position: relative;
    z-index: 1;
}

.search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f6f7fc;
    border-radius: 8px;
    /* border: 1px solid rgba(0, 0, 0, 0.125); */
    padding: 0.5rem;
}

.search-bar-container input {
    border: none !important;
    outline: none !important;
    background-color: transparent !important;
    width: 100% !important;
    padding-left: 1rem;
}

.table tbody td .number {
    /* background-color: black; */
    /* color: white; */
    display: block;
    width: fit-content;
    padding: 2px 4px;
    text-align: center;
    width: 100%;
}

.table tbody tr td:first-child {
    text-align: center;
}

.table tbody td {
    position: relative;
}

/* .table tbody tr:nth-child(odd) td:not(:first-child)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -25px;
    width: 125px;
    height: 100%;
    background: linear-gradient(to right, rgba(47, 47, 47, 0.5), rgba(19, 11, 111, 0));
    clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0 100%, 12% 0);
    z-index: 0;
    opacity: .5;
} */

.text-justify {
    text-align: justify;
}

.image-title {
    font-weight: bold;
    font-size: 1rem;
    /* margin-top: .5rem; */
    line-height: 1.3;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent;
    color: var(--themecolor) !important;
}

.table td,
.table th {
    vertical-align: middle;
}

.card-icon {
    height: 100%;
    width: auto;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--themecolor2);
    border-radius: 0.75rem;
    color: white;
    padding: 0.85rem 0.8rem 0.8rem;
}

.card-info .region-info img {
    max-height: 10px;
    width: auto;
}

.region-info {
    font-size: 12px;
}

.gallery-date {
    font-size: 12px;
}

.rounded-card {
    border-radius: 0.75rem !important;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.lh-1 {
    line-height: 1;
}

.menu-item {
    border: 1px solid var(--themecolor);
}

.menu-item > a:hover {
    background-color: #e6eeff;
}

.menu-item.current {
    color: var(--themecolor) !important;
    font-weight: 700;
    opacity: 1;
}
.menu-item.current::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    transition: 0.2s;
    background-color: var(--themecolor);
}

.list-unstyled {
    margin-bottom: 0 !important;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

.list-unstyled input {
    margin-right: 0.5rem;
}

.tags-item {
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    border: solid 1px rgba(0, 0, 0, 0.125);
    background-color: transparent;
    font-size: 12px;
    transition: 0.2s;
}

.tags-item:hover {
    background-color: var(--themecolor);
    color: white;
    cursor: pointer;
}

.tags-item:active {
    background-color: transparent;
    color: var(--themecolor);
    cursor: pointer;
}

.gallery-img {
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    object-fit: cover;
    width: 100%;
    transition: 0.3s;
    object-position: top center;
    /* border: 1px solid transparent; */
}

.gallery-img video,
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item {
    transition: 0.3s;
    border: 1px solid #37373717 !important;
    border-radius: 12px;
    overflow: hidden;
    /* height: 100%; */
}

.gallery-item:hover {
    /* opacity: 0.8; */
    border: 1px solid var(--themecolor);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.row.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row.equal-height > .col-lg-3 {
    display: flex;
    flex-direction: column;
}

.image-title {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* max-width: 175px !important; */
}

.fs-12 {
    font-size: 12px !important;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* min-height: 280px; */
    /* min-height: 200px; */
    height: 100%;
    transition: 0.3s;
    border: 1px solid transparent;
    border-radius: 12px;
    overflow: hidden;
}

.bg-polygon {
    position: relative;
    padding: 1rem;
}

.bg-polygon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to right,
        rgba(19, 11, 111, 0),
        rgba(47, 47, 47, 0.5)
    );
    clip-path: polygon(93% 0, 100% 50%, 86% 100%, 0 100%, 6% 0);
    opacity: 0.5;
}

.btn:hover .filter-option-inner-inner {
    color: var(--themecolor) !important;
}

.btn-check:checked .filter-option-inner-inner + .btn .filter-option-inner-inner, :not(.btn-check) + .btn:active .filter-option-inner-inner, .btn:first-child:active .filter-option-inner-inner, .btn.active .filter-option-inner-inner, .btn.show .filter-option-inner-inner {
    color: var(--themecolor) !important;
}

.tags-wrapper .badge {
    position: relative; /* Add this */
    border-radius: 0.5rem !important;
    padding: 0.5rem 0.75rem !important;
    padding-right: 2rem !important;
    border: solid 1px rgba(0, 0, 0, 0.125) !important;
    background-color: transparent !important;
    color: black !important;
    font-size: 14px !important;
    transition: 0.2s;
    font-weight: normal;
}

.tags-wrapper.suggested .badge {
    padding-right: 1rem !important;
}

.tags-wrapper .badge:hover {
    font-weight: 700;
    background-color: rgba(230, 238, 255, 1) !important;
    color: var(--themecolor) !important;
    cursor: pointer;
}

.gallery-item-wrapper {
    border: 1px solid transparent;
    border-radius: 12px;
    transition: 0.2s;
}

/* .gallery-item-wrapper:hover {
    border: 1px solid var(--themecolor);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
} */

.gallery-item-wrapper:hover .gallery-img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.tags-wrapper:not(.suggested) .badge::after {
    content: "x";
    position: absolute;
    right: 1rem; /* inside the padding */
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: 0.2s;
    color: black;
}
.tags-wrapper .badge:hover::after {
    color: white;
}

div.bootstrap-select div.dropdown-menu .inner {
    /* max-height: 200px !important; */
    width: 100% !important;
}

.fs-14 {
    font-size: 14px !important;
}

.section {
    padding-top: 2rem !important;
}

.image-info-wrapper {
    /* background-color: rgba(245, 245, 245, 1); */
    /* padding: 1rem; */
    /* border-radius: 1rem; */
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.025);
    /* height: 200px; */
    /* overflow-y: scroll */
}

.image-info-wrapper::-webkit-scrollbar {
    width: 8px;
}

.image-info-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 1rem;
}

.image-info-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(10, 52, 130, 1);
    border-radius: 1rem;
    border: 2px solid transparent;
    background-clip: content-box;
}
.image-info-wrapper .badge {
    color: rgba(10, 52, 130, 1);
    background-color: rgba(10, 52, 130, 0.06);
    margin-right: 0.5rem;
    /* font-weight: 800; */
}

.info-wrapper {
    font-size: 14px;
}

.info-wrapper h3,
.image-info-wrapper h3,
.timeline-wrapper h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(11, 35, 80, 1);
}

.region-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 14px;
}

.region-info img {
    height: 20px;
}

.players-wrapper .player-img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
    background-color: rgba(184, 184, 184, 0.2);
}

.players-wrapper .lane-icon {
    height: 10px;
}

.players-wrapper .lane-title {
    font-size: 12px;
    line-height: 12px;
}

.team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team.team-2 {
    justify-content: flex-end;
}

.team img {
    height: 20px;
    width: 20px;
    object-fit: contain;
}

.gallery-item {
    transition: 0.3s;
}

.gallery-item:hover {
    opacity: 0.8;
}

.info-wrapper {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.dashboard-section h2 {
    line-height: 1.2;
}

.content-description p,
.content-description h1,
.content-description h2,
.content-description h3,
.content-description h4,
.content-description h5,
.content-description h6 {
    margin-bottom: 8px;
}

.content-description ul,
.content-description ol {
    padding-left: 30px;
    margin-bottom: 8px;
}

.image-wrapper .gallery-img {
    height: 175px;
    width: 100%;
    object-fit: cover;
    /* border-radius: 12px; */
    transition: 0.3s;
    border: 0px solid #fff;
}

.image-wrapper .image-active .gallery-img {
    /* scale: 1.05; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 8px solid #fff;
    border-radius: 4px;
}
.image-wrapper .gallery-img:hover {
    /* scale: 1.05; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    max-height: 80vh !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.image-active img {
    border: 2px solid rgba(10, 52, 130, 1);
}

/* .content-description ul:last-child, .content-description ol:last-child, .content-description p:last-child {
    margin-bottom: 0;
} */
.float-wrapper {
    position: sticky;
    top: 6rem;
    width: 100%;
    min-height: 400px;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
}

.float-wrapper.dragover {
    border-color: #0a3482;
}

  .image-wrapper.image {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }

  .skeleton {
    width: 100%;
    height: 200px; /* samain sama tinggi img biar pas */
    background: linear-gradient(90deg, #eee 25%, #ddd 37%, #eee 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
  }

  @keyframes shimmer {
    to {
      background-position: 100% 0, 16px 16px, 128px 40px, 128px 72px, 16px 128px, 16px 160px, 16px 192px, 16px 224px, 16px 256px, 0 0;
    }
  }

  .image-wrapper.image img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .image-wrapper.image img.loaded {
    opacity: 1;
  }

/* .table-logo {
    height: 35px  !important;
    width: 35px !important;
    object-fit: contain;
} */
/* sm: phone - landscape */
@media (min-width: 576px) {
}

/* md: tablet */
@media (min-width: 768px) {
}

/* lg: desktop */
@media (min-width: 992px) {
    div.w-75 {
        width: 70% !important;
    }
}

/* xl: wide */
@media (min-width: 1200px) {
    div.w-75 {
        width: 75% !important;
    }
}

/* super wide */
@media (min-width: 1440px) {
}
