
:root {
    --prif-color: #eca72c;
    --ail-color: #0f1923;
    --trydydd-color: #2e2e2e;
    --pedwerydd-color: #eca72c;
    --cysgod-bocs: 0;
    --cysgod-testun: 0;
    --border-radius: 0;
    --profile-border-color: var(--prif-color);
    --profile-border-radius: 0;
    --profile-border-math: solid;
    --profile-border-tewdra: 4px;
    --profile-border-cysgod: 0;
    --profile-icon-background: transparent;
    --lliw_uwch_nav_icons: #eca72c;
    --lliw_uwch_nav_icons_text_decoration: none;
    --nav_a: #000;
    --actif_lliw_nav_hamburger: #000;
    --anactif_lliw_nav_hamburger: #000;
    --maint_font_sblash: 2.4rem;
    --maint_font_subsblash: 3rem;
    --maint_font_mylinks: 2rem;
    --lliw_arfordir: #2E2E2E;
    --lliw_testun_headings: #000;
    --lliw_flake_prif_dewislen: #0f1923;
    --lliw_flake_dewislen: #eca72c;
    --testun_dewislen: #000;
    --lliw_flake_gwybodaeth: #FFF;
    --llun_flake_gwybodaeth: var(--lliw_flake_gwybodaeth);
    --testun_gwybodaeth: #000;
    --grid_underline: #000;
    --lliw_modal_cookies: #eca72c;
    --testun_modal_cookies: #000;
    --lliw_tab_botwm_gweinyddwr: #eca72c;
    --cefndir-slider: #0f1923;
}

    

    /* #region #DataCoreCSSPartial-Testun-0004#*/

    h1, h2, h3, h4, h5, h6 {
        font-family: "Courier New", monospace;
        font-weight: 400;
        letter-spacing: 2px;
        font-style: normal;
        text-decoration: none;
    }

    button, a, ul, ol, li, p, div, textarea, input, label {
        font-family: "Courier New", monospace;
        text-decoration: none;
        color: #FFF;
        font-weight: 500;
    }

    body, h2, h3, h4, h5, h6 {
        color: #FFF;
    }

    select {
        color: var(--testun_gwybodaeth);
    }

    #tudalennu strong {
        color: var(--prif-color);
    }

    strong {
        color: var(--ail-color);
    }

    #reCaptchaForm strong {
        color: var(--prif-color);
    }

    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #Desgfwrdd H1, #Desgfwrdd H2, #Desgfwrdd H3, #Desgfwrdd H4, #Desgfwrdd H5, #Desgfwrdd H6 {
        background-color: var(--prif-color);
        padding: 0 0.3rem 0 0.3rem;
        width: fit-content;
    }

    /* #endregion #DataCoreCSSPartial-Testun-0004# */
    
    /* #region #DataCoreCSSPartial-Lliwiau-0002# */

    .lliw-1 {
        background-color: var(--prif-color);
    }

    .lliw-2 {
        background-color: var(--ail-color);
    }

    .lliw-3 {
        background-color: var(--trydydd-color);
    }

    .lliw-4 {
        background-color: var(--pedwerydd-color);
    }

    /* #endregion #DataCoreCSSPartial-Lliwiau-0002# */
    
    /* #region #DataCoreCSSPartial-LliwiauBody-0002# */

    body {
        background-color: #2E2E2E;
    }

    /* #endregion #DataCoreCSSPartial-LliwiauBody-0002# */
    
    /* #region #DataCoreCSSPartial-Botwm-0003# */

    .btn {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        border: none;
        background: none;
        cursor: pointer;
        position: relative;
        padding: 8px;
        text-transform: uppercase;
        font-weight: bold;
        transition: all .15s ease;
        white-space: nowrap
      }
      
      .btn::before,
      .btn::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        left: 0;
        height: calc(50% - 5px);
        border: 1px solid #000;
        transition: all .15s ease;
      }
      
      .btn::before {
        top: 0;
        border-bottom-width: 0;
      }
      
      .btn::after {
        bottom: 0;
        border-top-width: 0;
      }
      
      .btn:active,
      .btn:focus {
        outline: none;
      }
      
      .btn:active::before,
      .btn:active::after {
        right: 3px;
        left: 3px;
      }
      
      .btn:active::before {
        top: 3px;
      }
      
      .btn:active::after {
        bottom: 3px;
      }
      
      .button_lg {
        position: relative;
        display: flex;
        height: 100%;
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px 20px;
        color: #fff;
        background-color: #0f1923;
        overflow: hidden;
        box-shadow: inset 0px 0px 0px 1px transparent;
      }
      
      .button_lg::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 2px;
        height: 2px;
        background-color: #0f1923;
      }
      
      .button_lg::after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        width: 4px;
        height: 4px;
        background-color: #0f1923;
        transition: all .2s ease;
      }
      
      .button_sl {
        display: block;
        position: absolute;
        top: 0;
        bottom: -1px;
        left: -8px;
        width: 0;
        background-color: #000;
        transform: skew(-15deg);
        transition: all .2s ease;
      }
      
      .button_text {
        position: relative;
        margin: 0;
      }
      
      .btn:hover {
        color: #0f1923;
      }
      
      .btn:hover .button_sl {
        width: calc(100% + 15px);
      }
      
      .btn:hover .button_lg::after {
        background-color: #fff;
      }

      .botwm-bach {
        height: auto !important;
      }

    /* #endregion #DataCoreCSSPartial-Botwm-0003# */   

    /* #region #DataCoreCSSPartial-Input-0003# */

    .input {
        height: 44px;
        width: 100%;
        max-width: 28rem;
        appearance: none;
        overflow: hidden;
        cursor: pointer;
        padding: 0 0.6em;
        font-family: "Courier New", monospace;
        color: #FFF;
        background: var(--ail-color);
        image-rendering: pixelated;
        border: 2px solid var(--prif-color);
        outline: 1px solid black;
        outline-offset: 4px;
        box-sizing: border-box;
        transition: all 0.15s steps(1);
        text-shadow: 1px 1px #000;
        line-height: 42px;
    }

        .input::placeholder, textarea::placeholder {
            color: #FFF;
            opacity: 0.6;
        }

        .input:focus, textarea:focus {
            background: #2e2e2e;
            box-shadow:
                0 0 0 0.15em #000,
                0 0 0 0.3em #eca72c,
                0 0 0 0.45em #000,
                0 0.2em 0 0 #00cc66,
                0 0.2em 0 0.15em #000;
        }
    
        #chwilio {
            width: 15rem;
        }

    textarea {
        width: 100%;
        height: 150px;
        appearance: none;
        overflow: hidden;
        cursor: pointer;
        padding: 0 0.6em;
        font-family: "Courier New", monospace;
        color: #FFF;
        background: var(--ail-color);
        image-rendering: pixelated;
        border: 2px solid var(--prif-color);
        outline: 1px solid black;
        outline-offset: 4px;
        box-sizing: border-box;
        transition: all 0.15s steps(1);
        text-shadow: 1px 1px #000;
        line-height: 42px;
    }

    /* #endregion #DataCoreCSSPartial-Input-0003# */

    /* #region #DataCoreCSSPartial-Checkbox-0003# */

    .checkbox-mewngofnodi {
        position: relative;
        cursor: pointer;
        width: 1.3rem;
        height: 1.3rem;
        border: 3px solid var(--prif-color);
        display: inline-block;
    }

    .checkbox-input {
        position: absolute;
        inset: 0;
        opacity: 0;
        margin: 0;
        cursor: pointer;
        z-index: 2;
    }

    .checkmark {
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .checkmark::after {
        content: '';
        position: absolute;
        top: 25%;
        left: 25%;
        width: 50%;
        height: 50%;
        background-color: var(--prif-color);
        transform: scale(0);
        transition: transform 0.15s ease;
    }

    .checkbox-input:checked + .checkmark::after {
        transform: scale(1);
    }

    /* #endregion #DataCoreCSSPartial-Checkbox-0003# */

    /* #region #DataCoreCSSPartial-Rhestr-0001# */

    ul {
        list-style-type: square;
      }
      
      ul li {
        line-height: 1.5;
      }
      
      ul li::marker {
        font-size: 1.2rem;
      }

    /* #endregion #DataCoreCSSPartial-Rhestr-0001# */

    /* #region #DataCoreCSSPartial-Nav-0002# */

    nav {
        position: fixed;
        z-index: 1;
        height: 2.5rem;
        transition: background-color 0.8s ease-in-out;
    }

    nav a {
        color: #FFF;
        white-space: nowrap;
    }

    @media only screen and (min-width: 992px) {
        nav a {
            font-size: 16px !important;
        }
    }

    @media only screen and (max-width: 1395px) {
        #container-chwilio {
            display: none;
        }
    }

    @media only screen and (min-width: 1395px) {
        #chwilio-tabled {
            display: none;
        }
    }

    nav.scrolled a {
        color: #FFF;
    }

    #nav-cofnodi a {
        color: #000;
    }

    .mobile-nav {
        position: fixed;
        top: -150%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--prif-color);
        z-index: 666;
        justify-content: center;
        align-items: center;
        transition: top 1s ease;
    }
    
    .mobile-nav.show {
        top: 0;
    }

    .mobile-nav img {
        height: 125px;
        width: 125px;
    }

    .mobile-nav a {
        color: var(--nav_a);
    }

    .mobile-hamburger {
        z-index: 667;
    }

    .visuallyHidden {
        position: absolute; 
        overflow: hidden; 
        clip: rect(0 0 0 0); 
        height: 1px; width: 1px; 
        margin: -1px; padding: 0; border: 0; 
    }

    .eitemau-nav {
        display: none !important;
        min-height: 4rem;
    }

    @media only screen and (min-width: 1055px) {

        .mobile-hamburger {
            display: none !important;
        }

        .eitemau-nav {
            display: flex !important;
            min-height: auto;
        }
    }

    #menu_checkbox {
        display: none;
    }

    .hamburger4 {
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 6px;
        transition: 0.3s ease transform;
    }

    .hamburger4 div {
        width: 6px;
        height: 6px;
        background-color: var(--anactif_lliw_nav_hamburger);
        border-radius: 4px;
        transition: 0.3s ease width, 0.3s ease margin-left, 0.3s ease background-color;
    }

    .hamburger4 div:first-child {
        width: 22px;
    }

    .hamburger4 div:nth-child(2) {
        width: 15px;
    }

    .hamburger4 div:last-child {
        width: 30px;
    }

    #checkbox4:checked + .hamburger4 {
        transform: rotateZ(-90deg);
    }

    #checkbox4:checked + .hamburger4 div {
        width: 6px;
        margin-left: 12px;
        background-color: var(--actif_lliw_nav_hamburger);
    }

    /* #endregion #DataCoreCSSPartial-Nav-0002# */

    /* #region #DataCoreCSSPartial-Footer-0003# */

    .lliw-hanner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background-color: #eca72c;
        z-index: -1;
    }

    .ffin-tanysgrifio {
        box-shadow:
            0 0 0 10px var(--prif-color),
            0 0 0 11px black;
    }

    .footer-wrap {
        flex-wrap: nowrap;
    }

    .rhes-copyright {
        flex-wrap: nowrap;
    }

    @media only screen and (max-width: 900px) {

        .rhes-copyright {
            flex-wrap: wrap;
        }

        .rhes-copyright .chwith, .rhes-copyright .dde, .rhes-copyright [class*="col-"] {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
    }

    @media only screen and (max-width: 1100px) {
        .footer-wrap {
            flex-wrap: wrap;
        }

        .footer-wrap [class*="col-"] {
            width: 100%;
        }
    }

    /* #endregion #DataCoreCSSPartial-Footer-0003# */

    /* #region #DataCoreCSSPartial-LlunProffil-0001# */

    .bordor-llun-proffil {
        border: var(--profile-border-color) var(--profile-border-math) var(--profile-border-tewdra);
        border-radius: var(--profile-border-radius);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        object-fit: cover;
        box-shadow: var(--profile-border-cysgod);
    }

    /* #endregion #DataCoreCSSPartial-LlunProffil-0001# */

    /* #region #DataCoreCSSPartial-Sblash-0003# */

    .octagon {
        width: 20rem;
        aspect-ratio: 1;
        --o:calc(50%*tan(-22.5deg));
        clip-path: polygon(
            var(--o) 50%,
            50% var(--o),
            calc(100% - var(--o)) 50%,
            50% calc(100% - var(--o))
        );
        background: #eca72c;
    }

    /* #endregion #DataCoreCSSPartial-Sblash-0003# */

    /* #region #DataCoreCSSPartial-SubSblash-0003# */

    #sub-sblash {
        height: 75vh;
    }

    #sub-sblash h1 {
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: var(--maint_font_subsblash);
        color: var(--prif-color);
        margin: 0;
    }

    /* #endregion #DataCoreCSSPartial-SubSblash-0003# */

    /* #region #DataCoreCSSPartial-SaethSblash-0002# */

    .arrows {
        position: absolute; 
        bottom: 4.5rem; 
        left: 50%; 
        transform: translateX(-50%);
        width: 40px;
        height: 40px;
        transform: translate(-50%, -50%);
    }
    
    .arrows:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-left: 15px solid rgba(236, 167, 44, 0.7);
        border-bottom: 15px solid rgba(236, 167, 44, 0.7);
        transform: translate(15px, 106.6666666667px) rotate(-45deg);
        animation: arrows 3s linear infinite;
    }
    
    .arrows:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-left: 15px solid rgba(236, 167, 44, 0.7);
        border-bottom: 15px solid rgba(236, 167, 44, 0.7);
        transform: translate(53.3333333333px, 0px) rotate(-45deg);
        animation: arrows 3s linear infinite -1.5s;
    }

    @keyframes arrows {
        0% {
            border-left: 15px solid rgba(236, 167, 44, 0);
            border-bottom: 15px solid rgba(236, 167, 44, 0);
            transform: translate(-13.3333333333px, -53.3333333333px) rotate(-45deg);
        }
        10%, 90% {
            border-left: 15px solid rgba(236, 167, 44, 0);
            border-bottom: 15px solid rgba(236, 167, 44, 0);
        }
        50% {
            border-left: 15px solid rgba(236, 167, 44, 0.7);
            border-bottom: 15px solid rgba(236, 167, 44, 0.7);
            transform: translate(-13.3333333333px, 0px) rotate(-45deg);
        }
        100% {
            border-left: 15px solid rgba(236, 167, 44, 0);
            border-bottom: 15px solid rgba(236, 167, 44, 0);
            transform: translate(-13.3333333333px, 53.3333333333px) rotate(-45deg);
        }
    } 

    /* #endregion #DataCoreCSSPartial-SaethSblash-0002# */

    /* #region #DataCoreCSSPartial-FAQs-0001# */

    .faq-detail {
        max-height: 0;
        width: 100%;
        overflow: hidden;
        visibility: hidden;
        padding-top: 0;
        transition: max-height 1s ease, padding-top 1s ease, visibility 0s 1s;
    }
    
    .faq-detail.show {
        max-height: 400px;
        visibility: visible;
        padding-top: 0.2rem;
        transition-delay: 0s;
    }

    /* #endregion #DataCoreCSSPartial-FAQs-0001# */

    /* #region #DataCoreCSSPartial-Testimonials-0001# */

    .slide {
        opacity: 0;
        transition: opacity 1s ease-in-out;
        width: 100%;
        display: none;
        position: absolute;
        top: 0;
        left: 0;
    }

    .active-slide {
        opacity: 1;
        display: block;
        position: relative;
        width: 100%;
    }

    blockquote {
        font-family: "Courier New", monospace;
        font-weight: 400;
        font-size: 1.5rem;
        line-height: 1.4;
        position: relative;
        margin: 0;
        padding: .5rem;
    }

    blockquote:before,
    blockquote:after {
        font-family: "Bebas Neue", sans-serif;
        position: absolute;
        color: #f1efe6;
        font-size: 8rem;
        width: 4rem;
        height: 4rem;
    }

    blockquote:before {
        content: '“';
        left: -3rem;
        top: -2rem;
    }

    blockquote:after {
        content: '”';
        right: -4rem;
        bottom: 1rem;
    }

    .testun-disgrifiad-tystebau {
        font-size: 1.4rem !important;
    }

    .ser {
        font-size: 2.5rem;
        color: #FFF;
        letter-spacing: 3px;
    }

    #ser-dyddiad {
        display: flex;
        flex-wrap: nowrap;
    }

    @media only screen and (max-width: 840px) {
        #ser-dyddiad {
            flex-wrap: wrap;
        }
    }

    /* #endregion #DataCoreCSSPartial-Testimonials-0001# */

    /* #region #DataCoreCSSPartial-LlinellAmser-0003# */

    .timeline {
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding: 15px 0;
    }

        .timeline::after {
            content: '';
            position: absolute;
            width: 2px;
            background: #FFF;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -1px;
        }

    .container-timeline {
        padding: 15px 30px;
        position: relative;
        background: inherit;
        width: 50%;
    }

    .timeline .container-timeline:nth-child(odd) {
        left: 0;
    }

    .timeline .container-timeline:nth-child(even) {
        left: 50%;
    }

    .container-timeline::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        top: calc(50% - 5px);
        right: -10px;
        background: #ffffff;
        border: 2px solid var(--prif-color);
        border-radius: 16px;
    }

    .timeline .container-timeline:nth-child(even)::after {
        left: -10px;
        right: auto;
    }

    .container-timeline .date {
        position: absolute;
        display: inline-block;
        top: calc(50% - 5px);
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        color: #FFF;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .timeline .container-timeline:nth-child(odd) .date {
        right: -120px;
    }

    .timeline .container-timeline:nth-child(even) .date {
        left: -120px;
    }

    .container-timeline .content {
        padding: 30px 90px 30px 30px;
        background: var(--prif-color);
        position: relative;
        border-radius: 0 500px 500px 0;
    }

    .timeline .container-timeline:nth-child(even) .content {
        padding: 30px 30px 30px 90px;
        border-radius: 500px 0 0 500px;
    }

    .container-timeline .content h2 {
        margin: 0 0 10px 0;
        font-size: 1.3rem;
        font-weight: normal;
        color: #000;
    }

    .container-timeline .content p {
        margin: 0;
        font-size: 16px;
        line-height: 22px;
        color: #FFF;
    }

    @media (max-width: 767.98px) {
        .timeline::after {
            left: 90px;
        }

        .container-timeline {
            width: 100%;
            padding-left: 120px;
            padding-right: 30px;
            left: 0 !important;
        }

            .container-timeline::after {
                left: 82px !important;
                right: auto !important;
            }

            .container-timeline .date {
                right: auto;
                left: 15px;
            }

            .container-timeline .content {
                padding: 30px 30px 30px 90px;
                border-radius: 500px 0 0 500px;
            }
    }

    /* #endregion #DataCoreCSSPartial-LlinellAmser-0003# */

    /* #region #DataCoreCSSPartial-OrielModal-0001# */

    .overlay {
        visibility: hidden;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 665;
    }

    .overlay.show {
        visibility: visible;
        z-index: 1001;
    }

    .oriel-modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: 0;
        max-width: 100vh;
        overflow: hidden;
        visibility: hidden;
        padding: 1rem 1rem 0 1rem;
        transition: max-height 1s ease, visibility 0s 1s;
        z-index: 1000;
    }

    .oriel-modal img {
        width: 100%;
        z-index: 1;
    }
    
    .oriel-modal.show {
        max-height: 100vh;
        max-width: 100vh;
        visibility: visible;
        transition-delay: 0s;
        z-index: 1002;
    }

    /* #endregion #DataCoreCSSPartial-OrielModal-0001# */

    /* #region #DataCoreCSSPartial-Map-0001# */

    #map {
        min-height: 30rem;
      }

    /* #endregion #DataCoreCSSPartial-Map-0001# */

    /* #region #DataCoreCSSPartial-Cerdyn-0001# */

    .card {
        display: flex;
        position: relative;
        height: 25rem;
        width: 100%;
        max-width: 16rem;
       }

    /* #endregion #DataCoreCSSPartial-Cerdyn-0001# */

    /* #region #DataCoreCSSPartial-CerdynNewyddion-0002# */

    .overlay-newyddion {
        position: absolute;
        top: 2rem;
        left: 2rem;
        bottom: 2rem;
        width: calc(50% - 2rem);
        padding: 2rem;
        background-color: rgba(236, 167, 44, 0.5);
        box-sizing: border-box;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        text-align: right;
    }

    .overlay-newyddion h2 {
        font-size: 1.8rem;
        text-transform: uppercase;
        color: #FFF;
    }

    @media only screen and (max-width: 600px) {
        .overlay-newyddion {
            left: 0;
            width: 100%;
        }
    }

    /* #endregion #DataCoreCSSPartial-CerdynNewyddion-0002# */

    /* #region #DataCoreCSSPartial-CerdynTim-0003# */

    .cerdyn-tim {
        position: relative;
        height: 18rem;
        width: 13rem;
        background-size: cover;
        background-position: center; 
        background-repeat: no-repeat; 
        margin: 0;
    }
    
     .cerdyn-tim h3 {
        font-size: 1.4rem;
        color: #FFF;
        margin: 0;
        text-align: center;
        letter-spacing: 1px;
     }

    .testun-tim {
        position: absolute;
        bottom: 0rem;
        right: 0rem;
        padding: 1rem;
    }

    /* #endregion #DataCoreCSSPartial-CerdynTim-0003# */

    /* #region #DataCoreCSSPartial-Icon-0004# */

    i, #tudalennu span, #tudalennu a {
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--prif-color);
        height: 40px;
        width: 40px;
        background-color: #0f1923;
        transition: .1s ease-in-out, .4s color;
        cursor: pointer;
        font-size: 1.1rem;
        border: 2px solid var(--prif-color);
        outline: 1px solid black;
        outline-offset: 4px;
        box-sizing: content-box;
    }

    i:hover, #tudalennu a:hover {
        background-color: #000;
    }

    i:active, #tudalennu span:active, #tudalennu a:active {
        transform: translateX(0.1em) translateY(0.1em);
        box-shadow: 0 0 0 4px #000, 1.5px 1.5px 2.5px 1.5px rgba(0, 0, 0, 0.5);
      }  

    #tudalennu span strong {
        font-weight: 900;
    }

    .icon-hover:hover {
        color: var(--prif-color);
    }

    /* #endregion #region #DataCoreCSSPartial-Icon-0004# */

    /* #region #DataCoreCSSPartial-IconCyswllt-0001# */

    .iconau-cyswllt {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    /* #endregion #DataCoreCSSPartial-IconCyswllt-0001# */

/* #region DefaultCronos-X */

/* #region UwchNav */

#uwchnav {
    height: 3rem !important;
    z-index: 1;
}

#uwchnav p, #uwchnav p {
    color: var(--nav_a) !important;
}

#uwchnav i {
    color: var(--lliw_uwch_nav_icons);
    text-decoration: var(--lliw_uwch_nav_icons_text_decoration);
}

#uwchnav a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: var(--lliw_uwch_nav_icons_text_decoration) !important;
}

.ebost-uwch-nav {
    display: none !important;
}

/* #endregion */

/* #region TestunDesgfwrdd */

#Desgfwrdd H1, #Desgfwrdd H2, #Desgfwrdd H3, #Desgfwrdd H4, #Desgfwrdd H5, #Desgfwrdd H6 {
    color: var(--lliw_testun_headings);
}

#Desgfwrdd p:not(.btn p), th, td, span {
    color: var(--testun_gwybodaeth);
}

#Desgfwrdd .sgrol-y-70 p:not(.dewisiol) {
    color: var(--lliw_testun_headings);
}

#customFile {
    color: var(--testun_gwybodaeth) !important;
}

/* #endregion */

/* #region PopupDisgrifiadBotwm */

.navigation-item {
    position: relative;
    display: flex;
    align-items: center;
    color: #FFF;
}

.navigation-item-title {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    position: absolute;
    left: 100%;
    margin-left: 0.3rem;
    background-color: #2e2e2e;
    white-space: nowrap;
    padding: 0.5em 1em;
    border-radius: 6px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2);
    color: #FFF;
    z-index: 4;
}

.navigation-item:hover .navigation-item-title {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
    z-index: 4;
}

/* #endregion */

/* #region FlakesDesgfwrdd */

.cefndir-desgfwrdd {
    background-color: var(--lliw_arfordir);
}

.nav {
    width: 4rem;
    min-width: 4rem;
    border-radius: 3rem 0 0 3rem;
}

.tudalennau {
    height: auto;
    width: 14rem;
    border-radius: 3rem 3rem;
    position: relative;
}

.lefel-nav {
    position: relative;
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 3rem 3rem;
    background-color: var(--lliw_flake_prif_dewislen);
}

.lefel-tudalennau {
    position: relative;
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 3rem 3rem;
    background-color: var(--lliw_flake_dewislen);
}

.lefel-gwybodaeth {
    position: relative;
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 3rem 3rem;
    background-color: var(--lliw_flake_gwybodaeth);
    background: var(--llun_flake_gwybodaeth);
    background-size: cover;
}

.position-gosdiadau-proffil-desgfwrdd {
    position: absolute;
    top: 78vh;
    height: calc(100vh - 80vh);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* #endregion */

/* #region Coeden */

.tudalennau h4 {
    color: var(--testun_dewislen) !important;
}

.tree {
    padding-left: 1rem;
    position: relative;
}

    .tree li {
        list-style: none;
    }

    .tree:before {
        display: block;
        content: "";
        position: absolute;
        width: 2px;
        height: calc(100% - 2.2em);
        background-color: var(--testun_dewislen);
        left: 2px;
        top: 50%;
        transform: translateY(-50%);
    }
.tree--sub {
    z-index: 0;
}

    .tree--sub:after {
        position: absolute;
        content: "";
        display: block;
        height: 2px;
        width: 1rem;
        background-color: var(--testun_dewislen);
        top: 1.25em;
        left: -0.8rem;
        z-index: 0;
    }

.tree-branch-link {
    color: var(--testun_dewislen);
    text-decoration: none;
    position: relative;
    display: block;
    padding-top: 0.7em;
    padding-bottom: 0.5em;
    transition: 0.15s ease;
    cursor: pointer;
    z-index: 1;
}

    .tree-branch-link:before {
        position: absolute;
        content: "";
        display: block;
        height: 10px;
        width: 10px;
        border-radius: 50%;
        background-color: #ccc;
        border: 2px solid var(--testun_dewislen);
        top: 1em;
        left: calc(-1rem - 4px);
        z-index: 0;
        transition: 0.15s ease;
        transform-origin: 50% 50%;
        z-index: 1;
    }

    .coeden-uwch .tree-branch-link.active, .tree--sub .tree-branch-link.active, .coeden-uwch .tree-branch-link:hover, .tree--sub .tree-branch-link:hover {
        color: var(--testun_dewislen);
    }

        .coeden-uwch .tree-branch-link.active:before, .tree--sub .tree-branch-link.active:before, .coeden-uwch .tree-branch-link:hover:before, .tree--sub .tree-branch-link:hover:before {
            border-color: #fff;
            transform: scale(1.25);
        }

.tree-branch-link.active {
    font-weight: 500;
}

    .tree-branch-link.active:before {
        background-color: #fff;
    }

/* #endregion */

/* #region Sgrol */

.sgroll {
    overflow: auto;
    max-height: 80vh;
}

    *::-webkit-scrollbar {
        width: 10px;
    }

    *::-webkit-scrollbar-thumb {
        border-radius: 99em;
        background-color: #CCC;
    }

    *::-webkit-scrollbar-track {
        border-radius: 99em;
        margin: 1px;
    }

    .table-responsive::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

/* #endregion */

/* #region TablRecords */

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table-container {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .table-container th, .table-container td {
        border: 1px solid #ccc;
        padding: 8px;
        text-align: left;
        min-width: 6rem;
    }

    .table-container th {
        background-color: var(--prif-color);
        font-size: 14px;
    }

    .table-container td {
        font-size: 14px;
        white-space: normal;
        cursor: pointer;
    }

    .table-container td p {
        font-size: 14px;
    }

    .tabl-overflow-botymau {
        display: none;
    }
    
        .tabl-overflow-botymau.active {
            display: table-row;
        }
    

/* #endregion */

/* #region Select */

select.custom-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0.7rem;
    border: 3px solid var(--ail-color);
    border-radius: var(--border-radius);
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><polygon points="0,0 16,0 8,8" fill="%23000"/></svg>') no-repeat;
    background-size: 1.1rem;
    background-position: calc(100% - 20px) calc(1em + 4px), calc(100% - 15px) calc(1em + 2px), 100% 0;
    text-align: center;
    max-height: 2.7rem;
}

    select.custom-dropdown:hover,
    select.custom-dropdown:focus {
        outline: none;
        border-color: var(--trydydd-color);
    }

/* #endregion */

/* #region TestunBotwm */

.dashboard-button-text {
    font-size: 11px;
    font-weight: 400;
}

.dashboard-small-button-text {
    font-size: 8px;
    font-weight: 400;
    word-wrap: break-word;
}

/* #endregion */

/* #region Slider */

.knobs,
.layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.slider-button {
    position: relative;
    width: 74px;
    height: 36px;
    overflow: hidden;
}

    .slider-button.r,
    .slider-button.r .layer {
        border-radius: 100px;
    }

.checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs {
    z-index: 2;
}

.layer {
    width: 100%;
    background-color: var(--cefndir-slider);
    transition: 0.3s ease all;
    z-index: 1;
}

/* #endregion */

/* #region Termau */

#toggle-termau .knobs:before {
    content: "YES";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 10px;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: #FFF;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

#toggle-termau .checkbox:checked + .knobs:before {
    content: "NO";
    left: 42px;
    background-color: #FFF;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;;
}

#toggle-termau .checkbox:checked ~ .layer {
    background-color: #CCC;
}

#toggle-termau .knobs,
#toggle-termau .knobs:before,
#toggle-termau .layer {
    transition: 0.3s ease all;
}

/* #endregion */

/* #region DarkMode */

#toggle-darkmode .knobs:before {
    font-family: "Font Awesome 5 Free";
    content: "185";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 10px;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: #fefefe;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

#toggle-darkmode .checkbox:checked + .knobs:before {
    left: 42px;
    background-color: #2b2b2b;
    font-family: "Font Awesome 5 Free";
    content: "186";
    color: #FFF;
}

#toggle-darkmode .checkbox:checked ~ .layer {
    background-color: #000;
}

#toggle-darkmode .knobs,
#toggle-darkmode .knobs:before,
#toggle-darkmode .layer {
    transition: 0.3s ease all;
}

/* #endregion */

/* #region Cymraeg */

#toggle-cymraeg .knobs:before {
    content: "CY";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 10px;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: #FFF;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;;
}

#toggle-cymraeg .checkbox:checked + .knobs:before {
    left: 42px;
    background-color: #FFF;
    content: "EN";
    color: #000;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

#toggle-cymraeg .checkbox:checked ~ .layer {
    background-color: var(--ail-color);
}

#toggle-cymraeg .knobs,
#toggle-cymraeg .knobs:before,
#toggle-cymraeg .layer {
    transition: 0.3s ease all;
}

/* #endregion */

/* #region HR */

.hr-dashboard {
    height: 5px;
    border: none;
    border-radius: 0;
    background: #f4f5f0;
}

/* #endregion */

/* #region Tinymce */

#Blaen {
    overflow-x: hidden !important;
    overflow: hidden;
}

#Desgfwrdd {
    /* tinymce dropdown */
    overflow-x: visible !important;
}

/* #endregion */

/* #region Proffil */

.llenwi-cover {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    object-fit: cover;
}

.profile-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding-bottom: 1rem;
}

    .profile-container img {
        height: 40px;
        width: 40px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        border-radius: 100%;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;;
        border-style: solid;
        border-color: #FFF;
        border-width: 3px;
        object-fit: cover;
    }

.profile-background {
    position: relative;
    height: 20rem !important;
}

.dde-cefndir-proffil {
    position: absolute;
    top: 10rem;
    right: 4rem;
}

.my-profile-position {
    position: absolute;
    top: 14.6rem;
    left: 7rem;
    height: 10rem;
    width: 10rem;
}

.my-profile {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 100%;
    border: #FFF solid 3px;
    object-fit: cover;
}

.plus-wallpaper-icon {
    display: flex;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.5);
    background-color: var(--profile-icon-background) !important;
    cursor: pointer;
    box-shadow: none;
}

    .plus-wallpaper-icon:hover {
        border-radius: 100%;
        transition: transform 0.2s;
        transform: scale(1.1);
    }

.gosodiadau-proffil {
    height: 3rem;
    width: 5rem;
    position: absolute;
    bottom: 2rem;
    right: 1rem;
}

    .gosodiadau-proffil .fas {
        font-size: 1.5rem;
    }

/* #endregion */

/* #region Desgfwrdd */

.desgfwrdd-uwch {
    padding: 2rem 1rem 2rem;
}

#customFile {
    width: 100%;
}

#CuddioNavDesgfwrdd, #DangosNavDesgfwrdd {
    font-size: 2rem;
    z-index: 1000;
    cursor: pointer;
}

.nav-item {
    opacity: 1;
    transition: opacity 0.2s ease;
    color: var(--testun_dewislen);
}

.display-hidden {
    display: none;
    color: #000;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.delete-button-text {
    background-color: #FF0000;
    color: #FFF !important;
    font-family: "Dancing Script" !important;
    text-decoration: none;
    text-shadow: 0;
    font-weight: 400;
    transition: 0.3s;
}

    .delete-button-text:hover {
        background-color: crimson;
    }

.grid-title {
    font-weight: 900;
    margin: 0;
    text-shadow: 0;
}

.grid-underline {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--grid_underline);
}

/* #endregion */

/* #region GraffDrosDro */

.area-chart {
    /* Reset */
    margin: 0;
    padding: 0;
    border: 0;
    /* Dimensions */
    width: 100%;
    max-width: var(--chart-width, 600px);
    height: var(--chart-height, 300px);
}

    .area-chart tbody {
        width: 100%;
        height: var(--chart-height, 300px);
        /* Layout */
        display: flex;
        justify-content: stretch;
        align-items: stretch;
        flex-direction: row;
    }

    .area-chart tr {
        position: relative;
        /* Even size items */
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0;
    }

    .area-chart td {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        /* Color */
        background: var(--color, rgba(240, 50, 50, 0.75));
        clip-path: polygon( 0% calc(100% * (1 - var(--start))), 100% calc(100% * (1 - var(--end))), 100% 100%, 0% 100% );
    }

        .area-chart td:nth-of-type(1) {
            --color: #3D3D3D;
        }

        .area-chart td:nth-of-type(2) {
            --color: #000;
        }

        .area-chart td:nth-of-type(3) {
            --color: #098;
        }

/* #endregion */

/* #region Mewngofnodi */

.strike {
    display: block;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.8rem;
}

    .strike > span {
        position: relative;
        display: inline-block;
    }

        .strike > span:before,
        .strike > span:after {
            content: "";
            position: absolute;
            top: 50%;
            width: 9999px;
            height: 1px;
            background: #fff;
        }

        .strike > span:before {
            right: 100%;
            margin-right: 15px;
        }

        .strike > span:after {
            left: 100%;
            margin-left: 15px;
        }

.dde-absolute-03 {
    position: absolute;
    top: 0.3rem;
    right: 0.5rem;
}

.icon-botwm {
    font-size: 1.1rem;
    padding: 0.3rem;
}

/* #endregion */

/* #region Botwm-gweinyddwr */

.botwm-gweinyddwr {
    position: fixed;
    left: 0;
    bottom: 0;
    height: 4rem;
    width: 4rem;
    z-index: 1;
    border-top-right-radius: 10px;
    background-color: var(--lliw_tab_botwm_gweinyddwr);
}

/* #endregion */

/* #region Modal */

.modal-newydd {
    z-index: 10;
    position: fixed;
    height: auto;
    width: fit-content;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    background-color: var(--lliw_modal_cookies);
}

.modal-newydd p:not(.btn p) {
    color: var(--testun_modal_cookies) !important;
}

/* #endregion */

/* #region Pagination */

.tudalennu ul li {
    color: #000;
}

/* #endregion */

/* #region MaintDyfais */

/* #region Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .desgfwrdd-uwch {
        padding: 5rem 1rem 2rem;
    }
}

/* #endregion */

/* #region Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .desgfwrdd-uwch {
        padding: 5rem 1rem 2rem;
    }
}

/* #endregion */

/* #region Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

/* #region #uwch-nav */

.ebost-uwch-nav {
    display: flex !important;
}

/* #endregion */

}

/* #endregion */

/* #region Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

/* #region #desgfwrdd */

.dashboard-nav a {
	color: #000;
}

.dashboard-small-button-text {
    font-size: 10px;
}

.desgfwrdd-uwch {
    padding: 2rem 1rem 2rem;
}

/* #endregion */

}

/* #endregion */

/* #region Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}

/* #endregion */

/* #region Extra large devices (4k, 1400px and up) */
@media only screen and (min-width: 1400px) {

}

/* #endregion */

/* #region Extra large devices (4k, 1600px and up) */
@media only screen and (min-width: 1600px) {

}

/* #endregion */

/* #endregion */

/* #endregion */