.cq-3dcard {
  /* limit the width of the .cq-3dcard container */
  /*width: 350px;*/
  /* display the contents in a column */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #EFEFEF;
  border-radius: 8px;
  /*margin: 60px 0 0 0;*/
  /* transition for the transform property, updated in the script */
  transition: transform 0.2s ease-out;
  /*transform-style: preserve-3d;*/
  /*transform: perspective(800px);*/
  box-shadow: 0 0 5px -2px hsla(0, 0%, 0%, 0.1);
}
.cq-3dcard.cq-3dcard-shape-square, .cq-3dcard-shape-square .cq-3dcard-image, .cq-3dcard-shape-square .cq-3dcard-content{
  border-radius: 0px;
}
.cq-3dcard.cq-3dcard-shape-rounded, .cq-3dcard-shape-rounded .cq-3dcard-image, .cq-3dcard-shape-rounded .cq-3dcard-content{
  border-radius: 8px;
}
.cq-3dcard.cq-3dcard-shape-round, .cq-3dcard-shape-round .cq-3dcard-image, .cq-3dcard-shape-round .cq-3dcard-content{
  border-radius: 16px;
}

.cq-3dcard .cq-3dcard-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  /* specify negative margin matching half the height of the element */
  margin-top: -50px;
  /* position relative for the pseudo element */
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);

  background-color: #EFEFEF;

}

.cq-3dcard.cq-3dcard-iconsmall .cq-3dcard-avatar {
    width: 48px;
    height: 48px;
    margin-top: -24px;
}
.cq-3dcard.cq-3dcard-iconsmall .cq-3dcard-avatar-border {
    border: 2px solid #FFF;
}

.cq-3dcard.cq-3dcard-iconsmall .cq-3dcard-avatariconcontainer{
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
}
.cq-3dcard.cq-3dcard-iconsmall .cq-3dcard-avataricon {
    font-size: 16px;
    line-height: 48px;
}

.cq-3dcard.cq-3dcard-iconmedium .cq-3dcard-avatar {
    width: 64px;
    height: 64px;
    margin-top: -32px;
}
.cq-3dcard.cq-3dcard-iconmedium .cq-3dcard-avatar-border {
    border: 4px solid #FFF;
}
.cq-3dcard.cq-3dcard-iconmedium .cq-3dcard-avatariconcontainer{
    width: 64px;
    height: 64px;
    text-align: center;
    line-height: 64px;
}
.cq-3dcard.cq-3dcard-iconmedium .cq-3dcard-avataricon {
    font-size: 24px;
    line-height: 64px;
}

.cq-3dcard.cq-3dcard-iconlarge .cq-3dcard-avatar {
    width: 100px;
    height: 100px;
}
.cq-3dcard.cq-3dcard-iconlarge .cq-3dcard-avatar-border {
    border: 6px solid #FFF;
}
.cq-3dcard.cq-3dcard-iconlarge .cq-3dcard-avatariconcontainer{
    width: 100%;
    height: 100px;
    line-height: 100%;
    text-align: center;
}
.cq-3dcard.cq-3dcard-iconlarge .cq-3dcard-avataricon {
    font-size: 32px;
    line-height: 100px;
}


/*.cq-3dcard .cq-3dcard-avatar:before {*/
.cq-3dcard .cq-3dcard-avatar-border {
  /* add a border around the .cq-3dcard-avatar matching the color of the background, faking the clip */
  /*content: "";*/
  border-radius: inherit;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 6px solid #FFF;
  box-shadow: 0 1px hsla(0, 0%, 0%, 0.1);
}
.cq-3dcard .cq-3dcard-avatar img {
  /* stretch the image to cover the size of the wrapping container */
  border-radius: inherit;
  width: 100%;
  height: 100%;
  /* object fit to maintain the aspect ratio and fit the width/height */
  object-fit: cover;
}

.cq-3dcard .cq-3dcard-content {
  position: absolute;
  text-align: center;
  background-color: rgba(0, 0, 0, .7);
  color: #FFF;
  padding: 20px;
  /*margin: 0 2rem 2rem 2rem;*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cq-3dcard .cq-3dcard-content p {
  font-size: .9em;
  margin: 1rem 0 3rem;
  z-index: 5;
}

.cq-3dcard .cq-3dcard-content .cq-3dcard-label {
  font-size: .9em;
}
.cq-3dcard .cq-3dcard-content .cq-3dcard-title {
  color: #FFF;
  margin: 1rem 0 1rem 0;
  font-size: 1.2em;
}


.cq-3dcard .cq-3dcard-social {
    margin: 10px auto 0;
    padding: 0;
    display: table;
}

.cq-3dcard .cq-3dcard-social .cq-3dcard-listitem {
    list-style: none;
    margin: 0 5px;
    float: left;
}

.cq-3dcard-social .cq-3dcard-itemlink {
    display: block;
    background: #222F46;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transform: .5s;
}

.cq-3dcard-social .cq-3dcard-itemlink:hover {
    background: #ff3636;
}


.cq-3dcard-itemwhite .cq-3dcard-itemlink {
    background-color: #FFF;
}
.cq-3dcard-itemgrapefruit .cq-3dcard-itemlink {
    background-color: rgb(207, 45, 66);
}

.cq-3dcard-itembittersweet .cq-3dcard-itemlink {
    background-color: rgb(225, 64, 49);
}

.cq-3dcard-itemsunflower .cq-3dcard-itemlink {
    background-color: rgb(243, 174, 52);
}

.cq-3dcard-itemgrass .cq-3dcard-itemlink {
    background-color: rgb(140, 193, 82);
}

.cq-3dcard-itemmint .cq-3dcard-itemlink {
    background-color: rgb(49, 177, 137);
}

.cq-3dcard-itemaqua .cq-3dcard-itemlink {
    background-color: rgb(50, 159, 209);
}

.cq-3dcard-itemlavender .cq-3dcard-itemlink {
    background-color: rgb(131, 97, 211);
}

.cq-3dcard-itembluejeans .cq-3dcard-itemlink {
    background-color: rgb(59, 115, 211);
}

.cq-3dcard-itempinkrose .cq-3dcard-itemlink {
    background-color: rgb(203, 86, 157);
}

.cq-3dcard-itemlightgray .cq-3dcard-itemlink {
    color: #333;
    background-color: rgb(224, 227, 233);
}

.cq-3dcard-itemlightgray .cq-3dcard-title, .cq-3dcard-lightgray .cq-3dcard-itemlink {
    color: #333;
}

.cq-3dcard-itemmediumgray .cq-3dcard-itemlink {
    background-color: rgb(154, 162, 176);
}

.cq-3dcard-itemdarkgray .cq-3dcard-itemlink {
    color: #FFF;
    background-color: rgb(51, 57, 67);
}

