/* Color of navlink (menypunkter) */
.navbar-dark .navbar-nav .nav-link,
.dropdown-item {
	color: #ffffff;
}

/* Color of the links BEFORE scroll */
.navbar-scroll .nav-link,
.navbar-scroll .navbar-toggler-icon,
.navbar-scroll .fa-bars,
.navbar-scroll .navbar-brand {
	color: #ffffff;
}

/* Color of the navbar BEFORE scroll */
.navbar-scroll,
.dropdown-menu {
	background-color: rgba(0, 0, 0, 0.25);
}

/* Color of the links AFTER scroll */
.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-toggler-icon,
.navbar-scrolled .fa-bars,
.navbar-scrolled .navbar-brand {
	color: #ffffff!important;
}

/* Color of the navbar AFTER scroll */
.navbar-scrolled {
	background-color: rgba(0, 0, 0, 0.4);
}

/* An optional height of the navbar AFTER scroll */
.navbar.navbar-scroll.navbar-scrolled {
	padding-top: 5px;
	padding-bottom: 5px;
}

/* Color and placement of the dropdown menu */
.dropdown-menu,
.dropdown-menu[data-mdb-popper] {
	background-color: rgba(0, 0, 0, 0.65);
	margin-top: 5px;
}

/* Square top on dropdown menu */
.dropdown-menu,
.dropdown-menu>li:first-child,
.dropdown-menu>li:first-child,
.dropdown-item {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* Color on hover of the dropdown menu */
.dropdown-menu li :hover {
	background-color: rgba(0, 0, 0, 0.2);
	color: hsla(0,0%,100%,.75);
}

/* Søkeboks */
.mask-search {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(24, 24, 16, .2);
	border-radius: 2em;
	backdrop-filter: blur(15px);
	border: 2px solid rgba(255, 255, 255, 0.05);
	background-clip: padding-box;
	box-shadow: 10px 10px 10px rgba(46, 54, 68, 0.03);
	z-index: 1;
}
.found-search-words {
	color: blue;
	font-weight: bold;
}

/*
@media (max-width: 992px) {
	.mask-search {
		top: 45px;
	}

}
@media (min-width: 992px) {
	.mask-search {
		bottom: 0;
	}
}
*/
/* Søkeresultater */
.autocomplete-custom-item-content {
	display: flex;
	flex-direction: column;
}

.autocomplete-custom-item-title {
	font-weight: 500;
}

.autocomplete-custom-item-subtitle {
	font-size: 0.8rem;
}

/* Forside - Skisporet, overstyr interaksjon med iframe og legg til onclick. */
#coverSkisporet {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	cursor: pointer;
}

/* Blå overskrift */
h4, h5 {
	color: #0275D8;
}

/* Elementer fra hytteboka */
.hyttebok-card {
	height: 100%;
}
.hyttebok-card .card-body {
	height: 15rem;
}
.hyttebok-card .card-text {
	overflow: hidden;
	text-overflow: ellipsis;
}
.hyttebok-card .card-footer {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	background-color: lightgrey;
	font-size: 0.7rem;
}

/* Flytt feilmelding litt høyere opp for ikke å forstyrre feltet nedenfor */
.invalid-feedback {
	margin-top: -1rem;
	display: block;
}

/* Legg rød ramme rundt wysiwyg ved feilmelding */
.is-invalid.wysiwyg {
	border: 1px solid red;
}

/* Kolonnebredde for knapper i handleliste og brukere*/
@media (min-width: 768px){
	.handlelisteKnapper {
		width: 15rem;
	}
	.brukereKnapper {
		width: 8.5rem;
	}
}
@media (max-width: 767px){
	.handlelisteKnapper {
		width: 6rem;
	}
	.brukereKnapper {
		width: 4rem;
	}
}

/* Høyde på kalender */
.fc tr div {
	max-height: none;
}
