Template:Wiki Loves Living Heritage/style.css

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


.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;
}

.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;
}

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

.articlerow:hover {
	background: #f1f4f6;
}

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

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

.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;
    object-fit: cover;
}

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

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

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

.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: none;
	margin: 0 1em 1em 1em;
    transition: 1s;
}

.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;
}

.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 .image img, .blogimage a img {
	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;
	height: 450px;
    width: 100%;
    background-color: black;
}
.bannerbackground {
	height: 450px;
	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 a img {
	position:absolute; 
	width:100%;
	height:100%;
	top:0;
	left: 0;
	z-index: 1;
}

@media only screen and (max-width: 600px) {
	.bannerbackground {
		display: flex;
		flex-direction: column;
    	padding: 2rem;
	}
	.bannertitle {
		font-size: 2.5rem;
	}
	.bannertexts {
		width: 100%;
	}
	.bannerbody {
		font-size: 1.3rem;
		padding-top: 0.5em;
	}
	.bannerimage {
		width: 100%;
	    height: 70%;
	}
}

@media only screen and (min-width: 601px) and (max-width: 900px) {
	.bannertitle {
		font-size: 3rem;
	}
	.bannerbody {
		font-size: 1.5rem;
		padding-top: 0.5em;
	}
}

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-heading2 {
	border-bottom: none;
}

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

h1 {
	font-size: 2rem;
	margin-top: 0;
}
h1 .mw-editsection { display: none; }

h2 {
	font-size: 1.7rem;
}

h3 {
	font-size: 1.4rem;
}

h4 {
	font-size: 1.1rem;
}

.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-template-columns: repeat(auto-fit,minmax(150px, 219px));
}

.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;
	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 .image img, .activity .mainimage a img {
	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;
}

.smallbox {
    padding: 0;
    flex: 1 1 200px;
    min-width: 150px;
	max-width: 300px;
}

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

.smallbox .logo {
	border-radius:8px;
}

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

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

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

.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;
    margin-top: 0.6em;
}

.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 .image img, .mainimage a img {
	width:100%;
	object-fit: cover;
	height:450px !important;
}

.mainimage.top .image img, .mainimage.top a img {
	object-position: top;
}

.mainimage.bottom .image img, .mainimage.bottom a img {
	object-position: bottom;
}

.mainimage.contain .image img, .mainimage.contain a img {
	object-fit: contain;
}

.gallery .image img {
	height: unset;
}

/*table properties */

.wikitable .image img {
	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 {
    color: white;
    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;
}

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

.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 white;
    outline-offset: -2px;
}

.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%;
}