* 				{margin:0; padding:0;}
#site_center 	{text-align:center;}
#main 			{width:970px; margin:0 auto; text-align:left;}

img 			{border:none;}
.clr 			{clear:both;}
.bottomline 	{border-bottom: 1px solid #CCCCCC;}
.asterisk       { font-style: italic; font-size:12px; color: #FF0000; margin-top: -20px; }
.red		 	{color:#ff0000;}
.border			{border: 1px solid #333333;}

h1 {
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
	font-size: 3em;
	color: #014070;
	border-bottom: 2px solid #014070;
	padding: 10px 0;
	border-top: 2px solid #014070;
}
body {
	color: #014070;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
div.bordered{
	border-bottom: 2px solid #014070;
}
.wrapper{
	margin-top:40px;
	margin-left: 20%;
    margin-right: 20%;
}
p{margin:10px 0;}

.mailimg{float:right;}

.lastitem		{margin-right:0px;}

#contactform { margin:0; padding:5px 0;}
/*#contactform * { color:#7a7a7a;}*/
#contactform ol { margin:0; padding:0; list-style:none;}
#contactform li { margin:0; padding:0; background:none; border:none; display:block; clear:both;}
#contactform li.buttons { margin:5px 0 5px 0; float:none; clear:both;}
#contactform label { float:left; margin:0; width:80px; padding:5px 10px 5px 0;}
/*#contactform label span { font:normal 10px Arial, Helvetica, sans-serif;}*/
#contactform input.text { width:510px; border:1px solid #aaaaaa; margin:5px 0; padding:5px 2px; /*height:15px;* background:#aaaaaa;*/ float:left;}
#contactform textarea { width:510px; border:1px solid #aaaaaa; margin:10px 0; padding:2px; /*background:#aaaaaa;*/ height:150px; float:left;}
#contactform li.buttons input { padding:3px 0; margin:0 0 0 1px; border:0; color:#FFF; float:left;}
p.response { text-align:center; color:#CC0000; font:bold 14px Arial, Helvetica, sans-serif; line-height:1.5em;}
p.ok       { text-align:left; color:#00CC00; background: url("../images/tickgreen.png")no-repeat; padding-left: 24px; margin-left:0px; margin-top: 30px;}
#contactform textarea.small{ height:inherit;}
#contactform li.buttons input.send { margin-left:90px; /*border:1px solid #333;*/ }
#contactform .verify{ margin-left:90px;}

.ui-icon { width: 16px; height: 16px; background-image: url(../images/ui-icons_222222_256x240.png); }
.ui-icon-alert { background-position: 0 -144px; }
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {border: 1px solid #fcefa1; background: #fbf9ee url(../images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(../images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary,  .ui-widget-header .ui-priority-secondary { opacity: 0.7; font-weight: normal; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; background-image: none; }
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}
/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
}
/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
}
/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}
/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */
}
/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
/* Styles */
}
/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
}
/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}


@media (max-width: 767px) {
	.wrapper{
		margin-left: 10%;
		margin-right: 10%;
	}
	#contactform input.text { width:240px;}
	#contactform textarea { width:240px;}
	#contactform label {
		float: left;
		margin: 0;
		padding: 5px 10px 5px 0;
		text-align: left;
	}
	#contactform .verify {
		margin-left: 10px;
	}
	#contactform li.buttons input.send {
		margin-left: 10px;
		margin-top:30px;
	}
}

@media (min-width: 568px) and (max-width: 879px) {
/* Styles */
	#contactform input.text { width:370px;}
	#contactform textarea { width:370px;}
	#contactform label {
		float: left;
		margin: 0;
		padding: 5px 10px 5px 0;
		text-align: left;
	}
}
