/*
Theme Name: Hatchling Studio
Author: Colette Watson
*/

body {
	font-family: 'Roboto', sans-serif;
}

p {
	color:#000000;
	font-size:14px;
	line-height:18px;
	margin:0px 0px 20px 0px;
	font-family: 'Roboto', sans-serif;
	font-weight:300;
}

p.date, .entry-meta {
	
	margin:0px 0px 20px 0px !important;
	font-weight:400;
	color:#000000;
	font-size:14px;
	line-height:18px;
	font-family: 'Roboto', sans-serif;
}

a {
	color:#008CB2;
	text-decoration:none;
}

p a {
	font-weight:400;
}

a:hover {
	
}

img {
	max-width:100%;
	height:auto;
}

.main img {
	margin-bottom:20px;
}

.alignleft {
	max-width:48.7%;
	float:left;
	margin:0px 1.3% 20px 0px;
}

.alignright {
	float:right;
	margin:0px 0px 20px 1.3%;
	max-width:48.7%;
}

.aligncenter  {
	text-align:center;
	display:block;
	margin-left:auto !important;
	margin-right:auto !important;
	max-width:100%;
}
.wp-caption img {
	margin-bottom:3px !important;
}
.wp-caption-text {
	color:#999;
	font-size:10px;
	line-height:10px;
	margin:0px 0px 0px 0px;
	font-family: 'Roboto', sans-serif;
	font-weight:300;
}

h1 {
	font-size:16px;
	line-height:20px;
	text-transform:uppercase;
	margin:0px 0px 20px 0px !important;
	font-weight:500;
}

h1.widget-title {
	font-size:13px;
	line-height:18px;
	text-transform:uppercase;
	font-weight:500;
}

.screen-reader-text {
	font-size:13px;
	line-height:18px;
	text-transform:uppercase;
	font-weight:500;
	margin:0px 0px 20px 0px !important;
}

h2 {
	font-size:16px;
	line-height:20px;
	text-transform:uppercase;
	margin:0px 0px 20px 0px !important;
	font-weight:500;
	}

h3 {
	font-size:14px;
	line-height:18px;

	margin:0px;
	padding:0px;
	font-weight:normal !important;
}

br.hurdle {
	clear:both;
}

.wrapper {
	max-width:964px;
	margin:0px auto;
	padding:0px 30px;
}

.wrapper-internal {
	width:100%;
}

.wrapper-internal #sidebar {
	margin-top:0px !important;
}

header {
	padding:50px 0px 0px 0px;
	width:100%;
	display:block;
	clear:both;
}

.logo {
	width:32.57%;
	margin:0px 6.02% 0px 0px;
	float:left;
}

nav {
	float:right;
	width:60.89%;
}

nav ul {
	margin:0px !important;
	padding:41px 0px 0px 0px !important;
		text-align:center;
}

header ul li	{
	text-align:center;
	display:inline;
	margin:0 2.89%;
	font-size:16px;
	line-height:20px;
	text-transform:lowercase;
}

header ul li a	{
		text-align:center;
	color:#000;
	display:inline-block;
	height:84px;
	min-width:39px;
}

header ul li a:hover	{
	color:#666;
	display:inline-block;
	background:url('http://www.hatchlingstudio.com.au/wp-content/uploads/2014/11/hover2.jpg') no-repeat center 25px;
	background-size:29px 22px;
}

header ul li.current-page-ancestor a, header ul li.current-menu-item a{
	color:#FFA53D;
	background:url('http://www.hatchlingstudio.com.au/wp-content/uploads/2014/11/not-hover2.jpg') no-repeat center 25px;
	font-weight: 400;
	background-size:29px 22px;
}

#sidebar ul {
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
}

#sidebar ul li	{
	display:block;
	font-size:14px;
	line-height:18px;
	margin:0 0 20px 0;
}

#sidebar ul li a {
	color:#BE8043;
}

#sidebar ul li a:hover {
	color:#FFA53D !important;
}

#sidebar ul li.current_page_item a, #sidebar ul li a.current_page_item {
	color:#FFA53D !important;
	font-weight:400;
}

input.form-control {
	color:#999 !important;
}

#middle {
	
}

#sidebar {
	float:left;
	width:15.66%;
	margin:132px 2% 0 0;
}

#sidebar input {max-width:100% !important;}

.content {
	float:right;
	width:82.34%;
}

.entry-content {margin: 0 0 50px 0;}

#container {
	position:relative;
	width:100%;
}

.item {
	height: auto;
	float: left;
	margin:0px 2.66% 2.66% 0 !important;
	width:30%;
	}
	
.item a {
	position:relative;
	display:block;
}	

.item a img {
	margin:0px !important;
	padding:0px !important;
}
	
.item a span.hover {
	display:none;
	position:absolute;
}

.item a:hover span.hover {
	display:block;
	width:100%;
	height:auto;
	background-color:#fff;
	color:#000;
	opacity: 0.6;
	text-align:center;
	margin:auto;
	filter: alpha(opacity=60);
  top: 50%;
	padding:10% 0;
  transform: translateY(-50%);
}

span.title {
	margin:auto;
	padding:0px 5px;
}

.intro {
	width:50.70%;
}

.intro p {
	color:#000000;
	font-size:16px !important;
	line-height:20px;
	margin:0px 0px 20px 0px;
	font-family: 'Roboto', sans-serif;
	font-weight:300;
}

.main {
	width:100%;
}

footer {
	margin:100px 0 0 0;
}
	
.thirty {
	width:45%;
	float:left;
	margin:0 20px 10px 0px;
}

.thirty img, .thirty-left img { margin-bottom:0px !important; padding-top:10px; }	
.thirty-left {
	width:45%;
	float:right;
	margin:0px 0px 10px 20px;
}

@media screen and (max-width:880px) {
	header ul li	{
		display:inline;
		margin:0 4% 0 0;
		font-size:14px;
	}
}

/* ipads */

@media screen and (max-width:768px) {
	
	.wrapper {
		max-width:708px;
	}
	
	.item {
	height: auto;
	float: left;
	margin-bottom:20px;
	}

	#sidebar {
		width:18.66%;
		margin:132px 2% 0 0;
	}

	.content {
		width:76.25%;
	}

}

@media screen and (max-width:660px) {
	#sidebar {
		margin: 30px 2% 30px 0;
		width:100%;
		float:none;
		display:block;
		clear:both;
	}
		
	.content {
		margin: 30px 0% 30px 0;
		width:100%;
		float:none;
	}
		
	.item {
		width:47%;
	}
}

@media screen and (max-width:580px) {
		
		.intro {
			width:100%;
		}
}

@media screen and (max-width:500px) {
	.item {
		width:100%;
		margin:0 0 2.66% 0;
	}
}

@media screen and (max-width:320px) {
	.item {
	height: auto;
	float: left;
	margin-bottom:20px;
	min-width:100%;
	}
}

/*! normalize.css 2012-02-07T12:37 UTC - http://github.com/necolas/normalize.css */

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

/*
 * Corrects block display not defined in IE6/7/8/9 & FF3
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

/*
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/*
 * Prevents modern browsers from displaying 'audio' without controls
 */

audio:not([controls]) {
    display: none;
}

/*
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
 * Known issue: no IE6 support
 */

[hidden] {
    display: none;
}


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/*
 * Addresses font-family inconsistency between 'textarea' and other form elements.
 */

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

/*
 * Addresses margins handled incorrectly in IE6/7
 */

body {
    margin: 0;
}


/* =============================================================================
   Links
   ========================================================================== */

/*
 * Addresses outline displayed oddly in Chrome
 */

a:focus {
    outline: thin dotted;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers
 * people.opera.com/patrickl/experiments/keyboard/test
 */

a:hover,
a:active {
    outline: 0;
}


/* =============================================================================
   Typography
   ========================================================================== */

/*
 * Addresses styling not present in IE7/8/9, S5, Chrome
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/*
 * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
*/

b,
strong {
    font-weight: 400;
}

em, i {
	font-style:italic;
}

blockquote {
    margin: 1em 40px;
}

/*
 * Addresses styling not present in S5, Chrome
 */

dfn {
    font-style: italic;
}

/*
 * Addresses styling not present in IE6/7/8/9
 */

mark {
    background: #ff0;
    color: #000;
}

/*
 * Addresses margins set differently in IE6/7
 */


pre {
    margin: 1em 0;
}

/*
 * Corrects font family set oddly in IE6, S4/5, Chrome
 * en.wikipedia.org/wiki/User:Davidgothberg/Test59
 */

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/*
 * Improves readability of pre-formatted text in all browsers
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/*
 * 1. Addresses CSS quotes not supported in IE6/7
 * 2. Addresses quote property not supported in S4
 */

/* 1 */

q {
    quotes: none;
}

/* 2 */

q:before,
q:after {
    content: '';
    content: none;
}

small {
    font-size: 75%;
}

/*
 * Prevents sub and sup affecting line-height in all browsers
 * gist.github.com/413930
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* =============================================================================
   Lists
   ========================================================================== */

/*
 * Addresses margins set differently in IE6/7
 */

dl,
menu,
ol,
ul {
    margin: 1em 0;
		color:#000000;
		font-size:14px;
		line-height:18px;
		font-family: 'Roboto', sans-serif;
		font-weight:300;
}

dd {
    margin: 0 0 0 40px;
}

/*
 * Addresses paddings set differently in IE6/7
 */

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

/*
 * Corrects list images handled incorrectly in IE7
 */

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
 * 2. Improves image quality when scaled in IE7
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/*
 * Corrects overflow displayed oddly in IE9
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

/*
 * Addresses margin not present in IE6/7/8/9, S5, O11
 */

figure {
    margin: 0;
}


/* =============================================================================
   Forms
   ========================================================================== */

/*
 * Corrects margin displayed oddly in IE6/7
 */

form {
    margin: 0;
}

/*
 * Define consistent border, margin, and padding
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/*
 * 1. Corrects color not being inherited in IE6/7/8/9
 * 2. Corrects text not wrapping in FF3 
 * 3. Corrects alignment displayed oddly in IE6/7
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/*
 * 1. Corrects font size not being inherited in all browsers
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
 * 3. Improves appearance and consistency in all browsers
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/*
 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
 */

button,
input {
    line-height: normal; /* 1 */
}

/*
 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
 * 2. Corrects inability to style clickable 'input' types in iOS
 * 3. Removes inner spacing in IE7 without affecting normal text inputs
 *    Known issue: inner spacing remains in IE6
 */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer; /* 1 */
    -webkit-appearance: button; /* 2 */
    *overflow: visible;  /* 3 */
}

/*
 * Re-set default cursor for disabled elements
 */

button[disabled],
input[disabled] {
    cursor: default;
}

/*
 * 1. Addresses box sizing set to content-box in IE8/9
 * 2. Removes excess padding in IE8/9
 * 3. Removes excess padding in IE7
      Known issue: excess padding remains in IE6
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/*
 * 1. Addresses appearance set to searchfield in S5, Chrome
 * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/*
 * Removes inner padding and search cancel button in S5, Chrome on OS X
 */

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/*
 * Removes inner padding and border in FF3+
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}


/* =============================================================================
   Tables
   ========================================================================== */

/*
 * Remove most spacing between table cells
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}


nav {
	position: relative;
}

nav ul {
	padding: 0;
	margin: 0 auto;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	display: inline-block;
	text-align: left;
	text-decoration: none;
}

nav a#pull {
	display: none;
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 700px) {

	.logo {
		width:40%;
	}

	nav {
		width:40%;
		float:right;
	}

	nav { 
		height: auto;
	}

	nav ul {
		width: 100%;
		display: block;
		height: auto;
	}

	nav li {
		width: 100%;
		float: left;
		position: relative;
	}

	header ul li	{
		line-height:26px;
	}

	nav li a {

	}
	
	nav a {
	 	text-align: right;
	 	width: 100%;
	 	text-indent: 25px;
	}
	
	header ul li a, header ul li, header ul {
		text-align: right !important;
	}
	
	header ul li a:hover {
		background:none !important;
	}	
	
	header ul li a	{
		height:auto;
	}

	header ul li.current-page-ancestor a, header ul li.current-menu-item a {
		background:none !important;
	}

	nav {
		border-bottom: 0;
	}

	nav ul {
		display: none;
		height: auto;
	}

	nav a#pull {
		display: block;
		width: 100%;
		position: relative;
	}

	nav a#pull:after {
		content:"";
		background: url('images/nav-icon.png') no-repeat top right;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 0px;
		top: 10px;
	}
}

@media only screen and (max-width : 400px) {
	.logo {
		width:60%;
	}
	
	nav {
		width:30%;
		float:right;
	}
		
	img.alignleft {
		max-width:100% !important;
		float:none;
		margin:0px 0px 20px 0px;
	}
	
	img.alignright {
		float:none;
		margin:0px 0px 20px 0px;
		max-width:100% !important;
	}
}

@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
		text-align:right !important;
	}
}