@media (min-width: 1800px) {
  .page-container {
    /*padding: 0px 0px 70px;*/
  }

  .show-right-side-bar .page-container {
    /*padding: 20px;*/
  }


  .home-filter {
    margin-bottom: 10px !important;
  }

  .patient-dashboard-filter {
    /*margin-bottom: 35px !important;*/
  }


}

@media (min-width: 1600px) {

}

@media (min-width: 1420px) {
  .other-counters > div {
    min-width: 20% !important;
  }
}

@media (min-width: 1066px) {
  .bed-information > .row > div {
    max-width: 20% !important;
  }



}

@media (min-width: 1000px) {
  .male-infertility-history-popup .p-dialog {
    min-width: 1000px !important;
  }
}

@media (min-width: 980px) {
  .btn-toggle-menu-header {
    display: none !important;
  }
}

@media (min-width: 800px) {
  .ehr-scan-list .scan-list {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    border-left: solid 1px #ccc;
    margin-right: 10px;
    z-index: 100;
  }

  .ehr-scan-list .image-container {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    height: 100%;
    margin-right: 25%;
    padding-bottom: 15px;
    padding-right: 25px;
  }

  .hormone-popup .p-dialog {
    min-width: 590px;
  }

}

@media (min-width: 850px) {
  .biochemistry-popup .p-dialog {
    min-width: 890px;
  }

}

@media (min-width: 800px) {
  .infection-popup .p-dialog {
    min-width: 820px;
  }
}


@media (min-width: 720px) {
  .multi-field-values-selection .p-dialog {
    min-width: 720px;
  }
}

@media (min-width: 640px) {
  .home-filter .siwtch-selection {
    min-width: 500px;
  }

  .hematology-popup .p-dialog {
    min-width: 610px;
  }

  .karyotype-popup .p-dialog {
    min-width: 660px;
  }

  .preeclampsia-popup .p-dialog {
    min-width: 660px;
  }

  .thyroid-popup .p-dialog {
    min-width: 660px;
  }

}


@media (min-width: 430px) {
  .screening-popup .p-dialog {
    min-width: 465px;
  }
}

@media (min-width: 610px) {
  .prenatal-control-popup .p-dialog {
    min-width: 615px;
  }
}

@media (min-width: 330px) {
  .urine-popup .p-dialog {
    width: 350px;
  }
}

@media (max-width: 1605px) {
  .other-counters > div {
    min-width: 25% !important;
  }

}

@media (max-width: 1450px) {
  .top-counters > div {
    min-width: 25% !important;
  }
}

@media (max-width: 1366px) {
  .dashboard {
    flex-flow: column;
    display: inline !important;
  }

  .dashboard > div.dashboard-content {
    width: 100%;
    margin-left: 0px;
  }

  main.small-sceen {
    width: 100% !important;
  }

  main.small-sceen.show-right-side-bar .riht-side-bar-opened-bg {
    position: absolute;
    top: 50px;
    width: 100%;
    height: calc(100% - 50px);
    opacity: 0.2;
    z-index: 799;
    transition: all .4s ease;
    background: #000000d9;
  }

  .right-side-bar.small-sceen {
    position: absolute;
    left: -250px;
    width: 220px !important;
    z-index: 800;
    box-shadow: -2px 0px 7px #99dce640;
  }

  .right-side-bar.show-right-side-bar {
    left: 0;
  }

  .right-side-bar.show-right-side-bar .close-side-bar {
    display: flex !important;
  }

  /*.ng-progress-bar .ng-spinner {*/
  /*  right: 0 !important;*/
  /*  width: calc(100%) !important;*/
  /*}*/
  header {
    /*padding-right: 15px !important;*/
  }

  header .toggle-menu {
    display: flex !important;
  }

  header h1 {
    /*padding: 0 !important;*/
  }
}

@media (max-width: 1280px) {
  .clinic-list {
    /*justify-content: center !important;*/
  }

  .operation-form .form-list {
    /*display: none!important;*/
    position: absolute;
    width: 0 !important;
    height: 0 !important;
    z-index: 20;
    border-width: 0 !important;
    overflow: hidden;
    box-shadow: #00000059 2px 5px 20px 1px;
  }

  .operation-form .form-list label,
  .operation-form .form-list .table-container {

  }

  .operation-form.open-list .form-list {
    display: flex !important;
    left: 14px !important;
    width: calc(100% - 28px) !important;
    height: auto !important;
    min-width: 35px;
    max-width: 375px;
    border-width: 1px !important;
  }

  .operation-form.open-list .form-list-bg {
    display: block !important;
  }

  .operation-form .btn-toggle-form-list {
    display: flex !important;
  }

  .operation-form.open-list .btn-toggle-form-list {
    background: #087bde;
    color: #fff;
    border-radius: 5px;
  }

}

@media (max-width: 1100px) {
  .ui-table table {
    width: auto !important;
  }

  .form-list .ui-table table {
    width: 100% !important;
  }


  .part-content .item {
    flex-wrap: wrap;
  }

  .range-slider {
    margin: 10px 0 15px;
  }

  header .btn-patient-search {
    width: 35px;
    height: 30px;
    padding: 0;
  }

  header .btn-patient-search span {
    display: none;
  }

  .p-info {
    font-size: 11px !important;
  }
}

@media (max-width: 1066px) {
  #popup-search-patient .p-dialog,
  .search-patient {
    width: 100% !important;
  }

  .clinic-list {
    padding-bottom: 70px !important;
  }
}

@media (max-width: 1000px) {
  .field-container tbody {
    display: flex;
    flex-wrap: wrap;
  }

  .field-container tr {
    display: flex;
    flex-flow: column;
    margin: 8px 0px;

    width: 100%;
  }


  .field-container {
    border: none !important;
  }

  .male-infertility-history-popup .p-dialog {
    width: 100% !important;
  }

  .p-info.marriage{
    display: none;
  }
}

@media (max-width: 980px) {

  header h1 {
    display: none;
  }


  .main-tabs a {
    font-size: 11px !important;
    padding: 6px 10px 6px !important;
    margin: 5px 2px 0 !important;
  }

  .main-left-menu {
    position: fixed !important;
    z-index: 100000;
    box-shadow: 1px 6px 8px -1px #00000069;
    left: -100px;
    padding-top: 0px !important;
  }

  .main-left-menu.open {
    left: 0;
  }

  .btn-toggle-menu {
    display: none !important;
  }

  .btn-toggle-menu-header {
    padding-left: 15px !important;
  }

  .bg-left-menu {
    display: block;
  }

  .left-nav li.profile > ul {
    left: unset !important;
  }
}

@media (max-width: 940px) {
  .p-info.age{
    display: none;
  }

}

@media (max-width: 850px) {

  /*.page-container {*/
  /*  padding: 0px 0px 70px !important;*/
  /*}*/

  .form-content {
    margin: 0 !important;
    padding: 10px !important;
  }

  .infection-popup .p-dialog {
    width: 100% !important;
  }
}

@media (max-width: 800px) {
  .infection .radio-input {
    position: relative!important;
    left: 0!important;
    top: 0!important;
  }
  .p-info.archive-code{
    display: none;
  }
}

@media (max-width: 778px) {


  .left-nav li.profile > button span {
    font-size: 13px;
    /*display: none!important;*/
    /*display: none!important;*/
  }

  .calendar-input i {
    /*top: 4px;*/
  }

  .scan-list {
    display: inline-flex;
    flex-wrap: wrap;
  }

  .scan {
    margin: 5px !important;
  }


  .search-container > span {
    display: none;
  }

  .note-list {
    justify-content: center !important;
  }
}

@media (max-width: 763px) {
  .cartable-inbox-outbox .count-commissin {
    left: 124px !important;
    top: 67px !important;
  }

  .my-accounts-home .row {
    margin: 0 !important;
  }

  .my-accounts-home {
    padding: 0 15px !important;
  }

  .infection .item-label {
    align-self: flex-start;
  }

  .infection app-top-text-box {
    align-self: flex-end;
  }

  .infection .top-radio-button {
    flex-flow: column;
    align-items: flex-start !important;
  }

  .tab-content .panel {
    flex-flow: column;
    margin-bottom: 5px !important;
  }

  .tab-content .panel-title {
    width: 100%;
  }

  .tab-content .panel-content {
    border-left: none;
  }

  .tab-content .panel-content.has-sub-panel .panel {
    border-left: none;
  }

  .p-info {
    font-size: 10px !important;
  }
}

@media (max-width: 700px) {
  .tamin-tab-content .combo-content {
    width: 100% !important;
    min-width: 0!important;
  }

  .tamin-tab-content .no-wrap {
    flex-wrap: wrap !important;
  }

}


@media (max-width: 670px) {
  .patient-dashboard-filter .siwtch-selection {
    width: 100% !important;
  }

  .patient-dashboard-filter .siwtch-selection button {
    font-size: 10px !important;
    flex-flow: column;
  }

  .ehr-commission-list .info {
    flex-flow: column;
    align-items: flex-start !important;
  }

  .ehr-commission-list .info .view-item {
    margin: 0px 10px;
    padding: 4px 0;
  }

  .archive-code {
    display: none;
  }
}


@media (max-width: 620px) {
  header .time {
    display: none !important;
  }

  .profile ul .user-full-name {
    display: block !important;
  }

  .profile button .user-full-name {
    display: none !important;
  }

  .left-nav li.profile > button img {
    margin-right: 0 !important;
  }

  body .p-dialog {
    top: 0px !important;
    left: 0 !important;
    height: 100%;
    transform: none !important;
    width: 100%;
  }

  p-confirmdialog .p-dialog {
    height: auto;
    top: 50px !important;
    left: 10px !important;
    width: calc(100% - 20px) !important;
  }


  .pregnancy-info .desc {
    flex-flow: column;
    padding-left: 15px;
  }


}

@media (max-width: 604px) {

  .page-info {
    width: 100% !important;
    margin: 5px 0;
  }

  .part-content {
    padding: 15px 0 !important;
  }

  .my-accounts-home {
    margin: 0 !important;
    padding: 0 !important;
  }

  .my-accounts-home .top-nav {
    margin: 10px !important;
  }

  .main-tabs .btn-close {
    right: 5px !important;
    top: 3px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 540px) {

  .showBtnShowLeftMenu header .btn-show-left-menu {
    display: block;
  }
  .title-container img {
    /*display: none;*/
  }

}

@media (max-width: 506px) {

  .navigation button {
    margin: 0 2px !important;
  }

  .navigation label {
    margin: 0 3px !important;
    height: 23px;
  }

  .navigation .btn-search {
    margin: 0 11px !important;
  }


}

@media (max-width: 480px) {
  .controls-header {
    padding: 0 8px !important;
  }

  .canvas_whiteboard_buttons > button.canvas_whiteboard_button-save {
    padding: 4px 8px !important;
  }
}

@media (max-width: 453px) {

  .navigation button {
    width: 18px !important;
  }
}

@media (max-width: 449px) {
  .page-info .header .item:nth-of-type(1) {
    display: none !important;
  }

  .page-info .header .item label {
    font-size: 14px !important;
  }

  .page-info .header .item span {
    font-size: 11px !important;
  }

  header {
    padding-bottom: 5px !important;
  }

  .p-info {
    font-size: 9px !important;
  }

  .field-container .childs {
    flex-flow: column !important;
    align-items: flex-start !important;
  }

  .field.is-label {
    padding: 5px !important;
    margin-bottom: -1px;
  }

  .table-responsive-row .is-label {
    padding: 7px 5px 7px 5px !important;
    margin-bottom: 0;
  }


}

@media (max-width: 400px) {
  .scan {
    width: 100% !important;
  }

  .p-toast-bottom-left {
    bottom: 5px!important;
    left: 5px!important;
  }
  .operating-control {
    flex-wrap: wrap;
    flex-flow: column-reverse;
  }

  .operating-control > .ui-button,
  .operating-control > app-top-button ,
  .operating-control > button,
  .operating-control > .secondry-button{
    width: 100% !important;
    margin: 5px;
  }
}

@media (max-width: 380px) {


}

@media (max-width: 375px) {
  header {
    /*flex-flow: column-reverse;*/
    align-items: stretch !important;
    gap: 10px;
  }
}

@media (max-width: 320px) {
  header h1 {
    font-size: 12px !important;
  }
}

/*************************HEIGHT**********************/
@media (min-height: 800px) and (min-width: 1000px) {

  .controls-header {
    /*position: sticky;*/
    /*top: 57px;*/
    /*z-index: 100;*/
  }

  .form-list {
    position: sticky;
    top: 15px;
    align-self: start;
  }
}

@media (max-height: 650px) {
  .timelinePopup {
    top: 15px !important;
  }

  body .p-dialog.ehr-popup {
    min-height: 100% !important;
  }

  app-timeline-popup {
    padding: 0 !important;
  }

  #login-page .copy-right {
    display: none !important;
  }

  .scrollNotTop app-header {
    display: none;
  }


}

@media (max-height: 500px) {

}

@media (max-height: 450px) {
  .user {
    height: 450px;
  }

  .action-container {
    /*box-shadow: -2px -5px 11px -3px #00000012;*/
  }

  .show-large-logo .large-logo {
    display: none !important;
  }

}
