/* New button */
.new-btn {
  transition: transform 100ms ease-in;
  will-change: transform;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 11.5px 22px;
  border: 2px solid transparent;
  border-radius: 4px;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: all 100ms linear;
}

@media (hover: hover) {
  .new-btn:hover {
    text-decoration: none;
    opacity: 1 !important;
  }
}

.new-btn--primary {
  border-color: white;
  background: #001689;
  color: white;
}

@media (hover: hover) {
  .new-btn--primary:hover {
    background: white;
    border-color: white;
    color: #001689;
  }
}

.new-btn--secondary {
  border-color: #001689;
  color: #001689 !important;
}

@media (hover: hover) {
  .new-btn--secondary:hover {
    color: white !important;
    background: #001689;
  }
}

.new-btn[disabled],
.new-btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(100%);
}

.new-btn--footer {
  margin: 20px 0;
}

/* Form Field */
.form-field {
  position: relative;
  width: 280px;
  margin: 16px 0;
  text-align: left;
}

.form-field.disabled {
  opacity: 0.5;
}

.form-field.is-invalid svg path {
  fill: #de3617;
}

.form-field__label {
  display: block;
  flex-shrink: 0;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.55;
}

.form-field__input-group {
  position: relative;
  flex-shrink: 0;
  display: block;
  height: 40px;
}

.form-field__input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 30px 0 9px;
  border-width: 1px;
  border-color: transparent;
  border-style: solid;
  border-radius: 0;
  background: white;
  color: #001689;
  font-size: 16px;
  line-height: normal;
  box-shadow: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 250ms linear;
}

.form-field__input::-moz-placeholder {
  color: #595959;
  font-size: inherit;
}

.form-field__input:-ms-input-placeholder {
  color: #595959;
  font-size: inherit;
}

.form-field__input::placeholder {
  color: #595959;
  font-size: inherit;
}

.form-field__input:focus {
  outline: none;
  border-color: #001689;
}

.form-field__input:disabled {
  opacity: 0.5;
}

.form-field.is-valid .form-field__input {
  border-color: #001689;
}

.form-field.is-invalid .form-field__input {
  border-color: #de3617;
  background: #fbeae5;
}

.form-field__icon {
  position: absolute;
  margin: auto;
  top: 0;
  right: 12px;
  bottom: 0;
  left: auto;
  pointer-events: none;
}

@media print {
  .form-field__icon {
    display: none;
  }
}

/* Home styles */
.home-content {
  padding: 10px 0 55px;
}

@media (min-width: 760px) {
  .home-content {
    display: flex;
    justify-content: space-between;
  }
}

.home-content__part {
  width: 100%;
  max-width: 520px;
  margin-right: 30px;
}

.home-content__part:last-child {
  margin: 0;
}

.home-content__wrapper {
  margin-top: 45px;
}

.home-content__view-all {
  margin-top: 5px;
  margin-bottom:12px;
}

/* News item */
.news-item {
  position: relative;
  margin: 27px 0;
  padding-left: 25px;
}

.news-item::before {
  position: absolute;
  margin: auto;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  width: 5px;
  height: 100%;
  padding: 0;
  border-radius: 5px;
}

.news-item--primary-color::before {
  background: #ffa400;
}

.news-item--secondary-color::before {
  background: #001689;
}

.news-item h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.21;
}

.news-item h3 a {
  text-decoration: none;
}

.news-item__pub-data {
  display: inline-flex;
  align-items: center;
  margin: 2px 0 13px;
  font-size: 12px;
  line-height: 1;
}

.news-item__pub-data-time {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  margin: 0;
}

.news-item__pub-data-divider {
  width: 1px;
  height: 14px;
  margin: 0 10px;
  border: none;
  background: black;
}

.news-item__pub-data-link {
  text-decoration: none;
}

@media (hover: hover) {
  .news-item__pub-data-link:hover {
    text-decoration: underline;
  }
}

.news-item p {
  font-size: 17px;
  line-height: 1.3;
}

/* Resources */
.home-resource {
  display: flex;
  margin-bottom: 26px;
}

.home-resource__icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 18px;
  /*background: #3e62b8;*/
}

.home-resource__icon-wrapper svg {
  width: 80%;
  height: 80%;
}

.home-resource h3 {
  margin: -5px 0 10px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.21;
}

.home-resource a {
  text-decoration: none;
}

.home-resource__content {
  font-size: 13px;
}

.home-resource__desc {
  margin-right: 5px;
}

.home-resource__divider {
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 14px;
  margin: 0 5px 0 0;
  border: none;
  background: #001689;
}

/* Your Legal Rights */
@media (min-width: 1040px) {
  .new-ylr__top {
    margin-top: -40px;
  }
}

@media (min-width: 1060px) {
  .new-ylr__top {
    display: flex;
    justify-content: space-between;
  }
}

.new-ylr__part {
  width: 100%;
  max-width: 550px;
  flex-shrink: 0;
}

@media (min-width: 1060px) {
  .new-ylr__part {
    width: 50%;
  }
}

.new-ylr__heading {
  margin: 10px 0 30px !important;
  font-size: 28px !important;
}

.new-ylr__part--form {
  padding: 20px;
  background: #f6f7fb;
}

@media (min-width: 580px) {
  .new-ylr__part--form {
    padding: 25px;
  }
}

@media (min-width: 1060px) {
  .new-ylr__part--form {
    margin-left: 17px;
  }
}

.new-ylr__form-header {
  display: flex;
  align-items: center;
}

.new-yrl__header-icon {
  margin-right: 8px;
}

.new-ylr__form-heading {
  margin: 0 !important;
  color: #001689 !important;
  font-size: 20px !important;
  line-height: normal !important;
}

@media (min-width: 580px) {
  .new-ylr__form-heading {
    font-size: 25px !important;
  }
}

@media (min-width: 580px) {
  .new-ylr__fields {
    display: flex;
  }
}

.new-ylr__field {
  width: 100%;
  margin: 10px 0 0;
}

.new-ylr__field:first-child {
  margin-right: 34px;
}

.new-ylr__search {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 133px;
  height: 40px !important;
  margin: 25px 0 0 !important;
}

.new-ylr__search_link {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: auto;
  height: 40px !important;
  margin: 25px 25px 0 !important;
}

/* Home resources */
.home-resources__title {
  margin: 0 0 45px !important;
  font-size: 30px;
  line-height: 1.16;
  text-align: center;
}

.home-resources__list {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 auto 10px !important;
  padding: 0 !important;
}

@media (min-width: 1000px) {
  .home-resources__list {
    justify-content: flex-start !important;
  }
}

.home-resources__item {
  margin: 0 !important;
  padding: 0 !important;
  width: 300px !important;
  margin-bottom: 23px !important;
}

.home-resources__item:hover p {
  color: #ffa400;
}

.home-resources__item::before {
  display: none;
}

@media (min-width: 1000px) {
  .home-resources__item {
    width: 323px !important;
  }
}

@media (min-width: 1250px) {
  .home-resources__item {
    width: 285px !important;
  }
}

.home-resources__item:last-child {
  margin-bottom: 23px !important;
}

.home-resources__link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.home-resources__icon-wrapper {
  max-width: 65px;
  min-width: 65px;
  margin-right: 10px;
}

.home-resources__icon-wrapper svg {
  display: block;
  margin: auto;
  transform: scale(0.8);
}

.home-resources__text {
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* Resource collection */
.res-collection__form {
  width: 100%;
  max-width: 730px;
  padding: 20px 15px;
  background: #f6f7fb;
}

@media (min-width: 470px) {
  .res-collection__form {
    padding: 30px;
  }
}

@media (min-width: 1060px) {
  .res-collection__form {
    max-width: none;
    width: 100%;
  }
}

.res-collection__fields {
  margin-bottom: 25px;
}

@media (min-width: 1060px) {
  .res-collection__fields {
    display: flex;
  }
}

.res-collection__fields:last-child {
  margin: 0;
}

.res-collection__field {
  width: 100%;
  margin: 0 0 35px 0;
}

@media (min-width: 1060px) {
  .res-collection__field {
    width: 243px;
    margin: 0 35px 0 0;
  }
}

.res-collection__field:last-child {
  margin: 0;
}

@media (min-width: 1060px) {
  .res-collection__search-terms {
    width: 520px;
  }
}

.res-collection__control-btns {
  display: flex;
}

.res-collection__control-btn {
  position: relative;
  top: 5px;
  width: 116px;
  align-self: flex-end;
  margin: 0 !important;
}

.res-collection__control-btn:first-of-type {
  margin-right: 11px !important;
}

.res-collection__items {
  margin: -15px 0 0 !important;
  padding: 0 !important;
}

/* Resource item */
.new-resource-item {
  margin-bottom: 30px !important;
  padding: 15px;
  border: 1px solid #c5d0ea;
}

@media (min-width: 470px) {
  .new-resource-item {
    display: flex;
    padding: 35px;
  }
}

.new-resource-item:nth-child(even) {
  background: #f6f7fb;
}

.new-resource-item__icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  /*background: #3e62b8;*/
}

@media (min-width: 470px) {
  .new-resource-item__icon-wrapper {
    margin-bottom: 0;
    margin-right: 30px;
  }
}

.new-resource-item__icon-wrapper svg {
  width: 80%;
  height: 80%;
}

@media (min-width: 870px) {
  .new-resource-item__content {
    display: flex;
    flex: 10;
  }
}

.new-resource-item__text {
  flex-shrink: 999;
  padding-bottom: 30px;
}

@media (min-width: 870px) {
  .new-resource-item__text {
    padding-bottom: 0;
    padding-right: 60px;
    flex: 10;
  }
}

.new-resource-item__heading {
  margin: -10px 0 15px !important;
  line-height: 1.2em !important;
}

.new-resource-item__heading a {
  font-weight: 700;
}

.new-resource-item__data {
  display: block;
  margin: 0;
  padding: 0;
  padding-top: 30px;
  border-top: 1px solid #c5d0ea;
  font-size: 16px;
  line-height: 1.2;
}

@media (min-width: 870px) {
  .new-resource-item__data {
    width: 331px;
    padding-top: 0;
    padding-left: 30px;
    border-top: none;
    border-left: 1px solid #c5d0ea;
  }

  .new-resource-item__data dt {
    margin-bottom: 5px;
  }
}

.new-resource-item__data > * {
  margin: 0;
  padding: 0;
}

.new-resource-item__data dd {
  margin-bottom: 12px;
}

.new-resource-item__data dd:last-of-type {
  margin: 0;
}
