﻿html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100%;
}

body {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    /*-webkit-transform: translate3d(0, 0, 0);*/
    -webkit-transform: none;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1em;
    color: #303246;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
}

a:hover {
    text-decoration: none;
}

/**
 * Header
 */

/* Header > Banner */

.banner--background {
    /*width: 100%;*/
    max-width: 1440px;
    height: 624px;
    /*margin: 0;*/
    padding: 0;
    background-image: url('../../assets/images/slideshow/banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center right;
    color: #fff;
}

    .banner--background .container-fluid {
        padding: 0;
    }

        .banner--background .container-fluid,
        .banner--background .container-fluid .container-fluid {
            background: rgba(0, 0, 0, 0.5);
            padding: 0;
        }

.banner-inner-container {
    display: table;
    width: 100%;
    height: 100%;
}

/* Header > Links */

header a {
    color: #fff;
}

    header a:hover {
        color: #f00;
    }

/* Header > Section */

.header-section {
    display: table-row;
    width: 100%;
}

/* Header > Containers */

.container.header--top,
.container.header--bottom {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

/* Header > Container > Top */

.container-fluid.header--top-wrapper {
    z-index: 10;
    position: relative;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.88);
}

.container.header--top p {
    margin: 0;
}

/* Header > Container > Top > Contact phone */

.container.header--top .contact--phone img {
    margin-right: 0.25em;
}

/* Header > Container > Top > Options */

.container.header--top .header--top-opts span:nth-child(1),
.container.header--top .header--top-opts span:nth-child(2) {
    margin-right: 1.75em;
}

.container.header--top .header--top-opts span:nth-child(3) {
    margin-right: 0.25em;
}

    .container.header--top .header--top-opts span:nth-child(3) i {
        vertical-align: middle;
    }

/* Header > Container > Bottom */

.container.header--bottom {
    z-index: 0;
}

    /* Header > Container > Bottom > Logo */

    .container.header--bottom .header-logo {
        position: relative;
        z-index: 5;
    }

        .container.header--bottom .header-logo p {
            display: inline-block;
        }

    /* Header > Container > Bottom > Menu */

    .container.header--bottom .header--menu-container {
        margin-left: 3em;
    }

    .container.header--bottom .header--menu-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .container.header--bottom .header--menu-list li {
            text-transform: uppercase;
            font-size: 1rem;
        }

        .container.header--bottom .header--menu-list .list-inline-item:not(:last-child) {
            margin-right: 1.25em;
        }

/* Responsive menu > Toggle button label */

input[id=toggle--menu] {
    display: none;
}

/* Header > Container > Bottom > Search & Buttons */

.header--bottom-opts {
    z-index: 0;
    width: 20.5em;
    margin-right: 15px;
    padding: 0;
    ms-flex: 0 0 20.5em;
    flex: 0 0 20.5em;
}

    .header--bottom-opts span .btn {
        padding-right: 2.25em;
        padding-left: 2.25em;
        border-radius: 0.125em;
        text-transform: uppercase;
        font-size: 0.875rem;
    }

    .header--bottom-opts span.opts--country {
        display: none;
    }

    .header--bottom-opts span.opts--search {
        margin-right: 1.625em;
    }

    .header--bottom-opts span.button--sign-up {
        margin-right: 1.25em;
    }

/* Header > Container > Caption */

.header--caption {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

    .header--caption h1 {
        max-width: 75%;
        font-size: 3rem;
    }

/**
 * Main
 */

main.container-fluid {
    padding: 0;
}

/**
 * Section
 */

.section {
    display: block;
    margin: 2em 0 4.5em;
}

    .section ~ .section {
        border-top: 1px solid #d8d8d8;
        margin-top: 4.5em;
        padding-top: 4.5em;
    }

    .section h1 {
        margin-bottom: 1em;
        font-weight: 400;
        font-size: 1.75rem;
        color: #4a4a4a;
    }

    .section h2 {
        margin-bottom: 0.75em;
        font-size: 1.75rem;
        color: #000;
    }

    /* Section Help */

    .section.section--help {
        margin-bottom: 0;
    }

        .section.section--help + .section {
            margin-top: -2em;
            border: 0;
            padding: 0;
        }

/* Main > Dropdown > Instruments */

.instruments {
    width: 17.5em;
    margin-right: -15px;
    margin-left: -15px;
}

    .instruments .dropdown-item {
        margin: 0.5em 0;
        cursor: pointer;
    }

.instrument {
    display: block;
}

    .instrument span {
        display: inline-block;
        vertical-align: middle;
        font-size: 1.125rem;
    }

        .instrument span.flag {
            font-weight: 700;
            color: #3a3f61;
            width: 95px;
        }

            .instrument span.flag img {
                margin-right: 0.5em;
                vertical-align: sub;
                margin-left: 10px;
                width:32px;
                height:24px;
            }

        .instrument span.arrow {
            margin: 0 0.75em;
            color: #5e65a0;
        }

/* Main > Filtering header */

.container-fx-chart {
    margin-top: 2em;
}

    .container-fx-chart .fx-chart-options-full {
        margin-right: -15px;
        margin-left: -15px;
    }

        .container-fx-chart .fx-chart-options-full .instruments {
            margin-right: 0;
            margin-left: 0;
            border-bottom: 1px solid #979797
        }

/* Main > Filtering Convert List to Dropdown*/

.list2dropdown .dropdown-menu .dropdown-item {
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    /*font-size: 0.875rem;*/
}

    .list2dropdown .dropdown-menu .dropdown-item,
    .list2dropdown .dropdown-menu .dropdown-item a {
        color: #9b9b9b;
    }

        .list2dropdown .dropdown-menu .dropdown-item.selected {
            border-bottom: 2px solid #d25966;
            font-weight: 700;
        }

            .list2dropdown .dropdown-menu .dropdown-item.selected a {
                color: #393C4F;
            }

        .list2dropdown .dropdown-menu .dropdown-item a.selected,
        .list2dropdown .dropdown-menu .dropdown-item a:hover {
            color: #3a3f61;
        }

.list2dropdown .list-inline-item:hover {
    background: none;
}

.list2dropdown .list-inline-item:not(:last-child) {
    margin-right: 1.35em;
}

/* Main > Filtering header > Common */

.container-fx-chart .col {
    padding: 0;
    min-height: 2.5em;
}

.container-fx-chart .dropdown-menu {
    border: 0;
    box-shadow: 0 3px 8px 4px rgba(183, 183, 183, 0.25);
}

    .container-fx-chart .dropdown-menu.no-shadow {
        box-shadow: none;
    }

/* Main > Filtering header > Left */

/* Main > Filtering header > Right */

.filtering--header-right {
    margin-left: 1em;
    width: 15em;
    ms-flex: 0 0 15em;
    flex: 0 0 15em;
    border-bottom: 1px solid #979797;
}

.container-fx-chart .btn-group {
    width: 100%;
}

    .container-fx-chart .btn-group-vertical > .btn,
    .container-fx-chart .btn-group > .btn {
        -webkit-box-flex: 0;
        -ms-flex: 0 1 100%;
        flex: 0 1 100%;
    }

    .container-fx-chart .btn-group > .btn {
        position: relative;
        border: 0;
        background: none;
        text-align: left;
        color: #000;
    }

        .container-fx-chart .btn-group > .btn:active,
        .container-fx-chart .btn-group > .btn:active:focus,
        .container-fx-chart .btn-group > .btn:visited,
        .container-fx-chart .btn-group > .btn:focus {
            outline: none;
            border: 0;
            background: none;
            box-shadow: none;
            color: inherit;
        }

.container-fx-chart .dropdown-toggle::after, .container-fx-chart .dropdown-toggle-timescale::after, .container-fx-chart .dropdown-toggle-instrument::after {
    position: absolute;
    top: -0.4em;
    right: 0.85em;
    border: 0;
    content: "\f107";
    font-family: 'FontAwesome', sans-serif;
    font-size: 3rem;
    color: #ed1944;
}

.container-fx-chart .dropdown-menu {
    width: 100%;
    border-radius: 0;

}
    .container-fx-chart .dropdown-menu.show {
        margin: .125rem 0 0 -5px;
    }

    .container-fx-chart .dropdown-menu ul {
        margin: 0;
        padding: 0;
    }

    .container-fx-chart .dropdown-menu .instruments {
        padding-left: 4px;
    }

    .container-fx-chart .dropdown-menu ul li a {
        display: block;
        color: #303246;
    }

        .container-fx-chart .dropdown-menu ul li a:hover {
            color: #ed1944;
        }

.container-fx-chart .dropdown-item {
    padding: 0.25rem 0.5rem;
}

.container-fx-chart .list-inline-item .instrument span.flag img {
    margin-right: 0.5em;
    vertical-align: sub;
    max-height: 24px;
    margin-left: 10px;
}

.container-fx-chart .dropdown-item.active,
.container-fx-chart .dropdown-item:active {
    background: #fff;
    color: #ed1944 !important;
}

.container-fx-chart .fx-chart {
    margin-top: 3em;
    margin-right: -15px;
    margin-left: -15px;
    padding: 0;
}

/* Main > Dropdown > Timescale */

.timescale a {
    color: #393C4F;
}

.charttype a {
    color: #393C4F;
}

/**
 * NFSC
 */

.nfsc-fx-chart,
.nfsc-fx-chart canvas {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nfsc-fx-chart {
    position: relative;
    display: block;
}

/* Cards */
.row--cards {
    margin-bottom: 6em;
}

    .row--cards .card {
        border-radius: 0;
        border: 0;
        border-top: 5px solid #ed1944;
    }

        .row--cards .card,
        .row--cards .card img,
        .row--cards .card-footer .btn {
            border-radius: 0;
        }

    .row--cards .card-block {
        margin: 2em 0 1em;
    }

        .row--cards .card-block h3 {
            margin-bottom: 1em;
        }

    .row--cards .card-footer {
        border: 0;
        padding: 0;
        background: none;
    }

        .row--cards .card-footer .btn {
            padding: 0.75em 1.75em;
            font-weight: 700;
        }

        .row--cards .card-footer a {
            color: #ed1944;
        }

            .row--cards .card-footer a:hover {
                color: #fff;
            }

/**
 * Footer
 */

footer {
}

/* Footer > Container > Top */

.footer--top {
    padding-top: 3em;
    padding-bottom: 2em;
    background: #edeff3;
    color: #393c4f;
}

/* Footer > Container > Top > Socials */

.row--socials {
    margin: 1.5em 0 2em;
}

    .row--socials li:not(:last-child) {
        margin-right: 4em;
    }

    .row--socials span {
        display: table;
        width: 2.5em;
        height: 2.5em;
        line-height: 2.5em;
        border-radius: 100%;
        background: #2d2d37;
        color: #fff;
        text-align: center;
    }

        .row--socials span a {
            font-size: 1.5rem;
            display: table-cell;
            vertical-align: middle;
            color: #fff;
        }

.footer--top p.heading {
    margin-bottom: 1.5em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ed1944;
}

/* Footer > Container > Top > Lists */

.footer--top .row--menus {
    margin-right: 50px;
    margin-bottom: 1em;
    margin-left: 50px;
}

    .footer--top .row--menus ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .footer--top .row--menus ul li {
            margin-bottom: 0.625em;
        }

            .footer--top .row--menus ul li:last-child {
                margin-bottom: 0;
            }

        .footer--top .row--menus ul.heroes li {
            text-transform: uppercase;
            font-weight: 700;
            color: #ed1944;
        }

/* Footer > Container > Bottom */

.footer--bottom {
    padding-top: 3em;
    padding-bottom: 2em;
    background: #393c4f;
    color: #fff;
}

    .footer--bottom p {
        font-size: 0.875rem;
    }

        .footer--bottom p.comodo-secure {
            margin-bottom: 2.5em;
        }

/**
 * Media Queries
 */

/* (xs) Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Header > Banner */
    .banner--background {
        height: 360px;
    }

    /* Footer > Container > Top > Socials */
    .row--socials li:not(:last-child) {
        margin-right: 1em;
    }

    /* Footer > Container > Top > Lists */
    footer .row--menus [class*="col"] ul li {
        font-size: 0.875rem;
    }

    .footer--top p.heading {
        margin-bottom: 0.625em;
    }

    /* Footer > Container > Bottom */
    .footer--bottom [class*="col"]:first-child,
    .footer--bottom [class*="col"]:last-child {
        display: none;
    }

    .footer--bottom [class*="col"].footer--text {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Header > Container > Caption */
    .header--caption h1 {
        max-width: 100%;
        font-size: 1.5rem;
    }

    /* Main > Filtering header > Right */
    .container-fx-chart .col {
        width: 47.5%;
        ms-flex: 0 0 47.5%;
        flex: 0 0 47.5%;
    }

        .container-fx-chart .col.filtering--header-right {
            margin-left: 5%;
        }

    /* Main > Dropdown > Instruments */
    .instruments {
        width: 100%;
    }
}

/* (sm) Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Header > Banner */
    .banner--background {
        height: 360px;
    }

    /* Header > Container > Caption */
    .header--caption h1 {
        max-width: 90%;
        font-size: 1.75rem;
    }

    /* Footer > Container > Top > Socials */
    .row--socials li:not(:last-child) {
        margin-right: 2em;
    }

    /* Frist Dropdown flags*/
    .btn-group .btn-flags {
        padding: 5px 50px 5px 0;
    }
}

@media (min-width: 576px) {
}

@media (max-width: 767.98px) {
    /* Header > Container > Top > Options */
    .header--top-wrapper {
        visibility: hidden;
        height: 0;
    }

    /*#countrySelector {
		position: absolute;
		visibility: visible;
		top: 0.875em;
		right: 1.25em;
	}*/
    /* Responsive menu > Toggle button label */
    label.toggle--menu {
        top: 3.3em;
        left: 6.875em;
    }

    /* Responsive menu > Navigation list */
    input[id=toggle--menu]:checked + nav {
        top: 4.5em;
    }

    /* Header > Container > Bottom > Search & Buttons */
    .header--bottom-opts {
        margin-right: 4.5em;
        width: 4.5em;
        ms-flex: 0 0 4.5em;
        flex: 0 0 4.5em;
    }

        .header--bottom-opts span.opts--country {
            display: inline-block;
            margin-right: 1.125em;
        }

        .header--bottom-opts span.opts--search {
            margin-right: 0;
        }

        .header--bottom-opts .button--sign-up,
        .header--bottom-opts .button--login {
            display: none;
        }

    /* Header > Container > Bottom */
    .container.header--bottom {
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    /* Cards */
    .row--cards .card-block h3 {
        font-size: 1.5rem;
    }
}

/* (md) Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Header > Banner */
    .banner--background {
        height: 360px;
    }

    /* Responsive menu > Toggle button label */
    label.toggle--menu {
        top: 3.3em;
        left: 22.85em;
    }

    /* Responsive menu > Navigation list */
    input[id=toggle--menu]:checked + nav {
        top: 7em;
    }

    /* Header > Container > Bottom > Search & Buttons */
    .header--bottom-opts {
        margin-right: 4em;
    }

    /* Header > Container > Caption */
    .header--caption h1 {
        max-width: 85%;
        font-size: 2rem;
    }

    /* Footer > Container > Top > Socials */
    .row--socials li:not(:last-child) {
        margin-right: 3em;
    }
}

@media (max-width: 899.98px) {
    /* Main > Filtering header > Left */
    .filtering--header-left {
        border-bottom: 1px solid #979797;
    }

        .filtering--header-left .dropdown-menu {
            border: 0;
            box-shadow: 0 3px 8px 4px rgba(183, 183, 183, 0.25) !important;
        }

    /* Main > Filtering Convert List to Dropdown*/
    .list2dropdown .dropdown-menu .dropdown-item {
        margin: 0;
        border-bottom: 0;
        padding: 0.25rem 0.5rem;
        text-transform: inherit;
        letter-spacing: 0;
        font-weight: 400;
    }

        .list2dropdown .dropdown-menu .dropdown-item,
        .list2dropdown .dropdown-menu .dropdown-item a {
            color: #303246;
        }

            .list2dropdown .dropdown-menu .dropdown-item:hover {
                background-color: #f8f9fa;
            }

            .list2dropdown .dropdown-menu .dropdown-item a:hover {
                color: #ed1944;
            }
}

@media (min-width: 900px) {
    /* Main > Filtering header */
    .fx-chart-options-full .btn-group > .btn {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    /* Main > Filtering Convert List to Dropdown*/
    .list2dropdown .btn-group > .btn {
        display: none;
    }

    .list2dropdown .dropdown-menu {
        display: block;
        position: relative;
        top: inherit;
        left: inherit;
        float: initial;
        min-width: auto;
        border: 0;
        /*padding: 0;*/
        background: none;
    }

        .list2dropdown .dropdown-menu .dropdown-item {
            display: inline-block;
            width: auto;
        }
}

@media (max-width: 991.98px) {
    /* Header > Container > Top > Options */
    .container.header--top .header--top-opts span#slideTop {
        display: none;
    }

    /* Header > Container > Bottom > Menu */
    .container.header--bottom .header--menu-list {
        display: none;
        padding: 0;
    }

    .container.header--bottom .header--menu-container {
        position: absolute;
        top: -3em;
        right: 1em;
    }

    /* Responsive menu > Toggle button label */
    label.toggle--menu {
        position: absolute;
        margin: 0;
        padding: 0;
        text-align: right;
        cursor: pointer;
    }

        label.toggle--menu:after {
            content: "\f0c9";
            font-family: 'FontAwesome', sans-serif;
            font-size: 2em;
            color: #d3d3d3;
        }

    /* Responsive menu > Navigation list */
    input[id=toggle--menu]:checked + nav {
        position: fixed;
        left: 0;
        width: 100%;
    }

        input[id=toggle--menu]:checked + nav .header--menu-list {
            display: block;
            padding: 1em;
            box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.88);
            background: rgba(0, 0, 0, 0.5);
        }

            input[id=toggle--menu]:checked + nav .header--menu-list li {
                /* display: block; */
            }

    /* Footer > Container > Top > Lists */
    footer .row--menus [class*="col"] ul {
        margin-bottom: 2em;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .container {
        max-width: 100% !important;
    }
}

/* (lg) Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Header > Banner */
    .banner--background {
        height: 480px;
    }

    /* Footer > Container > Top > Socials */
    .row--socials li:not(:last-child) {
        margin-right: 4em;
    }
}

/* (xl) Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
