/* layout */
section {
    padding: 40px 0;
}
@media screen and (min-width: 1025px) {
    section {
        padding: 80px 0;
    }
}

/* font */
h2, h3 {
    font-size: 28px;
    font-weight: 300;
    line-height: 38px;
    color: var(--color-brand-Auxiliary);
}
h4 {
    font-size: 20px;
    font-weight: normal;
    line-height: 30px;
    color: var(--color-brand-Auxiliary);
}
p {
    color: var(--color-icon-03);
}
@media screen and (min-width: 1025px) {
    h2, h3 {
        font-size: 48px;
        line-height: 64px;
    }
    h4 {
        font-size: 28px;
        line-height: 38px;
    }
}

/* swiper */
.swiper-slide {
    padding: 0 16px;
}
.swiper-pagination {
    bottom: -40px !important;
}
.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 0;
    background: #e4e4e4;
    opacity: 1;
    margin: 5px !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-brand-standard);
}

/* banner */
.innner-pc.swiper-container {
    margin-bottom: 80px;
}
.innner-pc .container > * {
    margin-left: calc(1 / 12 * 100%);
}
.innner-pc .pc-small-title {
    padding-top: 284px;
}
.innner-pc .banner-text-title {
    padding: 0 0 40px;
}
@media screen and (max-width: 1024px) {
    .innner-wap .swiper-slide {
        background-size: cover;
    }
    .innner-wap .wap-small-title {
        padding-top: 80px;
    }
    .innner-wap .banner-text-title {
        padding: 0 0 24px;
    }
}
@media screen and (min-width: 835px) and (max-width: 1024px) {
    .innner-wap.swiper-container {
        margin-bottom: 40px;
    }
}

.innner-pc  .banner-text-title, .innner-pc .banner-text-content {
    max-width:600px;
}

/* liquidity-pool */
#liquidity-pool h3 {
    margin-bottom: 16px;
}
#liquidity-pool p {
    margin-bottom: 40px;
}
@media screen and (min-width: 835px) {
    #liquidity-pool p:last-child {
        margin-bottom: 0;
    }
}
@media screen and (min-width: 1025px) {
    #liquidity-pool .container {
        max-width: 1480px !important;
    }
    #liquidity-pool h3 {
        margin-bottom: 24px;
    }
    #liquidity-pool .column:first-child {
        padding-top: 80px;
    }
}
@media screen and (max-width: 834px) {
    #liquidity-pool {
        text-align: center;
    }
}

/* market-analysis */
#market-analysis {
    padding: 80px 0 0;
}

#market-analysis h2 {
    margin-bottom: 16px;
}
#market-analysis p {
    margin-bottom: 40px;
}
@media screen and (min-width: 1025px) {
    #market-analysis h2 {
        margin-bottom: 24px;
    }
    #market-analysis p {
        max-width: 800px;
        margin: 0 auto; /* 0 auto 80px */
    }
}

/* failover-support */
#failover-support {
    padding-top: 0;
}
#failover-support h3 span {
    font-weight: bold;
}
#failover-support h3, #failover-support h4 {
    margin-bottom: 16px;
}
#failover-support p {
    margin-bottom: 16px;
}
#failover-support figure {
    margin: 0 -32px 0 -32px;
}
@media screen and (min-width: 1025px) {
    #failover-support {
        height: 777px; /* 850px */
        background: transparent url('../images/pricing-model/Auto-Failover-Support.jpg') no-repeat scroll center bottom / 1750px 777px;
        padding-bottom: 0;
    }
    #failover-support .container {
        position: relative;
        top: 164px;
    }
    #failover-support .content-wrapper {
        max-width: 517px;
        margin-left: auto;
    }
    #failover-support h3 {
        margin-bottom: 40px;
    }
    #failover-support h4 {
        margin-bottom: 24px;
    }
}
@media screen and (min-width: 1281px) {
    #failover-support .content-wrapper {
        margin-right: calc(1 / 12 * 100%);
    }
}
@media screen and (max-width: 1024px) {
    #failover-support {
        text-align: center;
    }
}

/* low-spread-trading */
#low-spread-trading h2 {
    margin-bottom: 40px;
}
#low-spread-trading p {
    margin-bottom: 8px;
}
@media screen and (min-width: 835px) and (max-width: 1024px) {
    #low-spread-trading ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        text-align: center;
        margin-bottom: 16px;
    }
    #low-spread-trading ul li {
        box-shadow: 4px 4px 15px 0 rgba(227, 227, 227, 0.5);
        padding: 24px 16px;
    }
}
@media screen and (min-width: 1025px) {
    #low-spread-trading {
        padding-top: 0;
    }
    #low-spread-trading .container {
        max-width: 1480px !important;
    }
    #low-spread-trading .column:first-child {
        padding-top: 64px;
    }
    #low-spread-trading h2 {
        margin-bottom: 120px;
    }
    #low-spread-trading h3 {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 834px) {
    #low-spread-trading .columns {
        margin: 0;
    }
    #low-spread-trading .column {
        padding: 0;
    }
    #low-spread-trading .column:first-child {
        position: relative;
        margin-bottom: 72px;
    }
    #low-spread-trading .swiper-content {
        box-shadow: 4px 4px 15px 0 rgba(227, 227, 227, 0.5);
        padding: 24px 16px;
    }
    #low-spread-trading h3 {
        font-weight: bold;
    }
}

/* barchart & legends */
#pricing-model-barchart {
    margin-bottom: 8px;
}
#pricing-model-barchart, .legend-top, .legend-bottom {
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    color: var(--color-icon-03);
}
.legend-top p {
    margin-bottom: 12px !important;
}
.legend-top p:first-child {
    color: var(--color-brand-standard);
}
.legend-bottom {
    text-align: right;
    margin-bottom: 0 !important;
}
@media screen and (min-width: 835px) {
    #pricing-model-barchart {
        margin-bottom: 24px;
    }
    #pricing-model-barchart, .legend-top, .legend-bottom {
        font-size: 14px;
        line-height: 21px;
    }
    #pricing-model-barchart, .legend-top p:first-child {
        font-size: 16px;
        line-height: 24px;
    }
    .legend-top p {
        margin-bottom: 16px !important;
    }
}

/* barchart row */
#pricing-model-barchart .row {
    display: flex;
}

/* barchart logo */
#pricing-model-barchart .logo {
    width: 83px;
    height: 24px;
    background: transparent no-repeat scroll center / contain;
    margin: 0 16px 20px 0;
}
html[lang="ug"] #pricing-model-barchart .logo {
    margin: 0 0 20px 16px;
}
#pricing-model-barchart .row.first .logo {
    margin-top: 3px;
}
#pricing-model-barchart .row.last .logo {
    margin-bottom: 2px;
}
#pricing-model-barchart .dp .logo {
    background-image: url("../images/pricing-model/prime.svg");
}
#pricing-model-barchart .cmarkets .logo {
    background-image: url("../images/pricing-model/markets.svg");
}
#pricing-model-barchart .fxcm .logo {
    background-image: url("../images/pricing-model/fxcm.svg");
}
#pricing-model-barchart .ig .logo {
    background-image: url("../images/pricing-model/ig.svg");
}
#pricing-model-barchart .gain .logo {
    background-image: url("../images/pricing-model/gain.svg");
}
#pricing-model-barchart .swissguote .logo {
    background-image: url("../images/pricing-model/swissquote.svg");
}
@media screen and (min-width: 835px) {
    #pricing-model-barchart .logo {
        width: 160px;
        height: 46px;
        margin: 0 40px 42px 0;
    }
    html[lang="ug"] #pricing-model-barchart .logo {
        width: 160px;
        height: 46px;
        margin: 0 0 42px 40px;
    }
    #pricing-model-barchart .row.first .logo {
        margin-top: 12px;
    }
    #pricing-model-barchart .row.last .logo {
        margin-bottom: 12px;
    }
}

/* barchart line */
#pricing-model-barchart .cell {
    display: flex;
    flex: 1;
    position: relative;
}
#pricing-model-barchart .line {
    flex: 1;
    border-left: 1px solid #e4e4e4;
}
#pricing-model-barchart .line.last {
    border-right: 1px solid #e4e4e4;
}

/* barchart outer & inner bar */
#pricing-model-barchart .inner-bar,
#pricing-model-barchart .outer-bar {
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #e4e4e4;
}
#pricing-model-barchart .row.first .inner-bar,
#pricing-model-barchart .row.first .outer-bar {
    top: 12px;
}
#pricing-model-barchart .outer-bar {
    width: 0;
    background-color: #16a0ff;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@media screen and (min-width: 835px) {
    #pricing-model-barchart .inner-bar,
    #pricing-model-barchart .outer-bar {
        top: 13px;
        height: 20px;
    }
    #pricing-model-barchart .row.first .inner-bar,
    #pricing-model-barchart .row.first .outer-bar {
        top: 25px;
    }
}

html[lang="ug"] #pricing-model-barchart .outer-bar {
    right: 0;
}

/* barchart value */
#pricing-model-barchart .value {
    width: 21px;
    text-align: right;
    margin-top: 6px;
    line-height: 10px;
}
#pricing-model-barchart .row.first .value {
    margin-top: 11px;
}
#pricing-model-barchart .axis > p {
    line-height: 10px;
    margin-bottom: 0;
}
html[lang="ug"] #pricing-model-barchart .value {
    padding-right: 8px;
}
@media screen and (min-width: 835px) {
    #pricing-model-barchart .value {
        width: 29px;
        margin-top: 13px;
        line-height: 20px;
    }
    #pricing-model-barchart .row.first .value {
        margin-top: 25px;
    }
    html[lang="ug"] #pricing-model-barchart .value {
        padding-right: 15px;
    }
}

/* barchart axis */
#pricing-model-barchart .axis {
    height: 28px;
}
#pricing-model-barchart .axis .logo {
    background-image: none;
    margin: 0 5px 0 0;
    height: 20px;
}
#pricing-model-barchart .axis span {
    flex: 1;
    margin-top: 8px;
}
#pricing-model-barchart .axis .value {
    margin-top: 8px;
    text-align: left;
}
@media screen and (min-width: 835px) {
    #pricing-model-barchart .axis .logo {
        margin: 0 40px 0 0;
    }
}

/* barchart animation code */
@keyframes dp {
    from {width: 0%;}
    to {width: 24%;}
}

@keyframes cmarkets {
    from {width: 0%;}
    to {width: 30%;}
}

@keyframes fxcm {
    from {width: 0%;}
    to {width: 70%;}
}

@keyframes ig {
    from {width: 0%;}
    to {width: 80%;}
}

@keyframes gain {
    from {width: 0%;}
    to {width: 60%;}
}

@keyframes swissguote {
    from {width: 0%;}
    to {width: 90%;}
}

/* real-time-quotes */
#real-time-quotes h2 {
    margin-bottom: 16px;
}
@media screen and (min-width: 835px) {
    #real-time-quotes .column:first-child {
        order: 1;
    }
}
@media screen and (min-width: 835px) and (max-width: 1024px) {
    #real-time-quotes .columns {
        align-items: center;
    }
}
@media screen and (min-width: 1025px) {
    #real-time-quotes {
        padding-bottom: 160px;
    }
    #real-time-quotes .column:first-child {
        padding-top: 9%;
        padding-right: calc(1 / 12 * 100%);
    }
    #real-time-quotes h2 {
        margin-bottom: 24px;
    }
}
@media screen and (max-width: 834px) {
    #real-time-quotes {
        text-align: center;
        padding-bottom: 80px;
    }
    #real-time-quotes p {
        margin-bottom: 16px;
    }
}

/* fast-execution */
#fast-execution {
    background-color: #f9fbfd;
    padding-bottom: 72px;
}
#fast-execution h2 {
    margin-bottom: 40px;
}
#fast-execution .swiper-content, #fast-execution .content-wrapper {
    border-radius: 6px;
    box-shadow: 4px 4px 15px 0 rgba(227, 227, 227, 0.5);
    background-color: var(--color-icon-01);
    padding: 40px 0;
}
#fast-execution h3 {
    font-weight: bold;
    margin-bottom: 40px;
}
#fast-execution img {
    margin-bottom: 40px;
}
#fast-execution h4 {
    margin-bottom: 16px;
}
#fast-execution p {
    color: var(--color-brand-Auxiliary);
}
@media screen and (min-width: 1025px) {
    #fast-execution {
        padding: 120px 0;
    }
    #fast-execution .content-wrapper {
        padding: 80px 0;
    }
    #fast-execution h2 {
        margin-bottom: 80px;
    }
    #fast-execution h3 {
        margin-bottom: 64px;
    }
    #fast-execution h4 {
        margin-bottom: 24px;
    }
}
@media screen and (max-width: 834px) {
    #fast-execution img {
        width: 80px;
        height: 80px;
    }
}