.no-show {
    display: none !important;
}

a:focus, button:focus, *:focus {
  outline:1px solid #f5ffff !important;  
}

/*Site Specific CSS*/

.callout-box { /*Handles putting a border and a light grey color around a section meant to call out attention.*/
    border: 1px solid #000000;
    background:#e6e6e6;
    margin-bottom:22px;
    margin-left:0;
    margin-right:0;
}

input.search-query.search_input {
	color:#757575 !important;
}

div.panel-heading > label {
	font-size:1.2em;
}

@media (min-width:993px) and (max-width:1199px) {
	.icon-heightSaver {
		height:127.8px;
	}
	
	.icon-heightSaver.six-icon-saver, .icon-heightSaver.seven-icon-saver {
		height:261.6px;
	}
}

@media (min-width:1200px) {
	.icon-heightSaver {
		height:156.3px;
	}
	.icon-heightSaver.seven-icon-saver {
		height:261.6px;
	}
}
*/
@media (max-width: 299px){
    .featured_image {
        display:none;
    }
}

@media (min-width: 300px) and (max-width: 992px){
    .featured_image {
        height: calc(100vw / 992 * 220);
        overflow: hidden;
    }
}

.umbutton {
    background: #04366e !important;
    border: none;
}

.site_breadcrumbs ol.breadcrumb li:nth-child(2) {
    display: none;
}


.umbutton:hover {    
    outline 0px;
    box-shadow: 0 0 3pt 2pt #0080A3 !important; /*Light blue: #0080A3 */ 
}

.featured_stories .story_row .story_content h3 a, .featured_stories .story_row .story_content h3 a:link, .featured_stories .story_row .story_content h3 a:visited { 
color: #003470;
}

/*For changing the primary link coloring for WildernessNow*/

a:link, .dept_leftnav > ul > a:link {
    color: #003471 !important; /*Dark Blue*/
}

a:active, .dept_leftnav > ul > a:active {
    color: #003471 !important; /*Dark Blue*/
}

a:hover, .dept_leftnav > ul > a:hover {
    color: #669AD7 !important; /*Dark Blue #003471 (lightened 40%)*/
    border-bottom-color: #669AD7 !important;
}

a:visited, .dept_leftnav > ul > a:visited {
    color: #003471 !important; /*Dark Blue*/
}

.active {
    color: #003471 !important; /*Dark Blue*/
}

body {    
    background-repeat: repeat !important;
}

.site-brand a, .site-brand a:hover {
    color: #fdfdfd !important;
} 

/*
This section is for CSS dedicated to making the site more mobile friendly
Sources Include:
    https://codepen.io/paul66/pen/jKBzu (3/29/17) (input type checkbox and isSelected)
    http://stackoverflow.com/questions/22645930/how-to-add-padding-to-the-extra-small-xs-column-only-without-affecting-other-s (4/5/2017) (pbenard's answer 3/25/2014)
*/

@media screen and (max-width: 768px){

  *[class*='col-xs']{
    padding-bottom: 8px;
  }
}

input[type="checkbox"] {
  position: relative;
  top: 1px;
}

.isSelected {
  background-color: #B3E7FF; /*Dark Blue #003471 (lightened 70%)*/
}

/*Intended to hide highlighting backgrounds done in JQuery/JS for labels when JS is disabled*/
.noscript-noBack > label {
    background-color: transparent !important;
}

.checkbox {
    padding: 5px 10px 5px 10px;
}

.checkbox > label {
    display: block;
    padding: 5px;
    border-radius: 7px;
}

.checkbox > label:hover {
    background-color: #E5FFFF; /*Dark Blue #003471 (lightened 90%)*/
    cursor: pointer !important;
}

/*
This section is for accessibility based CSS
Sources Include:
    http://webaim.org/techniques/css/invisiblecontent/ (3/29/2017) (visuallyhidden)
*/

/*Used to add additional information for screen readers (3 inputs for phone number might only have one label but with this screen readers would get a label on each of the 3 inputs specifying their intended input)*/
.visuallyhidden {border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}

/*
This section is for css related to JQuery UI
cross-browser support improvements based on: http://www.456bereastreet.com/archive/201302/fieldset_legend_border-radius_and_box-shadow/ (accessed 3/29/2017)
*/
fieldset {
    border:1px solid #e1e1e1;
    margin:0 2px;
    padding:0.35em 0.625em 0.75em;
    background-color: #FFFFFF;
    }

legend{
    float: left;
    border:0;
    padding:0
}

legend + * {
    clear:both;
}

.overflow {
      height: 200px;
}
/* Bootstrap Panel CSS adjustments*/
.panel-body {
    background-color: #FFFFFF; /*Main page background color*/
}

.panel-custom-body {
    background-color: #427E7F !important;/*Main page background color*/
}

.panel-default > .panel-heading {
    background-color: #0080A3; /*Light blue: #0080A3 */ 
    color: #FFFFFF;
    font-size: 1.2em;
}

/*
 __          ___ _     _ _____                 
 \ \        / (_) |   | |  __ \                
  \ \  /\  / / _| | __| | |__) |_ _  __ _  ___ 
   \ \/  \/ / | | |/ _` |  ___/ _` |/ _` |/ _ \
    \  /\  /  | | | (_| | |  | (_| | (_| |  __/
     \/  \/   |_|_|\__,_|_|   \__,_|\__, |\___|
                                     __/ |     
                                    |___/      
Wilderness Page CSS
*/
@media (max-width: 500px){
	.wildpage-icon5.featured_link.fixed-width.small, .wildpage-icon4.featured_link.fixed-width.small {
		width:32% !important;
	}
}

@media (min-width:501px){
	@media (max-width:640px){
		.wildpage-icon4.featured_link.fixed-width.small {
			width:24% !important;
		}
	}
	@media (min-width:641px) and (max-width:1199px){
		.wildpage-icon4.featured_link.fixed-width.small {
			width:19% !important;
		}
	}
	@media (min-width:1200px){
		.wildpage-icon4.featured_link.fixed-width.small {
			width:15% !important;
		}
	}
	.wildpage-icon5.featured_link.fixed-width.small {
		width:19% !important;
	}
}

/*
  __  __           _       _ 
 |  \/  |         | |     | |
 | \  / | ___   __| | __ _| |
 | |\/| |/ _ \ / _` |/ _` | |
 | |  | | (_) | (_| | (_| | |
 |_|  |_|\___/ \__,_|\__,_|_|
*/

/* The Modal (background) 
Based on (an copied from) https://www.w3schools.com/howto/howto_css_modals.asp accessed 6/30/2017
Note: If JQuery gets updated on Cascade CMS the modal functionality should be returned to Bootstrap.
*/
.simple-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top - has to be above the select box for small screens*/
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.simple-modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 0 42px 20px 42px; /*Left and Right are plus 22 to match um-templates extra 22 to bottom which matches the extra space from the X (close) row*/
    border: 1px solid #888;
    border-radius: 8px;
    width: 80%; /* Could be more or less, depending on screen size */
    text-align: left;
    min-width: 250px;
}

.simple-modal-content p {
    font-size: 1.2em;
}

a.popup-modal {
    font-size: 1.3em;
}

/* The Close Button */
.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-scroll-lock {
    overflow-y: hidden; /*Used to prevent the screen from scrolling when a modal view is open.*/
}

/*
  _______              
 |__   __|             
    | | __ _  __ _ ___ 
    | |/ _` |/ _` / __|
    | | (_| | (_| \__ \
    |_|\__,_|\__, |___/
              __/ |    
             |___/     
Styling for inputs that utilize the tag functionality.
*/
#basic {
    border-color: transparent;
    padding: 5px;
    background: transparent;
    outline: none;
    margin: 0 5px 5px 0;
    display: block;
    float: left;
    box-shadow: none;
    width: auto;
    line-height: normal;
}

#tagInput-basic {
    width: auto;
    /*min-height: 100px;*/
    border: 1px solid #CCC;
    padding: 5px 5px 0 5px;
    height: auto;
    overflow-y: auto;
    cursor:text;
}

#tagInput-basic.tag-focus { /*Used to give a div a focus like appearance*/
    border: 1px solid #66afe9;
    -moz-box-shadow: 0 0 8px rgba(102,175,233,.6);
    -webkit-box-shadow: 0 0 8px rgba(102,175,233,.6);
    box-shadow: 0 0 8px rgba(102,175,233,.6); 
}

a.x-close {
    text-decoration: none !important;
    cursor: auto;
}

.tag {
    display: block;
    float: left;
    padding: 5px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0 5px 5px 0;
}

/*
  _______ _                _ _            
 |__   __(_)              | (_)           
    | |   _ _ __ ___   ___| |_ _ __   ___ 
    | |  | | '_ ` _ \ / _ \ | | '_ \ / _ \
    | |  | | | | | | |  __/ | | | | |  __/
    |_|  |_|_| |_| |_|\___|_|_|_| |_|\___|
    Andrew Nite's zig zag timeline for bootstrap
    https://bootsnipp.com/snippets/featured/zigzag-timeline-layout
    Accessed last 7-6-2017
    Adjusted to accomadate the timeline not having the full view width for 768px+ screensizes
*/

.content-area img, .site-footer img {
    height: auto; /*Counters the UM Templates inherit call*/
}

.timeline {
    position: relative;
    padding:4px 0 0 0;
    margin-top:22px;
    list-style: none;
}

.timeline>li:nth-child(even) {
    position: relative;
    margin-bottom: 50px;
    height: 240px;
    right:-100px;
}

.timeline>li:nth-child(odd) {
    position: relative;
    margin-bottom: 50px;
    height: 240px;
    left:-100px;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
    min-height: 170px;
}

.timeline > li .timeline-panel {
  position: relative;
  float: left;
  width: 41%;
  padding: 0 10px 0 40px;
  text-align: right;
}

.timeline>li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li .timeline-image {
    z-index: 100;
    position: absolute;
    left: 50%;
    border: 7px solid #3b5998;
    border-radius: 100%;
    background-color: #3b5998;
    box-shadow: 0 0 5px #4582ec;
    width: 200px;
    height: 200px;
    margin-left: -100px;
}

.timeline>li .timeline-image h4 {
    margin-top: 12px;
    font-size: 10px;
    line-height: 14px;
}

/*
.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
}
*/
.timeline>li.timeline-inverted>.timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top:22px;
    margin-bottom: 4px;
    padding:0;
    color: #b3b3b3;
}

.timeline .timeline-heading h4.subheading {
  margin:22px 0 0 0;
  padding:0;
    text-transform: none;
    font-size:18px;
    color:#333333;
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
    margin-bottom: 0;
    color:#000000;    
}

/*Style for even div.line*/
.timeline>li:nth-child(odd) .line:before {
    content: "";
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 690px;
    width: 4px;
    height:340px;
    background-color: #3b5998;
    -ms-transform: rotate(-44deg); /* IE 9 */
    -webkit-transform: rotate(-44deg); /* Safari */
    transform: rotate(-44deg);
    box-shadow: 0 0 5px #4582ec;
}
/*Style for odd div.line*/
.timeline>li:nth-child(even) .line:before  {
    content: "";
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 450px;
    width: 4px;
    height:340px;
    background-color: #3b5998;
    -ms-transform: rotate(44deg); /* IE 9 */
    -webkit-transform: rotate(44deg); /* Safari */
    transform: rotate(44deg);
    box-shadow: 0 0 5px #4582ec;
}
/* Medium Devices, .visible-md-* */
@media (min-width: 992px) and (max-width: 1199px) {
  .timeline > li:nth-child(even) {
    margin-bottom: 0px;
    min-height: 0px;
    right: 0px;
  }
  .timeline > li:nth-child(odd) {
    margin-bottom: 0px;
    min-height: 0px;
    left: 0px;
  }
  .timeline>li:nth-child(even) .timeline-image {
    left: 0;
    margin-left: 0px;
  }
  .timeline>li:nth-child(odd) .timeline-image {
    margin-left: 0px;
  }
  .timeline > li:nth-child(even) .timeline-panel {
    text-align: left;
    left: 160px;
  }
  .timeline > li:nth-child(odd) .timeline-panel {
    text-align: right;
  }
  .timeline > li .line {
    display: none;
  }
  .timeline>li .timeline-image {
    width: 150px;
    height: 150px;
  }
  .timeline > li .timeline-panel {
    width: 50%;
    padding: 0 30px 0 10px;
  }
  ul.timeline {
    padding-left: 0;
  }
}
/* Small Devices, Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .timeline > li:nth-child(even) {
    margin-bottom: 0px;
    min-height: 0px;
    right: 0px;
  }
  .timeline > li:nth-child(odd) {
    margin-bottom: 0px;
    min-height: 0px;
    left: 0px;
  }
  .timeline>li:nth-child(even) .timeline-image {
    left: 0;
    margin-left: 0px;
  }
  .timeline>li:nth-child(odd) .timeline-image {
    left: 485px; /*520*/
    margin-left: 0px;
  }
  .timeline > li:nth-child(even) .timeline-panel {
    text-align: left;
	left: 170px;
  }
  .timeline > li:nth-child(odd) .timeline-panel {
    text-align: right;
  }
  .timeline > li .line {
    display: none;
  }
  .timeline>li .timeline-image {
    width: 150px;
    height: 150px;
  }
  .timeline > li .timeline-panel {
    width: 65%;
    padding: 0 10px 0 10px;
  }
  ul.timeline {
    padding-left: 0;
  }
}
/* Custom, iPhone Retina */
@media only screen and (max-width: 767px) {
  .timeline > li:nth-child(even) {    
    margin-bottom: 0px;
    min-height: 0px;
    right: 0px;
  }
  .timeline > li:nth-child(odd) {
    margin-bottom: 0px;
    min-height: 0px;
    left: 0px;
  }
  .timeline>li .timeline-image {
    position: static;
    width: 150px;
    height: 150px;
    margin-bottom:0px;
  }
  .timeline>li:nth-child(even) .timeline-image {
    float:left;
    left: 0;
    margin-left: 0;
  }
  .timeline>li:nth-child(odd) .timeline-image {
    float:right;
    left: 0px;
    margin-left:0;
  }
  .timeline > li:nth-child(even) .timeline-panel {
    width: 100%;
    padding: 0 0 20px 14px;
  }
  .timeline > li:nth-child(odd) .timeline-panel {
    width: 100%;
    padding: 0 14px 20px 0px;
  }
  .timeline > li .line {
    display: none;
  }
  .timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 0 20px 14px;
    text-align: left;
  }
  ul.timeline {
    padding-left: 0;
  }
}

/*
  _____                               _____       _ _                 
 |_   _|                             / ____|     | | |                
   | |  _ __ ___   __ _  __ _  ___  | |  __  __ _| | | ___ _ __ _   _ 
   | | | '_ ` _ \ / _` |/ _` |/ _ \ | | |_ |/ _` | | |/ _ \ '__| | | |
  _| |_| | | | | | (_| | (_| |  __/ | |__| | (_| | | |  __/ |  | |_| |
 |_____|_| |_| |_|\__,_|\__, |\___|  \_____|\__,_|_|_|\___|_|   \__, |
                         __/ |                                   __/ |
                        |___/                                   |___/ 

This section of CSS is for classes specific to the Image Gallery functionality.
*/

.image-thumb-gallery {
	position: absolute;
	background-repeat: no-repeat;
	background-position: 50%;
	background-color: #FFFFFF;
	background-size: cover;
}

/*
  ______          _               _            
 |  ____|        | |             | |           
 | |__ ___   ___ | |_ _ __   ___ | |_ ___  ___ 
 |  __/ _ \ / _ \| __| '_ \ / _ \| __/ _ \/ __|
 | | | (_) | (_) | |_| | | | (_) | ||  __/\__ \
 |_|  \___/ \___/ \__|_| |_|\___/ \__\___||___/
This section of CSS is based on an article by Hugo Giraudel (accessed 3/23/2017) from https://www.sitepoint.com/accessible-footnotes-css/
The purpose of this CSS is to create a footer like section that is accessible (allows easy travel between content to footnotes for that content)
*/

a.quietstyle:link {
    color: #555555 !important;
    text-decoration: none !important;
}

a.quietstyle:active {
    color: #555555 !important;
}

a.quietstyle:hover {
    color: #555555 !important;
}

a.quietstyle:visited {
    color: #555555 !important;
}

.in-section-footer {
  margin-top: 50px;
  border-top: 1px solid silver;
  font-size: 0.8em;
}

.in-section-footer ol {
    padding-left: 20px;
}

.in-section-footer :target {
    background: #fffff0;
    display: block;
    padding: 5px;
    border-radius: 7px;
}

/**
 * Initialiazing a `footnotes` counter on the wrapper
 */
article {
  counter-reset: footnotes;
}

/**
 * Inline footnotes references
 * 1. Increment the counter at each new reference
 * 2. Reset link styles to make it appear like regular text
 */
[aria-describedby="footnote-label"] {
  counter-increment: footnotes; /* 1 */
  text-decoration: none; /* 2 */
  color: inherit; /* 2 */
  cursor: default; /* 2 */
  outline: none; /* 2 */
}

/**
 * Actual numbered references
 * 1. Display the current state of the counter (e.g. `[1]`)
 * 2. Align text as superscript
 * 3. Make the number smaller (since it's superscript)
 * 4. Slightly offset the number from the text
 * 5. Reset link styles on the number to show it's usable
 */
[aria-describedby="footnote-label"]::after {
  content: '[' counter(footnotes) ']'; /* 1 */
  vertical-align: super; /* 2 */
  font-size: 0.5em; /* 3 */
  margin-left: 2px; /* 4 */
  color: blue; /* 5 */
  text-decoration: underline; /* 5 */
  cursor: pointer; /* 5 */
}

/**
 * Resetting the default focused styles on the number
 */
[aria-describedby="footnote-label"]:focus::after {
  outline: thin dotted;
  outline-offset: 2px;
}

/**
 * Visually hidden yet accessible content
 */
.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  visibility: hidden;
  opacity: 0;
}