﻿html {
	overflow-y: scroll;
}

body {
	text-align: center;
	color: #666;
	background: #FFF;
	font: normal 13px "Open Sans", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}


/* ==========================================================
    HTML 5, Transition 
========================================================== */

a, a .imgStyle, #toTop , :before, :after, .icon, .iconBig {
	transition: all 0.3s ease-out;
}


/* ==========================================================
    Links 
========================================================== */

a {
	color: #990000;
	text-decoration: none;
}

a:hover, footer a:hover {
	color: #30A09F;
}

a img {
	border: none;
}

a:active, a:focus {
	outline: none;
}

.point {
	display: inline-block;
	position: relative;
}

.point:before {
	content: "\49";
	display: inline-block;
	padding-right: 5px;
	pointer-events: none;
}

a:hover.point:before {
	color: #30A09F;
}

.arrow {
	display: inline-block;
	font-weight: 600;
	position: relative;
	text-transform: uppercase;
}

.arrow:after {
	content: "\39";
	display: inline-block;
	padding-left: 2px;
	pointer-events: none;
	position: absolute;
	top: 23%;
}

a.arrow:hover {
	padding-left: 5px;
}

.linkLight {
	color: #FFFD2F;
}

.linkLight:hover {
	color: #FFF;
}

.btn {
	color: #990000;
	border: 1px solid #990000;
	padding: 6px 12px 5px;
	margin: 2px 0;
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	display: inline-block;
	background: #FFF;
	letter-spacing: 0.01em;
}

.btn:hover {
	color: #FFF;
	background: #990000;
}


/* ==========================================================
    Typography 
========================================================== */

h1, h2, h3, h4, h5, h6 {
	margin: 16px 0 0;
	padding: 0;
	font-family: "Times New Roman", Times, serif;
	font-weight: 400;
	color: #990000;
	line-height: 1.6;
	letter-spacing: -0.01em;
}

h3, h4, h5 {
	color: #333;
	font-family: 'Open Sans', 'Trebuchet MS', Helvetica, sans-serif;
}

h1.arrow, h2.arrow, h3.arrow, h4.arrow, h5.arrow, h6.arrow {
	text-transform: none;
}

h1.white, h2.white, h3.white, h4.white, h5.white, h6.white {
	color: #FFF;
}

h1 {
	margin: 0;
	font-size: 34px;
	font-weight: 300;
	line-height: normal;
}

h2 {
	font-size: 30px;
	font-weight: 400;
	border-bottom: 2px solid #990000;
	text-transform: none;
	display: inline-block;
}

h2.noLine {
	border-bottom: none;
}

h3 {
	font-size: 24px;
	text-transform: uppercase;
}

h4 {
	font-size: 22px;
}

h5 {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 600;
	color: #990000;
}

h6 {
	font-size: 16px;
	font-weight: bold;
}

.dots {
	padding-bottom: 7px;
	background: url(images/dots.png) repeat-x bottom left;
	margin: 15px 0;
}

.line {
	padding-bottom: 7px;
	border-bottom: 1px solid #ddd;
	margin: 15px 0;
}

blockquote {
	margin: 12px 0;
	padding: 0 30px 0 35px;
	background: url(images/blockquote.png) no-repeat top left;
	font-style: italic;
	line-height: 22px;
	border-radius: 15px;
}

/*blockquote:before {
  content: "\7b";
  transform: rotate(180deg);
  display: inline-block;
  font-size: 26px;
  color: #339999;
}*/

blockquote:first-letter {
	font: italic 20px Georgia, "Times New Roman", Times, serif;
}

p {
	margin: 16px 0;
	padding: 0;
}

b {
	font-weight: bold;
}

strong {
	font-weight: 600;
}

small {
	font-size: 12px;
}

.red {
	color: red;
}

.cap {
	text-transform: uppercase;
}

.masterTooltip {
	display:none;
	position:absolute;
	border:1px solid #333;
	background-color: rgba(0,0,0,0.9);
	border-radius:5px;
	padding: 8px 10px;
	color:#fff;
	font-size: 13px;
}


/* ==========================================================
    Un-ordered List 
========================================================== */

ul {
	margin: 16px 0 16px 25px;
}

li {
	margin: 2px 0px;
}

ul li {
	padding-left: 2px;
	list-style-type: disc;
}

ol {
	margin: 16px 0 16px 10px;
	padding-left: 16px;
}

ol li {
	list-style-type: decimal;
	padding-left: 2px;
}

/* 2nd level */
ul li ul, ol li ul, ol li ol, ul li ol {
	margin: 5px 25px;
	padding: 0;
}

ul li ul li, ol li ul li {
	list-style-type: circle;
}

ol li ol li {
	list-style-type: lower-alpha;
}

/* block level */
ul.block li, ol.block li {
	margin-bottom: 14px;
}

ul.block li li, ol.block li li {
	margin-bottom: 2px;
}

ul.block ul, ul.block ol, ol.block ul, ol.block ol {
	margin-top: 10px;
	margin-bottom: 10px;
}


/* ==========================================================
    Form
========================================================== */

input[type=text], input[type=password], textarea {
	padding: 4px 7px 3px;
	color: #999;
	border: 1px solid #D5D5D5;
	margin: 5px 0;
	display: inline-block;
	background: #FFF;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus, input[type=text]:hover, input[type=password]:hover, textarea:hover {
	border: 1px solid #AAA;
}

.formRow {
	clear: both;
}

.formRow label {
	float: left;
	margin: 8px 0;
	padding: 4px 2px;
	font-size: 13px;
}

.formRow input, .formRow textarea {
	float: right;
}

#Contact {
	width: 100%;
	max-width: 420px;
}

#Contact input[type=text], #Contact textarea {
	width: 72%;
	margin: 10px 0;
	box-sizing: border-box;
}

input::-moz-focus-inner { 
	border: 0; 
	padding: 0; 
}

input.btn {
	border: none;
	color: #FFF;
	background: #009999;
	font: 600 11px "Open Sans";
	text-transform: uppercase;
	padding: 6px 10px;
	line-height: 12px;
	margin: 3px;
	transition: all 0.3s ease-out;
}

input.btn:hover {
	border: none;
	cursor: pointer;
}

input.btn:active {
	background-color: #000;
}


/* ==========================================================
    Checkboxes, Radio Buttons
		for more settings of checkStyle and radioStyle - pls see reset.css
========================================================== */

/* checked box */
.checkStyle:checked + label {
	background-color: #3399CC;
}

/* checked inner */
.radioStyle:checked + label:after {
	background: #3399CC;
}

/* checked inner blank */
.radioStyle:checked + label {
	background-color: #FFF;
	border: 3px solid #3399CC;
}

/* hover checked inner */
.radioStyle:checked + label:hover:after {
	background: #3399CC;
}


/* ==========================================================
    Place Holder
========================================================== */

::-webkit-input-placeholder {
	color: #666;
	font-size: 9px;
}

:-moz-placeholder {
 /* Firefox 18- */
	color: #666;
	font-size: 9px;
}

::-moz-placeholder {
 /* Firefox 19+ */
	color: #444;
	font-size: 9px;
}

:-ms-input-placeholder {
 /* ie */
	color: #666;
	font-size: 9px;
}


/* ==========================================================
    Image
========================================================== */

.imgLogo {
	display: block;
}

.imgIcon {
	vertical-align: middle;
	margin-right: 5px;
}

.imgBlock {
	display: block;
}

.imgStyle {
	 
}

a .imgStyle {
	opacity: 0.7;
}

a:hover .imgStyle {
	opacity: 1;
}

.imgLeft {
	float: left;
	margin: 5px 20px 10px 0;
}

.imgRight {
	float: right;
	margin: 5px 0 10px 20px;
}

.imgRes {
  max-width:100%;
	height:auto;
}

img {
	-ms-interpolation-mode: bicubic;
}


/* ==========================================================
    Table 
========================================================== */

table.alignCenter {
	margin-left: auto;
	margin-right: auto;
}

td {
	vertical-align: top;
}

.tblData {
	margin: 16px 0;
	font-size: 13px;
}

.tblData td {
	padding: 10px 20px;
	border: 1px solid #DDD;
}

.tblData.noBorder td {
	padding: 10px 5px;
	border: none;
}

.tblData .noPadding td {
	padding: 0;
}

.tblData tr:first-child {
	
}

/* .tblData tr:nth-child(even) {
  background: #ECECEC;
  color: #666;
}*/

.tblData tr:hover {
	cursor: default;
}


/* ==========================================================
    MISC
========================================================== */

hr {
	border: none;
	height: 0px;
	color: #fff;
 /* for ie */
	background: none;
	margin: 15px 0;
	background: url(images/dots.png) repeat-x;
	height: 1px;
	clear: both;
}

.alignRight {
	text-align: right;
}

.alignCenter {
	text-align: center;
}

.alignLeft {
	text-align: left;
}

.justify {
	text-align: justify;
}

.valignMiddle {
	vertical-align: middle;
}

.valignTop {
	vertical-align: top;
}

.noMargin {
	margin: 0;
}

.noPadding {
	padding: 0;
}

.floatLeft {
	float: left;
	width: 49%;
}

.floatRight {
	float: right;
	width: 49%;
}

.clear {
	clear: both;
}

.break {
	height: 10px;
}


/* ==========================================================
    COLORS
========================================================== */

.color1 {
	color: #990000;
}

.bgColor {
	background: #990000; /* maroon */
	color: #FFF;
}

.bgColor2 {
	background: #30A09F; /* blue green */
	color: #FFF;
}

.bgColor3 {
	background: #5A81D0; /* blue */
	color: #FFF;
}

.bgColor4 {
	background: #E25D0D; /* orange */
	color: #FFF;
}

.bgColor5 {
	background: #2E2828; /* black */
	color: #CCC;
}

.bgColor6 {
	background: #E9E9E9; /* grey */
}


/* ==========================================================
    LAYOUT 
========================================================== */

#Container {
	width: 100%;
	margin: 0px auto 0;
	text-align: left;
	line-height: 1.6;
}

header {
	width: 100%;
	margin: 0 auto;
	padding: 40px 0 15px;
	position: fixed;
	background: #FFF;
	background: rgba(255, 255, 255, 1);
	transition: all 0.3s ease-out;
	z-index: 100;
}

header.sticky {
	padding: 15px 0 5px;
	background: rgba(255, 255, 255, 1);
}

#logo {
	float: left;
	margin-left: 20px;
	margin-top: 15px;
	padding-bottom: 10px;
}

header #logo img {
  transition: all 0.1s ease-out;
  display: block;
}

header.sticky #logo img {
  -ms-transform: scale3d(0.8,0.8,0.8) translate(-30px,0px);
  -webkit-transform: scale3d(0.8,0.8,0.8) translate(-30px,0px);
  transform: scale3d(0.8,0.8,0.8) translate(-30px,0px);
}

#logo h1 {
	padding: 0;
	margin: 0;
}

nav {
	float: right;
	margin-top: 25px;
	margin-left: 120px;
}

#Search {
	float: right;
	margin-top: 30px; 
	width: 180px;
}

.searchField {
	font-size: 10px;
	text-transform: uppercase;
}

.searchBtn {
	border: none;
	background: #FFF;
	padding: 0;
	width: 21px;
	height: 21px;
	color: #BBB;
	font-size: 15px;
	text-align: center;
	vertical-align: middle;
	/* hide round radius and gap in mobile safari */
	-webkit-appearance: none;
  -webkit-border-radius: 0;
}

.searchBtn:hover {
	color: #990000;
}

/* google search */

.cse input.gsc-input, input.gsc-input {
	height:18px !important;
	background-image:none !important;
	margin: 0;
}

 .gsc-clear-button { 
	 display: none !important; 
 } 
 
.cse input.gsc-search-button,input.gsc-search-button {
	border:none !important; 
	font-size:0px !important; 
	background: #FFF url(images/icon-search.png) no-repeat right center !important;
	width:22px;
	height:18px !important; 
	min-width: 0;
	padding: 0;
	vertical-align: middle;
	margin: 0;
	border-radius: 0;
}

/* google search result */

.gsc-control-cse, .gsc-control-cse .gsc-table-result {
    font: normal 13px "Open Sans", "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;
}

.gs-result .gs-title, .gs-result .gs-title * {
    color: #990000 !important;    
    margin: 10px 0 0 !important;
}

#top {
 /* gap between header and #Main */
	height: 105px;
}

#Main {
	width: 100%;
	margin: 0px auto;
	overflow: hidden;
	padding-top: 30px; /* sub page */
}

#Main.HomeMain {
	padding-top: 0px;
}

.mainWidth {
	max-width: 1020px;
	margin-left: auto;
	margin-right: auto;
}

.imgCircle {
	border-radius: 1000px;
	border: 3px solid #000;
}

/* ==========================================================
    Grid
========================================================== */

.row, .rowWide {
	overflow: hidden;
	clear: both;
	margin: 0px auto 0;
}

.row {
	max-width: 1020px;
}

.indent {
	padding-left: 20px;
	padding-right: 20px;
}

.indent2 {
	padding-left: 35px;
	padding-right: 35px;
}

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
	float: left;
	position: relative;
	box-sizing: border-box;
}

.col-md-12 {
	width: 100%;
}

.col-md-11 {
	width: 91.66666667%;
}

.col-md-10 {
	width: 83.33333333%;
}

.col-md-9 {
	width: 75%;
}

.col-md-8 {
	width: 66.66666667%;
}

.col-md-7 {
	width: 58.33333333%;
}

.col-md-6 {
	width: 50%;
}

.col-md-5 {
	width: 41.66666667%;
}

.col-md-4 {
	width: 33.33333333%;
}

.col-md-3 {
	width: 25%;
}

.col-md-2 {
	width: 16.66666667%;
}

.col-md-1 {
	width: 8.33333333%;
}


/* ==========================================================
    HOME 
========================================================== */

#bannerHome {
	position: relative;
	margin: 0px auto 0;
	max-width: 1020px;
}

#homeAbout {
	background: #DDD;
	background: -webkit-linear-gradient(#DDDADA, #FFFFFF); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#DDDADA, #FFFFFF); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#DDDADA, #FFFFFF); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#DDDADA, #FFFFFF); /* Standard syntax */
	padding: 15px 0 15px 5px; 
}

#homeGrants {
	background: #30A09F;
	color: #FFF;
	padding: 15px 0px 15px 5px; 
}


/* ==========================================================
    SUB PAGES 
========================================================== */

#bannerSub {
	margin-top: 15px;
}

#Sidebar h5, #Sidebar p {
	padding-left: 20px;
	padding-right: 20px;
}

.box {
	padding: 20px 20px 25px;
}

.subLinks, .subLinks li {
	padding: 0;
	margin: 0;
	background: none;
	list-style-type: none;
}

.subLinks {
	margin: 13px 0;
}

.subLinks li a {
	display: block;
	padding: 8px 15px;
	background: #990000;
	color: #FFF;
	border-bottom: 1px solid rgba(255,255,255,0.5);
}

.subLinks li a:hover {
	background: #30A09F;
}


/* ==========================================================
    FOOTER 
========================================================== */

footer {
	clear: both;
	width: 100%;
	text-align: center;
  padding: 20px 0;
	line-height: 20px;
	color: #666;
	font-size: 10px;
	text-transform: uppercase;
	background: #FFF;
}

footer a {
	color: #666;
}

footer a:hover {
	color: #FF6633;
}

footer img {
	vertical-align: middle;
}

#toTop {
	width: 50px;
	height: 30px;
	text-align: center;
	padding: 0;
	position: fixed;
 /* this is the magic */
	bottom: 50px;
 /* together with this to put the div at the bottom*/
	right: 0px;
	cursor: pointer;
	display: none;
	color: #FFF;
	font: normal 15px verdana;
	background: #990000;
	text-transform: uppercase;
	z-index: 10;
	border-radius: 5px 0 0 5px;
	line-height: 35px;
}

#toTop:hover {
	background: #E25D0D;
}

.showOnMobile {
	display: none;
}


/* ==========================================================
    Elegant Icon Font 
========================================================== */
.icon, .iconBig, blockquote:before, .checkStyle + label:after, .point:before, .arrow:after, .searchBtn {
	font-family: 'ElegantIcons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

.iconInline {
	display: inline-block;
	margin-left: 5px;
	margin-right: 5px;
}

.icon {
	display: inline-block;
	margin: 0 5px;
}



/* ==========================================================
    Media Queries
========================================================== */

@media screen and (max-width: 1024px) {

	/*body {
		background: yellow;
	}*/

	header {
		position: static;
	}
	
	nav {
	margin-left: 20px;
	}
	
	#Search {
	margin-right: 10px;
	}

	#top {
		display: none;
	}
	
	#social {
	padding-right: 10px;
	}
	
} /* 1024 end */

@media screen and (max-width: 800px) {

	/*body {
		background: LightBlue;
	}*/
	
	#Container {
	min-height: 0;
	}
	
	#homeAbout {
		width: 100%;
		float: none;
	}
	
	 #homeImage01 {
		width: 43%;
		float: left;
	}
	
	#homeGrants {
		width: 57%;
		float: left;
	}
	
	footer .alignRight {
	text-align: center;
	padding-left: 20px;
	padding-right: 20px;
}

#social {
	padding-right: 0;
}

	
} /* 800 end */

@media screen and (max-width: 600px) {
	
	/*body {
		background: orange;
	}*/
	
	.floatLeft, .floatRight {
	float: none;
	width: 100%;
	}

} /* 600 end */


@media screen and (max-width: 520px) {

	/*body {
		background: purple;
	}*/
	
	#Search {
	float: none;
	clear: both;
	margin-left: 20px;
	width: 90%;
} 

.searchField {
	width: 83%;
}

	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, 
	.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
		float: none;
		width: 100%;
	}
	
	 #homeImage01, #homeGrants {
		width: 100%;
		float: none;
	}
	
	.imgRes {
	margin: 0 auto;
	}
	
	#social {
	display: block;
	margin: 15px 0 0;
	padding-bottom: 15px;
	}
	
	h1 {
	margin-top: 16px;
	}
	
	#Sidebar h5, #Sidebar p {
	padding-left: 35px;
	padding-right: 35px;
}

	#Sidebar h5:first-child {
	margin-top: 0;
	}
	
} /* 520 end */


@media screen and (max-width: 360px) {

	/*body {
		background: pink;
	}*/
	
	header #logo {  width: 75%;  }
	
	header #logo img {
 max-width: 100%;
}

#Search {
margin-top: 10px;
}

.hideOnMobile {
	display: none;
}

.showOnMobile {
	display: block;
}

} /* 360px */
