﻿/* UniSA Public Theme v1.0
   13 Dec 2012 - Aran Dixon */

/*
 * HTML5 Boilerplate
 *
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, button, input, select, textarea 
{
    color: #222;
}

body 
{
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection 
{
    background: #b3d4fc;
    text-shadow: none;
}

::selection 
{
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr 
{
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img 
{
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset 
{
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea 
{
    resize: vertical;
}


/* ==========================================================================
   UniSA application default styles
   ========================================================================== */


/* Main styles
--------------------------------------- */
html, button, input, select, textarea
{
	font-family: Arial, Helvetica, sans-serif;
}

/* Link defaults
--------------------------------------- */
a
{
	color: #789E14;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}

/* Heading defaults
--------------------------------------- */
h1, h2, h3, h4
{
	color: #000099;
	margin: 15px 0;
}
h1
{
	font-size: 28px;
	margin-top: 0;
}
h2
{
	font-size: 24px;
	letter-spacing: -1px;
}
h3
{
	font-size: 20px;
	letter-spacing: -1px;
}
h3 small
{
	display: block;
	font-size: 14px;
	font-weight: normal;
	margin-top: -5px;
}
h4
{
	font-size: 16px;
}

/* List and paragraph defaults
------------------------------------- */
dt
{
	font-weight: bold;
}
p, li, dd
{
	color: #555555;
	font-size: 12px;
	line-height: 20px;
}
	
/* Adjacent selectors */
p+h2 , p+h3 , p+h4 
{ 
  margin-top: 25px 
}

/* Table defaults
------------------------------------- */

table
{
	border-collapse:collapse;
	padding:10px;
	width:100%;
	font-size: 12px;
	border:1px solid #EAEAEA;	
}
table th
{
	background: #FAFAFA;
	border:1px solid #EAEAEA;
	color:#000099;
	padding: 5px 10px;
  text-align:left;
  font-weight: bold;
  line-height:130%;
}
table	td
{
	border: 1px solid #EAEAEA;
	color: #555;
  padding: 5px 10px;
  line-height:130%;
}

/* Structural
------------------------------------- */
div#header, div#main, div#footer
{
	background: none repeat scroll 0 0 #FFF;
	margin: 0 auto;
	max-width: 1280px;
	min-width: 960px;
}
.wrapper
{
	margin: 0 auto;
	width: 960px;
}

/* Logo */
a.unisa-logo
{
	background: url("images/UniSA_logo.png") no-repeat scroll 0 0 transparent;
	display: block;
	float: left;
	height: 66px;
	text-indent: -9000em;
	width: 252px;
}

/* Quick links */
.button
{
	background: none repeat scroll 0 0 #000099;
	border: medium none;
	border-radius: 15px 15px 15px 15px;
	color: #FFFFFF;
	display: inline-block;
	font-size: 14px;
	font-weight: bold;
	line-height: 24px;
	padding: 0 10px 1px;
	text-align: center;
}
.quick-links li.close
{
	margin: 20px 20px 0 0;
}
.quick-links li.close a.button
{
	color: #FFF;
	padding: 0 15px 1px;
}
.quick-links li.close a.button:hover
{
	background-color: #7DA516;
	text-decoration: none;
}

/* Header */
div#header
{
	padding: 10px 0 0;
	position: relative;
}
#header ul.quick-links
{
	float: right;
	list-style: none outside none;
	margin: 0;
	padding: 0;
}
div#nav
{
	background-color: #030399;
	background-image: -moz-linear-gradient(center top , #1F1FA5, #000087);
	height: 5px;
	margin-top: 10px;
}
div#header .wrapper
{
	overflow: hidden;
}

/* Breadcrumbs */
div#breadcrumb
{
	list-style: none outside none;
	margin: -5px 0 23px;
	padding: 0;
}
div#breadcrumb ul
{
	padding: 0;
}
div#breadcrumb li
{
	color: #4444B4;
	display: inline;
	font-size: 11px;
}
div#breadcrumb li a
{
	color: #555;
}
div#breadcrumb li a:hover
{
	color: #4444B4;
	text-decoration: underline;
}

/* Main content */
div#main-wrapper
{
	background: url("images/bg_main-wrapper.png") repeat scroll center top transparent;
}
div#main-header
{
	background: url("images/header02.png") no-repeat scroll center top transparent;
	height: 25px;
	margin: 2px 0;
	opacity: 0.8;
}
div#main
{
	overflow: hidden;
	padding-bottom: 150px;
}
div#primary
{
	float: right;
	width: 632px;
}
div#secondary
{
	float: left;
	width: 285px;
}
div.primary-first div#primary
{
	float: left;
}
div.primary-first div#secondary
{
	float: right;
}

/*Left navigation, side bars*/
.module h3
{
	background: url("images/bg_stripes-blue.png") repeat-x scroll left bottom transparent;
	margin: 0 0 10px;
	padding-bottom: 16px;
}
.module ul
{
	list-style: none outside none;
	margin: 0;
	padding: 1px 0;
}
.module li a
{
	padding: 7px 20px;
}
.search-module
{
	background-color: #F7FBEB;
	margin-bottom: 36px;
	padding: 20px 22px;
}
.search-module h3
{
	font-size: 17px;
	margin: 0 0 12px;
	word-spacing: -1px;
}
.menu-list li
{
	border: medium none;
	display: block;
}
.menu-list li a
{
	background: url("images/sprite_unisa.png") no-repeat scroll right -209px transparent;
	border-bottom: 1px solid #DADAF0;
	color: #000099;
	cursor: pointer;
	display: block;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.2;
	padding-right: 50px;
}
.menu-list li a:hover, .menu-list li a:focus
{
	color: #647C13;
	text-decoration: none;
}
.menu-list li.open
{
	background-color: #F7FBEB;
	display: block;
}
.menu-list li ul
{
	background: none repeat scroll 0 0 #F7FBEB;
	max-height: 0;
	overflow: hidden;
	position: relative;
	top: -1px;
}
.menu-list li.open ul
{
	border-bottom: 1px solid #DADAF0;
	clear: both;
	max-height: inherit;
	padding-bottom: 15px;
}
.menu-list li ul li a
{
	background-image: none;
	border-bottom: 0 none;
	color: #6B6B69;
	font-size: 14px;
	font-weight: normal;
	line-height: 18px;
	padding: 0 0 0 27px;
}
.menu-list li ul li a:hover
{
	color: #000;
}
.menu-list li.open a
{
	background-color: #F7FBEB;
	color: #647C13;
}

/* Footer */
div#footer
{
	background: url("images/bg_triangle-blue-sml.png") no-repeat scroll right bottom #030399;
	margin-bottom: 100px;
	padding: 16px 0 4px;
}
div#footer a
{
	color: #FFF;
}
div#footer p a
{
	color: #8080CB;
}
div#footer .footer-base
{
	background: url("images/bg_striples-whiteblue.png") repeat-x scroll -1px 0 transparent;
}
div#footer .footer-base ul
{
	overflow: hidden;
	padding: 13px 0 1px;
}
div#footer li
{
	display: inline;
}
div#footer .footer-base li
{
	float: left;
	font-size: 13px;
	line-height: 20px;
	padding-right: 40px;
}

/* IE Fixes
------------------------------------------------ */
.lt-ie8 .menu-list li.open ul 
{ 
  display: block; 
  max-height: 100%; 
}

.lt-ie9 div#main-header
{
  zoom: 1;
	filter: alpha(opacity=80);
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
/* Style adjustments for viewports that meet the condition
@media only screen and (min-width: 35em) {
    

} */
/* Style adjustments for high resolution devices 
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    
}*/


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print 
{
  * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}