/* Type & image presets */

img, object, embed {
margin-top: 3px;
margin-bottom: 12px;
}

body {
font-family: 'PT Serif', Georgia, serif;
color:#323232;
font-size: 15.5px;
text-rendering: optimizeLegibility;
letter-spacing: -0.05px;
line-height: 25px;		/* Changing this will break the baseline grid. */
-webkit-text-size-adjust: none;		/* Stops the iPhone scalling type up */
}

perex {
font-size: 115%;
}

/*a {
text-decoration: none;
color: #c14040;
border-bottom: none;
}

a:hover {
color: #c14040;
border-bottom: 1px solid;
}

a.textrightcolumn:hover {color: #666666;}

*/


a {
	text-decoration: none;
	color: #356587;
	position: relative;
	cursor: pointer;
	border-bottom: 1px solid #d3d3d3;

}

a:hover {
	color: #c14040;
	border-bottom: 1px solid #c14040;
}

a img {
display: block;		/* Stops image links getting text link styles */
}

img {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin-bottom: 10px;
}

img.lectures {
float:left; padding-right:40px; padding-top:4px; border-bottom: none;
}

img.news {
float:left; padding-right:28px; padding-top:4px; border-bottom: none;
}

img.software {
margin-bottom: -3px; border-bottom: none;
}

p, ul, ol, blockquote {
margin-bottom: 21px;	/* Changing this will break the baseline grid. */
}

b, strong {
/*color: #54647d;*/
color: #555d68;
letter-spacing: 0.5px;
}

i, em {
letter-spacing: 0.0px;
}

li {
margin-bottom: 6px;
}

#lileading{
margin-top:10px;
}

#lileadingmore{
margin-top:30px;
}

blockquote {
border-left: 1px solid #c1c1c1;
color: #747474;
padding-left: 15px;
margin-left: 2px;
}

h1 {
color: #656d78;
font-family: 'Passion One', Georgia, serif;
font-size: 195%;
text-transform: uppercase; 
line-height: 42px;		/* Changing this will break the baseline grid. */
margin-bottom: 32px;	/* Changing this will break the baseline grid. */
margin-top: 10px;
position: relative; top: 13px;
font-weight: lighter;
letter-spacing: 0.66px; 
}

h2 {
/*color: #4d4c4b;*/
color: #b13030;
font-size: 102%;
text-transform: uppercase; 
line-height: 29px;
margin-bottom: 13px;
/* margin-bottom: 21px;	 Changing this will break the baseline grid. */
margin-top: 12px;
letter-spacing: 0.25px;
font-family: 'PT Serif', Georgia, serif;
}

h2:before { font-size: 100% !important; color: #b13030 !important; content:"◼ "; }

h3 {
color: #54647d;
font-size: 112%;
/*line-height: 28px;*/
margin-bottom: 15px;
/* margin-bottom: 21px;	 Changing this will break the baseline grid. */
margin-top: 12px;
letter-spacing: 0.5px;
font-family: 'PT Serif', Georgia, serif;
}

h4 {
color: #54647d;
font-size: 107%;
line-height: 27px;
margin-bottom: 10px;	/* Changing this will break the baseline grid. */
margin-top: 12px;
letter-spacing: 0.2px;
font-family: 'PT Serif', Georgia, serif;
}

.fleuron {
position: relative; top: -5px;
color: #64748d;
font-size: 192%;
font-family: 'PT Serif', Georgia, serif;
text-align: center;
margin-bottom: 25px;
}

.fleuron_index {
position: relative; top: 5px;
color: #64748d;
font-size: 192%;
font-family: 'PT Serif', Georgia, serif;
text-align: center;
margin-bottom: 45px;
}

.fleuron_shifted {
position: relative; top: -33px;
color: #64748d;
font-size: 192%;
font-family: 'PT Serif', Georgia, serif;
text-align: center;
margin-bottom: 20px;
}

.fleuron_shifted_down {
position: relative; top: 7px;
color: #64748d;
font-size: 192%;
font-family: 'PT Serif', Georgia, serif;
text-align: center;
margin-bottom: 20px;
}

.fleuron_annotate {
position: relative; top: -20px;
color: #64748d;
font-size: 166%;
font-family: 'PT Serif', Georgia, serif;
text-align: center;
margin-bottom: 20px;
font-style: normal !important;
}

.bulletfeedback {
font-style: normal !important;
font-size: 90% !important;
color: #54647d !important;
}

.displaynumber {
color: #c14040;
font-family: 'Passion One', Georgia, serif;
font-size: 350%;
text-transform: uppercase;
margin-right: .33em;
}

.displaytext {
color: #c14040;
font-size: 110%;
text-transform: uppercase; 
letter-spacing: 0.25px;
font-family: 'PT Serif', Georgia, serif;
font-weight: bolder;
position: relative;
top: -.5em;
}

.wordbreak {
word-break: break-all;
}

#contact {
	width: 87%; margin: 0px auto; padding: 20px 30px;
}


label {
	float: left; clear: left; margin: 4px 20px 0 0; width: 75px;
	text-align: right; 
}

input {
	width: 72%; height: 1.5em; padding: 5px 20px 0px 20px; margin: 0 0 20px 0;
	background: #e5e4e3;
	background: -moz-linear-gradient(top, #e3e2e1 0%, #e5e4e3 20%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e2e1), color-stop(20%,#e5e4e3)); /* webkit */
	border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
	-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2;
	font-family: sans-serif; font-size: .965em; color: #585858; 
}
	input::-webkit-input-placeholder  {
    	color: #aaa; text-shadow: 0px -1px 0px #eee;
	}
	input:-moz-placeholder {
	    color: #aaa; text-shadow: 0px -1px 0px #eee;
	}

textarea {
	width: 72%; height: 14em; padding: 12px 20px 0px 20px; margin: 0 0 20px 0;
	background: #e5e4e3;
	background: -moz-linear-gradient(top, #e3e2e1 0%, #e5e4e3 20%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e3e2e1), color-stop(20%,#e5e4e3)); /* webkit */
	border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
	-moz-box-shadow: 0px 1px 0px #f2f2f2;-webkit-box-shadow: 0px 1px 0px #f2f2f2;
	font-family: sans-serif; font-size: .965em; color: #585858;
}
	textarea::-webkit-input-placeholder  {
    	color: #aaa; text-shadow: 0px -1px 0px #eee;
	}
	textarea:-moz-placeholder {
	    color: #aaa; text-shadow: 0px -1px 0px #eee;
	}

input:focus, textarea:focus {
	background: #f5f4f3;
	background: -moz-linear-gradient(top, #f3f2f1 0%, #f5f4f3 20%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f2f1), color-stop(20%,#f5f4f3)); /* webkit */
}

input[type=submit] {
	width: 165px; height: 2.6em; float: right; padding: 10px 5px; margin: 0 15px 0 0;
	-moz-box-shadow: 0px 0px 5px #999;-webkit-box-shadow: 0px 0px 5px #999;
	border: 1px solid #8c8b8a;
	background: -moz-linear-gradient(top, #9c9b9a 0%, #6c6b6a 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9c9b9a), color-stop(100%,#6c6b6a)); /* webkit */
	cursor: pointer;
	color: #f5f4f3;
}
