/*
Theme Name: 	Caledonia
Version:        2.8.0
Author:         North Street Creative
Author URI:     http://northstreetcreative.com
*/

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * 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;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* apply a natural box layout model to all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #fff;
    font-family: Cambria, Georgia, serif;
    overflow-y: scroll;
}

div.wrapper {
    min-height: 100%;
    margin-bottom: -80px; 
}

div.wrapper:after{
    content: "";
    display: block;
}

h1, h2, h3, h4, h5, h6, {
    margin: 0;
}

p {
    color: #676767;
}

header {
    background-color: #fff;
}

/* HEADER */
div.header-wrapper {
    width: 960px;
    margin: 0 auto;
    text-align: center;
    margin-top: 25px;
}

/* NAVIGATION */
div.nav-wrapper {
    background: #0f2e64;
    margin-top: 25px;
}

nav.main-nav {
    font-family: Arial, sans;
    min-width: 960px;
    margin: 0 auto;
    background: #0f2e64;
}

nav.main-nav ul {
    list-style: none; 
    padding: 0;
    margin: 0 auto; 
    width: 100%;
    text-align: right;
}

nav.main-nav ul li {
    text-align: center;
    display: inline-block;
    margin-right: -5px;
    font-weight: bold;
    border-left: 1px solid #3c537d;
    white-space: nowrap;
}

nav.main-nav ul li.last {
    border-right: 1px solid #3c537d;
}

nav.main-nav ul li a:link, 
nav.main-nav ul li a:visited {
    text-decoration: none;
    color: #eeeeee;
    padding: 16px 26px; 
    display: block;
    font-size: 16px;
    white-space: nowrap;
}

nav.main-nav ul li a:hover, 
nav.main-nav ul li a:active {
    background: #254170;
}

li.current-menu-item a, 
li.current-menu-parent a {
    background: #254170;
    font-size: 16px;
}

#menu-primary-navigation .sub-menu {
	display: none;
}

/* CONTENT */
section {
    width: 960px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 0 10px;
}

h2 {
    font-family: calibri, verdana, arial, helvetica, sans-serif;
    font-weight: normal;
    font-size: 26px;
    color: #0f2e64
}

h5 {
    font-family: calibri, verdana, arial, helvetica, sans-serif;
    font-weight: normal;
    font-size: 14px;
    color: #0f2e64
}

a:link, a:visited {
    color:#0072bc;
    text-decoration: none;
}

a:hover, a:active {
    color:#0072bc;
    text-decoration: underline;
}

article {
    color: #676767;
}

a[href^="mailto:"]:link, a[href^="mailto:"]:visited {
	color: #0072bc;
    font-size: 16px;
    text-decoration: none;
}

a[href^="mailto:"]:hover, a[href^="mailto:"]:active {
    text-decoration: underline;
}

/* HOME */

div.tag {
    font-family: Arial, sans;
    position: absolute;
    top: 25px;
    left: 0;
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0,0,0,.5);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c000000', endColorstr='#4c000000');
}

div.tag p {
    font-size: 32px;
    color: #eeeeee;
    padding: 0 24px;
}

div.home-img {
    width: 940px;
    margin-bottom: 34px;
    margin-top: 40px;
}

div.home-img img {
    width: 100%;
    height: auto;
}

img.size-full:first-child {
    margin-right: 20px;
}

.home section {
    margin-top: 0;
    margin-bottom: 0px;
    min-height: 0;
}

.home {
    position: relative;  
}

.home footer {
    margin-top: -20px;
    border-top: 0;
}

.home article {
	text-align: center;
}

.home article h2 {
	margin-top: 40px;
}

.home article p {
	/* font-family: calibri, verdana, arial, helvetica, sans-serif; */
	font-size: 1.5em;
	/* color: #0f2e64; */
}

/* PEOPLE */
article.teams {
    background: #fafafa;
    margin-top: 40px;
    padding-bottom: 20px;
}

article.teams h3 {
    font-family: calibri, verdana, arial, helvetica, sans-serif;
    font-weight: normal;
    font-size: 22px;
    margin: 0;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #eeeeee;
    border-top: 5px solid #fafafa;
    border-right: 5px solid #fafafa;
    border-left: 5px solid #fafafa;
}

ul.team-anchor {
    list-style: none;
    padding: 0px;
}

ul.team-anchor li {
	/* display: inline-block; */
	font-size: 18px;
	/* text-transform: uppercase; */
}

div.people-links {
    padding:0px 20px;
}

div.people-links a:link, div.people-links a:visited {
    color: #0072bc;
    text-decoration: none;
    font-size: 18px;
}

div.people-links a:hover, div.people-links a:active {
    text-decoration: underline;
    font-size: 18px;
}

span.job-title {
    color: #676767;
    font-size: 12px;
}

/* CONTACT US */
div.contact {
    float: left;
    width: 500px;
}

div.contact-info h4 {
    margin-top: 0;
}

div.maps {
    float:right;
    width: 400px;
    margin-bottom: 20px;
}

iframe {
    border: 5px solid #eee;
    width: 400px; 
    height: 300px;
}

div.contact-info p:first-child{
    margin-top: 0px;
}

div.aus-address, div.us-address {
    padding-top: 20px;
}

div.aus-address h3, div.us-address h3 {
    margin: 0px;
    font-size: 20px;
    font-family: calibri, verdana, arial, helvetica, sans-serif;
    font-weight: normal;
}

div.aus-address h4 {
    margin-bottom: 0px;
}

div.aus-address p {
    margin: 0;
}

/* PRIVACY */
article.terms div.content p a:link, 
article.terms div.content p a:visited {
    font-size: 16px;
    color: #0072bc;
    text-decoration: none;
}

article.terms div.content p a:hover, 
article.terms div.content p a:active {
    font-size: 16px;
    text-decoration: underline;
}

/* SITEMAP */
ul.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.sitemap-list li.main {
    padding-bottom: 10px;
    color: #0072bc;
}

ul.people-list {
    list-style: disc;
    padding-left: 50px;
}

ul.sitemap-list li a:link, 
ul.sitemap-list li a:visited {
    text-decoration: none;
    color: #0072bc;
}

ul.sitemap-list li a:hover, 
ul.sitemap-list li a:active {
    text-decoration: underline;
}

ul.people-list li a:link, 
ul.people-list li a:visited {
    text-decoration: none;
    color: #0072bc;
    font-size: 13px;
}

ul.people-list li a:hover, 
ul.people-list li a:active {
    text-decoration: underline;
    font-size: 13px;
}

/* FOOTER */
footer, div.wrapper:after {
    height: 80px;
}
footer {
    font-family: calibri, verdana, arial, helvetica, sans-serif;
    font-size: 12px;
    /* border-top: 20px solid #ddd9c3; */
    border-top: 0;
    background: #0f2e64;
    width: 100%;
}

div.footer-content {
    padding-top: 15px;
    min-width: 960px;
    text-align: center;
    margin: 0 auto;
    /* border-top: 20px solid #fff; */
    border-top: 0;
    background-color: #0f2e64;
    /* margin-top:-20px; */
    margin-top: 0;
    height: 80px;

}

p.footer-text {
    margin: 0;
    color: #eeeeee;
}

div.footer-content p.footer-links {
    color: #eeeeee;
}

p.footer-links a:link, 
p.footer-links a:visited {
    text-decoration: none;
    color: #eeeeee;
    font-size: 12px;
}

p.footer-links a:hover, 
p.footer-links a:active {
    text-decoration: underline;
    font-size: 12px;
}

/* IPHONE PORTRAIT */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) {

    body {
        font-size: 30px;
    }

    div.wrapper {
        min-height: 100%;
        margin-bottom: -250px; 
    }

    /* HEADER */
    div.header-wrapper img {
        width: 75%;
        margin-top: 30px;
    }

    /* NAVIGATION */
    div.nav-wrapper {

        margin-top: 60px;
    }

    nav.main-nav ul li {
        border-top: 1px solid #3c537d;
        width: 100%;
        display: block;
    }

    nav.main-nav ul li:first-child {
        border-top: none;
    }

    nav.main-nav ul li a:link, 
    nav.main-nav ul li a:visited {
        font-size: 40px;
    }

    /* CONTENT */
    h2 {
        font-size: 60px;
    }
    a[href^="mailto:"]:link, a[href^="mailto:"]:visited {
        font-size: 30px;
    }

    /* HOME */
    div.tag {
        font-size: 40px;
    }

    /* PEOPLE */
    article.teams h3 {
        font-size: 44px;
    }

    div.people-links a:link, div.people-links a:visited {
        font-size: 40px;
    }

    span.job-title {
        font-size: 24px;
    }

    /* CONTACT US */
    div.contact {
        float: none;
        width: 100%;
    }

    div.maps {
        float: none;
        width: 100%;
        margin-top: 40px;
    }

    iframe {
        width: 100%;
        height: 600px;
    }

    /* SITEMAP */
    ul.people-list {
        padding-left: 100px;
    }

    ul.sitemap-list li a:link, 
    ul.sitemap-list li a:visited {
        font-size: 40px;
    }

    ul.people-list li a:link, 
    ul.people-list li a:visited {
        font-size: 30px;
    }

    /* FOOTER */
    footer, div.wrapper:after {
        height: 250px;
    }

    footer {
        font-size: 20px;
    }

    div.footer-content {
        height: 250px;
    }

    p.footer-links a:link, 
    p.footer-links a:visited {
        font-size: 20px;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.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;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


/* http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */

/* Turn on if needed
*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }
*/ 

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   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;
    }
}
