/*!
Theme Name: PGM MainSite
Theme URI: http://underscores.me/
Author: Emmett Wen
Author URI: http://underscores.me/
Description: The first version of theme that used for PGM
Version: 1.2.5
Tested up to: 8.1
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pgm-main-site
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

PGM MainSite is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.header-left-divider {
    border-left: 1px solid #e5e5e5;
}
.uk-nav-title {
    font-size: 20px;
}
.main-button {
    background: linear-gradient(90deg, #02008F, #0100F5);
    color: white!important;
}
.linear-bg-blue {
    background: linear-gradient(90deg, #02008F, #0100F5);
}
.linear-bg-red {
    background: linear-gradient(90deg, #F00A06, #E26723);
}
.home-slide-2-content p{
    width: 320px;
    text-align: justify;
    text-align-last: justify;
    color: black;
}
.acc-card {
    border-radius: 15px;
}
.acc-card-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    background: linear-gradient(90deg, #F00A06, #E26723);
    color: white;
    padding: 5px 15px;
}
.acc-icon {
     max-height: 50px;
}
.acc-card .uk-card-footer {
    border-top: 0;
}
.acc-card-title {
    color: #0100f4!important;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 10px;
}
.acc-card-number {
    color: black!important;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 5px;
}
.acc-info-row {
    line-height: 30px;
}
.acc-info-right {
    color: #0100f4!important;
    font-weight: 300;
}
.accordion-left {
    z-index: 10;
}
.accordion-right {
    z-index: 9;
}
.okcopy-button {
    position: absolute;
    left: -40px;
    top: 40%;
    z-index: 10;
}
.myfxbook-button {
    position: absolute;
    top: 20px;
    right: 40%;
    z-index: 10;
}
.followme-button {
    position: absolute;
    bottom: 40px;
    right: 35%;
    z-index: 10;
}
.home-tools {
    background: #f7f7f7;
}
.news-card {
    background: linear-gradient(90deg, #02008F, #0100F5);
    font-size: 100px;
    font-weight: 800;
    color: white;
}
.home-honor-content {
    background: linear-gradient(90deg, #02008F, #0100F5);
    border-radius: 100px;
}
.content-2-right {
    font-size: 30px;
}

.open-account-step-icon {
    background-repeat: no-repeat;
}
.open-account-step-image {
    max-width: 80px;
}
.open-account-step-number {
    font-size: 32px;
    font-weight: 800;
    color: black;
}
.open-account-divider-h {
    flex: 1;
    margin-top: 42px;
    border-bottom: 1px solid red;
}
.footer-cta {
    background: linear-gradient(90deg, #F00A06, #E26723);
}
.footer-cta-icon {
    max-width: 30%;
}
.footer-cta-number {
    font-size: 20px;
}
.footer-cta-number a {
    font-size: 20px;
}
.footer-cta-right img{
    max-height: 100%;
    float: right;
    width: auto;
}
.mt5-list-image {
    max-width: 150px;
}
.mt5-download {
    border: 1px solid black;
    display: inline-block;
    border-radius: 30px;
    min-width: 100px;
    padding: 5px;
}
.mt5-compare-table-header {
    height: 70px;
}
.mt5-compare-table-list {
    line-height: 48px;
}
.mt-download-content {
    height: 50px;
}
.ea-download {
    background: linear-gradient(90deg, #02008F, #0100F5);
}

.job-bold {
    font-weight: bold;
    color: #0100f4;
}
.job-cta {
    background: #0100f4;
}
#job-cta-logo {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: auto;
}
.products-section-title {
    color: #c30000!important;
    font-weight: bold;
}
.product-table-head th {
    color: white;
}

.uk-totop svg {
    display: none;
}
.banner-orange {
    color: #f79100;
}
@media only screen and (min-width: 960px) {
    .accordion-right img {
        scale: 1.5; margin-left: -100px;
    }
    .account-title p {
        margin-left: 40px;
    }
    .footer-cta-number {
        font-size: 40px;
        text-align: right;
    }
    .footer-cta-number a {
        font-size: 28px;
    }
    .faq-content {
        border-left: 1px solid rgb(229, 229, 229);
    }
}

.countdown-box {
    position: absolute;
    top: 38.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.countdown-box span {
    font-size: 6vw;
    line-height: 1;
    font-weight: 300;
    color: #fff;
}

/* 小屏时可以稍微缩小一点 */
@media (max-width: 768px) {
    .countdown-box {
        top: 32.5%;
        width: 100px;
        height: 100px;
    }

    .countdown-box span {
        font-size: 17vw;
    }
}

.pgm-home-video-marquee {
    background: #fff;
    padding: 40px 0 50px;
    overflow: hidden;
}

.pgm-video-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.pgm-video-marquee__track {
    display: flex;
    width: max-content;
    animation: pgm-video-marquee-scroll 40s linear infinite;
    will-change: transform;
}

.pgm-video-marquee:hover .pgm-video-marquee__track {
    animation-play-state: paused;
}

.pgm-video-marquee__group {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
    padding-right: 24px;
}

.pgm-video-card {
    position: relative;
    display: block;
    width: 320px;
    flex: 0 0 320px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #111;
    transition: none;
}

.pgm-video-card:hover {
    transform: none;
    box-shadow: none;
    color: #fff;
    text-decoration: none;
}

.pgm-video-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ddd;
}

.pgm-video-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pgm-video-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.76) 10%, rgba(0,0,0,.28) 58%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.pgm-video-card__play {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0,0,0,.18);
    z-index: 2;
}

.pgm-video-card__content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
}

.pgm-video-card__title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes pgm-video-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 12px));
    }
}

@media (max-width: 1199px) {
    .pgm-video-card {
        width: 290px;
        flex-basis: 290px;
    }
}

@media (max-width: 767px) {
    .pgm-home-video-marquee {
        padding: 24px 0 32px;
    }

    .pgm-video-marquee__group {
        gap: 16px;
        padding-right: 16px;
    }

    .pgm-video-card {
        width: 240px;
        flex-basis: 240px;
        border-radius: 14px;
    }

    .pgm-video-card__play {
        width: 42px;
        height: 42px;
        top: 12px;
        right: 12px;
    }

    .pgm-video-card__content {
        left: 14px;
        right: 14px;
        bottom: 12px;
    }

    .pgm-video-card__title {
        font-size: 15px;
    }
}

.pgm-lottie-logo-link {
    padding-left: 0;
    padding-right: 0;
}

.pgm-header-logo-lottie {
    display: block;
    width: 220px;
    height: 33px;
    line-height: 0;
}

.pgm-header-logo-lottie svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* 平板和手机适配 */
@media (max-width: 959px) {
    .pgm-header-logo-lottie {
        width: 180px;
        height: 27px;
    }
}

@media (max-width: 480px) {
    .pgm-header-logo-lottie {
        width: 150px;
        height: 23px;
    }
}
.pgm-header-logo-lottie {
    display: block;
    position: relative;
    width: 220px;
    height: 33px;
    line-height: 0;
}

.pgm-header-logo-lottie svg {
    display: block;
    width: 100%;
    height: 100%;
}

.pgm-logo-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}