/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

body {
    background:#FBFBFB url(../images/header_3.png) repeat-x top center;
    font-family: Tahoma, Geneva, sans-serif;
    font-size:0.95em;
    color:#333;
}

#header {
    /*height:105px;*/
    position:relative;
    padding-top:35px;
    /*background:url(../images/header_mask.png) repeat-x top center;*/
    margin-bottom:30px;
}
#container {
    position:relative;
}

.sidebar {
    background:#F0F0F0;
    border:1px solid #CCC;
    margin-bottom:30px;
}


h1, h2, h3, h4 {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-weight: normal;
    text-shadow:1px 1px 0px #FFF;
}
h1, h2, h3, h4, h5, h6 {
    color:#000;
}
h1 {
    font-size:22px;
    line-height:27px;
    margin-top:0px;
    /*width:185px;*/
    height:94px;
}
h1 a {
    display:block;
    /*width:100px;*/
    height:91px;
    background:url(../images/logo_2.png) no-repeat top left;
    padding-left:98px;
    padding-top:14px;
    color:#000 !important;
}
h1 a span {
    font-size:0.85em;
    color:#333;
}
h1 a:hover,
h1 a:hover span {
    text-decoration:none;
    color:#2276DB !important;
}
h2 {
    font-size:2.3em;
    margin:0 0 0.3em 0;
}
h3 {
    font-size:1.4em;
    margin-top:1em;
    margin-bottom:0.3em;
}
h4 {
    font-size:1.3em;
    margin-top:1.33em;
    margin-bottom:0.3em;
}
.sidebar h3 {
    margin:0 0 0.4em;
}
.sidebar h4 {
    font-size:1.2em;
    margin:0 0 0.3em;
}
h5, h6 {
    font-weight:normal;
    margin-bottom:0.3em;
}
h5 {
    font-size:1.2em;
    margin-top:1.6em;
}
h6 {
    font-size:1.1em;
    margin-top:0;
}
p {
    line-height:1.5;
    margin-top:0;
    margin-bottom:1.2em;
}
p.fineprint {
    text-align:right;
    font-size:0.7em;
    float: left;
    width: 100%;
    margin-top: -10px;
}
a, a:visited {    
    text-decoration:none;
}
#content a, #content a:visited {
    color:#2D3C9F;
    text-decoration:none;
    border-bottom:1px dotted #2D3C9F;
}
#content a:hover {
    border-bottom:1px solid #2D3C9F;
}
#content a:active {
    color:#2276DB;
    border-bottom:1px solid #2276DB;
}
dl {
    float:left;
    margin-top:0;
    margin-bottom:1.2em;
}
dt,
dd {
    float:left;
    margin-left:0;
    margin-right:0;
    margin-bottom:5px;
}
dt {
    color:#000;
}
.four dt {
    width:80px;
}
.four dd {
    width:210px;
}

#menu {
    list-style:none;
    margin:0;
    /*float:right;
    position:absolute;
    top:88px;
    right:0;
    z-index:10;*/
}
#menu li {
    display:block;
    float:left;
    border-left:1px solid #D1D1D1;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    margin:0;
    padding:0 10px;
}
#menu li.first {
    border-left:none;
}
#menu li.last {
    padding-right:0;
}
#menu li.section a,
#menu li.current a {
    background:url(../images/menu_active.png) no-repeat bottom center;
}
#menu li a {
    display:block;
    color:#444;
    font-size:1.1em;
    padding:10px 5px 15px;
    margin:-5px 0 -10px;
}
#menu li a:hover {
    text-decoration:none;
    color:#2276DB;
}
#menu li.section a,
#menu li.current a
#menu li.section a:hover,
#menu li.current a:hover {
    color:#000 !important;
}

.breadcrumbs {
  margin-bottom:0;
}

#toggleHolder {
    display: none;
}

/* GENERAL TEXT STYLES */
.meta {
    color:#666 !important;
    font-size:0.8em;
}
.empty {
    font-style:italic;
    color:#666 !important;
}

/* IMAGE STYLES */
img.right {
  float:right;
  margin-left:15px;
}
img.left {
  float:left;
  margin-right:15px;
}

/* SIDEBAR */
.sidebar {
	padding-top:10px;
	padding-bottom:20px;
	margin-bottom:30px;
}
.sidebar h3,
.sidebar div.other {
    border-top:1px solid #CCC;
    padding-top:0.3em;
    margin-top:1.2em;
}
.sidebar h3.first {
    border-top:none;
    padding-top:0;
    margin-top:0;
}
.sidebar dl {
    margin-bottom:0.8em;
}
.sidebar dt,
.sidebar dd {
    font-size:0.9em;
    margin-bottom:2px;
}
.sidebar dt {
	width:70px;
}
.sidebar dd {
	width:190px;
}
.sidebar .surgeon {
  overflow:hidden;
}
.sidebar .surgeon h4 {
    margin-bottom:0;
}
.sidebar .surgeon .sub {
    font-size:0.8em;
    color:#666;
    text-shadow:1px 1px 0px #FFF;
    margin-bottom:8px;
}

/* #Page Styles
================================================== */

/*****************************/
/* HOMEPAGE                  */

.HomePage .blog-entry h3 {
    margin-top:0.3em;
}


/*****************************/
/* SURGEON HOLDER            */

.SurgeonHolder h5 {
    margin-top:0.3em;
}
.SurgeonHolder #inner .surgeon {
    padding-bottom:10px;
    border-bottom:1px solid #D1D1D1;
    margin-bottom:10px;
}
.SurgeonHolder .row.last {
    border-bottom:none;
}
.SurgeonHolder #other h4 {
    margin-top:0;
}

/*****************************/
/* SURGEON PAGE              */

.SurgeonPage h2 {
    margin-bottom:0;
}
.SurgeonPage .qual,
.SurgeonHolder .qual {
    margin-top:-0.5em;
}

.SurgeonPage #tabs {
    padding:0;
    list-style:none;
    float:left;
    width:100%;
    border-top:1px solid #D1D1D1;
    border-bottom:1px solid #D1D1D1;
    margin-bottom:0;
}
.SurgeonPage #tabs li {
    float:left;
    margin-bottom:-1px;
    border-right:1px solid #D1D1D1;
}
.SurgeonPage #tabs li a {
    display:block;
    padding:5px 12px;
    border-bottom:none !important;
}
.SurgeonPage #tabs li a:hover {
    text-decoration:none;
}
.SurgeonPage #tabs li:hover,
.SurgeonPage #tabs li.current {
    border-bottom:1px solid #FFF;
}
.SurgeonPage #tabs li.current a {
    color:#000;
}
.SurgeonPage #tabs li.current a:hover {
    text-decoration:none;
}

.surgeon .qual {
  margin-bottom:0.8em;
}

.js .SurgeonPage #tabHolder {
    position:relative;
    float:left;
    width:100%;
}
.js .SurgeonPage .tab {
    position:absolute;
    top:0;
    left:0;
}

.no-js .SurgeonPage .tab {
    padding-bottom:10px;
    border-bottom:1px solid #D1D1D1;
    margin-bottom:10px;
}

.SurgeonPage .appointments {
    margin-top:0;
    float:left;
    width:100%;
}
.SurgeonPage .appointments dt {
    color:#000;
}
.SurgeonPage .appointments dt span.meta {
    line-height:1.2;
}
.SurgeonPage .appointments dd span {
    color:#000;
}
ul#interests,
ul#currentAppointments {
    list-style:none;
    margin-top:0;
    padding-left:0;
    float:left;
    width:100%;
}
ul#interests .alpha {
	clear:left;
}
ul#interests .omega {
	clear:right;
}
ul#currentAppointments li {
    color:#444;
}
ul#currentAppointments span {
    color:#000;
}
.SurgeonPage dt.cv span {
    display:block;
}
.SurgeonPage dd.cv span {
    font-size:1.1em;
}


/*****************************/
/* LOCATION PAGE             */

.LocationPage #inner .location {
    margin-bottom:15px;
}


/*****************************/
/* FACT SHEET PAGE           */

.FactSheet .two-columns td {
    width:50%;
}
.print-link {
  margin-top:-0.5em;
}

/*****************************/
/* BLOG ENTRY PAGE           */

.BlogEntry .title {
    margin-bottom:0;
}
.BlogEntry .meta {
    margin-top:0.2em;
    margin-bottom:1em;
}
.BlogEntry ul.sources {
    float:left;
    border:1px solid #CCC;
    margin-top:16px;
}
.BlogEntry ul.sources li {
    float:left;
    padding:6px 10px;
    margin-bottom:0;
    border-right:1px solid #CCC;
    font-size:0.8em;
}
.BlogEntry ul.sources li.last {
    border-right:0;
}
.BlogEntry ul.sources li.title {
    background:#F0F0F0;
    color:#000;
}


/*****************************/
/* CONTACT PAGE              */

form div.field {
    float:left;
    width:100%;
}
form label,
form .middleColumn {
    float:left;
    margin-bottom:5px;
}
form label {
    width:80px;
    color:#000;
    font-weight:normal;
    font-size:1em;
}
form .field input,
form textarea {
    float:left;
    margin:0;
    width:202px;
    padding:3px;
    font-size:1em;
}
form #Maths input {
    width:80px;
}
form .spamnote,
form .message {
    float:left;
    width:210px;
    padding-left:80px;
}
form .spamnote {
	font-size:0.8em;
}
form .message {
    color:#C61A16;
    padding-bottom:8px;
}
.ContactPage .omega h3 {
  margin-top:0;
}
.ContactPage .google-map {
    position: relative;
    padding-bottom: 60%;
    height: 0;
}
.ContactPage .google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.ContactPage .four.columns img {
	width:100%;
}

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {
        body {
            font-size:0.9em;
        }
    }

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
        .sidebar dt,
        .sidebar dd {
            font-size:0.8em;
        }
        .sidebar dt {
            width:53px;
        }
        .sidebar dd {
            width:139px;
        }

        
        #inner .four dt {
            width:65px;
            margin-bottom:0;
        }
        #inner .four dd {
            width:155px;
        }

        form label {
            width:65px;
        }
        form .field input,
        form textarea {
            width:147px;
        }
        form #Maths input {
            width:80px;
        }
        form .spamnote,
        form .message {
            width:155px;
            padding-left:65px;
        }
    }

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
        #header {
            height:auto;
        }
        #menu {
            margin-top:16px;
            margin-bottom:16px;
            width:100%;
            position:inherit;
            top:auto;
            display:none;
        }
        #menu li {
            float:none;
            margin-left:0;
            margin-bottom:8px;
            padding:0 0 8px;
            border:none;
        }
        #menu li a {
            float:none;
            display:inline;
            padding:0;
            background:none !important;
        }
        #menu li.current,
        #menu li.section {
            /* display:block;*/
        }
        .container .sidebar {
            display:none;
        }
        #toggleHolder {
            display:block;
            position:absolute;
            top:5px;
            z-index:20;
            right:0;
        }
        button.menu-toggle,
        button.contact-toggle {
            display:inline-block !important;
            border:1px solid #DDDFF2;
            background:#F5F7FC;
            color:#777;
            margin-bottom:10px;
        }
        ul.show-all {
            display:block !important;
        }
        ul.show-all li {
            border-bottom:1px solid #D1D1D1 !important;
        }
        ul.show-all li.last {
            border:none !important;
        }

        .SurgeonPage dt.cv span {
            display:inline;
            font-size:0.8em;
        }
        .SurgeonPage dt.cv span.date {
            padding-right:0.6em;
        }
    }

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
        body {
            background-position:-250px 0;
        }

        .sidebar dt {
            width:100px;
        }
        .sidebar dd {
            width:290px;
        }

        #inner .four dt,
        #inner .four dd {
        }
        #inner .four dt {
            width:100px;
            margin-bottom:0;
        }
        #inner .four dd {
            width:320px;
        }

        form label {
            width:100px;
        }
        form .field input,
        form textarea {
            width:312px;
        }
        form #Maths input {
            width:80px;
        }
        form .spamnote,
        form .message {
            width:320px;
            padding-left:100px;
        }
    }

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
        body {
            background-position:-250px 0;
        }

        h1 {
            font-size:18px;
            line-height:23px;
        }
        h1 a {
            padding-top:18px;
        }
        h1 span {
            font-size:0.9em;
        }


        .SurgeonPage #tabs li {
            float:none;
            margin-bottom:0px;
            border-right:none;
            border-bottom:1px solid #D1D1D1;
        }
        .SurgeonPage #tabs li a {
            display:block;
            padding:5px 12px;
        }
        .SurgeonPage #tabs li a:hover {
            text-decoration:none;
        }
        .SurgeonPage #tabs li:hover,
        .SurgeonPage #tabs li.current {
            border-bottom:1px solid #D1D1D1;
            background:#F1F1F1;
        }
        .SurgeonPage #tabs li.current a {
            color:#000;
        }
        .SurgeonPage #tabs li.current a:hover {
            text-decoration:none;
        }
        .SurgeonPage #tabs li.contact {
            border-bottom:none !important;
        }
        
    }
  
  /* Retina Graphics */
  @media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
  only screen and (-moz-min-device-pixel-ratio: 1.5),
  only screen and (-o-min-device-pixel-ratio: 3/2),
  only screen and (min-device-pixel-ratio: 1.5) {
    body {
      background-image: url(../images/header_3@2x.png);
      background-size:1424px 255px;
    }
    
    h1 a {
      background-image: url(../images/logo_2@2x.png);
      background-size:87px 94px;
    }
    
    #menu li.section a,
    #menu li.current a {
        background-image:url(../images/menu_active@2x.png);
      background-size:300px 9px;
    }
  }



/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/
@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;
        border-bottom:none !important;
    }
    
    h1 a {
      text-decoration:none;
    }

    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,
    h1 a:after {
        content: "" !important;
    }

    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: 1cm;
    }
    
    #content,
    #inner {
      overflow:visible !important;;
      float:none !important;;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    #menu,
    #sidebar,
    .breadcrumbs,
    #tabs,
    form,
    .print-link {
        display:none;
    }
    #header {
        padding-top:0;
        height:auto;
        border-bottom:1px solid #CCC;
        margin:0 0 30px;
    }
    h1 {
        font-size:1.5em;
        width:auto;
        height:auto;
        float:left;
    }
    h1 a {
        width:auto;
        height:auto;
        padding-left:0;
        background:none;
    }
    #header:after {
        content: "www.spine.com.au";
        display:block;
        font-size:1em;
        margin-bottom: 10px;
        float:right;
        font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
        margin-top:0.4em;
        color:#000;
    }
    #inner {
        width:100%;
        margin:0;
    }
    #tabHolder {
        height:auto;
    }
    #tabHolder .tab {
        display:block !important;
        position:relative;
        border-bottom:1px solid #CCC;
        width:100%;
    }
    .container .two.columns {
        width:18%;
        margin-right:2%;
    }
    .container .six.columns {
        width:78%;
        margin-left:2%;
    }
}