@import 'primeicons.css';

@font-face {
  font-family: 'Merriweather';
  font-display: swap;
  src: url('../fonts/Latin-Merriweather-Regular.woff2') format('woff2');
 }

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  margin: 0;
}

h1 {
  margin-top: 0;
  font-family: Merriweather, Cambria, Georgia, Times New Roman, Times, serif;
  color: #005569;
}

h2 {
  color: #687718;
}

a {
  color: #016e86;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #003e4b;
  text-decoration: underline;
}

.content {
  margin: auto;
  padding: 2rem;
  max-width: 1080px;
}

.us-banner {
  background-color: #f2f1ee;
  
  .content {
    padding: .3rem 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .us-banner-item {
    all: unset;
    margin-right: .5rem;
    color: #1b1b1b;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1rem;
  }

  .us-flag {
    margin-top: 1px;
    width: 19px;
    height: 13px;
  }

  i {
    font-size: .75rem;
  }

  .toggle-us-banner {
    cursor: pointer;
  }

  .expanded {
    padding: 1.5rem 1rem 1rem 1rem;
    display: none;

    .item {
      display: flex;
      margin-right: 2rem;
      max-width: 30rem;
      align-items: flex-start;

      .icon {
        width: 2.5rem;
        margin-right: .5rem;
      }

      .msg {
        margin: 0;
      }
    }
  }
}

.menu-bar {
  background: #0e4f5c;
  height: 48px;
}

.main {
  div {
    margin-bottom: 2rem;
  }

  .field {
    background-color: #687718;
    color: white;
    font-weight: 500;
    margin: auto;
    margin-top: 2rem;
    padding: 1rem;

    p {
      margin: auto;
      max-width: 640px;
      text-align: center;
    }
  }
}

.bp-footer {
  background-color: #f2f1ee;
  color: #1b1b1b;  

  .bp-symbol {
    width: 15rem;
  }
}

.usda-footer {
  background-color: #0e4f5c;
  color: white;

  .content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: .5rem 2rem;

    .usda-footer-item {
      margin: auto 0;

      .usda-symbol {
        width: 77px;
        height: 48px;
        margin-right: 16px;
      }

      .usda-usda {
        font-size: 1.2rem;
        margin-top: 45px;
      }
    }

    .usda-footer-item-right {
      flex-grow: 1;

      .usda-footer-links {
        all: unset;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;

        .usda-footer-link-group {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          font-size: .85rem;
          margin-left: 2rem;

          a {
            color: #c2d0e3;
          }

          a:hover {
            color: white;
          }  

          ul {
            list-style-type: none;
            padding: 0;
            line-height: 160%;
          }      
        }
      }
    }
  }
}
