/*
Theme Name: US-Mint
Description: The theme for the US Mint's homepage (usmint.gov)

Author: Mario Hendricks, Leidos

Version: 1.0

License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license entitled "GNU Free Documentation License" can be
found at http://www.gnu.org/licenses/fdl-1.3-standalone.html

This stylesheet contains styles that should be used when the width of the viewport is greater than 920px
*/


/*
* The Wordpress CSS Codex
* http://codex.wordpress.org/CSS_Coding_Standards
* http://make.wordpress.org/core/handbook/coding-standards/css/
*
* REMINDERS
* -Use lowercase and separate words with hyphens when naming selectors. Avoid camelcase and underscores
* -Prefixed vendor-specific properties pairs should appear directly before the generic property they refer to
*
*/


/* =============================================================================
   US Mint Kids Header Styles
   ========================================================================== */

/* The padding is required to support hiding the header on scroll. */
body.kids-site {
  padding-top: 229px;
  background: linear-gradient(#fffaf3, #91adbd);
}

body.kids-header-hidden {
  padding-top: 0;
}

body.kids-site #skipNav {
  background-color: #000;
  color: #fff;
  border: 4px solid #e6452e;
  display: block;
  font-weight: bold;
  line-height: 25px;
  margin: 15px;
  padding: 25px;
  position: absolute;
  top: -100px;
  z-index: 9999;
}

body.kids-site h1 {
  text-align: left;
}

body.kids-site main.transparent h1 {
  margin-top: 0;
}

body.kids-site div#header-container {
  height: 229px;     /* The header container must be tall enough for the kids logo and top padding */
  width: 100%;

  /* The following supports hiding the header on scroll */
  position: fixed;
  top: 0;
  transition: top 0.2s ease-in-out;
  z-index: 5; /* Needs to be a high enough number that other items still go under it. */
}

/* The nav-up class is used to support hiding the header. */
body.kids-site div#header-container.nav-up {
  top: -229px;
  transition: top 1.0s ease-in-out;
}

/* This element is for the blue bar, which covers the entire width of the viewport, regardless of size. */
body.kids-site div#header-bar {
  height: 136px;
  background-color: #1E6BA7;
}

/* This element is for the content in the header, which is never more than 1180px wide */
body.kids-site header#header-content {
  max-width: 1180px;
  height: 136px;
  margin: 0 auto;
}

body.kids-site div#kids-logo {
  width: 182px;
  height: 192px;
  background: url(/wordpress/wp-content/plugins/mint-kids/public/img/us_mint_coin_classroom_logo.png) no-repeat scroll 0 0 transparent;
  padding: 7px 8px 0 0;
  float: left;
  z-index: 4;
}

body.kids-site div#title-menu-container {
  float: left;
  height: 136px;
  width:  79%;            /* Percent of parent (header-content), which will be in the range 920 - 1180px  */
  max-width: 990px;       /* Max desktop width (1180) - width of logo and padding (190) */
  min-width: 710px;
}

body.kids-site div#mobile-title-container {
  display: none;
}

body.kids-site div#title-container {
  padding: 28px 0 15px 0;
  font-size: 24px;
  max-width: 950px;
  height: 32px;
  color: white;
  font-weight: bold;
  text-align: center;
  display: block;
}
body.kids-site #kids-utility-bar{
  height: 30px;
  width: 100%;
  background: #fff;
}

#kids-utility-bar img {
    position: relative;
    top: 1px;
    height: 14px;
}

body.kids-site #kids-utility-bar .bar-container{
max-width: 1180px;

    margin: 0 auto;
  }

body.kids-site #kids-utility-bar .bar-container  span {
    margin-left: 4px;
}

body.kids-site #kids-utility-bar .bar-container  a {
    color: #13416D;
    text-decoration: none;
    font-weight: bold;
}
body.kids-site #kids-utility-bar .bar-container  a:hover {
    text-decoration: none;
}
body.kids-site nav#menu-container {
  border-radius: 0;
  width: 100%;
  margin: 0;
  display: block;
}

body.kids-site ul#kids-main-menu {
  padding: 0;
  width: 97%;
  margin-left: 0;
  height: 40px;
  box-shadow: none;
  list-style: none outside none;
  position: relative; /* This needs to be here so that the search box is positioned in relation */
                      /* to this element (the search box has absolute positioning). */
}

body.kids-site ul#kids-main-menu > li {
  width: 18.1%;
  height: 43px;
  max-width: 218px;
  background-color: #DAEAF5;
  display: block;
  float: left;
  margin: 0 0 0 0;
  text-align: center;
  border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

body.kids-site ul#kids-main-menu li a {
  text-decoration: none;
  display: inline-block;
  color: #0B4470;
  font-weight: 700;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #707070;
  cursor: pointer;
  overflow: hidden;
  border-top-left-radius: 5px;
border-top-right-radius: 5px;
padding-left: calc(1.5% + 1px);
    padding-right: calc(1.5% + 1px);
    padding-top: 1px;
    padding-bottom: 1px;
}

body.kids-site ul#kids-main-menu li a:visited {
  color: #0B4470;
}

body.kids-site ul#kids-main-menu li a span.nav-cat {
  line-height: 33px;
  font-size: clamp( 14px, 1vw, 18px );
}

body.kids-site ul#kids-main-menu li a:focus {
  width: 100%;
  border: 2px solid #707070;
}

body.kids-site ul#kids-main-menu li.active a {
  color: #fff;
  background-color: #0B4470 ;
  border: 2px solid #0B4470 ;
}

body.kids-site ul#kids-main-menu li a:hover {
  text-decoration: none;
  width: 100%;
  color: #fff;
  background-color: #0B4470;
  border: 2px solid #707070;
}

body.kids-site ul#kids-main-menu li#search-btn {
  width: 7.9%;
  max-width: 84px;
  margin: 0;
}

/* Hide the mobile menu (checkbox and label) on the desktop view */
body.kids-site input#kids-menu-checkbox {
  display: none;
}

body.kids-site label#show-kids-menu {
  display: none;
}

/* If the kids menu is showing in mobile and we expand the window to desktop view, it remains
   visible. The following three rules change that. */
body.kids-site input#kids-menu-checkbox:checked ~ div#kids-mobile-menu {
  left: -80%;
}

body.kids-site input#kids-menu-checkbox:checked ~ div#kids-content-overlay {
  left: 0;
}

body.kids-site input#kids-menu-checkbox:checked ~ div#primary-container {
  left: 0;
}


/* The follow rules define the search drop-down menu */
body.kids-site ul#kids-main-menu li#search-btn #search-text {
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 32px;
  background: url(/wordpress/wp-content/plugins/mint-kids/public/img/kids_search_mint_blue.png) no-repeat center 2px;
}

body.kids-site ul#kids-main-menu li.dropdown .dropdown-content {
  display: none;
  position: absolute;
  z-index: 2;
  left: -1px;
  top: 40px;
  width: 100%;
}

body.kids-site ul#kids-main-menu li#search-btn a:focus {
  background-color: #0B4470;
  border-color: #0B4470;
}

body.kids-site ul#kids-main-menu li#search-btn a:hover #search-text,
body.kids-site ul#kids-main-menu li#search-btn a:focus #search-text {
  background-image: url(/wordpress/wp-content/plugins/mint-kids/public/img/kids-search-white.png);
}

/* Show the search box on hover when the browser isn't processing JavaScript. */
body.kids-site ul#kids-main-menu li.dropdown:hover .dropdown-content,
body.kids-site ul#kids-main-menu li.dropdown a:focus ~ .dropdown-content {
  display: block;
}

/* Keep the dropdown open when the mouse or focus is moved into the dropdown menu itself */
body.kids-site ul#kids-main-menu li.dropdown .dropdown-content:hover,
body.kids-site ul#kids-main-menu li.dropdown .dropdown-content:focus {
  display: block;
}

body.kids-site ul#kids-main-menu li#search-btn div.pin-search-box-open,
body.kids-site ul#kids-main-menu li#search-btn div.search-box-open {
  display: block;
}

body.kids-site ul#kids-main-menu li#search-btn form.search-form {
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  border: 5px solid #0B4470;
  background-color: #fff;
  display: flex;                 /* Because we want the input box to take all available space. */
}

body.kids-site form.search-form div.input-and-suggestions {
  margin-right: 0;
}

body.kids-site ul#kids-main-menu li#search-btn form.search-form label#top-menu-search-input {

}

body.kids-site ul#kids-main-menu li#search-btn #search-box input.search-field {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 1px 1px 1px 1%;
  border: none;
  float: left;
}

body.kids-site ul#kids-main-menu li#search-btn form.search-form button#top-menu-search-button {
  height: 40px;
  padding: 6px 1em;
  margin: 0;
  float: right;
  border: none;
  border-left: 5px solid #0B4470;
  border-radius: 0;
  box-shadow: none;
  color: #0B4470;
  text-shadow: none;
  background: #DAEAF5;
  /*background: linear-gradient(to bottom, #f1c938 5%, #f1c938 100%);*/
  /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f1c938), color-stop(1, #f1c938));*/
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
}

body.kids-site ul#kids-main-menu form.search-form div.search-suggestion-box {
  top: 45px;
}

body.kids-site form.search-form div.search-suggestion-box li.search-suggestion {
  padding: 0 16px;
  border-bottom: none;
}

/* Formatting for the kids-breadcrumbs area */

body.kids-site div.kids-breadcrumbs {
  display: block;
  color: #0b5578;
/*  margin-left: 190px; */ /* Aligns under nav menu (190px for logo). */
  padding-top: 5px;
  z-index: 2;
  background-color: rgba(246, 244, 239, 0.95)
}

body.kids-site div.kids-breadcrumbs a,
body.kids-site div.kids-breadcrumbs a:link,
body.kids-site div.kids-breadcrumbs a:visited,
body.kids-site div.kids-breadcrumbs a:hover,
body.kids-site div.kids-breadcrumbs a:active {
  color: #0b5578;
  text-decoration: underline;
}

body.kids-site span.current-page-name {
  text-decoration: none;
}

body.kids-site #skipNav:focus {
  left: 25px;
  top: 15px;
}

body.kids-site a#kids-menu-btn {
  display: none;
}

body.kids-site div#search-container {
  top: 10px;
  right: 0;
  padding: 0;
  position: absolute;
  width: 38%;
  display: block;
  z-index: 3;
  background-color: transparent;
}

body.kids-site #search-container form {
  position: absolute;
  padding: 8px 4px 0 0;
  top: 0;
  right: 0;
}

body.kids-site #search-container fieldset {
  top: 0;
}

body.kids-site #search-container .search-field {
  width: 240px;
}

body.kids-site #search-container .search-button {
  background: url(/wordpress/wp-content/plugins/mint-kids/public/img/icon-search.png) no-repeat scroll center center;
  background-color: #d62923;
  width: 34px;
}

/* This visually hides the search button text for this screen size */
body.kids-site #search-container .search-button-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}


/******************************************************
 This section contains styles for single pages
*******************************************************/

/* The width of the primary container when the right widget area is displayed. */
body.kids-site #primary-container main {
  width: 76%;
  float: none;
  box-sizing: border-box;
  padding: 12px 55px 35px 55px;
  /*border-top: 12px solid #f1c938;*/
}

body.kids-site #primary-container main.transparent {
  border-top: none;
  padding: 0 19px 35px 19px;
}

/* The width of the primary container when the widget area is hidden. */
body.kids-site #primary-container main.full-width {
  width: 100%;
}

body.kids-site #widget-sidebar {
  width: 22%;
  max-width: 256px;
  min-width: 210px;
  float: left;
  padding: 0 0 0 16px;
  box-sizing: border-box;
}

/* =============================================================================
   US Mint Kids Site Desktop Styles - Coins & Medals
   ========================================================================== */
body.kids-site .kids-coin h1 {
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 0;
}

body.kids-site #coin-full {
   width: 100%;
}

body.kids-site #coin-left {
  width: 64%;
  float: left;
}

body.kids-site #coin-right {
  display: block;
  width: 34%;
  float: right;
}

body.kids-site #coin-image-one, body.kids-site #coin-image-two {
  text-align: center;
}

body.kids-site #coin-image-one img, body.kids-site #coin-image-two img {
  width: 180px;
}

body.kids-site #coin-image-one {
  margin-top: 60px;
}

body.kids-site #coin-image-two {
  margin-top: 40px;
}

body.kids-site #mobile-coin-image-slider {
  display: none;
}

body.kids-site .coin-caption {
  width: 200px;
}

/* =============================================================================
   US Mint Kids Site Desktop Styles - Landing Page Content Blocks
   ========================================================================== */

body.kids-site div.group-type-2 {
  background-color: #fff;
  border: 1px solid #707070;
}

body.kids-site div.feature-group div.group-header {
  background-color: #f1c938;
  padding: .2em 1em;
  text-align: left;
  border-top: none;
}

body.kids-site div.feature-group div.group-header h2 {
  margin: 0;
  display: inline-block;
}

body.kids-site div.feature-group div.feature-group-content {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border-top: none;
  padding: .6em;
}

body.kids-site div.feature-group div.group-header div.group-header-icon {
  background-image: url(/wordpress/wp-content/plugins/mint-kids/public/img/kids-yellow-arrow-in-blue-circle.png);
  background-position: center bottom;
  width: 3.5em;
  height: 34px;
}

body.kids-site div.feature-group a:normal div.mint-feature-caption {
  color: #0b5578;
}


/* =============================================================================
   US Mint Kids Footer Styles
   ========================================================================== */

body.kids-site footer {
  display: block;
}

div#kids-footer-content {
  max-width: 1100px;
  margin: 1em auto;
  border-top: 4px solid #0B5578;
}

div#kids-menu-wrapper {
  max-width: 610px;
  margin: 0 auto;
  display: table;
}

div.kids-footer-menu {
  float: left;
  width: auto;
}

div.kids-footer-menu ul {
  list-style: none outside none;
  padding-left: 0;
  padding-right: 40px;
}

div.kids-footer-menu ul.last-menu {
  padding-right: 0;
}

div.kids-footer-menu li a,
div.kids-footer-menu li a:link,
div.kids-footer-menu li a:visited,
div.kids-footer-menu li a:active {
  color: #000;
  text-decoration: none;
}

div.kids-footer-menu li a:hover {
  color: #000;
  text-decoration: underline;
}

footer#kids-legal-footer {
  height: 72px;
  background-color: #0B5578;
}

footer div#kids-legal-footer-content {
  max-width: 1180px;
  margin: 0 auto;
}

footer p#kids-legal-footer {
  margin: 15px 2.1em 0 0;
  background: url(/wordpress/wp-content/themes/us-mint/img/USTreasurySeal.gif) no-repeat right 0;
  text-align: right;
  height: 42px;
  padding: .5em 48px 0 0;
  float: right;
  color: #fff;
}
