body{
	background:#efe;
	background:url(/mbm/cúlra.jpg) no-repeat center center fixed;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size:cover;
	background-size:cover;
	/* Cleas chun teacht ó scáil a' bhuntáisc ghreamaithigh. */
	margin-bottom: 120px;
}
a:hover, a:active, a:focus{
	text-decoration:none;
}
q{
	color:#090;
	font-style:italic;
}
/* Ceanntair téacsa --------------------------------------------------------- */
#ceanntar-téacsa{
	padding:.125em .5em 1em .5em;
	margin-top:1.5em;
	margin-bottom:1.5em;
	border:thin #000 solid;
	background:#fff;
}
#ceanntar-téacsa .sacs-béarla{
	font-size:.95em;
	font-style:italic;
}
/* Táblaí ------------------------------------------------------------------- */
#ceanntar-téacsa table.ceacht{
	margin-left:auto;
	margin-right:auto;
	table-layout:fixed;
	width:90%;
}
#ceanntar-téacsa table tr:nth-child(odd) td{
	background:#ecffec;
}
#ceanntar-téacsa table tr:nth-child(even) td{
	background:#ffffdc;
}
#ceanntar-téacsa td{
	vertical-align:middle;
	padding:.5em;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* Column widths are based on these cells */
#ceanntar-téacsa table.ceacht .colún-cnaipe{
	text-align:center;
	width: 12%;
}
#ceanntar-téacsa table.ceacht .colún-gaelainn{
	width: 44%;
}
#ceanntar-téacsa table.ceacht .colún-béarla{
	width: 44%;
}
/* Teanga ------------------------------------------------------------------- */
.ceannfhocal-gaelainn{
	color:#090;
	font-weight:bold;
}
.foghraíocht-gaelainn{
	color:#009;
	font-weight:bold;
}
.sainmhíniú-béarla{
	color:#900;
	font-weight:bold;
}
/* Lógónna buntáisc --------------------------------------------------------- */
#lógónna-lárnaithe{
	text-align:center;
}
.lógó-lárnaithe{
	display:inline-block;
	margin-left:auto;
	margin-right:auto;
	height:4em;
	border:thin solid #000;
	max-width:100%;
}
/* Cnaipithe soir siar ------------------------------------------------------ */
p.siar-soir{
	text-align:right;
	margin-top:1em;
}
a.siar, a.soir{
	padding:.5em;
	border:#ccc solid thin;
	border-radius:4px;
}
a.siar:link, a.siar:visited, a.siar:active{
	background:#ffe400;
	color:#336;
}
a.soir:link, a.soir:visited, a.soir:active{
	background:#0971b2;
	color:#ff0;
}
a.siar:hover, a.siar:active, a.siar:focus{
	background:#fffc19;
	color:#336;
}
a.soir:hover, a.soir:active, a.soir:focus{
	background:#1485cc;
	color:#ff0;
}
/* Muarchnaipe lánleithid --------------------------------------------------- */
a.muarchnaipe-lán-leithid{
	display:block;
	margin:auto;
	width:100%;
	height:3em;
	line-height:3em;
	text-align:center;
	vertical-align:middle;
	color:#ffffef;
	font-weight:bold;
	font-size:1.75em;
	border:#000 thin solid;
	border-radius:2px;
}
a.muarchnaipe-lán-leithid:link, a.muarchnaipe-lán-leithid:visited{
	background:#090;
}
a.muarchnaipe-lán-leithid:hover, a.muarchnaipe-lán-leithid:active, a.muarchnaipe-lán-leithid:focus{
	color:#000;
	background:#ff6;
}
/* Cnaipe ceachtanna -------------------------------------------------------- */
div.cnaipe-ceachtanna-corr, a.cnaipe-ceachtanna-corr{
	background:#ecffec;
}
div.cnaipe-ceachtanna-réidh, a.cnaipe-ceachtanna-réidh{
	background:#ffffdc;
}
/* https://css-tricks.com/using-flexbox/ */
div.cnaipe-ceachtanna, a.cnaipe-ceachtanna{
	display: -webkit-box;		/* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;		/* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;		/* TWEENER - IE 10 */
	display: -webkit-flex;		/* NEW - Chrome */
	display: flex;			/* NEW, Spec - Opera 12.1, Firefox 20+ */
	align-items:center;
	margin-left:auto;
	margin-right:auto;
	margin-top:1em;
	margin-bottom:1em;
	padding:1em 2% 1em 2%;
	width:90%;
	text-decoration:none;
	text-align:left;
	vertical-align:middle;
	color:#333;
	border:#000 thin solid;
}
div.cnaipe-ceachtanna-béarla, div.cnaipe-ceachtanna-gaelainn{
	padding-left:1em;
}
div.cnaipe-ceachtanna-cnaipe{
	width:15%;
	padding-top:.5em;
	padding-bottom:.5em;
	font-weight:bold;
	font-size:2vmin;
	text-align:center;
	color:#ffffef;
	background:#090;
	border:#000 thin solid;
	border-radius:4px;
}
div.cnaipe-ceachtanna-cnaipe:link, div.cnaipe-ceachtanna-cnaipe:visited{
	background:#090;
}
div.cnaipe-ceachtanna-cnaipe:hover, div.cnaipe-ceachtanna-cnaipe:active, div.cnaipe-ceachtanna-cnaipe:focus{
	color:#000;
	background:#ff6;
}
div.cnaipe-ceachtanna-béarla{
	-webkit-box-flex: 1;		/* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1;		/* OLD - Firefox 19- */
	width: 15%;			/* For old syntax, otherwise collapses. */
	-webkit-flex: 1;		/* Chrome */
	-ms-flex: 1;			/* IE 10 */
	flex: 1;			/* NEW, Spec - Opera 12.1, Firefox 20+ */
	font-size:.95em;
	font-style:italic;
}
div.cnaipe-ceachtanna-gaelainn{
	-webkit-box-flex: 1;		/* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1;		/* OLD - Firefox 19- */
	width: 70%;			/* For old syntax, otherwise collapses. */
	-webkit-flex: 1;		/* Chrome */
	-ms-flex: 1;			/* IE 10 */
	flex: 1;			/* NEW, Spec - Opera 12.1, Firefox 20+ */
}

