@media only screen and (min-width: 1366px) and (max-width: 1599px) {
    .buttons {
        margin-top: -54px;
    }
    .manual-pdf {
        margin-top: -130px !important;
    }
    .btn.quickaccess {
        margin-bottom: 0;
        margin-top: 0;
    }
    .book_new_textt h3 {
        font-size: 22px;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1365px) {
    a.video-icon span {
        left: unset;
        top: unset;
    }
    a.video-icon {
        margin: 0;
    }
    .buttons {
        margin-top: -48px;
    }
    .btn.quickaccess {
        padding: 10px !important;
    }
    img.main-logo {
        width: 60% !important;
        margin-top: -50px !important;
        margin-bottom: 0 !important;
    }
    .book_new_textt h3 {
        font-size: 20px !important;
    }
    .erx-left-side-content:after {
        display: none;
    }
    .saveclearbuttons > .col-sm-3 {
        width: auto;
    }
    .saveclearbuttons {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .cover-page {
        margin-top: 0;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .btn.quickaccess {
        padding: 10px !important;
        font-size: 14px;
    }
    .book .page {
        height: 86vh;
    }
    .book .pages {
        height: 94vh;
    }
    .inner-page {
        height: 84vh;
        padding: 10px 7px;
    }
    a.video-icon span {
        top: 10px;
    }
    .cover-page {
        margin-top: -100px;
    }
    img.page-logo {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .table-index a span {
        width: 30px;
        height: 40px;
    }
    .table-index a {
        font-size: 10px;
        margin: 10px 0;
        width: 100%;
    }
    .book_new_textt img {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
    body .pharm_form select#pharmacy_city,
    img.main-logo {
        width: 70% !important;
    }
    .book_new_textt h3 {
        font-size: 17px !important;
        line-height: 1.1;
    }
    .book_new_textt ul > li {
        font-size: 12px !important;
        line-height: 20px !important;
    }
    .book_new_textt p {
        font-size: 13px !important;
    }
    .court h4 {
        line-height: 1.3;
        font-size: 15px;
    }
    .court p,
    .court ul li,
    .cover-page h4 {
        font-size: 13px;
    }
    .court p {
        line-height: 20px;
    }
    .buttons {
        margin-top: -42px;
    }
    .buttons button {
        border: unset;
    }
    .pharmacy-network .col-sm-3,
    .pharmacy-network .col-sm-3.pharm_form {
        width: 100%;
    }
    body .pharm_form .select2-container {
        width: 100% !important;
        margin: 3px 0;
    }
    .cover-page h4 {
        line-height: 1;
        padding-top: 3px;
    }
    .court h3 {
        font-size: 20px;
        line-height: 1.2;
    }
    .pharmacy-network h3 {
        font-size: 25px;
    }
    .inner-page .ssl {
        margin-bottom: 0 !important;
    }
    .saveclearbuttons > .col-sm-3 {
        width: 36%;
    }
    .erx-left-side-content:after {
        display: none;
    }
    .erx-club-sec {
        transform: scale(0.75);
    }
    section.erx-club-sec.p-3 .erx-left-side-content img.log-1 {
        width: 170px !important;
    }
    .erx-right-side-content h3 {
        font-size: 17px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .book .page {
        height: 86vh;
    }
    .book .pages {
        height: 94vh;
    }
    .inner-page {
        height: 84vh;
        padding: 10px 7px;
    }
    a.video-icon span {
        display: block;
        bottom: -6px;
        top: unset;
        left: 0;
    }
    .cover-page {
        margin: 0;
    }
    a.video-icon {
        margin-bottom: 20px;
    }
    img.page-logo {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .table-index a span {
        width: 30px;
        height: 40px;
    }
    .table-index a {
        font-size: 10px;
        margin: 10px 0;
        width: 100%;
    }
    .book_new_textt img {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
    .inner-page .ssl,
    img.main-logo {
        margin-bottom: 0 !important;
    }
    body .pharm_form select#pharmacy_city,
    img.main-logo,
    ul.erx-list li {
        width: 100% !important;
    }
    .book_new_textt h3 {
        font-size: 17px !important;
        line-height: 1.1;
    }
    .book_new_textt ul > li {
        font-size: 12px !important;
        line-height: 20px !important;
    }
    .book_new_textt p {
        font-size: 13px !important;
    }
    .court h4 {
        line-height: 1.3;
        font-size: 15px;
    }
    .court p,
    .court ul li,
    .cover-page h4 {
        font-size: 13px;
    }
    .court p {
        line-height: 20px;
    }
    .buttons {
        margin-top: -42px;
    }
    .buttons button {
        border: unset;
    }
    img.main-logo {
        margin-top: -105px;
    }
    .pharmacy-network .col-sm-3,
    .pharmacy-network .col-sm-3.pharm_form {
        width: 100%;
    }
    body .pharm_form .select2-container {
        width: 100% !important;
        margin: 3px 0;
    }
    .cover-page h4 {
        line-height: 1;
        padding-top: 3px;
    }
    .court h3 {
        font-size: 20px;
        line-height: 1.2;
    }
    .pharmacy-network h3 {
        font-size: 25px;
    }
    .saveclearbuttons > .col-sm-3,
    .saveclearbuttons > .col-sm-4 {
        width: 37%;
    }
    .saveclearbuttons {
        padding: 0 !important;
    }
    .log-reg a {
        font-size: 12px;
        width: fit-content;
        margin-bottom: 10px;
    }
    img.log-1 {
        width: 110px !important;
    }
    .erx-club-sec {
        transform: scale(0.8) !important;
    }
    .erx-right-side-content h3 {
        font-size: 23px;
        line-height: 1.2;
    }
    .erx-right-side-content h4 {
        font-size: 11px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 992px){
    .book {
        overflow: hidden;
    }
    .cover-page {
        margin-top: -60px;
    }
    .book .page.flipped:nth-child(even) img.main-logo {
        margin-top: -40px !important;
        max-width: 100%;
    }
    .manual-pdf {
        margin-top: -50px !important;
    }
    .col-sm-3 {
        width: 100%;
        margin: 0 0 15px;
    }
    .inner-page .ssl {
        display: none;
    }

    .form-group.row.g-0.saveclearbuttons {
        padding: 0;
        gap: 20px;
        margin-left: -20px;
    }

    .form-group.row.g-0.saveclearbuttons >div {
        width: fit-content;
    }
    body .pharm_form .select2-container {
        width: 100% !important;
    }
    .page.flipped p.pg-num {
        display: none;
    }
    .manual-pdf p {
        margin-top: 0 !important;
    }

    img.main-logo {
        margin-top: -70px;
    }
    body {
        padding: 0;
    }

    .page.active[data-page="1"] {
        overflow-y: scroll;
    }

    .page {
        padding-bottom: 50px;
    }

    p.pg-num {
        position: fixed;
        bottom: 40px;
        right: 15px;
        font-size: 20px;
    }

    .page.active[data-page="1"] p.pg-num {
        bottom: -4px;
        right: 20px;
    }

    .book .page:nth-child(odd)::after {
        left: -10px;
        top: 0;
    }

    .page.flipped {
        overflow-y: scroll;
    }

    .inner-page {
        padding-bottom: 50px;
    }

    .page.flipped {
        padding-right: 40px;
    }
}


@media only screen and (min-width: 100px) and (max-width: 519px) {
	p.pg-num {
	    bottom: 80px;
	}
	.book .page:nth-child(odd)::after {
	    top: 0;
	}
    .court h3,
    .court ul li {
        line-height: 1.2;
    }
    .table-inner-hdr h6 {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 3px;
    }
    .table-inner-hdr {
        flex-flow: wrap;
    }
    .table-inner-hdr h6 dl,
    .table-inner-hdr h6 span {
        padding-left: 0;
        font-size: 11px;
    }
    .inner-page .ssl {
        top: 10px;
        left: 62%;
        width: 100px;
    }
    .tab-1-table img {
        width: 40%;
        margin: 10px 0;
    }
    .tab-1-table p {
        padding: 7px 0;
        font-size: 13px;
    }
    .tab-1-table td {
        font-size: 10px;
        font-weight: 600;
    }
    .plan input {
        font-size: 12px;
        padding: 0 10px;
    }
    .court h4,
    .law,
    .pharmacy-network,
    .plan-form,
    body {
        padding: 0;
    }
    table {
        width: 1000px;
    }
    .simple-table,
    .table-onchange {
        overflow-x: scroll;
    }
    .court ul li {
        font-size: 14px;
        margin: 0 0 10px;
        padding: 0;
    }
    .court h4 {
        margin: 0 0 15px;
        line-height: 1.4;
        font-size: 15px;
    }
    .form-group label {
        flex: 1;
        margin-bottom: 5px;
        padding: 0;
    }
    .table-index a {
        display: flex;
        align-items: center;
    }
    .table-index a span {
        max-width: 30px;
    }
    a.video-icon {
        margin-left: 0;
        text-align: center;
        margin-top: 10px;
    }
    a.video-icon span {
        left: 0;
        display: block;
        text-align: center;
        top: 33px !important;
        font-size: 14px;
    }
    .radio-tile-group .input-container {
        width: 50%;
    }
    .radio-tile-group .input-container .radio-tile {
        padding: 10px !important;
    }
    .radio-tile-group .input-container .radio-tile-label {
        font-size: 11px !important;
        line-height: 20px;
    }
    .video-play-button::before {
        left: 0;
        right: 0;
        transform: none;
        top: -20px;
        bottom: 0;
        margin: auto;
    }
    .book .page:nth-child(2n) {
        display: none;
    }
    .book .page {
        width: 100vw;
        height: 100%;
        background-color: #fff !important;
    }
    .book .pages, .book {
        height: 89vh;
    }
    .inner-page {
        width: 100%;
        overflow-y: auto;
        padding-bottom: 80px;
        height: -webkit-calc(89vh - 60px);
    }
    .buttons {
        width: 100%;
        position: fixed;
        bottom: 0px;
        background: #eaeaea;
        padding: 10px 1.6rem;
    }
    .erx-club-sec,
    .saveclearbuttons,
    section.erx-club-sec.p-3 .col-6 {
        padding: 0 !important;
    }
    .form-group input,
    .form-group input[type="email"],
    .form-group input[type="number"],
    .form-group input[type="text"] {
        height: 36px;
    }
    img.main-logo {
        margin-top: -50px;
    }
    .book_new_textt img {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
    .book_new_textt h3 {
        font-size: 20px;
        line-height: 1.1;
    }
    .book_new_textt p,
    .book_new_textt ul > li,
    .book_new_textt ul > li > ul > li {
        font-size: 13px !important;
    }
    .book_new_textt ul > li {
        line-height: 20px;
    }
    .page-title,
    .pharmacy-network h3 {
        font-size: 30px;
    }
    .court p {
        padding-left: 0;
    }
    .pharmacy-network a {
        width: 100%;
    }
    .inner-page .ssl {
        margin: 0 0 2px !important;
        position: static;
    }
    .saveclearbuttons .col-sm-3,
    .saveclearbuttons .col-sm-4 {
        width: 50%;
        margin-bottom: 2px !important;
    }
    button#resetform3,
    button#resetform4 {
        margin-left: 10px;
    }
    .form-group.row.g-0.saveclearbuttons.pt-0 button {
        width: 100%;
        margin-bottom: 7px;
    }
    .erx-club-sec {
        margin: 0 !important;
        transform: scale(0.9) !important;
    }
    .erx-left-side-content img {
        width: 100px !important;
    }
    .erx-left-side-content {
        margin-left: -20px;
    }
    .erx-left-side-content:after {
        width: 10px;
        right: 0;
        top: 20px;
    }
    .erx-right-side-content {
        padding-left: 10px;
    }
    .erx-right-side-content h3 {
        font-size: 10px;
    }
    .erx-right-side-content h4 span {
        font-size: 13px;
        margin: 0;
    }
    .erx-right-side-content h4 {
        display: block;
        padding: 10px 2px;
        font-size: 13px;
        line-height: 1.1;
        margin: 0 0 10px;
    }
    ul.erx-list li {
        margin: 0;
        gap: 4px;
    }
    ul.erx-list h6,
    ul.erx-list p {
        font-size: 12px !important;
    }
    .plan-header h5 {
        font-size: 25px;
        padding-left: 0;
        text-align: center;
    }
    .sec-head h2 {
        margin-top: 10px;
        font-size: 14px !important;
    }
    .plan {
        margin: 2px 0;
    }
    html img.main-logo {
        width: 90% !important;
    }
    .manual-pdf,
    form.justiceform4 .form-group {
        margin: 0;
    }
    .form-group input,
    .form-group select,
    .log-reg a {
        margin-bottom: 10px;
    }
    .log-reg a {
        width: fit-content;
    }
    .manual-pdf h4 {
        margin-top: 20px;
    }
    .book .page.active .inner-page {
        margin-top: 0 !important;
    }
    .form-group select {
        height: 36px !important;
    }
    .inner-page.form3 h4 {
        margin-bottom: 10px;
        padding: 0;
    }
    body .pharm_form .select2-container {
    height: 28px !important;
    width: 100% !important;
}
}

@media only screen and (min-width: 520px) and (max-width: 767px) {
    .page.flipped {
    padding-bottom: 70px;
}
  .col-lg-6.col-md-6 {
    width: 50%;
}
ul.table-con {
    margin: 20px 0;
}
  .col-sm-12.mt-5.text-center > img {
    margin-top: -40px;
}
  .book .page:nth-child(odd)::after{
    top: 0;
  }

  .low_cost h4 {
    font-size: 18px !important;
}

.low_cost ul {
    display: block !important;
}

.video_play a {
    position: relative;
    height: 30px;
    padding: 4px 20px;
}

a.video-icon.video-play-button.vid-icon2:before {
    height: 120%;
    top: -10%;
    left: 0 !important;
}
  img.main-logo{
    margin-top: 0;
    max-width: 100%;
  }
    .manual-pdf {
    margin-top: 0 !important;
}
  .pharmacy-network {
    padding: 0 !important;
}
.table-inner-hdr h6 {
  width: 100%;
  margin: 0 0 10px;
  justify-content: space-between;
}
.table-inner-hdr {
  flex-flow: wrap;
}
.table-inner-hdr h6 span, .table-inner-hdr h6 dl {
  padding-left: 0;
}
.inner-page .ssl {
  top: 10px;
  left: 55%;
  width: 80px !important;
  margin-bottom: 0 !important;
}
.tab-1-table img {
  width: 40%;
}
.plan input {
  font-size: 12px;
  padding: 0 10px;
} 

table {
  width: 1000px;
}
.table-onchange {
  overflow-x: scroll;
}
.simple-table {
  overflow-x: scroll;
}
  
.law {
  padding: 0;
}

.court h3 {
  line-height: 1.2;
}
.court h4 {
  padding: 0;
  line-height: 1.4;
  font-size: 15px;
  margin: 0 0 15px;
}
.court ul li {
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.2;
  padding: 0;
}

.court h3 {
  line-height: 1.2;
}
.court h4 {
  padding: 0;
  line-height: 1.4;
  font-size: 15px;
}
  .form-group label {
  flex: 1;
  margin-bottom: 5px
}
  .table-index a {
  display: flex;
  align-content: ;
  align-items: center;
}
.table-index a span {
  max-width: 30px;
  flex-basis: ;
}
a.video-icon {
  margin-left: 0;
  text-align: center;
  margin-top: 80px;
}
a.video-icon span {
  left: 0;
  width: 300px !important;
  display: block;
  text-align: center;
}
    .video-play-button::before {
        top: -50px;
    }
    .book .page:nth-child(even) {
    display: none;
}

.book .page {
    width: 100vw;
    height: 100%;
    background-color: #fff !important;
}

.book .pages, .book {
    height: 89vh;
}

.inner-page {
    width: 100%;
    height: calc(89vh - 60px);
    overflow-y: auto;
    padding-bottom: 80px;
}

.buttons {
    width: 100%;
    position: fixed;
    bottom: 0px;
    background: #eaeaea;
    padding: 10px 1.6rem;
}

body {
    padding: 0;
}

.form-group input[type="text"], .form-group input[type="number"], .form-group input[type="email"], .form-group input[type="password"], span.select2-selection__rendered,.select2-selection, select.form-control {
    height: 28px !important;
    margin: 0 0 6px;
}
.form-group.row.g-0.saveclearbuttons {
    padding: 0;
}

.form-group.row.g-0.saveclearbuttons>div:nth-child(3), .form-group.row.g-0.saveclearbuttons>div:nth-child(2) {
    width: 50%;
}
.plan-body .print-plan-card {
    width: 100%;
    margin-left: 0;
    filter: drop-shadow(0px 0px 5px black);
    margin: 30px 0;
}
.pharmacy-network a {
    width: 100%;
}

.pharm_form {
    margin: 0 0 10px;
}
span#select2-username-h6-container {
      padding: 5px;
  }

  span.select2-selection__arrow {
      top: 5px !important;
  }
  p.pg-num {
    bottom: 60px;
    right: 10px;
    background: #ffffff;
    padding: 7px;
}

}

@media only screen and (min-width: 520px) and (max-width: 767px){
  section.erx-club-sec.p-3 {
    padding: 0 !important;
    margin: 0;
    transform: scale(1);
  }

  .erx-left-side-content {margin-top: -40px;top: 0;}
  .erx-right-side-content h3 {
      font-size: 6px;
      line-height: 1;
  }

  .erx-right-side-content h4 {
      margin: 0;
      font-size: 6px;
      padding: 5px;
  }

  ul.erx-list h6, ul.erx-list p {
      font-size: 5px !important;
      padding-left: 0;
      line-height: 1.5;
  }

  ul.erx-list li {
      margin: 3px 0 !important;
      line-height: 1;
  }

  .erx-left-side-content a:nth-child(2) img {
      width: 60px !important;
  }

  .erx-left-side-content a img {
      width: 50px !important;
  }
  
  .form-group.row.g-0.saveclearbuttons {
      display: flex;
      gap: 10px;
      margin-bottom: 40px !important;
  }

  .form-group.row.g-0.saveclearbuttons > div:first-child, .form-group.row.g-0.saveclearbuttons > div:last-child {
      display: none;
  }

  .form-group.row.g-0.saveclearbuttons>div {display: inline-block;width: auto !important;}
  .erx-right-side-content {
    padding-left: 5px;
}

.erx-club-sec .container {
    padding: 0;
}

.sec-head h2 {
    font-size: 8px !important;
    padding: 5px 10px !important;
}

.sec-head {
    margin: 0 0 -10px;
}
span.select2-selection__rendered {
    padding: 5px 0;
}
body .pharm_form .select2-container {
    height: 28px !important;
    width: 100% !important;
}
}


@media only screen and (min-width: 600px) and (max-width: 767px) {
  .book .page{
    overflow: scroll;
  }
  .top_book_logos + img {width: 240px;margin: 0 auto !important;display: block;margin-bottom: -100px !important;}

  .cover-page {
      margin: 0 0 90px;
  }
/*  .video-play-button::before {
      left: 77px;
  }*/
  .erx-right-side-content h3 {
      font-size: 12px;
      line-height: 1;
  }

  .erx-right-side-content h4 {
      margin: 0;
      font-size: 10px;
  }

  ul.erx-list h6, ul.erx-list p {
      font-size: 10px !important;
  }

  ul.erx-list li {
      margin: 3px 0 !important;
  }

  .erx-left-side-content a:nth-child(2) img {
      width: 120px !important;
  }

  .erx-left-side-content a img {
      width: 80px !important;
  }
  .form-group.row.g-0.saveclearbuttons {
      display: flex;
      flex-flow: nowrap;
      gap: 10px;
      flex-flow: wrap;
  }

  .form-group.row.g-0.saveclearbuttons > div:first-child, .form-group.row.g-0.saveclearbuttons > div:last-child {
      display: none;
  }

  .form-group.row.g-0.saveclearbuttons>div {display: inline-block;width: auto !important;}
  span.select2-selection__rendered {
    padding: 5px 0;
}
}