*{
  margin:0;
  padding:0;
  font-family: Arial, Helvetica, sans-serif;
  font-stretch: expanded;
}

#abc{
    display: flex;
    flex-direction: column;
    width:100%;
    background-image: url("/assets/images/ceann_sibeal.jpg");
    height: 30vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
nav{
  width: 100%;
  height: 15px;
  background-color: transparent;
  line-height: 25px;
}
nav ul{
  float: right;
  margin-right: 20px;
}
nav ul li{
  list-style-type: none;
  display: inline-block;
  transition: 0.7s all;
}
nav ul li:hover{
  background-color: lightsteelblue;
  border-radius: 10px;
  transform: scale(1.25);
}
nav ul li a{
  text-decoration: none;
  color: white;
  padding: 30px;
}
.bosca {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 5px;
    height: fit-content;
    position: relative;
    background-color: lightyellow;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #333;
    border-radius: 5px;
    margin-top: 8em;
}
#cuardach {
    position: relative;
    width: 98%;
    margin: 0 auto;
    background-color: rgb(247, 245, 245);
    border: 2px solid #999999;
    outline: none;
    border-radius: 5px;
    padding: 5px 35px;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    background-image: url('/assets/images/cuardach.png');
    background-position: 5px 5px;
    background-repeat: no-repeat;
    transition: transform .2s;  
}
#cuardach:focus {
    background-color: white;
    border-color: #333333;
    box-shadow: 0px 0px 25px -2px #333;
    transform: scale(1.5);
}
#gramFilter{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#gramFilter button{
    color: white;
    background-color: forestgreen;
    border: 1px solid black;
    opacity: 0.5;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 3px;
    font-size: 15px;
}
.active {
  background-color: forestgreen;
}
h1,h3, li {
    cursor: pointer;
    color: black;
    margin: 10px;
}

.button {
  background-color: forestgreen;
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}
li {
	display: flex;
	width: fit-content;
    margin: 5px;
}
span {
	display: block;
    width: calc(50vw - 55px);
	padding: 10px 5px 10px 5px;
	box-sizing: content-box;
	word-wrap: break-word;
}
/*li>span:first-child{
	width:450px;
}*/
li:hover{
	box-shadow: 0px 0px 16px -1px rgba(0,0,0,0.75);
}

@media only screen and (min-width: 1000px) {
  span{
		width:450px;
        max-width: 360px;
	}
}
.item{
	border: 1px solid lightgrey;
	margin: 5px;
	padding: 5px 5px 20px 20px;
	background-color: white;
	height: 60px;
	width: 500px;
	overflow: hidden;
    position: relative;
}
.item_hover{
	text-align: left;
	margin: 5px;
	padding: 20px;
	background-color: white;
	height: initial;
	width: 800px;
	position: relative;
    box-shadow: 0px 0px 16px -1px rgba(0,0,0,0.75);
}
ul{
	padding: 0
}
#wordContainer{
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
}
@media only screen and (max-width: 1000px) {
	.item_hover{
		text-align: left;
		border: 1px solid rgb(0, 0, 0);
		margin: 5px;
		padding: 20px;
		background-color: white;
		height: initial;
		width: calc(100% - 50px);
		position: relative;
	}
}
.show{
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgba(255,127,80,0.7);
	border: none;
    height: 30px;
    width: 30px;
	font-size: 20px;
	font-weight: bold;
}
.show:focus{
	outline: none
}
#filter{
	display:flex;
	flex-wrap: wrap;
    justify-content: center;
}

#filter button{
	background-color:#FF7F50;
	border: 1px solid #FF7FBB;
	margin: 5px;
	padding: 5px 15px;
	border-radius: 3px;
	font-size: 25px;
    font-weight: bold;
}
.alphabetcontainer{
  justify-content: center;
  text-align: center;
  height: 100%;
}
@media only screen and (max-width: 1000px){
    .responsive {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
}
hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    width: 50%;
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.backtotop {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 5px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #FF7F50;
    color: white;
    cursor: pointer;
    height: 30px;
    width: 30px;
    border-radius: 4px;
}
#myBtn:hover {
    background-color: forestgreen;
}
* {
    box-sizing: border-box;
}

.sliocht{
    justify-content: center;
    text-align: center;
    width: 65%;
    min-width: 300px;
    margin: auto;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
    background-color:snow;
}

#output {
    text-align: center;
    width: 60%;
    min-width: 300px;
    padding: 5px;
    margin: auto;
    font-size: 150%;
    line-height: 1.8;
    padding-bottom: 20px;
}

.openedbtn{
	background-color: forestgreen;
    padding: 15px;
    color: white;
}
.closedbtn,#reset{
	background-color: forestgreen;
    padding: 15px;
    color: white;
    margin: 5px;
    font-size: 18px;
}
.closedbtn:focus,#reset:focus{
    outline: none;
}
#showmore{
	background-color: forestgreen;
    padding: 15px;
    color: white;
    border-radius: 1px;
    margin: 5px;
    width: 25%;
    min-width: 150px;
    font-size: 18px;
}
.closedbtn:focus,#showmore:focus{
    outline: none;
}

.ccontainer{
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    line-height: 1.5;
    background-color: white;
    padding: 20px;
}
.textbox {
    width: 75%;
    min-width: 300px;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
    background-color:lightsteelblue;
    margin: auto;
}

.title{
  text-align: center;
  position: absolute;
  font-size:2vw;
  font-weight: bold;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 1px 1px 2px black, 0 0 25px green, 0 0 5px forestgreen;
}