/* cosd.css: Computers of South Dublin main style sheet (c) Robert Phair 2007 */

body {
	font-family: "Palatino Linotype", Palatino, serif;
	margin: 0px;
	vertical-align: top;
	padding: 0px;
}

table {
	table-layout: fixed;
	border-collapse: collapse;
}

td {
	border-style: none;
}

/*
h1 {
	font-size: 1.95em;
}
*/

.underline {
	text-decoration: underline;
}

.action {
	font-weight: bold;
	color: #c00;
}

a {
	text-decoration: none;
	font-weight: bold;
/* BLUE link scheme (ordinary links) */
	color: #00c;
} 

a:hover {
	color: #66f;
}

/* PURPLE link scheme (external links) */
a.external {
        color: #909;
}

a.external:hover {
        color: #303;
}

#logo {
	padding: 0px;
	width: 260px;
	background-color: #000080;
	color: white;
	vertical-align: middle;
	text-align: center;
}

#logo h1 {
	margin-top: 10px;
	margin-bottom: 10px;
}
	
#logo h1, #popup-logo h1 {
/*	font-family: Verdana, Arial, Helvetica, sans-serif; */
	font-family: "Courier New", Courier, monospace;
	font-size: 1.8em;
/*	font-style: italic; */
	font-weight: bold;
	line-height: 105%;
}

#top-grad p, #top-pale p, #bottom-grad p, #bottom-pale p {
	padding-left: 10px;
	padding-right: 10px;
	font-weight: bold;
}

#top-grad, #bottom-grad {
	background-repeat: repeat-y;
	background-color: #88B8FD;
}

#top-grad, #bottom-grad {
	width: 260px;
	background-image: url("images/cosd-lighten.gif");
	color: white;
}

#top-pale, #bottom-pale {
	background-color: #88B8FD;
	color: #000080;
}

	
#navigation {
	vertical-align: top;
	background-image: url("images/cosd-lighten.gif");
	padding: 10px 0 10px 0px;
}

#navigation ul {
	margin: 0;
	padding: 0;
}

#navigation li {
	list-style: none;
	font-weight: bold;
	font-style: italic;
	color: #aaa;
	font-size: 1.3em;
}

#navigation li#current {
	padding-left: 10px;
	padding-right: 10px;
}

#navigation a {
	padding-left: 10px;
	padding-right: 10px;
	display: block;
	font-style: normal;
	color: white;
	text-decoration: none;
	height: 100%;
}

#navigation a:hover {
	background-color: #2E3EAA;
}

#navigation a:active {
	color: black;
}

#navigation li#current li {
	margin-left: -10px;	/* absolute value = left menubar margin */
	margin-right: -10px;	/* absolute value = right menubar margin */
}

#navigation li li {
	font-size: 0.7em;
	font-weight: bold;
	font-style: italic;
}

#navigation li li#current {
	padding-left: 16px;	/* absolute value = left margin + indent */
}

#navigation li li a {
	font-weight: normal;
	font-style: normal;
	padding-left: 16px;	/* absolute value = left margin + indent */
	padding-right: 10px;	/* absolute value = right menubar margin */
}

#copy, #popup-copy {
	padding: 10px;
	background-color: #ccc;
	vertical-align: top;
}

p.first, h3.first {
	margin-top: 0;
}

p.last, h3.last {
	margin-bottom: 0;
}

h3.less-bottom-margin {
	margin-bottom: 5px;
}

p.only {
	margin-top: 0;
	margin-bottom: 0;
}

p.last-rule {
	margin-bottom: 0;
	margin-top: 10px;
	border-top: solid black 1px;
}

p.bar-date {
	text-align: right;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 0;
	border-top: solid black 1px;
}

/* a neat trick to delimit the last paragraph of copy section
#copy p.service-contact {
	margin-top: 10px;
	padding-top: 0px;
	border-top: solid black 1px;
}

#copy p.note {
	font-size: 0.85em;
	font-weight: bold;
	font-style: italic;
} */

#copy ul, #copy ol {
	margin-top: 0;
	margin-bottom: 0;
}

p.listhead {
	margin-bottom: 0;
}

#copy table {
	border-collapse: collapse; 
	border-spacing: 0px;
}

#copy td {
	border: 2px black solid;
	margin: 0px;
	padding: 4px;
}


h3.nospaceafter {
	margin-bottom: 0px;
}

#photo img {
	border: solid black 3px;
	background-color: white;
	margin: 0px;
}

#about-me td {
	border-style: none;
}

#my-pic-cell {
	width: 130px;
}

#credentials {
	margin-left: 3px;
}


/*
 * BEGIN IE_is_stupid
 *
 * These are necessary because Internet Explorer has a stupid way
 * of rendering tables by default (i.e., the least useful possible)
 */
#contact-field {
	width: 150px;
}

#ms-apps {
	width: 136px;
}

td.ms-contents {
	vertical-align: top;
}
/* END IE_is_stupid */

#info {
	padding: 10px;
	background-color: #000080;
	color: white;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
}

#info a {
	color: #66f;
}

#info a:hover {
	color: #2E3EAA;
}

#info a img {
	border: 0px;
	margin: 2px;
}

#info p {
	margin: 1px;
}

#info p:first-child {
	margin-top: 0;
}

#popup-logo {
        padding-left: 10px;
	background-color: #000080;
	color: white;
}

#popup-logo h1 {
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#popup-title {
        border-top: 3px black solid;
        padding-left: 10px;
        margin-bottom: 0;
        font-weight: bold;
        font-family: "Palatino Linotype", Palatino, serif;
        font-size: 1.2em;
	background-color: #88B8FD;
}

#popup-copy #leadin {
        font-weight: bold;
}

#popup-copy {
        border-top: 3px black solid;
        border-bottom: 3px black solid;
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 10px;
        font-family: "Palatino Linotype", Palatino, serif;
}

#popup-copy p.close {
        margin-bottom: 0;
}

#popup-copy p button {
        margin-right: 10px;
        background: white;
        border: solid black 2px;
}

/* firefox seems to use 120px/in.  This enforces it in all browsers
   for all specified widths in the document. */
@media print {
	#logo, #top-grad, #bottom-grad {
		width: 2.16667in;
	}
	#my-pic-cell {
		width: 1.4in;
	}
}
