@import url('../../vendors/font-awesome/css/font-awesome.css');

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mb-2 {
  margin-bottom: .5rem;
}

.fa-spin-fast {
  -webkit-animation: fa-spin-fast 0.2s infinite linear;
  animation: fa-spin-fast 0.2s infinite linear;
}

@-webkit-keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes fa-spin-fast {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.f4w-card {
  position: relative;
  height: 0;
  padding-bottom: calc(100% - 16px);
  margin-bottom: 6em;
}

.f4w-card,
.f4w-card h2,
.f4w-card h2 span .f4w-card h2 strong,
.f4w-card.f4w-active h2,
.f4w-card .f4w-content,
.f4w-card .f4w-description,
.f4w-card .f4w-footer,
.f4w-card .f4w-footer h4 {
  font-family: inherit;
  font-weight: normal !important;
}

.f4w-card h2 {
  position: absolute;
  top: calc(100% - 16px);
  left: 0;
  width: 100%;
  padding: 10px 16px;
  color: #fff;
  margin: 0;
  z-index: 10;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.f4w-card h2 span {
  display: block;
  font-size: 18px;
  line-height: 26px;
}

.f4w-card h2 strong {
  font-weight: 400;
  display: block;
  font-size: 14px;
}

.f4w-card .truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.f4w-card h2:before {
  content: ' ';
  position: absolute;
  left: 0;
  top: -16px;
  width: 0;
  border: 8px solid;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.f4w-card h2:after {
  content: ' ';
  position: absolute;
  left: 0;
  top: -16px;
  width: 0;
  border: 8px solid;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  top: auto;
  bottom: 0;
}

.f4w-card.f4w-active h2 {
  top: 0;
  padding: 15px 10px 25px 85px
}

.f4w-card.f4w-active h2:before {
  top: 0;
}

.f4w-card.f4w-active h2:after {
  bottom: -16px;
}

.f4w-card .f4w-content {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 16px;
  left: 16px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.f4w-card .f4w-btn-action {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 3px solid;
  width: 44px;
  height: 44px;
  line-height: 34px;
  text-align: center;
  color: #fff !important;
  cursor: pointer;
  z-index: 20;
  border-radius: 50%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.f4w-card.f4w-active .f4w-btn-action {
  top: 62px;
}

.f4w-card .f4w-btn-action i {
  line-height: 38px;
}

.f4w-card .f4w-description {
  position: absolute;
  top: 100%;
  right: 30px;
  left: 30px;
  bottom: 54px;
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 1.2s;
  transition: all 1.2s;
}

.f4w-card .f4w-footer {
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
}

.f4w-card .f4w-footer h4 {
  position: absolute;
  top: 200px;
  left: 30px;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  -webkit-transition: all 1.4s;
  transition: all 1.4s;
}

.f4w-card .f4w-footer a {
  position: relative;
  width: 32px;
  height: 32px;
  margin-left: 5px;
  margin-bottom: 5px;
  font-size: 18px;
  color: #fff;
  line-height: 32px;
  text-decoration: none;
  top: 200px;
}

.f4w-card .f4w-footer a:first-child {
  margin-left: -16px;
}

.f4w-card .f4w-footer a:nth-child(1) {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.f4w-card .f4w-footer a:nth-child(2) {
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}

.f4w-card .f4w-footer a:nth-child(3) {
  -webkit-transition: all 0.7s;
  transition: all 0.7s;
}

.f4w-card .f4w-footer a:nth-child(4) {
  -webkit-transition: all 0.8s;
  transition: all 0.8s;
}

.f4w-card .f4w-footer a:nth-child(5) {
  -webkit-transition: all 0.9s;
  transition: all 0.9s;
}

.f4w-card .img-container {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: #E3F2FD;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border-radius: 6px 6px 0 0;
}

.f4w-card.f4w-active .img-container {
  border-radius: 50%;
  left: 0;
  top: 12px;
  width: 60px;
  height: 60px;
  z-index: 20;
}

.img-fluid {
  width: 100%;
  height: 100%;
}

.f4w-card.f4w-active .f4w-content {
  padding-top: 5.6em;
}

.f4w-card.f4w-active .f4w-description {
  top: 110px;
  opacity: 1;
  filter: alpha(opacity=100);
  height: 100%;
  font-size: 14px;
}

.f4w-card.f4w-active .f4w-footer {
  overflow: visible;
  position: absolute;
  top: calc(100% - 16px);
  left: 16px;
  right: 0;
  height: 62px;
  padding-top: 15px;
  padding-left: 25px;
}

.f4w-card.f4w-active .f4w-footer a {
  top: 0;
  cursor: pointer;
  border-radius: 4px;
}

.f4w-card.f4w-active .f4w-footer h4 {
  top: -32px;
}

.f4w-card.Blue h2 {
  background-color: #2196F3;
}

.f4w-card.Blue h2:after {
  border-top-color: #2196F3;
  border-right-color: #2196F3;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.f4w-card.Blue h2:before {
  border-top-color: transparent;
  border-right-color: #0069d9;
  border-bottom-color: #0069d9;
  border-left-color: transparent;
}

.f4w-card.Blue.f4w-active h2:before {
  border-top-color: transparent;
  border-right-color: #2196F3;
  border-bottom-color: #2196F3;
  border-left-color: transparent;
}

.f4w-card.Blue.f4w-active h2:after {
  border-top-color: #0069d9;
  border-right-color: #0069d9;
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.f4w-card.Blue .f4w-btn-action {
  background-color: #2196F3;
}

.f4w-card.Blue .f4w-btn-action:hover {
  background-color: #0069d9;
}

.f4w-card.Blue .f4w-footer h4 {
  color: #0069d9;
}

.f4w-card.Blue .f4w-footer a {
  background-color: #2196F3;
}

.f4w-card.Blue.f4w-active .f4w-content {
  background-color: #E3F2FD;
}

.f4w-card.Blue.f4w-active .f4w-footer {
  background-color: #BBDEFB;
}

.f4w-card.Blue.f4w-active .f4w-btn-action {
  border-color: #BBDEFB;
}

@media screen and (max-width: 767px) {
  .f4w-card.f4w-active {
    padding-bottom: 0;
    height: auto;
  }

  .f4w-card.f4w-active .f4w-content {
    position: relative;
    margin-right: 16px;
  }

  .f4w-card.f4w-active .f4w-description {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: 0;
    padding: 50px 30px 70px 30px;
  }
}