@font-face {
    font-family: 'Ewyfont';
    src:url('../style/ewyfont-regular-webfont.woff');
}

body {
  position: relative;
  background-image: url('../images/aintfairbg.png');
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  font-size: 18px;
  font-family: "Verdana";
  font-weight: normal;
  font-style: normal;
  margin: 0;
  z-index: 0;
  text-align: center;
}

p {
  line-height: 1.6em; 
  color:white;
}

hr {
  border: solid #c7b591;
  border-width: 2px 0 0 0;
}

news-date {
    font-size: 8px;
    line-height: 1;
    color: grey;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.grid-container {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 1400px;
    height: 600px;
    display: grid;
    grid-template-rows: 100px 100px 100px 100px 100px 100px;
    grid-template-columns: 100px 100px 100px 100px 100px 100px;
    margin: 0;
    justify-content: space-between;
  }
  
.item-1 {
    width: 55%;
    height: auto;
    object-fit: cover;
    grid-row: 2 / span 3;
    grid-column: 1 / span 3;
}

.item-2 {
    width: 100%;
    height: auto;
    object-fit: cover;
    grid-row: 4 / span 3;
    grid-column: 1 / span 2;
}


@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:hover { 
  background-color: transparent;
}

#container + #grid-container {
    margin-top: 0;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  z-index: 2;
  position: relative;  
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: #000000;
  color: #ffffff; 
  outline-color: #000000;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}

#content h1 {
    font-family: "Ewyfont";
}

a:link {
    color: white;
}

a:visited {
    color: white;
}



/*HEADER STYLE*/

#news-header {
    background-color: #000000;
    padding: 1%;
    border-color: #000000;
    border-style: ridge;
    border-width: 0 0 4px 0;
    font-family: "Calibri";
    font-size:1.5em;
    text-align: left;
    }
#header {
  background-color: #000000;
  padding: 0 5%;
  border-color: #000000;
  border-style: ridge;
  border-width: 0 0 4px 0;
  font-family: "Ewyfont";
  font-size:1.5em;
  text-align: center;
  
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

#logo {
    height: auto;
    max-width: 50%;
    margin-top: 0px;
    margin-bottom: 0px;
    text-decoration: none;
    border: 0;
    border-bottom: none;
}

#logo img {
    max-width: 15%;
    height: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}