/**
 * Override for default Premium Slider order form style sheet
 *
 * Contains styling specific to the Premium Slider order template.
 *
 * @project   WHMCS
 * @version   1.0
 * @author    WHMCS Limited <development@whmcs.com>
 * @copyright Copyright (c) WHMCS Limited 2005-2015
 * @license   http://www.whmcs.com/license/
 * @link      http://www.whmcs.com/
 */

div#order-premium_comparison {
  padding: 0 0 0 0;
  margin: 0 0 30px 0;
  height: 100%;
  width: 100%;
  line-height: 18px;
  font-size: 14px;
  color: #666666;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: inherit;
}

/* Text Styling */

#order-premium_comparison a,
#order-premium_comparison a:hover,
#order-premium_comparison a:active,
#order-premium_comparison a:visited,
#order-premium_comparison a:link {
  outline: none;
  transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
}
#order-premium_comparison div,
#order-premium_comparison ul,
#order-premium_comparison li {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}

/* Headings */

/* #order-premium_comparison h1 {
}
#order-premium_comparison h2 {
}
#order-premium_comparison h3 {
    padding:0 0 0 0;
    margin:0;
    font-size:32px;
    line-height:38px;
    font-weight:bold;
    color:#333333;
}
#order-premium_comparison h4 {
    padding:0 0 0 0;
    margin:10px 0;
    font-size:24px;
    color:#333333;
}
#order-premium_comparison h5 {
    padding:0 0 0 0;
    margin:5px 0;
    font-size:16px;
    color:#666666;
} */

#order-premium_comparison .txt-center {
  text-align: center;
}

#order-premium_comparison .alert {
  margin-top: 70px;
  padding: 15px;
}

#order-premium_comparison .main-container {
  padding: 0 0 40px 0;
  margin: 0 auto;
}
#order-premium_comparison .main-container.price-01 {
  font-size: 14px;
  line-height: 17px;
}
#order-premium_comparison .main-container.price-01 h3,
#order-premium_comparison .main-container.price-01 h5 {
  font-weight: normal;
  margin: 10px 0 0 0;
}

#order-premium_comparison .price-table-container {
  padding: 10px 0 0 0;
  margin: 0 0 0 0;
}
#order-premium_comparison .price-table-container ul {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: left;
  flex-wrap: wrap;
  align-items: flex-start;
}
@media (max-width: 1200px) {
  #order-premium_comparison .price-table-container ul {
    justify-content: center;
  }
}
#order-premium_comparison .price-table-container ul li {
  padding: 30px 10px 5px 10px;
  margin: 0 0 0 0;
  display: inline-block;
}
#order-premium_comparison .price-table-container .price-table {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  width: 260px;
  min-width: 260px;
  background: #ffffff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 48px;
  -webkit-box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  height: 380px;
  top: 0;
}
#order-premium_comparison .price-table-container .price-table:hover {
  box-shadow: 0 10px 18px 0 rgba(0, 0, 0, 0.4);
  margin-top: -10px;
  margin-bottom: 10px;
}
#order-premium_comparison .price-table-container .price-table.active {
  margin: -30px 0 0 0;
  width: 245px;
}
#order-premium_comparison .price-table-container .price-table .top-head {
  padding: 30px 0 0 0;
  border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  -webkit-border-radius: 5px 5px 0 0;
  height: 100%;
  flex-direction: column;
  display: flex;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-area {
  padding: 0 15px 0 15px;
  margin: 0 0 0 0;
  text-align: center;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-image {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-image
  img {
  width: 90%;
  height: 110px;
  object-fit: contain;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-head-unavailable
  h4 {
  color: var(--primary-red);
  padding: 30px 0 10px 0;
  margin: 0 0 0 0;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-area
  h4 {
  padding: 20px 0 20px 0;
  margin: 0 0 0 0;
  font-weight: normal;
  color: var(--black);
  line-height: 25px;
  font-size: 21.328px;
  font-weight: 700;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-area
  p {
  padding: 0 0 0 0;
  color: var(--black);
  line-height: 23px;
  letter-spacing: 0.3px;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-link {
  padding: 5px 0 5px 0;
  margin: auto 0 20px 0;
  position: relative;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-link
  a {
  font-weight: 700;
  line-height: 19px;
  color: #1565c5;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .top-link
  a:hover {
  text-decoration: underline;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area {
  padding: 15px 0;
  margin: 0 0 0 0;
  color: #1565c5;
  font-size: 16px;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area
  .price {
  padding: 10px 0 10px 0;
}
#order-premium_comparison
  .price-table-container
  .price-table
  .top-head
  .price-area
  .price
  span {
  font-size: 38px;
}
#order-premium_comparison .price-table-container .order-button,
#order-premium_comparison .price-table-container .order-button:hover {
  padding: 13px 0;
  margin: 10px 25px;
  font-size: 16px;
  color: #ffffff;
  display: block;
  font-weight: normal;
  background: #1565c5;

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
  -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
}
#order-premium_comparison .price-table-container .unavailable:hover {
  cursor: not-allowed;
  /* Old browsers */
  background: #404a53;
  /* FF3.6+ */
  background: -moz-linear-gradient(top, #404a53 0%, #949499 100%);
  /* Chrome,Safari4+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #404a53),
    color-stop(100%, #949499)
  );
  /* Chrome10+,Safari5.1+ */
  background: -webkit-linear-gradient(top, #404a53 0%, #949499 100%);
  /* Opera 11.10+ */
  background: -o-linear-gradient(top, #404a53 0%, #949499 100%);
  /* IE10+ */
  background: -ms-linear-gradient(top, #404a53 0%, #949499 100%);
  /* W3C */
  background: linear-gradient(to bottom, #404a53 0%, #949499 100%);
  /* IE6-9 */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#404A53', endColorstr='#949499',GradientType=0);
  box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.4);
  margin-top: 0px;
  margin-bottom: 0px;
}
#order-premium_comparison .price-table-container .price-table ul {
  padding: 4px 10px 10px 10px;
  margin: 0 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
#order-premium_comparison .price-table-container .price-table ul li {
  padding: 17px 0 10px 0;
  margin: 0 0 0 0;
  width: 100%;
  /* border-bottom:1px solid #d9d9d9; */
  color: #333333;
  text-align: center;
  line-height: 16px;
  font-size: 14px;
  background: none;
}
#order-premium_comparison .price-table-container .price-table ul li a {
  color: #006699;
}
#order-premium_comparison .price-table-container .price-table ul li:last-child {
  border-bottom: 0;
}
#order-premium_comparison .price-table-container .price-table .popular-plan {
  padding: 7px 0 5px 0;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid #004662;
  color: #a3d900;
  font-size: 13px;
  text-transform: uppercase;
}

#order-premium_comparison .includes-features {
  margin: 0 auto;
  width: 100%;
  max-width: 780px;
  padding-top: 10px;
}
#order-premium_comparison .includes-features .head-area {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  text-align: center;
  background: url(../img/head-bg.png) no-repeat center center;
  background-size: 100% auto;
}
#order-premium_comparison .includes-features .head-area span {
  padding: 0 20px;
  margin: 0 0 0 0;
  display: inline-table;
}
#order-premium_comparison
  .main-container.price-01
  .includes-features
  .head-area
  span {
  background: #f3f3f3;
}
#order-premium_comparison .includes-features ul.list-features {
  padding: 20px 0 0 0;
  margin: 0 0 0 0;
  list-style: none;
}
#order-premium_comparison .includes-features ul.list-features li {
  padding: 0 0 0 22px;
  margin: 5px 0;
  width: 33%;
  display: inline-table;
  background: url(../img/tick.svg) no-repeat;
  background-size: 22px;
}

/* This media query is written for iPad and tablets */
@media (max-width: 991px) {
  #order-premium_comparison .includes-features ul.list-features li {
    width: 48%;
  }
}

/* This media query is written for Mobile only */
@media (max-width: 600px) {
  #order-premium_comparison .price-table-container .price-table {
    margin: 0 0 0 0;
    width: 300px;
  }
  #order-premium_comparison .price-table-container .price-table.active {
    margin: 0 0 0 0;
    width: 300px;
  }
}

/* This media query is written for Mobile only */
@media (max-width: 480px) {
  #order-premium_comparison .includes-features ul.list-features li {
    width: 100%;
  }
}

/* Review and Checkout */

.view-cart-items-header,
.empty-cart button {
  background-color: var(--secondary-blue) !important;
}

.view-cart-items {
  border-bottom: 2px solid var(--secondary-blue) !important;
}

/* Sidebar */

html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

.product-category-pool {
  margin-bottom: 0px;
  cursor: pointer;
}

.product-category-item {
  background-color: #fafafa;
}

#btnShowSidebar {
  margin: 0 0 20px 0;
}

/* Custom Extra Info Popup */

.custom-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.custom-modal-box {
  background-color: var(--white);
  margin: 3% auto;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 1px rgb(0 0 0 / 10%), 0 2px 4px rgb(0 0 0 / 20%);
  width: 65%;
}

.custom-modal-box-small {
  background-color: var(--white);
  margin: 3% auto;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 1px rgb(0 0 0 / 10%), 0 2px 4px rgb(0 0 0 / 20%);
  width: 400px;
  max-width: 400px;
  min-width: 300px;
}

.custom-modal-content {
  padding: 20px;
}

.custom-modal-text {
  padding: 20px;
}

.custom-modal-sidebar {
  background-color: var(--light-grey);
  padding: 20px;
}

.custom-modal-sidebar ul {
  margin: 0 0 15px 0;
  padding: 0;
  list-style: none;
}

.custom-modal-order {
  padding: 8px 0;
  margin: 15px 0px;
  color: var(--white) !important;
  display: block;
  background: var(--primary-blue);
  border-radius: 3px;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 40%);
  text-align: center;
  text-decoration: none;
}

.custom-modal-order:hover {
  background: var(--secondary-blue);
  color: var(--white);
  text-decoration: none;
}

.custom-modal-centered {
  text-align: center;
  width: 78%;
  margin: auto;
}

.custom-modal-footer {
  background-color: var(--light-grey);
  border-radius: 4px;
  padding: 12px 20px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
  box-sizing: border-box;
}

.custom-modal-header {
  padding: 5px 12px;
  text-align: right;
  box-sizing: border-box;
}

.custom-modal-footer > .custom-modal-close {
  display: inline-block;
  text-align: center;
  padding: 6px 12px;
  border-radius: 4px;
}

.custom-modal-header > .custom-modal-close {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  padding: 0;
  appearance: none;
}

.clickable-price-table {
  cursor: pointer;
}

.custom-modal-image {
  margin: 0 0 20px 0;
}

.custom-modal-image img {
  width: relative;
  height: 100px;
}

@media (max-width: 600px) {
  .custom-modal-image img {
    width: 100%;
    height: relative;
  }
}

.image-loading > img {
  display: none;
}

.image-loading {
  width: 400px;
  height: 100px;
  border-radius: 8px;
  content: "";
  background-color: var(--mid-grey) !important;

  animation: fade 3s infinite linear;
}

@keyframes fade {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}

/* Configurable Options Help Popups */

.help-tip {
  cursor: default;
  display: inline-block;
  position: relative;
}

.help-tip:hover .help-tip-box {
  display: block;
  transform-origin: 100% 0%;
  -webkit-animation: fadeIn 0.3s ease;
  animation: fadeIn 0.3s ease;
}

.help-tip .help-tip-box {
  display: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-align: left;
  background-color: var(--white);
  padding: 12px 16px;
  width: 300px;
  height: auto;
  position: absolute;
  left: 0%;
  transform: translate(30px, -46px);
  border-radius: 12px;
  box-shadow: 0 0px 20px 0 rgba(0, 0, 0, 0.1);
  color: var(--black);
  z-index: 999;
}

.help-tip .help-tip-box a {
  color: #067df7;
  text-decoration: none;
}

.help-tip .help-tip-box a:hover {
  text-decoration: underline;
}

.help-tip .help-tip-box:before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom-color: var(--white);
  top: 26px;
  left: -20px;
  transform: translate(-80%, -50%);
  transform: rotate(270deg);
}

.help-tip .help-tip-box:after {
  width: 10px;
  height: 40px;
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
}

/* Configurable options advanced options */

.secondary-cart-body .collapsible-menu {
  max-height: 0;
  overflow: hidden;
}

.secondary-cart-body .collapsible-menu-heading {
  cursor: pointer;
}

.secondary-cart-body .collapsible-menu-heading-icon {
  top: 0 !important;
  padding: 0 0 0 0;
  transition: transform 0.2s ease;
}

.product-configurable-options .form-group .irs-with-grid {
  margin: 0 10px;
}

/* Configurable options "Can we help" popup */

.summary-btn-primary {
  color: var(--white);
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.summary-btn-primary:hover {
  color: var(--white);
  background-color: var(--secondary-blue);
  text-decoration: none;
}

.summary-btn-secondary {
  color: var(--primary-blue);
  background-color: var(--white);
  border-color: var(--primary-blue);
}

.summary-btn-secondary:hover {
  color: var(--secondary-blue);
  background-color: var(--light-grey);
  border-color: var(--secondary-blue);
  text-decoration: none;
}

.summary-btn {
  padding: 8px 22px;
  font-size: 14px;
  line-height: 1.3333333;
  border-radius: 6px;
}

.summary-buttons {
  display: flex;
  justify-content: space-between;
}

.need-help-header {
  color: var(--primary-blue);
}

.need-help-header-title {
  padding-top: 12px;
  padding-bottom: 16px;
}

.need-help-form {
  padding: 0 20px 10px 20px;
}

.need-help-radio {
  padding: 0 0 0 20px;
  margin: 0;
}

.need-help-radio-label {
  padding: 20px 0 0 0;
}

.need-help-radio-options {
  padding: 0 0 0 8px;
}

.need-help-radio-options > input {
  color: var(--primary-blue);
}

.need-help-input {
  margin: 0;
}

.need-help-input > label {
  top: 24px;
  padding-left: 26px;
  z-index: 50;
  color: var(--primary-blue);
}

.need-help-input > input,
.need-help-input > textarea {
  width: 90%;
  margin: auto;
  padding-top: 20px;
  height: 50px;
}

.need-help-input > textarea {
  height: 100px;
}

.need-help-submit {
  margin: 20px 0 10px 0;
}

.need-help-submit-button {
  background-color: var(--primary-blue);
  color: var(--white);
}

.need-help-submit-button:hover {
  background-color: var(--secondary-blue);
  color: var(--white);
}

.need-help-footer {
  padding: 20px 0;
}

/* Custom slider styling */

.irs-bar,
.irs-handle,
.irs > .irs > *:not(.irs-line) {
  background-color: var(--primary-blue) !important;
  color: var(--white) !important;
  background: var(--primary-blue) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.irs--big .irs-handle {
  top: 26px !important;
  width: var(--slider-handle-size) !important;
  height: var(--slider-handle-size) !important;
}

.irs--big .irs-line,
.irs--big .irs-bar {
  height: 10px !important;
}

/* Order Summary */

.order-summary .option-name {
  width: 75%;
  padding-bottom: 5px;
}

.order-summary .option-pricing {
  width: 25%;
  padding-bottom: 5px;
  text-align: right;
}

/* Radio button */

.radio-inline {
  accent-color: var(--primary-blue);
}

/* Remove background png */
div:has(> input[type="radio"]) {
  background: none !important;
}

/* Remove default appearance */
:not(.radio-inline) > input[type="radio"] {
  opacity: 1 !important;
  background: none !important;
  appearance: none !important;
}

.iradio_square-blue > * {
  top: -12% !important;
  left: -12% !important;
}

/* Add spacing for radio button elements */
#order-standard_cart label .iradio_square-blue {
  margin-right: 5px !important;
  margin-top: 5px !important;
}

/* Unchecked radio button */
:not(.radio-inline) > input[type="radio"]::before {
  content: "";
  display: inline-block;
  margin-left: 3px;
  border: 2px solid var(--dark-grey);
  width: var(--radio-button-size);
  height: var(--radio-button-size);
  border-radius: 50%;
  padding: 4px;
  background-clip: content-box;
  transition: background-color 0.2s ease;
}

/* Checked radio button */
:not(.radio-inline) > .checked > input[type="radio"]::before {
  border: 2px solid var(--primary-blue);
  background-color: var(--primary-blue);
}

/* Hover effect */
:not(.radio-inline) > input[type="radio"]::after {
  content: "";
  pointer-events: none;
  display: block;
  position: relative;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  top: calc(-3px - var(--radio-button-size) / 2);
  left: calc(3px + var(--radio-button-size) / 2);
  opacity: 0.05;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease;
}

/* Hover effect active */
:not(.radio-inline) > input[type="radio"]:hover::after {
  width: var(--radio-hover-size);
  height: var(--radio-hover-size);
}

/**
* -------------------------
* Alert(s)
* -------------------------
*/
.alert-warning {
  color: var(--secondary-blue);
  background-color: var(--light-blue);
  border-color: var(--light-blue);
}

.alert-warning .alert-link {
  color: var(--secondary-blue);
}