
@import url('https://fonts.googleapis.com/css2?family=Catamaran');
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/OpenSans.woff2") format('woff2');
}
:root  {
    --bs-card-border-radius: 0;
}

html, body {
    height: 100%; 
    min-height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
}

body {
    display:flex; 
    flex-direction:column;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

#page {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
}

main {
    flex: 1;
}

header {
    border-bottom: 2px solid #1e517b;
    flex: 0 1 auto;
}

header .header-container {
    background-color: #041e42;
    margin: auto;
}

header .logo-container .title {
  font-family: "Catamaran", Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  
  color:#1e517b;
  
  font-size: 1.75rem;
  overflow: hidden;
  padding-left: 1.25rem;
  margin: 0;
  line-height: 2.0625rem;
}
.main-section {
    display:flex;
    flex-flow:column;
    height: 100%;
}

.row.main-area {
    flex: 1 1 auto;
}

footer {
    flex: 0 1 40px;
    background-color: #041e42;
    text-align: left;
    color: #CCCCCC;
}
img {
	width: 100%;
	max-width: 100%;
	text-align: right;
}

.imageContainer .text-White {
    color:white;
    text-shadow: -1px 1px 0 #000,
}
.imageContainer .text-Black {
    color:black;
text-shadow: -2px 2px 0 #FFF,
}

.imageContainer .text-SiteBlue {
    color:#1e517b;
/*
    text-shadow: -2px 2px 0 #FFF,
        2px 2px 0 #FFF,
        2px -2px 0 #FFF,
        -2px -2px 0 #FFF;        
        */
}


.imageContainer .titleText {
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
}
.imageContainer .overlayText {
    font-size: 1.3rem;
    font-weight: 700;
}


.imageContainer {
  position: relative;
  text-align: center;
  color: white;    
}
.title-Left {
  position: absolute;
  text-align: left;
  top: 8px;
  left: 16px;

}
.title-Center {
  position: absolute;
  text-align: center;
  top: 2rem;
  left: 50%;
  transform: translate(-50%, -50%);    
}
.title-Right {
  position: absolute;
  text-align: right;
  top: 8px;
  right: 16px;    

}
.overlay-Left {
   position: absolute;
  text-align: left; 
  bottom: 8px;
  left: 16px;   
  padding-right: 4rem;
}
.overlay-Center {
  position: absolute;
  text-align: center;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, -50%);  
}
.overlay-Right {
  position: absolute;
  text-align: right;
  bottom: 8px;
  right: 16px; 
  padding-left: 4rem;
}

.navbar {
      color:#1e517b;
}
.nav-item {
	padding: 0 2rem 0 2rem;    
}

.nav-item.nav-link:hover,
.nav-item.nav-link:focus {
    background-color: #c8102e;
    color: white;
}

.nav-item-dd:hover,
.nav-item-dd:focus {
    background-color: #c8102e;
    color: white;
}

.nav-item-dd .nav-link {
    position: relative;
	font-size: 1.2em;
	color:#fff;
    margin-right: 0px;
}

.nav-item-dd .nav-link-dd-main, .nav-item-dd.dropdown .nav-link {
    margin-left: 0px;
    padding-left: 0px;
}

.carousel {
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-botttom: 4rem;
}
.carousel .carousel-caption {
    background-color: black;
    color: white;
    left: 0%;
    bottom: 0;
    padding-bottom: 5rem;
}

.carousel-item a {
    text-decoration: none;
}
.carousel .custom-caption {
  /* Position the caption relatively within the flow of the document (below the image) */
    background-color: black;
    color: white;

  position: relative;
    width: 100%;
    max-width: 100%;

  left: auto;
  right: auto;
  bottom: auto;
  padding-top: 1rem;
  text-align: center;
  min-height: 5rem;

}

.carousel .custom-caption h5 {
 text-decoration: none;   
}

/* Optional: Adjust default Bootstrap caption class to prevent conflict or use your custom class */
.carousel-caption {
  position: relative; /* Override Bootstrap's default 'absolute' positioning */
  left: auto;
  right: auto;
  bottom: auto;
  padding-top: 1rem;
  color: #000;
}

.carousel .carousel-item img {
  object-fit: cover;
  object-position: center;
  height: 50vh;
  overflow: hidden;
}
.carousel-control-prev, .carousel-control-next {
    background-color: #000;
    opacity: .5;
    width:5%;
}

.TitleFont {
    border-color: #003366;
    color: #041e42;
    opacity: 1;    
    font-weight: normal;
}
a.dbf-a, a.dbf-a:visited {
    color: #041e42;
    text-decoration: none;
    outline: 0;
}
.dropdown:hover > .dropdown-menu, 
.dropdown-toggle:focus + .dropdown-menu {
    display: block;
    margin-top: 0;
 }

.nav-item-dd-wrapper {
    position: relative;
} 
 
 .dropdown-rightalign, 
 .dropdown-rightalign.show {
     position: absolute;
     right: 0;
     left: auto;
     
 }

.dropdown-item:focus + .dropdown-submenu {
    display: block;
}

 
.nav-item .nav-link {
	font-size: 1.2em;
	color: #FFF;
}
.dropdown-item {
	font-size: 1.1em;
	color: #1e517b;
	color: rgba(30, 81, 123, 1)
}

/* Dropdown Sub-Menu items */
.dropdown-menu li {
  position: relative;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu {
    background-color: #041e42;
    color: white;
}
.dropdown-menu .dropdown-item,
.nav-link.dropdown-toggle.show {
    color: white;
}

.dropdown-menu li .dropdown-item:hover,
.dropdown-menu li .dropdown-item:focus {
    background-color: #c8102e;
    color: white;
}



.dropdown-menu > li:hover > .dropdown-submenu,
.dropdown-menu > li:focus > .dropdown-submenu {
  display: block;
}

.bottomParagraph3 {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
}

.button-text {
    font-size: 1.1rem;
    font-weight: 700;
    
}

.baseBGColor1 {
    background-color: rgb(69,132,186);
}
.baseBGColor2 {
    background-color: rgb(249,161,27);
}
.baseBGColor3 {
    background-color: rgb(77,179,208);
}
.baseBGColor4 {
    background-color: rgb(169,213,207);
}
.baseBGColor5 {
    background-color: rgb(202,215,235);
}
.baseBGColor6 {
    background-color: rgb(217,236,245);
}

.textColor1 {
    color: rgb(69,132,186);
}

.card {
    border-radius: 0px;
    border-color: #cccccc;
}
.card-header:first-child {
    border-radius: 0px;
}
.card-body-gray {
    color: #666666;
}

.companyResource {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,10%);
    width: 100%;

}

.big-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 75%;
    margin-top: 1rem;
}

.big-button-main {
    min-height: 22rem;
}
.big-button-sub {
    min-height: 16rem;
}
.big-button-holder {
    position: relative;
}

.big-button-color-1 {
    background-color: rgb(10,35,89);
    background-color: rgba(197,205,207,1);
    color:#1e517b;
}
.big-button-color-2 {
    background-color: rgb(10,35,89);
    background-color: rgba(55,123,145,1);

    color: #FFF;
}
.big-button-color-3 {
    background-color: rgb(10,35,89);
    background-color: rgba(127,166,175,1);
    color: #FFF;    

}

.button-color-1:hover, .button-color-2:hover, .button-color-3:hover, .button-color-4:hover, .button-color-5:hover,
.button-color-1:focus, .button-color-2:focus, .button-color-3:focus, .button-color-4:focus, .button-color-5:focus {
    background-color: rgb(50,50,50);
    color: white;
} 

div.breadcrumbs {
    margin: 0 0 0 0 !important;
    background-color: #fafafa;
}
div.breadcrumbs > div {
    padding-top: 5px;
    padding-bottom: 5px;
}

li.list-group-item {
    border: 0px;
    padding-top: 2px;
    padding-bottom: 1px;
}

ul.breadcrumbs {
  list-style: none;
}

/* Display list items side by side */
ul.breadcrumbs li {
  display: inline;
  font-size: 16px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumbs li+li:before {
  padding: 4px;
  color: black;
  content: ">>";
}

/* Add a color to all links inside the list */
ul.breadcrumbs li a {
  color: #0e52c1;
  text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumbs li a:hover {
  color: #01447e;
  text-decoration: underline;
}


/* accordiomn values */
.accordion-item {
    border: none;
}
.accordion-header {
    border-bottom: 2px solid #000;
    color: #000;
}
.accordion-body a, 
.accordion-body a:hover,
.accordion-body a:focus
{
    color: #1b7094;
    font-weight: 700;
}

.accordion-body {
    border-bottom: 2px solid black;
}

.accordion-button:hover,
.accordion-button:focus {
    color: #000;
    background-color: #d2d2d2;
}
.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #d2d2d2;
}
.accordion-body a div {
    border-bottom: 1px solid #ddd;
    padding: 3px;
}
.accordion-body a div:hover,
.accordion-body a div:focus
{
    background-color: #eee;
}

footer a, footer a:hover {
	color: #cccccc;
}

.skip-to-content-link {
  left: 50%;
  position: absolute;
  transform: translateY(-100%);
}

.skip-to-content-link {
  background: #000;
  color: white;
  height: 30px;
  left: 50%;
  padding: 8px;
  position: absolute;
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.skip-to-content-link:focus {
  transform: translateY(0%);
}

tr.previous td {
    background-color: #DDDDDD;
}


.fadeOutImage {
    opacity: 100%;
}

.imageContainer:hover .fadeOutImage ~ .overlayText, 
.imageContainer a:focus .fadeOutImage ~ .overlayText
{
    background-color: rgba(255,255,255,1) !important;
  transition: background-color 500ms;
}

.standard-bg {
    background-color: #041e42;
    color: white;
}

.text-justify {
    text-align: justify;
}

.column-stretch {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

fieldset {
    border: 2px solid #AAA;
}
legend {
    padding: .5rem;
    float: none;
    width: auto;
}

.search-category {
    background-color: #041e42;
}
.search-button {
    background-color: #041e42;
}

.header-image-menu {
    display: flex;
    justify-content: center; /* Horizontally centers the image */
    align-items: center;     /* Vertically centers the image */
    min-height: 200px;       /* Sets the minimum height for the container */
    /* Optional: Add a border to visualize the container */
    width: 100%;
    padding: 2em;
}

/* SBA Customizations */
.dbf-ul {
	list-style-type: none;
    margin-left: -10px;	
}
.dbf-ul-nopad {
	padding-left: 0px !important;     
}
.dbf-li {
	margin-bottom: 10px;
}
.dbf-h4 {
	display: inline-block;
	font-size: 1.2rem;
	margin-top: 7px;
	margin-bottom: 5px;
}
.dbf-bond-program {
	font-size: 1.1rem;
	display: block;
	margin-top: 7px;
	margin-bottom: 6px;
}
a.dbf-a, a.dbf-a:visited {
	color: #041e42;
	text-decoration: none;
	outline: 0;
}

@media only screen and  (min-width: 1500px) {
    .nav-item-dd .nav-link {
        font-size: 1.2rem;
    }
}
@media only screen and (max-width: 1200px) and (min-width: 992px) {
    .big-button {
        font-size: 1.5em;
    }
    .resourceDesc {
        font-size: 1.1rem;
    }
    .nav-item-dd.dropdown .nav-link {
        margin-right: 1rem;
        font-size: .9rem;
    }
    .nav-item-dd .nav-link {
        font-size: 1.1rem;
    }
    .companyResource {
        font-size: 1rem;
        margin-bottom: 2rem;
        
    }
    .imageContainer .titleText {
        font-size: 1.8rem;
        font-weight: 700;
        width: 100%;
        max-width: 100%;
    
    }
    .imageContainer .overlayText {
        font-size: 1rem;
        font-weight: 400;
    }
}
@media only screen and (max-width: 992px) {
    .nav-item.dropdown {
        padding: 0 0 0 0;
    }
    .nav-item.dropdown:hover,
    .nav-item.dropdown:focus {
        background-color: #c8102e;
        color: white;
    }
}

