/**
 * This is an imagecropexpandingcolumns of an additional stylesheet that can be 
 * enqueued using the add_css module method. The files settings.css,
 * frontend.css and frontend.responsive.css don't need to be 
 * enqueued and will be included for you automatically.
 */

.imgcropec-column {
  width: 18%;
  transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  padding: 2%;
  height: 100%;
  min-height: 50vh;
  float: left;
  margin: 0;
  position: relative;
  background-size: cover;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.imgcropec-column h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  min-width: 250px;
}

.imgcropec-column p {
  opacity: 0;
  transition-duration: 0s;
  transition-delay: 1.5s;
  display: none;
  min-height: 300px;
  min-width: 300px;
  position: absolute;
  top: 60px;
  left: 60px;
}

.imgcropec-column::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  transition-duration: 1s;
}

.imgcropec-column#cblack::after {
  background: #000000;
}

.imgcropec-column#cdblue::after {
  background: #001841;
}

.imgcropec-column#cblue::after {
  background: #003287;
}

.imgcropec-column.wide {
  width: 64%;
  min-height: 50vh;
  justify-content: flex-end;
}

.imgcropec-column.wide p {
  display: block;
  animation:  fadeIn 1s 0.5s forwards;
  color: #fff;
  z-index: 1;
  width: 50%;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
  
}

.imgcropec-column.wide h3 {
  color: #fff;
  z-index: 1;
  width: 50%;
  left: 30px;
}

.imgcropec-column.wide::after {
  /* background: transparent !important; */
  transition-duration: 1s;
  background: rgb(0, 0, 0);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}
