/*
 * Theme Name: WSCOE Bravo Theme Child
 * Theme URI: https://www.engr.colostate.edu/operations/web/
 * Author: WSCOE DATI team, Russell Dickerson lead developer 
 * Author URI: https://www.engr.colostate.edu/operations/web/
 * Description: This theme is for units within the Walter Scott, Jr. College of Engineering, and is CSU-branded. The theme features additional widget areas for the upper footer, home page, subhead logo bar, and right side of header.
 * Version: 1.0
 * Template: wscoe-bravo
 * Tags:
 */


 /* image and table fixes ahead of Bravo changes russ 0221 */
img {
  max-width: 100%;
  height: auto;
}
table {
   width: 100%;
   border-collapse: collapse;
}

 /* header fixes ahead of Bravo changes russ 0221 */
.secondmenusubpageheader ul {
    margin: 0 !important; 
}
.secondmenusubpageheader {
    align-items: center;
}

 /* wp recent posts carousel plugin russ 0221 */
.wppsac-post-slider h2.wppsac-post-title, .wppsac-post-carousel h2.wppsac-post-title {
    margin: 5px 0 !important;
    line-height: .5em;
}
.wppsac-post-slider h2.wppsac-post-title a, .wppsac-post-carousel h2.wppsac-post-title a {
    font-size: .5em;
    line-height: .5em;
}
.wppsac-post-carousel.design-1 .wppsac-post-image-bg {
	margin-bottom: 0;
}


 table {
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: left;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* fixes weird publications table problem */
.pubhead td:first-child, .pubhead td:last-child {
	width: 10%;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  background-color: #f7f7f7;
}

/* @media screen and (max-width: 700px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
  	padding: .5em;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: left;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
 /*   content: attr(data-label);
    float: left;
    font-weight: bold;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
} */
/* NEW BRAVO Mega Menu plugin adaptation 0221 */
@media (max-width:800px) {
  #secondmenusubhead {
      display: unset !important;
      position: absolute;
      top: 10px;
      right: 0;
      background: none;
      border-bottom: none !important;
  }
}
/* testing for mobile footer text too small issues */
.footerbanner {
    font-size: 1em !important;
}
@media (max-width: 800px) {
	.UpperFooterWidgetArea {
	    flex: 1 1 50% !important;
	}
}

/* header widget area fix for give button - russ 0222 */
#headwidget {
    flex-basis: 30vw !important;
}