/* DISPLAY BOX */
.earnist {
  display: block;
  font-weight: normal;
  border: 1px solid !important;
  border-color: #ccc !important;
  border-radius: 5px;
  box-shadow: none !important;
  width: 100%;
  height: auto;
  min-height: 1px;
  background: none;
  background-color: #fff;
  color: inherit;
  padding: 30px 40px !important;
  margin: 0;
  text-decoration: none !important;
  position: relative;
  box-sizing: border-box;
}

.earnist:hover, .earnist:focus {
  background: transparent !important;
  text-decoration: none !important;
}

.earnist .earnist-row{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.earnist .earnist-image {
  display: block;
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
  text-align: center;
  box-sizing: border-box;
}

.earnist .earnist-image img{
  max-width: 100%;
  height: auto;
  max-height: 200px;
}

.earnist .earnist-product-details {
  display: block;
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
  box-sizing: border-box;
  text-align: left;
}

.earnist .left-image {
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
}

.earnist .earnist-title {
  display: block;
  font-size: 25px;
  line-height: 30px;
  font-weight: bold;
  margin: 0 0 15px 0;
}

.earnist .earnist-title:hover, .earnist .earnist-title:focus {
  color: inherit;
}

.earnist .earnist-price {
  display: block;
  color: #666;
  margin: 0 0 20px 0;
}

.earnist .earnist-amount {
  color: #b12704;
  font-weight: bold;
}

.earnist .earnist-description {
  display: block;
  color: #666;
  margin: 0 0 20px 0;
  text-align: left;
}

.earnist .earnist-button {
  display: block;
  background-color: #5fad41;
  border-radius: 4px;
  color: #fff;
  font-size: 20px;
  line-height: 25px;
  text-transform: uppercase;
  padding: 15px 25px;
  text-align: center;
  font-weight: bold;
  border: none;
  outline: 0;
  letter-spacing: 0;
  height: auto;
  cursor: pointer;
}

.earnist .earnist-button:focus {
  outline: 0;
}

.earnist .earnist-footer{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;  
  font-size: 12px;
  line-height: 16px;
  margin: 20px 0 0 0; 
  color: #666; 
  font-style: italic;
  font-weight: normal;
  clear: both;
}

.earnist .earnist-footer .earnist-disclosure{
  display: block;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  text-align: left;
}

.earnist .earnist-footer .earnist-update{
  display: block;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  text-align: right;
  position: relative;
}



/* RESPONSIVE */
@media only screen and (max-width: 767px) {

  .earnist .earnist-product-details {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .earnist .earnist-image {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin-bottom: 20px;
  }
  
  .earnist .earnist-button {
    margin: 0 auto 20px auto;
    text-align: center;
  }

  .earnist .earnist-footer .earnist-disclosure{
    display: block;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    text-align: center;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .earnist .earnist-footer .earnist-update{
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    text-align: center;
    max-width: 100%;
  }
}



/* DISCLOSURE HOVER */
.earnist-tooltip {
  position: relative;
  display: inline-block;
  border-bottom: none; /* If you want dots under the hoverable text */
}

.earnist-tooltip .tooltiptext {
  visibility: hidden;
  background-color: #343434;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  font-size: 10px !important;
  line-height: 18px !important;
  position: absolute;
  z-index: 1;
  width: 150px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.earnist-tooltip:hover .tooltiptext {
  visibility: visible;
}

.earnist-tooltip .tooltip-bottom {
  width: 150px;
    top: 125%;
    left: 50%; 
    margin-left: -75px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

.earnist-tooltip .tooltip-bottom::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #555 transparent;
}
