/* Media Query for large screens */
@media (min-width: 1400px) {
    .resource-wrap.col-6 {
        width: 580px;
    }
}


/* Styles for resource wrap elements */
.resource-container .resource-wrap {
    /* border: 2px solid #AEAEAE; */
    margin-bottom: 20px;
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
    box-sizing: border-box;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
    margin: 10px !important;
    min-height: 150px;
}

/* Styles for query result container */
#queryresult {
    /* position: relative !important; */
    left: 1.5rem !important;
    top: 1rem !important;
    justify-content: space-between;
    width: 95%;
    margin-left: 25px;
}

/* Styles for query result block */
.query-result-block {
    display: flex;
    align-items: center;
}

/* Styles for resource title */
.resoure-title {
    width: 100%;
    padding: 10px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
    color: #f0762d;
}

/* Adjustments for resource wrap elements within rows */
.resource-wrap.col-6.row {
    justify-content: normal !important;
}

/* Margin adjustments for resource icon blocks */
.resource-container .resource-icon-block {
    margin: 10px;
}

/* Container for resources */
.resource-container .resource {
    display: flex;
    flex-wrap: wrap;
    /* width: 100vw; */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Styles for resource title within container */
.resource-container .resource-title {
    font-size: 16px;
    font-weight: bold;
    color: #f0762d;
    text-transform: uppercase;
    margin: 10px 0;
}

/* Styles for paragraphs within resource wrap */
.resource-container .row div.resource-wrap div p {
    font-size: 14px;
    margin: 0;
    padding: 0.5em 0;
    line-height: 18px;
}

/* Styles for resource description */
.resource-container .resource-description {
    font-size: 20px;
    color: rgb(17, 27, 38);
    font-weight: 400;
    margin: 10px 0;
    min-height: 50px;
}

/* Styles for resource links */
.resource-container .resource-link {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    color: #3AA2EC;
    margin: 10px 0;
}

/* Styles for resource tabs */
.tab.resource-tab {
    width: 100vw;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Centered title column */
.col-title {
    justify-content: center;
    height: 40px !important;
    align-items: center;
    display: flex;
}

/* Row adjustments */
.row {
    gap: unset !important;
    flex-flow: row;
}

/* Styles for SVG icons */
.svg {
    color: gray;
    max-width: 25px;
    max-height: 20px;
}

/* Popup image styles */
.popup-image {
    display: none;
    position: absolute;
    top: -250px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    width: 300px; /* Fixed width for the popup */
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Full size image */
.fullsize {
    width: 100%;
}

/* Facets heading hidden by default */
.facets__heading {
    font-size: 25px !important;
    display: none !important;
}

/* Styles for inner columns */
.inner-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 30%;
    font-size: small;
    justify-content: center;
    align-items: center;
}

/* Media Query for screens smaller than 792px */
@media (max-width: 792px) {
    .resource-container .resource-wrap.col-6.row {
        width: 100% !important;
    }
}

/* Media Query for screens smaller than 768px */
@media (max-width: 768px) {
    .resource-container .row div.resource-wrap {
        width: 100% !important;
        min-width: 100% !important;
    }
    .resource-container .resource-wrap.col-6.row {
        width: 100% !important;
    }
}


.select2-container--open {
    z-index: 9999; /* Adjust the value if necessary */
}