/*
Theme Name: Sankt Annæ Skole 2025
Theme URI: http://supertusch.dk/theme/sanktannae2025/
Description: Basically Bootstrap 5 Child Theme created for Sankt Annæ Skole 2025
Author: Supertusch
Author URI: http://supertusch.dk
Template: basically-bootstrap-5
Version: 1.0.0
Domain Path: /languages
Text Domain: sanktannae2025
*/

@font-face {
    font-family: 'gothamBold';
    src: url('assets/fonts/ufonts.com_gotham_bold-webfont.eot?#iefix') format('embedded-opentype'), 
         url('assets/fonts/ufonts.com_gotham_bold-webfont.woff') format('woff'), 
         url('assets/fonts/ufonts.com_gotham_bold-webfont.ttf')  format('truetype'),
         url('assets/fonts/ufonts.com_gotham_bold-webfont.svg#svgFontName') format('svg');
}
@font-face {
    font-family: 'gothamBook';
    src: url('assets/fonts/ufonts.com_gotham_book-webfont.eot?#iefix') format('embedded-opentype'), 
         url('assets/fonts/ufonts.com_gotham_book-webfont.woff') format('woff'), 
         url('assets/fonts/ufonts.com_gotham_book-webfont.ttf')  format('truetype'),
         url('assets/fonts/ufonts.com_gotham_book-webfont.svg#svgFontName') format('svg');
}

/* Colors */
:root {
	--black: #000000;
	--green: #00675a;
	--blue-green: #13465c;
	--grey: #ededed;
	--white: #ffffff;
	--yellow: #f1e7a3;
}

/* General */
a {
	color: var(--green);
	text-decoration: none;
}
body {
    font-family: arial;
}
h1 {
	font-family: gothambook;
	font-weight: 700;
	text-transform: uppercase;
	background-image: url('/wp-content/themes/sanktannae2025/assets/images/border.png');
    background-repeat: no-repeat;
    background-position: 0% 100%;
    padding-bottom: 10px;
}
h2 {
	font-family: gothambook;
	font-weight: 700;
	text-transform: uppercase;
	background-image: url('/wp-content/themes/sanktannae2025/assets/images/border.png');
    background-repeat: no-repeat;
    background-position: 0% 100%;
    padding-bottom: 10px;
}
h3,
h4 {
	font-family: gothambook;
}
.entry-content p {
	margin-bottom: 1.5rem;
}
main {
	padding-bottom: 4rem;
}
.navbar {
	justify-content: flex-end;
}
@media screen and (hover: hover) {
	a:hover {
		color: var(--blue-green);
	}
	main {
		min-height: 65vh;
	}
}
@media screen and (min-width: 1200px) {
    .h1, h1 {
        font-size: 2rem;
    }
    .h2, h2 {
        font-size: 1.5rem;
    }
}

/* Header */
header {
	padding: 2rem 0;
}

/* Navigation */
#menu-hovedmenu {
	border-top: 1px solid #a1a1a1;
    padding: 1rem 0;
    margin-top: 1rem;
}
.menu-item a {
	color: var(--black) !important;
	text-transform: uppercase;
	padding: 0 1rem !important;
}
.menu-item a:after {
	display: none;
}
.dropdown-menu {
	background: transparent;
	border: none;
	margin-left: 1rem;
	padding: 0;
}
.dropdown-menu .dropdown-menu {
	margin-left: 0;
}
.dropdown-menu.sub-menu.depth_1 {
	margin-left: 102%;
    margin-top: -37px;
}
.dropdown-menu a {
	background-color: rgba(241, 231, 163, 0.93);
    border-bottom: 0;
    color: var(--black);
    margin-bottom: 2px;
    line-height: normal;
    font-family: arial;
    padding: .5rem 1rem !important;
    text-transform: none;
}
.dropdown-item.active, .dropdown-item:active {
	background-color: rgba(241, 231, 163, 0.8);
}

@media screen and (hover: hover) {
	.dropdown-menu a:hover {
		background-color: rgba(241, 231, 163, 0.8);
		color: var(--green) !important;
	}
	.menu-item-has-children:hover > .dropdown-menu {
  		display: block;
	}
	.menu-item-has-children:hover > .dropdown-menu .menu-item-has-children {
		display: block;
		position: relative;
	}
}

@media screen and (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    justify-content: center;
    width: 100%;
  }
}

/* Front page */
.widgets-container {
	display: grid;
	grid-gap: 2rem;
	padding-bottom:40px;
}
.widget-item {
	align-items: center;
	/* aspect-ratio: 1 / 1; */
	background-color: #00675a;
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
	height: 300.66px;
}
.widget-item-0 {
	object-fit: cover;
}
.widget-item img,
.widget-item video {
  height: 100%;
  object-fit: cover;
  opacity: .2;
	position: absolute;
	transition: opacity .2s ease-in-out;
	width: 100%;
}
.widget-item a {
	align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  opacity: 1;
	transition: opacity .2s ease-in-out;
  width: 100%;
  z-index: 1;
}
.widget-overlay-heading {
	color: var(--yellow);
	font-family: "courier new";
  font-size: 1.875rem;
  font-weight: 700;
}
/* Sidebar */
.news-container {
	padding: 0 1rem;
}
.news-container h3 {
	border-bottom: 1px solid #a1a1a1;
	font-size: 1.5rem;
	padding-bottom: .5rem;
	text-transform: uppercase;
}
.bulletin-item {
	margin-bottom: 2rem;
}
.bulletin-item h4 {
	font-size: 1rem;
	text-transform: uppercase;
	background-image: url('/wp-content/themes/sanktannae2025/assets/images/border.png');
  background-repeat: no-repeat;
  background-position: 0% 100%;
  padding-bottom: 10px;
}
.bulletin-date {
	font-size: .875rem;
}
.bulletin-item img {
	margin: .5rem 0;
}
.bulletin-content {
	font-size: .875rem;
	margin-top: .5rem;
	line-height: 1.1;
}

@media screen and (hover: hover) {
	.widget-item a {
		opacity: 0;
		z-index: 0;
	}
	.widget-item img,
	.widget-item video {
		opacity: 1;
		z-index: 1;
	}
	.widget-item:hover a {
		z-index: 1;
		opacity: 1;
	}
	.widget-item:hover img,
	.widget-item:hover video {
		opacity: .2;
	}
}


@media screen and (max-width: 1399px) {
.widget-item {
	height:255.67px;
}
}
@media screen and (max-width: 1199px) {
.widget-item {
	height:696px;
}
}

@media screen and (max-width: 767px) {
.widget-item {
	height:516px;
}
}

@media screen and (min-width: 1200px) {
	.widgets-container {
		grid-template-areas: "a a b"
						"c d e";
		grid-template-columns: 1fr 1fr 1fr;
	}
	.widget-item-0 {
		/* aspect-ratio: auto; */
		grid-column: span 2;
	}
}

/* Pages */
.featured-image img {
	width: 100%;
}

/* Tables */
.entry-content table {
    border-bottom: 1px solid var(--grey);
    color: #757575;
    font-size: 12px;
    font-size: 0.857142857rem;
    line-height: 2;
    margin: 0 0 24px;
    margin: 0 0 1.714285714rem;
    width: 100%;
}
.entry-content td, .comment-content td {
    border-top: 1px solid var(--grey);
    padding: 6px 10px 6px 0;
}

/* People */
.person {
	border-top: 1px solid #e7e7e7;
	display: grid;
	grid-gap: 0 2rem;
	grid-template-columns: 1fr 4fr;
	padding-top: 1.5rem;
}
.person-description {
	list-style: none;
	padding-left: 0;
}
.person-description .label {
	font-style: italic;
}
.person-image {
	margin-bottom: 1rem;
}

.person-image img {
	width:100%;
}

/* Search */
.page-item.active .page-link {
	background-color: var(--green);
}
.page-link {
	color: var(--green);
}

/* Footer */
#page-footer {
	background-color: var(--blue-green);
	color: var(--white);
	padding: 4rem 0;
}
.some a {
	margin: 0 .5rem;
}
.some {
	justify-content: flex-start !important;
}
#page-footer a {
	color: var(--white);
}

@media screen and (min-width: 992px) {
	.some {
		justify-content: center !important;
	}
}