/*
Theme Name: Starkers HTML5
Theme URI: http://nathanstaines.com
Description: An HTML5 version of <a href="http://elliotjaystocks.com/starkers/">Starkers</a> by <a href="http://elliotjaystocks.com/">Elliot Jay Stocks</a> which is based on Twenty Ten.
Version: 3.2
Author: Nathan Staines
Author URI: http://nathanstaines.com
Tags: starkers, html5, naked, clean, basic
*/

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    font-size: 62.5%; 
    scroll-behavior: smooth;
}

body {
font: 18px "calvino", sans-serif;
font-weight: 400;
font-style: normal;
    background-color: #f7f7f7;
    color: #333;
}

h1 {
font: 56px "pacaembu", sans-serif;
font-weight: 700;
font-style: normal;
}

h1 a {
    color: #333;
}

h2 {
font: 48px "pacaembu", sans-serif;
font-weight: 700;
font-style: normal;
    text-transform: capitalize;
    margin: 0 0 20px 0;
}

h3 {
font: 24px "pacaembu", sans-serif;
font-weight: 400;
font-style: normal;
    margin: 0 0 20px 0;
}

dt h3 {
    margin: 0;
}

a {
    color: #077187;
    border-bottom: 1px solid #077187;
    text-decoration: none;
}

h1 a {
    border: 0;
}

h5 {
font: 20px "calvino", sans-serif;
font-weight: 400;
font-style: normal;
    font-style: italic;
}

p {
    margin: 0 0 30px 0;
}

strong {
    font-weight: 700;
}

hgroup {
    margin: 30px 0 30px 0;
}

nav {
    background: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin: 0 0 20px 0;
}

nav ul {
    display: inline-flex;
    overflow: auto;
    white-space: nowrap;
}

header nav ul li {
    display: inline-block;
    text-align: center;
    padding: 0 10px;
}

header nav ul li a {
font: 20px "pacaembu", sans-serif;
font-weight: 400;
font-style: normal;
    display: block;
    text-transform: uppercase;
    color: #333;
    border-bottom: 3px solid #eee;
    padding: 10px;
}

header nav ul li:hover a {
    background: #eee;
}


header nav ul > li.current-menu-ancestor > a,
header nav ul > li.current-menu-item > a {
    color: #077187;
    border-bottom: 3px solid #077187;
    font-weight: 800;
}

header nav ul li.current-menu-ancestor a,
header nav ul li.current-menu-item a { 
    font-weight: 800;
}

header nav ul li a:hover {
    border-bottom: 3px solid #fff;
    transition: all 0.3s ease-in;
}

header nav ul li ul.sub-menu li a {
    font-weight: 500;
    display: block;
}

header nav ul li ul.sub-menu li.current-menu-item a {
    font-weight: 800;
}

header nav ul ul.sub-menu {
    display: none;
}

header nav ul li.menu-item-has-children:hover ul.sub-menu {
    display: block;
    position: absolute;
    background: #eee;
    width: 300px;
    transition: all 0.5s ease-in;
}

header nav ul li ul.sub-menu li {
    display: block;
    float: none;
    margin: 0;
}

header nav ul li ul.sub-menu li a {
    border: 0;
    text-align: left;
    padding: 10px;
    font-size: 16px;
}

header nav ul li ul.sub-menu li a:hover {
    opacity: 0.8;
    background: #fff;
}

nav.breadcrumbs {
    background: transparent;
    text-align: left;
    display: block;
    padding: 10px;
}

nav.breadcrumbs ul li {
    margin: 0 20px 0 0;
}

nav.breadcrumbs ul li a {
        border-bottom: 1px solid #077187;
        display: block;
        padding: 10px;
}

nav.breadcrumbs ul li span {
    display: block;
    border: 1px solid #eee;
    padding: 10px 20px;
    background: #077187;
    color: #fff;
}

section {
    max-width: 96%;
    width: 1040px;
    overflow: hidden;
    margin: 0px auto 40px;
}

.bg {
    height: 400px;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
    overflow: hidden;
    margin: 0 0 30px 0;
}

.bg .img {
    width: 100%;
    aspect-ratio: 16/9;
    background: url('https://gouldingslrd.ie/wp-content/uploads/2023/06/photo5.jpg') top center no-repeat;
    background-attachment: fixed;
    display: block;
}

body.home .bg .img {
    background: url('https://gouldingslrd.ie/wp-content/uploads/2023/06/photo1.jpg') center no-repeat;
    background-attachment: fixed;
}

body.post-type-archive-drawings .bg .img {
    background: url('https://gouldingslrd.ie/wp-content/uploads/2023/06/photo2.jpg') center no-repeat;
    background-attachment: fixed;
}

body.post-type-archive-documents .bg .img {
    background: url('https://gouldingslrd.ie/wp-content/uploads/2023/06/photo3.jpg') center no-repeat;
    background-attachment: fixed;
}

body.post-type-archive-nis .bg .img {
    background: url('https://gouldingslrd.ie/wp-content/uploads/2023/06/photo4.jpg') center no-repeat;
    background-attachment: fixed;
}

body.post-type-archive-eiar .bg .img {
    background: url('https://gouldingslrd.ie/wp-content/uploads/2023/06/photo6.jpg') center no-repeat;
    background-attachment: fixed;
}

body.archive .bg img {
    height: 240px;
    background-attachment: fixed;
}

main {
    display: flex;
}

.row {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
}

.row dl {
   border: 3px solid #f7f7f7;
    margin: 1%;
    /* No need to set width: 48%; here, columns will handle it */
    /* Break inside avoid can help keep a dl together in one column */
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
}

dl dt {
    background: #077187;
    padding: 10px 20px;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

dl dd {
    padding: 20px;
    color: #999;
    border: 2px solid #077187;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

dl dd img {
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
}

dl dd p {
    margin: 0;
}

dl dd a {
    background: url('svg/download.svg') 0 2px no-repeat;
    background-size: 25px;
    display: block;
    padding: 4px;
    text-indent: 30px;
    color: #077187;
    line-height: 1.2;
    border: 0;
}

a.post-edit-link {
    background: none;
    padding: 0;
    font-size: 14px;
    text-indent: 0;
    margin: 10px 0 0 0;
    display: block;
}

dl dd a:hover {
    color: #666;
    opacity: 0.8;
    transition: all 0.3s ease-in;
}

ul.four {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

ul.four li {
    display: block;
    margin: 2%;
}

h3 a {
    border-bottom: 2px solid #333;
    color: #333;
}

h3.heading {
    margin: 0 0 30px 0;
}

ul.four li h3 a {
    color: #333;
    border-bottom: 2px solid #000;
    display: inline-block;
    margin: 0 0 10px 0;
}

/* PAGE */

aside {
    margin: 20px 0 0 0
}

article header {
    margin: 0 0 20px 0;
}

footer {
    background: #333;
    padding: 40px 0;
    margin: 60px 0 0 0;
}

footer p {
    text-align: center;
    color: #eee;
}

/* TAXONOMIES */

ul.rows > li {
    border-bottom: 1px solid #999;
    padding: 10px 0;
}

ul.rows li a {
    display: block;
    border: 0;
}

ul.rows li span {
    float: right;
}

ul.rows ul a {
    margin: 0;
    border-bottom: 1px solid #999;
    text-indent: 37px;
    padding: 10px 0;
}

ul.rows ul ul a {
    margin: 0;
    border-bottom: 1px solid #999;
    text-indent: 60px;
}

ul.rows li:last-of-type {
    border: 0;
}

ul.rows > li:last-of-type > a {
    border-bottom: 1px solid #999;
    padding: 5px 0 10px 0;
}

ul.rows ul li a {
    background: url('svg/downright.svg') 10px 15px no-repeat;
    background-size: 20px 20px;
}

ul.rows ul ul li a {
    background: url('svg/downright.svg') 35px 15px no-repeat;
    background-size: 20px 20px;
}

/* DOCUMENTS */

.term-hierarchy-navigation ul ul {
    margin: 0px;
}

.term-hierarchy-navigation ul ul a {
    background: url('svg/downright.svg') 6px 5px no-repeat;
    background-size: 20px;
    text-indent: 30px;
    display: inline-block;
    padding: 0;
}

.content-area {
    margin: 0 0 20px 0;
}

ul.others li {
    margin: 0 0 1px 0;
}

@media screen and (max-width: 640px) {

h1 {
    font: 40px "pacaembu", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-align: center;
}

h2 {
    font: 38px "pacaembu", sans-serif;
    font-weight: 400;
    font-style: normal;
}
    
h3 {
    font: 20px "pacaembu", sans-serif;
    font-weight: 400;
    font-style: normal;
}

nav {
    border-radius: 10px;
}

ul.sub-menu {
    display: none !important;
}

hgroup {
    margin: 15px 0;
}

header nav ul li a {
    padding: 0;
}

.row {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
}

body.post-type-archive-drawings .bg .img,
.bg .img {
    background-attachment: inherit !important;
    aspect-ratio: 16/9;
    background-size: contain !important;
}

nav,
nav ul {
    display: block;
}

header nav ul li {
    display: inline-block;
    text-align: center;
    margin: 1%;
    float: left;
    width: 98%;
}

header nav ul:hover ul {
    display: block;
}

.bg {
    height: inherit;
}

ul.four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

ul.four {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.row {
    display: block;
}

.row dl {
    border: 3px solid #f7f7f7;
    margin: 1%;
    width: 98%;
}

.content-area {
    margin: 0 0 10px 0;
}


}