/* SEIZOCAREER v2.3.14 - TOC toggle alignment fix */

/* Outer toggle wrapper must not look like a button */
body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle,
body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  text-decoration:none !important;
}

/* The single visible toggle button */
body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle > .ez-toc-btn,
body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle > button.ez-toc-btn,
body.single #ez-toc-container .ez-toc-title-toggle > .ez-toc-btn,
body.single .ez-toc-container .ez-toc-title-toggle > .ez-toc-btn{
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  min-height:34px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #C9D7E1 !important;
  border-radius:8px !important;
  outline:0 !important;
  background:#fff !important;
  color:#2E6F95 !important;
  box-shadow:none !important;
  line-height:1 !important;
  vertical-align:middle !important;
  transform:none !important;
}

/* Remove all extra focus/active halos from wrapper and button */
body.single #ez-toc-container .ez-toc-title-toggle a:focus,
body.single .ez-toc-container .ez-toc-title-toggle a:focus-visible,
body.single #ez-toc-container .ez-toc-title-toggle button:focus,
body.single .ez-toc-container .ez-toc-title-toggle button:focus-visible,
body.single #ez-toc-container .ez-toc-title-toggle .ez-toc-btn:focus,
body.single .ez-toc-container .ez-toc-title-toggle .ez-toc-btn:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}

/* Keep the glyph itself perfectly centered and box-free */
body.single #ez-toc-container .ez-toc-title-toggle .ez-toc-glyphicon,
body.single .ez-toc-container .ez-toc-title-toggle .ez-toc-glyphicon{
  position:relative !important;
  inset:auto !important;
  display:block !important;
  flex:0 0 16px !important;
  width:16px !important;
  min-width:16px !important;
  height:16px !important;
  min-height:16px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
  line-height:16px !important;
}

/* If the plugin uses pseudo-elements for extra boxes, neutralize them */
body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle::before,
body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle::after,
body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle::before,
body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle::after{
  content:none !important;
  display:none !important;
}

/* Stable title-row alignment */
body.single #ez-toc-container .ez-toc-title-container,
body.single .ez-toc-container .ez-toc-title-container{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

body.single #ez-toc-container .ez-toc-title-toggle,
body.single .ez-toc-container .ez-toc-title-toggle{
  align-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
}

@media(max-width:760px){
  body.single #ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle > .ez-toc-btn,
  body.single .ez-toc-container .ez-toc-title-toggle > a.ez-toc-toggle > .ez-toc-btn,
  body.single #ez-toc-container .ez-toc-title-toggle > .ez-toc-btn,
  body.single .ez-toc-container .ez-toc-title-toggle > .ez-toc-btn{
    width:32px !important;
    min-width:32px !important;
    height:32px !important;
    min-height:32px !important;
  }
}
