/*
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src$=".svg"] {
    width: 100%;
  }
}
*/

/* --- Internet Explorer 10+ CSS here --- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.justify-content-center {
		text-align: center;
		display: block;
		width: 100%;
	}
	.header-brand {
		text-shadow: 0px 0px 5px #000;
    padding-top: 60px;
	}
  .shadow {
    box-shadow: none !important;
  }
  .navbar-nav {
    display: -ms-flexbox !important;
  }
}

@media (min-width: 992px){
	.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .75rem;
    padding-left: .75rem;
  }
	/* Testing for ISLD - Added 3 styles below for parent menu clickable issue */
	.dropdown:hover .dropdown-menu {
    display: block;
  }
	.dropdown-submenu {
    position: relative !important;
  }
	.dropdown-submenu:hover>.dropdown-menu {
    display: block !important;
  }
}

@media (min-width: 768px){
  .buttons-html5 {
    margin-bottom: -45px;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .navbar-expand-md .navbar-collapse {
    display: -ms-flexbox !important;
  }

}

@media(max-width:767px) {
  .site-branding, .header-brand {
    min-height: 100px;
    padding: 10px 0;
  }
  .navbar-nav .nav-link {
    padding-right: 10px;
    padding-left: 10px;
  }
  .navbar-nav {
    padding-top: 5px;
  }
  .navbar {
    padding: 5px;
  }
  .navbar-search {
    right: 15%;
    top: 5px;
  }
}

@media only screen and (max-width: 760px),(min-device-width: 768px) and (max-device-width: 1024px)  {
/* ------------ Mobile Table Styles ------------*/
	/* Force table to not be like tables anymore */
	 #no-more-tables table,
	 #no-more-tables thead,
	 #no-more-tables tbody,
	 #no-more-tables th,
	 #no-more-tables td,
	 #no-more-tables tr {
		 display: block;
	 }
	 /* Hide table headers (but not display: none;, for accessibility) */
	 #no-more-tables tr th {
		 position: absolute;
		 top: -9999px;
		 left: -9999px;
	 }
	 #no-more-tables tr {
		 border: 1px solid #888;
		 border-bottom: 5px solid #888;
	 }
	 #no-more-tables td {
		 /* Behave  like a "row" */
		 border: none;
		 border-bottom: 1px solid #888;
		 position: relative;
		 padding-left: 30%;
		 white-space: normal;
		 text-align:left;
	 }
	 #no-more-tables td:before {
		 /* Now like a table header */
		 position: absolute;
		 /* Top/left values mimic padding */
		 top: 6px;
		 left: 6px;
		 width: 45%;
		 padding-right: 10px;
		 white-space: nowrap;
		 text-align:left;
		 font-weight: bold;
	 }
	 /*  Label the data	 */
	 #no-more-tables td:before { content: attr(data-title); }
}

@media (min-width: 576px) {
  .social, .photo-cred {
    text-align: right;
  }
}

@media (max-width: 575px) {
  .header-brand {
    text-align: center;
  }
  img.logo {
    max-width: 200px;
  }
  .footer-navigation {
    text-align: center;
  }
  .social, .photo-cred, .footer-links {
    text-align: center;
  }
  .gsc-results-wrapper-overlay {
    width: 80% !important;
    padding: 10px !important;
  }
  .navbar-search {
    right: 5px;
    top: 5px;
  }
}
