/* =STANDARD STYLES FOR ALL DEVICES
-------------------------------------------------------------- */


/* =WordPress Core
-------------------------------------------------------------- */

a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

a.skip-main:focus,
a.skip-main:active {
    color: #fff;
    background-color: #000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow: auto;
    margin: 10px 35%;
    padding: 5px;
    text-align: center;
    font-size: 1.2em;
    z-index: 999;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

a:focus {
    background: #000!important;
    color: #fff!important;
    /*
		-webkit-box-shadow: 0px 0px 0px 5px rgba(255,255,0,1);
		-moz-box-shadow: 0px 0px 0px 5px rgba(255,255,0,1);
		box-shadow: 0px 0px 0px 5px rgba(255,255,0,1);
	*/
}


/* */

.mza {
    margin: 0 auto;
}

.inner1170 {
    max-width: 1170px;
}

.inner960 {
    max-width: 960px;
}

.inner90pc {
    max-width: 90%;
}

.relative {
    position: relative;
}

.clear {
    clear: both;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #547F75;
    color: #333;
    font-size: 18px;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
blockquote {
    padding: 0;
    margin: 0;
    line-height: 1.5em!important;
}

h1 {
    margin: 15px 0;
    font-size: 2.2em;
    font-family: Arial, sans-serif;
}

h3.sidebar-title {
    margin: 15px 0;
    font-size: 2.2em;
    font-family: Arial, sans-serif;
}

h3.sidebar-title.small {
    font-size: 1.8em;
}

h2 {
    margin: 15px 0;
    font-size: 1.8em;
    font-family: Arial, sans-serif;
}

h3 {
    position: relative;
    margin: 30px 0 15px;
    font-size: 1.6em;
    font-family: Arial, sans-serif;
}

h4 {
    margin: 15px 0;
    font-size: 1.4em;
}

h5 {
    margin: 15px 0;
    font-size: 1.2em;
}

h6 {
    margin: 15px 0;
    font-size: 1.1em;
}

p {
    margin: 15px 0;
    font-size: 0.9em;
}

li {
    font-size: 0.9em;
}

ul,
ol {
    padding: 0 0 0 30px;
    margin: 15px 0;
}

blockquote {
    padding: 0 5% 0 5%;
    margin: 30px 0 30px 5%;
    border-left: 10px solid #ccc;
    overflow: auto;
}

blockquote cite {
    display: block;
    margin: 15px 0;
    font-size: 1em;
}

@media screen and (max-width: 789px) {
    h1 {
        font-size: 1.6em;
    }
    h3.sidebar-title {
        font-size: 1.6em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.4em;
    }
    h4 {
        font-size: 1.3em;
    }
    h5 {
        font-size: 1.2em;
    }
    h6 {
        font-size: 1.1em;
    }
    p,
    li {
        font-size: 0.7em;
    }
    blockquote cite {
        font-size: 0.7em;
    }
}

.wrapper a {
    color: #000;
    background: #ddd;
}

.wrapper a:hover {
    background: #000;
    color: #fff;
}

.center {
    text-align: center;
}


/* remove ios default input styles */


/*
	input {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
	}
	*/

.iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none!important;
}


/* =HEADER + NAV
-------------------------------------------------------------- */

header {
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 100;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
}

header .inner {
    height: 220px;
    transition: all 0.25s ease;
}

header .main {
    position: relative;
    height: 175px;
}

header .main,
header .main * {
    transition: all 0.25s ease;
}

header .logo {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

header .logo img {
    display: block;
    max-height: 90%;
    height: 140px;
}

header .site-title {
    position: absolute;
    margin: 0;
    font-family: 'EB Garamond', serif;
    font-size: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    text-transform: uppercase;
}

header .site-title.cy {
    text-align: right;
    right: calc(50% + 100px);
}

header .site-title.en {
    text-align: left;
    left: calc(50% + 100px);
}

@media screen and (min-width: 790px) {
    header.fixed .inner {
        height: 150px;
    }
    header.fixed .inner .main {
        height: 105px;
    }
    header.fixed .inner .main .logo img {
        height: 80px;
    }
}

@media screen and (max-width: 789px) {
    header .inner {
        height: 80px;
    }
    header .main {
        position: relative;
        height: 80px;
    }
    header .logo {
        position: absolute;
        left: 0;
        transform: translateY(-50%);
    }
    header .logo img {
        width: 50px;
        height: auto;
    }
    header .site-title {
        font-size: 0.6em;
    }
    header .site-title.en {
        left: 60px;
        right: unset;
        top: 22.5%;
        transform: unset;
    }
    header .site-title.cy {
        left: 60px;
        right: unset;
        top: unset;
        bottom: 22.5%;
        transform: unset;
    }
}

@media screen and (min-width: 790px) {
    nav.site-nav {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }
    nav.site-nav>ul {
        display: flex;
        -webkit-display: flex;
        justify-content: center;
        list-style-type: none;
        padding: 0;
        margin: 0;
        border-top: 1px solid #ddd;
    }
    nav.site-nav>ul>li {
        position: relative;
    }
    nav.site-nav>ul>li.menu-item-has-children>a::after {
        position: relative;
        display: inline-block;
        content: " ";
        width: 5px;
        height: 5px;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
        transform: rotate(45deg);
        margin-left: 10px;
        bottom: 4px;
    }
    nav.site-nav>ul>li.menu-item-has-children>a:focus:after {
        border-right: 1px solid #fff;
        border-bottom: 1px solid #fff;
    }
    nav.site-nav>ul>li>a {
        display: block;
        text-decoration: none;
        padding: 10px 20px;
        font-family: Arial, sans-serif;
        color: #222;
        font-size: 1.1em;
    }
    nav.site-nav>ul>li>a em {
        font-size: 14px;
        color: #666;
    }
    nav.site-nav>ul>li:hover>a {
        text-decoration: underline;
        color: #547F75;
    }
    nav.site-nav>ul>li>ul {
        position: absolute;
        left: 0;
        top: 44px;
        background: #f7f7f7;
        margin: 0;
        padding: 0;
        list-style-type: none;
        width: 300px;
        padding: 20px 0;
        -webkit-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
    }
    nav.site-nav>ul>li>ul {
        opacity: 0;
        visibility: hidden;
        transform: scaleY(0);
        transform-origin: left top;
        transition: all 0.25s ease;
    }
    nav.site-nav>ul>li:hover>ul {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
    }
    nav.site-nav>ul>li>ul.open {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
    }
    /* allows users to open dropdowns with tab */
    nav.site-nav>ul>li>ul>li>a {
        display: block;
        padding: 10px 20px;
        text-decoration: none;
        padding: 10px 20px;
        font-family: Arial, sans-serif;
        color: #222;
        font-size: 1.2em;
    }
    nav.site-nav>ul>li>ul>li:hover>a {
        text-decoration: underline;
        color: #fff;
        background: #547F75;
    }
}

#menu {
    display: none;
}

@media screen and (max-width: 789px) {
    #menu {
        display: block;
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
        color: #222;
    }
    nav.site-nav {
        position: absolute;
        left: -100%;
        width: 100%;
        top: 80px;
        background: #fff;
        border-top: 5px solid #ccc;
        height: calc(100vh - 115px);
        padding: 15px 0;
        overflow-y: scroll;
        font-family: Arial, sans-serif;
    }
    nav.site-nav.open {
        left: 0;
    }
    nav.site-nav ul {
        list-style-type: none;
        margin: 0;
        padding: 15px 0;
    }
    nav.site-nav ul li {
        font-size: 1em;
    }
    nav.site-nav ul>li>a {
        display: block;
        padding: 5px 5%;
        color: #222;
        text-decoration: none;
    }
    nav.site-nav ul>li>a em {
        display: none;
    }
    nav.site-nav ul>li>ul>li>a {
        padding-left: 10%;
    }
}

.header-clear {
    height: 220px;
}

@media screen and (max-width: 789px) {
    .header-clear {
        height: 80px;
    }
}


/* accessibility */

@media screen and (max-width: 479px) {
    header {
        position: relative!important;
    }
    .header-clear {
        display: none;
    }
}


/* =WRAPPER / STANDARD
-------------------------------------------------------------- */

.wrapper.standard {
    padding: 30px 0;
}

.wrapper.standard.alt {
    padding: 0 0 30px;
}

@media screen and (max-width: 479px) {
    .wrapper.standard {
        padding: 5% 0;
    }
    .wrapper.standard.alt {
        padding: 0 0 5%;
    }
}

.wrapper.standard .inner {
    background: #fff;
    padding: 0;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
}

.wrapper.standard img {
    display: block;
    max-width: 100%;
    height: auto;
}

.standard .hero {
    position: relative;
    padding: 5px;
}

.standard .hero img {
    display: block;
    max-width: 100%;
    height: auto;
}

.standard .hero h1 {
    position: absolute;
    bottom: 5%;
    left: 5px;
    right: 5px;
    background: #000;
    color: #fff;
    font-size: 2em;
    text-align: center;
    padding: 10px 0;
    font-weight: 400;
}

.standard .contents {
    padding: 25px 50px;
}

@media screen and (max-width: 789px) {
    .standard .contents {
        padding: 2.5% 5%;
    }
}

@media screen and (max-width: 789px) {
    .standard .hero h1 {
        font-size: 4vw;
    }
}


/* =FOOTER
-------------------------------------------------------------- */

footer {
    background: #fff;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.25);
}

footer ul.footer-nav {
    font-family: Arial, sans-serif;
    display: flex;
    -webkit-display: flex;
    list-style-type: none;
    padding: 0 5%;
    margin: 0;
    justify-content: center;
    border-bottom: 1px solid #ccc;
}

footer ul.footer-nav>li>a {
    display: block;
    padding: 15px 15px;
    color: #333;
    font-size: 1.15em;
}

footer .inner {
    padding: 25px 0;
    text-align: center;
}

footer .inner img {
    margin: 0 0 15px;
}

footer .inner p {
    margin: 0;
    font-family: Arial, sans-serif;
}

@media screen and (max-width: 789px) {
    footer ul.footer-nav {
        flex-wrap: wrap;
        padding: 25px 0;
    }
    footer ul.footer-nav li {
        width: 50%;
        text-align: center;
    }
}


/* =CONTACT FORM (cf7)
-------------------------------------------------------------- */

input,
textarea {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.9em;
    border: 1px solid #ccc;
    padding: 10px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}


/* =OTHER
-------------------------------------------------------------- */

.flex {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

@media screen and (min-width: 790px) {
    .flex .left {
        width: 65%;
    }
    .flex .right {
        width: 30%;
    }
}

@media screen and (max-width: 789px) {
    .flex .left {
        width: 100%;
        margin: 0 0 15px;
    }
    .flex .right {
        width: 100%;
    }
    #acp-toggle-toolbar {
        top: unset!important;
        bottom: 22.5px;
    }
}


/* BREAK POINTS ... */

@media screen and (min-width: 1250px) {
    .inner {
        max-width: 1170px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 1050px) and (max-width: 1249px) {
    .inner {
        max-width: 960px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 790px) and (max-width: 1049px) {
    .inner {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media screen and (min-width: 480px) and (max-width: 789px) {
    .inner {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 479px) {
    .inner {
        max-width: 90%;
        margin: 0 auto;
    }
}

.inner960 {
    max-width: 960px;
}

.inner720 {
    max-width: 720px;
}

.inner480 {
    max-width: 480px;
}

ul.acp-main-nav>li:nth-last-child(1) {
    display: none;
}

.acp-toolbar-heading svg {
    display: none;
}

.post {
    margin: 0 0 30px;
    padding: 0 0 30px;
    border-bottom: 1px solid #ccc;
}

p.meta {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: #547F75;
}