/**
 * @file
 * Subtheme specific CSS.
 */

 .btn-primary {
    --bs-btn-color: var(--bs-light);
 }

 body {
	min-height: 100%;
	word-wrap: break-word;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 87.5%;
	line-height: 1.5;
  }

  .pdfcontainer {
	min-height: 16px;
	background: url(/themes/custom/tft_subtheme/images/pdficon_small.png) no-repeat left center;
	padding-left: 18px;
}

.odtcontainer {
	min-height: 16px;
	background: url(/themes/custom/tft_subtheme/images/odticon_small.png) no-repeat left center;
	padding-left: 18px;
}

#block-tft-bootstrap-search-form-narrow {
	display: none;
	width: 300px;
    margin: auto;
}


@media all and (max-width: 769px) {
	#block-tft-bootstrap-search-form-wide {
		display: none;
	}
	

	#block-tft-bootstrap-search-form-narrow {
		display: block;
	}
}


iframe {
	max-width: 100%;
}

.navbar-brand {
    padding: 5px;
}

.header .navbar {
    margin-bottom: 30px;
}

.site-footer {
    background-color: var(--bs-dark);
    padding: 15px 0;
}

.site-footer .block {
    border: 0;
}

nav .dropdown-menu {
    --bs-dropdown-border-radius: 0;
    --bs-dropdown-color: var(--bs-light);
    --bs-dropdown-bg: var(--bs-dark);
    --bs-dropdown-link-hover-bg: var(--bs-primary);
    --bs-dropdown-border-width: 0;
    a {
        color: var(--bs-light);
        text-decoration: none;
    }
} 

.nav-item:nth-last-of-type(1),
.nav-item:nth-last-of-type(2),
.nav-item:nth-last-of-type(3) {
    .dropdown-menu {
        --bs-position: end;
    }
    .dropdown-menu[data-bs-popper] {
        right: 0;
        left: auto;
    }
}