/* Título do Site */
.site-title a,
.site-title a:visited,
.site-title a:hover {
    color: #4070ae !important;
}
/* Site Description */
.site-description {
    color: #034F3B !important;
}
/* Trocar cor da barra vertical esquerda do widget */
blockquote {
    border-left: 6px solid #034F3B !important;
}

/* QR code no cabeçalho*/
#quantica-header-search {
  display: block;
  width: 100%;
  text-align: center;
  margin: 12px 0 0 0;
  clear: both;
}

#quantica-header-search .asl_w_container {
  display: inline-block;
  max-width: 280px;
  width: 100%;
  transition: max-width 0.3s ease;
}

#quantica-header-search .prosgs-search-button svg,
#quantica-header-search .probox {
  color: #2040AE;
}

@media (max-width: 782px) {
  #quantica-header-search .asl_w_container {
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  #quantica-header-search .asl_w_container {
    max-width: 180px;
  }
}

// Source - https://stackoverflow.com/a/24719409
// Posted by Synexis
// Retrieved 2026-07-02, License - CC BY-SA 3.0

jQuery.ajax({

    url: yourAjaxUrl,

    // 'xhr' option overrides jQuery's default
    // factory for the XMLHttpRequest object.
    // Use either in global settings or individual call as shown here.
    xhr: function() {
        // Get new xhr object using default factory
        var xhr = jQuery.ajaxSettings.xhr();
        // Copy the browser's native setRequestHeader method
        var setRequestHeader = xhr.setRequestHeader;
        // Replace with a wrapper
        xhr.setRequestHeader = function(name, value) {
            // Ignore the X-Requested-With header
            if (name == 'X-Requested-With') return;
            // Otherwise call the native setRequestHeader method
            // Note: setRequestHeader requires its 'this' to be the xhr object,
            // which is what 'this' is here when executed.
            setRequestHeader.call(this, name, value);
        }
        // pass it on to jQuery
        return xhr;
    },

    success: function(data, textStatus, jqXHR) {
        // response from request without X-Requested-With header!
    }

    // etc...

});

/* Retirar o X do AJAX */
 .asl_w .asl_in .proclose {
    display: none !important;
}

.search-form .search-submit, .search-form .close-icon {
    display: none !important;
}
