/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hide-on-mobile {
    display: none;
  }

  .ref-text {
    padding-right: 35px;
  }

  .tab-row {
    text-align: center;
  }
}

/* Extra small devices (portrait phones, less than 767px) */
@media (max-width: 768px) {
   .circle-convertor-wrapper {
     padding-left: 20px;
     padding-right: 20px;
   }
  .footer-content {
    text-align: center;
  }
  .home-wrapper {
    display: block;
  }

  .home-wrapper > div {
    width: 100%;
    padding: 10px 15px;
  }
  .home-left .sub-title {
    font-size: 11px;
  }
  .sc-main-title {
    font-size: 13px;
  }
  .tab-child-card-wrapper .title {
    font-size: 13px;
  }
  .premix-tab {
    font-size: 9px !important;
    margin-top: -10px;
  }
  .home-left {
    position: static;
    padding: 140px 50px 50px;
    height: 345px;
    background-size: cover;
  }
  .home-right-body {
    padding: 50px 40px;
    min-height: auto;
    text-align: center;
  }
  .tab-card-title {
    font-size: 18px;
    border-bottom: 5px solid #00e2ff;
  }
  .tab-card {
    width: 200px;
  }
  .tab-row-container {
    left: auto;
    position: static;
    transform: none;
  }
  .tci-logo img {
    margin-top: -2px;
  }
  .tci-logo {
    display: none;
  }
  .shape-circle-border {
    width: 260px;
    height: 260px;
  }
  .main-outer-border {
    border: 10px solid #3d5173;
  }
  .shape-circle-content {
    padding: 25px 18px;
  }
  .sc-main-sub-title {
    font-size: 10px;
  }
  .tab-shape-container {
    position: static;
  }
  .tab-shape-circle-container {
    padding-top: 40px;
    margin-top: 10px;
  }
  .shape-circle-border-logo {
    position: absolute;
    top: -25px;
    left: -2px;
  }
  .shape-circle-border-logo img {
    width: 60px;
  }
  .tab-row.active {
    padding-bottom: 0;
  }
  .shape-circle-center {
    width: 70px;
    height: 70px;
    font-size: 10px;
  }
  .scrc-tab-1 {
    top: -17px;
    left: -7px;
    transform: rotateZ(20deg);
    height: 104%;
  }
  .scrc-tab-3 {
    bottom: -125px;
    left: 50%;
    transform: rotateZ(37deg) translateX(-50%);
  }
  .scrc-tab-2 {
    top: -23px;
    right: -50px;
    transform: rotateZ(1deg);
  }
  .scr-title {
    font-size: 14px;
  }
  .scrc-tab-2 .scr-title {
    top: 90px;
    transform: rotateZ(58deg);
    left: 10px;
  }
  .scrc-tab-3 .scr-title {
    top: 55px;
    left: 35px;
  }
  .scrc-tab-1 .scr-title {
    top: 90px;
    transform: rotateZ(-85deg);
    left: 20px;
  }
  .tab-row.active-res {
    display: none;
  }
  .tab-row.active.active-res {
    display: block !important;
  }
  .calculator-note {
    font-size: 12px;
    width: 75%;
  }

  .note-container {
    margin-top: 0;
  }
  .shape-circle-tab-title {
    font-size: 10px;
    max-width: 160px;
    bottom: 80%;
  }

  .arrow-curve {
    height: 27px;
    left: 22px;
  }
  .arrow-curve img {
    width: 105px;
  }
  .cbc-btn {
    width: 51px;
    height: 51px;
    /* border: 2px solid #9b9b9; */
    padding: 5px;
  }
  .cbc-btn-outer {
    padding: 8px;
    font-size: 9px;
  }
  .cbc-input-group input {
    width: 92%;
    padding: 10px 8px 10px 15px;
    font-size: 15px;
  }
  .circle-shape-border,
  .circle-shape-border-back {
    width: 280px;
    height: 430px;
  }

  .tab-child-card-wrapper .title sup {
    font-size: 10px;
  }

  .tab-row.active.active-res:last-of-type .tab-row-wrapper {
    display: none;
  }

  .tab-row:last-of-type .tab-shape-circle-container {
    padding-top: 0;
  }

  .tci-plus {
    position: relative;
    bottom: -14px;
    right: -9px;
  }
  .tci-plus .icon {
    font-size: 19px;
  }
  .tic-circle-shape {
    width: 52px;
    height: 52px !important;
  }
  .tic-circle-shape img {
    width: 76%;
  }
  .tab-row:first-of-type .tic-circle-shape img {
    margin-top: 0px;
    margin-left: -1px;
    width: 38px;
    transform: rotateZ(-10deg);
  }
  .tab-row:nth-of-type(2) .tic-circle-shape img {
    margin-top: 6px;
    margin-left: 3px;
    width: 37px;
  }
  .tab-row.active.active-res .close-circle-res-btn {
    display: block;
  }
  .close-circle-res-btn {
    position: absolute;
    bottom: -16px;
    left: 30px;
  }
  .close-circle-res-btn img {
    width: 31px;
  }
  .sc-icon {
    width: 69px;
    margin: auto;
  }
  .tab-row-wrapper {
    justify-content: center;
  }

  /* Global */
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Global */

  /* Navbar */
  nav {
    padding: 10px 0;
    position: relative;
  }
  .nav-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
  }
  .menu-btn {
    display: flex;
  }
  .nav-menu-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #021b67;
    display: none;
  }
  #nav.active .nav-menu-links {
    display: block !important;
  }
  .nav-links-body {
    min-height: calc(100vh - 42.5px);
    width: 100%;
    padding: 120px 15px 40px;
    display: block;
  }
  .nav-icon-btn {
    margin: 0 0 24px 0;
    display: flex !important;
  }
  .nav-icon-title {
    font-size: 15px;
    margin-left: 15px !important;
  }
  .nav-icon-btn .icon {
    margin: 0 !important;
    width: 26px;
  }
  .nav-icon-btn-login .nav-icon-title {
    opacity: 1;
  }
  .nav-links-footer {
    padding: 12px 15px;
    position: relative;
    border-top: 1px solid #fff;
    display: block;
  }
  .nlf-badge {
    position: absolute;
    bottom: 100%;
    right: 15px;
    width: 76px;
  }
  .nlf-text {
    color: #fff;
    font-size: 12px;
  }
  /* Navbar */

  /* Index */
  .homepage-container {
    display: block;
    padding: 55px 0 20px;
  }
  .homepage-container > div {
    width: 100%;
  }
  .homepage-view-outer img {
    transform: scale(1);
    position: static;
  }
  .homepage-view {
    min-height: 190px;
    height: 204px;
    padding: 2px 2px 2px 0;
    /* width: 360px !important; */
    max-width: calc(100% - 20px);
  }
  .homepage-details {
    padding: 30px 15px;
  }
  .sub-title {
    font-size: 13px;
  }
  .badge {
    width: 140px;
    padding: 0;
  }
  .homepage-details .bg-title {
    font-size: 26px;
  }
  .homepage-details .mini-title {
    font-size: 12.5px;
    line-height: 1.1;
    font-weight: 600;
    margin: 13px 0 !important;
  }
  .auth-container {
    display: block;
  }
  .auth-view {
    width: 100%;
  }
  .auth-action {
    text-align: right;
    padding-top: 15px;
  }
  .home-line {
    width: 100%;
  }
  .auth-btn-container {
    left: -59px;
  }
  .homepage-details .text {
    font-size: 13px;
  }
  .idx-header {
    display: none;
  }
  /* Index */

  /* Footer */
  footer {
    padding: 15px;
  }
  .hidden-footer-link {
    display: block;
  }
  /* Footer */

  .footer-shape {
    bottom: 100%;
    right: 5px;
  }
  .footer-link {
    font-size: 13px;
  }

  .ref-bg {
    display: none;
  }
  .flextouch-right {
    min-height: calc(100vh - 280px);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: column;
  }
  .flextouch-right-body {
    padding: 50px 15px;
    flex-grow: 1;
    min-height: auto;
    place-items: flex-start;
  }
  .flextouch-title {
    font-size: 24px;
  }
  .flextouch-input-group {
    min-width: auto;
  }
  .flextouch-logo img {
    width: 34px;
  }
  .ref-center {
    height: 70vh;
  }
  .ref-sub-title {
    font-size: 16px;
    margin: 15px 0;
  }
  .ref-serial {
    font-size: 10px;
    bottom: 10px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sub-title {
    font-size: 17px;
  }
  .homepage-details .bg-title {
    font-size: 30px;
  }
  .mini-title {
    font-size: 16px;
    line-height: 1.1;
  }
  .auth-container {
    display: block;
  }
  .auth-view {
    width: 100%;
  }
  .auth-action {
    text-align: right;
    margin-top: 15px;
  }
  .auth-btn-container {
    margin: 0;
    position: relative;
    left: -58px;
  }
  /* Index */
  .home-wrapper > div {
    padding: 140px 20px 50px;
  }
  .csbb-btn {
    width: 56px;
    height: 50px;
    top: 27px;
    left: 23px;
  }
  .home-left {
    background-position: left;
  }
  .tab-card-title {
    font-size: 23px;
  }
  .tab-card {
    padding: 13px;
  }
  .shape-circle-border-logo .back-cricle {
    margin-top: 2px;
  }
  .tic-circle-shape {
    width: 44px;
    margin-left: -6px;
    height: 44px !important;
  }
  .tic-circle-shape img {
    width: 25px;
  }
  .tci-plus .icon {
    font-size: 20px;
  }
  .tci-plus {
    bottom: -20px;
  }
  .tab-row.active-res {
    display: none;
  }
  .tab-row.active {
    padding-bottom: 0;
  }
  .tab-row.active.active-res {
    display: block !important;
  }
  .tab-shape-container {
    position: static;
  }
  .tab-shape-circle-container {
    margin: 75px auto 0;
  }
  .tab-row-container {
    left: 0;
    transform: none;
  }
  .shape-circle-border-logo {
    top: -23px;
    left: 4px;
  }
  .main-outer-border {
    border: 12px solid #3d5173;
  }
  .sc-line {
    height: 3px;
    margin: 5px 0;
  }
  .sc-main-sub-title {
    font-size: 13px;
  }
  .tab-row.active .close-circle-res-btn {
    display: block;
    width: 40px;
    position: absolute;
  }
  .close-circle-res-btn img {
    height: 36px;
  }

  .cbc-btn {
    width: 55px;
    height: 55px;
    border: 2px solid #9b9b9b;
  }
  .cbc-btn-outer {
    font-size: 9px;
  }
  .cbc-input-group input {
    padding: 8px 15px 8px 8px;
  }
  .tab-row.active:last-of-type .tab-row-wrapper {
    display: none !important;
  }
  .tab-row:last-of-type .tab-shape-circle-container {
    margin: 0;
  }

  .tab-row.active:last-of-type {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .tab-child-card-wrapper .title sup {
    font-size: 75%;
  }

  .tab-row:first-of-type .tic-circle-shape img {
    margin-top: 1px;
    margin-left: -2px;
    width: 29px;
    transform: rotateZ(-10deg);
  }
  .tab-row:nth-of-type(2) .tic-circle-shape img {
    margin-top: 6px;
    margin-left: 0px;
    width: 28px;
  }

  .flextouch-right-body {
    padding: 70px 30px 100px;
    padding-bottom: 60px;
  }
  .flextouch-input-group input {
    font-size: 18px;
  }
  .flextouch-right-center {
    width: 100%;
  }
  .flextouch-input-group {
    min-width: 100%;
  }
  .ref-center {
    height: 68vh;
  }
  .flextouch-right-body {
    padding-bottom: 50px;
  }
}

@media (max-width: 900px) {
  .flextouch-wrapper > div {
    width: 100%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 991px) and (max-width: 1199.98px) {
  /* Index */
  .homepage-view {
    min-height: 380px;
    width: 490px;
  }
  .homepage-view-outer img {
    transform: scaleY(1);
    position: static;
  }
  .sub-title {
    font-size: 17px;
  }
  .homepage-details .bg-title {
    font-size: 30px;
  }
  .mini-title {
    font-size: 16px;
    line-height: 1.1;
  }
  .auth-container {
    display: block;
  }
  .auth-view {
    width: 100%;
  }
  .auth-action {
    text-align: right;
  }
  /* Index */

  .tab-card-title {
    font-size: 26px;
  }
  .tab-row {
    margin-bottom: 20px;
  }
  .tab-row.active {
    padding-bottom: 0;
  }
  .tab-row-container {
    left: 0;
    transform: none;
    position: static;
  }

  .tab-shape-container {
    position: static;
  }
  .tab-row.active-res {
    display: none;
  }
  .tab-row.active.active-res {
    display: block !important;
    text-align: center;
  }

  .tab-shape-circle-container {
    margin-top: 80px;
  }
  .tab-row.active .close-circle-res-btn {
    display: block;
    position: absolute;
    left: 0;
  }
  .close-circle-res-btn img {
    width: 40px;
  }
  .tab-row:last-of-type.active .tab-row-wrapper {
    display: none;
  }
}
