/* Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Roboto+Flex:opsz,wght@8..144,300;8..144,400;8..144,500;8..144,700&family=Roboto+Slab:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* Content Sizing */
span#content2 {
    max-width: 420px;
    width: 100%;
}

span#content3 {
    width: 100%;
    max-width: 840px;
}

.container {
    width: 1300px;
}

/* Campaign */

div[id^="campaignPlaceholder"] ul {
    padding-left: 0px;
}

div[id^="campaignPlaceholder"] ul > div:first-child {
  display: none !important;
}

div[id^="campaignPlaceholder"] span p {
  display:none;
}

div[id^="campaignPlaceholder"] span ul li {
 /* margin-top:20px; */
}

div[id^="campaignPlaceholder"] {
  display: inline-block;
}

div[id^="campaignPlaceholder"] span ul li input[type="radio"]:checked, input[type="checkbox"]:checked {
  border: 1px solid #D0CFCF;
}

/* details */

button#detailsbutton {
    background: none;
    color: #0090a1;
    text-decoration: none;
    border: none;
    text-shadow: none;
    font-size: 16px;
}

/* more info */
.card.card-body.py-4.border-0.bg-primary {
    background: #0090a1;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 0px 0px 20px;
}

.card.card-body.py-4.border-0.bg-primary li {
    list-style: disc;
}

.card.card-body.py-4.border-0.bg-primary ul {
    margin-left: 20px;
}

/* General Rules */

* {
    box-sizing:border-box;
}

body {
    font-family: 'Roboto Slab', serif;
    color:#333232;
}

h1 {
    line-height: normal;
    font-size: 26px;
    margin-bottom: 0px;
    margin-top: 20px;
    color: #333232;
}

span#content2 img {
    max-width: 390px;
}

div[id^="disp"][style=""],
div[id^="disp"][style="display: block;"] {
  display: inline-block !important;
}

span.sechead {
    font-size: 16px;
    max-width: 77%;
    display: block;
    color: #333232;
    text-transform: uppercase;
    padding: 8px 0px 15px;
    font-weight: 500;
}

input[type="text"], input[type="password"], input[type="email"], select {
    height: 45px;
    border-radius: 6px;
}

div#formFinePrint {
    margin: 20px 0 0;
    border: 2px solid #dee2e6;
    padding: 20px;
    border-radius: 10px;
    background: #f8f8f8;
}

p.mb-1 {
    font-weight: 700;
}

div#formFinePrint a {
    text-decoration: none;
    color: #0090a1;
}

input[type="submit"] {
    width: 100%;
    text-decoration: none;
    text-shadow: none;
    color: #fff;
    background: #0090a1;
    font-size: 16px;
    border: 1px solid #0090a1;
    padding: 12px;
    border-radius: 10px;
}

div#custservdet {
    background: #f8f8f8;
    padding: 10px;
    margin: 10px 0px;
    max-width: 500px;
    border-radius: 7px;
    border: 2px solid #dee2e6;
    font-weight: bold;
}

#p32.addresslabel .questionlabel {
    display: none;
}

span.spanc130.drg-element-type-standard-field.drg-element-sub-type-fieldname-BILLINGADDRIND {
    display: block;
    margin: 10px 0px;
}

ul.navbar-nav.flex-row.justify-content-center.text-center {
    margin: 20px;
}

div[id^="disp"]  {
    display: inline-block;
}

/* Header */

nav#subscriptionNav a {
    text-align: center;
    vertical-align: middle;
}

div#sec1 {
    display: block;
    border: 1px solid #c8c8c8;
    padding: 20px;
}

.card-header {
    background: #252525;
    padding: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}


h4.card_title {
    display: inline-block;
    font-family: 'Roboto Slab', serif;
    color: white;
    width: 49%;
}

nav#subscriptionNav a {
    display: table-cell;
    margin: 0;
    padding: 10px;
    line-height: 1.5;
    text-decoration: none;
    background-color: #252525;
    color: #fff;
    border: 1px solid #0090a1;
}

nav#subscriptionNav a.btn.btn-primary.active {
    background-color: #0090a1;
}

nav#subscriptionNav {float: right;background: #252525;}

a.btn.btn-primary.active.aone {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

a.btn.btn-primary.aone {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

a.btn.btn-primary.athree {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.col-12.col-lg-6.text-center.text-lg-end {
    width: 50%;
}

.card_1 {display: flex;}


/*Select Country Radio*/

span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 {
    font-size: 16px;
    max-width: 77%;
    display: inline-block;
    color: #333232;
    font-weight: 500;
}


span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label {
    border: 1px solid #0090a1;
    border-radius: 10px;
    font-size: 24px;
    color: #111;
    text-transform: none;
    padding: 0 15px;
    background: #fff;
    font-weight: 400;
    margin-bottom: 0px;
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel:hover label {
    border: 1px solid #111;
    color: #111;
    background: #fff;
}


span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 [id^="id74"] {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 [id^="id74"]:checked + .radiolabel label {
    margin-bottom: 0px;
    background: #0090a1;
    border: 1px solid #0090a1;
    color: #fff;
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 [id^="id74"]:focus + .radiolabel {
    box-shadow: none;
}
@media (max-width: 767px){
  span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1  .radiolabel {
        font-size: 21px;
        height: 40px;
        line-height: 16px;
        /* padding-left: 0; */
        /* padding-right: 13px; */
    }
}
@media (max-width: 575px){
   span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label {
        font-size: 17px;
        /* height: 46px; */
        /* line-height: 46px; */
    }
}

@media (max-width: 375px){
   span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label {
        font-size: 13px;
        /* height: 46px; */
        line-height: 16px;
    }
}


/*Button*/

.button {
    display: none;
}

span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label{
    display: inline-block;
    text-align: center;
    white-space: normal;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 2px solid #dee2e6;
    font-size: 16px;
    border-radius: 10px;
    color: #252525;
    background: #f8f8f8;
    padding: 7px 10px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label:hover
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label:focus {
    text-decoration: none;
    background: #fff;
    border-color: #ffcd78;
    color: #ffcd78;
    box-shadow: none;
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label path {
    transition: fill 0.15s ease-in-out
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label:hover path,
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label:focus path {
    fill: #ffcd78;
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label:focus,
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label.focus {
    outline: 0;
}
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label:not(:disabled):not(.disabled) {
    cursor: pointer;
}

span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 li {
    display: inline-block;
    padding: 0 2px;
}

span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 ul {
    margin: 0px;
}

li.licr74_23 {
    padding-left: 0px !important;
}

.radiolabel label:disabled {
    border-color: #D0CFCF;
    border-width: 1px;
    color: #B3B3B3;
    background: #fff;
    opacity: 1;
    transition: all 0.15s ease-in-out
}
.radiolabel label:disabled path {
    fill: #B3B3B3;
}
@media (max-width: 767px){
    .radiolabel label {
        font-size: 22px;
        /* height: 50px; */
    }
}
@media (max-width: 575px){
    .radiolabel label {
        font-size: 16px;
        /* height: 48px; */
    }
}
@media (max-width: 360px){
    .radiolabel label {
        font-size: 14px;
        padding-right: 10px;
        padding-left: 10px;
    }

    
}

/* Rate */

span#rate {
    color: #0090a1;
    min-width: 71px;
    font-size: 20px;
    text-align: right;
    display: inline-block;
}

span.drg-element-type-cms-content.drg-element-sub-type-category-8 li {
    margin-bottom: 0px;
}

span.drg-element-type-cms-content.drg-element-sub-type-category-8 ul {
    margin: 0px;
}

p.drg-element-sub-type-category-8{
    display:none;
}

/* Addresses and Payment */

input#id13 {
    margin-bottom: 5px;
}

span.help-text.d-block.fs-6.text-muted.mt-2 {
    font-size: 12px;
}

span.help-text.d-block.fs-6.text-muted.mt-2 a {
    color: #0090a1;
    text-decoration: none;
}

p#p13 {
    max-width: 100%;
    width: 100%;
}

#p127.addresslabel {
    padding-left: 0px;
}

p#p130 {
    display: none;
}

div#addresssec {
    margin-bottom: 20px;
    background: #f8f8f8;
    padding: 20px;
    border: 2px solid #dee2e6;
    border-radius: 7px;
}

body#updatecc {
    margin-left: 0px;
}

p#p32 {
    font-family: Gotham, Helvetica, Verdana, Arial, sans-serif;
}

#p32.addresslabel {
    padding-left: 0px;
}

select#EXPMONTH {
    height:48px;
    display: inline-block;
    width: 45%;
    margin-right: 10px;
}

select#EXPYEAR {
    height:48px;
    display: inline-block;
    width: 45%;
}

.addresslabel .questionlabel {
    font-size: 20px;
    color: #111;
    margin-bottom: 10px;
}

.addresslabel {
    margin: 0px;
    display: inline-block;
    max-width: 100%;
    margin-top: var(--bs-gutter-y);
    width: 50%;
    padding-bottom: 0px;
    padding-top: 0px;
    padding-right: 20px;
}

p#p16, p#p17 {
    display: inline-block;
    margin-bottom: 21px !important;
    max-width: 100%;
    padding-right: 20px;
    /* padding-left: 10px; */
    margin-top: var(--bs-gutter-y);
    flex: 0 0 auto;
    width: 50%;
    padding-bottom: 0px;
    padding-top: 0px;
}

p#p17 .questionlabel, p#p16 .questionlabel {
    font-size: 20px;
    color: #111;
    margin-bottom: 10px;
}

p#p8, p#p81 {
    width: 26%;
}

p#p9, p#p82 {
    width: 24%;
}

p.drg-element-type-standard-field span.questionlabel {
    display: none;
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
    max-width:100%;
}
}

@media (max-width: 767px){
    .addresslabel, p#p8, p#p9, p#p16, p#p17, p#p81, p#p82 {
 width: 100%;
    }
}

span.secsubhead {
    font-size: 16px;
    max-width: 77%;
    display: block;
    color: #333232;
    padding: 12px 0px;
    font-weight: 500;
    font-family: 'Roboto Flex', sans-serif;
}

/* Left Card */

span#riskfree {
    width: 100%;
    display: block;
}

span#riskfree img {
    width: 100%;
    margin: 20px 0px;
}

.proddesc {
    background: #252525;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0px;
    color: #fff;
}

span#getfree {
    color: #0090a1;
    font-weight: bold;
    font-size: 16px;
    display: block;
}

span#lefttext {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    display: block;
    padding: 10px 0px;
    line-height: 1.2em;
}

.proddesc span.small {
    font-size: 14px;
    font-weight: 100;
    margin-bottom: 15px;
    display: block;
}

/* Footer */

.sixteen.columns.footer {
    margin-top: 80px;
    display: block;
    text-align: center;
    background: #333232;
    color: #fff;
    border: none;
}

p.gpmfooter {
    margin: 20px auto;
    max-width: 735px;
    text-align: center;
    font-size: 12.5px;
}

.sixteen.columns.footer a {
    text-decoration: none;
    color: #0090a1;
    display: inline-block;
}

p.gpmfooter li {
    display: inline-block;
}

.sixteen.columns.footer li {
    display: inline-block;
    padding: 0px 10px;
    font-size: 14px;
}

p#copyright {
    margin: 0px;
    background: #252525;
    padding: 20px;
    font-size: 14px;
}

@media only screen and (max-width: 1200px) {
    .container{
        max-width:900px
    }

    span#content2{
        max-width: 250px;
        text-align: center;
    }

span#content2 img[alt="QMK Logo"] {
    max-width: 65%;
}

    img.prodimg {
    width: 100%;
}
    span#content3 {
    max-width: 600px;
}

img {
    max-width: 100%;
}

}

@media only screen and (max-width: 1200px) {
.container{
        max-width: 768px;
    }
span#content2{
        max-width: 200px;
        text-align: center;
    }

span#content2 img[alt="QMK Logo"] {
    max-width: 65%;
}

    span#content3 {
    max-width: 520px;
}

span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label {
    width: 100%;
}

span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 {
    width: 100%;
    max-width: 100%;
}

span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 li {
    width: 33.33%;
}

span.spanc77.drg-element-type-cms-content.drg-element-sub-type-category-8 {
    width: 100%;
    margin: 0px;
}

span.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li, div[id^="campaignPlaceholder"] li {
    margin: 0px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
}

div[id^="campaignPlaceholder"] {
    display: block;
}

}

@media only screen and (max-width: 767px) {
.container{
        max-width: 100%;
    }
span#content2{
        margin-bottom: 20px;
        max-width: 100%;
        margin: 20px 0px;
    }

    span#content3 {
    max-width: 100%;
    margin: 0px;
    padding: 10px;
}
    .addresslabel{
        display:block;
        width:100%;
    }
    
    p#p8, p#p81, p#p9 {
        width:100% !important;
   
}
    .proddesc img {
    max-width: 300px;
    width: 100%;
}
    .card_1 {
    display: block;
    text-align: center;
}

h4.card_title {
    width: 100%;
    display: block;
}

.card-header {
    display: block;
}

nav#subscriptionNav a {
    min-width: 130px;
    display: inline-block;
}

nav#subscriptionNav {
    display: block;
    float: none;
}

.col-12.col-lg-6.text-center.text-lg-end {
    width: 100%;
    margin: 0 auto;
}
    div#mobileProd {
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

div#content4 {
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

p.gpmfooter {
    max-width: 500px;
    width: 100%;
    padding: 0 30px;
}
}

@media only screen and (max-width: 487px) {
span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 li {
padding: 0px;
    width: 100%;
}

nav#subscriptionNav a {
    width: 100%;
    border-radius: 0px;
}

}

/* Phone Fix */

div#addresssec div[id^="disp"][style=""] {
    display: inline !important;
}


span.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li, div[id^="campaignPlaceholder"] li {
    vertical-align: middle;
    display: inline-block;
    border: 2px solid #dee2e6;
    background: #f8f8f8;
    padding: 10px;
    margin: 0px;
    border-radius: 10px;
    margin-left: 15px;
}

span.drg-element-type-cms-content.drg-element-sub-type-category-8 ul {
  display: inline-block;
}

@media only screen and (max-width: 1200px) {
span.drg-element-type-cms-content.drg-element-sub-type-category-8 ul li, div[id^="campaignPlaceholder"] li {
    margin: 0px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
}
}

/* Gift page single US option (demo156279) */
input[name="demo156279"] {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

input[name="demo156279"] + .radiolabel label {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 2px solid #dee2e6;
    font-size: 16px;
    border-radius: 10px;
    color: #252525;
    background: #f8f8f8;
    padding: 7px 10px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[name="demo156279"] + .radiolabel label:hover {
    text-decoration: none;
    background: #fff;
    border-color: #0090a1;
    color: #0090a1;
    box-shadow: none;
}

input[name="demo156279"]:checked + .radiolabel label {
    background: #0090a1;
    border: 1px solid #0090a1;
    color: #fff;
}

/* Mobile: keep "All prices are in USD." on one line */
@media (max-width: 480px) {
    div[id^="disp"][style=""],
    div[id^="disp"][style="display: block;"] {
        display: block !important;
        width: 100%;
        text-align: left;
        margin-bottom: 4px;
    }
    div[id^="disp"] small {
        white-space: nowrap;
    }
}


/* Desktop fix: keep US / Canada / Intl on a single row
   and tighten spacing a bit */
@media (min-width: 992px) {
  /* make the country list a flex row */
  span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 ul {
      display: flex !important;
      flex-wrap: nowrap !important;
      align-items: center;
      gap: 4px; /* small space between buttons */
  }

  /* let each button size to its content instead of 33.33% */
  span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 li {
      display: flex !important;
      width: auto !important;         /* override width: 33.33% */
      padding: 0 2px !important;
  }

  /* ensure labels don’t stretch to 100% inside the li */
  span.spanc74.drg-element-type-cms-content.drg-element-sub-type-category-1 .radiolabel label {
      width: auto !important;         /* override width: 100% */
  }
}
