body {
	overflow-y: auto;
	overflow-x: hidden;
	background: rgb(251, 251, 251);
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	padding: 40px 10px 10px 10px;
	text-align: center;
	border-top: 15px solid transparent;
	border-image-source: linear-gradient(to right, #3977ff, #3977ff);
	border-image-slice: 1;
}

body.dark {
	background: hsl(45 4.9% 16.1%);
	border-image-source: linear-gradient(to right, #5383EC, #315dba);
}

#searchContainer {
	z-index: 100;
	margin-top: 40px;
	background-color: transparent;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative
}

#clearSearchX {
	font-size: 28px;
	position: absolute;
	border-radius: 100px;
	right: 20px
}

#searchInput {
	border: none;
	font-size: 19px;
	font-weight: normal;
	padding: 12px 20px 11px 50px;
	background-color: transparent;
	border-width: 0 0 0 0;
	border-style: solid;
	border-color: transparent;
	border-color: rgba(0, 0, 0, 0.6);
	background-color: white;
	border-radius: 100px;
	background-image: url("../img/search.svg");
	background-size: 24px auto;
	background-position: 15px 50%;
	background-repeat: no-repeat;
	width: 155px;
	opacity: 100%;
	box-shadow: rgba(0, 0, 0, 0.06) 0px 15px 87px, rgba(0, 0, 0, 0.043) 0px 6.26664px 36.3465px, rgba(0, 0, 0, 0.035) 0px 3.35045px 19.4326px, rgba(0, 0, 0, 0.03) 0px 1.87823px 10.8938px, rgba(0, 0, 0, 0.024) 0px 0.997515px 5.78559px, rgba(0, 0, 0, 0.016) 0px 0.415088px 2.40751px;
}

.dark #searchInput {
	background-color: hsl(60 1.79% 22);
	outline: 1px solid hsl(60 4.48% 26.2)
}

#searchInput:focus, #searchInput.hasString {
	border-color: rgba(0, 0, 0, 1);
	width: 240px;
	opacity: 100%;
	background-position: 12px 50%;
}

#searchInput:focus::placeholder {
	opacity: 50%
}

#searchInput:hover {
	scale: 102.5%;
	opacity: 100%;
	cursor: pointer;
	border-color: rgba(0, 0, 0, 0.8);
}

#searchInput:hover input::placeholder{
	opacity: 0.4;
}

#searchInput:hover::placeholder {
	opacity: 100%;
}

#searchInput:focus:hover {
	cursor: text
}

#searchInput:focus:hover::placeholder {
	opacity: 50%;
}

#serpContainer {
	top: 70px;
	width: 550px;	
	border-radius: 12px;
	position: absolute;
	background-color: white;
	-webkit-box-shadow: 0px 4px 18px -2px rgba(0,0,0,0.4); 
	box-shadow: 0px 4px 18px -2px rgba(0,0,0,0.4);
	border: 1px solid rgba(0,0,0,0.2);
}

.dark #serpContainer {
	background-color: hsl(60 1.79% 22);
	border-color: hsl(60 4.48% 26.2)
}

#serpHeader {
	padding: 10px 15px;
}

#serpCounter {
	opacity: 0.4;
	margin-right: 0.5em
}

#appContainer {
	margin: auto;
	text-align: left;
	max-width: 1050px;
}

.listHeading, .wordString {
	text-transform: capitalize;
} 

.instruction {
	margin: 5px 0 5px 5px;
	font-size: 17px;
	font-weight: 500;
	color: black
}

.dark .instruction {
	color: hsl(60 5.5% 89.2%);
}

#layout {
	margin-top: 15px;
 	display: flex;
	flex-direction: row;
	overflow-x: scroll;
	overflow: visible;
}

#layout>div {
	flex: 1 1;
	box-sizing: border-box;
}

.wordString {
	white-space: nowrap;
}

header {
	display:flex;
	flex-direction: column;
	align-items: center;
}

header h1 {
	font-size: 32px;
    font-weight: 600;
    color: Black;
    letter-spacing: 0.4px;
    padding-left: 36px;
    background-size: 15%;
    background-image: url(../img/logo.svg);
    background-position: 0 46%;
}

.dark header h1 {
	color: hsl(60 5.5% 89.2%)
}

h1 {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 8px
}

#dictionaryCard {
	margin-right: 13px;
	min-height: 1000px;
}

#shortListCard {
	margin-left: 13px;
	position: relative;
}

#analysisCard {
	border: none;
	margin-top: 13px;
	margin-left: 13px;
}

.listHeading {
	font-size: 22px;
	font-weight: bold;
	margin: 15px 0 5px 0;
}

#dictionaryCard,
#longListCard,
#shortListCard,
#analysisCard {
	border-radius: 12px;
	background-color: rgb(255, 255, 255);
	border: 0 solid rgba(0,0,0,0.3);
	padding: 0;
	display: flex;
	flex-direction: column;
	min-width: 280px;
	box-shadow: rgba(0, 0, 0, 0.06) 0px 15px 87px, rgba(0, 0, 0, 0.043) 0px 6.26664px 36.3465px, rgba(0, 0, 0, 0.035) 0px 3.35045px 19.4326px, rgba(0, 0, 0, 0.03) 0px 1.87823px 10.8938px, rgba(0, 0, 0, 0.024) 0px 0.997515px 5.78559px, rgba(0, 0, 0, 0.016) 0px 0.415088px 2.40751px;
}

.dark #dictionaryCard,
.dark #longListCard,
.dark #shortListCard,
.dark #analysisCard {
	background-color: hsl(60 1.79% 22);
	outline: 1px solid hsl(60 4.48% 26.2);
	border-color: hsl(60 4.48% 26.2)
}

.listSection {
	padding-bottom: 20px
}

.listContainer {
	text-align: left;
	overflow-y: scroll;
	padding: 0 20px;
	padding-top: 15px;
	padding-bottom: 30px;
	border-top: 1px dashed hsla(0, 0%, 0%, 0.2)
}

.dark .listContainer {
	border-color: hsla(0, 0%, 0%, 0.2)
}

.listContainer h1:first-of-type {
	margin-top: 0
}

#longListCard {
	height: fit-content;
	min-height: 500px;
}

#shortListCard {
	height: fit-content;
}

#shortListCard .listContainer {
	flex-grow: 1;
	min-height: 140px
}

details>div {
	margin-top: 10px;
	margin-bottom: 10px
}

details h3 {
	margin: 15px 0 5px 0;
	font-size: 14px;
	font-weight: 500;
}

details summary {
	padding: 0 20px;
	cursor: pointer;
	font-weight: 400;
	font-size: 16px;
}

details p {
	margin-top: 10px;
	font-size: 15px;
	line-height: 133%;
	font-weight: normal;
	opacity: 0.8;
    color: #4a5568;
	padding: 0 20px
}

.dark details p {
	color: hsl(5 7.14% 89.0);
}

.wordContainer {
	margin-left: -20px;
	margin-right: -20px
}
.wordContainer.isExpanded {
	background-color: hsla(0, 0%, 0%, 0.04);
}

.wordContainer.isExpanded>.word{
	background-color: hsla(0, 0%, 0%, 0.04);
}

.dark .wordContainer.isExpanded>.word,
.dark .wordContainer.isExpanded {
	background-color: hsla(0, 0%, 0%, 0.04);
}

.dark .wordDetail {
	border-color: hsla(0, 0%, 0%, 0.05)
}

.synonymCategory {
	text-transform: uppercase;
	font-size: 13px
}
.wordDetail {
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 35px;
	padding-right: 20px;
	display: block;
	padding-bottom: 20px;
	margin-bottom: 10px;
	border-bottom: 2px solid hsla(0, 0%, 0%, 0.05)
}



h5 {
	padding: 20px 0 5px 0;
	font-weight: bold
}

.isInLongList.word,
.isInShortList.isInLongList {
	font-weight: bold;
}

.isInLongList {
	font-size: 16px;
	height: 26px;
}

label * {
	pointer-events: none;
}

.emptyList {
	text-align: center;
	margin-top: 20px;
	padding: 25px 0;
	background-image: url("../img/left.png");
	background-size: 20px;
	background-position: 50% 00%;
    font-size: 15px;
    line-height: 133%;
    font-weight: normal;
    opacity: 0.7;
    color: #4a5568;
}

.dark .emptyList {
	color: hsl(41.54 6.88% 62.9);
}

.listSection h4 {
	margin-bottom: 5px;
	padding-left: 5px;
	text-transform: capitalize;
	font-size: 16px;
	font-weight: 600;
}

button.synonyms:disabled {
	visibility: hidden;
}

button.synonyms {
	flex: 0 0 36px;
	background-image: url("../img/twisty.svg");
	background-size: auto auto;
	background-position: 50% -16px;
	height: 25px;
	position: relative;
	left: 0px;
	margin-left: 10px;
	opacity: 0.5;
}

.isExpanded>.word>button.synonyms {
	background-position: 50% 9px;
}

button.synonyms:hover {
	background-color: hsla(0, 0%, 0%, 0.05);
	opacity: 1
}

.dark button.synonyms:hover {
	background-color: hsla(0, 0%, 0%, 0.05);
}


button.remove {
	pointer-events: auto;
	flex: 0 0 36px;
	margin-right: 10px;
	text-align: center;
	height: 28px;
	cursor: pointer;
	opacity: 0.5;
	font-size: 18px
}

button.remove:hover {
	background-color: hsla(0, 0%, 0%, 0.05);
	opacity: 1
}

.dark button.remove:hover {
	background-color: hsla(0, 0%, 0%, 0.05);
}

button.addToList {
	position: absolute;
	right: 0;
	flex: 0 0 auto;
	margin-right: 10px;
	text-align: center;
	height: 28px;
	cursor: pointer;
	opacity: 0.5;
	font-size: 14px;
	padding: 0 10px;
	border-radius: 100px;
}

button.addToList:hover {
	background-color: hsla(0, 0%, 0%, 0.05);
	opacity: 1
}

.dark button.addToList:hover {
	background-color: hsla(0, 0%, 0%, 0.05);
}

#searchButtonContainer {
	display: flex;
    flex-direction: row;
    flex-shrink: 1;
}

#searchButtonContainer>button.addToList  {
	display: inline-block;
	position: relative
}

.popover {
	position: relative
}

.popover>.content {
	display: none;
	width: 200px;
	position: absolute;
	color: white;
	bottom: 20px;
	left: -20px;
	padding: 10px 15px;
	background-color: hsla(0, 0%, 0%, 0.7);
	border-radius: 5px;
	-webkit-box-shadow: 0px 4px 18px -2px rgba(0,0,0,0.4); 
	box-shadow: 0px 4px 18px -2px rgba(0,0,0,0.4);
	text-align: left;
}

.content h1 {
	font-size: 15px;
	margin-bottom: 5px;
}

.content p {
	font-size: 14px;
	margin-bottom: 5px
}

.content a {
	display: block;
	margin-top: 10px;
	color: rgb(198, 198, 198);
}

.content a:hover {
	color: rgb(255, 255, 255);
}

.popover:hover>.content {
	display: block;
}

button.listAction {
	cursor: pointer;
	font-weight: normal;
	padding: 5px 15px 5px 15px;
	font-size: 14px;
	text-align: left;
	color: black;
	position: relative;
	border-radius: 100px;
}

.dark button.listAction {
	color: hsl(60 4.48% 26.2);
}

button.listAction:disabled {
	opacity: 0.4
}

button.listAction:hover {
	background-color: rgba(0,0,0,0.04);
}

.dark button.listAction:hover {
	background-color: rgba(0,0,0,0.04);
}

.copyConfirm {
	font-weight: bold;
	margin-left: 5px;
	visibility: hidden;
}

.about {
	font-size: 16.5px;
	line-height: 150%;
	color: #4a5568;
	opacity: 0.8;
	text-align: center;
	width: 70%;
	font-weight: 400;
}

.dark .about {
	color: hsl(5 7.14% 89.0);
}

details {
	padding: 15px 0 10px;
}

.vers {
	font-size: 18px;
	font-weight: normal;
	margin-left: 0.5em
}

.remove:hover, .synonyms:hover {
	opacity: 1;
}

.remove>*, .synonyms>* {
	pointer-events: none
}

select#sortSelector,
select#dictionarySelector {
	font-size: 18px;
	padding-top: 25px;
	padding-left: 15px;
	padding-bottom: 10px;
	margin-top: 10px;
	margin-bottom: 5px;
	background-color: rgba(0,0,0,0.04);
	background-image: url("../img/arrow.svg");
	background-size: auto 8px;
	background-position: 93% 50%;
	outline: 1px solid rgba(0,0,0,0.08);
	background-repeat: no-repeat;
	border-radius: 12px;
	font-weight: 500;
}

.analysisItem select {
	font-size: 15px;
	padding-top: 10px;
	padding-left: 15px;
	padding-bottom: 10px;
	background-color: rgba(0,0,0,0.04);
	background-image: url("../img/arrow.svg");
	background-size: auto 6px;
	background-position: right 12px top 50%;
	background-repeat: no-repeat;
	outline: 1px solid rgba(0,0,0,0.08);
	border-radius: 8px;
	font-weight: 300;
	width: calc(100% - 45px);
	display: inline-block;
	vertical-align: baseline;
	margin-top: 5px;
}

.dark select#sortSelector,
.dark select#dictionarySelector,
.dark .analysisItem select {
	background-color: rgba(255, 255, 255, 0.04);
	outline: 1px solid rgba(255, 255, 255, 0.1)
}

select#sortSelector:hover,
select#dictionarySelector:hover,
.analysisItem select:hover {
	background-color: rgba(0, 0, 0, 0.08);
	outline: 1px solid rgba(0, 0, 0, 0.15)
}

.analysisItem {
	margin: 22px 0 22px 0
}

.analysisItem label{
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 600;
	width: 100%
}

select:hover {
	background-color: rgba(0,0,0,0.1);
}

.dark select:hover {
	background-color: rgba(0,0,0,0.06);
}

.buttonContainer {
	position: relative;
}

.buttonContainer label {
	text-transform: capitalize;
	top: 18px;
	left: 15px;
	position: absolute;
	font-size: 13px;
	z-index: 10;
	color: #4a5568;
    opacity: 0.8;
	font-weight: normal;
	pointer-events: none;
	letter-spacing: 0.02em;
}

.dark .buttonContainer label {
	color: hsl(5 7.14% 89.0);
}

.dictionaryDescription {
	font-weight: normal;
	font-style: normal;
	line-height: 1.2;
	font-size: 14px;
	margin: 0 0 10px 0;
	padding: 0 15px 0px 15px;
}

.dictionaryDescription a {
	opacity: 0.8;
	text-decoration: underline;
	display: inline;
}

.dictionaryDescription a:hover {
	opacity: 1;
}

.dictionaryDescription p,
.analysisInstructions {
    font-size: 15px;
    line-height: 133%;
    font-weight: normal;
    opacity: 0.8;
    color: #4a5568;
}

.dictionaryDescription p {
	display: inline;
}

.analysisInstructions {
    padding-left: 20px;
    padding-right: 20px;
    display: block;
}

.dark .dictionaryDescription p {
    color: hsl(41.54 6.88% 62.9);
}

.word {
	display: flex;
	position: relative;
	flex-direction: row;
	align-items: center;
	cursor: pointer;
}

.word input {
    position: absolute;
	left: 55px;
	bottom: 9px;
	pointer-events: none;
	margin: 0;
	cursor: pointer;
}

input::placeholder {
	color: #4a5568;
	opacity: 0.7;
  }

.word label.wordString {
	padding: 6px;
	padding-left: 30px;
	font-weight: normal;
	font-size: 17px;
	flex-grow: 1
}

.word label.wordString:hover {
	background-color: hsla(0, 0%, 0%, 0.05);
}

.dark .word label.wordString:hover {
	background-color: hsla(0, 0%, 100%, 0.05);
}

#dictionaryCard .word label.wordString {
	margin-right: 10px
}

#shortlistCardList>.wordContainer>.word>label.wordString {
	padding-left: 10px;
	cursor: default;
}

#search .wordString {
	padding-left: 10px
}

#search .word label.wordString:hover {
	cursor: default;
	background-color: transparent
}

#shortlistCardList>.wordContainer>.word>label.wordString:hover {
	background-color: transparent
}

#longlistCardList>.wordContainer>.wordDetail label.wordString {
	padding-left: 10px;
	cursor: default;
}

#longlistCardList>.wordContainer>.wordDetail label.wordString:hover {
	background-color: transparent
}

label, label *, button, button *, select, select * {
	cursor: pointer
}

svg {
	background-size: 20px 20px;
	width: 20px;
	height: 20px
}
.cardHeader {
	padding: 15px 20px 10px 20px;
	line-height: 1.25;
	font-size: 15px;
	font-weight: bold;
}

.metaData {
	margin-left: 0.5em;
	font-size: 80%;
	opacity: 0.55;
}

footer {
	margin-top: 70px;
	padding-bottom: 10px;
	text-align: center;
	font-size: 14px;
	color: rgb(26, 32, 44)
}

.dictionaryDescription a {
	color: rgb(26, 32, 44);
	text-decoration: underline;
	margin-left: 0.3em;
}

.dark .dictionaryDescription a,
.dark a {
	color: rgb(26, 32, 44);
}

a {
	color: rgb(26, 32, 44);
	text-decoration: none
}

.dark .dictionaryDescription a,
.dark a {
	color: hsl(5 7.14% 89.0);
}

a:hover {
	cursor: pointer;
	text-decoration: underline;
}


#analysisList {
	margin-top: 15px;
	border-top: 1px dashed hsla(0, 0%, 0%, 0.3);
	padding: 0 20px;
}

.dark #analysisList {
	border-color: hsla(0, 0%, 100%, 0.3);
}

.analysisItem label {
	margin-top: 15px;
}

button.promptCopy {
	background-image: url('../img/copy.svg');
	background-position: 60% 50%;
	background-repeat: no-repeat;
	background-size: 19px;
	margin-left: 7px;
	height: 36px;
	width: 36px;
	border-radius: 100px;
	outline: 1px solid hsla(0, 0%, 0%, 0.15);
	background-color: hsla(0, 0%, 0%, 0.06);
	display: inline-block;
	vertical-align: middle;
	stroke: #e0e0e0;
	position: relative;
}

.dark button.promptCopy {
	background-color: #e0e0e0;
	stroke: #e0e0e0;
}

button.promptCopy .localConfirmation {
	z-index: 10;
    top: -37px;
    width: max-content;
    position: absolute;
    background-color: black;
    color: white;
    padding: 8px 16px;
    display: block;
    left: -110px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
}

.dark button.promptCopy .localConfirmation {
    background-color: black;
    color: white;
}

button.promptCopy:hover {
	scale: 102.5%;
	outline-color: hsla(0, 0%, 0%, 0.2);
	background-color: hsla(0, 0%, 0%, 0.1);
}

.dark button.promptCopy:hover {
	background-color: #d0d0d0;
}

button.promptCopy:disabled {
	opacity: 0.4
}

#sponsored, #tipButton {
	display: none
}

#codeEntry {
	text-align: left;
	margin-top: 70px
  }

  #codeEntry input {
	text-align: left;
	font-size: 24px;
	padding: 10px 15px;
	border: none;
	letter-spacing: 3px;
	margin-bottom: 10px;
	width: 350px;
	border-radius: 10px;
	box-shadow: rgba(0, 0, 0, 0.06) 0px 15px 87px, rgba(0, 0, 0, 0.043) 0px 6.26664px 36.3465px, rgba(0, 0, 0, 0.035) 0px 3.35045px 19.4326px, rgba(0, 0, 0, 0.03) 0px 1.87823px 10.8938px, rgba(0, 0, 0, 0.024) 0px 0.997515px 5.78559px, rgba(0, 0, 0, 0.016) 0px 0.415088px 2.40751px;
  }

  #codeEntry button {
	margin-left: 10px;
	transform: rotate(180deg) translateY(-4px);
	border-radius: 100px;
	font-size: 26px;
	text-indent: -100000px;
	display: inline-block;
	background-image: url("../img/back.svg");
	background-size: 20px auto;
	background-position: 15px center;
	padding: 13px 14px 8px 34px;
	background-color: rgba(0, 0, 0, 0.06);
	outline: 1px solid rgba(0, 0, 0, 0.15)
  }

  #codeEntry button:hover {
	background-color: rgba(0, 0, 0, 0.15);
	outline-color: rgba(0, 0, 0, 0.3)
  }

  .dark #codeEntry button {
	background-color: #bfc4cb
  }

  #codeEntry input::placeholder {
	font-size: 20px;
	letter-spacing: 0;
  }

  .requestCode {
	padding: 10px 15px;
    transform: translateY(-4px);
    position: relative;
	font-size: 14px;
	opacity: 0.7;
  }

  a.requestCode {
	text-decoration: underline;
  }

  a.requestCode:hover {
	opacity: 1;
  }

  .noLicense {
	margin-top: 300px
  }

  #returnToTop {
	display: none;
	position: fixed;
	background-color: white;
	outline: 1px solid rgba(0, 0, 0, 0.1);
	color: black;
	width: 150px;
	font-weight: 500;
	padding: 12px 0;
	border-radius: 100px;
	bottom: 50px;
	left: calc(50% - 75px);
	margin: auto;
	box-shadow: rgba(0, 0, 0, 0.06) 0px 15px 87px, rgba(0, 0, 0, 0.043) 0px 6.26664px 36.3465px, rgba(0, 0, 0, 0.035) 0px 3.35045px 19.4326px, rgba(0, 0, 0, 0.03) 0px 1.87823px 10.8938px, rgba(0, 0, 0, 0.024) 0px 0.997515px 5.78559px, rgba(0, 0, 0, 0.016) 0px 0.415088px 2.40751px;
  }

  #returnToTop:hover {
	scale: 102.5%
  }

  #analysisCard .analysisContent {
	display: none;
  }

  #analysisCard.visible .analysisContent {
	display: block;
  }

  #analysisCard .instruction {
	padding: 15px 15px 13px 20px;
	cursor: pointer;
	background-image: url(../img/twisty.svg);
    background-size: 16px auto;
    background-position: right 22px top -10px;
  }

  #analysisCard .instruction * {
	cursor: pointer;
  }

  #analysisCard.visible .instruction {
	background-position: right 22px top 23px;
  }

  .instruction img {
    height: 25px;
    width: 25px;
    margin-left: -5px;
    margin-right: 7px;
    vertical-align: text-bottom;
	opacity: 0.7;
}