/* min-width */
@media only screen and (min-width: 980px) {
    .logout-icon,.change-lang-icon-a {
        display: none;
    }
}
@media only screen and (min-width: 992px) {
    .mobile-nav-profile {
        display: none;
    }
}

@media only screen and (max-width: 410px) {
    .ex-icon {
        display: none !important;
    }
}

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

    .table-order-list > tbody > tr > td, .table-order-list > tbody > tr > th, .table-order-list > tfoot > tr > td, .table-order-list > tfoot > tr > th, .table-order-list > thead > tr > td,
    .table-order-list > thead > tr > th {
        padding: 8px 4px;
    }

    .credit-form > div.form-group {
        flex-direction: row;
        align-self: center;
    }

    .form-horizontal .control-label.transFunds {
        margin-left: 15px !important;
    }

    .trans-found-container {
        display: flex;
        flex-direction: column;
    }

    .card-preview {
        margin: 0;
    }

    .sort-lable-container {
        align-items: center;
    }

    #ribbon-select-sort-label select {
        width: 268px;
    }

    .filters-icons {
        margin: 0 20px 0 0;
    }

    .dropdown-content {
        left: 0;
    }

    .text-in-card-preview {
        position: relative;
    }

    .modal {
        min-width: 500px;
        width: 500px;
    }

    .my-acc-details-table {
        margin: 0 16px 0 18px;
    }

    .banks-container .bank-item {
        margin: 0 20px 0 0;
    }

    .bank-item button {
        width: 130px;
    }

}

@media only screen and (min-width: 767px) {
    .navbar-content {
        position: fixed;
    }
}

@media only screen and (min-width: 992px) {
    .ex-icon {
        display: none !important;
    }

    .trans-found-container {
        display: unset;
    }

    .modal-open {
        overflow: auto;
    }

    .navbar-content {
        position: fixed;
    }

    .alerts-container {
        margin-left: 10px;
        padding-right: 0;
    }

    .credit-date-container {
        max-width: 85%;
    }

    .alert-warning {
        border-color: var(--yellow);
    }

    /*.modal-lg { width: 1000px !important; }*/
    .btn_left {
        padding-right: 6px;
    }

    .btn_right {
        padding-left: 6px;
    }

    .btn_left .selectwrap:after {
        line-height: 32px;
        top: 28px;
        right: 10px;
    }

    .btn_right .selectwrap:after {
        top: 32px;
        right: 20px;
    }

    .form-control.selectwrap:after {
        top: 3px;
        left: auto;
        right: 0;
    }

    body.rtl .form-control.selectwrap:after {
        left: 10px;
        right: auto;
    }

    .modal-dialog {
        width: 100%;
        margin: 0;
        padding: 15px;
    }

    filters .modal-dialog {
        padding: 0;
    }

    .form-group.has-search input {
        background: var(--white) !important;
        border-color: var(--form-white);
    }

    .popover.right {
        margin-left: -100px;
    }

    .selectwrapTF:after {
        top: 2px;
        right: 0px;
        pointer-events: none;
        z-index: 2;
    }

    .modal {
        bottom: auto;
        padding: 0;
        background-color: var(--white);
        border: 1px solid #f0f0f0 !important;
        border-radius: 6px;
        box-shadow: none !important;
        background-clip: padding-box;
    }

    .modal button.close-info-modal {
        position: absolute;
        -webkit-appearance: none;
        right: -130px;
        width: 51px;
        height: 51px;
        opacity: 1 !important;
    }

    .modal button.close-action-modal {
        position: inherit;
        right: 0;
        opacity: 1 !important;
    }

    .modal .close-info-modal svg {
        width: 51px;
        height: 51px;
        fill: var(--light-grey);
        stroke: var(--light-grey);
    }

    .modal .close-action-modal svg {
        width: 39px;
        height: 39px;
    }

    .modal-action-close {
        width: auto !important;
        height: auto !important;
    }

    .margin-form-group {
        margin-right: 20px;
    }

    .popover.right {
        position: absolute;
        left: 0;
        margin-left: 0px;
        width: 430px !important;
    }

    .popover.top {
        position: absolute;
        margin-top: -10px;
        left: 0;
        width: 300px !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1022px) {
    .trans-found-container {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin: 0 auto;
    }

    .trans-found-container > div {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin: 0 auto !important;

    }
}


@media only screen and (min-width: 1200px) {
    .banks-container .bank-item:not(:nth-child(3n)) {
        margin: 0 20px 0 0;
    }
}

@media only screen and (min-width: 1023px) {

}

@media only screen and (min-width: 1400px) {
}

@media only screen and (min-width: 1500px) {
}

@media only screen and (min-width: 1600px) {
    .table-order-list > tbody > tr > td, .table-order-list > tbody > tr > th, .table-order-list > tfoot > tr > td, .table-order-list > tfoot > tr > th, .table-order-list > thead > tr > td,
    .table-order-list > thead > tr > th {
        padding: 8px 25px 8px 8px;
    }
}

@media only screen and (min-width: 1800px) {
    .table-order-list > tbody > tr > td, .table-order-list > tbody > tr > th, .table-order-list > tfoot > tr > td, .table-order-list > tfoot > tr > th, .table-order-list > thead > tr > td,
    .table-order-list > thead > tr > th {
        padding: 8px 35px 8px 8px;
    }

    .table-open-order > tbody > tr > td, .table-open-order > tbody > tr > th, .table-open-order > tfoot > tr > td, .table-open-order > tfoot > tr > th, .table-open-order > thead > tr > td,
    .table-open-order > thead > tr > th {
        padding: 8px 29px 8px 8px;
    }

    .table-request td, .table-request th {
        padding: 8px 29px 8px 8px !important;
    }
}

/* between */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .table-open-order > tbody > tr > td, .table-open-order > tbody > tr > th, .table-open-order > tfoot > tr > td, .table-open-order > tfoot > tr > th, .table-open-order > thead > tr > td,
    .table-open-order > thead > tr > th {
        padding: 8px 60px 8px 8px;
    }
}

@media only screen and (min-width: 1023px) and (max-width: 1400px) {
    .trans-found-container {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin: 0 auto;
    }

    .trans-found-container > div {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin: 0 auto !important;

    }

    .my-profile-container {
        display: flex;
    }

    .my-profile-sub-container {
        margin: 0 auto;
    }

    .my-profile-sub-container > div {
        width: 100%;
    }
}

@media only screen and (min-width: 1023px) and (max-width: 1300px) {
    .dashboard-container, .dashboard-card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dashboard-container > div {
        width: 80%;
    }

    .dashboard-card-container > div {
        width: 100%;
    }

}


@media only screen and (min-width: 1300px) and (max-width: 1650px) {
    .dashboard-container, .dashboard-card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dashboard-container > div {
        width: 60%;
    }

    .dashboard-card-container > div {
        width: 100%;
    }
}

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

@media only screen and (min-width: 991px) and (max-width: 1600px) {
    .market-amounts {
        display: flex;
        flex-wrap: wrap;
    }

    .market-amounts > div {
        width: 100%;
        padding: 0 15px;

    }

    .list-row .form-group:not(:last-child) {
        width: 33%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .selectwrap:after {
        top: 2px;
        right: 16px;
    }

    .ex-icon{
        position: relative !important;
        right: initial !important;
        top: initial !important;
    }
}

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

/* max-width */
@media only screen and (max-width: 1400px) {
    .trans-found-main-container {
        width: 100%;
        margin: 0;
    }

    .trans-found-main-item {
        width: 50%;
    }

    .sort-by {
        margin: 0 0 10px 0;
    }
}

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

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

    .modal {
        background-color: var(--white);
        border: 1px solid #f0f0f0 !important;
        border-radius: 6px;
        box-shadow: none !important;
        background-clip: padding-box;
    }

    .exchange-icon {
        display: block;
        position: absolute;
        top: 4px;
        right: 15px;
    }

    .modal button.close-info-modal {
        position: absolute;
        -webkit-appearance: none;
        top: -60px;
        right: 0;
        width: 30px !important;
        height: 30px !important;
        opacity: 1 !important;
    }

    .modal button.close-info-modal svg {
        width: 30px;
        height: 30px;
        fill: var(--light-grey);
        stroke: var(--light-grey);
    }

    .popover-content {
        padding: 9px 14px;
        width: 95%;
        margin: 0 15px;
        position: fixed;
        left: 0 !important;
        background: var(--white);
        border-radius: 4px;
        border: 1px solid var(--form-white);
    }
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    .btn-save-mobile {
        font-size: 14px;
        color: var(--white);
    }

    .btnPop.saved {
        position: absolute;
        bottom: 15px;
        width: 30%;
        left: 50%;
        background: var(--aqua-blue) !important;
        border: 0;
        border-radius: 4px !important;
        padding: 14px 4px;
        margin-bottom: 0;
        white-space: nowrap;
        vertical-align: middle;
        transform: translateX(-50%);
    }

    .form-area-profile {
        padding-top: 10px;
    }

    .btnPop.closed {
        position: absolute;
        top: 10px;
        width: 30px;
        right: 32px;
        background: transparent !important;
        border: 0;
        border-radius: 0 !important;
        padding: 7px 4px;
        margin-bottom: 0;
        white-space: nowrap;
        vertical-align: middle;
    }

    .btnPop.closed svg {
        fill: var(--dark-grey);
        width: 30px;
        height: 30px;
    }

    .popovericons .fa-check-circle, .popovericons .fa-times-circle {
        font-size: 30px;
        color: var(--white);
    }

    .popover-content {
        top: 30%;
        height: 25%;
    }

    .navbar-header {
        width: 100%;
        & .headerLogo{
            justify-content: flex-start;
        }
    }

}

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

    body.login .main-login {
        padding: 20px;
    }

    .header-logo {
        max-width: calc(100% - 160px);
        overflow: hidden;
    }

    .icons-header {
        margin-right: 5px !important;
        min-width: 40px;
    }

    services-ip-filters .form-horizontal .form-group,
    services-api-authentication .form-horizontal .form-group {
        margin: 0;
    }

    services-ip-filters .form-horizontal .btn-blue {
        margin-left: 15px;
    }

    #filters-modal .modal-dialog {
        overflow: auto;
    }

    .navbar-header {
        background-color: var(--white);
        border-bottom: 1px solid var(--form-white);
        width: 100%;
    }

    .navbar-toggle {
        padding: 16px 10px;
        background-color: var(--white);
        color: var(--black-text);
    }

    .navbar-inverse .navbar-toggle:hover,
    .navbar-inverse .navbar-toggle:focus {
        background-color: var(--white);
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .clip-list-2 {
        height: 60px;
    }

    .clip-list-2:before {
        font-family: FontAwesome;
        content: "\f0c9";
        color: var(--black-text);
        font-size: 30px;
    }

    .main-navigation {
        top: 72px;
        background-color: var(--white) !important;
    }

    ul.main-navigation-menu > li {
        border: 0 none;
    }

    ul.main-navigation-menu > li a {
        border-bottom-color: transparent;
        border-top-color: transparent;
        border-bottom: 1px solid var(--form-white) !important;
        padding: 10px 10px;
    }

    .main-container {
        margin-top: 72px !important;
    }

    .top-padding {
        padding-top: 20px;
    }

    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid transparent;
    }

    .btnTransFunds {
        width: 100% !important;
        height: 140px !important;
    }

    .selectwrap:after {
        top: 2px;
        right: 5px;
    }

    .popover-content {
        overflow-x: hidden;
        padding: 20px 14px 50px 14px;
        width: 100%;
        height: 100%;
        margin: 0;
        position: fixed;
        bottom: 0;
        left: 0 !important;
        background: rgba(251, 251, 251, 0.94);
        border-radius: 0;
        border: 1px solid var(--dark-grey);
        transition: .3s ease-in-out;
    }

    .btn-save-mobile {
        font-size: 14px;
        color: var(--white);
    }

    .btnPop.saved {
        position: absolute;
        bottom: 15px;
        width: 90%;
        left: 5%;
        right: 5%;
        background: var(--aqua-blue) !important;
        border: 0;
        border-radius: 4px !important;
        padding: 14px 4px;
        margin-bottom: 0;
        white-space: nowrap;
        vertical-align: middle;
    }

    .btnPop.closed {
        position: absolute;
        top: 10px;
        width: 30px;
        right: 32px;
        background: transparent !important;
        border: 0;
        border-radius: 0 !important;
        padding: 7px 4px;
        margin-bottom: 0;
        white-space: nowrap;
        vertical-align: middle;
    }

    .btnPop.closed svg {
        fill: var(--dark-grey);
        width: 30px;
        height: 30px;
    }

    .popovericons .fa-check-circle, .popovericons .fa-times-circle {
        font-size: 30px;
        color: var(--white);
    }

    .editFormTitle {
        font-size: 20px;
    }

    #myProfile .form-control {
        width: 100%;
        height: 50px;
        background-color: var(--white) !important;
        border: 1px solid var(--form-white) !important;
    }

    body.rtl #myProfile .form-control {
        text-align: right;
    }

    .from-collapse-2 {
        background: var(--modal-white);
        position: relative;
        padding-top: 10px;
        border-radius: 4px;
        border: 1px solid var(--form-white);
        width: 100%;
    }

    .dropdown-menu.list {
        position: fixed;
        top: 0;
        padding: 0;
        margin: 0;
        text-align: left;
        background-color: var(--modal-white);
        background-clip: padding-box;
        border: 1px solid var(--form-white);
        border: 1px solid transparent;
        border-radius: 0;
        box-shadow: none;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
    }

    .modal-backdrop.fade.in {
        opacity: 0.94;
        filter: alpha(opacity=94);
        background: var(--modal-white);
    }

    .modal.verifyPhone {
        top: 0 !important;
        left: 0;
        width: 100%;
        background: transparent !important;
    }

    .modal-content {
        position: relative;
        background-color: transparent;
        background-clip: padding-box;
        border: none !important;
        border-radius: 6px;
        outline: 0;
        box-shadow: none !important;
    }

    .modal button.close-info-modal {
        position: absolute;
        -webkit-appearance: none;
        top: 0;
        right: 0;
        width: 30px !important;
        height: 30px !important;
        opacity: 1 !important;
        z-index: 999;
    }

    .uib-datepicker-popup.dropdown-menu {
        position: fixed;
        top: 58px !important;
        width: 100vw;
        left: 0 !important;
        border: 1px solid transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .uib-datepicker-popup.dropdown-menu table {
        width: 100%;
        font-size: 10pt;
    }

    .uib-datepicker-popup.dropdown-menu table thead {
        display: table-header-group;
        vertical-align: middle;
        border-color: transparent;
        border: 0;
        font-size: 16px;
        color: var(--aqua-blue) !important;
    }

    .uib-datepicker-popup.dropdown-menu table thead tr th small {
        color: var(--aqua-blue) !important;
    }

    .table.line tr {
        border-bottom: 1px solid transparent !important;
    }

    .uib-datepicker .btn-default strong {
        color: var(--aqua-blue);
        font-size: 16px;
    }

    .uib-datepicker button i {
        color: var(--aqua-blue);
    }

    .modal.fade.in {
        top: 10px;
        background: rgba(255, 255, 255, 0.9);
        border: 0 !important;
        width: 95% !important;
        left: 10px;
        position: fixed;
        overflow: auto !important;
    }

    #userDocsModal {
        left: 10px !important;
    }

    .user-modal-data.fade.in {
        width: 100% !important;
    }

    .progress {
        width: 100%;
        height: 20px;
    }

    .exchange-icon {
        display: block;
        position: absolute;
        top: 4px;
        right: 15px;
    }

    .logout-icon {
        display: block;
        position: initial;
    }

    #profile .col-md-6 .col-sm-12 {
        padding: 0;
    }

    .banks-container .bank-item, .banks-container .bank-item:nth-child(3n) {
        margin: 0 20px 0 0 !important;
    }

    .my-account-warp {
        white-space: pre-wrap;
        max-width: 200px;
    }

    /*my account*/
    .my-acc-details-table {
        padding: 0 16px 0 18px;
    }

    .my-acc-details-table tr:not(.table-hr) {
        display: flex;
        justify-content: space-between;
    }

    .my-account-ellipsis {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 190px;
    }
}

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

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

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

@media only screen and (max-width: 360px) {
    .banks-container .bank-item, .banks-container .bank-item:nth-child(3n) {
        margin: 0 10px 0 0 !important;
    }
}
