/* Tiles *************************************************

    Tile Asset : Listing like assets in 'XRC' 
    Tile Details : Tiles showing detailed description ( Landing Tiles )
    Tile Photo : Photo centric tiles, with no description
    
    TileProfile : profile's of persons


    Icon - small icons in grid ( like 3D Web applications )
     // TileList - WR asset lists
    ImgTile - Lab page : 2 column photos


    Sizes and breaking points
    .Tile
    [29%]-6.5%-[29%]-6.5%-[29%]

    .Tile.Wide
    [31%]-3.5%-[31%]-3.5%-[31%]

    .Tile.Narrow
    [26%]-11%-[26%]-11%-[26%]
*/

/* Tile Profile - not inherited from Tile */
.TileProfile {
  margin: 4rem calc(16.6% - 12rem);
  float: left;
  width: 24rem;
}
.TileProfile a:hover {
  text-decoration: none !important;
}
.TileProfile .Photo {
  width: 20rem;
  height: 20rem;
  border-radius: 10rem;
  background-size: cover;
  margin: auto;
}
.TileProfile .Name {
  margin-top: 0.8rem;
  width: 100%;
  text-align: center;
  font-weight: bold;
  text-decoration: none !important;
}
.TileProfile .Name:hover {
  text-decoration: none !important;
}
.TileProfile .Position {
  width: 100%;
  text-align: center;
}
.TileProfile .Position:hover {
  text-decoration: none;
}
.TileBackground {
  background-color: #2c1933cc;
}
.Tile {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  float: left;
  width: 29%;
  margin-bottom: 13rem;
  margin-right: 6.5%;
  background-color: #2c1933cc;
}
.Tile.Wide {
  width: 31%;
  margin-right: 3.5%;
}
.Tile.Narrow {
  width: 26%;
  margin-right: 11%;
}
.Tile.Photo {
  margin-bottom: 2%;
}

.TileNum3,
.TileNum6,
.TileNum9 {
  margin-right: 0%;
}
.TileNum3.Wide,
.TileNum6.Wide,
.TileNum9.Wide {
  margin-right: 0%;
}
.TileNum3.Narrow,
.TileNum6.Narrow,
.TileNum9.Narrow {
  margin-right: 0%;
}

.Tile.Top::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3C!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3E%3Cpath fill='white' d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 100%;
  background-color: black;
  background-size: 80%;
  background-position: center;
}

.Tile img.Image {
  display: block;
  margin: 0px;
  width: 100%;
  opacity: 0.8;
  transition: opacity 1s;
}
.Tile div.Image {
  display: block;
  margin: 0px;
  width: 100%;
  height: 20rem;
  opacity: 0.7;
  transition: opacity 1s;
  background-position: center;
  background-size: cover;
}
.Tile:hover .Image {
  opacity: 1;
}

.Tile .Info {
  padding: 3rem 4rem 4rem;
  width: calc(100% - 8rem);
  height: auto;
  /*position: relative;
      margin-top:-50px;
      background-color: rgb(39 39 39 / 80%);
      border-radius: 0px 0px 25px 25px;*/
}
.Tile.Photo .Info {
  padding: 2rem 2rem 2rem;
  width: calc(100% - 4rem);
}
.Tile.Asset .Info {
  padding: 0.7rem 1.5rem 0.4rem;
  width: calc(100% - 3rem);
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: #000000cc;
}

.Tile .Info .Date {
  color: #aaaaaa;
  padding: 0px;
  font-size: 1.6rem;
}
.Tile .Info .Subtitle {
  color: #999999;
  padding: 0px;
  font-size: 1.8rem;
}
.Tile .Info .Title {
  margin: 0px;
  margin-bottom: 0px;
  padding: 0px;
  color: #eeeeee;
  font-size: 2.2rem;
  letter-spacing: 0.1rem;
  text-align: left;
  text-transform: uppercase;
  font-weight: 300;
}
.Tile.Photo .Info .Title {
  margin-bottom: 0px;
}
.Tile .Info .Desc {
  color: #cccccc;
  margin-top: 2rem;
}
.Tile .Info .LearnMore {
  margin-top: 3rem;
  color: #ffffff;
  background-color: #442f50;
  padding: 1rem 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  width: max-content;
  cursor: pointer;
  letter-spacing: 0.2rem;
  transition: background 1s;
}
.Tile:hover .Info .LearnMore {
  background-color: #5f4170;
}
.Tile .Info .LearnMore.Inactive {
  background-color: #322d34;
  cursor: default;
}
.Tile:hover .Info .LearnMore.Inactive {
  background-color: #322d34;
}

/* tile overlay  */
.Tile .Overlay {
  opacity: 0;
  background-color: black;
  pointer-events: none;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  transition: opacity 0.2s;
  overflow-y: auto;
}

.Tile:hover .Overlay {
  opacity: 1;
  pointer-events: initial;
}

.Tile .Overlay ul {
  color: #ddd;
  font-size: 2rem;
  margin: 0;
  margin: 0;
  padding: 1em;
  text-align: start;
}
.Tile .Overlay ul ul {
  padding: 0 1em;
}

.Tile .Overlay ul div {
  margin-top: 1rem;
}
.Tile .Overlay ul ul {
  /* margin-bottom: 1rem; */
}

.Tile .Overlay button,
.Tile .Overlay a {
  border: 1px solid #999999;
  background-color: rgb(133 133 133 / 52%);
  border-radius: 2em;
  padding: 0.5em 1em;
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
  width: fit-content;
  color: #ddd;
  cursor: pointer;
}

/* full screen overlay */

/* Icons **************************************************/
.Icons {
  width: 100%;
  margin: auto;
  margin-top: 8rem;
}
.Icon {
  width: 33%;
  float: left;
  margin-bottom: 6rem;
}
.Icon .Title {
  margin-top: 2rem;
  width: 100%;
  font-size: 2.2rem;
  text-align: center;
}
.Icon img {
  width: 37%;
  margin: auto;
  margin-top: 2.5rem;
  display: block;
}

/* TwoColumns **************************************************/
.TwoColumns {
  width: 90%;
  margin: auto;
  margin-top: 6rem;
}
.TwoColumns .Column {
  width: 50%;
  float: left;
}
.TwoColumns .Desc {
  margin: auto;
  margin-top: 1.3rem;
  font-size: 1.6rem;
  color: #bbbbbb;
  line-height: 2.1rem;
  text-align: center;
  width: 80%;
  max-width: 23rem;
  margin-bottom: 4rem;
}

/* ImageTiles *******************************************************/
.ImgTile {
  width: calc(50% - 2rem);
  padding: 0px;
  margin: 1rem;
  display: block;
  float: left;
  opacity: 0.8;
}

/* 1550px */
@media screen and (max-width: 96.875em) {
  .Tile.Asset .Info {
    padding: 1.5rem 2rem 1rem;
    width: calc(100% - 4rem);
  }
}
/* 1400px */
@media screen and (max-width: 87.5em) {
  .Tile .Info .Title {
    font-size: 2.4rem;
    letter-spacing: 0.05rem;
  }
  .Tile .Info .Date {
    font-size: 1.5rem;
  }
}
/* 1300px */
@media screen and (max-width: 81.25em) {
  .Tile {
    width: 30%;
    margin-right: 5%;
  }
  .TileNum3,
  .TileNum6,
  .TileNum9 {
    margin-right: 0%;
  }
  .Tile.Wide {
    width: 49%;
    margin-right: 2%;
  }
  .TileNum1.Wide,
  .TileNum3.Wide,
  .TileNum5.Wide,
  .TileNum7.Wide,
  .TileNum9.Wide {
    margin-right: 2%;
  }
  .TileNum2.Wide,
  .TileNum4.Wide,
  .TileNum6.Wide,
  .TileNum8.Wide,
  .TileNum10.Wide {
    margin-right: 0%;
  }

  .Tile .Info .Title {
    font-size: 2.6rem;
    letter-spacing: 0.1rem;
  }
  .Tile .Info .Date {
    font-size: 1.6rem;
  }
  .Tile.Asset .Info .Title {
    font-size: 2.3rem;
    letter-spacing: 0.05rem;
  }
}

/*
      JUMP TO TWO
  */

/* 1200px */
@media screen and (max-width: 75em) {
  .Tile {
    width: 45%;
  }
  .Tile.Wide {
    width: 45%;
  }
  .Tile.Narrow {
    width: 45%;
  }
  .TileNum1,
  .TileNum3,
  .TileNum5,
  .TileNum7,
  .TileNum9 {
    margin-right: 10% !important;
  }

  .TileNum2,
  .TileNum4,
  .TileNum6,
  .TileNum8,
  .TileNum10 {
    margin-right: 0% !important;
  }

  .Icon .Title {
    font-size: 2rem;
  }
  .Icon img {
    width: 45%;
  }
  .Tile.Asset .Info .Title {
    font-size: 2.6rem;
    letter-spacing: 0.1rem;
  }
}

/* 900px */
@media screen and (max-width: 56.25em) {
  /* Jump to two */
  .TileProfile {
    margin: 2rem calc(25% - 12rem);
  }
  .Tile {
    width: 47.5%;
    margin-bottom: 10rem;
  }
  #tile1,
  #tile3,
  #tile5,
  #tile7,
  #tile9 {
    margin-right: 5%;
  }
  .TileNum1,
  .TileNum3,
  .TileNum5,
  .TileNum7,
  .TileNum9 {
    margin-right: 5%;
  }

  .Tile.Wide {
    width: 100%;
    margin-right: 0%;
  }
  .TileNum1.Wide,
  .TileNum3.Wide,
  .TileNum5.Wide,
  .TileNum7.Wide,
  .TileNum9.Wide {
    margin-right: 0%;
  }
  .TileNum2.Wide,
  .TileNum4.Wide,
  .TileNum6.Wide,
  .TileNum8.Wide,
  .TileNum10.Wide {
    margin-right: 0%;
  }

  .ImgTile {
    width: 100%;
    margin: 1rem 0px;
  }
  .Tile .Info {
    padding: 3rem 3rem 4rem;
    width: calc(100% - 6rem);
  }
  .Tile.Asset .Info .Title {
    font-size: 2.4rem;
    letter-spacing: 0.05rem;
  }
  .Icon {
    width: 50%;
    float: left;
    margin-bottom: 6rem;
  }
  .Icon .Title {
    font-size: 2rem;
    margin-top: 1rem;
  }
  .Icon img {
    width: 40%;
  }
}

/*
      JUMP TO ONE
  */
/* 768px */
@media screen and (max-width: 48em) {
  .Tile {
    width: 100%;
    margin-right: 0%;
    margin-left: 0%;
    margin-bottom: 4rem;
  }
  .Tile.Wide {
    width: 100%;
    margin-right: 0%;
    margin-left: 0%;
    margin-bottom: 4rem;
  }
  .Tile.Narrow {
    width: 100%;
    margin-right: 0%;
    margin-left: 0%;
    margin-bottom: 4rem;
  }
  #tile1,
  #tile3,
  #tile5,
  #tile7,
  #tile9 {
    margin-right: 0%;
  }
  .TileNum1,
  .TileNum3,
  .TileNum5,
  .TileNum7,
  .TileNum9 {
    margin-right: 0%;
  }

  .Tile-Caption-Title {
    padding: 1.6rem 0.5rem 0px;
    font-size: 1.6rem;
  }
  .Tile .Info {
    padding: 3rem 5rem 4rem;
    width: calc(100% - 10rem);
  }
  .Tile.Asset .Info .Title {
    font-size: 2.6rem;
    letter-spacing: 0.1rem;
  }
  .TwoColumns .Column {
    width: 100%;
  }

  .Icon {
    width: 100%;
    float: left;
    margin-bottom: 6rem;
  }
  .Icon img {
    width: 35%;
  }
}
/* 600px */
@media screen and (max-width: 40em) {
  /* Jump to one */
  .TileProfile {
    margin: 2rem calc(50% - 12rem);
  }
}
/* 600px */
@media screen and (max-width: 37.5em) {
  .Tile .Info {
    padding: 3rem 4rem 4rem;
    width: calc(100% - 8rem);
  }
  .Icon img {
    width: 40%;
  }
}
/* 480px */
@media screen and (max-width: 30em) {
  .Tile .Info {
    padding: 3rem 2rem 4rem;
    width: calc(100% - 4rem);
  }
  .Icon img {
    width: 55%;
  }
  .Icon .Title {
    margin-top: 2rem !important;
  }
  .Tile.Asset .Info .Title {
    font-size: 2.4rem;
    letter-spacing: 0.05rem;
  }
}

/*************************************************************************************
      TILE LIST
  **************************************************************************************/
.Block-TileList {
  margin: 0px 0px;
  width: 100%;
  padding: 0px 0px 10rem 0px;
}
.Block-TileList:after {
  content: "";
  display: table;
  clear: both;
}
.TileList {
  overflow: hidden;
  position: relative;
  float: left;
  width: calc(33% - 16%);
  margin: 0px 8% 8rem 8%;
  opacity: 1;
  transition: opacity 0.2s;
}
.TileList:hover {
  opacity: 0.8;
}

.TileList-Image {
  display: block;
  margin: 0px;
  width: 100%;
  background-color: #222222;
}
.TileList-Caption {
  width: 100%;
  height: 5.5rem;
  position: relative;
  top: -5.5rem;
  background-color: rgba(0, 0, 0, 0.8);
}
.TileList-Caption-Date {
  color: #999999;
  padding: 1rem 1rem 0px;
  font-size: 1.2rem;
}
.TileList-Caption-Date a {
  color: #999999;
  font-size: 1.2rem;
  text-decoration: none;
}
.TileList-Caption-Title {
  color: #dddddd;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
}

/* 1500px */
@media screen and (max-width: 93.75em) {
  .Block-TileList {
    margin: 0px 5%;
    width: 90%;
  }
  .TileList {
    width: calc(33% - 12%);
    margin: 0px 6% 8rem 6%;
  }
}
/* 1260px */
@media screen and (max-width: 78.75em) {
  .Block-TileList {
    margin: 0px 3%;
    width: 94%;
  }
  .TileList {
    width: calc(33% - 8%);
    margin: 0px 4% 8rem 4%;
  }
}
/* 1030px */
@media screen and (max-width: 64.375em) {
  .Block-TileList {
    margin: 0px 5%;
    width: 90%;
  }
  .TileList {
    width: calc(50% - 16%);
    margin: 0px 8% 8rem 8%;
  }
}
/* 900px */
@media screen and (max-width: 56.25em) {
  .Block-TileList {
    padding-bottom: 8rem;
  }
  .TileList {
    width: calc(50% - 8%);
    margin: 0px 4% 8rem 4%;
    margin-bottom: 6rem;
  }
}
/* 600px */
@media screen and (max-width: 37.5em) {
  .Block-TileList {
    padding-bottom: 6rem;
  }
  .TileList {
    width: calc(100% - 16%);
    margin: 0px 8% 8rem 8%;
    margin-bottom: 4rem;
  }
}
/* 430px */
@media screen and (max-width: 26.875em) {
  .Block-TileList {
    padding-bottom: 4rem;
  }
  .TileList {
    width: calc(100% - 8%);
    margin: 0px 4% 8rem 4%;
    margin-bottom: 2rem;
  }
}
