/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/*css hen*/


/*.navbar {
    background-color: #404040 !important;
}

#survey-nav .navbar-toggler .ri-more-fill {
	color: #ffffff;
}
*/
/* tynnu'r font serif, sef IBMPlexSerif */ 
/*.large-heading {
	font-weight: 600;
	font-size: 2.85rem;
	line-height: 52px;
	font-family: "IBMPlexSans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
*/

/*diwedd hen*/

/*
.navbar-default .navbar-nav > li > a:link, .navbar-default .navbar-nav > li > a:visited, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:active {
    color: #ffffff !important;
}

.fruity .text-primary {
	font-size: 1.25em;
	color: #444444;
}

h4, .h4 {
	font-size: 1.25em;
}

h1, .h1 {
	font-size: 2rem;
	font-size: 3rem;
	margin: 20px 0;
	padding: 0;
}
p, th, td, li, .completed-text  {
    hyphens: none;
}
th {
    word-wrap: normal;
}*/


/*css newydd*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

.navbar {
    background-color: #292F36 !important;
}
#survey-nav .navbar-toggler .ri-more-fill {
	color: #ffffff;
}
/* tynnu'r font serif, sef IBMPlexSerif */ 
.large-heading {
	font-weight: 600;
	font-size: 2.85rem;
	line-height: 52px;
	 font-family: 'Poppins', sans-serif !important;
}

/* ---- Next / Submit button – gwyrdd / green ---- */
.btn-primary {
    background-color: #027b69 !important;
    border-color: #027b69 !important;
    color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #025e50 !important;
    border-color: #025e50 !important;
    color: #ffffff !important;
}

/* ---- Previous button – gwyn / white ---- */
.btn-outline-secondary {
    background-color: #ffffff !important;
    border-color: #027b69 !important;
    color: #027b69 !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #f0f0f0 !important;
    border-color: #025e50 !important;
    color: #025e50 !important;
}

/* ---- Lincs / Links ---- */
a,
a:link,
a:visited {
    color: #0372ad !important;
}
a:hover,
a:focus {
    color: #027b69 !important;
    text-decoration: underline;
}

/* ---- Radio buttons ---- */
.radio-item input[type="radio"]:checked + label::before {
    border-color: #027b69 !important;
}
.radio-item input[type="radio"]:checked + label::after {
    background: #027b69 !important;
}

/* ---- Checkboxes ---- */
.checkbox-item input[type="checkbox"]:checked + label::before {
    border-color: #027b69 !important;
}
.checkbox-item input[type="checkbox"]:checked + label::after {
    background: #027b69 !important;
    color: #ffffff !important;
}

/* ---- Focus rings (accessibility outline when tabbing) ---- */
.radio-item input[type="radio"]:focus + label::before,
.checkbox-item input[type="checkbox"]:focus + label::before {
    border-color: #027b69 !important;
    box-shadow: 0 0 0 0.2rem rgba(2, 123, 105, 0.25) !important;
}

/* ---- Selected/active answer highlight ---- */
.answer-item.checked,
.radio-item.checked,
.checkbox-item.checked {
    border-color: #027b69 !important;
}

/* ---- Bootstrap native checkboxes (e.g. privacy/datasecurity) ---- */
.form-check-input:checked {
    background-color: #027b69 !important;
    border-color: #027b69 !important;
}
.form-check-input:focus {
    border-color: #027b69 !important;
    box-shadow: 0 0 0 0.2rem rgba(2, 123, 105, 0.25) !important;
}

/* ---- Remove default navbar padding ---- */
#survey-nav.navbar {
    padding: 0 !important;
    flex-direction: column !important;
}

/* ---- Font: Poppins ---- */
body,
.form-control,
.btn,
.navbar {
    font-family: 'Poppins', sans-serif !important;
}