﻿/* Angen dileu rhain efo dyluniad newydd - teitl, is-deitl  /Ail-enwi - row-newydd input-newydd hr-newydd*/

/* #region RhestrOstwng-Dropdown */

.dropdown {
    position: relative;
    display: flex;
    width: 100%;
}

.dropdown-btn {
    background-color: #fff;
    padding: 0.3rem 2rem 0.3rem 0.5rem;
    border: 2px solid #000;
    border-radius: 0.3rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    /* Saeth blwch mewnbwn SVG */
    background: url('data:image/svg+xml;utf8,<svg fill="%23555" height="26" viewBox="0 0 24 24" width="26" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-size: 26px;
}

    .dropdown-btn .btn-text {
        flex-grow: 1;
    }

    .dropdown-btn .arrow {
        margin-left: auto;
    }

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

    .dropdown-content a {
        padding: 10px;
        display: block;
        text-decoration: none;
        color: black;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

.selected {
    color: white !important;
    background-color: #338ce6;
}

/* #endregion */

/* #region CheckboxExpand */

.CheckboxExpandIsGategori {
    display: none;
}

/* #endregion */

/* #region ExpandCollapsibleByDefault */

.field_92 .EhanguDatapage, .EhanguDatapage {
    display: block;
}

.field_92 .CwympoDatapage, .CwympoDatapage {
    display: none;
}

/* #endregion */

/* #region IconauTrefnuDatatables */
.dt-search {
    display: none;
}

/* Ensure the sort icon is visible and styled properly */
table.dataTable thead th .dt-column-order {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.2s;
}

.dt-column-header {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Default state (no sort) */
table.dataTable thead th.dt-orderable-asc .dt-column-order {
    background-image: url('data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 320 512%22 fill%3D%22%23000000%22%3E%3Cpath d%3D%22M192 448h-64V32h64v416zm64-320h-192c-21.4 0-32.1 25.9-17 41L143 465c9.4 9.4 24.6 9.4 33.9 0L273 169c15-15.1 4.3-41-17-41z%22/%3E%3C/svg%3E');
}

/* Ascending Sort Icon (Black) */
table.dataTable thead th.dt-ordering-asc .dt-column-order {
    background-image: url('data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 320 512%22 fill%3D%22%23000000%22%3E%3Cpath d%3D%22M279 224H41c-21.4 0-32.1-25.9-17-41L143 47c9.4-9.4 24.6-9.4 33.9 0L296 183c15 15.1 4.3 41-17 41z%22/%3E%3C/svg%3E');
}

/* Descending Sort Icon (Black) */
table.dataTable thead th.dt-ordering-desc .dt-column-order {
    background-image: url('data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 320 512%22 fill%3D%22%23000000%22%3E%3Cpath d%3D%22M41 288H279c21.4 0 32.1 25.9 17 41L177 465c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15-15.1-4.3-41 17-41z%22/%3E%3C/svg%3E');
}

/* #endregion */

/* #region Lluniau */

.logo {
    height: 6rem;
    width: 13rem;
}

/* #endregion */

/* #region NavDrosDro */

.lliw-1 {
    background-color: #19262e;
}

header {
    height: 100%;
    width: 100%;
}

/* #region Nav */

.nav-container {
    position: fixed;
    width: 100%;
    height: 3rem;
    z-index: 100;
}

nav a {
    color: #FFF;
    font-size: 13px;
}

.aroleuo-nav:hover i {
    transform: scale(0.95);
    color: #87c0c9;
    border: 2px #87c0c9 dashed;
}

.aroleuo-nav:hover a {
    transform: scale(0.95);
    color: #CCC;
}

nav i:hover {
    color: #87c0c9;
    border: 2px #87c0c9 dashed;
}

.nav-arferol {
    display: none !important;
}

.hamburger-symudol {
    display: flex !important;
    position: relative;
    z-index: 667;
    height: 3rem;
}
.dewislen-symudol {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 666;
    background-color: #19262e;
    /* fade + slide */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px); /* start slightly above */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .dewislen-symudol.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* fade + slide to final position */
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

@media only screen and (min-width: 830px) {
    .nav-arferol {
        display: flex !important;
    }

    .hamburger-symudol, .dewislen-symudol {
        display: none !important;
    }
}

/* #endregion */

/* #region Hambuger */

.bars {
    width: 80px;
    cursor: pointer;
}

    .bars .line {
        fill: none;
        stroke: #fff;
        stroke-width: 5;
        stroke-linecap: square;
        transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    }

        .bars .line.top {
            stroke-dasharray: 40 172;
        }

        .bars .line.middle {
            stroke-dasharray: 40 111;
        }

        .bars .line.bottom {
            stroke-dasharray: 40 172;
        }

    .bars.active .top {
        stroke-dashoffset: -132px;
    }

    .bars.active .middle {
        stroke-dashoffset: -71px;
    }

    .bars.active .bottom {
        stroke-dashoffset: -132px;
    }

/* #endregion */

/* #endregion */

/* #region DrosDro */

/* Textarea - HebTinyMCE - LlenwiFframBotwmHanesyddol */
.blwch-testun {
    height: 125px;
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    outline: none !important;
    padding: 0.7rem 0.5rem !important;
    resize: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    background: transparent;
}

/* YchwangeuRhiant */
.panel-body h6, .panel-body p {
    margin: 0;
}

.dropdown button {
    margin: 0 !important;
}

.pagination {
    padding: 1rem 1rem 1rem 0;
}

.pagination .page-link {
    color: #000 !important;
}

.newPageNav {
    height: 100%;
}

input {
    margin: 0 !important;
}

.dt-buttons {
    padding-top: 1rem !important;
}

.lled-15 {
    width: 15rem !important;
}

.dt-column-order {
    color: #000;
}

/* GwagleLlwydGwaelodTinyMce */
.tox .tox-edit-area__iframe {
    height: 100% !important;
}

/* #endregion */

/* #region site.css */
html {
    font-size: 16px;
}

* {
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    width: 100%;
    height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.8rem 0 0.8rem 0;
}

/*h1 {
    font-size: 2.1rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-size: 1rem;
}

label {
    font-size: 1.2rem;
}
*/

small {
    font-size: 0.875rem;
}

button,
input,
textarea {
    font-size: 1rem;
}



/* #region Sgrol */

.sgrol {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smooth on iOS */
    scroll-behavior: smooth; /* smooth jumps */
    /* Firefox scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.7) rgba(255, 255, 255, 0.1);
}

    /* WebKit scrollbar (Chrome, Safari, Edge) */
    .scroll::-webkit-scrollbar {
        width: 8px;
    }

    .scroll::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
    }

    .scroll::-webkit-scrollbar-thumb {
        background-color: rgba(100, 100, 100, 0.45);
        border-radius: 8px;
    }

        .scroll::-webkit-scrollbar-thumb:hover {
            background-color: rgba(100, 100, 100, 0.65);
        }

/* #endregion */

/* #endregion */

/* #region DropdownChwilioHidlo */

.dropdown-hidlo {
    position: relative;
    width: 300px;
}

    .dropdown-hidlo #dropdownSearch {
        width: 100%;
        padding: 10px 30px 10px 10px;
        box-sizing: border-box;
        border-radius: 0.4rem;
        max-width: 100%;
        background: url('data:image/svg+xml;utf8,<svg fill="%23555" height="26" viewBox="0 0 24 24" width="26" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
        background-size: 26px;
        font-size: 14px;
        height: 40px;
    }

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    display: none;
    z-index: 1000;
}

    .dropdown-list .item {
        padding: 10px;
        cursor: pointer;
    }

        .dropdown-list .item:hover {
            background: #e0e0e0;
        }

/* #endregion */

/* #region Hover Gwybodaeth Icon "i" */

    .GwybodaethHover {
        position: relative;
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 0.25rem;
    }

    .TestunGwybodaethHover {
        visibility: hidden;
        width: auto;
        min-width: 200px;
        background-color: #333;
        color: #fff;
        text-align: left;
        border-radius: 4px;
        padding: 0.5rem;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s;
    }

        .TestunGwybodaethHover::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

    .GwybodaethHover:hover .TestunGwybodaethHover {
        visibility: visible;
        opacity: 1;
    }

/* #endregion */

/* #region Base */

/* #region Lliwiau*/

.gwyn {
    color: #FFF !important;
}

.glas {
    color: #0d6efd !important;
}

.du {
    color: #000 !important;
}

/* #endregion */

/* #region Colofnau */

.col-1 {
    width: 100%;
}

.col-2 {
    width: 100%;
}

.col-3 {
    width: 100%;
}

.col-4 {
    width: 100%;
}

.col-5 {
    width: 100%;
}

.col-6 {
    width: 100%;
}

.col-7 {
    width: 100%;
}

.col-8 {
    width: 100%;
}

.col-9 {
    width: 100%;
}

.col-10 {
    width: 100%;
}

.col-11 {
    width: 100%;
}

.col-12 {
    width: 100%;
}

/*[class*="col-"] {
    width: 100%;
}*/

/* #endregion */

/* #region Containers */

.container-tomos {
    height: auto;
    width: 100%;
}
 
.container-flex {
    display: flex;
    height: auto;
    width: 100%;
}

.container-awto {
    display: flex;
    height: auto;
    width: auto;
}

/* #endregion */

/* #region Offer */

.canoli-heb-pwysig {
    display: flex;
    justify-content: center;
    align-items: center;
}

.canoli {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.canoli-fertigol {
    display: flex;
    align-items: center;
}

.canoli-dde {
    display: flex;
    justify-content: right;
    align-items: center;
}

.canoli-chwith {
    display: flex;
    justify-content: left;
    align-items: center;
}

.chwith {
    display: flex;
    align-items: flex-start;
}

.canoli-testun {
    text-align: center;
}

.colofn {
    display: flex;
    flex-direction: column;
}

.rhes {
    display: flex;
    flex-direction: row;
}

.wrap {
    flex-wrap: wrap;
}

.llenwi {
    height: 100%;
    width: 100%;
}

.dim-wrap {
    display: flex;
    flex-wrap: nowrap;
}

.dim-testun-wrap {
    white-space: nowrap;
}

/* #endregion */

/* #region Margin */

.margin-0 {
    margin: 0 !important;
}

/* #endregion */

/* #region Padding */

.p-05 {
    padding: 0.5rem;
}

.p-1-tomos {
    padding: 1rem;
}

.p-2-tomos {
    padding: 2rem;
}

.p-3 {
    padding: 3rem;
}

.p-u-02 {
    padding-top: 0.2rem;
}

.p-u-05 {
    padding-top: 0.5rem;
}

.p-u-1 {
    padding-top: 1rem;
}

.p-u-2 {
    padding-top: 2rem;
}

.p-u-3 {
    padding-top: 3rem;
}

.p-g-1 {
    padding-bottom: 1rem;
}

.p-g-2 {
    padding-bottom: 2rem;
}

.p-g-3 {
    padding-bottom: 3rem;
}

.p-dd-1 {
    padding-right: 1rem;
}

.p-dd-2 {
    padding-right: 2rem;
}

.p-dd-3 {
    padding-right: 3rem;
}

.p-ch-1 {
    padding-left: 1rem;
}

.p-ch-2 {
    padding-left: 2rem;
}

.p-ch-3 {
    padding-left: 3rem;
}

.p-ch-5 {
    padding-left: 5rem;
}

.p-ch-6 {
    padding-left: 6rem;
}

.p-ug-1 {
    padding: 1rem 0 1rem 0;
}

.p-ug-2 {
    padding: 2rem 0 2rem 0;
}

.p-ug-3 {
    padding: 3rem 0 3rem 0;
}

/* #region p-ddch */

.p-ddch-1 {
    padding: 0 1rem 0 1rem;
}

.p-ddch-2 {
    padding: 0 2rem 0 2rem;
}

.p-ddch-3 {
    padding: 0 3rem 0 3rem;
}

/* #endregion */

/* #endregion #padding */

/* #region Gap */

.gap-02 {
    gap: 0.2rem;
}

.gap-05 {
    gap: 0.5rem;
}

.gap-1-tomos {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.gap-3 {
    gap: 3rem;
}

/* #endregion */

/* #endregion */



/* #region #cynlluniau_adroddiadau */

#modal-categori-cynlluniau-adroddiadau, #modal-addasu-categori-cynlluniau-adroddiadau {
    display: none;
}

.modal-tomos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: 30rem;
    z-index: 1000;
}

.cuddio {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* #endregion */

a {
    text-decoration: none;
    color: #000;
}

/* botwm lawrlwytho defnyddwyr */
.downloadUsersWrapper {
    justify-self: end;
}

/* #botwm-enabled-2fa */

.maint-botwm {
    height: 20px;
    width: auto;
    padding: 1rem;
    border-radius: 10px;
    background-color: #5cb85c;
    color: #FFF;
    text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* #botwm-enabled-2fa */

/* #botwm-2fa */

.botwm-dewis-2fa {
    background: none;
    border: none;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
    height: 7rem;
    width: 100%;
    font-size: 1.8rem;
}

    .botwm-dewis-2fa:hover {
        border: 1px solid #c70505;
        border-radius: 5px;
        color: #c70505;
    }

.botwm-plaen {
    background: none;
    border: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}
    .botwm-plaen:hover {
        color: #c70505;
    }

/* #botwm-2fa */

.dde {
    display: flex;
    justify-content: flex-end;
}

.border {
    border: 1px solid #b6b6b6;
    border-radius: 5px;
}

.border-gwaelod {
    border-bottom: 1px solid #b6b6b6;
    width: 100%;
}

.cylch {
    height: 150px;
    width: 150px;
    border-radius: 100%;
    background-color: #e6e7e9;
}

.width-13 {
    width: 13rem;
}

footer a:hover {
    color: #FFF !important;
}

nav-item:hover {
    color: #FFF !important;
}

.teitl {
    font-size: 40px;
}

.is-deitl {
    font-size: 20px;
}

.teitl-h3 {
    font-size: 27px;
}

.text-twofa-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 3rem 3rem 3rem;
    text-align: center;
}

.twofa-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    height: 125px;
    width: 100%;
    margin: 0;
}

.twofa-rhif-ffon-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 3rem 3rem 3rem;
}

.botwm-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0 8rem 0;
}

.input-newydd {
    height: 85px;
    width: 50px;
    font-size: 40px;
    text-align: center;
    border-width: 0px;
    border-radius: 5px;
    background-color: #19262e;
    color: #FFF;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.input-rhif-ffon {
    height: 55px;
    width: 275px;
}

.strong {
    color: #C70505;
}

.teitl strong {
    font-weight: 600;
    color: #C70505;
}

.is-deitl strong {
    text-transform: uppercase;
    font-weight: 600;
    color: #C70505;
}

.col-30 h2 {
    text-align: center;
}

/* #base-CSS */

.col-25 {
    width: 100%;
}


/* #base-CSS */


/* #botymau */

.botwm-newydd {
    background-color: #19262e !important;
    color: #FFF !important;
    padding: 1rem;
    border-radius: 10px;
    text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

    .botwm-newydd:hover {
        background-color: #C70505 !important;
        color: #FFF !important;
        text-decoration: none;
    }

    .saveButton:disabled {
        background-color: #EBEBEB !important;
        color: #696969 !important;
        border: 0;
    }

/* #botymau */

/* #footer */

footer {
    position: relative;
    background-color: #19262e;
    color: #FFF;
    width: 100%;
}

.gwybodaeth-container {
    display: flex;
    flex-direction: column;
    padding: 4rem 3rem 8rem 3rem;
    margin-bottom: -5%;
    background-color: #19262e;
}

.footer-rhestr {
    padding: 1rem 3rem 0rem 3rem;
}

    .footer-rhestr ul li {
        list-style-type: none;
        padding: 1rem;
    }

.teitl-h3 {
    padding-bottom: 1.5rem;
}

footer a {
    color: #FFF;
}

.hr-newydd {
    width: 90%;
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
    margin: auto;
    color: #FFF;
}

.logo-footer {
    width: 250px;
    height: 80px;
}

.logo-footer-llai {
    width: 130px;
    height: 60px;
}

.gwynedd_logo {
    height: 90px;
    width: 60px;
    padding: 0.7rem;
}

.mon_logo {
    height: 57px;
    width: 140px;
    padding: 0.7rem;
}

.adych_logo {
    height: 110px;
    width: 90px;
    padding: 0.7rem;
}

.logo-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.fa-solid {
    font-size: 22px;
    padding: 0 0.3rem 0 0.3rem;
}

.footer-terms-container .copyright {
    position: absolute;
    right: 3rem;
    padding-bottom: 1rem;
}

.footer-terms-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 1rem 4rem;
}

/* #footer */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }

    .footer-terms-container {
        padding: 1rem 10rem;
    }

        .footer-terms-container .copyright {
            right: 10rem;
        }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

    .wrap {
        flex-wrap: nowrap;
    }

    footer {
        height: 100%;
        min-height: 450px;
    }

    .gwybodaeth-container {
        flex-direction: row;
    }

    .footer-rhestr {
        padding: 1rem 3rem 4rem 3rem;
    }

    .col-25 {
        width: 25%;
    }
}

/* Large devices (laptops/desktops, 992px and down) */
@media only screen and (max-width: 992px) {
    .wrap {
        flex-wrap: wrap !important;
    }
}