/* When the screen is greater than 500, set the contentResponsive */
@media screen and (min-width: 500px) {
   .contentResponsive {
   	margin-left: 6%;
   	margin-right: 6%;
   }
}
/* When the screen is greater than 600, set the contentResponsive */
@media screen and (min-width: 600px) {
   .contentResponsive {
   	margin-left: 8%;
   	margin-right: 8%;
   }
}
/* When the screen is greater than 800, set the contentResponsive */
@media screen and (min-width: 800px) {
   .contentResponsive {
   	margin-left: 10%;
   	margin-right: 10%;
   }
}
/* When the screen is greater than 1024, set the contentResponsive */
@media screen and (min-width: 1024px) {
   .contentResponsive {
   	margin-left: 13%;
   	margin-right: 13%;
   }
}
/* When the screen is greater than 1280, set the contentResponsive */
@media screen and (min-width: 1280px) {
   .contentResponsive {
   	margin-left: 13%;
   	margin-right: 13%;
   }
}
/* When the screen is greater than 1600, set the contentResponsive */
@media screen and (min-width: 1600px) {
   .contentResponsive {
   	margin-left: 13%;
   	margin-right: 13%;
   }
}

/* Responsive Images */
.img-responsive {
  width: 100%;
  height: 200px;
}

.img-responsive-map {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

 /* Add a black background color to the top navigation */
.topnav {
  background-color: #002147;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 10px 10px;
  text-decoration: none;
  font-size: 14px;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #4CAF50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 14px;
  border: none;
  outline: none;
  color: white;
  padding: 10px 10px;
  background-color: #002147;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  color: #444;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #444;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a gray background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #ccc;
  color: #444;  
}

/* Add a blue background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ccc;
  color: #444;  
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Search area on the nav bar */
.topnav .search-container {
  float: right;
}

.topnav input[type=text] {
  padding: 3px;
  margin-top: 7px;
  font-size: 14px;
  border: none;
  border-radius: 3px 0px 0px 3px;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;  
}

.topnav input[type=text]:focus {
  background: #ffffff;
}

.topnav .search-container button {
  float: right;
  padding: 3px 7px;
  margin-top: 7px;
  margin-right: 10px;
  border-radius: 0px 3px 3px 0px;
  background: #ddd;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.topnav .search-container button:hover {
  background: #ccc;
}

/* When the screen is less than 830 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon).  Anything less than 800 pixels will generally
be a mobile phone in portrait or landscape mode as well as tablets with smaller screen sizes */
@media screen and (max-width: 830px) {
  /* .topnav a:not(:first-child), .dropdown .dropbtn { */
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* When the screen is less than 830 pixels wide, the Search container shows under the top navigation
the Search container will show embedded in the top nav to the right of the Contact link on screen
resolutions greater than 830 pixels and will primarly show in this configuration on desktop computers */
@media 
only screen and (max-width: 830px) {
  .topnav .search-container {
    float: none;
  }
  .topnav .search-container input[type=text], .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 0px;
  }
  .topnav .search-container input[type=text] {
    border: 1px solid #ccc;  
  }  
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 830px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
} 

/* When the screen is less than 880 pixels wide, the Search container shows under the top navigation
the Search container will show embedded in the top nav to the right of the Contact link on screen
resolutions greater than 880 pixels and will primarly show in this configuration on desktop computers */
@media 
only screen and (max-width: 880px) {
  .topnav .search-container {
    float: none;
  }
  .topnav .search-container input[type=text], .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 0px;
  }
  .topnav .search-container input[type=text] {
    border: 1px solid #ccc;  
  }  
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 880px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
} 

/* When the screen is less than 1050 pixels wide, the Search container shows under the top navigation
the Search container will show embedded in the top nav to the right of the Contact link on screen
resolutions greater than 1050 pixels and will primarly show in this configuration on desktop computers */
@media 
only screen and (max-width: 1050px) {
  .topnav .search-container {
    float: none;
  }
  .topnav .search-container input[type=text], .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 0px;
  }
  .topnav .search-container input[type=text] {
    border: 1px solid #ccc;  
  }  
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1050px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
} 


/* Audio */

.audioStream1 {margin-left: 10px; margin-right: auto; background: none; border: none; color: #ffffff;}
.audioStream1:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}
.audioStream2 {margin-left: 10px; margin-right: auto; background: none; border: none; color: #ffffff;}
.audioStream2:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}
.audioStream3 {margin-left: 10px; margin-right: auto; background: none; border: none; color: #ffffff;}
.audioStream3:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}
.audioStream4 {margin-left: 10px; margin-right: auto; background: none; border: none; color: #ffffff;}
.audioStream4:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}

audio:hover, audio:focus, audio:active
{
-webkit-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
-moz-box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
box-shadow: 15px 15px 20px rgba(0,0, 0, 0.4);
-webkit-transform: scale(1.05);
-moz-transform: scale(1.05);
transform: scale(1.05);
}


audio
{
-webkit-transition:all 0.5s linear;
-moz-transition:all 0.5s linear;
-o-transition:all 0.5s linear;
transition:all 0.5s linear;
-moz-box-shadow: 2px 2px 4px 0px #006773;
-webkit-box-shadow:  2px 2px 4px 0px #006773;
box-shadow: 2px 2px 4px 0px #006773;
-moz-border-radius:7px 7px 7px 7px ;
-webkit-border-radius:7px 7px 7px 7px ;
border-radius:7px 7px 7px 7px ;
}

/* Responsive Image Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  margin-left: 0px;
  margin-right: 0px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  height: 90px;
  margin-bottom: 8px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

/* Responsive Image Grid */
.row-one {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0px;
  margin-left: 0px; 
  margin-right: 0px;
}

/* Create one equal columns that stacks on top of each other */
.column-one {
  flex: 100%;
  max-width: 100%;
  padding: 0 0px;
}

.column-one img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  height: 90px;
  margin-bottom: 8px;
}

/* Responsive layout - makes a one column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column-one {
    flex: 100%;
    max-width: 100%;
  }
}

/* Responsive layout - makes one column stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column-one {
    flex: 100%;
    max-width: 100%;
  }
}

.w3-breaking-news-link {text-decoration: none; color: #ffffff;}
.w3-breaking-news-link:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}

.w3-top-nav-buy-span {margin-left: 10px; margin-top: 12px; color: #ffffff;}
.w3-top-nav-buy-link {margin-left: 5px; margin-right:10px; text-decoration: none; color: #ffffff;}
.w3-top-nav-buy-link:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}

.w3-top-nav-listen-span {margin-left: 10px; margin-top: 12px; color: #ffffff;}
.w3-top-nav-listen-link {margin-left: 5px; margin-right:10px; text-decoration: none; color: #ffffff;}
.w3-top-nav-listen-link:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}

.w3-body-listen-span {margin-left: 10px; margin-top: 12px; color: #002147;}
.w3-body-listen-link {margin-left: 5px; margin-right:10px; text-decoration: none;}
.w3-body-listen-link:hover {text-decoration: underline; color: #3194e3; cursor: pointer;}

.w3-top-nav-donate-button {margin-top: 5px; margin-bottom: 5px; margin-right: 10px; border: 0; border-radius: 3px; height: 30px; width: 100px; background: #FF0000; color: #ffffff; float: right;}
.w3-top-nav-donate-button:hover {background-color: #757575; color: #ffffff; cursor: pointer;}

.w3-top-nav-link-radio-button {margin-top: 5px; margin-bottom: 5px; margin-right: 10px; border: 0; border-radius: 3px; height: 30px; width: 110px; background: #FF0000; color: #ffffff; float: right;}
.w3-top-nav-link-radio-button:hover {background-color: #757575; color: #ffffff; cursor: pointer;}

.w3-top-nav-sign-in-button {margin-top: 5px; margin-bottom: 5px; margin-right: 10px; border: 0; border-radius: 3px; height: 30px; width: 100px; background: #eee; color: #444; float: right;}
.w3-top-nav-sign-in-button:hover {background-color: #ccc; cursor: pointer;}

.w3-top-nav-sign-out-button {margin-top: 5px; margin-bottom: 5px; margin-right: 10px; border: 0; border-radius: 3px; height: 30px; width: 100px; background: #eee; color: #444; float: right;}
.w3-top-nav-sign-out-button:hover {background-color: #ccc; cursor: pointer;}

.w3-sub-header-link {margin-left: 0px; margin-right:0px; text-decoration: none; color: #ffffff;}
.w3-sub-header-link:hover {text-decoration: underline; color: #ffffff; cursor: pointer;}

.w3-body-link {margin-left: 0px; margin-right:0px; text-decoration: none; color: #002147;}
.w3-body-link:hover {text-decoration: underline; color: #757575; cursor: pointer;}

.w3-bottom-footer-link {margin-left: 0px; margin-right:0px; text-decoration: none; color: #ffffff;}
.w3-bottom-footer-link:hover {text-decoration: underline; color: #fdc800; cursor: pointer;}

.newsLocalLink {text-decoration: none; color: #002147;}
.newsLocalLink:hover {text-decoration: underline; color: #757575; cursor: pointer;}

.newsRegionalLink {text-decoration: none; color: #002147;}
.newsRegionalLink:hover {text-decoration: underline; color: #757575; cursor: pointer;}

/* Loading Spinner Modal Content */
.loading-spinner-modal
{
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 */
}

/* Loading Spinner Modal Content */
.loading-spinner-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 10px;  
  width: 310px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

.loading-spinner-modal-header {
  padding: 2px 12px;
  color: black;
  font-weight: bold;
}

.loading-spinner-modal-body {
  margin-top: 15px;
  padding: 2px 16px;
  text-align: center;
}

/* Side Nav Audio Player */

.player1 {
  width: 270px;
  height: auto;
  display: flex;
  border-radius: 5px;
  border: 1px solid #ffffff;
  margin-left: auto;
  margin-right: auto;
}

.player2 {
  width: 270px;
  height: auto;
  display: flex;
  border-radius: 5px;
  border: 1px solid #ffffff;  
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;  
}

.player3 {
  width: 270px;
  height: auto;
  display: flex;
  border-radius: 5px;
  border: 1px solid #ffffff;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;  
}

.player4 {
  width: 270px;
  height: auto;
  display: flex;
  border-radius: 5px;
  border: 1px solid #ffffff;  
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;  
}

.play-stop-button {margin-top: 5px; margin-bottom: 5px; margin-left: 10px; margin-right: 10px; border: 0; border-radius: 3px; height: 30px; width: 80px; background: #d2d2d2; color: #002147; float: right; font-size: 16px;}
.play-stop-button:hover {background-color: #757575; color: #ffffff; cursor: pointer;}
.w3-stream-link {color: #ffffff; text-decoration: none;}
.w3-stream-link:hover {color: #fe9781; cursor: pointer;}

/* The Side Nav Modal (background) */
.side-nav-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 */
.side-nav-modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 10px;  
  width: 94%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* The Side Nav Modal Close Button */
.side-nav-modal-close {
  color: #183982;
  float: right;
  font-size: 28px;
}

.side-nav-modal-close:hover,
.side-nav-modal-close:focus {
  color: #da251c;
  text-decoration: none;
  cursor: pointer;
}

.side-nav-modal-header {
  padding: 2px 12px;
  color: black;
}

.side-nav-modal-body {
  padding: 2px 16px;
}

.side-nav-modal-footer {
  padding: 2px 16px;
  color: black;
  text-align: left!important;
}

/* When the screen is greater than 500, set the modal */
@media screen and (min-width: 500px) {
   .side-nav-modal-content {
	width: 70%;
   }
}

/* When the screen is greater than 600, set the modal */
@media screen and (min-width: 600px) {
   .side-nav-modal-content {
	width: 70%;
   }
}

/* When the screen is greater than 800, set the modal */
@media screen and (min-width: 800px) {
   .side-nav-modal-content {
	width: 50%;
   }
}

/* When the screen is greater than 1024, set the modal */
@media screen and (min-width: 1024px) {
   .side-nav-modal-content {
	width: 40%;
   }
}
/* When the screen is greater than 1280, set the modal */
@media screen and (min-width: 1280px) {
   .side-nav-modal-content {
	width: 30%;
   }
}
/* When the screen is greater than 1600, set the modal */
@media screen and (min-width: 1600px) {
   .side-nav-modal-content {
	width: 30%;
   }
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  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 */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  border-radius: 10px;  
  width: 97%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

.modal-header {
  padding: 2px 12px;
  color: black;
  font-weight: bold;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;
  color: black;
  text-align: left!important;
}
