/*----------------------------------
  GENERAL STYLES
----------------------------------*/
.container {
  margin-top: 0px;
}

#content1 {
  margin-top: 0;
}

body, h1, h2, h3, h4, h5, strong {
  font-family: var(--font-family);
  color: black;
}

body, p {
  font-weight: 600;
  font-size: 1em;
  color: #000;
}

select {
  color: #000 !important;
}

font {
  color: #000; 
}

h1, h2, h3, h4, h5, strong {
  font-weight: 700;
}

hr {
  border-color: #bbb;
  border-width: 1px;
}

input[type="text"], input[type="password"] {
  color: black;
}

.note {
  color: green;
  font-size: .8em;
  line-height: 1.3em;
}

#logo, #cover {
  margin: 0;
}

#content1 {
  text-align: center;
}

#content1 img {
  max-width: 300px;
  margin-bottom: 60px;
}

#content4 {
  padding: 0 10px;
}

/*----------------------------------
  CHOOSE YOUR PLAN
----------------------------------*/
.spanc7559 p {
  margin-bottom: 0;
}

.licr7559_21760, .licr7559_21761 {
  display: inline;
}

.licr7559_21760 input, .licr7559_21761 input {
  display: none;
}

.licr7559_21760 label, .licr7559_21761 label{
  display: inline-block;
  border: var(--primary-color) 2px solid;
  width: 150px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin: 0 10px;
  color: var(--primary-color);
  font-weight: bold;
}

.licr7559_21760 input:checked + span label, .licr7559_21761 input:checked + span label{
  color: white;
  background-color: var(--primary-color);
}

@media (max-width: 479px) {
  .licr7559_21760, .licr7559_21761 {
    display: block;
  }
}

.hide {
  display: none;
}

.show {
  display: inline-block;
}

span div.ratecard {
  padding: 20px 35px;
  color: black;
  margin: 0 5px;
  background-color: #ededed;
  border: #ededed 2px solid;
  min-height: 450px;
}

span div.ratecard:hover {
  cursor: pointer;
}

div.ratecard div.subbtn {
  border: var(--primary-color)2px solid;
  border-radius: 0;
  width: 120px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: .8em;
  background-image: none;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  left: calc(50% - 62px);
  display: block;
  text-align: center;
}

span.drg-element-sub-type-category-8 input:checked + span div.ratecard, span.drg-element-sub-type-category-8 input:checked + span div.ratecard,
div[id^="campaignPlaceholder"] input:checked + span div.ratecard, span.drg-element-sub-type-category-8 input:checked + span div.ratecard {
  background-color: #ededed;
  border: #C52A21 2px solid;
}

span.drg-element-sub-type-category-8 input:checked + span div.ratecard div.subbtn,
div[id^="campaignPlaceholder"] input:checked + span div.ratecard div.subbtn {
  color: white;
  background-color: var(--primary-color); 
  border-radius: 3px;
}

@media (max-width: 959px) {
  span div.ratecard {
    min-height: 350px;
  }
}

p.rate {
  font-size: 3em;
  font-weight: 800;
  margin: 30px auto;
}

p.ratedesc {
  font-size: 1.2em;
  line-height: 1.75em;
}

p.format {
  font-weight: 700;
}

@media (max-width: 767px) {
  .drg-element-sub-type-category-8 li,
  div[id^="campaignPlaceholder"] li {
    display: block;
    width: 100%;
    margin: 20px 0px;
  }

  span div.ratecard {
    min-height: auto;
  }

  div.ratecard div.subbtn {
    position: relative;
    display: block;
    text-align: center;
  }
}

/*----------------------------------
  FORM PAGE 1
----------------------------------*/
#welcome {
  max-width: 300px;
}

div#personinfo, div#demoinfo {
  width: 30%;
  display: inline-block;
  vertical-align: top;
}

div#personinfo p, div#demoinfo p {
   margin: 0 10px 0 0;
}

div#personinfo select, div#demoinfo select {
   padding: 6px 4px;
}

p.drg-element-type-standard-field input, p.drg-element-type-standard-field select, 
p.drg-element-type-demographic input, p.drg-element-type-demographic select {
  width: 100%;
  max-width: 100%;
  height: 40px;
}

#p1, #p2 {
  width: calc(50% - 10px);
  display: inline-block;
}

#pd2174, #pd2176 {
  margin-top: 20px;
}

#ack {
  width: calc(60% - 10px);
  display: block;
  font-size: .9em;
  line-height: 2em;
  font-weight: bold;
  line-height: 1.5em;
  padding: 10px 20px;
  border: 1px solid black;
  box-sizing: border-box;
  margin-top: 10px;
}

@media (max-width: 767px) {
  div#personinfo, div#demoinfo {
    width: 100%;
    display: block;
  }

  #notnew.desk {
    display: none;
  }

  #notnew.mobile {
    display: block;
    width: 100%;
    margin: 0 0 20px 0;
  }
}

button.action {
  margin: 20px 0;
  background-image: none;
  background-color: #bbb;
  color: white;
  font-size: 1em;
  text-shadow: none;
  border: none;
  display: block;
}

/*----------------------------------
  FORM PAGES 2 AND 3
----------------------------------*/
#page2 p, #page3 p {
  width: 60%;
}

@media (max-width: 767px) {
  #page2 p {
    width: 100%;
  }

  #page2 #p8, #page2 #p9 {
    width: 100%;
    display: block;
    margin-right: 0;
  }
}

button.arrow {
  background: none;
  border: none;
  display: block;
}

/*----------------------------------
  ORDER SUMMARY
----------------------------------*/
div#ordersum {
  border: 2px solid #bbb;
  padding: 40px;
  width: calc(60% - 10px);
  font-weight: 700;
  font-family: 'Nunito Sans', sans-serif;
  color: black;
  font-size: 1.2em;
  margin-bottom: 10px;  
  box-sizing: border-box;
}

div.order.left, div.order.right {
  width: calc(50% - 6px);
  display: inline-block; 
}

div.left {
  text-align: left;
}

div.right {
  text-align: right;
}

/*----------------------------------
  MARKETING BLOCKS
----------------------------------*/
.center {
  text-align: center;
}

span.hrline {
  display: inline-block;
  background-color: white;
  padding: 4px 6px;
  position: relative;
  top: 25px;
}

.mkblocks {
  margin-top: 60px;
}

.mkblocks .mktext {
  box-sizing: border-box;
  display: block;
  vertical-align: top;
  margin: 20px 0;
}

.mkblocks .mkimg {
  box-sizing: border-box;
  text-align: center;
  margin: 20px 0;
}

.mkblocks img {
  max-width: 100%;
}

.mkblocks.desk div {
  width: calc(50% - 3px);
  display: inline-block;
}

.mkblocks.desk .leftimg {
  padding-right: 30px;
}

.mkblocks.desk .rightimg {
  padding-left: 30px;
}

.mkblocks.desk .leftalign {
  text-align: left;
}

.mkblocks.desk .rightalign {
  text-align: right;
}

.mkblocks.desk .mktext {
  padding: 0 30px;
  box-sizing: border-box;
}

.mkblocks.mobile div {
  width: 100%;
  display: block;
}

.mkblocks.mobile .mktext {
  padding: 20px 0;
}

.mkblocks .mksubhead {
  display: block;
  font-weight: bold;
  font-size: 1.1em;
}

@media (max-width: 767px) {
  .mkblocks.desk {
    display: none;
  }
}

@media (min-width: 768px) {
  .mkblocks.mobile {
    display: none;
  }
}

/*----------------------------------
  FOOTER
----------------------------------*/
.footer {
  border: none;
}

.blackbar {
  background-color: black;
  text-align: center;
  padding: 10px 20px 5px 20px;
  margin: 80px 0 20px 0;
}

.blackbar img {
  margin: 0 2px;
}

.blackbar .social {
  text-decoration: none;
}

.twoboxbar {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  text-align: left;
}

.twoboxbar .image {
  display: inline-block;
  text-align: left;
  width: calc(50% - 2px);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.twoboxbar .image img {
  max-width: 250px;
}

.twoboxbar .copy {
  display: inline-block;
  text-align: right;
  vertical-align: top;
  width: calc(50% - 2px);
  box-sizing: border-box;
  margin: 0;
  padding: 20px 0;
  font-size: 1.2em;
}

@media (max-width: 767px) {
  .twoboxbar {
    text-align: center;
  }

  .twoboxbar .image, .twoboxbar .copy {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px 0;
  }
}

body, h1, h2, h3, h4, h5, strong {
  font-family: 'Nunito Sans', sans-serif;
  color: #404144;
}

div#page1 {
  margin-bottom: 20px;
}

.blackbar {
  width: 100vw;
  background-color: var(--primary-color);
  margin-left: -50vw;
  margin-right: -50vw;
  border: none;
  position: relative;
  left: 50%;
  right: 50%;
}

@media (min-width: 350px) {
  body {
    overflow-x: hidden; /* Hide horizontal scrollbar */
  }
}

/*----------------------------------
  FIX CHECKBOXES
----------------------------------*/
div[id^="pp"] .questionlabel, div[id^="pd"] .questionlabel {
  display: inline-block;
  width: calc(100% - 40px);
  margin-top: 0;
}

div[id^="pp"] input, div[id^="pd"] input {
  vertical-align: top;
}

.checkboxlabel {
  display: inline-block;
  width: calc(100% - 40px);
  margin-top: 0;
  vertical-align: top;
}

span.drg-element-sub-type-category-8 input:checked + span div.group_rate, span.drg-element-sub-type-category-8 input:checked + span div.group_rate {
  background-color: #ededed;
  border: #4565ae 2px solid;
}

div.group_rate {
  padding: 10px;
  margin: 5px;
  background-color: #ededed;
  border: transparent 2px solid;
  cursor: pointer;
  font-size: 20px;
}

.drg-element-type-cms-content.drg-element-sub-type-category-8 select, .select_response_subheader {
  height: 40px;
  border: 2px solid #000000;
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  text-align: center;
  margin-top: 7%;
  margin-bottom: 7%;
}

option {
  font-weight: 600;
  color: #000000;
}

#submitbtn {
  display: inherit !important;
  margin-top: 50px !important;
}

input[type="submit"] {
  background: #16497d;
  border: 1px solid #aaa;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: none;
  padding: 20px 40px;
  border-radius: 4px;
}

input[type="submit"]:hover {
  background: #16497d;
  color: #fff;
}

/*----------------------------------
  GENERAL INPUT, SELECT, AND TEXTAREA STYLES
----------------------------------*/
input[type="text"], input[type="password"], input[type="email"], textarea, select {
    border: 2px solid #000; /* Black border */
    border-radius: 6px; /* Slightly rounded corners */
    padding: 10px; /* Add padding for better appearance */
    font-size: 16px; /* Consistent font size */
    color: #000 !important; /* Black text */
    background-color: #ffffff; /* White background */
    transition: border-color 0.3s ease; /* Smooth transition on focus */
    width: 65%;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Focus State */
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
    border-color: #004A81; /* Change border color on focus */
    outline: none; /* Remove default focus outline */
}

/* Placeholder Text Styling */
input[type="text"]::placeholder, input[type="password"]::placeholder, input[type="email"]::placeholder, textarea::placeholder {
    color: #000; /* Black placeholder text */
    opacity: 1; /* Ensure full opacity for consistency */
}

/* Disabled Inputs */
input[type="text"]:disabled, input[type="password"]:disabled, input[type="email"]:disabled, textarea:disabled, select:disabled {
    background-color: #f5f5f5; /* Light gray background for disabled state */
    color: #a1a1a1; /* Gray text for disabled state */
    cursor: not-allowed; /* Change cursor to not-allowed */
}

/* Placeholder Text Styling (Duplicated but kept as is) */
input[type="text"]::placeholder, 
input[type="password"]::placeholder, 
input[type="email"]::placeholder, 
textarea::placeholder, 
select::placeholder {
    color: #000 !important; /* Black placeholder text */
    opacity: 1; /* Ensure full opacity for consistency */
}

/* Targeting specific input elements and select element on desktop screens */
@media screen and (min-width: 768px) {
  #p7657 input,
  #p9105 input,
  #p9104 input,
  #p9106 input,
  #p4 input,
  #p30 input,
  #p6 input,
  #p9 input,
  #id8 {
    width: 65%;
  }
}

/* Targeting the same elements on mobile screens */
@media screen and (max-width: 767px) {
  #p7657 input,
  #p9105 input,
  #p9104 input,
  #p9106 input,
  #p4 input,
  #p30 input,
  #p6 input,
  #p9 input,
  #id8 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box; /* Ensures padding does not affect the width */
  }
}

/*----------------------------------
  RADIO BUTTONS AS TILES
----------------------------------*/
/* Hide the radio buttons */
[class^="spanc"] input[type="radio"] {
    display: none !important;
}

/* Style the labels to look like tiles */
[class^="spanc"] ul li .radiolabel label {
    display: flex !important;
    min-width: 310px !important;
    height: 80px !important;
    padding: 20px !important;
    margin: 5px !important;
    border-radius: 8px !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border: 2px solid transparent !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
    text-align: center !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Change the appearance of the selected tile */
[class^="spanc"] ul li input[type="radio"]:checked + .radiolabel label {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

/* Ensure the tiles align properly in a grid */
[class^="spanc"] ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    list-style-type: none !important;
    gap: 10px !important; /* Space between items */
}

/* Flex properties for all tiles */
[class^="spanc"] ul li {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex: 1 1 calc(50% - 10px) !important; /* Adjusted for gap */
    max-width: calc(50% - 10px) !important; /* Adjusted for gap */
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Stack tiles on smaller screens */
@media (max-width: 750px) {
    [class^="spanc"] ul li {
        flex-basis: 100% !important; 
        max-width: 100% !important;
        height: auto !important; 
    }
}
