/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

#masthead {
    position: sticky;
    top: 0;
    z-index: 9999;
    /* Uncomment when ads are implemented */
	/*transition: all 0.3s ease;*/
}

/* Uncomment when ads are implemented */
/* #masthead.shrink {
	transform: translateY(-120px); 
} */

/* Hide both checkbox and label of first checkbox in contact form*/
.contactFormFirstCheck .uagb-forms-checkbox,
.contactFormFirstCheck .uagb-forms-accept-label {
    display: none !important;
}

.contactFormScndCheck{
	margin-top: -32px;
}

.uagb-forms-accept-label{
	font-size: 18px;
}

/*Syntax highlighting*/
/* Keywords, literals, names, symbols */
.hljs-keyword,
.hljs-literal,
.hljs-name,
.hljs-symbol {
  color: #569cd6;
}

/* Links */
.hljs-link {
  color: #569cd6;
  text-decoration: underline;
}

/* Built-in objects and types */
.hljs-built_in,
.hljs-type {
  color: #4ec9b0;
}

/* Classes and numbers */
.hljs-class,
.hljs-number {
  color: #b8d7a3;
}

/* Strings */
.hljs-meta .hljs-string,
.hljs-string {
  color: #d69d85;
}

/* Regular expressions and template tags */
.hljs-regexp,
.hljs-template-tag {
  color: #9a5334;
}

/* Functions, parameters, formulas, titles, substitutions */
.hljs-formula,
.hljs-function,
.hljs-params,
.hljs-subst,
.hljs-title {
  color: #dcdcdc;
}

/* Comments and quotes */
.hljs-comment,
.hljs-quote {
  color: #57a64a;
}

/* Documentation tags */
.hljs-doctag {
  color: #608b4e;
}

/* Meta elements, meta keywords, and tags */
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-tag {
  color: #9b9b9b;
}

/* Template variables and general variables */
.hljs-template-variable,
.hljs-variable {
  color: #bd63c5;
}

/* Attributes */
.hljs-attr,
.hljs-attribute {
  color: #9cdcfe;
}

/* Sections */
.hljs-section {
  color: gold;
}

/* Emphasis and strong */
.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 700;
}

/* Selectors and bullets */
.hljs-bullet,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id,
.hljs-selector-pseudo,
.hljs-selector-tag {
  color: #d7ba7d;
}

/* Additions (e.g., git diffs) */
.hljs-addition {
  background-color: #144212;
  display: inline-block;
  width: 100%;
}

/* Deletions (e.g., git diffs) */
.hljs-deletion {
  background-color: #600;
  display: inline-block;
  width: 100%;
}

pre.code {
  background:#0f172a;
  padding:20px;
  font-family: monospace;
  overflow-x:auto;
  /*white-space: pre-wrap;*/
  margin-bottom: 20px;
  font-size: 16px;
}

@media (max-width: 768px) {
  pre.code {
    font-size: 10px; 
  }
}

pre.code code {
  background: #0f172a;
}

/* Hide the search bar in the error 404 page*/
.error-404.not-found .search-form {
  display: none;
}