/*** *** Inteum Widgets ***/
/* 
 * Category List (Transformed to grid with square image tiles via css) 
 */

#categorylist tbody {
    border: 0;
}

span#categorylist td {
  margin: 2rem;
  border: 0;
}

    ul.technology {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      grid-gap: 1rem;
      max-width: 700px;
      margin: 0;
    }

        ul.technology > li {
          background-size: cover;
          padding: 1rem;
          position: relative;
          list-style: none;
        }

        ul.technology li {background-image: url('/wp-content/uploads/placeholder.jpg');}

        ul.technology li.agriculture {background-image: url('/wp-content/uploads/agriculture.jpg');}
        ul.technology li.anml_health {background-image: url('/wp-content/uploads/animal_health.jpg');} 
        ul.technology li.chem_mat {background-image: url('/wp-content/uploads/chemistry_materials.jpg');}
        ul.technology li.energy {background-image: url('/wp-content/uploads/energy.jpg');}
        ul.technology li.engineering {background-image: url('/wp-content/uploads/engineering.jpg');} 
        ul.technology li.hmn_hlth {background-image: url('/wp-content/uploads/human_health.jpg');}
        ul.technology li.research_tools {background-image: url('/wp-content/uploads/research-tools.jpg');} 
        ul.technology li.soft_copy {background-image: url('/wp-content/uploads/software_copyright.jpg');}

        ul.technology > li::before {
          content: "";
          display: block;
          padding-bottom: 100%;
        }

            ul.technology > li a {
                background-color: rgba(105, 105, 110, 0.7);
                border-bottom: 0;
                color: white;
                font-size: 120%;
                left: 50%;
                margin: 10px auto;
                max-width: 100%;
                padding: 10px;
                position: absolute;
                text-align: center;
                top: 50%;
                transform: translate(-50%, -50%);
                width: 100%;
            }
            ul.technology > li a:hover {
                background-color: rgba(0, 0, 0, 0.7);
            }

/*** *** Technology Publisher Search Results ***/
/* 
 * Category List using Digital Pro Post Grid
 */

/* Global use CSS placeholder for classes/categories not specified below */
#SearchList .wp-block-latest-posts__featured-image {
  background-image: url('https://utrf.tennessee.edu/wp-content/uploads/placeholder.jpg');
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Overide by Category */
li.Agriculture div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/agriculture.jpg');}
li.Animal.Health div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/animal_health.jpg'); background-position: center;}
li.Chemistry.Materials div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/chemistry_materials.jpg');}
li.Energy div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/energy.jpg');}
li.Engineering div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/engineering.jpg');}
li.Human.Health div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/human_health.jpg');}
li.Research.Tools div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/research-tools.jpg');}
li.Software.Copyright div.wp-block-latest-posts__featured-image {background-image: url('https://utrf.tennessee.edu/wp-content/uploads/software_copyright.jpg');}


/* Global - Hide Default Placeholder Image */
/*.wp-block-latest-posts__featured-image img {
  position: relative;
  top: -300px;
  overflow: hidden;
}*/


/* Hide Descriptions until we have populated all of them */
body.inteum .wp-block-latest-posts__post-excerpt {
  display: none;
}






/* Technology Template */
.c_tp_description ul li div p{
  margin-bottom: 3px !important;
  line-height: 24px !important;
  text-indent: -7px !important;
}
.c_tp_description ul li div{
  margin-left: 10px !important;
}

