@font-face {
    font-family: MoneySaverFont;
    src: url("/static/fonts/Rubik-Regular.ttf");
}


html, body {
    background: #F3F5F9;
    color: #031B4E;
    font-family: MoneySaverFont;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: #031B4E;
}

.about a,
.cashback-card a,
.cashback a,
.shop a {
    color: #0069FF;
}

.navbar {
    -webkit-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    background: #fff;
}

header .navbar a {
    font-size: 1.25em;
}

.navbar img {
    max-height: 75px;
}

section.main p {
    margin: 2.8em auto;
    border: 1px solid #0069ff;
    border-radius: 5px;
    padding: 1em;
}

h1 {
    margin: 1em auto 0.5em;
}

section.shops, section.cashbacks, section.about, section.cards {
    padding-bottom: 3em;
}

section.about {
    text-align: center;
}

section.about p {
    text-align: left;
}

.shop-wrapper, .cashback-wrapper, .card-wrapper, .search-result {
    width: 100%;
    background-color: #fff;
    border-radius: 5px;
    display: block;
    text-align: center;
    -webkit-box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    padding: 1em;
    margin-bottom: 1em;
}

.search-result img {
    max-height: 3em;
    max-width: 100%;
}

#search-results {
    position: absolute;
    z-index: 1;
    width: 221px;
    max-height: 150px;
    background: #fff;
    margin-top: 40px;
    overflow-y: scroll;
}

#search-results a {
    height: 50px;
    display: block;
}

#search-results a:hover {
    background: #e9e9e9;
}

#search-results a * {
    display: inline-block;
}

#search-results a img {
    max-height: 100%;
    max-width: 20%;
}

#search-results p {
    line-height: 50px;
    margin-bottom: 0;
    margin-left: 2%;
}

#search-bottom
a, a:hover {
    color: #031B4E;
}

#search_form {
    padding: 0;
}

#search_form .g-recaptcha {
    margin: inherit;
}

#search_form button {
    width: 40%;
    background: #70C1B3;
    border: none;
    border-radius: 5px;
    margin: auto;
    height: 2.5em;
    cursor: pointer;
}

.shop-wrapper:hover, .cashback-wrapper:hover, .card-wrapper:hover {
    -webkit-box-shadow: 0 0px 15px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0px 15px rgba(3, 27, 78, .1);
    box-shadow: 0 0px 15px rgba(3, 27, 78, .1);
}

.shop-wrapper .img-wrap, .cashback-wrapper .img-wrap, .card-wrapper .img-wrap {
    position: relative;
    height: 76px;
}

.shop-wrapper .img-wrap img, .cashback-wrapper .img-wrap img, .card-wrapper .img-wrap img {
    max-width: 90%;
    max-height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.all-shops, .all-cashbacks, .all-cards {
    font-size: 1.25em;
    cursor: pointer;
    float: right;
    margin-top: .25em;
}

hr {
    width: 90%;
}

.go-compare {
    border: 1px solid #0069ff;
    width: 80%;
    display: block;
    margin: auto;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 5px;
}

.go-compare:hover {
    background: #0069ff;
    color: #fff;
    -webkit-box-shadow: 0 5px 10px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 5px 10px rgba(3, 27, 78, .1);
    box-shadow: 0 5px 10px rgba(3, 27, 78, .1);
}

footer {
    background: #031B4E;
    color: #fff;
    padding: 1em;
}

footer .footer-list a {
    color: #fff;
}

footer .footer-list {
    padding: 0;
}

footer .footer-list li {
    display: block;
}

footer .list-group-item, footer .list-group-item:hover, footer .list-group-item:active, footer .list-group-item:visited {
    background: #031B4E;
    color: #fff;
    border-color: #fff;
}

.categories-filter {
    background: #fff;
    -webkit-box-shadow: 0 0px 5px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0px 5px rgba(3, 27, 78, .1);
    box-shadow: 0 0px 5px rgba(3, 27, 78, .1);
    border-radius: 5px;
}

.categories-filter ul {
    padding-left: 0;
}

.categories-filter li {
    list-style: none;
    padding: .25em 1.5em;
}

.categories-filter li.active {
    font-weight: bold;
}

.categories-filter hr {
    margin: .5em auto;
}

.categories-filter p {
    padding: .5em 0 0;
    margin-bottom: 0;
    font-size: 1.15em;
}


.categories-filter input[type='checkbox'] {
    display: none;
}

.categories-filter [type='checkbox'] + label::before {
    content: "\2610";
    margin-right: .5em;
}

.categories-filter [type='checkbox']:checked + label::before {
    content: "\2611";
}

.all-shops-list, .all-cashbacks-list {
    padding-left: 0;
}

.all-shops-list li {
    width: 30%;
    display: inline-block;
    margin-bottom: 1.5em;
    margin-left: 1em;
}

.all-cashbacks-list li {
    width: 22.6%;
    display: inline-block;
    margin-bottom: 1.5em;
    margin-left: 2%;
}

.all-shops-list li:nth-child(3n+1) {
    margin-left: 0;
}

.offers-list {
    display: flex;
    flex-direction: column;
}

.offers-list .offers-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    border-radius: 5px;
    margin-top: 15px;
    height: 120px;
    padding: 5px;
    position: relative;
    border: 1px solid #e7e7e7;
}

.offers-list .offers-item.top:before,
.offers-list .offers-item.safety:before,
.offers-list .offers-item.popular:before {
    content: attr(data-promo);
    position: absolute;
    color: #fff;
    top: -10px;
    left: 5px;
    padding: 3px 10px;
}

.offers-list .offers-item a {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.offers-list .offers-item.top:before {
    background: #5F4B8B;
}

.offers-list .offers-item.safety:before {
    background: #de4d44;
}

.offers-list .offers-item.popular:before {
    background: #2e5d9f;
}

.offers-item div img {
    max-width: 100%;
    max-height: 60px;
}

.offers-item > div {
    display: flex;
    justify-content: start;
    flex-direction: column;
}

.offers-item div div {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.offers-item .calc-td {
    width: 30%;
}

#calc {
    display: block;
    height: 40px;
    border: 1px solid #dee2e6;
    padding: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 3px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 3px rgba(3, 27, 78, .1);
    box-shadow: 0 0 3px rgba(3, 27, 78, .1);
    width: 100%;
}

.offers-item .link-td {
    justify-content: center;
    align-items: center;
}

.offers-item .link-td .cashback-anchor {
    margin-top: 0;
    height: auto;
    padding: 15px;
    line-height: inherit;
}

.offers-item div p {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    align-items: start;
    font-weight: bold;
}

.cashback-td {
    width: 30%;
}

.rate-td {
    width: 20%;
}

.refund-td {
    width: 30%;
}

.link-td {
    width: 20%;
}

a.cashback-anchor {
    display: block;
    border: 1px solid #007bff;
    border-radius: 5px;
    color: #fff;
    background: #007bff;
    height: 50px;
    text-align: center;
    line-height: 50px;
    margin-top: 15px;
}

.cashback-anchor:hover {
    color: #fff;
    -webkit-transition: background .5s, color 1s; /* Safari */
    transition: background .5s, color 1s;
    text-decoration: underline;
}

section.cashback .cashback-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
    -webkit-box-shadow: 0 0px 10px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0px 10px rgba(3, 27, 78, .1);
    box-shadow: 0 0px 10px rgba(3, 27, 78, .1);
    border-radius: 5px;
}

section.cashback .cashback-img-wrap img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    max-width: 90%;
    max-height: 100%;
}

.cashback-link {
    display: block;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    height: 2.5em;
    line-height: 2.5em;
    transition: all .5s
}

.cashback-link:hover {
    -webkit-box-shadow: 0 10px 20px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 10px 20px rgba(3, 27, 78, .1);
    box-shadow: 0 10px 20px rgba(3, 27, 78, .1);
    text-decoration: none;
    color: #fff;
    -webkit-transform: translate3d(0, -2px, 0);
    transform: translate3d(0, -2px, 0);
}

.add-review {
    margin-bottom: 10px;
}

.add-review-button {
    width: 40%;
    background: #70C1B3;
    border: none;
    border-radius: 5px;
    margin: auto;
    height: 2.5em;
    cursor: pointer;
}

.cashback-review, .shop-review, .card-review {
    background: #fff;
    -webkit-box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    padding: 1em;
    border-radius: 5px;
    margin: .5em 0;
}

.cashback-review-answer {
    display: flex;
    -webkit-box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    box-shadow: 0 0 5px rgba(3, 27, 78, .1);
    padding: 1em;
    border-radius: 5px;
    background-color: #F3F5F9;
}

.cashback-review-answer img {
    max-width: 150px;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    background-color: #fff;
}

.cashback-review-answer p {
    margin-bottom: 2px;
}

.cashback-review-answer .right {
    margin-left: 10px;
    font-size: 14px;
}

.answer-date {
    font-size: 14px;
}

.cashback-review p:last-child,
.shop-review p:last-child,
.card-review p:last-child {
    margin-bottom: 0;
}

.cashback-review p.review-data {
    margin-bottom: 10px;
}

aside .img-wrap {
    width: 100%;
    height: 4em;
    position: relative;
}

aside .img-wrap img {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.cashback-shops {
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 0px 5px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0px 5px rgba(3, 27, 78, .1);
    box-shadow: 0 0px 5px rgba(3, 27, 78, .1);
    margin-bottom: 1em;
}

.cashback-shops .shop {
    border-bottom: 1px solid #dee2e6;
}

.cashback-shops .img-wrap {
    max-width: 90%;
    margin: auto;
}

.cashback-shops .shop p {
    margin-bottom: 0;
    line-height: 4em;
    text-align: center;
}

.cashback-shops h4 + .shop {
    border-top: 1px solid #dee2e6;
}

.cashback-shops .shop:last-child {
    border-bottom: none;
}

.cashback-shops h4 {
    padding-top: .25em;
    text-align: center;
}

.search-form {
    display: flex;
    flex-direction: row;
    border: 1px solid #dee2e6;
    padding: 2px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0px 3px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0px 3px rgba(3, 27, 78, .1);
    box-shadow: 0 0px 3px rgba(3, 27, 78, .1);
}

.search-form:focus {
    -webkit-box-shadow: 0 0px 10px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0px 10px rgba(3, 27, 78, .1);
    box-shadow: 0 0px 10px rgba(3, 27, 78, .1);
}

#search {
    flex-grow: 2;
    border: none;
    padding: .4em;
}

#search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
}

.alert {
    margin-top: 1em;
}

.alert p {
    margin-bottom: 0;
}

.alert-error, .errorlist {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.errorlist {
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}

section form {
    padding: 5%;
    width: 100%;
}

section form input, textarea {
    width: 100%;
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 1.25em;
    padding: .5em;
    -webkit-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    box-shadow: 0 0 10px rgba(3, 27, 78, .1);
}

section form input {
    height: 2.5em;
}

section form textarea {
    height: 5em;
    resize: none;
}

.ms-button {
    margin: auto;
    border: 1px solid #0069ff;
    border-radius: 5px;
    height: 2.5em;
    padding: .5em;
    background: transparent;
    width: 100%;
    display: block;
    cursor: pointer;
    text-align: center;
}

.ms-button:hover {
    -webkit-transform: translate3d(0, -2px, 0);
    transform: translate3d(0, -2px, 0);
    background: #0069ff;
    color: #fff;
    -webkit-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    -webkit-transition: background .5s, color 1s, transform .5s; /* Safari */
    transition: background .5s, color 1s, transform .5s;
}

form .ms-button {
    width: 15em;
}

.cashback-card-wrapper {
    background: #fff;
    padding: 1em;
    margin-bottom: 2em;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 0 10px rgba(3, 27, 78, .1);
    box-shadow: 0 0 10px rgba(3, 27, 78, .1);
}

.cashback-card-wrapper img {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    display: block;
    margin-bottom: 10px;
}

.cashback-card-wrapper button {
    width: 30%;
}

section.cashback-card {
    padding: 1em;
}

section.cashback-card .img-wrap img {
    max-width: 100%;
    margin-bottom: 10px;
}

.hidden-form {
    display: none;
}

.g-recaptcha {
    margin: 1em auto;
    display: block;
    width: 300px;
}

.fas.fa-star {
    color: #FDB016;
}

.fas.fa-star.gray {
    color: #CED0CE;
}

span.date {
    float: right;
}

.language-form {
    width: 100%;
    text-align: center;
}

.language-form button {
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    cursor: pointer;
}

.language-form select {
    border: none;
    color: #fff;
    background: transparent;
}

.language-form select option {
    border: 1px solid #fff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #031B4E;
}

.message-block {
    width: 100%;
}

.offer-last-modified {
    font-size: 10px;
    display: block;
    margin: auto;
    text-align: center;
}

#reviews-scroll {
    text-decoration: underline;
    cursor: pointer;
}

.rate {
    display: inline-block;
    width: 43%;
}

.max-cashback {
    display: inline-block;
    width: 49%;
    border-left: 1px solid rgba(0, 0, 0, .1);
}

.cashback-go {
    margin: 1em auto;
}

.ms-button {
    background: #0069ff;
}

a.ms-button {
    color: #fff;
}

.article-list {
    margin-top: 10px;
}

.categories-list {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    -webkit-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    border-bottom: 3px solid #031B4E;
    height: 100%;
}

.categories-list a {
    display: flex;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 5px;
    margin-top: 10px;
    padding: 5px;
    justify-content: center;
    background: #F3F5F9;
}

.article-list a {
    font-weight: bold;
}

.article-list .article-item {
    display: flex;
    flex-direction: column;
    -webkit-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.article-item .img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.article-item .img img {
    max-width: 100%;
    max-height: 100%;
}

.article {
    -webkit-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    background: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 10px 10px;
}

.article img {
    max-width: 100%;
}

.article a {
    color: #0069ff;
}

.article .info {
    margin-bottom: 20px
}

.article p.toc {
    font-size: 26px;
}

.article .social-share {
    margin-bottom: 10px;
}

.article .social-share img {
    width: 30px;
    height: 30px;
}

.article .rate {
    width: 100%;
    display: block;
    background: #F3F5F9;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.article .rate form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.article .rate p {
    margin-bottom: 0;
}

.article .rate button {
    width: 220px;
    height: 50px;
    background: #031B4E;
    border: none;
    color: #fff;
    text-transform: uppercase;
}

.related-article {
    margin-bottom: 20px;
}

.related-article {
    display: block;
    padding: 10px;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    -moz-box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    box-shadow: 0 2px 4px rgba(3, 27, 78, .1);
    border-radius: 5px;
}

.related-article img {
    max-width: 100%;
    max-height: 100%;
}


@media (max-width: 575.98px) {
    h1 {
        margin: .3em auto;
    }

    li.shop-wrapper {
        width: 100%;
        margin-left: 0;
    }

    li.cashback-wrapper {
        width: 100%;
        margin-left: 0;
    }

    section.cashback .cashback-img-wrap {
        height: 5em;
    }

    .add-review-button {
        width: 100%;
    }
}

/* Extra-small devices (575px and down) */
@media (max-width: 576.9px) {
    h1 {
        font-size: 1.5em;
    }
    .offers-list .offers-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .offers-item div {
        width: 100%;
        padding: 5px;
    }
    .offers-item .calc-td {
        width: 100%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    h1 {
        margin: .5em auto;
        font-size: 2em;
    }

    li.cashback-wrapper {
        width: 49%;
        margin-left: 0;
    }

    li.cashback-wrapper:nth-child(2n) {
        margin-left: 1%;
    }

    section.cashback .cashback-img-wrap {
        height: 10em;
    }

    .add-review-button {
        width: 100%;
    }

    .offers-list .offers-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .offers-item div {
        width: 100%;
        padding: 5px;
    }
    .offers-item .calc-td {
        width: 100%;
    }


}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    section.cashback a.ms-button {
        font-size: .9em;
    }
    .offers-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .offers-list .offers-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 49%;
    }
    .offers-item div {
        width: 100%;
        padding: 5px;
    }
    .offers-item .calc-td {
        width: 100%;
    }
    .offers-item div img {
        height: 60px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .offers-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .offers-list .offers-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 49%;
    }
    .offers-item div {
        width: 100%;
        padding: 5px;
    }
    .offers-item .calc-td {
        width: 100%;
    }
    .offers-item div img {
        height: 60px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}
