@media (max-width: 760px) {
  .nextprevbtn a, .finals a {
    background: #00a115;
    color: #fff;
    padding: 10px 10px;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 30px;
    display: inline-block;
  }

  .nextprevbtn span, .finals span {
    padding-right: 10px;
  }

  .nextprevbtn, .finals {
    text-align: right;
    margin-top: -20px;
    padding: 0px;
    margin-right: 16px;
  }

  section.banner_sec {
    background-size: 135% !important;
    background-position: bottom !important;
    padding-top: 0;
  }

  .banner_sec_caption > div {
    padding-top: 0;
  }

  section.banner_sec p {
    color: #000;
    font-weight: 400;
    font-size: 14px;
  }

  .banner_sec_caption h1 {
    font-size: 20px;
  }

  .banner_sec_caption h1 span {
    color: #2d2d82 !important;
    font-weight: 800 !important;
  }

  section.banner_sec
    > div
    > div:nth-child(1)
    > div.col-lg-7.col-md-12.col-sm-12.banner_sec_caption.text-right
    > div
    > div
    > a {
    background-color: #0f9648 !important;
    color: #fff !important;
    font-weight: 400 !important;
    padding: 7px 16px !important;
  }

  .banner-video p {
    color: #fff !important;
    font-size: 16px !important;
  }

  body section.first_sec h2,
  section.second_sec h2,
  section.third_sec h2 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
    font-weight: 800;
    color: #2d2d82 !important;
  }

  body section.first_sec h2 span {
    color: #2d2d82 !important;
  }

  section.first_sec {
    padding: 40px 0;
  }

  .first_sec p,
  section.second_sec p {
    text-align: center;
    color: #000 !important;
    font-size: 14px;
    line-height: 25px;
    font-weight: 400;
  }

  section.second_sec {
    background: #fff;
    background-repeat: repeat-x;
    padding: 10px 0;
  }

  section.second_sec h2 {
    padding-bottom: 0;
  }

  section.second_sec h2::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 1px;
    background-color: #0f9648;
    left: 0;
    right: 0;
    margin: auto;
    top: -30px;
  }

  section.help_sec h3,
  .help_sec h2 {
    color: #2c1a98;
    padding-top: 0px;
    font-weight: 800;
    font-size: 20px !important;
    padding-bottom: 23px;
    float: left;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
  }

  section.third_sec .fadeInRight p {
    padding-top: 20px;
  }

  .insomniaitem img {
    max-width: 80px !important;
    max-height: 80px !important;
    height: 80px;
    object-fit: contain;
  }

  .insomniaitems {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }

  .insomniaitems .col-12 {
    max-width: 50%;
  }

  section.third_sec {
    padding: 20px 0;
  }

  section.help_sec ul {
    padding-left: 0;
    list-style: none;
  }

  section.help_sec ul li {
    position: relative;
  }

  section.help_sec ul li:before {
    content: "\f05d";
    font: normal normal normal 18px/1 FontAwesome;
    color: #298304;
    position: relative;
    padding-right: 4px;
  }

  section.help_sec h3 {
    margin-bottom: 0;
  }

  .insomniaitem p {
    font-size: 13px;
    margin: 15px 0;
  }

  section p,
  section ul {
    font-size: 14px !important;
    line-height: 1.3;
    font-weight: 400;
    color: #333;
  }

  section.locate_sec {
    background-image: none;
    background-repeat: repeat-x;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #2d2d82;
  }

  /* sleep calculator  */

  .sleep-calc-fields {
    gap: 0px;
    flex-direction: column;
  }

  .sleep-calculator .question {
    width: 100%;
  }

  .sleep-calculator h2 i {
    display: none;
  }

  .sleep-calculator h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
  }

  .sleep-calc-fields .question p {
    color: #200b94;
    font-size: 16px !important;
    font-weight: 700;
    white-space: unset;
  }

  .sleep-calculator button {
    font-size: 15px;
    text-transform: uppercase;
    color: #fff;
    background: #0f9648;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    padding: 5px 20px;
    margin-top: 15px;
    margin-bottom: 30px;
  }

  section.calculator-section {
    padding-top: 15px;
  }

  .results p span {
    display: block;
  }

  .results {
    text-align: center;
  }

  .results p {
    font-size: 16px !important;
  }

  .results table td {
    width: 100% !important;
    display: block;
    text-align: center !important;
  }

  .results table .sleep-perscription img {
    display: none;
  }

  .results tr {
    background-color: #200b9414;
  }

  .results table {
    border-collapse: separate;
    border-spacing: 0 25px;
    border: 1px solid #000;
    margin-bottom: 25px;
  }

  .sleep-perscription strong {
    display: block;
    color: #000;
    padding-top: 9px;
  }

  /* sleep diary table  */

  .mobieTabs ul.nav.nav-tabs li a {
    padding: 0px 5px !important;
  }

  .content-val_mobile > span:first-child {
    background-color: #00a115;
    color: #fff;
    font-size: 8px;
    padding: 10px 12px;
    border-radius: 5px;
  }

  .mobieTabs ul.nav.nav-tabs li a {
    border: none !important;
  }

  span.toolData {
    font-size: 8px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1.2;
    margin-top: 5px;
  }

  .content-val_mobile {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .desktopEntries .weeks ul li a {
    display: block;
    text-decoration: none;
    color: #616161;
    padding: 0;
    height: auto;
    color: white;
    font-size: 16px;
    line-height: 30px;
  }

  .desktopEntries nav.weeks ul {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }

  .desktopEntries nav.weeks ul li {
    flex-shrink: 0 !important;
    width: auto !important;
    flex: unset;
  }

  .mobieTabs ul.nav.nav-tabs {
    float: unset;
    flex-wrap: nowrap;
  }

  .job-box ul li {
    width: 33%;
    font-size: 14px;
    height: auto;
  }

  .forward_sec {
    padding-top: 10px !important;
  }

  .mobieTabs {
    margin-bottom: 25px !important;
  }

  .pd {
    padding: 0px !important;
  }

  .titleBoxArea {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
  }

  .titleBoxArea h3 {
    border: none;
    text-transform: uppercase;
    color: #240c99;
    font-size: 22px;
    font-weight: 800;
  }

  .ntlTabs span.previewWeekSE {
    background-color: #323232;
  }

  form#diaryf {
    display: block !important;
  }

  .desktopEntries .weeks ul {
    display: flex;
  }

  /* add sleep dairy  */

  .addSleepDairy .field-inner-div .fields > * {
    width: 47%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    flex-shrink: 0 !important;
    flex: 1 1 40%;
  }

  .addSleepDairy .field-inner-div .fields {
    flex-wrap: wrap;
  }

  .pd-40 {
    padding: 0 15px 0 15px !important;
  }

  .addSleepDairy .days-menu ul li {
    width: 30%;
    /* margin-bottom: 3px; */
  }

  .addSleepDairy .days-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .addSleepDairy .days-menu {
    width: 100%;
    background: transparent;
    border: none;
    border-right: none;
    display: block;
    text-align: center;
    margin: 10px 0 30px;
  }

  .addSleepDairy span#time_sleep_guid_msg {
    width: 100%;
  }

  .addSleepDairy .mobileBtn {
    margin-top: 10px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .mobileBtn button,
  .mobileBtn a {
    padding: 0 !important;
    background-color: transparent !important;
    border: none !important;
    color: #240c99 !important;
    border-bottom: 1px solid #240c99 !important;
    border-radius: 0;
  }

  .mobileBtn .actionBtns {
    display: flex;
    gap: 15px;
  }

  .mobile_btn {
    font-size: 15px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    background: #0f9648 !important;
    cursor: pointer !important;
    border: 0 !important;
    border-radius: 5px !important;
    padding: 5px 20px !important;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
  }

  form#diaryf,
  .create_account_button {
    display: block !important;
    padding: 0 10px !important;
  }

  .desktopEntries {
    padding: 0 2px;
  }

  .progressPage .sleepEffeciency {
    left: -70px !important;
  }

  .progressPage .tab-pane h4 {
    padding: 0 0 20px;
  }

  .backBtn {
    position: absolute;
    left: 20px;
    background-color: #00a115;
    border: none;
    border-radius: 50px;
    width: 25px !important;
    height: 25px !important;
    z-index: 99 !important;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .buttonLink {
    display: none;
  }

  /* dashboard  */

  .status-box {
    flex-wrap: wrap;
  }

  .welcome-screen .status-box > * {
    width: 100%;
    margin-bottom: 45px;
  }

  .icon-box-container .icon-box {
    width: 47%;
    text-align: center;
    padding: 40px 30px;
    transition: 0.3s ease;
    background: #f9f9f9 !important;
    margin-bottom: 20px;
  }

  .icon-box-container {
    flex-wrap: wrap;
  }

  .icon-box img {
    width: auto;
    height: auto;
    max-width: 100%;
  }

  /* video tab patient  */

  .align-video-content {
    margin-left: 0 !important;
  }

  .tabcontent video {
    margin-right: 0 !important;
  }

  .video_sec .nav-justified {
    flex-wrap: wrap;
  }

  .inherit {
    color: inherit;
  }

  button.navbar-profile {
    position: absolute;
    right: 0px;
    top: -48px;
    padding: 0;
    background-color: transparent;
    border: none;
    color: #000;
    font-size: 20px;
    outline: none !important;
  }

  nav.navbar.navbar-expand-lg.navbar-light.bg-light {
    float: unset !important;
    margin-top: 0px;
  }

  div#loginMenu {
    position: fixed;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    left: 0;
    bottom: 0;
    z-index: 999999;
    background-image: linear-gradient(180deg, #2e2e83, #0f9648) !important;
    transition: 0.5s;
    padding: 3rem;
  }
  div#loginMenu ul {
    list-style: none;
    padding: 0;
  }

  div#loginMenu ul li a {
    font-size: 16px;
    color: #fff;
    line-height: 30px;
    font-weight: 700;
    text-transform: capitalize;
  }

  .crossBtn button {
    background-color: transparent;
    border: none;
    font-size: 25px;
    position: absolute;
    top: 5px;
    right: 7px;
  }
  .crossBtn {
    margin-bottom: 25px;
  }

  .patient_regist_form {
    text-align: center !important;
    margin: 0 0 30px 0px !important;
  }

  .table-layout-fixed {
    border-collapse: separate;
    border-spacing: 15px 0px;
  }

  .show-menu {
    opacity: 1;
    height: auto;
    border: none;
  }

  body.logged-in.dark .content-val_mobile span {
    color: #fff;
  }

  .locker-form ol {
    font-size: 12px;
    width: 235px !important;
    padding: 0;
    line-height: 1.8;
    margin-left: 0;
  }

  .locker-box-div img {
    max-width: 100% !important;
    height: 400px;
    object-fit: cover;
  }

  .locker-img .locker-form textarea {
    border: 1px solid #fff;
    background: transparent;
    border-radius: 5px;
    height: 85px;
    color: #fff;
    padding: 10px;
    outline: none !important;
    box-shadow: none;
    font-size: 13px;
    resize: none;
    width: 215px !important;
    position: relative;
    left: -22px;
  }

  .locker-box-div img {
    left: -20px !important;
  }

  .locker-img .locker-form button {
    position: relative;
    left: -20px;
  }

  body.logged-in.dark nav button {
    top: 0 !important;
    color: #fff;
  }

  body.logged-in.dark nav.navbar.navbar-expand-lg.navbar-light.bg-light {
    background: transparent !important;
    z-index: 999;
  }

  body.logged-in.dark .navbar-light .navbar-toggler-icon {
    filter: invert(1);
  }

  body.logged-in.dark .mega-menu-box {
    margin-top: 20px;
  }

  body.logged-in.dark div#navbarSupportedContent {
    background-color: #f3f3f3cf;
    color: #000 !important;
    margin-top: 28px;
    padding: 10px;
    border-radius: 7px;
  }

  body.logged-in.dark div#navbarSupportedContent * {
    color: #000 !important;
  }

  /* patient login  */

  .provider_registeration {
    box-shadow: none;
    padding: 0 15px;
    float: none;
    width: 100%;
  }

  .provider_registeration form {
    padding-top: 0;
  }

  span#toggle_pwd {
    bottom: 24%;
    transform: translateY(-24%) !important;
  }

  a.anchorjs-link {
    display: block;
    color: #240c99;
    font-weight: 600;
    text-align: right;
  }

  .create_account_button button,
  .create_account_button a {
    width: auto;
    padding: 5px 15px !important;
    background-color: #00a115 !important;
    display: inline-block;
  }

  .create_account_button {
    margin: 35px 0;
  }

  .registrationBox {
    background-color: #e8f4f5;
    padding: 24px 20px;
    margin: 0;
  }

  .registrationBox h4 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 16px;
  }

  .defaultHead,
  .setting_provider .defaultHead {
    font-size: 20px !important;
  }

  section.provider_login_sec {
    /* padding: 40px 0 70px; */
    padding: 0;
  }

  /* provider responsive  */

  .dashboard_provider_page .nav-tabs {
    display: flex;
    float: none !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .dashboard_provider_page .nav-tabs > li a {
    font-size: 12px !important;
    padding: 10px !important;
    border-radius: 0 !important;
    line-height: 1;
  }

  .dashboard_provider_page ul.nav.nav-tabs li {
    float: none;
    width: auto;
    flex-grow: 1 !important;
  }

  .dashboard_provider_page .search-box {
    float: none !important;
    margin: 0 !important;
  }

  .dashboard_provider_page .form-group input {
    padding: 11px 14px;
    border-radius: 50px;
    outline: none;
    width: 100% !important;
  }

  .dashboard_provider_page input#mysearch {
    margin-bottom: 25px;
  }

  .dashboard_provider_page table {
    white-space: nowrap;
  }

  .dashboard_provider_page td a {
    display: inline-block;
    margin-bottom: 4px;
    padding-right: 25px;
  }

  .dashboard_provider_page #provider-table th {
    font-weight: 400;
    background: #200b94;
    color: #fff;
    font-size: 15px;
  }

  .dashboard_provider_page .card-image {
    border: 2px dashed #2d2d82db;
    width: 100%;
    height: 200px;
    overflow: hidden;
    padding: 10px;
    margin-left: 0;
    object-fit: cover;
  }

  .dashboard_provider_page #home4 .col-md-8 .row {
    flex-wrap: nowrap;
  }

  div#doctorcard-container img {
    width: 100% !important;
  }

  ul.instruction_points li {
    font-size: 12px;
  }

  .head-blue {
    font-size: 18px;
  }

  /* .dvr > .row {
  flex-wrap: nowrap;
} */

  .setting_provider .nav-tabs {
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
  }

  .setting_provider .nav-tabs li {
    width: auto !important;
  }

  .setting_provider .nav-tabs li a {
    border-radius: 0 !important;
    font-size: 14px !important;
    padding: 10px !important;
  }

  header button.navbar-toggler {
    right: 15px;
  }

  .invoiceTable {
    white-space: nowrap;
  }

  .invoiceTable td a {
    text-align: center;
    background-color: #3e3e3e;
    color: #fff;
    padding: 6px 19px;
    border-radius: 50px;
    font-size: 10px;
  }

  .form-group {
    text-align: left;
  }

  /* about us  */

  .contact_us {
    padding: 30px 15px !important;
  }

  footer {
    background-color: #f7f7f7 !important;
    color: #888889;
  }

  .bg-mobile-about {
    background-color: #e8f4f5;
  }

  .btn-secondary:hover {
    color: #fff;
    background-color: #5a6268 !important;
    border-color: #545b62;
  }

  /* contact  */

  .contact_us .form-left {
    box-shadow: none;
  }

  .contact_us .form-control {
    background-color: #f2f3f4;
    background-clip: padding-box;
    border: none;
  }

  .contact_us label {
    color: #2e2e83;
    text-transform: uppercase;
  }

  span.asteriskField {
    color: red;
  }

  .left-0 {
    left: 0 !important;
  }

  .passwordBox span#toggle_pwd {
    bottom: 15%;
    transform: translateY(-24%) !important;
  }

  .form-control {
    margin-bottom: 20px !important;
  }

  .consumers_sec:not(:first-child) h3 {
    position: relative;
  }

  .consumers_sec:not(:first-child) h3::before {
    content: "";
    width: 50%;
    height: 2px;
    background-color: #0f9648;
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    margin: auto;
  }

  .card-inner-part {
    padding: 0;
  }

  .accordion a.card-title {
    padding: 0;
    text-align: left;
    display: block;
    margin: 0;
    word-break: break-word;
    font-size: 14px;
    margin-right: 5px;
    color: #0f9648 !important;
  }

  .card-inner-part {
    box-shadow: none;
    border-bottom: 1px solid;
    padding-bottom: 15px;
  }

  #accordion .card {
    padding: 0;
  }

  .card-body.in {
    background-color: #e8f4f5;
    padding: 10px;
    margin-top: 20px;
  }

  .card-header span {
    height: 20px;
    width: 20px;
    right: -15px;
    background-color: transparent;
  }

  div#accordion {
    padding: 0 !important ;
  }

  .card-header span:after {
    font-family: "FontAwesome";
    content: "\f068";
    float: right;
    color: #0f9648;
    text-align: center;
    margin-right: 12px;
    margin-top: 8px;
    -webkit-text-stroke: unset;
  }

  .icons-with-text {
    width: 100%;
    flex-wrap: wrap;
  }

  .icons-with-text.type-2 li {
    width: 100% !important;
  }

  .parallax-sec {
    height: 440px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-image: url(/static/assets/images/p1.jpeg) !important;
  }

  .provider_registeration h5 {
    text-align: left;
  }

  .mega-menu-box {
    top: -30px;
  }

  #changePassword img#eye {
    position: absolute;
    top: 60% !important;
    right: 5px;
  }

  #changePassword h4 {
    font-size: 20px;
  }

  .modal-footer {
    margin-top: 30px !important;
  }

  .mobileStyle {
    flex-wrap: nowrap !important;
  }

  .thanks-tagline {
    background-color: transparent;
    color: #000;
    font-size: 14px;
    text-transform: lowercase;
    margin-bottom: 6px;
  }

  .provider_registeration.patient_regist_form h4 {
    margin-bottom: 20px;
  }

  .provider_registeration.patient_regist_form button {
    background-color: #00a115 !important;
    display: block;
    width: 100%;
    padding: 3px 0;
  }

  /* // QA fixing  */

  .provider_registeration.patient_regist_form .edit_btn {
    width: 35px;
    color: #fff;
  }

  .provider_registeration.patient_regist_form button.showBox {
    padding: 9px;
  }

  .conditions-modal-cont > div:last-child > div {
    flex-wrap: wrap;
  }

  .conditions-modal-cont > div:last-child > div > * {
    display: block;
    width: 100%;
  }

  .forward_sec {
    position: relative;
  }

  .backBtn {
    top: 0;
  }

  ul.nav.nav-tabs {
    float: unset;
    flex-wrap: wrap;
    margin: -25px 0px 0px 0px;
  }

  .viewsleepdiary .weeks ul li {
    width: 33%;
    margin: 0 0 1px 0px !important;
  }

  .wizard-sec.seesionquestion .question .forward_login_process h2 {
    text-align: left !important;
    font-size: 14px !important;
    text-transform: capitalize;
  }

  .seesionquestion h4 {
    font-size: 14px !important;
  }

  .custom-wizard .inso label {
    margin: 0 0 0 2px;
    font-size: 12px !important;
    color: #333;
    padding: 0;
    display: inline !important;
  }
}

@media (max-width: 799px) {
  .welcome-screen .status-box {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .welcome-screen .status-box > div {
    margin-bottom: 25px;
  }

  .welcome-screen {
    padding-top: 0 !important;
    margin-top: -15px;
  }

  .welcome-screen h1 {
    font-size: 24px;
    font-weight: 600;
  }
}

@media (min-width: 970px) {
  .custom-wizard .seesionquestion {
    width: 80% !important;
    margin: auto;
  }

  ul.nav.navbar-nav {
    justify-content: end;
  }
}

@media (min-width: 1333px) {
  .container {
    max-width: 1230px !important;
    margin: 0 auto;
    position: relative;
  }
}
@media (max-width: 760px) {
  .nextprevbtn a, .finals a {
    font-size: 28px !important;
  }
}
@media (max-width: 799px) {
  .wizard-sec.active {
    margin-bottom: 2rem !important;
  }
  div#nextss a {
    width: auto;
    height: auto;
    font-size: 16px !important;
    margin-bottom: 1rem !important;
  }
}
