Template:Wiki Loves Living Heritage/style.css

a, a:visited, a.external:visited, a:link, a.external:link, a.extiw:visited {
	color:#0E65C0;
}

a.external.free {
	word-break: break-word;
}

.tablerow {
	display: table-row;
}

.tablecell, .tableimg {
	display: table-cell;
	vertical-align: top;
	padding: 1rem 1rem 0 0;
}

.tablecell h3 {
	margin: 0;
    padding: 0;
}

.tableimg img {
	width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.contain img {
	object-fit: contain;
}

.cover img {
	object-fit: cover;
}

body.skin--responsive .tableimg img {
    height: 150px !important;
}

.subtitle {
	color: #666;
    font-size: 1rem;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
}

.width60 {
	width: 60%;
}

.single > div:first-child, .single > div:last-child {
	display:none;
}

.standalone {
	margin: 1em 0;
}

.blocks {
	display: flex;
    flex-direction: column;
    gap: 0.5rem;
	align-items: flex-start;
}

.blocks p {
	margin: 0;
}

.block {
	display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.smallbox h3 a, .smallbox h3 a:visited, .smallbox h3 a.external, .smallbox h3 a.external:visited {
	color: black;
}

.boximg {
	margin-bottom: 1em;
}

.boximg img {
	width: 100% !important;
	border-radius: 8px;
	height: 150px;
	object-fit: cover;
}

.articlerow {
    display: flex;
    align-items: start;
    justify-content: space-between;
    border-radius: 8px;
    gap: 0.5em;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5em;
}

.articlerow:hover {
	background: #f1f4f6;
}

.articlerow:hover .articlerowbody {
	display: initial;
}

.articlerowinfo {
	display: flex;
	gap: 1em;
    align-items: center;
    padding-right: 1em;
    width: 100%;
}

.articlerowsocial {
	display: flex;
    gap: 0.6em;
    align-items: center;
}

.articlerowimg {
    border-radius: 8px;
	align-self: flex-start;
}

.articlerowimg img {
	width: 70px;
    height: 70px;
    border-radius: 8px;
}
body.skin--responsive articlerowimg img {
    height: 70px !important;
}

.articlerowimg.photo img {
    object-fit: cover;
}

.articlerowimg.graphic img {
    object-fit: contain;
}

.articlerowtitles {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.articlerowtitle {
	font-weight:bold;
	font-family:'Montserrat',sans-serif;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1rem;
}

.articlerowdescription, .articlerowbody {
    color:#666;
}

.articlerowbuttons {
	display: flex;
	gap: 0.4em;
}

.articlerowbody {
	display: block;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin: 0 1em 0 1em;
	transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.articlerow:hover .articlerowbody {
	max-height: 500px; /* Set this to a height larger than the content */
	opacity: 1;
}

.createarticle {
	position: relative;
	border-radius: 8px;
}

.createarticle img {
	opacity:0.5;
	filter: grayscale(1);
}

.createarticle:hover img {
	opacity:1;
	filter: grayscale(0);
}

.createarticle:after {
	content: "+";
    left: 12px;
    top: -4px;
    position: absolute;
    font-size: 1.7rem;
    color:white;
}

.createarticle:hover:after {
	display:none;
}

.logos {
	display: flex;
    margin-bottom: 1em;
    gap: 2em;
    align-items: center;
}

.blog {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(219px,1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.blog > div:first-child {
/*	grid-column: span 2; */
}

.blog > div:last-child {
/*	display: none; */
}

.blog.manual > div:last-child {
	display: initial;
}

.blog * {
    box-sizing: border-box;
}

.blogbox {
	position:relative;
	height: 350px;
    width: 100%;
}

.bloglink > a > img {
	position: absolute;
    top: 0;
    width: 100%;
    height: 350px;
}

body.skin--responsive .bloglink > a > img {
    height: 350px !important;
}


.blogbackground {
    height: 350px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2em;
    box-sizing: border-box;
    justify-content: center;
}

.blogbackground .articlemeta {
    color: white;
}

.smallbox .articlemeta, .blogbackground .articlemeta {
	margin: 0;
}

.blogimage img.mw-file-element {
	width:100%;
	object-fit: cover;
    height: 350px;
    border-radius: 8px;
    filter: brightness(0.75);
}

.blogbackground h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    color: white;
}

.wideimage img {
	width: 100%;
    height: 100%;
}

.tallimage img {
	height: 100vh;
    width: auto;
}

.articlemeta {
	font-weight: bold;
	margin: 2em 0 1em;
	font-family: 'Montserrat',sans-serif;
}

.eventinfo {
	padding: 14px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-family: 'Montserrat',sans-serif;
}

.eventinfo .btn {
	margin-top: 0;
}

.some {
	display: flex;
    gap: 0.5em;
    align-items: center;
}

.somebox {
	display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

.small {
	font-size: small;
}

.new a:link, .new a:visited {
	color: #13456b;
}

.banner {
	position:relative;
	max-height: 450px;
	min-height: 200px;
    width: 100%;
    background-color: black;
    /* Hide overflowing imn link */
    overflow:hidden;
}
.bannerbackground {
	height: 100%;
	width: 100%;
	position:relative;
	display: flex;
	flex-direction: row;
    padding: 3rem 4rem;
    box-sizing: border-box;
    gap: 1em;
}

.bannertexts {
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    flex: auto 1 1;
    justify-content: center;
    gap: 1rem;
}

.bannerbody {
    font-size: 2rem;
    line-height: 1.3;
}

.banner.elementbanner .bannerbody {
	font-size: 1rem;
}
	

.bannertitle {
	font-weight: bold;
	font-size: 4rem;
}

.banner.elementbanner .bannertitle {
	font-size: 2.6rem;
}

.bannertime {
	font-size: 1rem;
    background: black;
    color: white;
    border-radius: 1em;
    margin-top: 1rem;
    padding: 0.1em 1em;
    width: max-content;
}

.bannersubtitle {
	font-weight: bold;
}

div.bannersubtitle a:link, div.bannersubtitle a:visited, div.bannersubtitle a:hover, div.bannersubtitle a:active {
  color: white;
}

.bannerimage {
    height: 100%;
}

.bannerimage > img {
	width: 100%;
    height: 100%;
    object-fit: contain;
}

.bannerlink > a > img {
	position: absolute;
    top: 0;
    width: 100%;
    height: 400px;
}

.bg-yellow {
	background: #F0BC00;
}

.emptylink, .emptylink img.mw-file-element {
	position:absolute; 
	width:100%;
	height:100%;
	top:0;
	left: 0;
	z-index: 1;
}

@media only screen and (max-width: 600px) {
	.bannerbackground {
		flex-direction: column;
    	padding: 1rem;
	}
	.bannertitle {
		font-size: 2rem;
	}
	.bannertexts {
		width: 100%;
	}
	.bannerbody {
		font-size: 1rem;
	}
}

@media only screen and (min-width: 601px) and (max-width: 900px) {
	.bannerbackground {
		padding: 2rem;
	}
	.bannertitle {
		font-size: 2.5rem;
	}
	.bannerbody {
		font-size: 1.3rem;
	}
}

kbd {
	font-family: sans-serif;
}

u {
    text-decoration: none;
    background: gold;
}

a u {
	background: none;
}

h1, h2/* inline */, h3, h4, h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    border-bottom: none;
}
.mw-heading1, .mw-heading2 {
	border-bottom: none;
}

h1:first-letter, h2:first-letter, h3:first-letter, h4:first-letter, h5:first-letter {
	text-transform: capitalize;
}

h1, .mw-body .mw-heading1 {
	font-size: 2rem !important;
	margin-top: 0;
}
h1 .mw-editsection { display: none; }

h2, .mw-body .mw-heading2 h2 {
	font-size: 1.7rem !important;
}

h3, .mw-body .mw-heading3 h3 {
	font-size: 1.4rem !important;
}

.blocks .mw-body h3, .blocks .mw-heading .mw-heading3, .blocks .mw-heading, .mw-body .mw-heading3 .blocks {
	padding-top: 0;
	margin: 0;
}

h4, .mw-body .mw-heading4 h4 {
	font-size: 1.1rem !important;
}

.alert {
	background: #f1f4f6;
    margin: 1em 0;
    padding: 1em;
    text-align: center;
    border-radius: 8px;
	display: flex;
    align-items: center;
    gap: 2em;
}

@media only screen and (max-width: 600px) {
	.alert {
	    flex-direction: column;
	}
}

.bi {
	display: flex;
    gap: 1.5em;
    align-items: center;
}

.hidelist > div:first-child, .hidelist > div:last-child  {
	display:none;
}

.round {
	border-radius: 12em;
    background: brown;
    display: flex;
    align-items: center;
}

.boxes {
	display:flex;
	flex-wrap: wrap;
	column-gap: 1.5rem;
	row-gap: 1.5rem;
	margin:2rem 0;
}

.grid {
	display:grid;
	gap: 1.5rem;
	margin:1.5rem 0;
}

.grid-150 {
	grid-template-columns: repeat(auto-fit,minmax(150px, 1fr));
}

.grid-250 {
	grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
}

.grid-300 {
	grid-template-columns: repeat(auto-fit,minmax(300px, 1fr));
}

.grid.listeria > div:last-child {
	display: none;
}

.grid * {
    box-sizing: border-box;
}

.box {
    border-radius: 8px;
    padding: 1.5rem;
}

.bluebox h2, .bluebox h3, .bluebox h4 {
	color: white;
}

.bluebox a.external, .bluebox a, .bluebox a.extiw, .btn a.external {
	background: none;
    padding: 0;
}

.bluebox a.external, .bluebox a, .bluebox a.extiw {
    color:white;
}

.bluebox a.extiw, .bluebox a {
	text-decoration:underline;
}

.box .mw-heading2 {
	margin-top: unset;
	padding-top: 0;
}
.box h2 { /* inline */
	line-height: 1.3;
}
.box h3 {
    margin-top: unset;
    padding-top: 0;
    line-height: 1.3;
}

/*
.box br {
	content:"";
}

.box br:after {
	content: " • ";
}
*/
.bluebox {
    background: #0E65C0;
}

.whitebox {
	background: #F1F4F6;
}

.contact {
    padding: 0.3em 0.6em;
    margin: 0.4em;
    background: white;
    border-radius: 0.5em;
    flex: 1 1 250px;
    min-width: 200px;
    max-width: 350px;
}

.contact .contacttitle {
	font-weight: bold;
}

.contact .contactrow {
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.divider {
	border-bottom: white 1px solid;
    color: #8dadcd;
    font-size: 0.9em;
    text-align: center;
    margin: 0.5em;
}

.section img {
	margin-right: 1em;
}

.third {
	flex: 1 1 26%;
    min-width: 250px;
}

.half {
    flex: 1 1 40%;
    min-width: 250px;
}


.full {
	flex: 1 1 100%;
}

.frame {
    display: flex;
    flex-wrap: wrap;
}

/*headerstyles */
.header {
	position:absolute;
	font-family: "Montserrat", sans-serif;
	top: 0;
	bottom: 0;
	width: 100%;
}

.activitybackground {
	height: 400px;
	width: 100%;
	position:relative;
}

.activitytitle {
	font-weight: bold;
    font-size: 1.5em;
}

.activitydate {
	font-weight: bold;
}
 
.activityspecs {
	text-transform: uppercase;
    font-weight: bold;
}

.headertitle {
    position: absolute;
    top:0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,.17) 50%,transparent);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.activity {
	position: absolute;
	width: 50%;
    top: 0;
}

.mainbox {
	left: 0;
}

.activitydata {
	position: absolute;
    bottom: 0;
    color: white;
    padding: 1.5em;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(0deg,rgba(0,0,0,.4),rgba(0,0,0,.17)50%,transparent);
}

.two {
    left: unset;
    right: 0;
}

/* Header styles for mobile screens */
@media only screen and (max-width: 800px) {
	.headertitle {
	    font-size: 4vw;
	}
}

@media only screen and (max-width: 600px) {
	.activity {
	position: relative;
	width: 100%;
	line-height: 1.4;
	}
	.activity .mainimage img.mw-file-element {
	height: 200px !important;
	}
	.articlerowinfo {
		flex-direction: column;
		align-items: start;
	}
}

.regions, .regions a:link, .regions a:visited {
	color: #7F888F;
    line-height: 1.3em;
}

.labellist {
	line-height: 1.3em;
	color: #666;
}

@media only screen and (max-width: 499px) {
	.smallbox {
    	max-width: unset;
	}
}

@media only screen and (min-width: 500px) {
	.smallbox {
    	max-width: 300px;
	}
}
.smallbox {
    padding: 0;
    flex: 1 1 200px;
    min-width: 150px;
}

body.skin--responsive .smallbox img {
	height: 150px !important;
}

.smallbox .logo {
	border-radius:8px;
	margin-bottom: 1em;
	text-align: center;
}

.smallbox .logo img {
	object-fit:contain;
	padding: 0.8em;
}

.smallbox .boxrow {
	line-height: 1.3;
/*	display: flex;*/
	gap: 0.5em;
	word-break: break-word;
}

.smallbox .boxrow img, .articlerowtitles img {
    border-radius: unset;
    width: 15px;
    height: unset;
    object-fit: unset;
}

body.skin--responsive .smallbox .boxrow img, .articlerowtitles img {
    height: unset !important;
}

.flag img {
	border: 0.1px solid #ccc;
}

.rowlogo > img {
	margin: 2px 5px 2px 0;
	width: 20px!important;
}

.smallbox h3 {
	line-height: 1.2em;
    font-size: 1.3em;
}

.subpages {
	display:none;
}

.bluebox p, .bluebox ul {
	color:white;
	font-size:1rem;
	list-style: disc;
}

.denselist ul {
	margin: 0;
    padding: 0;
    list-style: none;
}

.mainimage img.mw-file-element {
	width:100%;
	object-fit: cover;
	max-height:450px !important;
	min-height:200px;
}

.mainimage.top img.mw-file-element {
	object-position: top;
}

.mainimage.bottom img.mw-file-element {
	object-position: bottom;
}

.mainimage.contain img.mw-file-element {
	object-fit: contain;
}

.gallery img.mw-file-element {
	height: unset;
}

/*table properties */

.wikitable img.mw-file-element {
	height: unset;
	width: unset;
}

th a:visited, th a:link, th a.external:visited, th a.external:link {
	color: white;
	text-decoration: underline;
}

table.variable { 
	width: 100%;
}

.variable th {
	width: auto;
}

.btn {
	padding: 0.7rem 1.3rem;
    border-radius: 2rem;
    margin-top: 1rem;
    font-weight: bold;
    display: inline-block;
    font-family: 'Montserrat',sans-serif;
    white-space: nowrap;
}

.tight {
	padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    margin: 0.3em 0.1em;
    font-size: 0.9em;
}

.bluebox .btn, .whitebtn {
    color: #0E65C0;
    background: white;
}

.whitebox .btn, .bluebtn, .negbtn:hover, .bluebtn {
    color: white !important;
    text-decoration: none !important;
    background: #0E65C0;
}

.bluebox .btn:hover, .whitebtn:hover {
	background:none;
	outline: 2px solid white;
    outline-offset: -2px;
}

.whitebox .btn:hover, .negbtn, .bluebtn:hover {
	background:none;
	outline: 2px solid #0E65C0;
    outline-offset: -2px;
    color: #0E65C0;
}


.bluebox .btn:hover a, .whitebtn:hover a {
	color:white;
}

.bluebox .btn a, .whitebtn a {
	color:#0E65C0;
	text-decoration:none;
}

.whitebox .btn:hover a, .bluebtn:hover a, .bluebtn:hover a:link, .bluebtn:hover a:visited, .bluebtn a:hover, .negbtn a {
	color:#0E65C0 !important;
}

.whitebox .btn a, .bluebtn a, .bluebtn a:link, .bluebtn a:visited, .negbtn:hover a {
	color:white !important;
	text-decoration:none !important;
}

.numbers {
	display:flex;
    column-gap: 0.5em;
}

.pagenumber {
	border-radius: 2rem;
    font-weight: bold;
    background: none;
    outline-offset: -2px;
    color: #0E65C0;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagenumber:hover, .pagenumber.neg {
    background: #0E65C0;
    color: white;
}

.pagenumber.neg:hover {
	background:none;
	outline: 2px solid #0E65C0;
    outline-offset: -2px;
    color: #0E65C0;
}

.pagenumber:hover a {
    color: white;
}

.pagenumber.neg:hover a {
    color: #0E65C0;
}

th {
	width:8.3%;
}

.wikitable > * > tr > th {
	background-color:#0E65C0;
	color:white;
	border: 1px solid #ffffff;
    padding: 0.2em 0.4em;
}

.wikitable {
	background-color: #F1F4F6;
}

.wikitable > * > tr > td {
	border: 1px solid #ffffff;
    padding: 0.2em 0.5em;
}

.timeline td {
	vertical-align: bottom;
	line-height: 1.3em;
}

.inventorydata {
	display: flex;
    gap: 2em;
    margin: 1em 0 2em;
}

.inventorydata div {
	flex: 1 1 50%;
}