/****************************************/
/****************************************/
/** Local Government Professionals Australia NSW (LGPNSW) **/
/*
 * 
 *  Author: CAUSEIS PTY LTD
 * 
 *  Version: 1 -   
 *
 * 
 *  Document contains changes to call-to-action
 *
 *
*/
/****************************************/
/****************************************/

/******** Color Tile CTA ********/
div[id*="tile"] > div:nth-child(1),
div[id*="tile"] > a > div:nth-child(1) {
  padding: 3rem 3rem;
  margin: 0;
  margin-bottom: 1rem;
  border-radius: 1rem;
}

div[id*="tile"] > div:nth-child(1) ol,
div[id*="tile"] > div:nth-child(1) ul {
  margin-bottom: 1rem;
}

div[id*="bluetile"] > div:nth-child(1),
div[id*="bluetile"] > a > div:nth-child(1) {
  background: #00bbd6;
}

div[id*="greentile"] > div:nth-child(1),
div[id*="darkbluetile"] > a > div:nth-child(1) {
  background: #abd037;
}

div[id*="yellowtile"] > div:nth-child(1),
div[id*="yellowtile"] > a > div:nth-child(1) {
  background: #f1ae22;
}

div[id*="navytile"] > div:nth-child(1),
div[id*="lightbluetile"] > a > div:nth-child(1) {
  background: #002842;
}

div[id*="tile"] h4 {
  margin-top: 0;
  font-weight: 500;
  font-size: 2.4rem;
  margin-bottom: 1rem !important;
}

div[id*="yellowtile"] h4,
div[id*="bluetile"] h4,
div[id*="greentile"] h4,
div[id*="navytile"] h4 {
  color: #fff !important;
  letter-spacing: -0.02em;
}

div[id*="yellowtile"] p {
  color: #ffffff;
}

div[id*="navytile"] p {
  color: #fff;
}

div[id*="bluetile"] p {
  color: #ffffff;
}

div[id*="greentile"] p {
  color: #ffffff;
}

div[id*="tile"] p {
  /* font-size: 1.5rem; */
  text-shadow: none;
  margin-bottom: 1rem !important;
}

div[id*="tile"] li {
  /* font-size: 1.5rem; */
  /* font-weight: 500; */
}

div[id*="darkbluetile"] p,
div[id*="darkbluetile"] li {
  /* color: #182232 !important; */
}

div[id*="tile"] > div:nth-child(1) ol li,
div[id*="tile"] > div:nth-child(1) ul li {
  color: white;
}

div[id*="tile"] a.Button {
  margin-top: 2rem !important;
}

div[id*="bluetile"] > div:nth-child(1) a.Button,
div[id*="bluetile"] > div:nth-child(1) a.Button:visited,
div[id*="bluetile"] > div:nth-child(1) a.button,
div[id*="bluetile"] > div:nth-child(1) a.button:visited {
  color: #00bbd6 !important;
  text-decoration: none;
  background: #ffffff !important;
}

div[id*="greentile"] > div:nth-child(1) a.Button,
div[id*="greentile"] > div:nth-child(1) a.Button:hover:visited,
div[id*="greentile"] > div:nth-child(1) a.button,
div[id*="greentile"] > div:nth-child(1) a.button:hover:visited {
  color: #abd037 !important;
  text-decoration: none;
  background: #ffffff !important;
  border: 0px solid transparent;
}

div[id*="yellowtile"] > div:nth-child(1) a.Button,
div[id*="yellowtile"] > div:nth-child(1) a.Button:hover:visited,
div[id*="yellowtile"] > div:nth-child(1) a.button,
div[id*="yellowtile"] > div:nth-child(1) a.button:hover:visited {
  color: #f1ae22 !important;
  text-decoration: none;
  background: #ffffff !important;
  border: 0px solid transparent;
}

div[id*="navytile"] > div:nth-child(1) a.Button,
div[id*="navytile"] > div:nth-child(1) a.Button:visited,
div[id*="navytile"] > div:nth-child(1) a.button,
div[id*="navytile"] > div:nth-child(1) a.button:visited {
  color: #002842 !important;
  text-decoration: none;
  background: #ffffff !important;
  border: 0px solid transparent;
}

div[id*="bluetile"] > div:nth-child(1) a.Button:hover,
div[id*="bluetile"] > div:nth-child(1) a.button:hover {
  border-color: white !important;
  background: transparent !important;
  color: white !important;
  box-shadow: 0px 0px 0 2px #ffffff;
}

div[id*="yellowtile"] > div:nth-child(1) a.Button:hover,
div[id*="yellowtile"] > div:nth-child(1) a.button:hover {
  border: 0px solid white;
  background: transparent !important;
  color: white !important;
  box-shadow: 0px 0px 0 2px #ffffff;
}

div[id*="navytile"] > div:nth-child(1) a.Button:hover,
div[id*="navytile"] > div:nth-child(1) a.button:hover {
  border: 0px solid white;
  background: transparent !important;
  color: white !important;
  box-shadow: 0px 0px 0 2px #ffffff;
}

div[id*="greentile"] > div:nth-child(1) a.Button:hover,
div[id*="greentile"] > div:nth-child(1) a.button:hover {
  border: 0px solid white;
  background: transparent !important;
  color: white !important;
  box-shadow: 0px 0px 0 2px #ffffff;
}

/**************** Standard call-to-action ****************/
.row.call-to-action-row {
  display: flex;
}

.row.call-to-action-row div {
  display: flex;
  width: 100%;
}

.call-to-action > div > div > div {
  display: flex;
  box-shadow: 0.2rem 0.3rem 2rem 0 rgb(0 0 0 / 14%);
  overflow: hidden;
  border-radius: 0rem;
}

.call-to-action > div > div > div {
  flex-direction: column;
  background: #fff;
}

.call-to-action > div > div > div img {
  max-height: 24rem;
  min-height: 24rem;
  width: 100%;
  object-fit: cover;
}

.call-to-action > div > div > div > div:last-of-type {
  align-self: flex-start;
  flex-grow: 1;
  align-items: flex-start;
  padding: 0 4rem 4rem 4rem;
}

.call-to-action > div > div > div:last-of-type a {
  margin-top: auto;
}

.call-to-action > div > div > div h4 {
  font-weight: 600;
  font-size: 1.7rem;
  color: #4cc582;
  letter-spacing: -0.02em;
}

.call-to-action > div > div > div > div {
  flex-direction: column;
  padding: 4rem 4rem 0 4rem;
}

@media (max-width: 767px) {
  .row.call-to-action-row > div {
    display: block;
  }

  .col-primary > div > div > div.row .iMIS-WebPart > div {
    padding-top: 0 !important;
    padding-bottom: 0rem !important;
  }

  .row.call-to-action-row div {
    display: block;
  }

  .row.cta-row > div > div > div > div > div > div:nth-child(1) img {
    max-height: 21rem;
    min-height: 21rem;
  }
}
