:root {
    --primary-color: #ee7f00;
    --primary-color-transparent: rgba(238, 127, 0, 0.6);
    --primary-color-transparent-40: rgba(238, 127, 0, 0.4);
    --light-background: #f2f2f2;
    --grey-background: #ddd;
    --font-color: #555;
    --border-radius: 8px;
}

.changelog-tables-wrapper * {
    font-size: 14px;
}

.changelogDivider {
    margin: 30px 20px;
    display: none;
}

.searchNothingFound {
    display: none;
    margin: 10px 60px;
}

.searchNothingFound h2 {
    font-size: 20px;
}

/* single row */

.versionDisplayRow {
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--font-color);
    cursor: pointer;
    transition: all ease 0.2s;
}

.versionDisplayRow:hover,
.versionDisplayRow.active {
    background-color: var(--primary-color);
    color: #fff;
}

.versionDisplayRow * {
    font-size: 20px;
    font-weight: bold;
}

.changelogToggleIcon {
    width: 20px;
    height: 20px;
    /* margin-bottom: 5px !important; */
    transition: all ease 0.8s;
    transform-origin: center;
}

.changelogToggleIcon path {
    fill: var(--font-color);
}

.versionDisplayRow:hover .changelogToggleIcon path,
.versionDisplayRow.active .changelogToggleIcon path {
    fill: #fff;
}

.versionDisplayRow.active .changelogToggleIcon {
    transform: rotate(180deg);
    /* margin-bottom: 0px !important;
    margin-top: 8px; */
}

/* table */

.singleVersionTable {
    display: none;
    background-color: var(--light-background);
    border-radius: var(--border-radius);
}

.changelogTable {
    border-collapse: collapse;
    border: none !important;
    width: 100%;
    background: transparent !important;
}

.changelogTable * {
    border: none !important;
    outline: none;
}

.changelogTable th {
    text-align: left;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    border: none !important;
    height: 50px;
    color: var(--font-color);
}

.changelogTable th:first-child {
    border-top-left-radius: var(--border-radius);
}

.changelogTable th:last-child {
    border-top-right-radius: var(--border-radius);
}

html .changelogTable thead {
    background-color: var(--grey-background) !important;
    padding: 15px 20px;
    color: var(--font-color);
    border: none;
}

.changelogTable tbody {
    padding: 15px 20px;
}

.changelogTable td {
    padding: 10px 20px;
}

.tableHeadVersion,
.tableHeadTicketId {
    min-width: 100px;
}

.tableHeadHelplink {
    min-width: 125px;
}

.tableHeadDescription {
    width: 100%;
}

.columnValueHelplink a,
.mobileValueHelplink a {
    color: var(--primary-color);
}


.sortingTableHead {
    position: relative;
    cursor: pointer;
    transition: all ease 0.2s;
}

.sortingTableHead::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 5px 4px;
    border-color: transparent transparent var(--font-color) transparent;
    position: absolute;
    left: 75px;
    top: 18px;
}

.sortingTableHead::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    border-color: var(--font-color) transparent transparent transparent;
    position: absolute;
    left: 75px;
    top: 25px;
}

.sortingTableHead.sortedDESC::before {
    border-color: transparent transparent #9e9e9e transparent;
}

/* .sortingTableHead.sortedDESC::after {
    border-color: var(--primary-color) transparent transparent transparent;
} */

.sortingTableHead.sortedASC::after {
    border-color: #9e9e9e transparent transparent transparent;
}

/* .sortingTableHead.sortedASC::before {
    border-color: transparent transparent var(--primary-color) transparent;
} */

.tableHeadTicketId::before,
.tableHeadTicketId::after {
    left: 85px;
}

.tableHeadDescription::before,
.tableHeadDescription::after {
    left: 117px;
}

.tableHeadCategory::before,
.tableHeadCategory::after {
    left: 92px;
}

.sortingTableHead:hover {
    background-color: #ccc;
}

.changelogTable tbody tr {
    transition: all ease 0.2s;
    background: transparent !important;
    line-height: 24px;
    border-top: 2px solid #f9f9f9 !important;
}

.changelogTable tbody tr:hover {
    background-color: #f9f9f9 !important;
}

.changelogTable mark {
    background-color: var(--primary-color-transparent-40);
}

.changelogTable thead tr {
    background: transparent !important;
}


/* searchbar */

.changelog-tables-wrapper .changelogSeachbarLabel .changelogSearchbar {
    border-radius: 100px !important;
    outline: 0;
    border: none !important;
    font-size: 16px !important;
    padding: 10px 20px 10px 60px !important;
    margin: 10px 0px !important;
    width: 100%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    min-height: 45px;
    color: var(--font-color) !important;
}

.changelogSearchbar:focus {
    box-shadow: 0px 0px 0px 3px var(--primary-color-transparent) !important;
}

.changelogSeachbarLabel {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    color: var(--font-color);
    display: flex;
    align-items: center;
}

.changelogSearchbarLeftIcon {
    height: 45px;
    width: 45px;
    border: 0;
    background: transparent;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.changelogSearchbarLeftIcon {
    left: 0px;
    border-radius: 100px;
    background-color: var(--primary-color);
}

.changelogSearchbarLeftIcon svg {
    width: 22px;
    fill: #fff;
    /* padding-top: 2px;
    padding-right: 2px; */
    font-family: none;
}

.changelogSearchbar::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    margin-top: 3px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19.7,18.2L11.4,10l8.2-8.2C19.9,1.5,20,1.3,20,1c0-0.3-0.1-0.5-0.3-0.7c-0.4-0.4-1.1-0.4-1.4,0L10,8.5L1.7,0.3c-0.4-0.4-1-0.4-1.4,0c-0.4,0.4-0.4,1,0,1.4L8.6,10l-8.3,8.3C0.1,18.4,0,18.7,0,19c0,0.3,0.1,0.5,0.3,0.7c0.4,0.4,1.1,0.4,1.4,0l8.3-8.3l8.3,8.3c0.2,0.2,0.4,0.3,0.7,0.3c0.3,0,0.5-0.1,0.7-0.3C20.1,19.3,20.1,18.6,19.7,18.2z'/></svg>");
    cursor: pointer;
}

/* responsive */

@media screen and (min-width: 1001px) {
    .mobileChangelogTableRow {
        display: none !important;
    }
}

@media screen and (max-width: 1000px) {
    .tableHeadCategory,
    .tableHeadDescription,
    .tableHeadHelplink,
    .columnValueCategory,
    .columnValueDescription,
    .columnValueHelplink {
        display: none;
    }

    .changelogTable .tableHeadTracker {
        border-top-right-radius: var(--border-radius);
    }

    .changelogTable .columnValueTracker {
        position: relative;
        padding-right: 50px;
    }

    .columnValueTracker::before {
        content: "";
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M18.2,8.2h-6.4V1.8C11.8,0.8,11,0,10,0S8.2,0.8,8.2,1.8v6.4H1.8C0.8,8.2,0,9,0,10s0.8,1.8,1.8,1.8h6.4v6.4c0,1,0.8,1.8,1.8,1.8s1.8-0.8,1.8-1.8v-6.4h6.4c1,0,1.8-0.8,1.8-1.8S19.2,8.2,18.2,8.2z'/></svg>");
        cursor: pointer;
        display: block;
        position: absolute;
        right: 10px;
        top: 12px;
    }

    .tableHeadVersion, .tableHeadTicketId {
        min-width: 50px;
    }
    .sortingTableHead::before, .sortingTableHead::after {
        display: none;
    }
}

.mobileChangelogTableRow .mobileValueRow{
    display: flex;
}

.mobileChangelogTableRow .mobileValueFirstRow {
    min-width: fit-content;
    margin-right: 30px;
    font-weight: bold;
}

.mobileValueTable {
    background: #f9f9f9 !important;
}

.mobileChangelogTableRow {
    display: none;
}