.glossary-page-content {
    padding-top: 55px;
    position: relative;
}

.glossary-main-container-back {
    background-image: url("/frontend/web/img/glossary/desktop/Home-bg-desktop.png");
    background-position: center;
    background-position-y: 55px;
    background-repeat: no-repeat;
}

.glossary-main-container {
    height: 100%;
    padding: 130px 85px 65px;
}

.glossary-info-block {
    margin: auto;
    max-width: 940px;
    width: 100%;
}

.glossary-main {
    width: 100%;
    max-width: 450px;
    position: relative;
}

.glossary-main .breadcrumbs-container {
    position: absolute;
    top: -100px;
}

.glossary-title {
    font-weight: 700;
    line-height: 128%;
    margin: 0;
}

.glossary-description {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    padding-top: 52px;
    height: 180px;
    overflow-y: hidden;
}

.glossary-main-back {
    position: relative;
}

#glossary-filter {
    padding: 40px 85px 0;
}

#glossary-filter.fixed {
    padding-top: 20px;
    position: sticky;
    top: 55px;
    width: 100%;
    background-color: #fff;
    z-index: 100;
}

.glossary-filter-container {
    max-width: 840px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.filter-container {
    width: 100%;
}

.glossary-filter-container #filter-controls {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 18.75px;
    justify-content: space-between;
    max-width: 800px;
    height: 33px;
}

#filter-controls .glossary-filter-button {
    padding: 0 8px;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px #9B9B9B;
}

#filter-controls a:hover {
    text-decoration: none;
}

#filter-controls .reset-filters-button {
    padding: 0 26px;
    height: 100%;
    display: flex;
    align-items: center;
    min-width: max-content;
    background-color: #F07F1B;
    color: #fff;
    border: solid 1px #F5A543;
    font-size: 14px;
    font-family: "GothamPro-MediumCustom", serif;
    line-height: 130%;
}

.glossary-filter-title {
    color: #000;
    font-size: 14px;
    font-family: "GothamPro-MediumCustom", serif;
    line-height: 130%;
}

.glossary-categories-container,
.glossary-selected-categories-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: start;
    border-bottom: solid 1px #9B9B9B;
    max-width: 800px;
    padding: 20px;
    width: 100%;
}

.glossary-categories-container {
    display: none;
    gap: 12px;
}

.glossary-selected-categories-container {
    gap: 22px;
}

.glossary-categories-container.open {
    display: flex;
}

a.glossary-filter-button {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    cursor: pointer;
}

a.glossary-filter-button:active,
a.glossary-filter-button:hover {
    color: #000;
}

a.glossary-filter-button.open img {
    transform: rotate(180deg);
}

a.glossary-category-item,
p.glossary-category-item {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
    min-width: fit-content;
    text-decoration: none;
}

a.glossary-category-item {
    height: 33px;
    padding: 0 10px;
    cursor: pointer;
}

p.glossary-category-item {
    height: 26px;
    padding: 4px 8px;
    gap: 10px;
    color: #fff;
}

a.glossary-selected-category-item:hover,
a.glossary-selected-category-item .glossary-filter-title,
a.glossary-selected-category-item:hover .glossary-filter-title,
a.glossary-category-item:hover {
    text-decoration: none;
}

.glossary-category-name {
    color: #F5F5F5;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

a.glossary-selected-category-item {
    gap: 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    cursor: pointer;
}

a.glossary-selected-category-item .glossary-selected-category-name {
    height: 26px;
    padding: 5px 0;
    color: #F5A543;
    font-size: 12px;
    line-height: 130%;
}

a.glossary-selected-category-item img.glossary-unselect-category {
    content: url("/frontend/web/img/glossary/gray-cross.svg");
}

a.glossary-selected-category-item:hover img.glossary-unselect-category {
    content: url("/frontend/web/img/glossary/black-сross.svg");
}

.glossary-alphabet-container {
    width: 100%;
    max-width: 840px;
    margin: auto;
    padding: 30px 0 20px;
}

.glossary-alphabet {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px
}

a.glossary-alphabet-letter {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-decoration: none;
}

a.glossary-alphabet-letter.active {
    color: #F07F1B;
}

a.glossary-alphabet-letter:hover,
a.glossary-alphabet-letter:active {
    color: #F07F1B;
}

a.glossary-alphabet-letter.disabled,
a.glossary-alphabet-letter.disabled:hover,
a.glossary-alphabet-letter.disabled:active {
    color: #CBCBCB;
    cursor: default;
}

.glossary-content-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 85px 60px;
}

.glossary-content-container h2.glossary-letter-section {
    width: 100%;
    max-width: 840px;
    margin: 0 !important;
    padding: 0 20px 40px;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0;
    text-align: left;
    color: #00B3E3;
}

.glossary-letter-section-container {
    padding-bottom: 70px;
}

h2.glossary-letter-section .all-marketing-terms-link:hover {
    color: #337AB7;
}

.glossary-content-container h2,
.glossary-content-container h2:hover,
.glossary-content-container h2:active {
    text-decoration: none;
}

h2.glossary-letter-section a,
h2.glossary-letter-section a:hover,
h2.glossary-letter-section a:active {
    color: #00B3E3;
    text-decoration: underline;
}

.glossary-terms-container {
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 840px;
    gap: 30px;
}

.glossary-term {
    padding: 20px;
}

.glossary-term.glossary-term-background-0 {
    background-image: url("/frontend/web/img/glossary/desktop/desktop-img-4.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
}

.glossary-term.glossary-term-background-1 {
    background-image: url("/frontend/web/img/glossary/desktop/desktop-img-3.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
}

.glossary-term.glossary-term-background-2 {
    background-image: url("/frontend/web/img/glossary/desktop/desktop-img-2.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
}

.glossary-term.glossary-term-background-3 {
    background-image: url("/frontend/web/img/glossary/desktop/desktop-img-1.png");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
}

.glossary-term .wrapper-border {
    gap: 20px;
    display: flex;
    position: relative;
    flex-direction: column;
}

.glossary-term .wrapper-border:before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 4px;
    height: 100%;
}

.glossary-term.glossary-term-background-0 .wrapper-border:before,
.glossary-term.glossary-term-background-2 .wrapper-border:before {
    background-color: #F07F1BBF;
}

.glossary-term.glossary-term-background-1 .wrapper-border:before,
.glossary-term.glossary-term-background-3 .wrapper-border:before {
    background-color: #00B3E3BF;
}

.glossary-term h3,
.glossary-term h5 {
    margin: 0;
}

.glossary-term-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-align: left;
}

h3.glossary-term-title .glossary-term-linked-post {
    color: #337AB7;
    text-decoration: underline;
}

h3.glossary-term-title .glossary-term-linked-post:hover {
    color: #337AB7;
}

.glossary-term-categories-container {
    display: flex;
    width: 100%;
    gap: 10px;
}

.glossary-terms-container .blog-post-content p,
.glossary-terms-container .mini-post-handler,
.glossary-terms-container .social-quote,
.glossary-terms-container .blog-post-content ul,
.glossary-terms-container .blog-post-content ol,
.glossary-terms-container .post-source,
.glossary-terms-container .post-tags,
.glossary-terms-container .blog-post-h3,
.glossary-terms-container .blog-post-h4,
.glossary-terms-container .blog-post-content h2,
.glossary-terms-container .post-author {
    max-width: 840px;
}

.glossary-copy-link {
    display: flex;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
    cursor: pointer;
    align-items: end;
    justify-content: end;
    color: #848484;
}

.glossary-copy-link,
.glossary-copy-link:hover,
.glossary-copy-link:active {
    text-decoration: none;
}

a.glossary-copy-link:hover,
a.glossary-copy-link:active {
    color: #337AB7;
}

.glossary-copy-link img {
    content: url("/frontend/web/img/glossary/copy-link.png");
}

a.glossary-copy-link:hover img,
a.glossary-copy-link:active img {
    content: url("/frontend/web/img/glossary/copy-link-hover.png");
}

a.glossary-copy-link.copied img {
    content: url("/frontend/web/img/glossary/done.svg");
    padding-bottom: 2px;
}

a.glossary-copy-link.copied span.copied-link,
a.glossary-copy-link span.copy-link {
    display: inline-block;
    line-height: 10px;
}

a.glossary-copy-link span.copied-link,
a.glossary-copy-link.copied span.copy-link {
    display: none;
}

.glossary-copy-link:hover,
.glossary-copy-link:active {

}

.glossary-mobile-filter {
    display: none;
}
