/* January 2010 parents_styles.css: original image tiles and dimensions. */
html { overflow-y:scroll; }
body { margin:0; background:#fbf1da url("assets/bg.jpg") repeat-x top; font:10px Verdana,Arial,Helvetica,sans-serif; color:#d92888; }
p { margin:0; }
#page { width:1080px; margin:auto; position:relative; background:url("assets/bg_page.jpg") no-repeat top; }
#base { width:774px; margin-left:167px; background:url("assets/bg_base.jpg") repeat-y left; }
.bg { background:url("assets/bg_header.jpg") no-repeat top left; border-top:1px solid #fea7d4; }
.img_home { --room-art:url("assets/img_home.gif"); border-top:1px solid #fea7d4; }
.img_general { --room-art:url("assets/img_general.gif"); }
.img_safety { --room-art:url("assets/img_safety.gif"); }
:is(.img_home,.img_general,.img_safety) { position:relative; isolation:isolate; }
/* Display the room below the masthead rail, which is already part of bg_header.jpg. */
:is(.img_home,.img_general,.img_safety)::before {
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  z-index:-1;
  width:176px;
  height:265px;
  background:var(--room-art) no-repeat top left;
  clip-path:polygon(0 55.1%, 26% 50.2%, 54% 46%, 82% 42.4%, 100% 40%, 100% 100%, 0 100%);
  pointer-events:none;
}
#top_info { height:18px; padding-top:2px; text-align:center; font-size:9px; line-height:11px; color:#d20b6f; }
#log_space { height:53px; }
.menu { height:68px; margin:3px 24px 0 169px; display:flex; align-items:flex-end; gap:4px; }
/* The frame leaves 581px for four labels. Fallback fonts run wider than Waverly CF, so a label wraps instead of leaving the frame. */
.menu .bgr-tab { flex:1 1 auto; min-width:0; padding-inline:8px; font-size:1rem; line-height:1; white-space:normal; }
#contenidoHome { display:flow-root; min-height:400px; }
#left_decoration { display:block; float:left; width:157px; height:71px; margin:128px 0 0 18px; background:url("assets/goto_img.jpg") no-repeat top left; }
#center_area { float:left; width:354px; min-height:400px; }
#tit_area1 { width:280px; margin:32px 0 18px 25px; }
h1 { font-size:14px; font-weight:bold; line-height:18px; margin:0; }
#box_home { width:354px; margin-bottom:20px; }
#box_home1 { height:23px; background:url("assets/box_txt_home1.gif") no-repeat left; }
#box_home2 { min-height:220px; background:url("assets/box_txt_home2.gif") repeat-y left; display:flow-root; }
#txt_area { font-size:11px; line-height:16px; width:300px; margin:8px 0 10px 26px; }
#txt_area p + p { margin-top:16px; }
#txt_area ul { padding-left:18px; margin:16px 0 0; }
#box_home3 { height:16px; background:url("assets/box_txt_home3.gif") no-repeat left; }
#bgBSmartPactHome { width:354px; height:151px; margin-top:12px; background:url("assets/bgBSmartPact.gif") no-repeat; }
.pact-copy { padding:19px 90px 0 35px; color:#f7b9d4; }
.pact-copy strong { color:#fff; }
.pact-button { display:block; margin:13px 0 0 55px; }
#box_area { float:left; width:215px; margin-left:8px; }
#box1_top { height:26px; background:url("assets/box1_01.gif") no-repeat top; }
#box1_content { width:149px; height:86px; padding:33px 33px 0 32px; background:url("assets/box1_bg.gif") repeat-y; color:white; line-height:12px; text-align:center; }
#box1_bottom { height:39px; background:url("assets/box1_02.gif") no-repeat bottom; }
.box1_btn { display:block; margin-left:18px; }
#box2_top { height:26px; background:url("assets/box2_01.gif") no-repeat top; }
#box2_content { width:163px; padding:0 26px; background:url("assets/box2_bg.gif") repeat-y; line-height:16px; }
#box2_cont_top { font-size:9px; line-height:11px; font-weight:bold; text-align:center; margin-bottom:5px; }
.archived-field { display:block; width:160px; height:17px; box-sizing:border-box; margin-bottom:2px; border:1px solid #ccc; background:#fff; }
.box2_text { text-align:center; font-size:9px; font-style:italic; text-decoration:underline; margin-top:2px; padding-bottom:5px; }
#box2_bottom { height:39px; background:url("assets/box2_02.gif") no-repeat bottom; }
#box3_top { height:26px; background:url("assets/box3_top.gif") no-repeat top; text-align:center; padding-top:6px; box-sizing:border-box; color:#b91472; }
#box3_cont { width:163px; padding:0 26px; background:url("assets/box3_bg.gif") repeat-y; color:#d3005d; line-height:12px; display:flow-root; }
#box3_cont ul { list-style:none; padding:15px 0 0; margin:0; }
#box3_cont li { padding:0 0 0 20px; margin-bottom:10px; background:url("assets/box3_icon.gif") no-repeat top left; min-height:15px; }
#box3_cont a { color:inherit; }
#box3_bottom { height:20px; background:url("assets/box3_bottom.gif") no-repeat bottom; }
#footer { height:232px; clear:both; background:#fbf1da url("assets/footer.jpg") no-repeat left top; position:relative; }
#footer_image1 { position:absolute; top:-212px; left:0; width:174px; height:212px; background:url("assets/barby_face1.jpg") no-repeat top; pointer-events:none; }
#footer_image2 { position:absolute; top:-107px; right:0; width:262px; height:107px; background:url("assets/barby_face2.jpg") no-repeat top; pointer-events:none; }
#legal_txt { position:absolute; width:450px; left:174px; top:30px; text-align:center; font-size:9px; line-height:11px; color:#e471ae; }
#legal_logo { position:absolute; left:664px; top:30px; }
.archive-note { max-width:740px; margin:12px auto; padding:0 12px; text-align:center; color:#6c234f; font-size:12px; line-height:1.5; }
a:focus-visible { outline:2px solid #7e064d; outline-offset:2px; }


/* The logo is part of the original bg_header.jpg, not a separate image. */
#base {position:relative;}
.parents-logo-home {position:absolute;display:block;left:27px;top:40px;width:160px;height:50px;z-index:5;}

@media (max-width: 1080px) {
  #page { width: min(100%, 774px); margin-inline: auto; }
  #base { margin-left: 0; }
}

@media (max-width: 773px) {
  #base { width: 100%; background-size: 100% auto; }
  .bg { background-size: 100% auto; }
  .parents-logo-home { left: 3.5%; top: 5vw; width: 24%; height: clamp(44px, 7vw, 50px); }
  .menu {
    height: auto;
    margin: 3px 0 0;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--bgr-masthead-mid);
  }
  .menu .bgr-tab { min-height: 44px; }
  :is(.img_home,.img_general,.img_safety)::before { display: none; }
  #contenidoHome { padding: 12px; }
  #left_decoration { display: none; }
  #center_area, #box_area { float: none; margin-inline: auto; }
  #center_area, #box_home, #bgBSmartPactHome { width: min(100%, 354px); }
  #tit_area1, #txt_area { width: auto; margin-inline: 18px; }
  #box_home1, #box_home2, #box_home3, #bgBSmartPactHome { background-size: 100% auto; }
  .pact-copy { padding: 16px 64px 0 16px; }
  .pact-button { margin-left: 16px; max-width: calc(100% - 32px); height: auto; }
  #footer {
    height: clamp(52px, 17vw, 132px);
    background-size: 100% auto;
  }
  #footer_image1, #footer_image2, #legal_logo { display: none; }
}
