/* download button */
.btn-wrapper {
    position:relative;
    display: inline-block;
    cursor:pointer;
    margin-bottom: 100px;
    z-index: 2;
}
.btn-wrapper button {
    background-color: var(--color-btn-primary-default);
    border-color: var(--color-btn-primary-default);
    color: var(--color-bg-general-01);
    font-size: 16px;
    font-weight: 400;
    font-stretch: normal;
    font-style: normal;
    line-height: 22px;
    letter-spacing: 1.5px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid transparent;
    min-width: 180px;
    min-height: 56px;
    padding: 16px;
    position: relative;
    cursor:pointer
}
.btn-wrapper:hover .dropdown,
.btn-wrapper button:hover,
.dropdown:hover {
    display:block;
}
.btn-wrapper button .arrow{
    position:absolute;
    right: 9px;
    top: 50%;
    margin-top: -3.5px;
    width: 0;
    height: 0;
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-top: 7px solid white;
    
}
.btn-wrapper:hover .arrow,
.btn-wrapper button:hover .arrow,
.dropdown:hover ~ button .arrow {
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-bottom: 7px solid white;
    border-top:0;
}
.btn-wrapper .dropdown {
    padding-left:0;
    list-style: none;
    position:absolute;
    left: 100%;
    top: 62px;
    margin-left: -30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px 0 rgba(209, 209, 209, 0.5);
    background-color: #fff;
    padding:18px 0;
    width: 160px;
}
.btn-wrapper .dropdown li {
    margin-bottom:24px;
    text-align: left;
}
.btn-wrapper .dropdown li a {
    padding: 0 28px 0 24px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color:#000018;
    position:relative;
}
.btn-wrapper .dropdown li a span {
    position:absolute;
    right: -38px;
    top: -12px;
    color:#fff;
    border-radius: 5px 5px 5px 0;
    background: rgb(255,119,42);
    background: linear-gradient(90deg, rgba(255,119,42,1) 0%, rgba(224,32,32,1) 100%);  
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.2px;
    padding: 2px 8px;
}
.btn-wrapper .dropdown li:last-child {
    margin-bottom:0px;
}
.btn-wrapper .dropdown li img {
    margin-right:10px;
    width:24px;
    display: inline-block;
    vertical-align: -5px;
}
#banner .text-wrapper {
    padding: 40px 0 46px;
}
.btn-wrapper {
    margin-bottom:0;
}
.btn-wrapper .dropdown {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    margin: 0 auto;
    background: none;
    box-shadow: none;
    width:174px;
    padding: 0;
}
.btn-wrapper:hover, .btn-wrapper .dropdown:hover {
    cursor:initial;
}
.btn-wrapper .dropdown li {
    margin-bottom: 33px;
}
.btn-wrapper .dropdown li a {
    display:block;
    padding:7px 24px;
    border-radius: 20px;
    border: solid 1px #000018;
    background-color: #fff;
    display: flex;
    justify-content: center;
}
.btn-wrapper .dropdown li a img {
    margin-right: 8px;
}

.btn-wrapper .dropdown li a img:last-child {
    margin-right:0;
    margin-left:8px;
}


@media screen and (min-width: 834px) {
    .btn-wrapper {
        margin-bottom:68px;
    }
    .btn-wrapper .dropdown {
        width: 100%;
    }
    .btn-wrapper .dropdown li:first-child {
        margin-right:45px;
    }
    .btn-wrapper .dropdown li {
        display: inline-block;
    }
    html[lang="ar"] .btn-wrapper .dropdown li:first-child {
        margin-left:45px;
        margin-right:inherit;
    }
   
}
@media screen and (max-width: 833px) {
    .btn-wrapper {
        margin-top: -65px;
    }
    html[lang="ar"] .btn-wrapper {
        margin-top: inherit;
    }
    html[lang="ar"] .btn-wrapper .dropdown li a img {
        margin-right: inherit;
        margin-left: 8px;
        height: 24px;
        margin-top: -2px;
    }
    html[lang="ar"] .btn-wrapper .dropdown li:first-child {
        margin-right:inherit;
        max-width: 139px;
        margin: 0 auto 33px;
    }
    html[lang="ar"] .btn-wrapper .dropdown li a img:last-child {
        margin-right: 8px;
        margin-left: inherit;
    }
    html[lang="ar"] .btn-wrapper .dropdown li a{
        padding: 7px 24px 4px;
    }
}
html[lang="ar"] .btn-wrapper .dropdown li a span {
    left: -38px;
    right: inherit;
}

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

/* font */
h1.title,
h2.subtitle,
p.subtitle {
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: var(--color-brand-Auxiliary);
}
h3.title {
    font-size: 28px;
    font-weight: normal;
    line-height: 38px;
    color: var(--color-brand-Auxiliary);
    margin-bottom: 24px;
}
p.subtitle {
    margin-bottom: 40px !important;
}
h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 26px;
    color: var(--color-brand-Auxiliary);
}
p.subtitle, p, ul li {
    color: var(--color-brand-Auxiliary);
}
@media screen and (min-width: 1025px) {
    h3.title {
        font-size: 48px;
        font-weight: 300;
        line-height: 64px;
    }
    p.subtitle {
        margin-bottom: 80px !important;
    }
    h4 {
        font-size: 28px;
        line-height: 38px;
    }
}

/* swiper */
.swiper {
    overflow: hidden;
}
.swiper-slide {
    padding: 0 16px;
}
.swiper-pagination {
    bottom: -48px !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 */
#banner {
    margin-top: -80px;
    padding-top: 120px;
}
#banner .desktop-bg {
    display: none;
}
#banner .title {
    margin-bottom: 8px;
}
#banner .logo {
    margin: 0 auto 16px;
}
#banner .subtitle {
    margin-bottom: 40px;
}
@media screen and (min-width: 835px) {
    #banner {
        background: #F5F6FB url('../images/intrade/intrade-banner.webp') no-repeat scroll center / cover;
        margin: -120px auto 80px;
        padding-top: 200px;
        padding-bottom: 100px;
        position: relative;
    }
    #banner {
        /* background: #F5F6FB; */
    }
    #banner .banner-items {
        z-index: 1;
        position: relative;
    }
    #banner .desktop-bg {
        display: none;
        position: absolute;
        width: 1550px;
        height: auto;
        left: -20%;
        top: 64%;
        transform: translateY(-50%);
        z-index: 0;
    }
    #banner .wrapper {
        padding-left: calc(7 / 12 * 100%);
    }
    #banner .title {
        margin-bottom: 16px;
    }
    #banner .logo {
        max-width: 240px;
        margin-bottom: 24px;
    }
    #banner .subtitle {
        margin-bottom: 56px;
    }
}
@media screen and (min-width: 1025px) {
    #banner {
        height: 850px;
        padding-top: 280px;
    }
    #banner .wrapper {
        padding-right: calc(1 / 12 * 100%);
    }
    #banner .logo {
        max-width: 100%;
    }
    #banner .subtitle {
        margin-bottom: 33px;
    }
}
@media screen and (max-width: 834px) {
    #banner .wrapper > * {
        text-align: center;
    }
    #banner .desktop-bg {
        display: none;
    }
    #banner .title {
        font-weight: bold;
    }
    #banner .logo {
        display: block;
        max-width: 177px;
        max-height: 42px;
    }
    #banner .image {
        margin: 0 -16px 40px -16px;
    }
    #banner .buttons {
        justify-content: center;
        display: none;
    }
}

/* trading-needs */
#trading-needs img {
    margin-bottom: 40px;
}
#trading-needs h4 {
    margin-bottom: 24px;
}
@media screen and (min-width: 1025px) {
    #trading-needs .columns {
        margin-left: -30px;
        margin-right: -30px;
    }
    #trading-needs .column {
        padding: 12px 30px;
    }
}
@media screen and (max-width: 834px) {
    #trading-needs {
        padding-bottom: 72px;
    }
}

/* professional-interface */
#professional-interface img {
    margin-bottom: 24px;
}
#professional-interface h4 {
    margin-bottom: 24px;
}
@media screen and (min-width: 835px) {
    #professional-interface img {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 834px) {
    #professional-interface .column:not(:last-child) {
        margin-bottom: 16px;
    }
}

/* powerful-technology */
#powerful-technology {
    padding-bottom: 72px;
}
#powerful-technology h4 {
    margin-bottom: 24px;
}
@media screen and (min-width: 1025px) {
    #powerful-technology {
        padding-bottom: 226px;
    }
}
@media screen and (min-width: 1241px) {
    #powerful-technology .column.middle {
        margin-top: 120px;
    }
}
@media screen and (max-width: 834px) {
    #powerful-technology .image {
        margin-top: -16px;
    }
    #powerful-technology img {
        margin-bottom: 40px;
    }
}

/* trading-analysis */
#trading-analysis p.subtitle {
    margin-bottom: 48px !important;
}
#trading-analysis h4 {
    margin-bottom: 24px;
}
#trading-analysis ul li:not(:last-child) {
    margin-bottom: 40px;
}
@media screen and (min-width: 835px) {
    #trading-analysis {
        background-color: #1e1e27;
        padding: 80px 0;
    }
    #trading-analysis .columns {
        max-width: 1328px;
        margin: 0 auto;
    }
    #trading-analysis .column:first-child {
        margin-right: 48px;
    }
    #trading-analysis h3.title,
    #trading-analysis p.subtitle,
    #trading-analysis h4,
    #trading-analysis p {
        color: var(--color-icon-01);
    }
    #trading-analysis h4 {
        margin-bottom: 16px;
    }
}
@media screen and (min-width: 1025px) {
    #trading-analysis {
        padding: 228px 0;
    }
}
@media screen and (max-width: 834px) {
    #trading-analysis p.subtitle {
        margin-bottom: 24px !important;
    }
    #trading-analysis .image {
        margin-left: -16px;
        margin-right: -16px;
    }
    #trading-analysis .column:first-child {
        margin-bottom: 16px;
    }
    #trading-analysis ul {
        text-align: center;
    }
}
@media screen and (max-width: 1024px) {
    #trading-analysis .column:first-child {
        align-self: center;
    }
}

/* mobile-app */
#mobile-app .swiper {
    position: relative;
}
#mobile-app .swiper-slide {
    margin-bottom: 70px;
}
#mobile-app .swiper h4 {
    margin-bottom: 24px;
}
#mobile-app .swiper p {
    margin-bottom: 40px;
}
#mobile-app .swiper-pagination {
    bottom: 67px !important
}
#mobile-app .buttons a {
    position: relative;
    border: 1px solid var(--color-brand-Auxiliary);
    border-radius: 20px;
    padding: 8px 24px;
}
#mobile-app .buttons p {
    color: var(--color-brand-Auxiliary);
    margin-bottom: 0;
    padding: 0 8px;
}
#mobile-app .buttons span {
    position: absolute;
    top: 0;
    right: 36px;
    transform: translate(100%, -50%);
    min-width: 76px;
    min-height: 18px;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    text-align: center;
    background: transparent url('../images/intrade/intrade-icon-ribbon.svg') no-repeat scroll center / contain;
    color: var(--color-icon-01);
}
.rtl #mobile-app .buttons a:not(:last-child) {
    margin-left: 48px;
}
@media screen and (min-width: 835px) {
    #mobile-app {
        padding: 0;
    }
    #mobile-app .column:first-child img {
        position: absolute;
        top: 0;
        right: 42.8%;
        z-index: -1;
    }
    #mobile-app .column:last-child {
        margin: 160px 0 256px;
    }
    #mobile-app .swiper-slide {
        margin-bottom: 110px;
    }
    #mobile-app .swiper-pagination {
        left: 12px;
        bottom: 88px !important;
        text-align: left;
    }
    .rtl #mobile-app .swiper-pagination {
        left: inherit;
        right: 12px;
        text-align: right;
    }
    #mobile-app .buttons a:not(:last-child) {
        margin-right: 48px;
    }
}
.rtl #mobile-app .column:first-child img {
    right: 0;
    top:50px;
    max-width: 554px;
}
@media screen and (min-width: 1200px) {
    #mobile-app .column:first-child img {
        right: 50%;
    }
    .rtl #mobile-app .column:first-child img{
        max-width: 700px;
    }
}
@media screen and (max-width: 834px) {
    #mobile-app p.subtitle {
        margin-bottom: 8px !important;
    }
    #mobile-app .swiper-slide {
        text-align: center;
    }
    #mobile-app .image {
        margin-left: -16px;
        margin-right: -16px;
    }
    #mobile-app .column:last-child {
        position: relative;
        z-index: 9;
        margin-top: -68%;
    }
    .rtl #mobile-app .column:last-child {
        margin-top: -20%;
    }
    #mobile-app .buttons {
        flex-direction: column;
    }
    #mobile-app .buttons a {
        min-width: 172px;
    }
    #mobile-app .buttons a:not(:last-child) {
        margin-bottom: 32px;
    }
    .rtl #mobile-app .buttons a:not(:last-child) {
        margin-left: inherit;
    }
}

.rtl #mobile-app .buttons span {
    left: -110px;
    right: inherit;
}
/* cloud-trading */
#cloud-trading h4 {
    margin-bottom: 24px;
}
#cloud-trading p {
    margin-bottom: 40px;
}
@media screen and (min-width: 835px) {
    #cloud-trading .columns {
        max-width: 1328px;
        margin: 0 auto;
    }
    #cloud-trading .column:last-child {
        flex: 0 0 65%;
    }
    #cloud-trading h4 {
        margin-bottom: 16px;
    }
    #cloud-trading p {
        margin-bottom: 80px;
    }
}
@media screen and (max-width: 834px) {
    #cloud-trading p.subtitle {
        margin-bottom: 24px !important;
    }
    #cloud-trading ul {
        text-align: center;
    }
    #cloud-trading img {
        margin-bottom: 40px;
    }
}