﻿/*
    This css file is used on the following pages:
    - Search results
    - Automatic reposts
    - Favorites
    - User profile

    If you edit this file, please test all the pages listed above.
*/

.article-list {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 16px 16px;
    margin-top: 1rem;
	margin-bottom: 1rem;
}
@media (min-width: 641px) {
    .article-list {
        margin-top: 0;
    }
}
.article-item {
    position: relative;
    display: block;
    width: 100%;
    text-decoration: none;
    background: #fefefe;
    box-shadow: -2px -2px 6px rgba(154, 168, 192, 0.2), 2px 5px 11px rgba(154, 168, 192, 0.2);
    border: 1px solid #ddd;
    font-family: var(--primary-font-family);
    border-radius: 8px;
    align-self: stretch;
}
@media (min-width: 641px) {
    .article-item:hover {
        background: #fff;
        box-shadow: 0px 4px 12px 0px rgba(26, 26, 26, 0.16);
        border: 1px solid #b8d2e5;
    }
}
@media (min-width: 641px) {
	.article-item {
		width: calc(50% - 8px);
	}
}

@media (min-width: 641px) {
    .rmd-container-search-results .article-item,
    .rmd-container-user-articles .article-item {
        width: 100%;
    }
}

.article-description {
    max-height: 35px;
    overflow: hidden;
    margin: 4px 0 8px;
    font-family: var(--secondary-font-family);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #444;
}

@media (min-width: 641px) {
    .article-description {
        max-height: 78px;
        max-width: none;
        font-size: 14px;
    }
}

.art-promoted {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-block;
    background-color: #5DB420;
    padding: 0 12px;
    width: 90px;
    height: 22px;
    font-size: 12px;
    line-height: 22px;
    font-weight: 500;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    text-align: center;
    color: #fff;
}

.art-img {
    position: relative;
    min-width: 150px;
    width: 150px;
    height: 180px;
    border-radius: 4px;
}

.art-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

@media (min-width: 641px) {
    .art-img {
        min-width: 180px;
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 861px) {
    .art-img {
        min-width: 260px;
        width: 260px;
        height: 200px;
    }
}

.article-img {
    position: relative;
    min-width: 64px;
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
    border-radius: 4px;
}

.article-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

@media (min-width: 861px) {
    .article-img {
        min-width: 165px;
        width: 165px;
        height: 140px;
        margin-bottom: 0;
    }
}

.article-img-count-wrap {
    position: relative;
}

.article-img-count {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 22px;
    padding: 5px;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
}

.article-img-count .svg-icon-article {
    width: 14px;
    height: 12px;
}

.article-img-count .svg-icon-article svg {
    vertical-align: top;
    width: 12px;
    fill: #fff;
}

.article-img-count-number {
    display: inline-block;
    position: relative;
    top: -6px;
    font-family: var(--primary-font-family);
    font-size: 11px;
}

.article-favorite-icon {
    display: block;
    position: absolute;
    top: 12px;
    right: 10px;
}

@media (min-width: 861px) {
    .article-favorite-icon {
        top: 12px;
        right: 10px;
    }
}

.heart-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.favoriteIcon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 1px 5px rgba(170, 170, 170, 0.5);
    text-align: center;
    cursor: pointer;
    user-select: none;
}

@media (min-width: 861px) {
    .favoriteIcon {
        width: 32px;
        height: 32px;
    }
}

.favoriteIcon .svg-icon {
    margin: 0;
}

.favoriteIcon .icon-heart-active svg {
    fill: #eb445a;
}

.favoriteIcon.inactive .icon-heart-active {
    display: none;
}

.favoriteIcon.active .icon-heart-inactive {
    display: none;
}

.popular-sign {
    position: absolute;
    top: -8px;
    right: -5px;
    padding: 0 5px;
    min-width: 18px;
    height: 18px;
    background: #eb445a;
    color: #fff;
    text-align: center;
    line-height: 17px;
    font-family: var(--primary-font-family);
    font-size: 12px;
    font-weight: 500;
    border-radius: 16px;
    border: 0.5px solid #ffffff50;
    box-shadow: 0px 3px 5px #00000050;
    user-select: none;
}

@media (min-width: 861px) {
    .popular-sign {
        box-shadow: 0px 3px 15px #00000050;
    }
}

.article-content {
    width: 100%;
}

@media (max-width: 860px) {
    .article-content .article-lbl-txt {
        font-family: var(--secondary-font-family);
    }
}

.article-info {
    display: inline-flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 8px;
}

@media (min-width: 861px) {
    .article-info {
        position: absolute;
        top: 0;
        right: 16px;
    }
}

.art-txt {
    width: calc(100% - 76px);
}

@media (min-width: 861px) {
    .art-txt {
        width: calc(100% - 180px);
    }
}

.article-img .article-img-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.05);
	z-index: 2;
}

.article-lbl {
    display: inline-block;
    width: auto;
    min-height: 18px;
    padding: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    border-radius: 4px;
    text-align: left;
    color: #222;
}

.article-status {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}
.br-on-mobile {
    display: none;
}
@media (min-width: 641px) {
    .article-status {
        flex-direction: column;
        gap: 1px;
    }
}
@media (min-width: 861px) {
    .article-status {
        position: absolute;
        top: 12px;
        right: 12px;
    }
    .article-lbl {
        min-height: 24px;
        padding: 4px 4px 4px 0;
        text-align: right;
    }
}
@media (max-width: 641px) {
    .article-status {
        display: block;
    }
    .br-on-mobile {
        display: block;
    }
}

.article-lbl-1 {
    color: #5DB420;
}
.article-lbl-1-alt {
    color: #444;
}
.article-lbl-2 {
    color: #F97B22;
}
.article-txt {
    width: 100%;
    border: 16px solid #fff;
    border-radius: 8px;
    overflow: hidden;
}

@media (min-width: 861px) {
    .article-txt {
        width: 100%;
        padding-right: 210px;
    }
}

.article-content-wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 12px;
    height: auto;
}
@media (min-width: 861px) {
    .article-content-wrap {
        gap: 16px;
        margin-bottom: 0;
        overflow: hidden;
    }
}

.article-title-wrap {
	display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 12px;
    height: auto;
	margin-bottom: 0.5rem;
}
@media (min-width: 861px) {
    .article-title-wrap {
        overflow: hidden;
    }
}
.article-title {
	display: block;
    float: none !important;
    margin-bottom: 8px;
	font-family: var(--primary-font-family);
	font-size: 13px !important;
	font-weight: 600;
    line-height: 1.4;
	color: #444;
    overflow: hidden;
}

.rmd-container-search-results .article-title,
.rmd-container-user-articles .article-title {
    max-height: 35px;
}
@media (min-width: 410px) {
    .rmd-container-search-results .article-title,
    .rmd-container-user-articles .article-title {
        max-height: none;
    }
}

@media (min-width: 641px) {
    .article-title-wrap {
        margin-bottom: 0.75rem;
    }
	.article-title {
		margin-bottom: 0.25rem;
	}
}
@media (min-width: 861px) {
    .article-title-wrap {
        flex-direction: row;
        gap: 16px;
        margin-bottom: 0;
    }
    .article-title {
        font-size: 16px !important;
        max-width: none;
    }
}
.article-title a {
	text-decoration: none;
	color: #444;
}
.article-title a:hover {
	text-decoration: underline;
	color: #222;
}
.article-category {
    margin-top: 4px;
}
.article-category,
.article-location,
.article-date {
    margin-bottom: 0;
    font-family: var(--secondary-font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #999;
}
@media (min-width: 641px) {
    .article-category,
    .article-location,
    .article-date {
        font-size: 14px;
    }
}
.article-location {
    margin-top: 4px;
}

.article-location .svg-icon-article {
    width: 12px;
}

.article-location .svg-icon-article svg {
    position: relative;
    top: -2px;
    width: 10px;
    fill: #999;
}
.article-date {
    margin-top: 4px;
}
.article-date .svg-icon-article {
    width: 14px;
}
.article-date .svg-icon-article svg {
    position: relative;
    top: -2px;
    width: 11px;
    fill: #999;
}
.article-price {
    display: inline-block;
    margin-bottom: 8px;
    color: #146ca9;
    font-size: 16px;
    letter-spacing: -0.5px;
    font-weight: 600;
}
@media (min-width: 861px) {
	.article-price {
        margin-top: 5px;
        margin-bottom: 0;
		font-size: 16px;
	}
}
.article-price .svg-icon-article {
    width: 10px;
}
.article-price .svg-icon-article svg {
    position: relative;
    top: -2px;
    width: 10px;
    fill: #146ca9;
}
.new-price {
    display: inline-block;
}
.old-price {
    display: block;
    font-family: var(--primary-font-family);
    font-weight: 400;
    line-height: 1.4;
    color: #aaa;
    text-decoration: line-through;
}

.article-meta {
    padding: 1rem;
    font-size: 0.75rem;
    font-family: var(--secondary-font-family);
}
.article-meta p {
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    color: #888;
}
.article-meta p:last-child {
    margin-bottom: 0;
}
.article-meta p span {
   color: #222;
}
@media (min-width: 641px) {
    .article-meta {
        min-height: 125px;
        padding: 1.5rem 1rem 1rem;
    }
}
@media (min-width: 861px) {
    .article-meta {
        min-height: auto;
        padding: 1rem;
    }
    .article-meta p {
        margin-bottom: 0;
    }
}

.article-meta-row {
	margin-top: 0.5rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0 12px;
}
.article-meta-row select {
	padding: 4px;
}
.article-actions {
	position: absolute;
	top: 146px;
	right: 0;
	width: auto;
	height: 36px;
	padding: 0 16px;
	font-size: 0.75rem;
	line-height: 24px;
	font-weight: 500;
	z-index: 3;
}
.article-actions button {
	border: 0;
	box-shadow: 1px 1px 6px 0 rgba(26, 26, 26, 0.26);
}
.btn-article {
	display: inline-flex;
	justify-content: flex-start;
	align-items: center;
	background-color: #fff;
	border: 1px solid #fff;
	padding: 10px 10px;
	color: #1778bc;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all .2s ease-in;
	text-align: left;
	line-height: 1.1;
	font-family: var(--primary-font-family);
	cursor: pointer;
}
.btn-article-activate {
	color: #5DB420;
}
.btn-article-deactivate {
	color: #bf0017;
}
.svg-icon-article {
    display: inline-block;
    margin-right: 0.25rem;
    width: 24px;
    text-align: left;
    margin-right: 0 !important;
}
.svg-icon-article svg {
	position: relative;
	margin-top: 0;
	width: 16px;
    height: auto;
	vertical-align: middle;
}
.btn-article-activate .svg-icon-article svg {
	fill: #5DB420;
}
.btn-article-deactivate .svg-icon-article svg {
	fill: #bf0017;
}

.alert-messages {
    padding: 0 1rem 1rem;
    background-color: #f4f4f6;
    border-radius: 8px;
}
@media (min-width: 861px) {
    .alert-messages {
        margin-top: -1rem;
        padding: 0 1rem 1rem;
        background-color: #fff;
        border-radius: 0;
    }
}
.alert-message {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #999;
    border: 1px solid #999;
    margin-top: 1rem;
    padding: 10px 10px;
    color: #fff;
    border-radius: 4px;
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease-in;
    text-align: left;
    line-height: 1.1;
    font-family: var(--primary-font-family);
    cursor: pointer;
}
.alert-message.hidden {
    display: none;
}
.alert-message-success {
    background-color: #5DB420;
    border: 1px solid #5DB420;
}
.alert-message-error {
    background-color: #bf0017;
    border: 1px solid #bf0017;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.fade-element {
    opacity: 0;
    animation: fadeOut 2.2s ease-in-out forwards;
}

.article-actions-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    background-color: #f4f4f6;
}
.article-actions-footer .btn-article {
	width: 100%;
	margin-bottom: 0;
	border: 0;
	box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 2px 5px 0px;
}
@media (min-width: 641px) {
    .article-actions-footer .btn-article:hover {
        box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 3px 9px 0px, rgba(60,66,87,.12) 0px 2px 5px 0px;
    }
}


@media (min-width: 861px) {
	.article-actions-footer {
		flex-direction: row;
		padding: 1rem;
	}
	.article-actions-footer {
		padding-bottom: 0;
	}
	.article-actions-footer .btn-article {
		width: auto;
	}
}

@media (max-width: 640px) {
    .favorite-article-status {
        margin-top: 12px;
        gap: 4px;
    }

    .article-lbl-validated-phone,
    .article-lbl-reposted,
    .article-lbl-delete {
        width: 100%;
    }
}

.article-lbl-validated-phone {
    display: inline-block;
    color: #666;
}
    .article-lbl-validated-phone .article-lbl {
        color: #666;
    }
    .article-lbl-validated-phone .svg-icon-article {
        width: 12px;
    }
        .article-lbl-validated-phone .svg-icon-article svg {
            position: relative;
            top: -2px;
            width: 12px;
            fill: #666;
        }

.article-lbl-promoted {
    display: inline-block;
    color: #5DB420;
}

    .article-lbl-promoted .article-lbl {
        color: #5DB420;
    }

    .article-lbl-promoted .svg-icon-article {
        width: 12px;
    }

        .article-lbl-promoted .svg-icon-article svg {
            position: relative;
            top: -2px;
            width: 12px;
            fill: #5DB420;
        }

.article-lbl-reposted {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: #666;
}
    .article-lbl-reposted .article-lbl {
        color: #666;
    }
    .article-lbl-reposted:hover .article-lbl {
        color: #2e95df;
    }
    .article-lbl-reposted:hover {
        text-decoration: none;
    }
    .article-lbl-reposted .svg-icon-article {
        width: 12px;
    }
        .article-lbl-reposted .svg-icon-article svg {
            position: relative;
            top: -2px;
            width: 12px;
            fill: #666;
        }

@media (max-width: 860px) {
    .article-lbl-delete {
        margin-top: 6px;
        padding-top: 8px;
        border-top: 1px solid #ddd;
    }
}

.article-lbl-delete {
    display: inline-block;
    color: #666;
    cursor: pointer;
}
.article-lbl-delete:hover {
    color: #f04124;
}
.article-lbl-delete .svg-icon-article {
    width: 12px;
}
.article-lbl-delete .svg-icon-article svg {
    position: relative;
    top: -2px;
    width: 10px;
    fill: #666;
}
.article-lbl-delete:hover .svg-icon-article svg {
    fill: #f04124;
}
.btn-article-repost-frequency {
    margin-bottom: 0.75rem;
    color: #146ca9;
}
.btn-article-repost-frequency .svg-icon-article svg {
	fill: #146ca9;
}
.btn-article-repost-pause {
	color: #F97B22;
}
.btn-article-repost-pause .svg-icon-article svg {
	fill: #F97B22;
}

.article-checkbox-container {
	position: absolute;
	padding: 12px;
	top: 0;
	left: 0;
	transform: scale(1.2);
	z-index: 4;
}

.article-list-actions {
    display: flex;
    align-items: center;
    gap: 16px 16px;
    padding: 1rem;
    background: #f4f4f6;
    border-radius: 4px;
    border: 1px solid #ddd;
}
.article-list-actions-header {
    margin-top: 10px;
}
.btn-update-selected-articles {
	font-size: 0.875rem;
	padding: 0.75rem 0.75rem;
	color: #1d282f;
	background: #fff;
	border: none;
	box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 2px 5px 0px;
	text-align: center;
	color: #5DB420;
}
.btn-update-selected-articles:hover {
	box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 3px 9px 0px, rgba(60,66,87,.12) 0px 2px 5px 0px;
}

.article-txt-wrap {
	width: 100%;
}
@media (max-width: 860px) {
    .article-txt-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: column;
        height: 100%;
        border-radius: 8px;
    }
}

.article-short-info {
    display: inline-block;
    padding: 6px 10px;
    margin-bottom: 8px;
    border-radius: 6px;
    background-color: #f2f2f2;
    font-size: 11px;
    font-weight: 600;
}

@media (min-width: 431px) {
    .article-short-info {
        font-size: 12px;
    }
}

@media (min-width: 861px) {
    .article-short-info {
        font-size: 14px;
    }
}

.article-short-info-empty {
    display: none;
}

.article-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #f4f4f6;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

@media (min-width: 861px) {
	.article-item {
		position: relative;
		display: flex;
		width: 100%;
	}
	.article-actions {
		top: 86px;
	}
	.article-meta {
		display: flex;
		gap: 12px 32px;
		width: 100%;
		padding-top: 0.5rem;
	}
	.article-meta p {
		margin-top: 8px;
		font-size: 0.75rem;
	}
	.article-meta-row,
	.article-meta-row p {
		margin-top: 0;
	}
    .article-footer {
        display: flex;
        flex-direction: column-reverse;
    }
}

.page-subtitle {
    font-size: 20px;
    font-family: var(--primary-font-family);
    font-weight: 600;
}

@media (min-width: 861px) {
    .page-subtitle {
        font-size: 26px;
        font-weight: 500;
    }
}

.view-articles-link {
    display: inline-block;
    height: 28px;
    line-height: 24px;
    margin-top: 0;
    cursor: pointer;
    font-size: 13px;
    text-align: right;
    background-color: #ddefff;
    border: 1px solid #ddefff;
    border-radius: 4px;
    padding: 2px 8px;
    color: #222;
}

@media (min-width: 861px) {
    .view-articles-link {
        margin-top: 4px;
        font-size: 14px;
    }

        .view-articles-link:hover {
            background-color: #ddefff;
            border: 1px solid #9cc7ff;
        }
}

.article-list-subtitle {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 16px;
}

.article-list-subtitle-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
}

@media (min-width: 861px) {
    .article-list-subtitle-content {
        justify-content: flex-start;
    }
}

.fancy-select {
    position: relative;
    max-width: 100%;
    background-color: rgba(255,255,255,0.9);
    background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20512%22%20fill%3D%22%23444%22%3E%3Cpath%20d%3D%22M137.4%20374.6c12.5%2012.5%2032.8%2012.5%2045.3%200l128-128c9.2-9.2%2011.9-22.9%206.9-34.9s-16.6-19.8-29.6-19.8L32%20192c-12.9%200-24.6%207.8-29.6%2019.8s-2.2%2025.7%206.9%2034.9l128%20128z%22%2F%3E%3C%2Fsvg%3E');
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: auto 1rem;
    border-radius: 2px;
    border: 0;
    box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 2px 5px 0px;
    color: #222;
    padding: 7px 32px 7px 12px;
    font-family: var(--primary-font-family);
    font-size: 0.875rem;
    line-height: 1.2;
    font-weight: 500;
    border-radius: 4px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all .2s ease-in;
}
.fancy-select:hover {
	box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 3px 9px 0px, rgba(60,66,87,.12) 0px 2px 5px 0px;
}
.fancy-select:focus {
    color: #222;
}
.fancy-select option {
    padding-top: 4px;
    padding-bottom: 4px;
}
.fancy-select option:checked {
    background-color: #eee;
}
.fancy-select::-ms-expand {
	display: none;
}
.list-actions-box .fancy-select {
	padding: 9px 32px 9px 12px;
}


.frequency-select {
	position: relative;
	max-width: 100%;
	background-color: rgba(255,255,255,0.9);
	background-position: right 0.75rem center;
	background-repeat: no-repeat;
	background-size: auto 1rem;
	border-radius: 2px;
	border: 0;
	box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 2px 5px 0px;
	color: #222;
	margin: 16px;
	padding: 8px 0 8px 12px;
	background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20512%22%20fill%3D%22%23444%22%3E%3Cpath%20d%3D%22M137.4%20374.6c12.5%2012.5%2032.8%2012.5%2045.3%200l128-128c9.2-9.2%2011.9-22.9%206.9-34.9s-16.6-19.8-29.6-19.8L32%20192c-12.9%200-24.6%207.8-29.6%2019.8s-2.2%2025.7%206.9%2034.9l128%20128z%22%2F%3E%3C%2Fsvg%3E');
	font-family: var(--primary-font-family);
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 4px;
	outline: none;
	appearance: none;
	cursor: pointer;
	transition: all .2s ease-in;
}
.btn-article .frequency-select {
	margin-top: -8px;
	margin-bottom: -8px;
}

.frequency-popup {
	display: none;
	position: absolute;
	top: -124px;
	left: 10px;
	min-width: 120px;
	padding: 1rem 1rem 1rem;
	background: #fff;
	border-radius: 4px;
	box-shadow: rgba(0,0,0,.12) 0px 1px 1px 0px, rgba(60,66,87,.16) 0px 0px 0px 1px, rgba(60,66,87,.12) 0px 3px 9px 0px, rgba(60,66,87,.12) 0px 2px 5px 0px;
	z-index: 5;
}
@media (min-width: 641px) and (max-width: 860px) {
	.frequency-popup {
		top: -138px;
	}
}
@media (max-width: 860px) {
	.frequency-popup {
		right: 9px;
	}
}
@media (min-width: 861px) {
	.frequency-popup {
		top: -133px;
		left: 16px;
		width: 270px;
	}
}

.frequency-popup.visible {
	display: block;
}
.frequency-popup-title {
    margin-right: 2rem;
    margin-bottom: 0.75rem;
    color: #146ca9;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1;
}
@media (min-width: 641px) {
	.frequency-popup-title {
		line-height: 1.2;
	}
}
.frequency-popup-title .svg-icon {
	width: 22px;
	margin-right: 0;
	margin-left: -2px;
}
.frequency-popup-title svg {
    fill: #146ca9;
}
.frequency-popup-content input[type=radio] {
	margin-right: 8px;
}
.frequency-popup-content label {
	display: inline-block;
	width: 100%;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 2;
	margin-bottom: 0;
	cursor: pointer;
}
.frequency-popup-content label input {
	position: relative;
	top: 1px;
}
.frequency-popup-content label:first-child {
	width: calc(100% - 1.5rem);
}

.js-frequency-popup-close-button {
	position: absolute;
	display: block;
	top: 6px;
	right: 5px;
	cursor: pointer;
}
.js-frequency-popup-close-button svg {
	width: 36px;
	height: 36px;
	z-index: 5;
}

.frequency-select {
	display: none;
}

.btn-apply-frequency {
    margin: 8px 0 0;
    padding: 10px 16px;
    border-radius: 4px;
    border: none;
    text-align: left;
    font-size: .875rem;
    font-family: var(--primary-font-family);
    font-weight: 500;
    line-height: 1.1;
    text-decoration: none;
    background: #5DB420;
    transition: all .2s ease-in;
    color: #fff;
    cursor: pointer;
}

.btn-apply-frequency .svg-icon {
    position: relative;
    top: -2px;
	width: 22px;
	margin-right: 0;
}
.btn-apply-frequency svg {
	fill: #fff;
}

.btn-confirm-action {
    margin: 8px 0 0 10px !important;
    padding: 10px 16px;
    border-radius: 4px;
    border: none;
    text-align: left;
    font-size: .875rem;
    font-family: var(--primary-font-family);
    font-weight: 500;
    line-height: 1.1;
    text-decoration: none;
    background: #17b;
    transition: all .2s ease-in;
    color: #fff;
    cursor: pointer;
}

.btn-confirm-action-success {
    background: #17b;
}

.btn-confirm-action-cancel {
    background: #e5e7ec;
    color: #222;
}

@media (max-width: 640px) {
    .article-list .article-with-delivery {
        display: inline-block;
        padding: 0;
        line-height: 16px;
    }

        .article-list .article-with-delivery .svg-icon {
            width: 16px;
            height: 16px;
            line-height: 16px;
        }

            .article-list .article-with-delivery .svg-icon svg {
                width: 16px;
                height: 16px;
            }
}


/* rule only for Firefox, reducing the font weight */
@supports (-moz-appearance:none) {
	.btn-article,
	.btn-apply-frequency,
	.frequency-popup-title,
	.frequency-popup-content label {
		font-weight: 400;
	}
}
