html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  text-align: center;
}

.yesmobi {
  display: none;
}

a img { border: none; }

.mainwidth {
  width: 1200px;
  text-align: left;
  margin: 0 auto;
  position: relative;
}

#toplogos .mainwidth {
  height: 120px;
  padding-bottom: 7px;
}

#toplogos + .mainwidth > em {
  background-color: #699138;
  color: #fff;
  padding: 12px 24px;
  display: block;
  position: absolute;
  top: -112px;
  left: 350px;
  width: 680px;
  border-radius: 12px;
}

#toplogo_bge {
  position: relative;
  top: 20px;
  float: left;
}

#toplogo_kinvia {
  position: relative;
  top: 10px;
  right: 100px;
  float: right;
  height: 88px;
}

a#topmenu_select {
  width: 100px;
  border-radius: 5px;
  background: url('../images/white_arrow.png') #605a5a;
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding: 5px 75px 2px 20px;
}

#cart_link {
  font-size: 13px;
  float: right;
}

#cart_link > a img {
  position: relative;
  top: 5px;
  left: -10px;
}

#toppic {
  position: relative;
  width: 100%;
  height: 520px;
  /* background-color: #fcefd2; */
  background-color: #fff;
  margin: 0 auto;
  overflow: hidden;
}

#toppic #cat_title.higher,
#toppic #cat_title {
  position: absolute;
  top: 5px;
  text-align: left;
  left: max((100vw - 1200px) / 2, 10px);
  max-width: 500px;
  background: #605a5a;
  padding: 30px;
  font-size: 50px;
  line-height: 60px;
  font-weight: bold;
  color: #fff;
}

#featured_link img.home-banner-img {
  position: absolute;
  right: 0;
  top: 0;
  height: 410px;
}

/* #featured_link::after {
  display: block;
  position: absolute;
  right: 60px;
  top: 13vh;
  content: url('../uploads/icon-4x-match-purple-100px.png');
} */

/* #featured_link > div {
  padding-right: 580px;
} */

#featured_link h1 {
  color: #305364;
}

.trustmarks-ecard {
  display: flex;
  padding: 0;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trustmarks {
  display: block;
}

.trustmarks img {
  max-height: 100px;
}

.trustmarks-ecard img {
  max-height: 75px;
  max-width: 140px;
  margin-right: 2px !important;
}

.trustmarks span {
  margin: 0px 5px;
}

@media (max-width: 1250px) {
  /* #featured_link > div {
    padding-right: 450px;
  } */

  .trustmarks img {
    max-height: 80px;
  }
}

@media(min-width: 1000px) {
  #featured_link p {
    font-size: 1.3em;
  }  
}

@media (min-width: 701px) {

  #featured_link img.home-banner-img {
    right: 30px;
    top: 0;
    height: auto;
    max-width: 40%;
  }

    #featured_link > div {
    padding-right: 45%;
  }

}

@media (min-width: 976px) and (max-width: 1249px) {

  #featured_link .text-logos {
    padding-left: 1%;
  }
}

@media (max-width: 975px) {
  /* #featured_link > div {
    padding-right: 360px;
  } */

  #featured_link h1 {
    font-size: 35px;
    margin: 35px 0;
  }

  .trustmarks img {
    max-height: 50px;
  }

   #featured_link .text-logos {
    padding-left: 20px;
   }

  #featured_link::after {
    top: 13vh;
  }
}

@media (max-width: 700px) {
  #toppic {
    height: auto;
    min-height: 370px;
    padding-bottom: 20px;
  }

  #featured_link img.home-banner-img {
    position: relative;
    top: 10px;
    display: block;
    height: 250px;
    margin: 0 auto;
  }

  #featured_link > div {
    padding-left: 10px;
    padding-right: 10px;
  }

  #featured_link h1 {
    font-size: 25px;
    margin: 25px 0;
  }

  #featured_link::after {
    right: calc(50% - 40px);
    top: 13vh;
    /*content: url('../images/2x_match_icon.png');*/
  }

  .trustmarks img {
    max-height: 65px;
  }
}

#toppic h1 {
  text-align: left;
  margin-bottom: 10px;
}

.menubar, #bottombar {
  background: #414143;
  color: #fff;
}

.menubar {
  height: 52px;
  line-height: 52px;
}

.menubar a {
  text-decoration: none;
  color: #fff;
}

.menubar a.active { color: #f0b52b; }

.menubar.xmas {
  height: auto;
  padding: 12px 0;
}

.menubar.xmas p {
  line-height: 28px;
  margin-bottom: 0; 
}

#browse_submenu {
  display: none;
  position: absolute;
  top: 39px;
  left: 130px;
  padding: 12px 0;
  color: #000;
  background: #fff;
  z-index: 10;
  box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.3);
}

#browse_submenu section {
  font-size: 18px;
  line-height: 28px;
  display: inline-block;
  vertical-align: top;
  width: auto;
  border: none;
  margin: 0;
  padding: 0 32px 16px 32px;
  height: 100%;
}

@media screen and (min-width: 1240px) {
  #browse_submenu section {
    height: 290px;
  }
}

#browse_submenu section:first-of-type {
  border-right-style: solid; 
  border-right-width: 1px;
}

#browse_submenu section:last-of-type {
  border-left-style: solid;
  border-left-width: 1px;
}

#browse_submenu section header {
  font-weight: bold;
  text-transform: uppercase;
}

#browse_submenu section a, #nav_menu a, #mobi_menu a {
  color: #699138;
  text-decoration: none;
}

#browse_submenu section ul, #nav_menu ul, #mobi_menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#browse_submenu section li {
  margin: 0;
  padding: 0;
}

#nav_menu, #mobi_menu {
  display: none;
  position: absolute;
  background: #fff;
  padding: 22px;
  border-radius: 15px;
  border: 1px solid #000;
}

#nav_menu {
  top: -203px;
  left: -31px;
}

#mobi_menu {
  z-index: 10;
  top: 0;
  left: 30px;
}

#nav_menu img {
  position: absolute;
  bottom: -11px;
  left: 35px;
}

#nav_menu li, #mobi_menu li {
  float: none;
  display: block;
  margin-bottom: 6px;
}

#bottom_right {
  width: 200px;
  float: right;
  padding: 27px 0 22px;
}

#bottom_right img { margin-left: 10px; }

#bottom_left {
  width: 200px;
  float: left;
  padding: 27px 0 22px;
  font-size: 14px;
}

#bottom_left img {
  margin-right: 8px;
  vertical-align: middle;
}

#bottom_middle {
  margin: 0 auto;
  padding: 8px 0;
  text-align: center;
}

#copyright_note {
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
}

#footer_bottom_line {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 8px;
  font-size: 14px;
  line-height: 16px;
  font-weight: bold;
}

.menubar nav li a {
  position: relative;
  top: 12px;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav li {
  float: left;
  margin-right: 40px;
}

/* basic helper classes */
.clearit { clear: both; }
.clearlt { clear: left; }
.clearrt { clear: right; }
.centerit { text-align: center; }
/* end of basic helper classes */

#main_content a, #toppic a {
  color: #4a5e26;
  text-decoration: none;
}

#main_content a.orange_button, #toppic a.orange_button {
  color: #fff;
  display: inline-block;
  background: #699138;
  padding: 15px 20px;
  font-size: 17px;
  text-align: center;
  line-height: 15px;
  margin-bottom: 30px;
}

.orange_button_smalltext {
  font-size: 13px;
}

#main_content a.blue_button {
  color: #fff;
  font-size: 16px;
  display: inline-block;
  background: #605a5a;
  padding: 3px 10px;
  border-radius: 5px;
}

a.blue_button img { margin-left: 15px; }
a.blue_button img.leftarrow {
  margin-left: 0;
  margin-right: 10px;
  vertical-align: absmiddle;
}

header h1 {
  margin-top: 70px;
  margin-bottom: 70px;
}

h1 {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin: 53px 0;
}

h2 {
  font-size: 30px;
}

article header h1 {
  text-align: left;
  margin-bottom: 45px;
}

article {
  margin-bottom: 50px;
}

hr {
  border: 0;
  height: 1px;
  background: #000;
  margin: 53px 0;
}

aside {
  float: right;
  text-align: right;
  width: 50%;
}

figure {
  background: #605a5a;
  display: inline-block;
  text-align: left;
}

figure img { display: block; }

figcaption {
  color: #fff;
  font-size: 14px;
  padding: 10px 21px;
}

img.inline_icon {
  vertical-align: middle; 
  margin: 0 15px;
}

.column {
  box-sizing: border-box;
  text-align: center;
  float: left;
}

.two_columns .column {
  width: 50%;
  padding: 5px 40px;
}

.three_columns .column {
  width: 33%;
  padding: 5px 40px;
}

.column:first-of-type { padding-left: 0; }
.column:last-of-type { padding-right: 0; }

.column h1 { color: #f0b52b; }

.three_columns .column h1 { margin: 20px 0 5px 0; }

.two_columns .column h1 { margin: 20px 0; }

#follow_us_social { margin: 40px 0; }

#follow_us_social img { margin-right: 10px; }

/* ================================== Site Map =============================== */

.sitemap_col {
  box-sizing: border-box;
  width: 33%;
  padding-left: 30px;
  padding-right: 30px;
  float: left;
}
.sitemap_col:first-of-type { padding-left: 0; }
.sitemap_col:last-of-type { padding-right: 0; }

.sitemap_col ul {
  margin: 0 0 25px 0;
  padding: 0;
  list-style-type: none;
}
.sitemap_col h4 {
  margin: 0;
}

/* =========================== Gift listing on home page ===================== */

#home_giftlist {
  margin-top: 35px;
  height: auto;
}
  
#related_gifts {
  background: rgb(240, 239, 239);
}

#related_gifts a.orange_button {
  position: absolute;
  bottom: 0;
}

.home_gift_info {
  font-size: 15px;
  line-height: 1.1em;
  width: 400px;
  display: inline-block;
  text-align: left;
  margin-bottom: 50px;
  padding-left: 24px;
  padding-right: 24px;
}

.home_gift_info a img {
  margin-top: 4px;
  margin-right: 8px;
}

.home_gift_info .gift_container div.side-img {
  border: 1px solid #888;
  width: 300px;
  float: left;
  margin-right: 15px;
  cursor: pointer;
  padding: 10px;
}

#related_gifts .home_gift_info .gift_container div.side-img {
  width: 33%;
  padding: 0;
}

.home_gift_info header {
  margin-top: 10px;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 4px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #699138;
  margin-bottom: 16px;
}

.home_gift_info header .price { float: right; }

#under_gifts { text-align: center; }

#under_gifts a.orange_button { padding: 3px 30px; }

#order_by_phone {
  display: inline-block;
  margin: 40px 0 30px;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  background: #f0f0f0;
  padding: 32px 20px;
  border-radius: 5px;
}

#order_by_phone p {
  margin-bottom: 16px;
}

#order_by_phone a {
  color: #fff;
  background: #605a5a;
  padding: 8px;
  border-radius: 5px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#order_by_phone a:hover {
  opacity: 0.9;
}

#pop_orderby_ops {
  display: none;
  position: absolute;
  top: 30px;
  left: 0px;
  border: 1px solid #000;
  z-index: 10;
  background: #fff;
  padding: 8px;
}

#pop_orderby_ops ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.more_gift_info {
  text-align: center;
  transition: opacity 0.5s;
  transition-timing-function: ease-in-out;
}

/* ================================ Gift page ============================== */

#step1_bar, #step2_bar, #step3_bar {
  width: 100%;
  height: 289px;
  color: #fff;
  padding: 0;
}

.step_icon {
  height: 289px;
  display: table-cell;
  vertical-align: middle;
}

.step_icon img {
  position: relative;
  top: -10px;
}

.step_text {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 100%;
}

@media(min-width: 700px) {
  .step_text {
    max-width: 50%;
  }
}

.step_text h1 {
  font-size: 60px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.step_text h2 {
  font-size: 28px;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 0;
  color: #605a5a;
  line-height: 30px;
}

#step1_back, #step2_back {
  display: none;
}

#step1_bar {
  background: #e5c34b;
}

#step1_bar .mainwidth, #step2_bar .mainwidth, #step3_bar .mainwidth {
  background-position: right;
  background-repeat: no-repeat;
}

#step1_bar .mainwidth {
  background-position: right 110px top;
  background-image: url('../images/step1_image.png');
}

#step2_bar {
  background: #c3c14f;
  margin: 2px 0;
}

#step2_bar .mainwidth { background-image: url('../images/step2_image.png'); }

#step3_bar {
  background: #81ac4e;
}

#step3_bar .mainwidth { background-image: url('../images/step3_image.png'); }
#step3_bar.occasion .mainwidth {
  background-image: url('../images/occasions/step3_occasion.png');
}

.giftpage_buttons {
  margin-top: 30px;
  text-align: center;
}

#giftpage_gift_info {
  margin: 60px 70px;
}

#giftpage_gift_info > div.img-wrap {
  float: left;
  margin-right: 30px;
  border: 1px solid #888;
  position: relative;
  top: 12px;
}

#giftpage_gift_info .rightside_info {
  position: relative;
  overflow: hidden;
  padding-bottom: 15px;
}

.abutton {
  display: inline-block;
  background: #699138;
  font-size: 17px;
  text-align: center;
  padding: 15px 30px;
  color: #fff;
  cursor: pointer;
  line-height: 15px;
  margin: 0 10px;
  position: relative;
  top: 8px;
}

.giftpage_buttons .bigger, .abutton .bigger {
  font-size: 16px;
}

.abutton .greyed {
  background: #aeaeae;
}

.polaroid_bottom .giftpage_buttons {
  margin-top: 0px;
  margin-bottom: 15px;
}

.cart_item_right_side .abutton {
  margin-top: 10px;
  margin-bottom: 10px;
}

.cart_item_right_side .abutton strong {
  font-size: 18px;
}


#giftpage_gift_info p {
  font-size: 16px;
  line-height: 20px;
}

#giftpage_gift_info header {
  margin-top: 10px;
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 4px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: #699138;
}

#giftpage_gift_info header .price { float: right; }

/* ======================= Gift Listing (step 3 and view cart) ======================= */

.polaroid_box, .polaroid_bottom {
  box-sizing: border-box;
  width: 770px;
  margin: 0 auto;
  text-align: left;
  border: 1px solid #ebebeb;
}

.polaroid_box {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 40px;
}

.polaroid_bottom {
  position: relative;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 10px 40px;
  background: #ebebeb;
}

.polaroid_bottom h4 {
  margin: 0;
}

.alter_gift {
  float: right;
}

.alter_gift a {
  position: relative;
  top: -7px;
}

.right_icons {
  float: right;
}

#gift_final_left {
  float: left;
  width: 300px;
  margin-right: 30px;
}

#gift_final_right {
  float: right;   
}

#gift_final_left header, #gift_final_right header {
  font-size: 26px;
  text-align: center;
  margin-bottom: 6px;
}

#gift_final_img {
  padding: 10px;
  border: 1px solid #999;
}

/* ============================== Pick a card (regular) ============================== */

#ecard_design_selections, #pdf_design_selections, #printed_design_selections,
#ecard_occasion_selection, #pdf_occasion_selection, #printed_occasion_selection,
#ecard_final_selection, #pdf_final_selection, #printed_final_selection {
  text-align: center;
}

.ecard_design_selection, .pdf_design_selection, .printed_design_selection {
  display: inline-block;
  text-align: left;
  background: #ebebeb;
  margin: 10px;
  padding-top: 10px;
}

#ecard_final_selection .ecard_design_selection, 
#pdf_final_selection .pdf_design_selection,
#printed_final_selection .printed_design_selection {
  margin: 0;
  padding: 0;
  background: none;
}

#ecard_design_selections .ecard_design_selection,
#pdf_design_selections .pdf_design_selection, 
#printed_design_selections .printed_design_selection {
  cursor: pointer;
}

.pdf_design_selection {
  padding: 15px;
}

.ecard_sample_body {
  width: 193px;
  height: 217px;
  background: url('../images/ecard_preview_bg.png');
  margin: 10px;
  position: relative;
}

#ecard_final_selection .ecard_sample_body {
  margin: 0;
}

.ecard_design_selection.selected, .pdf_design_selection.selected, .printed_design_selection.selected {
  background: #666;
}

.printed_design_selection {
  padding: 10px;
}

.printed_design_selection .printed_sample_body {
  width: 310px;
  height: 234px;
  background: url('../images/printed_card_preview_back.png');
  background-size: 310px 238px;
  position: relative;
}

.printed_preview_back {
  width: 573px;
  height: 444px;
  background: url('../images/printed_preview_back_full.jpg');
  background-size: 583px 444px;
  position: relative;
  float: left;
  margin-right: 30px;
}

.printed_sample_body img {
  position: absolute;
  top: 35px;
  left: 50px;
}

.printed_preview_back img {
  position: absolute;
  top: 66px;
  left: 103px;
}

.ecard_design_selection img {
  position: absolute;
  top: 12px;
  left: 12px;
}


.about_gift_radios {
  text-align: center;
}

#pdf_preview_img {
  float: left;
  margin-right: 40px;
}

#ecard_design_preview {
  width: 366px;
  padding: 10px;
  float: left;
  border: 1px solid #000;
  margin: 0 90px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 16px;
}

#ecard_design_preview img, #ecard_design img {
  display: block;
}

#ecard_design {
  width: 865px;
  padding: 14px;
  border: 1px solid #000;
  margin: 40px auto;
  text-align: left;
}

#ecard_design img {
  float: left;
  margin-right: 30px;
}

#ecard_content {
  overflow: hidden;
  font-size: 17px;
  line-height: 19px;
}

#ecard_content header {
  font-weight: bold;
}

#ecard_content .about_text {
  font-size: 15px;
  line-height: 16px;
}

.preview_desc {
  text-align: left;
  overflow: hidden;
}

.preview_desc header {
  font-size: 24px;
  font-weight: bold;
  color: #52a6b1;
}

.preview_desc li {
  position: relative;
  left: 20px;
}

/* ==================================== FORMS ================================== */

label {
  float: left;
  width: 190px;
}

.styled_select {
  border-radius: 5px;
  overflow: hidden;
  background: url('../images/select_arrow.png') no-repeat right #fff;
  background-position: right 5px center;
}
.styled_select.bluish {
  background: url('../images/white_arrow.png') no-repeat right #414143;
  background-position: right 5px center;
  color: #fff;
  padding: 0;
  margin-top: 4px;
}
.styled_select.bluish select {
  color: #000;
  background: #fff;
  border: none;
}
.right_field {
  display: inline-block;
  overflow: hidden;
  margin-bottom: 16px;
}

label.nostyle {
  float: none;
  width: auto;
}

#error_top_message_line {
  display: none;
  text-align: center;
}

#error_top_message {
  font-size: 12px;
  line-height: 12px;
  color: #fff;
  background: #f00;
  border-radius: 5px;
  padding: 8px;
  display: inline-block;
  margin: 10px 0;
}

.error_notify {
  display: none;
  margin-left: 20px;
  padding: 3px;
  color: #f00;
}

.error_notify::before {
  content: url('../images/orange_x_icon.png');
  margin-right: 10px;
}

/* =================== Checkout page ===================== */

.polaroid_box.checkout {
  padding-top: 10px;
}

.polaroid_bottom a.orange_button {
  float: right;
}

.polaroid_bottom #submit_payment {
  text-align: center;
}

#security_note {
  position: absolute;
  right: 30px;
  top: 15px;
  font-size: 14px;
  font-weight: bold;
}

#security_note img {
  vertical-align: middle;
}

.polaroid_bottom #submit_payment a.orange_button {
  float: none;
}

#review_your_order {
  text-align: right;
  font-weight: bold;
  margin-bottom: 30px;
}

header#payment_header h1 {
  margin-bottom: 30px;
}

#payment_header_icons {
  position: absolute;
  left: 800px;
}

#main_payment_form {
  margin: 0 60px;
}

#topup {
  text-align: right;
}

#topup strong {
  margin-right: 10px;
}

.cart_item {
  font-size: 18px;
  width: 640px;
  margin: 30px auto;
}

.cart_item > img:first-of-type {
  cursor: pointer;
  border: 1px solid #888;
  padding: 8px;
}

.cart_item .cart_item_right_side {
  float: right;
  width: 370px;
}

.polaroid_box hr {
  height: 2px;
  margin: 8px 0;
  background: #699138;
}

.cart_item strong {
  font-weight: bold;
  font-size: 24px;
}

.cart_item header {
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  color: #699138;
}

.cart_item .styled_select {
  margin-bottom: 0;
}

#the_checkout_form {
  position: relative;
}

#paypal_popup {
  display: none;
  width: 300px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 5px;
  position: absolute;
  left: 600px;
  padding: 5px;
  top: 0;
}

/* ========================== MODAL POPUP CONTAINER ======================== */

#popup_container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

#close_button {
  float: right;
  margin: 4px;
}

/* ============================== RECEIPT PAGE ====================================== */

#receipt_page {
  width: 900px;
  margin: 0 auto;
  text-align: center;
}

#receipt_page a img {
  vertical-align: middle;
}

#receipt_page .smaller {
  font-size: 14px;
  line-height: 15px;
}

#receipt_page .bigger {
  font-size: 24px;
}

#receipt_page h3 {
  font-size: 33px;
  margin-bottom: 40px;
  color: #699138;
}

#receipt_page h4 {
  font-size: 32px;
  font-weight: normal;
}

#impact_text {
  color: #fff;
  display: inline-block;
  font-size: 18px;
  line-height: 1.3em;
}

.ecard-editor {
  text-align: left;
  margin-left: 15px;
}

/* ============================== RECEIPT PAGE ====================================== */

#popped_preview {
  width: 1050px;
  margin-left: -525px;
  border-radius: 16px;
  box-sizing: border-box;
  display: none;
  position: absolute;
  left: 50%;
  z-index: 21;
  background: #fff;
}

#popped_preview #ptab_top {
  box-sizing: content-box;
  border-bottom-style: solid;
  border-bottom-width: 14px;
  border-bottom-color: #414143;
  height: 53px;
  position: relative;
  font-size: 24px;
  line-height: 53px;
  vertical-align: middle;
}

#popped_preview .atab {
    padding: 60px 30px;
}
#popped_preview #ptab_top_nocard {
  text-align: right !important;
}

#popped_preview #ptab_top_nocard img {
  margin-right: 15px;
}

#popped_preview #ptab_top > div {
  box-sizing: border-box;
  background: #fff;
  position: absolute;
  top: 2px;
  height: 53px;
  border: solid 3px #414143;
  width: 28%;
  text-align: center;
  line-height: 53px;
  border-top-right-radius: 16px;
  cursor: pointer;
}

#popped_preview #ptab_top > div:first-of-type {
  border-top-left-radius: 16px;
}

#popped_preview #ptab_top #ptab_top_ecard {
  z-index: 8;
  left: 0;
}

#popped_preview #ptab_top #ptab_top_pdf {
  z-index: 6;
  left: 26%;
}

#popped_preview #ptab_top #ptab_top_printed {
  z-index: 4;
  left: 52.5%;
}

#popped_preview #ptab_top #ptab_top_nocard {
  z-index: 2;
  top: 0;
  left: 80%;
  width: 20%;
  border-style: none;
}


#popped_preview {
  border-radius: 16px;

  #ptab_top > div.selected {
    z-index: 8 !important;
    top: 0;
    height: 53px;
    background: #414143;
    color: #fff;
    border-top-left-radius: 16px;
  }
  #ptab_top > div .regular_icon { display: inline; }
  #ptab_top > div .selected_icon { display: none; }
  #ptab_top > div.selected .regular_icon { display: none; }
  #ptab_top > div.selected .selected_icon { display: inline; }
}

input.half, .styled_select.half {
  width: 170px;
}

.styled_select.half select {
  width: 100%;
  margin-bottom: 0;
}

img.passlove {
  float: left;
  width: 65px;
  margin-right: 5px;
}

.passlove_text {
  position: relative;
  top: 10px;
}

input[type="radio"] {
margin: 3px 10px 0 10px;
}

input[type="radio"] + label {
font-size: 17px;
text-align: left;
}

legend {
  margin-bottom: 15px; /* for the personal information legend */
}

input#dt-corp {
  margin-bottom: 30px;
}

#prompt-warning {
  text-align: center;
  background: #414143;
  color: #fff;
  font-size: 14px;
  position: fixed;
  top: calc(100vh / 2 - 75px);
  right: 5px;
  width: 310px;
  height: 150px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  z-index: 61;
  padding: 10px;
}

#prompt-warning input[type="button"] {
  display: block;
  border: none;
  font-size: 13px;
  background: #fff;
  color: #699138;
  padding: 5px 10px;
  margin: 6px auto;
}

#yesfree-button {
  padding: 12px 20px;
}

a#more-link {
  color: #699138;
  font-size: 12px;
  line-height: 1em;
}

.notification {
  background: #e2e3e7;
  padding: 16px;
  margin: 16px auto;
  max-width: 900px;

  p { margin: 0; }
}

#adminUser {
  position: absolute;
  top: 24px;
  text-align: center;
  width: 100%;
  z-index: 1;

  h6 {
    font-size: 25px;
    color: #699138;
    margin-top: 0;
    margin-bottom: 12px;
  }

  p { font-weight: bold; }
}

input[type="search"]#search-text {
  border: 1px solid #414143;
  border-radius: 8px;
  padding-left: 32px;
  width: 200px;
  background-image: url('../images/search_icon.png');
  background-repeat: no-repeat;
  background-position: 6px 6px;
  background-size: 20px 20px;
  height: 33px;
  margin-bottom: 0;
  font-size: 16px;
}

input[type="search"]#search-text::placeholder {
  -webkit-appearance: textfield;
  appearance: textfield;
  color: #414143 !important;
  opacity: 1;
}

div.img-wrap {
  position: relative;
  display: inline-block;
}

.match-2x::after {
  content: url('../images/thumb2x_match_icon.png');
}

.match-3x::after {
  content: url('../images/thumb3x_match_icon.png');
}

#giftpage_gift_info {
  .match-2x::after { content: url('../images/large2x_match_icon.png'); }
  .match-3x::after { content: url('../images/large3x_match_icon.png'); }
}

#biglist {
  .match-2x::after { content: url('../images/2x_match_icon.png'); }
  .match-3x::after { content: url('../images/3x_match_icon.png'); }
}

.match-2x::after, .match-3x::after {
  display: block;
  position: absolute;
  right: 8px;
  bottom: 8px;
}

.gift_container .match-2x::after, .gift_container .match-3x::after {
  right: 8px;
  bottom: 0;
}

.c-gift-image .match-2x::after, .c-gift-image .match-3x::after {
  right: 4px;
  bottom: -6px;
}

.incat {
  display: inline-block;
  background: #f0efef;
  border-radius: 8px;
  padding: 4px 8px;
  color: #699138;
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

#related_gifts .incat, .incat:hover {
  background: #699138;
  color: #f0efef;
}

.incat::after {
  display: inline;
}

.incat.popular-gifts::after {
  content: "Popular";
}

.incat.Urgent::after {
  content: "Urgent";
}

.incat.new-gifts::after {
  content: "New";
}

@media screen and (min-width: 1240px) {
  .step_text {
    left: 0;
    top: 50px;
  }
}

.modal {
  text-align: left;
  font-size: 16px;
}

.modal .modal-content {
  border-radius: 4px;
}

.modal .modal-content div {
  padding: 16px;
}

.modal .modal-content * { 
  font-family: "Poppins", sans-serif !important;
}

.modal .modal-content :is(h1, h2, h3, h4, h4, h6) {
  margin-top: 0;
}

.modal .modal-content h3 {
  font-size: 28px;
} 

.modal .modal-content p {
  line-height: 1.4em;
}

.modal .modal-content .custom-control-label::before {
  width: 16px;
  height: 16px;
}

.modal .modal-content .custom-control-label {
  padding-left: 5px;
  width: 100px;
}

.modal .modal-content button.btn-primary {
  font-size: 16px; 
  background: #b2b000;
  border: none;
  padding: 8px 12px;
  box-shadow: 0 2px 2px 0 rgba(178,176,0,.14), 0 3px 1px -2px rgba(178,176,0,.2),
              0 1px 5px 0 rgba(178,176,0,.12);
}

.modal .modal-content button.btn-primary:hover,
.modal .modal-content button.btn-primary:active {
  background: #514a45;
}

.worldline-input {
  padding: 10px 0 0 18px;
  background: #fff;
  border: 1px solid #6a6a6a;
  border-radius: 3px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

/* ================================== TABLETS ================================================= */

@media screen and (max-width: 1240px) {
  .mainwidth {
    box-sizing: border-box;
    width: 100%;
    padding: 0 5px;
  }

  #toplogos + .mainwidth > em {
    position: relative;
    left: 0;
    top: -6px;
    width: 100%;
  }

  #toppic #cat_title{
    position: absolute;
    font-size: 40px;
    line-height: 45px;
    padding: 15px;
    margin-left: 15px;
  }

  #nav_menu {
    left: 0;
  }

  #browse_submenu {
    left: 100px;
    width: 500px;
  }

  #browse_submenu section {
    line-height: 25px;
  }

  #browse_submenu section#s_sec_bycat {
    display: block;
    float: left; 
    margin-right: 30px;
  }

  #browse_submenu section#s_sec_featured {
    height: auto;
    display: block;
    float: none;
  }

  #browse_submenu section#s_sec_byocc {
    height: auto;
    display: block;
    float: none;
    border-left-style: none;
  }

  .home_gift_info {
    position: relative;
  }

  .home_gift_info.odd, .home_gift_info.even {
    padding-left: 0;
    padding-right: 0;
  }

  .home_gift_info .gift_container > img:first-child {
    float: none;
    position: absolute;
    top: 40px;
  }

  .home_gift_info .gift_container {
    width: 300px;
    margin: 0 auto;
  }

  .home_gift_info a.orange_button {
    text-align: center;
  }

  #step1_bar, #step2_bar, #step3_bar, .step_icon {
    height: 200px;
  }

  .step_icon img {
    width: 100px;
  }

  .step_text {
    position: absolute;
    top: 30px;
  }

  .step_text h1 {
    font-size: 40px;
    line-height: 43px;
  }

  .step_text h2 {
    margin-top: 8px;
    font-size: 23px;
    line-height: 28px;
  }

  #step1_bar .mainwidth {
    background-size: auto 200px;
  }

  #giftpage_gift_info {
    margin: 30px 15px;
  }

  #giftpage_gift_info > div.img-wrap {
    width: 40%;
    padding: 8px;
    margin-right: 15px;
  }

  #payment_header_icons {
    position: relative;
    left: 0;
  }

  #paypal_popup {
    left: 0;
  }

  #related_gifts a.orange_button {
    position: relative;
  }

  #related_gifts .home_gift_info:nth-child(2n+1) {
    clear: left;
  }

  #biglist {
    text-align: center;
    padding: 0 20px;
  }

  #biglist .home_gift_info {
    width: 49%;
  }

  #biglist .home_gift_info .gift_container {
    width: 100%;
    height: 450px;
    text-align: center;
  }

  #biglist .home_gift_info .gift_container header {
    text-align: left;
    width: 300px;
    float: none;
    right: 0;
    left: 0;
    margin: 0 auto 10px;
  }

  #biglist .home_gift_info .gift_container div.side-img {
    float: none;
    margin: 0 auto;
  }

  #biglist .home_gift_info .gift_container .short_desc {
    width: 300px;
    display: block;
    text-align: center;
    margin: 10px auto 0;
  }

  #biglist .preview_pop_links {
    text-align: center;
  }

  #biglist .addcart_orange { 
    text-align: center;
  }
}

@media screen and (min-width: 104px) {
  #impact_text {
    font-size: 22px;
  }
}

@media screen and (min-width: 700px) and (max-width: 1240px) {
  #browse_submenu section#s_sec_byocc {
    padding-left: 0;
    overflow: hidden;
  }
}

/* =================================  SMALLER TABLETS ================================================ */

@media screen and (min-width: 768px) {
  #toppic #cat_title.higher,
  #toppic #cat_title {
    top: 25px;
  }
}

@media screen and (max-width: 1023px) {
  #adminUser {
    position: relative;
    padding-top: 24px;
  }

  .nomobi {
    display: none;
  }

  .yesmobi {
    display: block;
  }

  li.yesmobi {
    display: list-item;
  }

  li.yesmobi a img {
    position: relative;
    left: 5px;
    top: -3px;
  }

  #popped_preview {
    width: 100%;
    margin-left: -50%;
  }

  #receipt_page {
    font-size: 16px;
    width: 100%;
  }

  #receipt_page .bigger {
    font-size: 17px;
  }

  #receipt_page .smaller {
    font-size: 15px;
  }

  #ecard_design {
    width: 100%;
    box-sizing: border-box;
  }

  #ecard_design_preview {
    margin: 0 5px;
  }

  #pdf_preview_img {
    float: none;
    margin-right: 0;
    width: 100%;
  }

  .printed_preview_back {
    margin-right: 10px;
  }
 
  
  #toppic #cat_title {
    position: absolute;
    font-size: 20px;
    line-height: 25px;
    padding: 15px;
    margin-left: 5px;
  }

  .three_columns .column {
    width: 100%;
    display: block;
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (max-width: 860px) {
  .step_text h2 {
    width: 60%;
  }

  .home_gift_info {
    width: 375px;
  }
  
  #impact_text.wider {
    width: 95%;
  }
}

/* ===================================== PHONES =============================================== */

@media screen and (max-width: 900px) {
  #impact_text {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .abutton {
    padding: 15px 10px;
    max-width: 250px;
  }

  #toppic #cat_title {
    width: 40%;
    position: absolute;
    font-size: 20px;
    line-height: 25px;
    padding: 15px;
    margin-left: 5px;
  }

  .home_gift_info {
    width: 100%;
  }

  #toplogos .mainwidth {
    text-align: center;
    height: auto;
  }

  #toppic .mainwidth {
    padding: 0; 
  }

  #toplogo_bge {
    float: none;
    width: 90%;
    max-width: 250px;
    top: 0;
    left: -30px;
    margin: 10px 0;
  }

  #toplogo_kinvia {
    float: none;
    width: 120px;
    height: auto;
    top: 0;
    margin: 10px 0;
    position: relative;
    right: 0;
  }

  #browse_submenu {
    left: 0;
    height: auto;
  }

  #browse_submenu section#s_sec_bycat {
    float: none;
    height: auto;
    margin-right: 0;
    border-right-style: none;
  }

  nav li {
    margin-right: 20px;
  }

  a#topmenu_select {
    padding: 5px 30px 2px 20px;
  }

  .nophone {
    display: none;
  }
  
  #step1_bar .mainwidth, #step2_bar .mainwidth, #step3_bar .mainwidth {
    background-image: none !important;
  }

  .step_icon img {
    width: 75px;
  }

  .step_text {
    top: 45px;
    left: 90px;
  }

  .step_text h1 {
    font-size: 33px;
    line-height: 34px;
  }

  .step_text h2 {
    font-size: 18px;
    line-height: 20px;
  }

  .step_text h4 {
    font-size: 15px;
    line-height: 16px;
    margin: 5px 0;
  }

  #step2_content .mainwidth {
    padding: 0;
  }
  
  #giftpage_gift_info {
    position: relative;
  }

  #giftpage_gift_info > div.img-wrap {
    float: none;
    position: absolute; top: 65px;
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
    height: 228px;
  }

  #giftpage_gift_info header {
    margin-bottom: 253px;
  }

  #tab_top_nocard img {
    margin: 2px auto;
    display: block;
  }

  .card_form_section {
    width: 100%;
    max-width: 350px;
  }

  .about_gift_radios {
    text-align: left;
  }

  .card_form_section textarea.wysiwyg {
    width: 300px;
    height: 100px;
  }

  .card_form_section .about_gift_text {
    width: 290px;
  }

  .card_form_section label, label {
    width: 25%;
    font-size: 13px;
  }

  #dt-personal + label,
  #dt-corp + label {
    width: 190px;
    font-size: 17px;
  }

  .pdf_design_selection {
    padding: 5px;
  }

  .pdf_design_selection img {
    width: 290px;
    height: 200px;
  }

  .polaroid_box, .polaroid_bottom {
    width: 100%;
    padding: 5px;
  }

  .giftpage_buttons .abutton {
    display: block;
    margin-bottom: 6px;
  }

  #gift_final_left {
    float: none;
    width: 100%;
    text-align: center;
  }

  #gift_final_right {
    width: 100%;
    text-align: center;
  }

  .right_icons {
    float: none;
  }

  #main_payment_form {
    margin: 0;
  }

  #security_note {
    position: relative;
    left: 0;
    top: 0;
    text-align: center;
    float: none;
  }

  #popped_confirm {
    width: 100%;
    margin-left: 0;
    left: 0;
  }

  .cart_item {
    position: relative;
    width: 100%;
  }

  .cart_item > img:first-child {
    max-width: 40%;
    margin-top: 27px;
    padding: 3px;
  }

  .cart_item_header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .cart_item_header header {
    display: inline;
  }

  .cart_item_header .alter_gift {
    float: right;
  }

  .cart_item .cart_item_right_side {
    font-size: 15px;
    margin-top: 27px;
    width: auto;
  }

  .cart_item strong {
    font-size: 15px;
  }

  #ecard_design {
    padding: 4px;
  }

  #ecard_design img {
    width: 100%;
    float: none;
  }

  #ecard_design_preview {
    width: 100%;
    margin: 0;
    float: none;
    box-sizing: border-box;
  }

  #ecard_design_preview img {
    width: 100%;
  }

  .printed_preview_back {
    float: none;
    width: 337px;
    height: 261px;
    background-size: 340px 261px;
  }

  .printed_preview_back img {
    top: 39px;
    left: 57px;
    width: 263px;
    height: 202px;
  }

  #toppic #cat_title {
    width: 95%;
    max-width: 40%;
  }

  .two_columns .column {
    width: 100%;
    display: block;
    padding-left: 0;
    padding-right: 0;
  }

  #home_giftlist .home_gift_info {
    width: 100%;
  }
}

@media screen and (max-width: 440px) {
  nav li {
    margin-right: 0;
  }

  a#topmenu_select {
    margin-left: 25px;
  }

  #toplogo_bge {
    left: 0;
  }
  
  #biglist .home_gift_info .gift_container header {
    width: 100%;
  }

  #related_gifts .home_gift_info .gift_container {
    width: 100%;
  }

  #impact_text {
    display: none;
  }
}

/****************************
  Hide PayPal - Not Required
***************************

.new-cart .payment-section {
  border: none;
}

.paypal-option,
.or-paypal {
    display: none;
}

.payment-section .add-to-cart {
  width: 70%;
  float: none;
} */