@media (max-width: 320px) {
    .searchbox-users input {
        width: 180px;
    }
    .nav-pills-green li > a {
        font-size: 9px;
        padding: 5px 10px !important;
    }
    .nav-pills-green li {
        margin-left: 0px !important;
        min-width: 100px;
        text-align: center;
        padding-bottom: 10px;
    }
}

@media (max-width: 900px) {
/*    .portfolio_buttons .btn {
        width:100%;
    }*/
}

@media (min-width: 320px) and (max-width: 480px) {
    .top-right-menu {
        flex-direction: column;
        text-align: left;
        padding-bottom: 10px;
        margin: 0;
        padding-left: 15px;
    }
    .dropdown {
        margin: 0 15px;
    }
    .online-dots {
        width: 8px;
        height: 8px;
    }
    .dropdown img {
        height: 50px;
    }
    .sales_searchbox {
        margin: 30px 0 0;
    }
    .sales_searchbox input {
        width: 100%;
    }
    .salesman_user .dropdown {
        float: none;
        margin: 0 0 15px;
    }
    .salesman_user .dropdown:hover .dropdown-content {
        margin: 10px 0 0 -5px;
    }
    .welcome-admin-heading h4 {
        text-align: center;
        font-size: 35px;
        margin: 25px 0;
    }
    .home_row1_box, .home_row2_box2 {
        padding: 30px 0;
    }
    .home_row1_box canvas, .home_row2_box2 canvas {
        min-height: 180px !important;
    }
    .home_row1_box h3, .home_row2_commonbox h3 {
        text-align: center;
    }
    .home_row2_commonbox h3 {
        margin: 0;
    }
    .selectdiv1 select, .selectdiv2 select, .selectdiv3 select {
        padding: 0 !important;
        max-width: 265px !important;
        margin: 0 0 15px;
        height: 25px;
    }
    .selectdiv1::after {
        top: 33px;
    }
    .selectdiv2::after, .selectdiv3::after {
        top: 15px;
        right: 100px;
    }
    .home_row3_commonbox canvas {
        margin: 0 0 20px 25%;
    }
    .home_right_box1_outer h3, .home_right_box1_outer button {
        float: none;
        margin: 0 0 15px;
    }
    .news_thumb {
        width: 100%;
        float: none;
        margin: 15px auto;
        display: block;
    }
    .news_thumb img, .news_text {
        display: block;
        width: 100%;
    }
    .b_section {
        margin: 20px 0;
    }
    .top-header .logo img {
        max-height: 35px;
    }
    .top-header {
        padding: 10px 0;
    }
    .select_lan_outer p, .select_lan_outer select {
        font-size: 14px;
        margin: 0 5px 0 0;
    }
    .login-form-outer {
        padding: 10px 5px;
        margin: 0;
    }
    .login-form-outer h3 {
        font-size: 18px;
    }
    .login-form-outer h3 span, .login-input, .login-form-checkbox-forgot a, .checkbox-label, .login-form-outer .text p {
        font-size: 14px;
    }
    .login-label {
        font-size: 13px;
    }
    .forgot-form-outer h3 {
        margin-top: 20px;
    }
    .forgot-form-outer h3 span {
        font-size: 16px;
    }
    .img_sec h3 {
        font-size: 21px;
    }
    .common-sidebar {
        padding-bottom: 35px;
    }
    .user-info-head h3, .after-white-sidebar {
        margin: 0 15px;
    }
    .inner-main-heading-tournament h3 {
        margin: 20px 0;
        font-size: 18px;
    }
    .add-new-game-button button {
        font-size: 12px;
    }
    .add-icon {
        display: none !important;
    }
    .table-responsive {
        border: 0;
    }
    .all-table, .main_top_head_outer {
        padding: 0 10px;
    }
    .banner_outer {
        padding: 10px 0;
    }
    .main_top_head {
        padding: 15px 0;
        margin: 0;
    }
    .main_top_head h3 {
        font-size: 16px;
        margin: 5px 0 0;
        padding: 0 15px;
    }
    .add-btn-all button {
        font-size: 10px;
        padding: 10px 10px 8px;
    }
    .top-btn-outer {
        margin: 20px 0;
    }
    .top-add-icon {
        display: block;
    }
    .searchbox-users {
        float: left;
        margin: 10px 0 0 15px !important;
    }
    .exp-trak-pagination, .text-right {
        text-align: center;
        padding: 0 5px;
    }
    .subscriptions-content abbr span {
        font-size: 35px;
    }
    .subs_head h3 {
        margin: 0;
    }
    .subscriptions-outer {
        padding: 0 15px;
    }
    .subscrip_content p {
        font-size: 16px;
    }
    .inner_row {
        display: block;
        flex-wrap: unset;
    }
    .tab_outer ul {
        width: 100%;
    }
    .tab_outer ul > li a {
        border-radius: 50px;
        text-align: center;
    }
    .my_tab_contents {
        padding: 15px 5px;
        margin-right: 0 !important;
    }
    .img_sec img {
        height: 150px;
        width: 150px;
        float: none;
        margin: 0 auto;
        display: block;
    }
    .img_sec {
        padding: 0 15px;
    }
    .img_sec h3, .img_sec a {
        margin: 35px 0 0;
    }
    .portfolio-edit-modal-outer {
        margin: 10px 20px;
        overflow-y: scroll;
        height: 400px;
        width: 100%;
    }
    .add-icon {
        display: block !important;
        background: #36e0a0;
        padding: 4px 0;
        margin: 0;
        text-align: center;
        border-radius: 4px;
        color: #fff;
        border: 1px solid #36e0a0;
        transition: linear all 0.3s;
    }
    .add-icon:hover {
        background: transparent;
        color: #36e0a0;
        transition: linear all 0.3s;
    }
    .interested-table td a abbr {
        display: none;
    }
    .interested-table td a.back-btn-color {
        background-color: transparent;
        padding: 0;
    }
    .modal-content-update-graphic-outer {
        width: 90%;
    }
    .popup-heading {
        padding: 30px 0 0;
    }
    .popup-heading h3 {
        margin: 15px 25px;
        font-size: 18px;
    }
    .all-table .dropdown-content a {
        display: block !important;
    }
    .hide_change {
        /* display: none; */
    }
    .collapse_content ul {
        display: block;
    }
    .collapse_content ul li {
        display: block;
        width: 40%;
        float: left;
    }
    .chat-window-outer {
        padding: 0;
        margin: 25px 0;
    }
    .profile-pic .edit {
        left: 60%;
    }
    .close {
        margin-right: 20px;
    }
    .edit-portfolio-form .edit-portfolio-item .help-text {
        line-height: 15px;
    }
    .dashboard_collapse_content ul li p {
        width: auto;
    }
    .collapseable_table_outer .all-table, .Portfolio-table-scrollx, #transactions-items {
        overflow-x: auto !important;
    }
    #portfolio-table tr th:nth-last-child(1) {
        display: none;
    }
    .nav-pills-green {
        padding-left: 0px;
    }
    .portfolio-add-btn-outer {
        margin-left: 0px !important;
    }
    .edit-portfolio-item {
        display: inline-flex;
    }
    .portfolio-delete-link .form-label {
        margin-left: 30px;
    }
    .total-balance-section {
        padding: 0 10px;
        border-right: none;
        margin-top: 10px;
    }
    .portfolio-header {
        margin: 25px 0;
        justify-content: center;
    }
    .dashboard-filter-section {
        margin-right: 0;
    }
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        bottom: 110px;
        height: 200px !important;
    }
    .portfolio-trend-details .portfolios-percentages {
        padding-right: 20px;
    }
    .portfolio-trend-details .portfolios-names {
        padding-left: 20px;
    }
    .portfolio-trend-details .portfolio-percentage-label {
        left: 30px;
    }
    #portfolios_markets_chart {
        padding-left: 75px;
    }
    #dashboard-table tr th:nth-child(3) {
        padding-left: 20px;
    }
    .all-table .dropdown-content a ion-icon {
        margin: -1px 10px 0 0;
    }
    .range-outer.notificationToggle {
        padding-right: 15px !important;
    }
    #portfolio-table tr th:nth-child(3) {
        padding-left: 10px;
    }
    .accordion-toggle .change-quantity-block {
        padding: 8px !important;
    }
    #portfolio-table tr th:nth-child(1) {
        padding-left: 0;
    }
    .profile-avatar-image .vich-image > div {
        display: flex;
    }
    .profile-avatar-image .vich-image > div #profile_avatarImage_delete {
        position: relative;
        top: 6px;
        right: 115px;
    }
}

/*Mobile device max-width 480px; */

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
    .profile-pic .edit {
        left: 55%;
    }
    .nav-pills-green {
        padding-left: 0;
    }
    li.nav-item:nth-child(3n+1) {
        margin-left: 0;
    }
    .edit-portfolio-item {
        display: inline-flex;
    }
    .portfolio-delete-link .form-label {
        margin-left: 35px;
    }
    .modal-content-update-graphic-outer {
        width: 60%;
    }
    .portfolio-trend-details .portfolio-percentage-label {
        left: 150px;
    }
    .portfolio-trend-details .portfolios-names {
        padding-left: 50px;
    }
    #dashboard-table tr th:nth-child(3) {
        padding-left: 20px;
    }
    .all-table .dropdown-content a ion-icon {
        margin: 5px 10px 0 0 !important;
    }
    .range-outer.notificationToggle {
        padding-right: 15px !important;
    }
    .accordion-toggle .change-quantity-block {
        padding: 8px !important;
    }
    .profile-avatar-image .vich-image > div #profile_avatarImage_delete {
        position: relative !important;
        top: -27px !important;
        right: 218px !important;
    }
}

/*max-width 767px*/

@media (min-width: 481px) and (max-width: 767px) {
    .dropdown {
        margin: 0 15px;
    }
    .online-dots {
        width: 8px;
        height: 8px;
    }
    .dropdown img {
        height: 50px;
    }
    .sales_searchbox {
        margin: 30px 0 0;
    }
    .sales_searchbox input {
        width: 100%;
    }
    .salesman_user .dropdown {
        float: none;
        margin: 0 0 15px;
    }
    .salesman_user .dropdown:hover .dropdown-content {
        margin: 10px 0 0 -5px;
    }
    .welcome-admin-heading h4 {
        text-align: center;
        font-size: 35px;
        margin: 25px 0;
    }
    .b_section {
        margin: 20px 0;
    }
    .top-header .logo img {
        max-height: 55px;
    }
    .top-header {
        padding: 10px 0;
    }
    .select_lan_outer p, .select_lan_outer select {
        font-size: 18px;
        margin: 0 5px 0 0;
    }
    .login-form-outer {
        margin: 0;
    }
    .login-form-outer h3 {
        font-size: 24px;
    }
    .login-form-outer h3 span, .login-input, .login-form-checkbox-forgot a, .checkbox-label, .login-form-outer .text p {
        font-size: 16px;
    }
    .login-label {
        font-size: 14px;
    }
    .forgot-form-outer h3 {
        margin-top: 20px;
    }
    .forgot-form-outer h3 span {
        font-size: 18px;
    }
    .banner_outer {
        padding: 10px 0;
    }
    .main_top_head {
        margin: 0;
    }
    .main_top_head h3 {
        font-size: 22px;
        margin: 0;
        padding: 0 15px;
    }
    .top-btn-outer {
        margin: 20px 0;
    }
    .add-btn-all button {
        font-size: 15px;
    }
    .searchbox-users {
        float: left;
        margin: 10px 0 0 !important;
    }
    .table-responsive {
        border: 0;
    }
    .all-table {
        padding: 0;
    }
    .collapseable_table_outer .all-table, .Portfolio-table-scrollx, #transactions-items {
        overflow-x: auto !important;
    }
    .exp-trak-pagination, .text-right {
        text-align: center;
        padding: 0 5px;
    }
    .subscriptions-content abbr span {
        font-size: 35px;
    }
    .subs_head h3 {
        margin: 0;
    }
    .subscriptions-outer {
        padding: 0 15px;
    }
    .subscrip_content p {
        font-size: 20px;
    }
    .inner_row {
        display: block;
        flex-wrap: unset;
    }
    .tab_outer ul {
        width: 100%;
    }
    .tab_outer ul > li a {
        border-radius: 50px;
        text-align: center;
    }
    .my_tab_contents {
        padding: 15px 5px;
        margin-right: 0 !important;
    }
    .img_sec img {
        height: 150px;
        width: 150px;
        float: none;
        margin: 0 auto;
        display: block;
    }
    .img_sec {
        padding: 0 15px;
    }
    .img_sec h3, .img_sec a {
        margin: 35px 0 0;
    }
    .close {
        margin-right: 20px;
    }
    .modal-content-update-graphic-outer {
        width: 90%;
    }
    .popup-heading {
        padding: 30px 0 0;
    }
    .popup-heading h3 {
        margin: 15px 25px;
        font-size: 24px;
    }
    .chat-window-outer {
        padding: 0;
        margin: 25px 0;
    }
    .profile-pic .edit {
        left: 55%;
    }
    li.nav-item {
        padding-bottom: 10px;
    }
    .edit-portfolio-item {
        display: inline-flex;
    }
    .portfolio-delete-link .form-label {
        margin-left: 35px;
    }
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        right: 35%;
    }
    .dashboard-filter-section {
        margin-right: 0 !important;
    }
    #dashboard-table tr th:nth-child(3) {
        padding-left: 20px;
    }
    .range-outer.notificationToggle {
        padding-right: 15px !important;
    }
    #portfolio-table tr th:nth-child(3) {
        padding-left: 15px;
    }
    .accordion-toggle .change-quantity-block {
        padding: 8px !important;
    }
    #portfolio-table tr th:nth-child(1) {
        padding-left: 0;
    }
    .profile-avatar-image .vich-image > div #profile_avatarImage_delete {
        position: relative;
        top: 6px;
        right: 115px;
    }
}
@media (min-width: 481px) and (max-width: 590px) {
    li.nav-item {
        padding-bottom: 10px;
    }
    li.nav-item:nth-child(3n+1) {
        margin-left: 0;
    }
    .dashboard-filter-section {
        margin-right: 0 !important;
    }
    .top-markets-sections {
        overflow-x: auto;
    }
    #dashboard-table tr th:nth-child(3) {
        padding-left: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sales_searchbox {
        margin: 30px 0 0;
    }
    .sales_searchbox input {
        width: 100%;
    }
    .salesman_user .dropdown {
        margin: 15px 0;
    }
    .salesman_user .dropdown:hover .dropdown-content {
        margin: 10px 0 0 -5px;
    }
    .welcome-admin-heading h4 {
        text-align: center;
        font-size: 35px;
        margin: 25px 0;
    }
    .common_div h5 {
        font-size: 17px;
    }
    .top-header .logo img {
        max-height: 55px;
    }
    .top-header {
        padding: 10px 0;
    }
    .select_lan_outer p, .select_lan_outer select {
        font-size: 18px;
        margin: 0 5px 0 0;
    }
    .top-btn-outer {
        margin: 20px 0;
    }
    .main_top_head {
        margin: 0;
    }
    .main_top_head h3 {
        font-size: 24px;
        margin: 5px 0;
        padding: 0 15px;
    }
    .banner_outer {
        padding: 10px 0;
    }
    .searchbox-users {
        text-align: center;
    }
    .add-btn-all button {
        font-size: 14px;
    }
    .all-table {
        padding: 0;
    }
    .collapseable_table_outer .all-table, .Portfolio-table-scrollx, #transactions-items {
        overflow-x: auto !important;
    }
    .exp-trak-pagination, .text-right {
        text-align: center;
        padding: 0 5px;
    }
    .inner_row {
        display: block;
        flex-wrap: unset;
    }
    .tab_outer ul {
        width: 100%;
        display: flex;
    }
    .tab_outer ul li {
        margin: 0 10px !important;
        display: block !important;
    }
    .tab_outer ul > li a {
        border-radius: 50px;
        text-align: center;
    }
    .my_tab_contents {
        padding: 15px 5px;
        margin-right: 0 !important;
    }
    .img_sec img {
        height: 150px;
        width: 150px;
        float: none;
        margin: 0 auto;
        display: block;
    }
    .img_sec h3, .img_sec a {
        margin: 35px 0 0;
    }
    .portfolio-trend-details .portfolios-names {
        padding-left: 50px;
    }
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        right: 20%;
    }
    .portfolio-trend-details .portfolio-percentage-label {
        left: 100px;
    }
    .dashboard-filter-section {
        margin-right: 0 !important;
    }
    .portfolio-lable .dropdown-content {
        top: -167px;
        right: -255px;
    }
    .top-markets-sections {
        overflow-x: auto;
    }
    #dashboard-table tr th:nth-child(3) {
        padding-left: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .tab_outer ul {
        border: 0 !important;
        width: 100%;
        display: grid;
    }
    .tab_outer ul > li a {
        font-size: 18px;
        padding: 10px 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .common_div {
        padding: 15px 20px 10px;
    }
    .common_div h5 ion-icon, .common_div h5 i {
        display: block;
        text-align: center;
    }
    .common_div h5 ion-icon, .common_div h5 {
        text-align: center;
    }
    .home_row1_box canvas, .home_row2_box2 canvas {
        min-height: 300px !important;
    }
    .home_row2_commonbox {
        min-height: 380px;
    }
    .home_row2_box2 {
        padding: 30px 15px;
    }
    .selectdiv1 select, .selectdiv2 select, .selectdiv3 select {
        max-width: 280px;
        margin: -10px 0 25px;
    }
    .selectdiv_common::after {
        top: 45px;
    }
    .home_graph1_outer h3, .home_right_box1_outer h3 {
        font-size: 20px;
        margin: 0 0 15px;
    }
    .home_right_box1_outer button {
        margin: 0 0 15px;
    }
    .news_thumb {
        width: 25%;
    }
    .news_text {
        width: 75%;
    }
    .login-img-outer img {
        width: 90% !important;
        margin: 25px 0 0 !important;
    }
    .btn_login {
        margin: 35px 0 10px !important;
    }
    .login-form-outer .text p {
        margin: 30px 0 10px !important;
    }
    .main_menu_salesman .navigation .menu > li {
        margin: 14px 0;
    }
    .main_menu_salesman .navigation {
        margin: 35px 0 0;
    }
}

@media (min-width: 1401px) and (max-width: 1600px) {
    .home_graph1_outer h3, .home_right_box1_outer h3 {
        font-size: 20px;
        margin: 0 0 15px;
    }
    .home_right_box1_outer button {
        margin: 0 0 15px;
    }
    .main_menu_salesman .navigation .menu > li {
        margin: 25px 0;
    }
    .main_menu_salesman .navigation {
        margin: 35px 0 0;
    }
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        right: 25%;
    }
    .portfolio-trend-details {
        margin-left: 35px;
    }
    .dashboard-filter-tab-content {
        position: relative;
        left: 14%;
    }
}

@media (min-width: 1600px) and (max-width: 1900px) {
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        right: 20%;
    }
    .portfolio-trend-details {
        margin-left: 77px;
    }
    .dashboard-filter-tab-content {
        position: relative;
        left: 28%;
    }
}

@media (min-width: 1900px) and (max-width: 2500px) {
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        right: 0;
    }
    .portfolio-trend-details {
        margin-left: 35px;
    }
    .dashboard-filter-tab-content {
        position: relative;
        left: 25%;
    }
}

@media screen and (min-width: 2500px) {
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        right: 0;
    }
}

@media only screen and (min-device-width: 480px) and (max-device-width: 768px) and (orientation: landscape) {
    .up-down-portfolios {
        margin-top: 0;
    }
    .portfolio-trend-details .portfolios-names {
        padding-left: 50px;
    }
    #portfolios_markets_chart.js-plotly-plot .plotly .user-select-none {
        right: 19%;
    }
}

@media (min-width: 800px) and (max-width: 3000px) {
    .menu-mobile-button {
        display: none;
    }
}
