/*

Theme Name: Kerri Dawe

Theme URI: http://www.kerridawe.com/

Author: Kerri Dawe

Version: 1.0

*/



/*  HTML5 ✰ BOILERPLATE DONT TOUCH  */



html, body, div, span, object, iframe,

h1, h2, h3, h4, h5, h6, p, blockquote, pre,

abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,

small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,

fieldset, form, label, legend,

table, caption, tbody, tfoot, thead, tr, th, td,

article, aside, canvas, details, figcaption, figure,

footer, header, hgroup, menu, nav, section, summary,

time, mark, audio, video {

  margin: 0;

  padding: 0;

  border: 0;

  font-size: 100%;

  font: inherit;

  vertical-align: baseline;

}



article, aside, details, figcaption, figure,

footer, header, hgroup, menu, nav, section {

  display: block;

}



blockquote, q { quotes: none; }

blockquote:before, blockquote:after,

q:before, q:after { content: ''; content: none; }

ins { background-color: #ff9; color: #000; text-decoration: none; }

mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

table { border-collapse: collapse; border-spacing: 0; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

input, select { vertical-align: middle; }



body { font:13px/1.231 sans-serif; *font-size:small; padding-bottom:20px;} 

select, input, textarea, button { font:99% sans-serif; }

pre, code, kbd, samp { font-family: monospace, sans-serif; }



html { overflow-y: scroll; }

a:hover, a:active { outline: none; }

ul, ol { margin-left: 2em; }

ol { list-style-type: decimal; }

nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }

strong, th { font-weight: bold; }

td { vertical-align: top; }



sub, sup { font-size: 75%; line-height:width: 68px;  0; position: relative; }

sup { top: -0.5em; }

sub { bottom: -0.25em; }



pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }

textarea { overflow: auto; }

.ie6 legend, .ie7 legend { margin-left: -7px; } 

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

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



::-moz-selection{ background: #333; color:#fff; text-shadow: none; }

::selection { background:#333; color:#fff; text-shadow: none; }

a:link { -webkit-tap-highlight-color: #f57b20; }



button {  width: auto; overflow: visible; }

.ie7 img { -ms-interpolation-mode: bicubic; }





@font-face {

    font-family: 'WalkwayUltraBoldRegular';

    src: url('fonts/walkway_ultrabold-webfont.eot');

    src: url('fonts/walkway_ultrabold-webfont.eot?#iefix') format('embedded-opentype'),

         url('fonts/walkway_ultrabold-webfont.woff') format('woff'),

         url('fonts/walkway_ultrabold-webfont.ttf') format('truetype'),

         url('fonts/walkway_ultrabold-webfont.svg#WalkwayUltraBoldRegular') format('svg');

    font-weight: normal;

    font-style: normal;



}



/* THEME STYLES */

body, select, input, textarea {  color: #878787; }

h1, h2, h3, h4, h5, h6 { font-weight: normal; color: #5e5e5e; padding-bottom: 10px; }

h1{ font-size: 21px; color: #d91b1b; font-family: 'WalkwayUltraBoldRegular'; letter-spacing:1px;}

h2{ font-size: 18px; }

h3{ font-size: 16px; }

a, a:active, a:visited { color: #d91b1b; text-decoration: none; }

a:hover { color: #036; }

p{line-height:1.7;}



body{ background:#fff url(images/bg.jpg) 0 0 repeat; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 13px; }

#wrapper{ background:transparent url(images/shadow_top.png) 0 0 repeat-x; }

#container{ width:100%; max-width: 1240px; min-width: 960px; margin: 0 auto; background:transparent url(images/grunge.png) 100% 0 no-repeat; padding:0 20px;}

.ie7 #articles{width:1240px;}



header[role=banner] { height: 120px; padding-top: 50px; }

header[role=banner] #logo{ float: left; }



header[role=banner] nav{ float: right; }

header[role=banner] nav ul li{ display: inline; margin-left:50px;}

header[role=banner] nav ul li a{ font: 20px 'WalkwayUltraBoldRegular'; color:#d91b1b; text-transform:lowercase; }

header[role=banner] nav ul li a:hover{color:#a51212;}

/*

header[role=banner] nav ul li a span{ display: block; height: 20px;}

header[role=banner] nav ul li.portfolio a span{background:transparent url(images/nav.png) 0 0 no-repeat;}

header[role=banner] nav ul li.portfolio a:hover span, .portfolio header[role=banner] nav ul li.portfolio a span{background-position:-100px 0;}

header[role=banner] nav ul li.skills{width:39px;}

header[role=banner] nav ul li.skills a span{background:transparent url(images/nav.png) 0 -48px no-repeat;width:39px;}

header[role=banner] nav ul li.skills a:hover span{background-position:-100px -48px;}

header[role=banner] nav ul li.blog{width:36px;}

header[role=banner] nav ul li.blog a span{background:transparent url(images/nav.png) 0 -92px no-repeat;width:36px;}

header[role=banner] nav ul li.blog a:hover span{background-position:-100px -92px;}

header[role=banner] nav ul li.contact{width:66px;}

header[role=banner] nav ul li.contact a span{background:transparent url(images/nav.png) 0 -137px no-repeat;width:66px;}

header[role=banner] nav ul li.contact a:hover span{background-position:-100px -137px;}

*/



#main_content{position:relative;margin-bottom:30px;min-height:370px;}

#main_content .title{font-size:30px;color:#ccc;}



aside{width:25%;float:right;border-left:1px solid #eee;padding-left:3.5%;}



#pagination{clear:both;padding-bottom:30px;margin:-29px 250px 0 0;}

.ie7 #pagination{margin:-25px 0 0 0;}

#pagination nav{float:right;margin:-22px 10px 0 0;}

#pagination nav a{background:#696969; color:#fff; border-radius:5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; padding:5px 10px; white-space:nowrap;}

.ie7 #pagination nav a{height:17px;display:block;}

#sort{float:right; position:relative; z-index:1001;}

#sort_service{position:absolute;top:0;left:0;z-index:1;background:#696969 url(images/arrow.png) 230px 10px no-repeat; color:#fff; border-radius:5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; position:relative; width:250px; height:28px; overflow:hidden; margin:0; cursor:pointer;}

#sort_services_menu a, #sort_service span{color:#fff;display:block;width:250px; height:30px; line-height: 28px; text-indent:10px;}

#pagination nav a:hover, #sort_services_menu a:hover{background:#808080;}

#sort_services_menu{

	display:none;

	position:absolute;

	top:23px;

	left:0;

	background:#939393;

	width:250px;

	z-index:0;

	padding:5px 0; 

	-webkit-border-bottom-right-radius: 5px;

	-webkit-border-bottom-left-radius: 5px;

	-moz-border-radius-bottomright: 5px;

	-moz-border-radius-bottomleft: 5px;

	border-bottom-right-radius: 5px;

	border-bottom-left-radius: 5px;

}

#loading{position:absolute;top:130px;left:47%;z-index:100;}



article.portfolio{ width: 22.75%; float: left; margin-right: 3%; margin-bottom:40px; }

article.portfolio:nth-child(4n+1){
    clear:left
}

article.portfolio.last{ margin-right: 0; }

article.portfolio header p{ color: #5e5e5e; font-size: 14px; margin-bottom: 10px;}

article .thumbnail{ position: relative;display: block; height: 125px; width: 97%; overflow: hidden; border: 4px solid #fff; background: #eee; margin-bottom: 15px; box-shadow: 0 0 3px #d6d6d6;}

article .thumbnail a{ position: relative; margin-left:-12px; }

article .thumbnail a img.wp-post-image{position:absolute; top:0; left:0; max-width:285px; height:auto;}

article .thumbnail a .zoom{ position:absolute; top:126px; left:0; z-index:1; padding:55px 130px; background: transparent url(images/bg_25.png) 0 0 repeat; }



article.post{float:left;width:70%;margin-bottom:30px;}

article.post .skill{width: 22%;margin-right: 3%;float:left;margin-bottom:20px;}



#contact{background:#fff url(images/bg.jpg) 0 0 repeat;}

#contact form{background:transparent url(images/shadow_top.png) 0 0 repeat-x;padding:20px;}

form h1{padding-bottom:20px;font-size:30px;}

form h3{font-size:15px;padding:0 0 5px 0;}

form fieldset legend{ float:left; width:220px; font-size: 18px; color: #5e5e5e; margin-bottom:10px; }

form div.left{width:450px;padding:10px 0 10px 30px;margin-bottom:20px;border-left:1px dotted #ccc;}

form p{position:relative;width:225px;height:30px;float:left;margin-bottom:8px;}

form p label{position:absolute;top:1px;left:38px;}

form input#name{background:url(images/icon_name.png) 0 3px no-repeat;text-indent:30px;width:200px;}

form input#email{background:url(images/icon_email.png) 0 3px no-repeat;text-indent:30px;width:200px;}

form input#phone{background:url(images/icon_phone.png) 0 4px no-repeat;text-indent:30px;width:200px;}

form input#website{background:url(images/icon_website.png) 0 4px no-repeat;text-indent:30px;width:200px;}



html.ie9 form input#name, html.ie9 form input#email, html.ie9 form input#phone, html.ie9 form input#website{background-position:0 3px;}



form .checkboxes{float:left; width:225px; margin:0 0 15px 0;}

form select{width:180px;}

form textarea{width:425px;height:100px;}

form button{margin-left:555px;}

form #msg{background:#eee;padding:10px;position:absolute;bottom:36px;left:20px;}



footer{width:100%;clear:both;padding:20px 0;border-top:3px solid #eee;}

footer small{float:right;padding-bottom:15px;}

footer #social{float:right;clear:right; margin-bottom: 20px;}

footer #social a{margin-left:5px;position:relative;display:inline-block;width:41px;height:41px;}

footer #social a img{position:absolute;top:0;left:0;}

footer #latest_tweet{width:370px;float:left;background:transparent url(images/twitter_bird.png) 280px 20px no-repeat;padding-bottom:20px;}

footer #latest_tweet .tweet{width:250px;float:left;background:#fff;padding:15px;font-size:12px;}



/* MISC */

.clear{clear:both;}

.left{float:left;}

.right{float:right;}

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

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

.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

.visuallyhidden.focusable:active,

.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

.invisible { visibility: hidden; }

.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }

.clearfix:after { clear: both; }

.clearfix { zoom: 1; }





/* MOBILE & HANDHELD */

@media handheld, only screen and (max-device-width: 480px) {

  

	#container{ width:90%; min-width: 90%;} 

	header[role=banner]{padding-top:20px;}

	header[role=banner] #logo img{ width:100%; margin:0 auto 20px auto;}

	header[role=banner] nav{float:none; margin:0; padding:40px 0 10px 0;}

	header[role=banner] nav ul li{ margin:0 20px 0 0; }

  #main_content .title{padding-top: 30px;}

	article{ width: 100%; float: left; margin-bottom: 40px;}

	#sort{width:40%}

	#sort_service, #sort_services_menu{width:100%;}

	#sort_services_menu{width:100%;left:auto; right:0;}

	#sort_services_menu a, #sort_service span{width:100%;}

	#pagination{float:left;}

  

  article.portfolio{width: 100%;}

  article .thumbnail{height: 200px;}

  article .thumbnail a img.wp-post-image{max-width: initial; width: auto;}

  article .thumbnail a .zoom{display: none;}

  

  article.post .skill{width: auto; height: auto;}

  article.post .skill .thumbnail img{height: auto; width: 100%;}

  body.about article.post{width: initial;}

  body.about article .thumbnail{height: auto;}

  body.about aside{width: initial; border:0; padding-left: 0;}



}



/* PRINT */

@media print {

  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;

  -ms-filter: none !important; } 

  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: ""; }  

  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }

  thead { display: table-header-group; }

  tr, img { page-break-inside: avoid; }

  @page { margin: 0.5cm; }

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

  h2, h3{ page-break-after: avoid; }

}