:root {
  --color-text: #242424;
  --color-accent: #2D5E9E;
  --color-heading: #6D8382;
  --color-footer-link: #FBD539;
  --color-nav: #AAB9B8;
  --color-nav-active: #fff;
  --color-nav-bg: #08428C;
  --color-box-bg: #EAEEEE;
  --color-main-bg: #FFF;
  --color-right-bg: #FFF;
  --color-list: #30619F;
  --color-list-border: #DAE0E0;
}

html {
  min-height: 100%;
  background: url("images/footer_bg.jpg") repeat scroll left bottom transparent;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: "Trebuchet MS", "Times New Roman", Times, serif;
  font-size: 13px;
  color: var(--color-text);
  background: var(--color-box-bg) url('images/background.jpg') top left repeat-x;
  min-height: 100vh;
  overflow: scroll;
}

a, a:link, a:visited, a:active {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover { color: var(--color-accent); text-decoration: underline; }

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* ========== Layout ========== */


#main_content > [id*="_banner"] {
  height: 123px;
  margin: 0 0 10px 0;
  border-radius: 2px;
  background: url('/wp-content/uploads/2025/11/header_adj.jpg') top left no-repeat;
  position: relative;
}

#main_content > [id*="_banner"] .box {
  background: transparent;
}

#main_content > [id*="_banner"] + #content {
  padding-top: 20px;
}

#main_content > [id*="_banner"] .box{ margin-left: 20px; }

#page_footer_bg,
#footer_bg {
  margin: 0;
  background: url('images/footer_bg.jpg') bottom left repeat-x;
}

#page_wrapper {
  margin-left: auto;
  margin-right: auto;
  width: 1000px;
  max-width: 1000px;
  text-align: left;
  min-height: 700px;
  background: transparent;
}

#page_header {
  height: 132px;
  clear: both;
  margin: 0;
  padding: 0;
  background-image: url(images/BP_Logo-trans.png);
  background-repeat: no-repeat;
  background-size: 280px;
  background-position: 0 30px;
}

#logo { float: left; width: 160px; margin: 0; padding: 20px 0 0 0; text-align: left; }

#logo > a > img {
  height:100px;
}

#menu_bar {
  float: right;
  width: 836px;
  margin: 0;
  padding: 78px 0 0 0;
  /*background: url("images/menu_bg.jpg") top left repeat-x;*/
  position: relative;
}

/* header banner used on home */
#page_header_banner {
  height: 215px;
  clear: both;
  margin: 0;
  background: url('/wp-content/uploads/2025/11/header_adj.jpg') top left no-repeat;
  position: relative;
  background-size:cover;
}

#page_header_banner h1,
#page_header_banner h2 {
  color: #FFF;
  text-align: left;
  display: inline-block;
  text-shadow: 1px 1px 3px #000;
  font-weight: lighter;
  line-height: 1.2;
  margin: 0;
  padding: 40px;
  border-bottom: none;
  text-transform: uppercase;
}

#page_header_banner h1 { font-size: 22px; }
#page_header_banner h2 { font-size: 22px; color: #FFF; }

/* home banner inner boxes */
.home_sbox, .sbox { height: 100%; display: flex; align-items: center; }
.home_box, .box {
  margin-left: 20px;
  background: rgba(13, 94, 158, 0.6);
  padding: 12px 16px;
  border-radius: 4px;
}
.home_box h1, .box h1 { color: #fff; margin: 0; font-weight: normal; }

/* top content wrapper shared */
#content_wrapper {
  margin: 0 0 10px 0;
  border: 0;
  clear: both;
}

#content {
  padding-top: 15px;
}

#content img {
   margin: 0 20px 0 0;
   float: left;
}

#content img[align="right"] {
  margin: 0 0 0 20px;
  float:right;
}

#content img[align="left"] {
  margin: 0 20px 0 0;
  float:left;
}

[class*="_box"] img[align="left"] {
	margin:0 10px 0 0;
}
[class*="_box"] img[align="right"] {
	margin:0 0 0 10px;
}

.line {background: url('images/line1.gif') top left repeat-x; height:10px; margin:0px; padding:0px;}

/* ========== Main nav (#menu_bar -> #navcontainer -> ul#navlist) ========== */
#navcontainer ul#navlist {
  padding: 6px 0 5px 0;
  margin: 0;
  color: var(--color-nav);
  float: left;
  width: 100%;
  font-size: 14px;
  font-weight: normal;
  border-top: 1px #E8EDF4 solid;
  border-bottom: 1px #E8EDF4 solid;
  background: transparent;
}
#navcontainer ul#navlist li { display: inline; }
#navcontainer ul#navlist li a {
  padding: 0 54px 1px 0;
  color: var(--color-nav);
  text-decoration: none;
  float: left;
  background: url('images/line.gif') center right no-repeat;
}
#navcontainer ul#navlist li a:hover {
  color: var(--color-nav-active);
}
#navcontainer ul#navlist li a span.active {
  color: var(--color-nav-active);
  font-weight: bold;
}

/* ========== Home page 3 columns (#home_content) ========== */
#home_content {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}
#home_content .left_box,
#home_content .middle_box,
#home_content .right_box {
  flex: 1 1 0;
  min-width: 0;
}
#home_content .right_box { max-width: 320px; }

#home_content .wbox { overflow: hidden; }

/* white content boxes used on home */
.wbox, .wbox1 {
  background: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 2px;
}
.blue_box {
  background: #5C6E6D;
  color: #fff;
  padding: 15px;
  border-radius: 2px;
}
.blue_box * {
  color: #fff;
  border-color: #fff;
}
.blue_box h3 { color: #fff; margin-top: 0; }

/* ========== Right column (widgets + contact) ========== */
#right_side {
  width: 300px;
  background: var(--color-right-bg);
  float: none;
  border: 0;
  flex: 0 0 300px;
  max-width: 100%;
  order: 2;
}

#right_content { padding: 10px; background: #fff; border-radius: 2px; }

#contact_box {
  margin-top: 10px;
  width: 100%;
  background: #5C6E6D;
  background-size: cover;
  border-radius: 4px;
  color:#fff;
}
#contact_box * {
  color: #fff;
  border-color: #fff;
}
#contact_box img {
  display:none;
}

.white_text,
.rhead,
.rhead1,
.rhead2,
.number_text {
  color: #FFF;
  text-align: center;
  margin: 0;
  padding: 15px 0 10px;
}
.rhead { font-size: 20px; text-transform: uppercase; padding: 24px 0 6px 0; }
.rhead1 { font-size: 30px; padding: 0 0 20px 0; }

.rhead2 { font-size: inherit; text-align: right; padding: 5px 10px 10px 0; display:flex; justify-content:flex-end; gap:5px;}

.rhead2 img { height:15px; width:15px; }

#contact_box .rhead2 {display:none;}

/* ========== Headings / Text ========== */
#main_content h2, #home_content h2 {
  color: var(--color-heading);
  font-weight: normal;
  margin: 0 0 10px;
  padding: 0 0 4px;
  font-size: 20px!important;
  border-bottom: 1px solid var(--color-accent);
}
:where(#main_content, #inner_content, #right_side, #home_content) h3 {
  color: var(--color-heading);
  font-weight: normal;
  margin: 0 0 10px;
  padding: 0 0 4px;
  border-bottom: 1px solid var(--color-accent);
}

:where(#main_content, #inner_content, #right_side, #home_content) h3 { font-size: 20px!important; }

:where(#main_content, #inner_content, #right_side, #home_content)  h4 {
  font-size: 16px;
  color: var(--color-accent);
  margin: 0 0 3px;
  padding: 0 0 3px;
}

:where(#main_content, #inner_content, #right_side, #home_content) p {
  font-size: 12px;
  line-height: 19px;
  margin: 0;
  padding: 0 0 10px;
}

.head_t { color: var(--color-accent); }
.content { padding: 0 150px 0 0; }



/* ========== Content page layout (#main_content + #right_side) ========== */
 #content_wrapper {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.home #content_wrapper {
  padding-top:15px;
}

#main_content { flex: 1 1 auto; min-width: 0; }
#right_side { flex: 0 0 300px; }




/* sub navigation under product banner */
#sub_navcontainer { margin: 10px 0; }
#sub_navcontainer ul#navlist {
  list-style: none;
  padding: 6px 0;
  margin: 0;
  border-top: 1px solid #E8EDF4;
  border-bottom: 1px solid #E8EDF4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
#sub_navcontainer ul#navlist li { display: inline-block; }
#sub_navcontainer ul#navlist li a {
  color: var(--color-nav);
  text-decoration: none;
  padding: 2px 0;
  font-weight: normal;
}
#sub_navcontainer ul#navlist li.current_page_item a {
  color: #0E478F;
  font-weight: bold;
  color: #fff;
}

/* ========== Lists ========== */
.linklist,
.linklist1,
.lilist {
  padding: 0 0 10px 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--color-list-border);
}

.linklist li,
.crs_div {
  margin: 0;
  padding: 5px 0 5px 40px !important;
  font-size: inherit;
  color: var(--color-list);
  border-bottom: 1px solid var(--color-list-border);
  background: url('images/arrow1.gif') center left no-repeat;
  line-height: 18px;
}
.linklist1 li {
  margin: 0;
  padding: 0 0 5px 16px;
  font-size: inherit;
  font-weight: normal;
  background: url('images/arrow2.gif') center left no-repeat;
}
.linklist1 li a { text-decoration: none; }
.linklist1 li a:hover { text-decoration: none; color: #5b5b5b; }

.active,
li.current_page_item a { color: #0E478F; }

.lilist li {
  margin: 0;
  padding: 5px 0 5px 26px;
  line-height: 19px;
  font-size: inherit;
  color: var(--color-list);
  border-bottom: 1px solid var(--color-list-border);
  background: url('images/arrow1.gif') center left no-repeat;
  overflow: hidden;
}
/* extra list used on content page */
.lilist2 {
  padding: 0;
  margin: 0 0 10px 0;
  list-style: none;
  border-top: 1px solid var(--color-list-border);
}
.lilist2 li {
  margin: 0;
  padding: 5px 0 5px 26px;
  line-height: 19px;
  font-size: inherit;
  color: var(--color-list);
  border-bottom: 1px solid var(--color-list-border);
  background: url('images/arrow1.gif') center left no-repeat;
}

/* ========== Generic boxes kept for legacy markup ========== */
.white_box,
.white_box1,
.white_box2,
.white_box3,
.white_box4,
.white_box5 {
  width: 100%;
  height: auto;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: var(--color-main-bg);
  background-image: url('images/white_box.jpg');
}
.white_box_s,
.white_box1_s,
.white_box3_s,
.white_box4_s,
.white_box5_s { padding: 15px; }
.white_box3_s { cursor: pointer; }

.gray_box {
  border-radius: 4px;
  border: 2px solid #a8a8a8;
  padding: 12px;
  background: #fff url("images/gray_img.jpg") bottom right no-repeat;
}
.gray_box1 {
  border-radius: 4px;
  border: 0;
  padding: 6px;
  background: #fff url("images/gray_img1.jpg") bottom right repeat-x;
}

.white_text .phone { padding-bottom: 0; }
.phone { font-size: 24px; color: #FFF; text-align: center; }
.small_t {
  font-size: 12px;
  color: #b00e2f;
  text-align: right;
  float: right;
  padding: 10px 0 0;
}
.rss { float: right; width: 20px; margin: 0; padding: 2px 0 0 0; }

.blue_text { color: var(--color-accent); }

.address {
  padding: 5px 0 0 0;
  margin: 0;
  /*border-top: 1px solid var(--color-list-border);*/
  border-bottom: 1px solid var(--color-list-border);
}

/* thumbnails */
.thumbnail_left,
.thumbnail_right { margin: 0 0 5px; border: 0; }
.thumbnail_left { float: left; margin-right: 10px; }
.thumbnail_right { float: right; margin-left: 10px; max-width:180px; }

/* ========== Footer ========== */
#page_footer {
  height: 35px;
  margin: 0;
  clear: both;
  background: url("images/footer_bg.jpg") top left repeat-x;
}
#page_footer p {
  text-align: center;
  font-size: 12px;
  line-height: 14px;
  color: #FFF;
  margin: 0;
  padding: 10px 0 0 0;
}
#page_footer a,
#page_footer a:link,
#page_footer a:visited,
#page_footer a:active {
  color: var(--color-footer-link);
  text-decoration: none;
}
#page_footer a:hover { color: var(--color-footer-link); text-decoration: underline; }
.home #page_footer { margin-top: 40px !important; }

/* ========== Fonts ========== */
@font-face {
  font-family: "Questrial", "Questrial-Regular";
  src: url("http://dbp.anvayatech.com/wp-content/themes/DBP/font/Questrial-Regular.ttf") format("truetype");
}
.webfont { font: 18pt/30pt "Questrial", "Questrial-Regular"; }

/* ========== RSS widget ========== */
.wp_rss_retriever_list { padding-left: 0; }
.rss_container { height: 200px; overflow: hidden; }
.rss_container > .wprss_ajax { height: 80%; overflow: hidden; }
.wp_rss_retriever_container,
.wp_rss_retriever_metadata,
.wp_rss_retriever_image { display: none !important; }
.wp_rss_retriever_item:after {
  content: "";
  width: 100%;
  border-bottom: 1px solid #505050;
  display: block;
  margin-bottom: 0.8em;
}
.wp_rss_retriever_title {
  font-size: 12px;
  font-weight: normal;
  margin: 0 0 0.8em !important;
  padding: 0;
}
.wp_rss_retriever_list.activated {
	height:170px!important;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  #page_wrapper { width: 100% !important; padding: 0 10px; }

  /* stack main nav */
  #navcontainer ul#navlist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  #navcontainer ul#navlist li a { float: none; padding: 0 12px 0 0; background: none; }

  /* home */
  #home_content { flex-direction: column; }
  #home_content .right_box { max-width: none; }

  /* content page layout */
  /*.page-template-content-product-page*/ #content_wrapper { flex-direction: column; }
  /*.page-template-content-product-page*/ #right_side,
  /*.page-template-content-product-page*/ #main_content { width: 100% !important; flex: 1 1 auto !important; }

  #page_footer p { padding: 15px 20px 0; }

  #page_header_banner {
    height: 40vh;
    min-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .home_box, .box { margin: 0 10px; }
  #page_header_banner h1,
  #page_header_banner h2 {
    width: 100%;
    max-width: 100%;
    border-color: #fff;
    font-size:18px;
  }

  /* content page sub nav */
  #sub_navcontainer ul#navlist { gap: 10px; }
}

@media (max-width: 600px) {
  #navcontainer ul#navlist { flex-direction: column; gap: 0; }
  #navcontainer ul#navlist li a { padding: 6px 0; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* misc helpers */
.white_box1_s p a { display: block; margin-top: 0; }

p > a > img, span > a > img, a > img  { display: inline-block!important; }

.pb_0 { padding-bottom:0!important; }


/* --- Mobile Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Desktop menu */
#menu_bar #navcontainer ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: -50px;
    right: 0;
  }

  #menu_bar {
    padding: 0;
    width:100%;
    max-width: 100%;
  }

  #menu_bar #navcontainer {
    position: relative;
    top: -60px;
  }

  #menu_bar #navcontainer ul {
    display: none;
    flex-direction: column;
    background: var(--color-nav-bg);
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 0;
    max-width:100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  #menu_bar #navcontainer ul.show {
    display: flex;
  }

  #menu_bar #navcontainer ul li {
    width: 100%;
    text-align: center;
    background: none;
  }

  #menu_bar #navcontainer ul li a {
    display: block;
    padding: 12px 0 0 0;
    color: #fff;
    margin: 0;
    font-size: 16px;
    border-bottom: 1px solid #fff;
    background: none;
    transition: background 0.2s, color 0.2s;
  }

  #menu_bar #navcontainer ul li a span {
    background: none !important;
    display: inline-block;
    width: 100%;
    margin-bottom: 12px;
    max-width: 100%;
  }

  .hamburger.active span {
    transform-origin: center;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hamburger span {
    transition: none;
  }
}

iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height:500px;
  border:0;
}
  
  