/*
 * Media CSS stylesheet
 * This file contains all styles for responsive layout
 *
 */



 @media only screen and ( min-width: 769px ) {
    .bw-registration #mobilecountryphone {
        padding: 0 0 0 10px !important;
        /* text-align: center; */
    }
}


@media only screen and ( min-width: 768px ) {
    /* .bw-registration #mobilecountryphone {
        padding: 0 !important;
        text-align: center;
    } */
    .bw-naxex-accordion-item-content {padding:25px 0 0 40px;}
    .bw-naxex-accordion-item-content .bw-naxex-button {display: inline-block; text-align: left;}
}

@media only screen and ( max-width: 1200px ) {

    /* custom content tables */
    .bw-table-list .pl-row-inner > .pl-column-inner-outer {border-left:3px solid #e1e1e1;}
    .bw-table-border > .pl-row > .pl-column-outer:first-child {border-right:3px solid #e1e1e1;}
    .bw-table-border > .pl-row > .pl-column-outer:last-child {border-left:3px solid #e1e1e1;border-top:3px solid #e1e1e1;}

    /* traders sentiment */
    .bw-pie-chart-outer {flex:0 1 50%;max-width:50%;}
}

@media only screen and ( max-width: 1056px ) {

    /* containers */
    .bw-row,
    .bw-carousel-content {max-width:768px;}
    .pl-row-layout-standard > .pl-row, .pl-row-layout-boxed > .pl-row {max-width:768px!important;}

    /* header */
    .bw-top-button-search {display:none!important;}

    .bw-cookie-row .bw-cookie-col.bw-cookie-col-content {flex:0 1 60%;}
    .bw-cookie-col-actions {flex:0 1 40%;}

    /* page layout */
    .bw-sidebar {width:30.5%;}
    .bw-content.bw-has-sidebar .bw-main-wrapper .bw-main-holder {width:69.5%;}

    /* carousel */
    .bw-carousel-form {margin-left:72px;}
    .bw-carousel-content {padding-right:330px;}
    .bw-carousel-content h3 {font-size:26px;}

    /* homepage */
    .bw-homepage-grid .pl-row-inner-outer {flex:0 1 50%;}

    .bw-tab-heading.bw-tab-heading-white {background-color:#434343;color:#fff;border:0;}
    .pl-inner .pl-button.bw-news-feed-button {min-width:100px;}

    /* table regulations */
    .bw-regulations table {display:block;width:100%;}
    .bw-regulations table tr {display:block;width:100%;}
    .bw-regulations table tr td, .bw-regulations table tr th {display:block;width:100%;border-right:3px solid #e1e1e1;}

    /* traders sentiment page template */
    .bw-side-label {font-size:17px;}
    .bw-side-label-fall {left:10px;}
    .bw-side-label-rise {right:10px;}

}

@media only screen and ( max-width: 800px ) {

    /* containers */
    .bw-row,
    .bw-carousel-content {max-width:100%;}
    .pl-row-layout-standard > .pl-row, .pl-row-layout-boxed > .pl-row {max-width:100%!important;}

    .bw-content.bw-has-sidebar .bw-main-wrapper .bw-main-holder, .bw-sidebar {width:100%;}
    .bw-sidebar {padding-left:0;margin-top:16px;}
    .widget.bw-banner-hide-mobile {display:none;}

    .bw-breadcrumb,
    .bw-page-title,
    .bw-top-bar,
    .bw-main-wrapper,
    .bw-footer-text-section-outer,
    .bw-footer-main,
    .bw-page-content-inline-holder {padding-left:14px;padding-right:14px;}

    .bw-homepage-grid .pl-column {width:100%;margin-left:0;}
    .bw-homepage-grid .pl-column-inner-outer {/*height:310px;*/min-height:287px;}
    .bw-homepage-grid .bw-text-image {min-height:202px;}

    /* top bar */
    .bw-header-meta li.bw-top-button-support > a {padding-left:0;width:37px;min-width:37px;}
    .bw-header-meta li.bw-top-button-support > a > span {display:none;}
    .bw-header-meta li.bw-top-button-search,
    /* .bw-header-meta li.bw-top-button-contact {display:none;} */

    /* header */
    .bw-header-cell {padding:22px 16px;background-color:#262626;position:relative;}
    .bw-mobile-toggle {position:absolute;top:17px;right:18px;display:block;width:47px;height:47px;background-color:#393939;border-radius:5px;cursor:pointer;}
    .bw-mobile-toggle i {position:absolute;top:22px;right:7px;left:7px;height:4px;background-color:#eee;}
    .bw-mobile-toggle i:before,
    .bw-mobile-toggle i:after {content:'';position:absolute;top:-10px;right:0;left:0;height:4px;background-color:#eee;}
    .bw-mobile-toggle i:after {top:10px;}

    /* logo */
    .bw-logo > a {display:inline-block;}
    .bw-logo > a img {vertical-align:top;}

    /* navigation */
    .bw-cell-navigation {height:0;overflow:hidden;padding:0;background-color:#fff;}
    .bw-cell-navigation.bw-open {}
    .bw-cell-navigation .menu {margin:0;padding:0;list-style:none;}
    .bw-cell-navigation .menu > li {display:block;border-bottom:1px solid #ccc;}
    .bw-cell-navigation .menu > li > a {display:block;line-height:50px;padding:0 15px;color:#111;text-decoration:none;}
    .bw-cell-navigation .menu > li > ul.sub-menu {height:0;overflow:hidden;margin:0;padding:0;background-color:#eee;}
    .bw-cell-navigation .menu > li > ul.sub-menu > .bw-sub-menu-holder > li {display:block;border-top:1px solid #ccc;}
    .bw-cell-navigation .menu > li > ul.sub-menu > .bw-sub-menu-holder > li > a {display:block;color:#000;padding:10px 0 10px 35px;line-height:28px;text-decoration:none;}
    .bw-cell-navigation .menu > li.bw-expanded > ul.sub-menu {display:block;}
    .bw-cell-navigation .menu > li.market-update {
        padding-top: 2px;
        line-height: 24px;
        background-color: #21a000;
        font-size: 13px;
        text-transform: uppercase;
        font-weight: 800;
    }
    .bw-cell-navigation .menu > li.market-update:hover {
        background-color: #36b914;
    }
    .bw-cell-navigation .menu > li.market-update a {
        color: #fff;

    }

    /* carousel */
    .bw-carousel-content {padding-right:0;text-align:center;}
    .bw-carousel-content h3 {font-size:22px;}
    .bw-carousel {height:260px;}
    /* carousel form */
    .bw-carousel-form {width:100%;position:static;top:auto;right:auto;left:auto;bottom:auto;padding:0;margin:0;}
    .bw-carousel-form-inner {border-radius:0;}
    .bw-carousel-errors {display:none;}
    .bw-carousel-form .bw-registration input[type="text"],
    .bw-carousel-form .bw-registration input[type="email"],
    .bw-carousel-form .bw-registration input[type="tel"],
    .bw-carousel-form .bw-registration select {height:40px;line-height:40px;}

    /* page builder elements */
    .bw-naxex-table {margin-bottom:16px;}
    .bw-naxex-table > a {bottom:16px!important;}

    /* footer */
    .bw-footer-columns {flex-wrap:wrap;}
    .bw-footer-columns .bw-footer-column {flex:0 1 50%;padding-bottom:15px;margin-bottom:15px;border-bottom:1px solid #999;}
    .bw-footer-columns .bw-footer-column:nth-child(5),
    .bw-footer-columns .bw-footer-column:nth-child(6) {padding-bottom:0;margin-bottom:0;border:0;}

    /* 404 */
    .bw-404-outer {}
    .bw-404 {padding:0;text-align:center;}
    .bw-404:before {display:inline-block;position:static;top:auto;left:auto;right:auto;bottom:auto;}
    .bw-404 h3 {margin-top:12px;font-size:20px;}

    /* homepage */
    .bw-homepage-grid .pl-row-inner-outer {flex:0 1 100%;padding:0;}
    .bw-homepage-grid .pl-row-inner-outer:last-child {margin-bottom:0;}

    .pl-inner .pl-button.bw-news-feed-button {min-width:100px;}

    .news-feed-image {margin:30px 50px 0;}

    /* cookie policy popup */
    .bw-cookie {padding:10px 15px;}

}

@media only screen and ( max-width: 768px ) {

    /* fixes for homepage widgets and responsivenes */
    /* iframe */
    .btn-wrapper-iframe, .scheme-container, .scheme-container > iframe {display:block;width:100%;}

    .investing-news-box .investing-news-button {line-height:17px;}
    .investing-news-button {padding:0 8px;}
    .investing-news-button.investing-news-page-button {margin:0 3px;}

    /* traders sentiment page template */
    .bw-pie-chart-outer {flex:0 1 100%;max-width:100%;}

    .bw-header-meta li.bw-top-button-support { display: none; }


}
@media only screen and ( max-width: 750px ) {

    /* tablepress tables */
    .tablepress thead, .tablepress tbody, .tablepress tr, .tablepress thead > tr > th, .tablepress tbody > tr > td {display:block;width: 100%;}
    /* tablepress plain table */
    .tablepress.bw-plain-table thead,
    .tablepress.bw-plain-table tbody {display:inherit;width:100%;}
    .tablepress.bw-plain-table tr {display:inherit;width:100%;}
    .tablepress.bw-plain-table thead > tr > th,
    .tablepress.bw-plain-table tbody > tr > td {display:table-cell;width:50%;}

    /* tree columns table */
    body .bw-table-list .pl-col-range-25-50 {flex: 1 100%!important;max-width:100%;}
    body .bw-table-list .pl-row-inner .pl-column-inner-outer:not(:last-child):not(.pl-col-range-50-75) {border-bottom:3px solid #e1e1e1;}
    body .bw-table-list .pl-col-range-25-50 {border-right:3px solid #e1e1e1!important;}
}

@media only screen and ( max-width: 700px ) {
    .bw-carousel li:nth-child(1) {background-position-x:0;}
}
@media only screen and ( max-width: 550px ) {
    .bw-carousel li:nth-child(1) {background-position-x:13%;}
}
@media only screen and ( max-width: 512px ) {

    /* top bar */
    .bw-support-string {display:none;}
    .bw-top-button {min-width:84px;}
    .bw-top-button-deposit {display:none!important;}

    /* carousel */
    .bw-carousel-content h3 {font-size:24px;}

    /* contact from */
    .bw-form-split.bw-form-split-columns {flex-wrap:wrap;}
    .bw-form-split.bw-form-split-columns > .bw-form-part {padding:0!important;flex:0 1 100%;}
    .bw-registration input[type="submit"] {max-width:100%;width:100%;}

    /* news */
    .investing-news-box h3 {padding-right:15px;}
    .investing-news-page-datetime {display:none;}

    /* homepage */
    .bw-homepage .pl-outer .bw-text-image img {margin:30px 35px 0;}
    .news-box {width:58%!important;}
    .news-visible {padding-bottom:60px!important;}

    /* footer */
    .bw-footer-columns .bw-footer-column {flex:0 1 100%;text-align:center;}
    .bw-footer-columns .bw-footer-column:nth-child(5) {padding-bottom:15px;margin-bottom:15px;border-bottom:1px solid #999;}

    .bw-footer-text-bottom-columns {flex-wrap:wrap;}
    .bw-footer-text-bottom-columns .bw-footer-text-bottom-column {flex:0 1 100%;}
    .bw-footer-text-bottom-columns .bw-footer-text-bottom-column:last-child {flex:0 1 100%;text-align:left;padding:0;margin-top:16px;}

    /* depreciated coutnries popup */
    .bw-dep-country {width:300px;margin-left:-150px;}

    /* documents element */
    .bw-document-link {padding-right:0;}
    .bw-document-link span {position:static;}
    .bw-document-link:before {top:15px;}

    /* cookie policy popup */
    .bw-cookie-row {display:block;}
    .bw-cookie-col-actions {text-align:center;}
    .bw-cookie-col > span {display:block;text-align:center;line-height:21px;margin-bottom:9px;}

    .bw-header-meta li.bw-top-button-contact .bw-top-button:not(.icon-btn) {display:none;}
    .bw-header-meta li.bw-top-button-contact .bw-top-button {padding: 0 6px; min-width: 60px;}
    .bw-header-meta li.bw-top-button-contact .icon-btn {display:block; padding: 4px 0;min-width: 35px;}
    .bw-header-meta li.bw-top-button-contact .icon-btn img {display:block; margin:0 auto;height: 18px;}
    .bw-top-button-login > a { padding: 0 6px; min-width: 60px; }
}

@media only screen and ( max-width: 420px ) {

    /* tablepress plain table */
    .tablepress.bw-plain-table thead,
    .tablepress.bw-plain-table tbody {display:block;width:100%;}
    .tablepress.bw-plain-table tr {display:block;width:100%;}
    .tablepress.bw-plain-table thead > tr > th,
    .tablepress.bw-plain-table tbody > tr > td {display:block;width:100%;}

}

@media only screen and ( max-width: 360px ) {

    .news-feed-image {margin:30px 39px 0;}

}

@media only screen and ( max-width: 320px ) {

    .news-box {width:50%;}

}
