/**
 * Food Buying Guide CSS File - M. R. Bagnall (mbagnalL@itcon-inc.com)
 * June 17, 2016
 */

h2{
    margin: 0px;
}
/* The background color for our page */
body {
  background-color: #363636;
  font-weight: 500;
}

h1, h2, h3, p {
    font-weight: 500;
}

.navbar-right {
    margin: 0px !important;
}

.clear {
  clear: both;
}
/* Our content window - right now named for the background color */
.white {
  background-color: #FFFFFF;
  padding : 20px 20px 20px 20px;
}

/* Styles for the footer containing footer navigation and disclaimer text */
.footer {
  font-size: 9pt;
  text-align: center;
  color: #819297;
  border-bottom: 2px solid #000000;
  padding: 8px;
    background-color: white;
    margin-top: 2px;
}

ul.footer-navigation {
  padding: 0px;
  margin: 0px;
  list-style: none;
  font-size: 9pt;
}

ul.footer-navigation a,
ul.footer-navigation a:visited {
  color: #368436;
}

ul.footer-navigation li {
  list-style: none;
  display: inline;
}

ul.footer-navigation li:after {
  content: " | ";
  padding: 0px 7px;
}

ul.footer-navigation li:last-child:after {
  content: "";
  padding: 0px 7px;
}

/* This is experimental. Putting a border on the right and left to create a container of
   sorts since the design isn't completely, 100% responsive */
.border {
  border-left: 2px solid #000000;
  border-right: 2px solid #000000;
}

.border1 {
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
}

/* This is a custom class for removing the margins found in default Bootstrap classes*/
.no-margin {
  margin: 0px;
}

.no-padding {
  padding: 0px;
}

.custom-btn {
  border-color: green;
}

.custom-btn:hover,
.custom-btn:focus {
    color: #fff !important;
}

.ui-accordion .ui-accordion-header {
    display: block;
    cursor: pointer;
    position: relative;
    margin: 2px 0 0 0;
    /*padding: .5em .5em .5em .7em;*/
}

h4.ui-state-default {
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
}

h4.ui-state-active, h4.ui-state-hover {
    border: 1px solid #cccccc;
    background: #ededed;
    font-weight: normal;
    color: #2b2b2b;
}

.home-imgs img{
    max-width:100%; 
}

@media (min-width:1220px) {
    .container {
        width: 1450px;
    }
}

/* Web site header text (web site title) */
h1 {
  margin: 0px;
  padding: 0px;
  font-size: 14.41pt;
  /*margin-top: -4px;*/
  letter-spacing: 0px;
  font-weight: bold;
}

.navbar-inverse {
  border-top: 0px;
  border-bottom: 0px;
}
.navbar-inverse .navbar-nav > li > a {
  color: #FFFFFF;
}

/* The default navigation bar font styling */
.navbar-nav > li > a {
  font-family: helvetica;
  text-transform: uppercase;
  font-weight: bold;
  color: #FFFFFF;
}

/* Remove the rounded edges from the default bootstrap nav. */
.navbar {
  border-radius: 0px;
  min-height: 0px;
  margin-bottom: 0px;
  margin-top: 0px;
  background-color: #368436;

}

/* Website header background (non-responsive) */
div.food-buying-guide-width {
  /* max-width: 992px; */
}

div.food-buying-guide-header {
    background-image: url('../images/USDA-FoodBuyingGuideHeader-BkgdImage.png');
    min-height: 150px;
}

@media (max-width: 640px) {
    div.food-buying-guide-header {
        background-image: url('../images/USDA-FoodBuyingGuideHeader-SmallBkgdImage.png');
        min-height: 150px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .fbg-title, .usda-logo-text { display: none; }
}

/* This is for our responsive background image (header) */
figure.fixedratio {
  padding-top: 18.21%;
  /*background-image: url(../images/fbg-header.jpg);*/
  /*background-image: url(../images/USDA-FoodBuyingGuideHeader-Image.png);*/
  background-size: cover;
  position: relative;
  margin: 0;
}

/* The remainder of the language that appears under the USDA logo. */
.usda-logo-language {
  position: absolute;
  top: 52px;
  left: 52px;
  color: #FFFFFF;
  font-family: Helvetica;
  font-weight: bold;
  line-height: 1.2em;
  font-size: 8.3pt;
}

/* The USDA logo positioning. */
.usda-logo {
  position: absolute;
  top: 46px;
  left: 40px;
  /*margin-right: 10px;
  float: left;*/
}

.usda-logo-text {
    position: absolute;
    top: 83px;
    left: 149px;
}

.fbg-title {
  position: absolute;
  top: 44px;
  left: 149px;
}

/* This is to properly space the language under the logo. */
.usda-logo-language p {
  margin: 2px 0px 0px;
  padding: 0px;
}

.secondary-navigation {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #c1bb9b;
  color: #FFFFFF;
  font-size: 7.5pt;
  padding: 4px;
  margin: 0px;
  font-weight: bold;
}

.secondary-navigation a,
.secondary-navigation a:visited {
  color: #FFFFFF;
}

.team-nutrition {
  position: absolute;
  bottom: 10px;
  right: 20px;
}

li.urb {
  background-color: #C1BB9B;
  text-align: right;
}

.navbar-inverse .navbar-nav > li.urb > a {
  color: #FFFFFF;
}

.navbar-inverse .navbar-nav > li.urb > a:hover {
  color: #000000;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.form-select {
    appearance: auto !important; /* Ensures the dropdown appears with the browser's default styling */
    background-image: none; /* Removes any unwanted background */
}

.btn-outline-dark:hover {
     background-color: #f0f0f0;
     color: black;
}

ul.footer-navigation li a:hover {
    text-decoration: underline !important; /* Enforce underline on hover */
}

/**
 * Screen sizes between 768px and 992px.
 */

@media (min-width: 768px) and (max-width: 992px) { 
  /* The remainder of the language that appears under the USDA logo. */
  .usda-logo-language {
    position: absolute;
    top: 26px;
    left: 22px;
    color: #FFFFFF;
    font-family: Helvetica;
    font-weight: bold;
    line-height: 1.2em;
    font-size: 8.3pt;
  }

  /* Web site header text (web site title) */
  h1 {
    margin: 0px;
    padding: 0px;
    font-size: 11.2pt;
    margin-top: 4px;
    letter-spacing: 0px;
    font-weight: bold;
  }

  li > a {
    padding-bottom: 7px;
    padding-top: 7px;
  }

  li.urb {
    display: none;
  }

  .nav > li > a.lon {
    display: inline-block;
    padding: 6px;
  }

  .nav > li > a {
    padding: 0px 3px;
  }

  .navbar-nav > li > a {
    font-family: helvetica;
    font-size: 7pt;
    padding: 7px 9px;
    text-transform: uppercase;
    font-weight: bold;
  }

  .navbar-collapse {
    padding-left: 0px;
    padding-right: 0px;
  }
}


@media (min-width: 992px) {
  .navbar {
    border-radius: 0px;
    min-height: 0px;
  }


  li > a {
    padding-bottom: 7px;
    padding-top: 7px;
  }

  .nav > li > a {
    padding: 0px 13px;
  }

  li.urb {
    display: none;
  }

  .navbar-nav > li > a {
    font-family: helvetica;
    font-size: 8pt;
    padding: 7px 20px;
    text-transform: uppercase;
    font-weight: bold;
  }

  .nav > li.last {
    width: 190px;
  }

  .navbar-collapse {
    padding-left: 0px;
    padding-right: 0px;
  }

  li.urb {
    display: none;
  }

  .logout {
    border: 2px solid #FFFFFF;
    padding: 3px;
    margin: 5px;
  }
}

.container-fluid {
  max-width: 1418px; /* Or any other specified width */
  margin: 0 auto;
  padding-left: 15px; /* Optional: padding to match Bootstrap container spacing */
  padding-right: 15px;
}

.form-check-input:checked {
    background-color: #0d6efd; /* Bootstrap's default blue for checked state */
    border-color: #0d6efd; /* Match border color */
    background-image: radial-gradient(#fff 0%, #fff 40%, transparent 50%); /* Adds white inner circle */
}


@media (min-width: 1200px) {
    .container-fluid {
        width: 1418px;
    }

  .navbar-nav > li > a {
    font-family: helvetica;
    font-size: 9pt;
    font-weight: bold;
    padding: 7px 30px;
    text-transform: uppercase;
  }

  .usda-logo-language {
    color: #ffffff;
    font-family: Helvetica;
    font-size: 8.3pt;
    font-weight: bold;
    left: 52px;
    line-height: 1.2em;
    position: absolute;
    top: 65px;
  }
}


@media (max-width: 769px) { 
  li.urb {
    display: none;
  }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #ffd800;
}
  .usda-logo-language {
    position: absolute;
    top: 26px;
    left: 22px;
    color: #FFFFFF;
    font-family: Helvetica;
    font-weight: bold;
    line-height: 1.2em;
    font-size: 8.3pt;
  }

  /* Web site header text (web site title) */
  h1 {
    margin: 0px;
    padding: 0px;
    font-size: 11.2pt;
    margin-top: 4px;
    letter-spacing: 0px;
    font-weight: bold;
  }
}


@media (max-width: 640px) { 
  .usda-logo-language {
    position: absolute;
    top: 25%;
    left: 22px;
  }

  .usda-logo-language p {
    display: none;
  }

  div.secondary-navigation {
    display: none;
  }

  .team-nutrition {
    display: none;
  }
  
  /* Web site header text (web site title) */
  h1 {
    margin: 0px;
    padding: 0px;
    font-size: 11.2pt;
    margin-top: 4px;
    letter-spacing: 0px;
    font-weight: bold;
  }

  li.urb {
    display: block;
  }

  /* The USDA logo positioning. */
  .usda-logo {
    margin-right: 10px;
    float: left;
  }
}

@media (max-width: 400px) {
  .custom-btn{
    margin-left: -25px;
    min-width: 230px;
  }
  .container{
    padding:0;

  }

  .home-imgs img{
    max-width:100%; 
    height:auto;
  }
}