/*
Theme Name: Alfa Theme
Author: WebDev 
Description: The theme is designed to take full advantage of the custom pages creation.
Version: 1.1
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, sans-serif;
}

body {
    overflow-x: hidden;
    position: relative;
    background: var(--main);
}

a {
    text-decoration: none;
    transition: 0.3s;
}

input, button {
    border: none;
    box-shadow: none;
    transition: 0.3s;
}

input {
    outline: none;
}

p, span, li, a {
    font-size: 18px;
    line-height: 30px;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
    padding: 20px 0;
    color: var(--text);
}

p, span, li, h1, h2, h3, a, b, i, label, input, button, td, tr, figcaption {
    color: var(--text);
}

p {
    padding-bottom: 20px;
}

header li {
    list-style: none;
}
main ul, ol {
    padding-left: 20px;
}
button {
    cursor: pointer;
    background: transparent;
}

img {
    max-width: 100%;
    display: block;
}

i {
    font-style: normal;
}

.wrapper {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}


:root {
	--main: #9d8686;
    --text: #333;
    --header: #fff;

    --color-primary: #227541;
    --color-secondary: #38b6ff;


    --border_button: 15px;
    --shadow-primary: -4px -4px 8px #FFFFFF, 4px 4px 8px rgba(133, 137, 152, 0.35);
    --border: 10px;

}


/*  Header  */

header {
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header);
    z-index: 9;
    border-bottom: 1px solid #E7E8E9;
}

.header_top {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.header .logo img {
    width: 100%;
    height: 37px;
}

.header .buttons button {
    border-radius: var(--border_button);
    padding: 5px 7px 5px 28px;
    text-transform: uppercase;
    font-size: 14px;
    transition: background 1s ease-out;
    font-weight: bold;
}

.header .logButton {
    margin-right: 15px;
}

.header .logButton:hover {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.header .logButton:hover::before {
    background: url(/wp-content/themes/alfatheme/img/enter-hover.svg) no-repeat;
    background-size: cover;
}

.header .regButton:hover {
    background: var(--gradient-yellow-hover);
}


/*  Buttons  */
.logButton {
    color: #fff;
    border: 1px solid var(--color-secondary);
    position: relative;
}

.header .logButton:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 2px;
    background: url(/wp-content/themes/alfatheme/img/enter.svg) no-repeat;
    width: 20px;
    height: 20px;
    background-size: cover;
}

.regButton {
    background: var(--gradient-yellow);
    color: #000;
    position: relative;
}

.header .regButton:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    background: url(/wp-content/themes/alfatheme/img/person.svg) no-repeat;
    width: 20px;
    height: 20px;
    background-size: cover;
}


.menuDesktop {
    display: flex;
    justify-content: center;
}

.menuDesktop li {
    display: inline-block;
    margin: 0 10px;
}

.menuDesktop a {
    font-size: 15px;
    line-height: 20px;
    padding: 5px;
    border-radius: 5px;
    color: var(--color-font1);
}

.menuDesktop a:hover {
    background: var(--color-hover);
    color: var(--text);
}

.menuDesktop a[aria-current] {
    color: var(--color-primary);
    position: relative;
    padding-bottom: 6px;
}


/*  Header  submenu */

.menuDesktop .menu-item-has-children {
    position: relative;
}

.deskMenu .sub-menu-wrap {
    display: none;
    position: absolute;
    left: -20px;
    top: 20px;
    padding-top: 20px;
}

.deskMenu .sub-menu {
    background: var(--header);
    box-shadow: 0 0 50px 5px rgba(0, 0, 0, 0.1);
    width: 180px;
    padding: 10px;
}

.menuDesktop .sub-menu li {
    display: block;
}

.deskMenu .menu-item-has-children:hover > .sub-menu-wrap {
    display: block;
}


/* Burger */

.headerDesktop .burger {
    display: none;
}

.burger img {
    width: 28px;
    height: 28px;
}

.menu_mobile, amp-sidebar {
    background: var(--main);
    width: 100%;
    padding: 0 30px;
    max-width: 350px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    display: block;
    transition: right 0.8s;
    z-index: 11;
}

.menu_mobile.show {
    right: 0;
    transition: right 0.8s;
}

header .overlay {
    display: none;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}

header .overlay.active {
    display: block;
}

.menu_mobile .close {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.menu_mobile .close img {
    width: 28px;
    height: 28px;
}

.menu_mobile ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.menu_mobile .sub-menu {
    padding-left: 20px;
}


/* AMP */

.header.pam_content {
    display: flex;
    justify-content: space-between;
}

amp-script {
    opacity: 1;
}

.amp-sidebar-mask {
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 10 !important;
}

amp-sidebar {
    min-width: 320px;
    opacity: 1 !important;
}

amp-sidebar .closeButton {
    padding: 20px 0 19px 0;
    text-align: center;
    margin: 0 auto;
    display: block;
}

amp-sidebar .closeButton img {
    width: 28px;
    height: 28px;
}

amp-sidebar ul {
    max-height: 80vh;
    overflow-y: auto;
    flex-wrap: wrap;
    display: flex;
}

amp-sidebar .sub-menu {
    padding-left: 20px;
}

amp-sidebar ul li {
    display: block;
    width: 100%;
}

#amp-mobile-version-switcher {
    display: none;
}


/* Banner in review */

.main-banner {
    background-color: #fff;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(0, 0, 0, .05) 0, rgba(0, 0, 0, .05) 10px);
    padding: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.banner-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.banner-column-one {
    display: flex;
    flex-direction: column;
}

.banner-column-one img {
    border-radius: var(--border_button);
}

.banner-column-two {
    padding-left: 20px;
    max-width: 450px;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;

}

.bonus-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bonus-info button {
    border-radius: var(--border_button);
    background: var(--color-primary);
    color: #fff;
    font-size: 18px;
    padding: 10px 30px;
}

.bonus-text {
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
    color: #000;
    font-weight: 600;
}


/* CONTENT */

.content_page {
    padding: 30px 20px 40px 20px;
}

h1 {
    font-size: 36px;
    line-height: 40px;
}

h2 {
    font-size: 32px;
    line-height: 40px;
}

h3 {
    font-size: 26px;
    line-height: 36px;
}

h4 {
    font-size: 20px;
    line-height: 28px;
}

h5, h6 {
    font-size: 18px;
    line-height: 28px;
}

.content_page a {
    color: var(--color-primary);
    text-decoration: none;
}

.content_page a:hover {
    text-decoration: underline;
}

.content_page section {
    background: #f6f6f6;
    border-radius: var(--border);
    border: 1px solid #eee;
    margin-bottom: 20px;
    padding: 10px;
}


/* RAITING */
.rating {
    margin-top: 5px;
}

.rating_item {
    background: #fff;
    border: 1px solid #E7E8E9;
    padding: 30px 30px 30px 30px;
    width: 100%;
    align-items: center;
    border-radius: 12px;
    position: relative;
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 200px 450px 160px auto;
    grid-template-rows:repeat(1, auto);
    gap: 25px;
}

.rating_img {
    width: 200px;
    height: 120px;
    box-shadow: var(--shadow-primary);
    border-radius: var(--border);
}

.rating_item .bonus span {
    font-weight: bold;
    font-size: 16px;
}

.rating_item .bonus span b {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
}

.rating_item .last button {
    border-radius: var(--border_button);
    background: var(--color-primary);
    color: #fff;
    font-size: 18px;
    padding: 10px 15px;
    text-decoration: none;
}

.rating_item .last button:hover {
    background: #39b366;
}

.rating_item .stars {
    display: flex;
}

.rating_item .stars span:not(.numbers) {
    width: 30px;
    height: 30px;
    background: url(/wp-content/themes/alfatheme/img/star_full.svg);
    background-size: cover;
}

.rating_item .stars .numbers {
    padding-left: 10px;
}

.rating_item .stars .numbers i {
    font-size: 12px;
}

.rating_item .bonus_text {
    margin-top: 15px;
}

.rating_item .payments {
    display: flex;
    flex-wrap: wrap;
}

.rating_item .payments img {
    max-height: 20px;
    width: auto;
    margin-bottom: 8px;
    margin-right: 8px;
}

.rating_item .last {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.rating_item .last a {
    border-radius: var(--border_button);
    background: #ffbe06;
    color: #fff;
    font-size: 18px;
    padding: 10px 15px;
    text-decoration: none;
    line-height: unset;
    text-align: center;
}

.rating_item .last a:hover {
    background: #ff9f00;
}


/* 404 */
.page404 {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.page404 img {
    margin: 0 auto;
    border-radius: var(--border);
    width: 120px;
    height: 120px;
    display: block;
}


/* Lists   */
.content_page ul {
    margin-left: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content_page ul li {
    width: 48%;
    position: relative;
    padding-bottom: 10px;
}

.content_page ul li:before, .wp-block-column ul li:before {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(/wp-content/themes/alfatheme/img/list.svg) no-repeat;
    background-size: cover;
    content: "";
    left: 0;
    top: 5px;
}

.wp-block-column ul li {
    position: relative;
    padding-bottom: 10px;
    padding-left: 35px;
}

.content_page ol {
    margin-left: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.content_page ol li {
    list-style: decimal;
    position: relative;
    padding-left: 10px;
    margin-bottom: 10px;
    width: 48%;
}

.content_page ol li::marker {
    font-size: 17px;
    color: #fff;
}

.content_page ol li:before {
    content: '';
    width: 26px;
    height: 26px;
    background: var(--gradient);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: -26px;
    z-index: -1;
}

.content_page li > ul li {
    width: 100%;
}

.content_page li > ul li:before {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    background-size: cover;
    content: "";
    left: 0;
    top: 5px;
    border-radius: 50%;
}

.logo {
	font-size: 22px;
	font-weight: 700;
}

picture img {
	display: block;
	margin: 15px auto;
	max-width: 100%;
}

/* BREADCRUMBS   */

.breadcrumbs_wrapper {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs_wrapper.breadcrumbs_main {
    justify-content: flex-end;
}

.rank-math-breadcrumb p {
    padding-bottom: 0;
    line-height: 24px;
    color: #9b9bb3;
}

.rank-math-breadcrumb a, .rank-math-breadcrumb span {
    font-size: 15px;
    line-height: 25px;
    color: #9b9bb3;
}

.breadcrumbs_wrapper .publish span {
    font-size: 13px;
    color: #9b9bb3;
}


/* IMG content */

.wp-block-image {
    margin: 0 auto;
    margin-bottom: 20px;
    width: 100%;
    max-width: 800px;
}

.wp-block-image figure {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.wp-block-image img {
    height: auto;
    margin: 0 auto;
    margin-bottom: 15px;
    border-radius: var(--border);
    max-height: 500px;
}

.wp-block-image figcaption {
    text-align: center;
    color: #595959;
    font-size: 14px;
}

.wp-block-column {
    width: 50%;
}

.wp-block-columns img {
    max-height: 500px !important;
    width: auto;
    max-width: 100% !important;
    margin: 0 auto;
    margin-bottom: 15px;
    border-radius: var(--border);
}

.wp-block-media-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.wp-block-media-text .wp-block-media-text__content, .wp-block-media-text__media {
    width: 48%;
}

.wp-block-media-text img {
    max-height: 500px !important;
    width: auto;
}

.wp-block-columns ul li {
    width: 100%;
}


/* Table content */

.wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.wp-block-table table td {
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 10px;
}

.wp-block-table table tr:nth-child(2n) {
    background: #373748;
}


/* BLOCKQUOTE */

blockquote {
    background: #fff;
    border-radius: var(--border);
    padding: 20px 20px 0 40px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-primary);
    position: relative;
}

blockquote:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 10px;
    border-radius: var(--border);
    background: var(--gradient);
}


/* FAQ */

.rank-math-answer {
    display: none;
}

.rank-math-answer.active {
    display: block;
}

.rank-math-list-item {
    background: #fff url('/wp-content/themes/alfatheme/img/faq-down.svg') no-repeat;
    background-size: 20px;
    background-position: 96% 19px;
    cursor: pointer;
    border-radius: var(--border);
    position: relative;
    padding: 20px 50px 20px 40px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-primary);
    border: 2px solid #9b9bb3;
}

/* .rank-math-list-item:before {content:''; position:absolute; top:0; left:0; height:100%; width:10px; border-radius: var(--border);
background:var(--gradient);} */
.rank-math-list-item.minus {
    background: #fff url('/wp-content/themes/alfatheme/img/faq-up.svg') no-repeat;
    background-size: 20px;
    background-position: 96% 19px;
}

.rank-math-question {
    text-align: left;
    padding-bottom: 0;
}

.rank-math-question span, .rank-math-question {
    font-size: 20px !important;
    line-height: 30px !important;
    padding-bottom: 0;
    padding-top: 0;
}

.rank-math-answer p {
    padding-top: 5px;
    padding-bottom: 0px;
}

#rank-math-faq {
    position: relative;
    z-index: 4;
}


/* Footer */

footer {
    background: var(--main);
    padding: 30px 0;
    border-top: 1px solid #E7E8E9;
}

.footerInner .copy {
    text-align: center;
    padding-bottom: 15px;
}

.footerInner .copy span {
    font-size: 14px;
}

.footerInner .copy a {
    color: #9b9bb3;
}

.footerInner .copy a:hover {
    color: var(--color-primary);
}

.footerLinks {
    padding: 10px 0 20px 0;
    max-width: 90%;
    margin: 20px auto 0 auto;
    border-top: 1px solid #eee;
    padding: 10px 0 20px 0;
}

.footerLinks ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footerLinks ul li a {
    font-size: 16px;
    line-height: 25px;
    margin: 0 8px;
    text-align: center;
}

.footerLinks ul li a:hover {
    color: var(--color-primary);
}

.warn {
    font-size: 12px;
    opacity: .5;
}

/* Table content */

.wp-block-table {
    max-width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.wp-block-table table {
    width: 100%;
    padding: 5px;
    margin-bottom: 0;
}

.wp-block-table table td {
    text-align: center;
    padding: 10px;
}

.wp-block-table table td img {
    max-width: 24px;
}

.wp-block-table table tr:nth-child(2n) {
    background: #eee;
}

.wp-block-table table tr:nth-child(2n) td {
    color: #333;
}

/* Scroll to top */

.scrollToTop {
    opacity: 0;
    background: var(--color-primary);
    width: 30px;
    height: 30px;
    transition: 0.4s;
    border-radius: 50%;
    position: fixed;
    bottom: 70px;
    right: 30px;
    box-shadow: var(--shadow-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9;
}

.scrollToTop img {
    width: 15px;
    height: 15px;
}

.scrollToTop.pam_content {
    opacity: 1;
}


@media screen and (max-width: 1250px) {

    #menu-header-menu {
        display: none;
    }


    .headerDesktop .burger {
        display: flex;
        align-items: center;
    }

    header .deskMenu {
        display: none !important;
    }

    .header .buttons {
        display: none;
    }

    .header .logo img {
        width: 100%;
        height: 37px;
    }

    .lang_choose:hover .submenu {
        display: none;
    }

    .lang_choose .submenu.show {
        display: block;
    }


    .content_page {
        padding: 10px 20px 10px 20px;
    }

    .fixed_buttons {
        display: block;
    }

    .footerLinks {
        padding: 10px 0 40px 0;
    }


    .wp-block-column {
        width: 100%;
    }

    .wp-block-columns img {
        max-height: 300px !important;
    }

    .wp-block-columns {
        flex-wrap: wrap !important;
    }


    h1 {
        font-size: 26px;
        line-height: 30px;
    }

    h2 {
        font-size: 22px;
        line-height: 32px;
    }

    h3 {
        font-size: 20px;
        line-height: 30px;
    }

    h4 {
        font-size: 18px;
        line-height: 28px;
    }

    h5, h6 {
        font-size: 16px;
        line-height: 26px;
    }

    h1, h2, h3, h4, h5, h6 {
        padding: 10px 0;
    }

    .content_page ul li, .content_page ol li {
        width: 100%;
    }

    .rank-math-question span, .rank-math-question {
        font-size: 18px !important;
        line-height: 28px !important;
    }

    .rank-math-list-item {
        padding: 10px 50px 10px 10px;
    }

    blockquote {
        padding: 20px 20px 0 28px;
    }


    p, span, li {
        font-size: 17px;
        line-height: 28px;
    }

    .content_page ul {
        margin-left: 0;
    }

    .wp-block-media-text__media {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .wp-block-media-text__media img {
        max-width: 100%;
        height: auto;
        margin-bottom: 15px;
    }

    .wp-block-media-text .wp-block-media-text__content, .wp-block-media-text__media {
        width: 100%;
    }

    .wp-block-media-text__media img {
        margin: 0 auto;
    }

    body .is-layout-flex > * {
        flex-basis: 100% !important;
    }

    .rating_item {
        grid-template-columns: 200px 450px;
        grid-template-rows: repeat(2, auto);
        max-width: 800px;
        margin: 0 auto;
        margin-bottom: 15px;
    }

    .breadcrumbs_wrapper {
        padding-top: 60px;
    }
}

@media screen and (max-width: 810px) {
    .rating_item {
        grid-template-columns: 200px 350px;
    }
}


@media screen and (max-width: 700px) {
    .rating_item {
        grid-template-rows: repeat(4, auto);
        grid-template-columns: auto;
    }

    .rating_first {
        margin: 0 auto;
    }

    .rating_item .stars, .rating_item .payments {
        justify-content: center;
    }

    .rating_item .bonus_text {
        text-align: center;
    }

    .rating_item .last {
        display: flex;
        justify-content: center;
    }

    .rating_item {
        padding: 10px 10px 10px 10px;
    }

    .banner-row {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .banner-column-one {
        align-items: center;
    }

    .banner-column-two {
        padding: 0px
    }

    .bonus-tite {
        display: none;
    }

    .bonus-text {
        margin: 20px 0;
        text-align: center;
    }

    .bonus-info button {
        margin: auto;
    }
}
main {
    margin-top: 70px !important;
}
@media (max-width: 850px) {
    .header_top {
        flex-direction: column;
        align-items: center;
    }
    main {
        margin-top: 170px !important;
    }
}
main img {
    display: block;
    max-width: 100%;
    border-radius: 14px;
    margin: 30px auto;
}
table {
    margin: 30px 0;
    width: 100%;
}
td, th {
    word-break: break-all;
    text-align: center;
    padding: 5px;
    border: 1px solid black;
}




