@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

:root {
  --color-definitions-content-highlight: yellow;
  --color-definitions-content-border: #000;
}
[data-theme="blue"],
[data-theme="dark"] {
  --color-definitions-content-highlight: #000;
  --color-definitions-content-border: #fff;
}

i.agov-definition {
  font-style: normal;
}

em i.agov-definition {
  font-style: italic;
}
.definitions-enabled i.agov-definition {
  border-bottom: 1px dotted #000;
  border-bottom: 1px dotted var(--color-definitions-content-border);
}

.definitions-enabled i.agov-definition:hover {
  background-color: yellow;
  background-color: var(--color-definitions-content-highlight);
  color: #000000;
  color: var(--color-text);
}
em i.agov-definition {
  font-style: italic;
}

body .tooltipster-sidetip .tooltipster-box {
  background: #112e51;
  border: 2px solid white;
  border-radius: 6px;
  box-shadow: 5px 5px 2px 0 rgba(0,0,0,0.4);
  margin:10px;
  max-height: 300px;
}

/* width */
body .tooltipster-sidetip ::-webkit-scrollbar {
  width: 10px;
}

/* Track */
body .tooltipster-sidetip ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
body .tooltipster-sidetip ::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
}

body .tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background {
  border-bottom-color: #112e51;
  left: 0;
  top: 3px;
}

body .tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background {
  border-left-color: #112e51;
  left: -3px;
  top: 0;
}

body .tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background {
  border-right-color: #112e51;
  left: 3px;
  top: 0;
}

body .tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
  border-top-color: #112e51;
  left: 0;
  top: -3px;
}

body .tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border {
  border-bottom-color: white;
}

body .tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border {
  border-left-color: white;
}

body .tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border {
  border-right-color: white;
}

body .tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
  border-top-color: white;
}


#sidebar-definitions-toggle {
  display: block;
  margin-left: -10px;
}

@media (max-width: 767px) {
  #sidebar-definitions-toggle {
    display: none;
  }
}

/*@media only screen and (max-height: 575.98px) and (orientation: landscape) {*/
/*  #sidebar-definitions-toggle {*/
/*    display: none;*/
/*  }*/
/*}*/

.definitions-toggle {
  padding: 10px;
  padding-top: 0px;
  text-align: center;
  margin: auto;
  position: relative;
  background-color: #E8E8E8;
  border-radius: 20px;
  box-shadow: 3px 3px 5px #aaaaaa;
  width: 60%;
  max-width: 200px;
}

.definitions-tool {
  margin: 0px;
  padding: 5px;
}

.onoffswitch {
  position: relative; width: 90px; display: inline-block;
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.onoffswitch-label {
  display: block; overflow: hidden; cursor: pointer;
  border: 2px solid #999999; border-radius: 20px;
}

.onoffswitch-label.disabled {
  cursor: auto;
}

.focus .onoffswitch-label {
  outline: 4px solid #009BCD;
}

.onoffswitch-inner {
  display: block; width: 200%; margin-left: -100%;
  transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
  display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
  font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
  box-sizing: border-box;
}
.onoffswitch-inner:before {
  content: "Show";
  padding-right: 30px;
  background-color: #27324B; color: #FFFFFF;
}
.onoffswitch-inner:after {
  content: "Hide";
  padding-right: 10px;
  background-color: #EEEEEE; color: #999999;
  text-align: right;
}
.onoffswitch-switch {
  display: block; width: 18px; margin: 6px;
  background: #FFFFFF;
  position: absolute; top: 0; bottom: 0;
  right: 56px;
  border: 2px solid #999999; border-radius: 20px;
  transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px;
}
