/*
Theme Name: Boost
Theme URI: http://webperformanceinc.com/
Description: Theme for Web Performance Center Blog - Modernized 2025
Version: 2.0
Author: DesignHammer / Web Performance
Author URI: http://www.designhammer.com/

*/

/* GENERAL */

#dhContent {
  padding-left: 255px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}

#dhSubNav {
  display: block;
}

/* LANGUAGE */

.language-select {
  color: #424242;
  background: url(/images/common/icon-globe.png) no-repeat 1px 50%;
  background-size: 10px 10px;
  font-size: 12px;
  margin-bottom: 20px;
  padding-left: 14px;
}
  .language-select ul {
    display: inline;
  }
  .language-select li {
    display: inline;
    margin: 0 !important;
    padding: 0;
  }
  .language-select li + li:before {
    content: " · ";
  }

/* WIDGETS
   rudimentary support for WP widgets */

#sidebar {
  font-size: 11px;
  margin-right: -16px;
}
#sidebar ul {
  overflow: auto;
}
#sidebar li {
  margin: 0 1.5em;
}
#sidebar li.widget {
  list-style: none;
  float: left;
  margin: 0;
  margin-right: 16px;
  width: 208px;
}

/* PAGER */

.pager {
  border-top: 1px solid #e0e0e0;
  padding: 1em 0;
  margin: 0;
  list-style: none;
  overflow: hidden;
}
  .pager li {
    display: inline;
  }
  .pager li > a {
    float: left;
    padding: .5em;
    text-decoration: none;
    color: #3498db;
    transition: all 0.3s ease;
  }
  .pager .next > a {
    float: right
  }
  .pager li > a:hover {
    background-color: #f8f9fa;
    color: #2c3e50;
  }
  .pager .title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    margin-right: .125em;
    vertical-align: bottom;
    max-width: 240px;
  }
  .pager .text-muted {
    color: #666;
    display: block;
  }

/* MANUAL NAVIGATION */

#dhSubNav ul {
  margin-bottom: 0;
}
  #dhSubNav li {
    list-style: none;
  }
  #dhSubNav li li {
    margin-left: 2.5em;
  }
  #dhSubNav li.current {
    margin-bottom: 0;
  }
  #dhSubNav li.current > a {
    background-image: none !important;
    font-weight: bold;
    padding: 2px 16px;
  }

#dhSubNav .subpagehierarchy_list {
}
  #dhSubNav .subpagehierarchy_list > li {
    margin-left: 0;
    padding-left: 0;
  }
  #dhSubNav .subpagehierarchy_list > li > a {
    padding: 5px 22px;
  }
  #dhSubNav .subpagehierarchy_list > li.page_item_has_children > a {
    position: relative;
    margin-left: 22px;
    padding-left: 0;
  }
  #dhSubNav .subpagehierarchy_list > li.page_item_has_children .menuToggle {
    background: url(img/arrow-down-b.svg) no-repeat center;
    background-size: 12px;
    content: "";
    position: absolute;
    top: 4px;
    margin-right: .35em;
    margin-left: -22px;
    opacity: .6;
    width: 22px;
    height: 22px;
  }
  #dhSubNav .subpagehierarchy_list > li.page_item_has_children .menuToggle:hover {
    background-color: #e3f2fd;
    opacity: 1;
  }
  #dhSubNav .subpagehierarchy_list > li.page_item_has_children.closed .menuToggle {
    transform: rotate(-90deg);
  }
  #dhSubNav .subpagehierarchy_list > li.page_item_has_children li a {
    padding-left: .5em;
  }
  #dhSubNav .subpagehierarchy_list > li li {
    font-weight: normal;
    list-style: circle;
  }
  #dhSubNav .subpagehierarchy_list > li li li {
    font-weight: normal;
    list-style: disc;
  }
  #dhSubNav .subpagehierarchy_list > li.page_item_has_children.closed li {
    display: none;
  }

/* POSTS BY CATEGORY */

h2.filter {
  color: #666;
  border: none;
  font-weight: 600;
  text-align: center;
  margin: 0 0 24px 0;
  font-size: 18px;
}
h2.filter strong {
  color: #2c3e50;
  font-weight: 700;
}


#posts-by-category h2 {
  color: #666;
  border: none;
  margin-bottom: 0;
}
#posts-by-category h3 {
  border: 0;
  margin-bottom: 10px;
  padding-bottom: 0;
}
#posts-by-category a {
  text-decoration: none;
}
#posts-by-category h3 a {
  color: #2c3e50;
  background: #f8f9fa;
  font-weight: 600;
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
#posts-by-category h3 a:hover {
  background: #e3f2fd;
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#posts-by-category ul {
  margin-bottom: 16px;
}
#posts-by-category li {
  list-style: none;
  margin: 0;
  margin-bottom: 8px;
}
#posts-by-category li a {
  background: url(img/page-icon.png) no-repeat left;
  display: inline-block;
  padding-left: 16px;
  color: #3498db;
  transition: color 0.3s ease;
}
#posts-by-category li a:hover {
  text-decoration: underline;
  color: #2c3e50;
}
#posts-by-category li a:active {
  text-decoration: none;
}


.sidebar-pos {
  position: absolute;
  top: 448px;
  left: 24px;
  width: 208px;
}

.sidebar-content-pad {
  margin: 16px;
}

.rss-link {
  background: #3498db;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.rss-link:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

#tag-cloud {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
#tag-cloud h2 {
  color: #2c3e50;
  border: none;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
#tag-cloud a {
  display: inline-block;
  background: #f8f9fa;
  color: #2c3e50;
  text-decoration: none;
  margin: 0 6px 6px 0;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  font-weight: 500;
}
#tag-cloud a:hover {
  background: #e3f2fd;
  border-color: #3498db;
  color: #3498db;
  transform: translateY(-1px);
}


/* MAIN BLOG LISTING */

#blog-nav {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: auto;
  margin-top: 0;
  margin-bottom: 32px;
  padding: 16px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
#blog-nav h3 {
  color: #2c3e50;
  border: none;
  font-weight: 700;
  font-size: 16px;
  float: left;
  padding-top: 10px;
  padding-right: 12px;
}
#blog-nav ul {
  margin: 0;
}
#blog-nav li {
  list-style: none;
  float: left;
  margin: 0 6px 0 0;
}
li#blog-nav-first {
  margin-left: 0;
}
#blog-nav a {
  color: #2c3e50;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  display: block;
  text-decoration: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}
#blog-nav li.current-cat a {
  background: #e3f2fd;
  border-color: #3498db;
  color: #3498db;
}
#blog-nav a:hover {
  background: #e3f2fd;
  border-color: #3498db;
  color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


ul.meta {
  font-size: 13px;
  overflow: hidden;
  margin: 0;
  margin-top: 8px;
  margin-bottom: 16px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
ul.meta li {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  color: #666;
}
ul.meta li a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}
ul.meta li a:hover {
  color: #2c3e50;
  text-decoration: underline;
}

#dhContent h2 {
  margin-top: 24px;
  margin-bottom: 8px;
}
#dhContent h2 a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 28px;
  font-weight: 700;
  transition: color 0.3s ease;
}
#dhContent h2 a:hover {
  color: #3498db;
}

#dhContent p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
}


#blog-footer-nav {
  margin-bottom: 0;
  padding-bottom: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#blog-footer-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
#blog-footer-nav li#search {
  text-align: center;
  flex: 1;
  max-width: 400px;
}
#blog-footer-nav a {
  background: #3498db;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  outline: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}
#blog-footer-nav a:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}
#blog-footer-nav #previous a {
  padding-left: 24px;
}
#blog-footer-nav #next {
  text-align: right;
  margin-right: 0;
}
#blog-footer-nav #next a {
  padding-right: 24px;
}
#blog-footer-nav #search form {
  display: flex;
  gap: 8px;
  justify-content: center;
}
#blog-footer-nav #search input {
  color: #000;
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  flex: 1;
  max-width: 300px;
  height: auto;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}
#blog-footer-nav #search input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
#blog-footer-nav #search input::-moz-placeholder {
  color: #999;
  opacity: 1;
}
#blog-footer-nav #search input:-ms-input-placeholder {
  color: #999;
}
#blog-footer-nav #search input::-webkit-input-placeholder {
  color: #999;
}
#blog-footer-nav #search button {
  background: #3498db;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
  font-size: 15px;
}
#blog-footer-nav #search button:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}


/* INDIVIDUAL POST */

#comments h2 {
  color: #2c3e50;
  border: none;
  font-size: 28px;
  font-weight: 700;
  padding-top: 24px;
  padding-bottom: 16px;
}
#comments div {
  background: #f8f9fa;
  overflow: auto;
  margin: 0 -16px;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 16px;
}
#comments div:nth-child(2n + 1),
#comments div.alt {
  background: white;
  border: 1px solid #e0e0e0;
}
#comments div p {
  margin-right: 72px;
  margin-left: 184px;
  line-height: 1.6;
  color: #333;
}
#comments p.meta {
  text-align: right;
  float: left;
  margin-right: 0;
  margin-left: 16px;
  width: 152px;
}
#comments p.meta strong {
  display: block;
  color: #2c3e50;
  font-weight: 600;
}
#comments p.meta strong a {
  text-decoration: none;
  color: #3498db;
}


#comments form {
  padding-top: 24px;
}
#comments form table tr {
  vertical-align: top;
}
#comments form table th,
#comments form table td {
  border: none;
  font-size: 15px;
  padding: 0;
  padding-bottom: 16px;
}
#comments form table th {
  text-align: right;
  padding-top: 4px;
  padding-right: 16px;
  width: 152px !important;
  font-weight: 600;
  color: #2c3e50;
}
#comments form table td {
  width: 100%;
}
#comments form input,
#comments form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  transition: all 0.3s ease;
}
#comments form input:focus,
#comments form textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}
#comments form input {
  height: auto;
}
#comments form button {
  background: #3498db;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
  font-size: 15px;
  display: inline-block;
}
#comments form button:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* Captions */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  border: 1px solid #e0e0e0;
  text-align: center;
  background-color: #f8f9fa;
  padding-top: 4px;
  margin: 10px;
  border-radius: 8px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  font-size: 13px;
  line-height: 1.6;
  padding: 0 4px 5px;
  margin: 0;
  color: #666;
}
/* End captions */

#authorsure-author-profile ul li {
  display: inline;
}

/* Print styles */

@media print {
  .customer-nav-tools,
  #dhNavBar,
  #dhSubNav,
  #footerBox > ul,
  #footerBox > .credit,
  .page-label,
  .years-footer {
    display: none;
  }
  #dhContent {
    padding-left: 24px;
    min-height: 0 !important;
  }
  #latest-posts-bubble {
    display: none !important;
  }
}

/* Layout: Mobile */

@media (max-width: 880px) {
  #dhContent {
    padding-left: 24px;
  }

  #dhSubNav,
  .sidebar-pos {
    background: #fff;
    box-sizing: border-box;
    position: static;
    width: 100%;
  }
    .sidebar-content-pad {
      margin: 0;
      padding: 16px;
    }

  #dhSubNav {
    padding: 0 24px 24px;
  }

  #blog-nav {
    padding: 12px;
  }

  #blog-nav h3 {
    float: none;
    display: block;
    padding: 0 0 12px 0;
  }

  #blog-nav li {
    float: none;
    display: block;
    margin: 0 0 8px 0;
  }

  #blog-nav a {
    display: block;
    width: 100%;
    text-align: center;
  }

  #blog-footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  #blog-footer-nav li#search {
    max-width: 100%;
    order: -1;
  }

  #blog-footer-nav #search form {
    flex-direction: column;
  }

  #blog-footer-nav #search input {
    max-width: 100%;
  }

  #comments div p {
    margin-left: 16px;
    margin-right: 16px;
  }

  #comments p.meta {
    float: none;
    width: auto;
    text-align: left;
    margin-bottom: 12px;
  }
}

/* Layout: Mobile Small Screens */

@media (max-width: 768px) {
  #dhContent {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Blog title */
  #dhContent h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  /* Post titles */
  #dhContent h2 a {
    font-size: 22px;
    line-height: 1.3;
  }

  /* Post metadata */
  ul.meta {
    font-size: 12px;
    gap: 12px;
  }

  /* Blog navigation - break out of parent padding */
  #blog-nav {
    padding: 12px;
    margin-bottom: 24px;
    margin-left: -16px;
    margin-right: -16px;
    border-left: none;
    border-right: none;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    width: calc(100% + 32px);
  }

  #blog-nav h3 {
    font-size: 14px;
    padding-bottom: 8px;
  }

  #blog-nav a {
    font-size: 14px;
    padding: 8px 12px;
    box-sizing: border-box;
  }

  /* Tag cloud */
  #tag-cloud {
    padding: 12px;
  }

  #tag-cloud h2 {
    font-size: 16px;
  }

  #tag-cloud a {
    font-size: 13px;
    padding: 5px 10px;
    margin: 0 4px 4px 0;
  }

  /* Footer navigation */
  #blog-footer-nav a {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Sidebar content */
  .sidebar-content-pad {
    padding: 12px;
  }

  /* Post content paragraphs */
  #dhContent p {
    font-size: 15px;
    line-height: 1.6;
  }
}
