/* v3-skin: auto-loaded by DNN alongside v3-skin.ascx.
   Same resets as v3_Bare.css, plus:
     - an offset so content clears the fixed hc-header-3 nav
     - footer pane styles copied from the Responsive CSS (which this skin does not load) */

html, body {
  margin: 0;
  padding: 0;
}

body {
  -webkit-text-size-adjust: 100%;
}

#Form {
  margin: 0;
}

.v3-skin-content .DnnModule,
.v3-skin-content .DNNModuleContent {
  display: block;
  margin: 0;
  padding: 0;
}

/* hc-header-3.inc makes the header position:fixed. Switch it to sticky so it takes up
   its real height in the page flow: content starts right under it at every breakpoint,
   with no hard-coded offset. (body #id beats the header's own #id rule.) */
body #holtNavWrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.v3-skin-content {
  display: block;
  margin: 0;
  padding: 0;
}

/* Legacy page CSS (pasted into a CSS-only HTML module) sets
   .DNNModuleContent.ModDNNHTMLC { margin: -12px -20px -10px -20px !important; }
   which pushes content 20px past the right edge. Cancel it (higher specificity wins). */
.v3-skin-content .DNNModuleContent.ModDNNHTMLC {
  margin: 0 !important;
}

/* Page HTML often starts with a top margin to clear the old fixed header
   (e.g. .vlgm-page { margin-top: 71px }). Drop it on the first content block, whether it is
   in the first module or in the module after a leading CSS-only module. */
.v3-skin-content > .DnnModule:first-child .Normal > div:first-of-type,
.v3-skin-content > .DnnModule:first-child .Normal > section:first-of-type,
.v3-skin-content > .DnnModule:first-child:not(:has(.Normal > :not(style):not(script):not(br))) + .DnnModule .Normal > div:first-of-type,
.v3-skin-content > .DnnModule:first-child:not(:has(.Normal > :not(style):not(script):not(br))) + .DnnModule .Normal > section:first-of-type {
  margin-top: 0 !important;
}

.v3-skin-content *,
.v3-skin-content *::before,
.v3-skin-content *::after {
  box-sizing: border-box;
}

.v3-skin-content img {
  max-width: 100%;
  height: auto;
}

/* Footer pane: full width, outside the content pane.
   Mirrors .footer2 in responsive-core.css / responsive-large.css.
   DNN renders the pane id as "dnn_FooterPane", so target the class. */
.v3-skin-footer {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  background-color: #333333;
  border-top: 3px solid #FFCC33;
  color: #cccccc;
  line-height: 1.1em;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Contain floated .left/.right columns from the footer module */
.v3-skin-footer::after {
  content: "";
  display: table;
  clear: both;
}

.v3-skin-footer p {
  color: #cccccc;
  font-size: 11px;
}

.v3-skin-footer a {
  color: #FFCC00;
  text-decoration: none;
}

.v3-skin-footer a:hover {
  text-decoration: underline;
}

.v3-skin-footer .left {
  float: left;
}

.v3-skin-footer .right {
  float: right;
}

.v3-skin-footer div.half,
.v3-skin-footer table.half {
  width: 50%;
  box-sizing: border-box;
}

/* Phone: mirrors responsive-small.css (extra bottom padding, stacked social row) */
@media (max-width: 675px) {
  .v3-skin-footer {
    padding: 20px 20px 60px 20px;
  }

  .v3-skin-footer div.half {
    width: 100%;
  }

  .v3-skin-footer div.footer-social div.half.right {
    text-align: center !important;
  }

  .v3-skin-footer div.footer-social div.half.left {
    text-align: center !important;
    padding-top: 15px;
  }
}
