﻿@media print { .container { padding-inline: 0; } }

@media only screen and (min-width: 1024px) {
    .utility-bar { padding: 0; }
    .utility-bar .utility-container {
        display: flex;
        justify-content: flex-end;
    }
    .utility-bar .utilities { justify-content: flex-end; }
    .utility-bar ul li a { padding: 1rem; }
    .utility-bar ul li a.services__link { padding: 1rem; }
}

@media print { .utility-bar { display: none; } }

@media only screen and (min-width: 768px) {
    .header-top { height: auto; }
    .header-top--panel-open { border-bottom-width: 0.5rem; }
}

@media only screen and (min-width: 768px) {
    .header-tools__toggle { padding: 1rem; }
}

@media only screen and (min-width: 768px) {
    .logo-link {
        max-width: 12.5rem;
        height: 5.5rem;
        margin-block: 1rem;
    }
}

@media only screen and (min-width: 1024px) {
    .logo-link { max-width: 18.75rem; }
}

@media only screen and (min-width: 768px) {
    #header-logo { margin-block: 1rem; }
}

@media print {
    #header-logo img { filter: invert(100%); }
}

@media only screen and (min-width: 1024px) {
    .nav-menu {
        height: auto;
        padding-bottom: 4rem;
        border-bottom: 1px solid var(--color-white);
        box-shadow: 0px 8px 8px -8px rgba(0, 48, 120, 0.1);
    }
}

@media only screen and (min-width: 1024px) {
    .nav-sections {
        grid-template-columns: repeat(12, 1fr);
        gap: 2.75rem;
    }
}

@media only screen and (min-width: 1024px) {
    .nav-section--main-nav { grid-column: 1 / 8; }
    .nav-section--tasks    { grid-column: 9 / span 4; }
}

@media only screen and (min-width: 1024px) {
    .nav-divider {
        height: 100%;
        width: 1px;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 768px) {
    .navigation-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.125rem 2.75rem;
    }
}

@media print { .nav-menu { display: none; } }

@media only screen and (min-width: 1024px) {
    .search-panel {
        height: auto;
        padding-bottom: 4rem;
        border-bottom: 1px solid var(--color-white);
        box-shadow: 0px 8px 8px -8px rgba(0, 48, 120, 0.1);
    }
}

@media only screen and (min-width: 1024px) {
    .search-panel .container { max-width: 956px; }
}

@media print { .search-panel { display: none; } }

@media only screen and (min-width: 1024px) {
    .searchbar__fields { grid-template-columns: 1fr 3.5rem; }
}

@media only screen and (min-width: 1024px) {
    .searchbar__fields > * { height: 3.5rem; }
}

@media only screen and (min-width: 1024px) {
    .searchbar__input { padding: 1rem; }
}

@media print { .searchbar { display: none; } }

@media only screen and (min-width: 768px) {
    .footer__inner { grid-template-columns: repeat(12, 1fr); }
}

@media only screen and (min-width: 768px) {
    .footer__col--brand {
        grid-column: span 4;
        align-items: flex-start;
    }
}

@media only screen and (min-width: 768px) {
    .footer__col--nav {
        grid-column: span 8;
        border-top: 0;
        padding-top: 0;
    }
}

@media print { .footer { display: none; } }

@media only screen and (min-width: 768px) {
    #footer-logo {
        margin-block: 0;
        height: 5.5rem;
    }
}

@media print { #footer-logo img { filter: invert(100%); } }

@media only screen and (min-width: 768px) {
    .social-links__list { justify-content: flex-start; }
}

@media only screen and (min-width: 768px) {
    .footer-links {
        text-align: left;
        display: block;
        columns: 2 auto;
        column-gap: 2.75rem;
    }
}


footer a:link, footer a:visited {
    text-decoration: underline; /* or whatever the browser default is */
}

footer a:hover {
    border-bottom: none;
    text-decoration: none;
}
body footer a, body footer a:visited {
    color: unset !important;
}
.header-top {
    position: relative;
    z-index: 100;
     display: flex;
     justify-content: space-between;
     align-items: center;
    height: 4rem;
    border-block: 0.375rem solid transparent;
}
.header-top--panel-open {
    padding-bottom: 0.375rem;
    border-bottom: 0.375rem solid var(--color-navy);
}
@media only screen and (min-width: 768px) {
    .header-top { height: auto; }
    .header-top--panel-open { border-bottom-width: 0.5rem; }
}
.template-container {
    /*width: 100%;*/
    margin-inline: auto;
    max-width: calc(72.25rem + 2 * 1rem);
    padding-inline: 1rem;
}

.lang-btn {
    all: unset;
    cursor: pointer;
    text-decoration: none;
    color: #FFF;
    overflow-wrap: inherit;
    word-break: inherit;
    hyphens: inherit;
    padding: 0.5rem 1rem;
    border: 0;

    appearance: auto;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    cursor: default;
    box-sizing: border-box;
    padding-block: 1px;
    padding-inline: 6px;
    font-size: 13.3333px;
    font-family: Arial;
}

.utility-bar {
            background-color: #027b69;
            position: relative;
            padding: 0.5rem 0;
}
.utility-bar *:focus-visible {
            outline: 0;
            box-shadow: inset #FFF 0px 0px 0px 3px;
}
.utility-bar a {
            font-size: clamp(0.75rem, 0.599rem + 0.431vi, 0.875rem);
            line-height: 1.5rem;
            font-weight: 400;
            font-family: var(--font-main);
            text-decoration: none;
            color: #FFF;
            overflow-wrap: break-word;
            word-wrap: break-word;
            word-break: break-word;
 }
.utility-bar a:hover, .utility-bar a:focus {
    color: #FFF;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
.utility-bar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.utility-bar ul li { height: 100%; }
.utility-bar ul li a {
    display: flex;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    padding: 0.5rem 0;
}
.utility-bar ul li a.services__link { padding: 0.5rem; }
.utility-bar button {
    text-decoration: none;
    color: #FFF;
    overflow-wrap: inherit;
    word-break: inherit;
    hyphens: inherit;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 0;
}
.utility-bar button:hover, .utility-bar button:focus {
    color: #FFF;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}
.utility-bar a.aspNetDisabled {
    background: rgba(255, 255, 255, 0.1) !important;
}
.utility-bar a.aspNetDisabled:hover { text-decoration: none; }
.utility-bar .utilities {
    display: flex;
    flex-flow: row wrap-reverse;
    justify-content: space-between;
    align-items: center;
}
.language-switcher {
    display: flex;
    align-items: center;
    position: relative;
    padding-block: 1rem;
}
.language-switcher ul {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    line-height: 0;
}
.language-switcher ul li a {
	all: unset;
	cursor: pointer;
	background-color: #027b69; /* match your green */
	color: white;
	padding: 0.4em 0.8em; /* match your button padding */
	font: inherit;
	font-size: 13.3333px;
	font-weight: 400;
	display: inline-block;
}
@media only screen and (min-width: 1024px) {
    .utility-bar { padding: 0; }
    .utility-bar .utility-container {
        display: flex;
        justify-content: flex-end;
    }
    .utility-bar .utilities { justify-content: flex-end; }
    .utility-bar ul li a { padding: 1rem; }
    .utility-bar ul li a.services__link { padding: 1rem; }
}

.utility-bar ul li a { padding: 1rem; }

@media print { .utility-bar { display: none; } }
.logo-link {
    display: block;
    max-width: 12.5rem;
    height: 2.75rem;
}
@media only screen and (min-width: 768px) {
    .logo-link {
        max-width: 12.5rem;
        height: 5.5rem;
        margin-block: 0rem;
    }
}
@media only screen and (min-width: 1024px) {
    .logo-link { max-width: 18.75rem; }
}
.logo-link:focus-visible {
    outline: 0;
    box-shadow: var(--color-navy) 0px 0px 0px 2px, var(--color-white) 0px 0px 0px 5px;
}
#header-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}
@media only screen and (min-width: 768px) {
    #header-logo { margin-block: 1rem; }
}
@media print {
    #header-logo img { filter: invert(100%); }
}


header {
	background-color: #292F36;
	padding-bottom: 0px;
}

.logowrap {
	clear: both;
	padding: 0px 0px 5px 5px;
	font-size: 1.4em;
	font-size: 1.4rem;
	text-transform: uppercase;
}

footer {
	background-color: #FFF;
	padding: 30px 0;
}

footer a, footer a:visited {
    color: revert;
    text-decoration: revert;
}

.logowrap {
	clear: none;
	font-size: 2.15em;
	font-size: 2.15rem;
	padding: 0px 20px;
}

footer { padding: unset; }

footer li {
    list-style-type: none;
    position: relative;
    line-height: 1em;
    height: unset;
    padding-bottom: 10px;
}

footer li:after {
    content: unset;
    font-size: unset;
    font-weight: unset;
    color: unset;
    top: unset;
    padding: unset;
    position: unset;
}

header input[type='button'], header input[type='submit'] { width: unset; }

.sys_accordion-content { padding: unset; }

footer { padding: unset; }

footer {height: unset}

.footer {
    padding: 1rem 0;
}
.footer__inner {
    display: grid;
    gap: 2.5rem;
}
@media only screen and (min-width: 768px) {
    .footer__inner { grid-template-columns: repeat(12, 1fr); }
}
.footer__col--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
@media only screen and (min-width: 768px) {
    .footer__col--brand {
        grid-column: span 4;
        align-items: flex-start;
    }
}
.footer__col--nav {
    border-top: 1px solid #B1B4B6;
    padding-top: 2.5rem;
}
@media only screen and (min-width: 768px) {
    .footer__col--nav {
        grid-column: span 8;
        border-top: 0;
        padding-top: 0;
    }
}
@media print { .footer { display: none; } }
#footer-logo {
    height: 4rem;
}
@media only screen and (min-width: 768px) {
    #footer-logo {
        margin-block: 0;
        height: 5.5rem;
    }
}
#footer-logo:focus-visible {
    outline: 0;
    box-shadow: #FFF 0px 0px 0px 2px, #0B0C0C 0px 0px 0px 5px;
}
#footer-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}
@media print { #footer-logo img { filter: invert(100%); } }
.social-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    list-style: none;
}
@media only screen and (min-width: 768px) {
    .social-links__list { justify-content: flex-start; }
}
.social-links__link {
    font-size: clamp(0.875rem, 0.724rem + 0.431vi, 1rem);
    line-height: 1.5rem;
    font-weight: 400;
    font-family: Poppins, Century Gothic, Apple Gothic, URW Gothic, Futura, sans-serif;
    background: #F2EFF8;
    border-radius: 0.25rem;
    border: 0;
    color: #0B0C0C;
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    aspect-ratio: 1/1;
    border-radius: 2.75rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.social-links__link:hover, .social-links__link:focus {
    background: #d5cce8;
    color: #0B0C0C;
    text-decoration: none;
}
.footer-links {
    text-align: center;
    list-style: none;
    font-size: clamp(0.875rem, 0.724rem + 0.431vi, 1rem);
    line-height: 1.5rem;
    font-weight: 400;
    font-family: Poppins, Century Gothic, Apple Gothic, URW Gothic, Futura, sans-serif;
}
@media only screen and (min-width: 768px) {
    .footer-links {
        text-align: left;
        display: block;
        columns: 2 auto;
        column-gap: 2.75rem;
    }
}
.footer-links__item {
    height: fit-content;
    display: block;
}
.footer-links__item + .footer-links__item { margin-top: 0.5rem; }
.footer-links__link {
    color: #0B0C0C !important;
    /*text-decoration: underline;*/
    text-underline-offset: 0.25rem;
    display: block;
    padding-block: 0.625rem;
}
.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.icon-templed svg {
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 100%;
    height: 100%;
    display: block;
	color: #0B0C0C;
}
header .sys_container_header { width: unset; }
header {border-bottom: unset;}
footer {border-top: solid 24px #027b69}
.sys_container_header {margin: auto; max-width:calc(72.25rem + 2 * 1rem);}





a:link, a:visited, 
.resp-tabs-container a[class*="icon-"]:hover,
.resp-tabs-list li:hover,
.resp-tab-active {color:#0372ad;}
.language a, a:hover {color:#027B69;}
.tab-active a, .tab-active  a:visited {color:#fff;}

a.botwm-glas{color: #fff}

a.services__link:link,
a.services__link:visited,
a.services__link:hover,
a.services__link:focus {
    color: #FFF;
}



a.standard-button, a.standard-button:visited,
.language a:hover,
input[type='button'],
input[type='submit'],
.sys_pager span.cycle-pager-active,
.sys_searchbutton 
{background-color:#027B69; color:#fff;}

/*---BOTYMAU GWYRDD---*/

/*button*/


/*system chwilio*/
button.botwmChwilio, 

/*system tramwy*/
button.canol_btnNesaf, button.canol_btnChwilio,


/*hunanwasanaeth*/
.alert-piws {
    border: 5px solid #7b0251 !important;
}

#botwmNewidCyfeiriad,
#botwmGwirioManylion,
#botwmAnfonHunanWasanaeth,
#botwmCyflwyno,
a.button-green,
.botwmLlwytho,
#botwmCofrestru,
.close,
#ChwilioAmCyfeiriad,
#botwmSefydliads,
.js-botwm-nesaf,
#botwmDewisLleoliad,
.cyswlltYnOlFyNghyfrif a,
#botwmNewidCyfrinair,
#botwmNewidEbost,
#botwmCadwDefnyddiwr,
#botwmCadwDiogelwch,
.cynnwysSystem input[type="submit"],
button.button-green {
  background-color: #027b69 !important;
}

#botwmNewidCyfeiriad:hover,
#botwmGwirioManylion:hover,
#botwmAnfonHunanWasanaeth:hover,
#botwmCyflwyno:hover,
a.button-green:hover,
.botwmLlwytho:hover,
#botwmCofrestru:hover,
.close:hover,
#ChwilioAmCyfeiriad:hover,
#botwmSefydliads:hover,
.js-botwm-nesaf:hover,
#botwmDewisLleoliad:hover,
.cyswlltYnOlFyNghyfrif a:hover,
#botwmNewidCyfrinair:hover,
#botwmNewidEbost:hover,
#botwmCadwDefnyddiwr:hover,
#botwmCadwDiogelwch:hover,
.cynnwysSystem input[type="submit"]:hover,
button.button-green:hover {
  background-color: #013029 !important;
}

#botwmAnfonHunanWasanaeth,
#botwmDewisLleoliad {
  color: #fff !important;
}


#botwmYnOl,
button.button-grey,
.modal-map-botymau button {
  background-color: #ffffff !important;
  border: 1px solid #027b69 !important;
  border-radius: 4px !important;
  color: #027b69 !important;
}

#botwmYnOl:hover,
button.button-grey:hover,
.modal-map-botymau button:hover {
  color: #013029 !important;
}

/*---BOTYMAU YN NOL---*/

/*system tramwy*/
button.canol_btnDiwethaf {
    background-color: #ffffff;
    border-color: #027B69;
}

/*hunanwasanaeth*/


body {
    font-family: Poppins, Century Gothic, Apple Gothic, URW Gothic, Futura, sans-serif !important;
}

input {
    font-family: "Poppins" !important;
}






.sys_breadcrumb a {
    color: black;
    text-decoration: underline;
    text-underline-position: under;
}

.sys_breadcrumb a:hover,
.sys_breadcrumb a:focus {
    text-underline-offset: 0.25rem;
}

*, ::before, ::after {
  box-sizing: border-box;
}

img {
  height: auto;
  max-width: 100%;
}

.cwcis_panel,
.cwcis_panel *,
.cwcis_panel ::before,
.cwcis_panel ::after {
	box-sizing: border-box;
}

.cwcis_panel input[type="checkbox"] {
	appearance: auto;
	margin-bottom: 3px;
	margin-left: 2px;
	border: none;
	width: auto
}