/* Medium Device */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .container {
        width: 970px;
    }
    .mhn-container {
        width: 970px;
    }
    .logo {
        flex-basis: 6%;
    }
    .header-end {
        flex-basis: 94%;
    }
    .menu {
        flex-basis: 58%;
    }
    .menu ul li a {
        padding: 0 10px;
    }
    .header-right {
        flex-basis: 42%;
    }
    .header-btn {
        margin: 0 10px;
    }
    .header-download a {
        font-size: 14px;
    }
    .header-btn a:nth-child(1) {
        padding: 7px 10px;
    }
    .header-btn a:nth-child(2) {
        padding: 9px 10px;
        margin-left: 3px;
    }
    .cfds-box-left {
        flex-basis: 45%;
    }
    .investment-box-left span, .investment-box-right span {
        word-break: break-word;
    }
}

/* Tablet Device */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 750px;
    }
    .mhn-container {
        width: 750px;
    }
    .header-language, .header-download {
        display: none;
    }
    .header-top {
        display: none;
    }
    .header-end {
        flex-basis: 80%;
        flex-direction: row-reverse;
        justify-content: flex-start;
        text-align: right;
    }
    .header-end .stellarnav .menu-toggle span.bars span {
        display: block;
        width: 25px;
        height: 2px;
        border-radius: 6px;
        background: #333;
        margin: 0;
    }
    .header-end .stellarnav .menu-toggle span.bars span:not(:last-child) {
        margin: 0 0 5px;
    }
    .header-end .stellarnav .menu-toggle {
        padding: 0;
    }
    .header-end .stellarnav.mobile.left>ul, .stellarnav.mobile.right>ul {
        background: #fff;
        z-index: 99;
        max-width: 100%;
        min-height: 100vh;
    }
    .stellarnav.mobile ul ul {
        margin-top: 15px;
        background: #f2f2f2;
        border-top: 1px solid #ddd;
    }
    .menu {
        margin-left: 20px;
        flex-basis: auto;
    }
    .stellarnav.mobile ul {
        position: relative;
        display: none;
        text-align: left;
        background: #f3f5f8;
    }
    .header-end .menu ul li a {
        display: flex;
        align-items: center;
        padding: 0 12px !important;
        color: var(--black-color);
        cursor: pointer;
    }
    .mhn-mobile {
        margin-left: 8px;
    }
    .stellarnav.mobile>ul>li {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }
    .stellarnav.mobile>ul>li>a.dd-toggle {
        margin-top: -14px;
    }
    .stellarnav.mobile>ul>li a img {
        max-width: 24px;
    }
    .stellarnav.mobile li li {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }
    .stellarnav.mobile li li:first-child {
        padding-top: 20px;
    }
    .stellarnav.mobile li li a span {
        margin-left: 10px;
    } 
    .mobile-flag {
        display: block !important;
    }
    .single-banner, .banner-content, .aibanner-area, .aibanner-content {
        min-height: 500px;
    }
    .cfds-left {
        flex-basis: 100%;
    }
    .cfds-right {
        flex-basis: 100%;
        margin-top: 50px;
    }
    .instruments-right {
        flex-basis: 100%;
        margin-bottom: 50px;
    }
    .instruments-right ul {
        display: flex;
        flex-wrap: wrap;
    }
    .instruments-right ul li.active {
        border-bottom: 4px solid var(--primary-color);
        border-left: 0;
    }
    .instruments-right ul li {
        padding-left: 0;
        padding: 5px 15px;
    }
    .instruments {
        flex-direction: column-reverse;
    }
}

/* Mobile Device */
@media only screen and (max-width: 767px) {
    .container {
        width: 320px;
    }
    .mhn-container {
        width: 320px;
    }
    .header-top {
        display: none;
    }
    .header-top p {
        font-size: 8px;
        line-height: 10px;
        color: var(--white-color);
    }
    .header-btn {
        margin: 0 8px;
    }
    .header-btn a:nth-child(1) {
        padding: 4px 8px;
        font-size: 12px;
    }
    .header-btn a:nth-child(2) {
        padding: 6px 8px;
        font-size: 12px;
    }
    .header-language, .header-download {
        display: none;
    }
    .header-end {
        flex-basis: 82%;
        flex-direction: row-reverse;
        justify-content: flex-start;
        text-align: right;
    }
    .header-end .stellarnav .menu-toggle span.bars span {
        display: block;
        width: 25px;
        height: 2px;
        border-radius: 6px;
        background: #333;
        margin: 0;
    }
    .header-end .stellarnav .menu-toggle span.bars span:not(:last-child) {
        margin: 0 0 5px;
    }
    .header-end .stellarnav .menu-toggle {
        padding: 0;
    }
    .header-end .stellarnav.mobile.left>ul, .stellarnav.mobile.right>ul {
        background: #fff;
        z-index: 99;
        max-width: 100%;
        min-height: 100vh;
    }
    .stellarnav.mobile ul ul {
        margin-top: 15px;
        background: #f2f2f2;
        border-top: 1px solid #ddd;
    }
    .menu {
        margin-left: 20px;
        flex-basis: auto;
    }
    .stellarnav.mobile ul {
        position: relative;
        display: none;
        text-align: left;
        background: #f3f5f8;
    }
    .header-end .menu ul li a {
        display: flex;
        align-items: center;
        padding: 0 12px !important;
        color: var(--black-color);
        cursor: pointer;
    }
    .mhn-mobile {
        margin-left: 8px;
    }
    .stellarnav.mobile>ul>li {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }
    .stellarnav.mobile>ul>li>a.dd-toggle {
        margin-top: -14px;
    }
    .stellarnav.mobile>ul>li a img {
        max-width: 24px;
    }
    .stellarnav.mobile li li {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }
    .stellarnav.mobile li li:first-child {
        padding-top: 20px;
    }
    .stellarnav.mobile li li a span {
        margin-left: 10px;
    } 
    .mobile-flag {
        display: block !important;
    }
    .header-right {
        flex-basis: auto;
    }
    .single-banner, .banner-content, .aibanner-area, .aibanner-content {
        min-height: 400px;
    }
    .banner-content h2, .aibanner-content h2 {
        font-size: 32px;
        line-height: 38px;
    }
    .banner-content p, .aibanner-content p {
        font-size: 16px;
        line-height: 22px;
    }
    .banner-content a {
        padding: 12px 50px;
    }
    .aibanner-content a {
        font-size: 16px;
        padding: 12px 40px;
    }
    .banner-content a {
        padding: 12px 40px;
    }
    .cfds-left {
        flex-basis: 100%;
    }
    .cfds-left h2 {
        font-size: 28px;
        line-height: 34px;
    }
    .cfds-box-left {
        flex-basis: 50%;
    }
    .cfds-middle {
        flex-basis: 50%;
    }
    .cfds-box-right {
        flex-basis: 100%;
        justify-content: space-between;
        margin-top: 15px;
    }
    .cfds-box-right a {
        text-align: center;
        flex-basis: 49%;
    }
    .cfds-right {
        flex-basis: 100%;
        margin-top: 50px;
    }
    .mhn-cfds-bottom {
        max-width: 100%;
    }
    .invest-left {
        flex-basis: 100%;
    }
    .invest-left-content h4 {
        font-size: 22px;
        line-height: 28px;
    }
    .invest-left .mhn-cfds {
        max-width: 100%;
    }
    .invest-right {
        flex-basis: 100%;
        margin-top: 50px;
    }
    .invest-right-content h4 {
        font-size: 26px;
        line-height: 32px;
    }
    .investment-box-left span {
        font-size: 16px;
        line-height: 22px;
        word-break: break-word;
    }
    .investment-box-right span {
        font-size: 16px;
        line-height: 22px;
        word-break: break-word;
    }
    .whyus-area h2 {
        font-size: 26px;
        line-height: 32px;
    }
    .single-whyus h4 {
        word-break: break-word;
    }
    .footer-menu ul {
        flex-wrap: wrap;
    }
    .footer-menu ul li {
        margin-bottom: 10px;
    }
    .about-area {
        padding: 40px 0;
    }
    .about-content {
        flex-basis: 100%;
    }
    .about-content h2 {
        font-size: 32px;
        line-height: 38px;
    }
    .about-features {
        flex-basis: 100%;
        margin-top: 50px;
    }
    .contact-area {
        padding: 40px 0;
    }
    .contact-content-top h2, .contact-content-bottom h2 {
        font-size: 32px;
        line-height: 38px;
    }
    .input-field input {
        flex-basis: 100%;
    }
    .instruments {
        padding: 40px 0;
    }
    .instruments-right {
        flex-basis: 100%;
        margin-bottom: 50px;
    }
    .instruments-right ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .instruments-right ul li.active {
        border-bottom: 4px solid var(--primary-color);
        border-left: 0;
    }
    .instruments-right ul li {
        padding-left: 0;
        padding: 5px 15px;
    }
    .instruments {
        flex-direction: column-reverse;
    }
    .important-content h2, .account-top h2 {
        font-size: 32px;
        line-height: 38px;
    }
    .cfds-left-content img {
        max-width: 140px;
    }
    .account-table {
        overflow-x: auto;
    }
}

/* Wide Mobile Device */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .container {
        width: 450px;
    }
    .mhn-container {
        width: 450px;
    }
}