/*
Theme Name: OTIDE Child Theme
Template: ua-theme
Description: A child theme of the third generation of the official WordPress theme of the University of Alabama.
Author: Office of Teaching Innovation and Digital Education
Author URI: https://tide.ua.edu/
*/ 

/* Custom Code */

#overview .wp-block-table td:first-of-type strong{
  color: #9e1b32;
}

#UA_PrimaryNav
{
  border-top: 1px solid #eee;
}

#UA_TitleBar
{
  border-bottom: 3px solid #eee;
}

/* removes space between last block and footer */
/* .home .ua_minerva .ua_page > .ua_page_content {
  margin-bottom: 0;
}*/

.hp-card .ua_card {
  height: inherit;
}

.wp-block-image.testing-logos img {
  margin-left: 0;
}

.ua_minerva .wp-block-heading sup,
.ua_minerva .wp-block-post-title sup {
  top: 0;
  font-size: 30px;
  padding: 0.5rem;
}

/*  Use this anchor and class to temporarily hide divs
    This is useful for hiding elements that are not ready for publication or are being revised.
*/
#hide.hide, 
#hidden.hide {
  display: none !important;
}

/*  Adjusts lists indentation generally and within accordions */
ul.wp-block-list:not(ul.wp-block-list ul), ol.wp-block-list {
  padding-left: 2rem !important;
}
/* End */

#speakers .ua_component_wrapper:not(.ua_component_wrapper .ua_card) {
  margin-top: 0;
}

.ua_site-footer_content .ua_layout--grid {
  --grid-item--min-width: 130px !important;
}


/* Accessibility fixes */

/*  Adds the external link icon to link list blocks */
li a.ua_link-list_item[target="_blank"]::after 
{
  font-family: var(--ua_font--icon, "Font Awesome 6 Pro");
  content: "\f08e";
  display: inline-block;
  position: relative;
  top: -0.05em;
  padding: 0 0.2em 0 0.4em;
  font-size: 70%;
}

/*  Removes red border above footer - a change implemented in UA Theme 3.1.5 */
#ua_app.ua_minerva .ua_site-footer 
{
  border-top: none;
}

/* Media Queries */
@media (max-width: 550px) {
  .home h1.wp-block-heading.has-text-align-center 
  {
    font-size: 2.75rem;
  }
}
