/*-------------
 	General
-------------*/

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-margin-top: 76px; /* height of header ... avoids targeted anchor to be covered by the header (nav bar) */
}

html{
    font: 18px 'Source Sans Pro', sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #555;
    scroll-behavior: smooth;
}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: cadetblue;
	cursor: pointer;
}

hr{
	width: 150px;
	height: 2px;
	background-color: cadetblue;
	border: 0;
	margin-bottom: 80px;
}

div.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: end;
}

details > summary {
    list-style: none;
    cursor: pointer;
}

/*-------------
 	Notes, tooltips
-------------*/

div.note {
    max-width: 500px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: .03em;
    background: rgba(95, 158, 160, 5%);
    box-shadow: 5px 5px 5px rgba(0,0,0,5%);
    border: 1px solid rgba(95, 158, 160, 50%);
    border-radius: 3px;

}

/* Tooltip container */
.tooltip {
  /* position: relative; */
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  /* width: 120px; */
  background-color: #fff;
  color: cadetblue;
  text-align: center;
  padding: 3px 3px;
  border: 1px solid;
 
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/*-------------
 	Sections
-------------*/


section{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 125px;
	padding-left: 100px;
	padding-right: 100px;
}


@media (max-width: 1000px){

	section{
		padding: 100px;
	}

}

@media (max-width: 600px){

	section{
		padding: 80px;
	}

}

section h3.title, h2.title{
	color: #414a4f;
	text-transform: capitalize; 
	font: bold 32px 'Jost', sans-serif;
	margin-bottom: 35px;
	text-align: center;
}

section h3.site-title{
	color: brown;
	text-transform: capitalize; 
	font: 42px 'Jost', sans-serif;
	font-weight: 600;
	margin-bottom: 55px;
	text-align: left;
	opacity: 0.8;
}

section > p{
	max-width: 800px;
	text-align: center;
	margin-bottom: 35px;
	padding: 0 20px;
	line-height: 2;
}

/*-------------
 	Navbars
-------------*/


.filter a, nav a{
    color: #111;
}

header nav a:hover{
    text-decoration: underline cadetblue 3px;
}

.bottom nav a:hover{
    text-decoration: overline cadetblue 3px;
}

.bottom {
    /* position: -webkit-sticky; /\* Safari *\/  */
    /* position: sticky; */
    position: fixed;
    bottom: 0;
    z-index: 5;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.bottom nav{
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    color: #000;
}

.filter {
    flex-basis: 55%;
}


header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000;
	padding: 35px 100px 15px;
	text-transform: uppercase;
	font-family: 'Jost', sans-serif;
	font-weight: 300;
	letter-spacing: 2px;
}

header h2{
    font-family: 'Jost', sans-serif;
    color: brown;
}

header nav{
    display: flex;
}

header nav li{
	margin: 0 15px;
}

header nav li:first-child{
	margin-left: 0;	
}

header nav li:last-child{
	margin-right: 0;	
}

.bottom nav li{
    margin-left: 10px;
}


header .active{
    text-decoration: underline cadetblue;
    text-decoration-thickness: 3px;
}


@media (max-width: 1000px){
	header{
		padding: 20px 50px;
	}
}


@media (max-width: 700px){
	header{
		flex-direction: column;		
	}

	header h2{
		margin-bottom: 15px;
	}
}



/*----------------
 	Home Section
----------------*/

.home{
	position: relative;
	justify-content: start;
	/* min-height: 100vh; */
	color: #000;
	text-align: center;
	background-repeat: repeat-y;
	background-size: 100% calc(100%);
	background-image: url("../img/avon-top.jpg");
	align-items: end;
	padding-bottom: 0px;
}

/*
.home hr{
	width: 50px;
	height: 1px;
	background-color: cadetblue;
	border: 0;
	margin: auto;
	margin-bottom: 30px;
	margin-top: 0px;
}
*/

.home h1{
	font: 44px 'Jost', sans-serif;
	margin-bottom: 20px;
	padding-bottom: 20px;
	opacity: 0.6;
	letter-spacing: 4px;
	color: brown;
}

.home p{
	text-align: end;
	margin-bottom: 15px;
	padding: 0 0px;
	line-height: 1.5;
}

/* .home .grid{ */
/*     align-items: center; */
/* } */

.home .grid li{
	padding: 0 30px;
	text-align: center;
}

.home .grid .small{
    flex-basis: 40%;
}

.home .grid .large{
    flex-basis: 60%;
    max-width: 600px;
}

/* .home img { */
/*     max-width: 500px; */
/* } */

@media (max-width: 1200px) {
    .home img {
	padding-bottom: 50px;
    }
}

@media (max-width: 800px){

	.home{
		min-height: 600px;
	}

	.home h1{
		font-size: 42px;
	}

	.home .grid .small{
	    flex-basis: 100%;
	}

	.home .grid .large{
	    flex-basis: 100%;
	}
}



/*-------------
 	Footer
-------------*/

/* footer{ */
/* 	display: flex; */
/* 	flex-direction: column; */
/* 	align-items: center; */
/* 	text-align: center; */
/* 	color: #fff; */
/* 	background-color: #414a4f; */
/* 	padding: 60px 0; */
/* } */

/* footer p{ */
/* 	font-size: 14px; */
/* 	color: rgba(255,255,255,0.6); */
/* 	margin-bottom: 10px; */
/* } */

/* @media (max-width: 700px){ */

/* 	footer{ */
/* 		padding: 80px 15px; */
/* 	} */

/* } */


/*-------------
 	Writing
-------------*/

.article {
  overflow: hidden;
  background: rgba(165, 42, 42, 1%);
  box-shadow: 5px 5px 5px rgba(0,0,0,5%);
  border: 1px solid rgba(165, 42, 42, 50%); /*rgba(0,0,0,9%);*/
  border-radius: 3px;
  margin-top: 20px;
  padding: 15px 20px;
  font-size: 17px;
  max-width: 800px;
}

.article h3 {
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-size: 22px;
}

.paddingBetweenCols td {
  padding: 0 15px;
}

.article-title {
    /* margin: 0 0 0.5rem 0; */
    font-weight: 600;
    font-size: 17px;
}

.container-articles {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1040px;

  margin: auto;
  padding: 0;
  /* gap: 3rem; */
}

.meta {
    font-weight: 400;
    font-size: 15px;
    /* margin-bottom: 10px; */
    padding-bottom: 10px;
    letter-spacing: .03em;
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    width: 100%;
    line-height: 1.8;
    /* border-bottom: 1px dashed rgb(165, 42, 42, 50%); */
}

.meta-left {
    flex-basis: 60%;
}

.kws {
    flex-basis: 40%;
}

.sep {
    padding-left:.5em;
    padding-right: .5em;
}

.article-journal {
    text-decoration: underline 2px;
    text-decoration-color: rgba(0,0,0,30%);
}


.kw, .lnk {
    align-content:center;
    justify-content:center;
    min-width:0;
    padding-left:2px;
    padding-right:2px;
    padding-top:2px;
    padding-bottom:2px;
    border: 1px solid;
    border-radius:3px;
    font-size:14px;
    text-decoration:none;
    vertical-align:middle;
    white-space:nowrap;
}

.kw {
    border-color:  rgba(0,0,0,9%);
}

.kw.active {
    border-color: cadetblue;
    color: cadetblue;
}

.kws, .filter {
    text-align: right;
}

.lnk {
    border-color: cadetblue;
}

.desc {
    padding-bottom: 10px;
}

.comments {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px dashed rgb(165, 42, 42, 50%);
    font-weight: 300;
}

#expand {
    max-width: 800px;
    text-align: center;
    margin-bottom: 40px;
}

