/**
 * @file
 * Visual styles for fields.
 */


/** General **/
.field__label {
  font-weight: bold;
}
.field--label-inline .field__label,
.field--label-inline .field__items {
  float: left; /* LTR */
}
.field--label-inline .field__label,
.field--label-inline > .field__item,
.field--label-inline .field__items {
  padding-right: 0.5em;
}
[dir="rtl"] .field--label-inline .field__label,
[dir="rtl"] .field--label-inline .field__items {
  padding-right: 0;
  padding-left: 0.5em;
}
.field--label-inline .field__label::after {
  content: ":";
}

/** Campos específicos **/
.field--type-image{
  line-height: 0;
}
.field--type-image img {
  width: 100%;
  height: auto;
}
.field--name-field-banner{
  position: relative;
}
.field--name-field-banner img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.field--name-field-banner .banner-title {
  position: absolute;
  top: 30%;
  left: 10%;
  color: #fff;
  font-family: 'poppins-bold', sans-serif;
  font-size: 1.7rem;
  line-height: 2.2rem;
  max-width: 600px;
}
.slug-business-online .field--name-field-banner .banner-title {
  left: 15px;
}

.field--name-field-link-banner {
  margin: 20px;
}
.field--name-field-link-banner a{
  border: solid 1px #fff;
  padding: 6px 27px;
  color: #fff;
  font-size: 1rem;
  display: inline-block;
  text-align: center;
}

.field--name-field-link-banner a::after{
  display: inline-block;
  overflow: hidden;
  width: 24px;
  height: 24px;
  text-indent: -9999px;
  background: url(../../images/icons/arrow-right-white.png) no-repeat;
  content: '';
  position: relative;
  background-position: center;
  top: 8px;
  left: 5px;
}
.field--name-field-link{
  margin: 20px 20px 20px 0;
}
.field--name-field-link a{
  border: solid 1px var(--brand-color-blue-dark);
  padding: 6px 27px;
  color: var(--brand-color-blue-dark);
  font-size: 1em;
  display: inline-block;
  text-align: center;
}
.field--name-field-link a::after{
  display: inline-block;
  overflow: hidden;
  width: 24px;
  height: 24px;
  text-indent: -9999px;
  background-image: url(../../images/icons/arrow-right.svg);
  background-repeat: no-repeat;
  background-position: center;
  content: '';
  position: relative;
  top: 8px;
  left: 5px;
}
.paragraph--type--with-icon .field--name-field-imagen-icon {
  width: 60px;
  height: auto;
  float: left;
}
.slug-about-alfilexpress .paragraph--type--with-icon .field--name-field-imagen-icon {
  width: 90px;
}
.paragraph--type--with-icon .field--name-field-title {
  margin-left: 65px;
  font-size: 1.25em;
  font-weight: 600;
}
.slug-business-online .paragraph--type--with-icon .field--name-field-title {
  font-size: 1rem;
  line-height: 1.5rem;
}
.paragraph--type--with-icon .field--name-field-body {
  margin-top: 53px;
}

.paragraph--type--with-icon {
  background-color: #fff;
  margin: 0 0 20px 0;
  padding: 24px;
  box-shadow: 0 2px 6px 0 rgba(226,226,226,0.5);
  -webkit-box-shadow: 0 2px 6px 0 rgba(226,226,226,0.5);
  -moz-box-shadow: 0 2px 6px 0 rgba(226,226,226,0.5);
}

.field--name-field-panel {
  background-color: var(--brand-color-blue-light);
  padding: 30px 40px;
  position: relative;
  left: -20px;
  top: 0px;
  max-width: 764px;
  transform-style: preserve-3d;
  margin: 0 0 40px 0;
}
.field--name-field-panel::after {
  content: "";
  width: 95px;
  height: 70px;
  background-color: var(--brand-color-blue);
  position: absolute;
  right: -20px;
  top: -20px;
  transform: translateZ(-1px);
}
.field--name-field-text-title {
  text-align: center;
  font-size: 2em;
  color: var(--brand-color-blue);
  font-family: poppins-bold, sans-serif;
}


@media screen and (min-width: 40em) {

  .field--name-field-banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  
  .field--name-field-banner.field--type-image img{
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  
  .paragraph--type--with-icon .field--name-field-imagen-icon {
    width: 70px;
  }
  .paragraph--type--with-icon .field--name-field-title {
    margin-left: 100px;
  }
}
@media screen and (min-width: 48em) {
  .field--name-field-panel {
    top: -115px;
  }
  .paragraph--type--with-icon .field--name-field-body {
    margin-left: 100px;
    margin-top: 0;
  }
  .slug-business-online .paragraph--type--with-icon .field--name-field-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}
@media screen and (min-width: 64em) {
  .field--name-field-banner .banner-title {
    font-size: 2.5rem;
    line-height: 3.5rem;
  }
  .field--name-field-panel {
    left: 0px;
    padding: 40px 80px;
  }
  .slug-business-online .field--name-field-banner .banner-title {
    left: 80px;
  }
}
