/*
    - Name: "file-document.scss"
    - Description: "Add custom styles to file document"
*/
/* VARIABLES */
/* TYPOGRAPHY */
/* Google Fonts */
.ui-autocomplete {
  border-color: #002855;
  border-color: rgba(0, 40, 85, 0.5);
  background-clip: padding-box;
}

.ui-autocomplete li a {
  display: block;
  color: #002855;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  font-size: var(--font-16);
  text-decoration: none;
}

.ui-autocomplete li a.ui-state-active, .ui-autocomplete li a:hover {
  border-color: #002855;
  background-color: #CCD5E2;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  color: #002855;
}

.field__document--custom {
  width: 100%;
}

.field__document--custom h2 {
  text-align: center;
}

.field__document--custom.field--type-file > .field__item {
  margin-bottom: 10px;
}

.field__document--custom a {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding: 10px 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

.field__document--custom a::after {
  content: "\e909";
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  font-family: "icomoon";
  font-size: 1.25rem;
  line-height: 1;
  text-transform: none;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 8px;
  border-radius: 8px;
  background-color: #405D8F;
  color: #fff;
  transition: all 0.5s ease-in-out;
}

@media (min-width: 480px) {
  .field__document--custom a::after {
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    font-family: "icomoon";
    font-size: 1.5rem;
    line-height: 1;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 14px;
  }
}
.field__document--custom a:hover {
  border-color: #002855;
}

.field__document--custom a:hover .file--title {
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}

.field__document--custom a:hover::after {
  background-color: #091D31;
}

.field__document--custom a .file--specifications {
  width: calc(100% - 100px);
  padding-left: 10px;
}

@media (min-width: 480px) {
  .field__document--custom a .file--specifications {
    width: calc(100% - 130px);
    padding-left: 20px;
  }
}
.field__document--custom a .file--specifications .file--title {
  display: block;
  width: 100%;
  color: #002855;
  font-size: var(--font-16);
  line-height: 1.5rem;
}

@media (min-width: 480px) {
  .field__document--custom a .file--specifications .file--title {
    display: flex;
    align-items: center;
    width: 80%;
    font-size: var(--font-18);
    line-height: 1.625rem;
  }
}
.field__document--custom a .file--specifications .file--size {
  width: 80%;
  color: #444445;
  font-size: 0.88875rem;
  line-height: 1.375rem;
}

.field__document--custom a::before {
  content: "\e926";
  display: flex;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #405D8F;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  font-family: "icomoon";
  font-size: 1.375rem;
  line-height: 1;
  text-transform: none;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 480px) {
  .field__document--custom a::before {
    margin-left: 20px;
  }
}
.field__document--custom a::before svg {
  width: 70%;
}

.field__document--custom a[href*=".pdf"]::before {
  content: "\eadf";
}

.field__document--custom a[href*=".png"]::before, .field__document--custom a[href*=".jpeg"]::before, .field__document--custom a[href*=".jpg"]::before {
  content: "\e928";
}

.field__document--custom a[href*=".docx"]::before, .field__document--custom a[href*=".doc"]::before, .field__document--custom a[href*=".docm"]::before, .field__document--custom a[href*=".odt"]::before {
  content: "\eae1";
}

.field__document--custom a[href*=".xls"]::before, .field__document--custom a[href*=".xlsx"]::before {
  content: "\eae2";
}

.field__document--custom a[href*=".mp3"]::before {
  content: "\e929";
}

.field__document--custom a[href*=".mp4"]::before {
  content: "\e92a";
}

.field__document--custom a.file-download-octet-stream::before {
  content: "\eae2";
}

.block-field__file .field--type-entity-reference > .field__item {
  margin-bottom: 10px;
}

/* Styles two */
[class*=style-2] .field__document--custom .field__item a {
  border-left: 6px solid #CCD5E2;
}

[class*=style-2] .field__document--custom .field__item a::before {
  background-color: transparent;
}

[class*=style-2] .field__document--custom .field__item a::after {
  background-color: transparent;
  color: #405D8F;
}

[class*=style-2] .field__document--custom .field__item a:hover::after {
  color: #091D31;
}

[class*=style-3] .field__document--custom .field__item {
  border-radius: 0;
}

[class*=style-3] .field__document--custom .field__item a {
  border: 1px solid #002855;
  border-radius: 0;
  background-color: #F5F7F9;
}

[class*=style-3] .field__document--custom .field__item a::after {
  border-radius: 0;
}

[class*=style-3] .field__document--custom .field__item a::before {
  border-radius: 0;
  background-color: #fff;
}
/*# sourceMappingURL=file-document.css.map */
