/*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; 
} 






#nav{
text-align:left;
margin:0 auto;
}
#nav a{
padding:5px;
margin:5px;
font-weight:500;
color:blue;/*lliw a maint font yn cael ei newid yn cod*/
font-size:1.1rem;
/*width:80px;*/
display: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;
}


.pinYin{
cursor:pointer;
}

/*YR ATEB CYWIR, UN GAIR NE BRAWDDEG AROL Y LLALL*/


#a1{
color:#000;
font-size:20px;
margin: 10px 0 10px 0;
}

#a2{
color:#000;
font-size:20px;
margin: 10px 0 10px 0;
}

#a3{
color:#000;
font-size:20px;
margin: 10px 0 10px 0;
}

#a4{
color:#000;
font-size:20px;
margin: 10px 0 10px 0;
}

#a5{
color:#000;
font-size:20px;
margin: 10px 0 10px 0;
}


#count{
font-size: 20px;
color:gray;
display:none;/*i wneud yr air cyntaf cymyd y rhun lle*/
/*padding-left: 25px;*/
}

#a1{
margin: 10px 0 0 0;
}

#a2{
margin: 10px 0 0 0;
}

#a3{
margin: 10px 0 0 0;
}

#a4{
margin: 10px 0 0 0;
}

#a5{
margin: 10px 0 0 0;
}


#a5{
margin: 10px 0 0 0;
}

/*YN RHOI LLE GWAG BOB OCHOR AR FFON*/
#main-content{
display:block;
/*display:relative;MAE NA DISPLAY:RELATIVE OND BE MAE O YN WNEUD*/
margin:0px 10px 0px 10px;
padding:0px 10px 0px 10px;
width:auto;
}


#rdech {
display:block;
color: #000;
font-size: 20px;
margin:5px 0px 10px 0px;

}


#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 {
display: none;
padding: 0;
}

#r11 {
display: none;
font-size: 16px;
font-weight:600;
}




#myndAdref {
padding-left:30px;
display:inline-block;
}


#fb{
font-size:19px;
font-weight:400;
display:none;
padding:5px 5px 5px 5px;
margin-bottom:15px;
color:gray;
border: 1px solid #999999;
}

#n1 {
position:relative;
top:30px;
font-size:25px;
font-weight:600;
color:blue;
display:none;
text-align:center;
cursor:pointer;
}


#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:20px;
font-size:20px;
font-weight:300;
color:blue;
margin:8px 0px 8px 0px;
display:block;
cursor:pointer;
}




#ndech2 {
position:relative;
top:50px;
font-size:20px;
font-weight:500;
color:blue;
margin:8px 0px 8px 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;
}




/*******************************     DT     **************************************/
/*
I RHOID BOB PETH YN Y CANOL:
margin-left:auto;
margin-right:auto; ELLA FOD MARGIN:0 AUTO YN GWNEUD YR UN PETH
width:60%;
*/

@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;


}
/*MAE Y NESAU YN DAL Y CWESTIYNAU AG YR ATEBION. MAE Y SCRIPT YN GOSOD CLAS BOBCW AR Y CWESTIWN AG YN GOSOD ID CYN, LICYN, LIAIL ETC AR YR ATEBION */



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;
}


#a1{
color:#000;
font-size:28px;
margin: 10px 0 10px 0;
}

#a2{
color:#000;
font-size:28px;
margin: 10px 0 10px 0;
}

#a3{
color:#000;
font-size:28px;
margin: 10px 0 10px 0;
}

#a4{
color:#000;
font-size:28px;
margin: 10px 0 10px 0;
}

#a5{
color:#000;
font-size:28px;
margin: 10px 0 10px 0;
}

#a6{
color:#000;
font-size:28px;
margin: 10px 0 10px 0;
}


#nav a{
padding:5px;
margin:0px;
}


#fb{
font-size:1.6rem;
line-height:2.5rem;
padding:5px 5px 5px 5px;
}




}/*CAU MQ*/














/*MEDIA QUERY SECTION
@media screen and (max-width: 321px){
h1{
font-size:2.5rem;
color:green;
}
#main-content{
border-radius:10px;
margin:10px;
}
#fb{
width:90%;
color:green;
}
}

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.
*/