/* ===== Typography ===== */
:root {
  --brand-blue: #011f5b;
  --nav-bg: rgba(1, 31, 91, 0.85);
}

html, body { 
	color: #444;
}

body,
h1, h2, h3, h4, p {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

h1, h2 {
  font-weight: bold;
  font-size: 2em;
}

h3, h4 {
  font-weight: bold;
  font-size: 1.3em;
}

h2 {
  color: var(--brand-blue);
  width: 100%;
  font-size: 2.2em !important;
  padding: 10px 0;
  /* If using variable fonts, prefer width axis over font-stretch */
  /* font-stretch: 85%;  (left commented in case you need it) */
}

h2 a { color: var(--brand-blue); }
h2 a:hover { text-decoration: underline; }

/* ===== Global ===== */
.fullbody {
  background: #000 url("../images/template/bg.jpg") no-repeat;
  background-size: contain;
}

/* Pull the hero up under the bar */
.hero-image {
  position: relative;
  z-index: 0;
}

#hero {
  overflow: hidden;
  max-height: 200px !important;
  background-position: center;  /* Align background to the center */
  background-size: cover;  /* Ensure the image covers the div */
  background-repeat: no-repeat;  /* Prevent repeating the image */
}

.vert_container {
  position: relative;
  top: -106px;
}

/* ===== Nav / Header ===== */
.navbar {
  width: 100%;
  height: inherit !important;
  padding-right: 20px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  top: 150px;
}

#menu_1 {
  padding: 8px;
  text-align: left;
  font-size: 1em;
  max-width: 1200px;
}

#menu_1 a {
  padding-right: 30px;
  text-decoration: none;
  color: white;
}

#menu_2 {
  position: relative;
  z-index: 100;
  padding: 0 17px;
}

#top_ribbon {
  background: #990001;
  width: 100%;
  height: 40px;
  z-index: 2000;
  position: relative;
}

#nav {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.nav > li > a {
  margin: 0;
  line-height: 100px;
  text-transform: uppercase;
  padding: 20px;
}

.navbar-right {
  margin-right:0;
}


#main_nav .nav > li > a {
  padding: 3px 10px;
  margin: 0;
  border-radius: 0;
}

.navbar-collapse { padding: 0; }

/* Dropdowns */
.navbar-nav > li > .dropdown-menu {
  margin-top: 0;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 0;
}

.dropdown-menu > li {
  padding: 10px;
  border-bottom: 0;
}

.dropdown-menu > li:hover { background: #011f7b; }

.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #ddd;
  white-space: nowrap;
  text-transform: uppercase;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: white;
  text-decoration: none;
  background-color: #011f7b;
}

nav > .open > a:hover,
.nav > .open > a:focus {
  background: var(--nav-bg);
  color: white;
}

/* Header layout */
#header_container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  position: relative;
}

#header_social {
  position: relative;
  float: right;
}

#header_social p {
  text-align: right;
  padding: 0;
  margin: 0;
}

#header_social a {
  font-size: 3em;
  color: white;
  opacity: .8;
  padding: 0 10px;
}

#header_social p .fa { font-size: 75%; }

#header_social a:hover { opacity: 1; }

/* Title treatment */
#title_treatment h1 a {
  color: white;
  background: rgba(0, 0, 0, 0.5) !important;
  visibility: visible !important;
  font-weight: normal;
  font-size: .8em;
  padding: 2px 15px;
}

/* Social icons (dark) */
#topright #sociallinks a { margin: 4px; float: right; opacity: .85; }
#topright #sociallinks { text-align: left; margin-bottom: 5px; }
#topright #sociallinks a:hover { background-color: #f9f9f9; opacity: 1; }
.ico-linkedin-dark  { background-image: url(../../../images/template/ico-linkedin.png); }
.ico-instagram-dark { background-image: url(../../../images/template/ico-instagram.png); }
.ico-twitter-dark   { background-image: url(../../../images/template/ico-twitter.png); }
.ico-facebook-dark  { background-image: url(../../../images/template/ico-facebook.png); }
.ico-harvard-dark   { background-image: url(../../../images/template/ico-harvard.png); }

/* Logos */
#header_logo {
  position: absolute;
  text-align: left;
  opacity: .9;
}
#header_logo:hover { opacity: 1; }

#logo_left  { max-height: 149px; width: auto !important; }
#logo_right { max-height: 65px !important; }

header h1 {
  visibility: hidden;
  /* padding-left: 325px; */
}

/* ===== Body text blocks ===== */
.rss_title {
  background-color: #b3def5;
  font-weight: bold;
  font-size: 1.2em;
  color: #002d62;
  width: 100%;
  padding: 10px;
  font-style: italic;
}
.rss_title a { color: #002d62; }

/* ===== Footer ===== */
footer{
  background: #002d62;
  color: white;
  position: relative;
  top: -110px;
  border-top: 0;
  border-bottom: 0;
}

#footer_content li {
  padding: 15px 25px;
  text-decoration: none;
  color: #fff;
  font-size: .8em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 4px;
}

#footer_content li:hover { background-color: #2c76c7; }
#footer_content h2 { color: white; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
  #header_container {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
	
	.navbar{
		top: 105px;
	}

	#hero {
	min-height: 250px !important;
	background-position: bottom;  /* Align background to the center */
	}

  #topright {
    text-align: center;
    display: none;
  }

  #topleft { padding-top: 20px; }

  #logo_left {
    text-align: center;
    left: auto;
    max-height: 110px;
    top: auto;
  }

  #logo_left img {
    width: 40%;
    padding-top: 20px;
  }

  #header_social img { display: none; }
  #title_treatment { display: none; }
}
