/* With help from HTML5 Boilerplate and slickdesigner.com */

/* color pallette */
/* orange - #de7728 */
/* light orange - #fcbd49 */
/* dark purple - #251925 */
/* purple - #4f2936 */
/* light greyish - #e1e0e1 */
/* light blue - #a2dce8 */


/* Site-wide properties ============================================================ */
	html { overflow-y: scroll; }
	body{ font: normal normal 14px/150% Georgia, "Times New Roman", Times, serif; *font-size:small; margin: 0 } /* BASE LINE HEIGHT here is 21px */

	/* layout */
	/* margins and paddings should always be set to an interval of the base line-height set in body */
	a:hover, a:active { outline: none; }
	
	ul, ol { margin-left: 3em; }
	/* lists should not have left margins according to standard typographic rules. if permitted, use this to allow bullets to overflow the left side: */
	/* ul, ol { margin-left: -3em; padding-left: 3em } */
	ol { list-style-type: decimal; }
	nav ul, nav li { margin: 0; padding: 0; list-style:none; list-style-image: none }
	
	td { vertical-align: top; }
	sup { top: -0.5em; }
	sub { bottom: -0.25em; }
	pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 1.5em; }
	
	textarea { overflow: auto; }
	.ie6 legend, .ie7 legend { margin-left: -1em; } 
	
	input[type="radio"] { vertical-align: text-bottom; }
	input[type="checkbox"] { vertical-align: bottom; }
	.ie7 input[type="checkbox"] { vertical-align: baseline; }
	.ie6 input { vertical-align: text-bottom; }
	
	label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
	button, input, select, textarea { margin: 0; }
	
	::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
	::selection { background:#FF5E99; color:#fff; text-shadow: none; }
	
	a:link { -webkit-tap-highlight-color: #FF5E99; }
	button {  width: auto; overflow: visible; }
	.ie7 img { -ms-interpolation-mode: bicubic; }


	/* typography */
	select, input, textarea, button { font: 99% Georgia, "Times New Roman", Times, serif; }
	pre, code, kbd, samp { font-family: monospace, sans-serif; }
	small { font-size: 85%; }
	strong, th { font-weight: bold; }
	sub, sup { font-size: 75%; line-height: 0; position: relative; }
	
		/* font-size scale ratio - 10, 11, 12, 14, 18, 24, 30, 36, 48, 60, 72 */
		/* line-height is 150% of font-size, margin-bottom is always at an interval of the base line-height */
    	h1{ font-size: 2.14em; line-height: 140%; font-weight: normal; padding-bottom: 0.2em; border-bottom: 1px solid #4f2936; margin-bottom: 0.7em } 
   	 	h2{ font-size: 1.714em; line-height: 175%; font-weight: bold; } /* line-height, margin-bottom = 42px */
    	h3{ font-size: 1.714em; line-height: 175%; font-weight: normal; } /* line-height, margin-bottom = 42px */
    	h4{ font-size: 1em; line-height: 150%; font-weight: bold; } /* line-height, margin-bottom = 21px */
		
		p {margin-bottom: 1.5em}
		ul, ol {margin-bottom: 1.5em} 
		li {margin-bottom: 0.75em}
	
		/* type color */
		body, select, input, textarea { color: #251925 }
		a, a:active, a:visited { color: #251925 }
		a:hover { color: #ffffff; background-color: #251925; text-decoration: none }
		.gmnoprint a:hover {color: #000;}
	
	/* Colors for form validity */
	input:valid, textarea:valid   {  }
	input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
	.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
	
	
/* CSS specific to project ============================================================ */
	/* general layout */
	#container {}
	
	/* header */
	header {margin: 1.5em 0}
	header a:hover { background: none }
	#logo {width: 24.5833%; height: auto; float: left}
	nav {}
	/* nav ul li { display: inline; float: left; width: 6.6em; height: 3em; background: #de7728; text-align: center; border-right: 0.071em solid #fcbd49; line-height: 3em; } */
	nav ul li { display: inline; float: left; background: #de7728; text-align: center; border-right: 0.071em solid #fcbd49; padding: 0.75em}
	nav ul li a:link, nav ul li a:visited { font: normal 0.785em/143% Arial, Helvetica, sans-serif; text-transform: uppercase; text-decoration: none; color: #ffffff; }

	/* mission statement/strategy rules for home page */
	#mission { background-color: #251925; color: #ffffff; padding: 1.5em 0; margin-bottom: 1.5em }
	#mission div.left { width: 40% }
	#mission div.right { width: 50% }
	#mission h1 { background-image: url(/resources/static/img/c4qi/icons/sheild.jpg); padding-left: 1em }
	#mission h2 { font-size: 2.14em; line-height: 140%; font-weight: normal; background-image: url(/resources/static/img/c4qi/icons/bookmark.jpg); padding-left: 1.45em }
	#mission h1, #mission h2 { color: #fcbd49; background-position: left center; background-repeat: no-repeat; border-bottom: none }
		
		/* mission statement/strategy rules for home and interior pages */
		#mission blockquote, #aside-one blockquote { background-image: url(/resources/static/img/c4qi/icons/quote-left.jpg); padding-left: 2em; margin-left: -2em }
		#mission .right ul, #aside-two ul {margin-left: 0}
		#mission .right ul li, #aside-two ul li { list-style-type: none; background-image: url(/resources/static/img/c4qi/icons/check.jpg); background-position: left 0.142em; background-repeat: no-repeat; padding-left: 1.75em; margin-left: -1.75em }
	
	/* home page aside */
	#aside_home {margin-bottom: 1.5em}
	#aside_home ul {margin-left: 0}
	#aside_home ul li {list-style-type: none}
	#aside_home ul li p {margin-bottom: 0.75em}
	#aside_home ul #about {background-image: url(/resources/static/img/c4qi/icons/about-us.jpg); padding-left: 1.25em}
	#aside_home ul #initiatives {background-image: url(/resources/static/img/c4qi/icons/initiatives.jpg); padding-left: 1.05em}
	#aside_home ul #centers {background-image: url(/resources/static/img/c4qi/icons/participating-centers.jpg); padding-left: 1.15em}
	#aside_home ul h3 {background-repeat: no-repeat; background-position: left center;}
	.readmore { text-transform: uppercase; background: #de7728; font: 0.785em/143% Arial, Helvetica, sans-serif; color: #ffffff; text-decoration: none; padding: 0.33em }
	.readmore:hover { color: #4f2936 }
	
	/* content section for interior pages */
	#interior article { }
	
	/* interior aside */
	#interior aside { width: 27.5%; float: right; background-color: #251925; color: #ffffff; padding: 1.5em 1.5em 1.5em 2.5em; margin: 0 0 3em 3em }
	#interior aside p { margin-bottom: 0.75em }
	#aside-one, #aside-two, #aside-three {margin-bottom: 0.75em}
	#interior aside h3 { color: #FCBD49 }
	
	/* participating centers */
	#participating-centers-logos img { height: auto; width: 28%; margin-right: 4%}

	/* footer */
	footer {background: #e1e0e1; padding: 1.5em 0; margin-bottom: 1.5em}
	footer ul { border-top: 0.071em solid #4f2936; padding-top: 0.75em; margin-bottom: 0; margin-left: 0 }
	footer ul li {list-style-type: none}
	footer #contact {background: url(/resources/static/img/c4qi/icons/contact-us.jpg) left center no-repeat; padding-left: 1em}
	#copyright p {margin-bottom: 0}
	




/* Non-semantic helper classes: please define your styles before this section ============================================================ */

/* Set container width to 960px inside of standard elements with 100% width, i.e. header, article, footer */
.container {margin: 0 auto; max-width: 960px}

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }

/* Left & Right alignment */
.left{ float: left; }
.right{ float: right; }

/* The inside class provides consistent padding. To be used often! */
.inside{ padding: 1.5em; }

/* The fraction classes are useful for column lists */
.half, .third, .quarter, .fifth, .sixth{ width: 100%; }
.half li, .third li, .quarter li, .fifth li, .sixth li{ float: left; }
.half li{ padding-right: 5%; width: 45% }
.third li{  padding-right: 3.33%; width: 30% }
.quarter li{  padding-right: 5%; width: 20% }
.fifth li{  padding-right: 5%; width: 15% }

/* For when a <br /> just ain't enough */
.separator{
    clear: both;
    float: left;
    height: 1px;
    width: 100%; }
	
/* To remove a right border from a (nav) list in older browsers */
.last {border-right: none}
	
/* To keep from repeating background-position and background-repeat for standard left top no-repeat bkgd images */
.standard { background-position: left top; background-repeat: no-repeat }


/* Print styles. Inlined to avoid required HTTP connection. ============================================================ */
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  /* a[href]:after { content: " (" attr(href) ")"; } */
  /* abbr[title]:after { content: " (" attr(title) ")"; } */
  /* .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } */  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
  
  nav, #right-quote, .readmore { display: none }
  #mission {background-color: #ffffff; color: #000000; padding: 0 }
  #mission h1, #mission h2, #aside_home ul #about, #aside_home ul #initiatives, #aside_home ul #centers, footer #contact { padding-left: 0 }
  #mission section.left, #mission section.right { float: none; width: 100% }
  .third li { float: none; width: 100%; padding-right: 0 }
  #mission .right ul, #aside-two ul { padding-left: 3em }
  #mission .right ul li, #aside-two ul li { padding-left: 0; margin-left: 0; list-style-type: disc }
  #interior article, #interior aside { float: none; width: 100%; padding: 0 }
  
}
