/* ******************************************* */
/* NEW CSS */
/* ******************************************* */

/* ******************************************* */
/* ICONS */
/* ******************************************* */
.developer-icon {
    background: url(/img/icons/icon-developer.svg) left top no-repeat;
}
.threshold-icon {
    background: url(/img/icons/icon-threshold.svg) left top no-repeat;
}
.target-icon {
    background: url(/img/icons/icon-target.svg) left top no-repeat;
}
.cost-icon {
    background: url(/img/icons/icon-cost.svg) left top no-repeat;
}
.area-icon {
    background: url(/img/icons/icon-area-grey.svg) left top no-repeat;
}
.species-icon {
    background: url(/img/icons/icon-biology-grey.svg) left top no-repeat;
}
/* ******************************************* */
/* SECTION VIEW CLASSES */
/* ******************************************* */
.section {
    width: 100%;
    margin-bottom: 20px;
}
.section-header {
    margin-top: 10px;
    display: flex;
    flex-wrap: nowrap;
}
.section-header h2 {
    color: #1F2937;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.1px;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    margin-left: 5px;
}
.section h5 {
    color: #1F2937;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.07px;
    padding: 0;
    margin: 0;
}
.section-title {
    line-height: 24px;
    width: 100%;
}
.section-icon-right {
    width: 24px;
    height: 24px;
}
.section-body {
    background: #FFF;
    border-radius: 6px;
    border: #E5E7EB;
    box-shadow: 0px 4px 3px 0px rgba(0, 0, 0, 0.07), 0px 2px 2px 0px rgba(0, 0, 0, 0.06);
}
.section-body-inner {
    padding: 10px;
}
.section-body.has-edit-footer {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.section-edit-footer {
    cursor: pointer;
    width: 100%;
    min-height: 44px;
    padding: 10px 20px;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0px 4px 3px 0px rgba(0, 0, 0, 0.07), 0px 2px 2px 0px rgba(0, 0, 0, 0.06);
    background: #F3F4F6;
    background-image: url(/img/icons/icon-edit-blue.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.section-edit-controls {
    align-items: end;
    justify-content: flex-end
}
.section-edit-footer .section-edit-controls {
    display: none;
}
.section-edit-footer.edit .section-edit-controls {
    display: flex;
}
.section-edit-controls .button {
    display: inline-block;
    height: 38px;
    padding: 10px 12px;
}
.section-edit-controls .white-button {
    margin-right: 20px;
}
.section-edit-controls .button p {
    line-height: normal;
}
.section-body .title {
    color: #005CA9;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.12px;
}
.blocked input, .blocked .dropdown-wrapper, .blocked textarea {
    background-color: #F9FAFB !important;
}
.blocked .icon-delete {
    display: none !important;
}
.blocked .icon-external {
    display: none !important;
}
.readonly {
    background-color: #F9FAFB !important;
}

.map {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    padding-bottom: 10px;
    height: 142px;
    overflow: hidden;
}
.map-coordinates {
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    text-align: left;
    padding: 10px;
    color: #6B7280;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.07px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    background-image: url(/img/icons/icon-geolocation.svg);
    background-position: 10px center;
    background-repeat: no-repeat;
    padding-left: 30px;
}

.upcoming-feature-small {
    height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
}
.upcoming-feature-large {
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.inactive-social {
    filter: grayscale(100%);
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
    .inactive-social img {
        transition: filter 0.3s ease, opacity 0.3s ease;
    }
/* ******************************************* */
/* CAROUSEL CLASSES */
/* ******************************************* */
.carousel {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.splide__slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.carousel-arrow-left {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}
.carousel-arrow-right {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}
.splide__track {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
/* ******************************************* */
/* TABLE VIEW CLASSES */
/* ******************************************* */
.table-view {
    width: 100%;
}
.media-img {
    width: 100%;
}
.media-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.table-view .table-row {
    width: 100%;
    color: #334155;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.07px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    flex-wrap: nowrap;
    padding: 12px 0px;
}
.table-view .table-row-full {
    width: 100%;
    color: #334155;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.07px;
    border-bottom: 1px solid #E5E7EB;
    padding: 12px 0px;
}
.table-view .table-row:last-of-type {
    border-bottom: none;
}

.table-view p.key, .table-view p.value, .table-view .value{
    width: 50%;
    margin: 0px;
    padding-left: 0;
    margin-left: 10px;
}
.table-view .key-full {
    width: 100%;
    margin: 0px;
    padding-left: 0;
    margin-left: 10px;
}
.table-view .value-full {
    width: 100%;
    margin: 0px;
    padding-left: 0;
    margin-left: 10px;
    margin-top: 10px;
}
.table-view p.key.has-icon, .table-view p.key-full.has-icon {
    padding-left: 24px;
}
.table-view .text {
    color: #000;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.07px;
}
.table-view h3 {
    color: #334155;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
    letter-spacing: 0.08px;
    margin: 0;
    padding: 0;
    text-align: left;
}
.table-view h4 {
    color: #334155;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    letter-spacing: 0.08px;
    margin: 0;
    padding: 0;
    text-align: left;
}
.table-row-text h5 {
    margin-bottom: 5px;
}
.table-view .avatar img {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: #334155;
}
.avatar {
    width: 62px;
    margin-left: 10px;
}
.avatar-right {
    width: calc(100% - 77px);
    margin-left: 15px;
}
.company-logo img {
    max-width: 180px;
    height: auto;
}
.table-header {
    display: flex;
    flex-wrap:wrap;
}
.table-header .left {
    width: 100%;
}
.table-header .right {
    width: 100%;
}
.table-header h3 {
    color: #1F2937;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.12px;
}
.table-header p {
    color: #1F2937;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.07px;
}
/* ******************************************* */
/* TEXT */
/* ******************************************* */
.unbold {
    font-weight: 400;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shrink-text-16-20 {
    /*
     * clamp(MIN_SIZE, PREFERRED_SIZE, MAX_SIZE)
     * - MIN_SIZE: The smallest allowed font size (e.g., 10px)
     * - PREFERRED_SIZE: The ideal size, often based on viewport units (e.g., 2vw)
     * - MAX_SIZE: The largest allowed font size (e.g., 18px)
     */
    font-size: clamp(10px, 2vw, 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ******************************************* */
/* CMS PAGE / UPDATES */
/* ******************************************* */

.tag {
    float: left;
    display: inline-block;
}

.cms-flex {
    display: flex;
    flex-wrap: wrap;
}

.cms-right {
    width: 100%;
    margin: 0;
    margin-top: 45px;
}

.cms-left {
    width: 100%;
    margin: 0;
}

.cms-page {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.08px;
    overflow-x: hidden;
}

.cms-left .page-title {
    margin-bottom: 20px;
}

.cms-news-header {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
}

.cms-media-header, .media-placeholder {
    position: relative;
    top: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.cms-news-date {
    width: 70px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.06px;
}

.cms-tags {
    width: calc(100% - 70px);
}

.cms-media-full {
    position: absolute;
    width: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -1;
}
.single-update {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.update-date {
    display: flex;
}
.update-date-date {
    padding: 2px 15.5px;
    border-radius: 25px;
    background: #E2E8F0;
    color: #475569;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: 0.08px;
    text-transform: uppercase;
}
.update-link {
    margin-top: 12px;
    padding: 10px 12px;
    display: inline-block;
}
.update-tag, .update-tag-mobile {
    display: none;
    color: #334155;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: 0.08px;
    text-transform: uppercase;
}
.update-tag-mobile {
    display: block;
    margin-left: 6px;
    line-height: 28px;
}
.update-title {
    color: #334155;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.12px;
}
.update-image {
    width: 117px;
    height: 117px;
    margin-left: 6px;
    margin-top: 13px;
}
.update-image img {
    width: 117px;
    height: 117px;
    border-radius: 6px;
    object-fit: cover;
}
.update-content {
    margin-top: 13px;
    width: calc(100% - 123px);
}
.update-date-line {
    display: none;
    width: 50%;
    height: calc(100% - 34px);
    margin-top: 6px;
    border-right: 1px solid #D1D5DB;
}
.update-date-mobile-line {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    border-right: 1px solid #D1D5DB;
}
.new-update {
    border-radius: 12px;
    background-color: #F3F4F6;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 12px;
}
.new-update h2 {
    background-image: url(/img/icons/icon-new-update.svg);
    background-position: 54px top;
    background-repeat: no-repeat;
    padding-left: 108px;
    color: #005CA9;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0.12px;
}
.new-update p {
    padding-left: 108px;
    color: #4B5563;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: 0.08px;
}

@media (min-width: 768px) {
    .new-update p {
        padding-left: 156px;
    }
    .new-update h2 {
        background-position: 54px top;
        padding-left: 156px;
    }
    .update-tag-mobile {
        display: none;
    }
    .update-date {
        display: block;
        margin-top: 0;
        margin-right: 6px;
        width: 140px;
    }
    .update-date-line {
        display: block;
    }
    .update-tag {
        display: block;
    }
    .update-title {
        margin-top: 6px;
    }
    .single-update {
        margin-bottom: 18px;
    }
    .update-date-mobile-line {
        display: none;
    }
    .update-content {
        margin-top: 0;
        width: calc(100% - 269px);
    }

    .table-header .left {
        width: 50%;
    }

    .table-header .right {
        width: 50%;
    }
    .cms-news-header {
        margin-top: 0;
    }

    .cms-media-header, .media-placeholder {
        height: 600px;
    }

    .cms-flex {
        padding-top: 10px;
    }

    .cms-right {
        width: calc(50% - 25px);
        margin-left: 25px;
    }

    .cms-left {
        width: calc(50% - 25px);
        margin-right: 25px;
    }

    .cms-left .page-title {
        margin-bottom: 0;
    }
}
