/*ffon gyntaf, dt efo mq. defnyddio visible efo fb i rhoi lle gwag rhwng yr atebion cywir ag y cwys

*/

body  {
margin:0 auto;
line-height:1.75em;
font-size:.90em;
font-weight:400;
font-family: Helvetica;
font-size: 20px;
/*font-family:arial;
background-color: #fff;*/
margin: 0;/* 0 negative space around the outside of the body */
padding: 0;  /* 0 negative space around the inside of the body */
font-size:90%;/*ADDED*/
}



#bwrdd { 
display : block; 
min-width : 0; 
font-family : Helvetica; 
font-size : 24px; 
font-weight : 400; 
padding : 0; 
margin : 10px 0 0 10px; 
} 
td#arChwith { 
text-align : left; 
width : 20%; 
} 
td#ynCanol { 
text-align : left; 
width : 20%; 
color : red; 
} 
td#arDde { 
text-align : left; 
width : 60%; 
padding-left : 1.2rem; 
font-size:1.2rem;
} 






#nav{
margin:0 auto;
margin-top:25px;
}

/*HON SYDD Y RHOID MAINT Y FONT I'R GEIRIAU I GLICIO*/
#nav a{
padding:5px;
font-weight:500;
color:blue;/*lliw a maint font yn cael ei newid yn cod*/
font-size:1.4rem;
/*width:80px;*/
display:inline-block;
}





h2{
text-align:center;
font-size:1.1rem;
color:#999;
/*border: 1px solid #999999;*/
}

h3{
text-align:justify;
font-size:0.8rem;
color:gray;

}

#sut a{
cursor:pointer;
}

li{
list-style: none;
padding-bottom:0px;
}

/*mae y tri nesua yn cael ei alw yn y cod*/
strong{
text-decoration:underline;
font-weight:500;
}

em{
text-decoration:underline;
background-color:#f3f269;
font-weight:500;
}

.silver{
font-size:12px;
font-weight:500;
color:gray;
}

.pinYin{
cursor:pointer;
}


.level {
    font-size: 60%;
    border: 1px solid #ccc;
    border-radius: 0.25em;
	background: #eee;
    -o-border-radius: 0.25em;
    -ms-border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    -webkit-border-radius: 0.25em;
    padding: 1px 3px;
}


#atebion{
/*background-color: #f2f2f2;
color: #000;*/
color:#222;
font-family: Helvetica;
font-size: 20px;
padding-left: 2px;
padding-bottom:2rem;
}



#sut{
position:relative;
top:10px;
}

/*u1 YN DAL A1, A2 ETC RHAID DEFNYDDIO CUDD A DDIM CUDDB EFO A1, A2 ETC AM FOD Y CUDDB YN DANGOS NHW FEL BLOCK A DDIM INLINE*/
#u1{
font-size: 20px;
color:#000;
display:block;
}

#count{
font-size: 20px;
color:gray;
display:none;/*i wneud y gair cyntaf cymyd yr un lle*/
/*padding-left: 25px;*/
}



#main-content{
position:relative;
display:block;/*MAE NA DISPLAY:RELATIVE OND BE MAE O YN WNEUD*/
margin:0px 10px 0px 10px;
padding:0px 10px 0px 10px;
width:auto;
}


#rdech {
position: relative;
display:block;
background-color: #fff;
color: #000;
font-family: Helvetica;
font-size: 16px;
margin:5px 0px 10px px;

}


#modal {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
}

#modalMask {
    position: absolute;
    left: 0px;
    top: 0px;
    width:100%;
    height:100%;
    background-color: #eee;
    z-index: 1000;
    opacity: 0.9;
    filter:alpha(opacity=90);
    -moz-opacity: 0.9;
}

#modalContent {
    position: relative;
    width:280px;
    margin: 15px auto;
    padding:15px;
    background-color: #fff;
    border:1px solid #000;
    text-align:justify;
    z-index: 9999;
	color:#003;
}
		

#r1 {
position: relative;
display: none;
padding: 0;
}

#r11 {
position: relative;
display: none;
font-size: 16px;
font-weight:600;
}



#dangAtbnAng{
padding-bottom:10px;

}

#tooLate {
padding-left:20px;
display: inline-block;
}

#myndAdref {
padding-left:30px;
display:inline-block;
}


#fb{
font-size:16px;
font-weight:400;
display:none;
padding:5px 5px 5px 5px;
z-index: 2;
}

#n1 {
position:relative;
top:30px;
font-size:25px;
font-weight:600;
color:blue;
display:none;
text-align:center;
cursor:pointer;
margin-bottom:4rem;
}


#timeMeButton {
padding-left:40px;
display:inline-block;
font-size:12px;
font-weight:400;
color:red;
cursor:pointer;
/*border: 1px solid #999999;*/

}


#timeMeMessage {
display:inline-block;
font-size:12px;
font-weight:400;
color:red;
/*border: 1px solid #999999;*/

}

#sgor {
text-align:center;
display:inline-block;
font-size:12px;
font-weight:600;
color:gray;
padding-left:30px;
}


#ndech {
position:relative;
top:40px;
font-size:1.4rem;
font-weight:300;
color:blue;
margin:8px 0px 8px 0px;
display:block;
cursor:pointer;
}




#ndech2 {
position:relative;
top:70px;
font-size:1.4rem;
font-weight:300;
color:blue;
margin:8px 0px 18px 0px;
display:block;
cursor:pointer;
}


#tic {
position:absolute;
left:265px;
top:10px;
width:20px;
height:20px;
display:none;

}


#dangosSgor {
position:relative;
left:30px;
display:inherit;
font-size:20px;
font-weight:600;
color:gray;
}



/**************** MQ for DT ***************************/
@media all and (min-width: 720px){



body  {
font-size:90%;/*ADDED*/
width:50%;
/*max-width:1000px;  CADW O YN GUL AR SGRIN MAWR*/
margin:0 auto;
line-height:1.75em;
/*font-size:.90em;*/
font-weight:400;


}

h3{
font-size:1.5rem;
}


#bwrdd td{
font-size:1.6rem;
padding-left:2rem;
padding-bottom:2rem;
}


#sut{
font-size:1.2rem;
}


#ndech {
top:50px;
font-size:28px;
font-weight:500;
}


#ndech2 {
top:150px;
font-size:28px;
font-weight:500;
}



#n1 {
top:100px;
left:150px;
font-size:24px;
/*text-align:center;*/
}
#n2 {
top:140px;
left:150px;
font-size:24px;
}

#r1 {
position: relative;
left: 10px;
top:0px;
display: none;
/*text-align:center;NO NEED TO CENTER IT*/
padding: 0;
margin:0px 0px 0px 0px;
}

#u1{
font-size: 28px;
color:#000;
/*border: 1px solid #999999;*/
}


#nav{
margin-top:45px;
}


#nav a{
padding:5px;
margin:0px;
font-size:30px;
}

#atebion{
font-size: 25px;
/*padding-left: 12px;*/
}


#fb{
font-size:19px;
line-height:2.5rem;
padding:5px 5px 5px 5px;
}

#n1 {
top:40px;
left:-40px;
font-size:25px;
font-weight:600;
color:blue;
display:none;
text-align:center;
cursor:pointer;
}






}/*CAU MQ*/




/*
RELATIVELY POSITIONED ELEMENTS ARE OFTEN USED AS CONTAINERS FOR ABSOLUTELY POSITIONED ELEMENTS. STATIC ELEMENTS (DEFAULT) CANNOT ACT AS A CONTAINER.
An absolute position element is positioned relative to the first parent element that has a position other than static. If no such element is found, the containing block is <html>:
Absolutely positioned elements are removed from the normal flow. The document and other elements behave like the absolutely positioned element does not exist.
Absolutely positioned elements can overlap other elements.
When elements are positioned outside the normal flow, they can overlap other elements.

The z-index property specifies the stack order of an element (which element should be placed in front of, or behind, the others).
An element can have a positive or negative stack order: e.g.  z-index:-1
An element with greater stack order is always in front of an element with a lower stack order.
If two positioned elements overlap, without a z-index specified, the element positioned last in the HTML code will be shown on top.
You can use the overflow property when you want to have better control of the layout. Options: visible (can overflow), hidden (can't but overflow can't be seen either) scroll, auto(same as scroll) or inherit. The default value is visible.
*/