.tx-card-wrapper {
  border-radius:0;
  background-color: #f0f2f2;
  float: left;
  display: block;
  max-width: 100%;
}

.tx-imagecard-wrapper {
  background-color: #f0f2f2;
}
.tx-textcard-wrapper {
  background-color: #ebeded;
}


.tx-imagecard {
  width: 265px;
  height: 237px;
  max-width:100%;
  margin: auto;
  text-align: center;
  float: none;
}

.tx-textcard {
  width: 520px;
  min-height: 410px;
  max-width:100%;
  padding-left: 38px;
  padding-top: 38px;
  /*max-height:calc(100% - 50px);*/
  /* REFERENCE: https://css-tricks.com/a-couple-of-use-cases-for-calc/*/
}

.tx-card-wrapper .tx-card-img {
  max-width:100%;
  height:auto;
}

.tx-card-wrapper {
  margin-bottom:10px;
  border:0;
  margin-left: auto;
  margin-right: auto;
  display: block;
  float: none;
  width: 520px;
  max-width:100%;
}

.card-title {
  font-family: Baloo Bhaina;
  font-size: 30px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #00376e;
}

.card-text {
  font-family: Barlow;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #63656a;
}



/* Business Card */
.tx-businescard-wrapper {
  width: 519px;
  /*min-height: 254px;*/

  height: calc(50vw * 0.08 + 178px);
  padding-top: 22px;
  padding-right: 28px;
  padding-left: 8.5%;
  background-color: #ffffff;
  max-width:100%;
  overflow:hidden;
}

.tx-businescard-wrapper:hover {
  box-shadow: 6px 6px 6px 0 rgba(0, 0, 0, 0.16);
  cursor:pointer;

}

.tx-businescard-wrapper:hover a {
  text-decoration:none;
}

.tx-businescard-wrapper .tx-businesscard {
  padding:0px;
}

.businesscard-title {
  margin: 0 0 18px 0;
  font-family: Barlow;
  font-size: 32px;
  line-height: 0.88;
  letter-spacing: -0.48px;
  text-align: left;
  color: #00376e;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
}

.businesscard-imagewrapper {
  width: 140px;
  height: 140px;
  float:left;
  max-width:37%;
  margin-right:4%;
}

.businesscard-text p, .businesscard-text span {

  margin-top:34px;
  margin-right:0px;

  margin-left:31px;
  font-family: Barlow;
  font-size: 22px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.17;
  letter-spacing: -0.36px;
  text-align: left;
  color: #00376e;
}

.businesscard-label {

  font-family: Proxima Nova;
  font-size: 18px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;

  letter-spacing: -0.27px;
  text-align: left;
  color: #0091b2;

  position:absolute;
  right: 28px;
  bottom: 13px;
}




/* BACKGROUND COLORS */
.tx-bg-color-light-blue {
  background-color: #0091b2;
}
.tx-bg-color-grey {
  background-color: #ebeded;

}
.tx-bg-color-white {
  background-color: #ffffff;
}
.tx-bg-color-coolgrey {
  background-color: #f0f2f2;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .tx-imagecard {

  }

  .tx-textcard {

  }

  .card-title {
    font-size: 21px;
    line-height: 1.1;
}

}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .tx-imagecard {
    height: 144px;
  }

  .tx-textcard {

  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .tx-imagecard {
    height: 160px;
  }

  .tx-textcard {

  }

  .tx-businescard-wrapper {
    height: calc(50vw * 0.08 + 120px);
  }
}



/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .tx-imagecard {
    height: 180px;
  }

  .tx-textcard {

  }

  .tx-businescard-wrapper {
    height: calc(50vw * 0.08 + 144px);
  }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .tx-imagecard {
    height: 160px;
  }

  .tx-textcard {

  }
}


/* Extra xl devices (1920 and up) */
@media (min-width: 1600px) {
  .tx-imagecard {
    width: 265px;
    height: 237px;
  }

  .tx-textcard {

  }
}

@media (max-width: 1599.98px) {
  .tx-businescard-wrapper .businesscard-title {
    font-size:22px;
  }

  .businesscard-text p, .businesscard-text span {
    font-size: 16px;
    margin-top:0px;
  }
}


@media (max-width: 1199.98px) {

    .businesscard-label {
      font-size: 9px;
      right: 14.8px;
      bottom: 7.3px;
    }

    .tx-businescard-wrapper {
      padding-top:9px;
      padding-left:15px;
      padding-bottom:15px;
      padding-right:5px;
    }


}

@media (max-width: 991.98px) {
  .tx-imagecard {
    width:162px;
    height:145px;
  }

}


@media (max-width: 575.98px) {
  .tx-imagecard-wrapper {
      margin-bottom: 10px;
      border: 0;
      width: calc(100% + 20px);
      max-width: calc(100% + 20px);
      margin-left: -10px;
      margin-right: -10px;
  }

  .tx-textcard {
    padding:40px;
    max-width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    min-height:auto;
  }

  .tx-textcard-wrapper {
    max-width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;

  }

  .card-text {
    line-height:17px;
  }

  .tx-businescard-wrapper {
    height:168px;
  }
  .businesscard-imagewrapper {
    height:auto;
    margin-right:10px;
    max-width:30%
  }

}
