/*   
Theme Name: Rebound Graphics 2011 Theme
Description: Thematic Theme child theme
Author: Lassi Utriainen
Author URI: http://www.reboundgraphics.com
Template: thematic

Modular scale 16:960
*/


/* Reset browser defaults
@import url('../thematic/library/styles/reset.css'); */

/* Prepare theme for plugins */
@import url('../thematic/library/styles/plugins.css');




@font-face {
    font-family: 'LeagueGothicRegular';
    src: url('font/League_Gothic-webfont.eot');
    src: url('font/League_Gothic-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/League_Gothic-webfont.woff') format('woff'),
         url('font/League_Gothic-webfont.ttf') format('truetype'),
         url('font/League_Gothic-webfont.svg#LeagueGothicRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}


/* RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    margin: 0; outline: 0 none; padding: 0;
    vertical-align: baseline;
}
/* HTML5 DECLARATIONS */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, dialog {display: block}
audio[controls],canvas,video {display: inline-block; *display: inline; zoom: 1}

/* BASE LAYOUT */
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: none;
	height: 100%;
	
	/*background: #d9dde2 url(images/bg-tile.jpg) scroll top center repeat;*/
	background: #ffffff url(images/bg.jpg) fixed center center no-repeat;
	-webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
	
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bg.jpg', sizingMethod='scale');
	-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bg.jpg', sizingMethod='scale')";
}
html, body {
	padding: 0;
	/*background: #d9dde2 url(images/bg.jpg) fixed top center repeat;
	*/
}
body {
	-webkit-font-smoothing:antialiased; 
	font-smoothing:antialiased; 
	text-rendering:optimizeLegibility;
	
	background: none;
	max-width: 60em;
	min-width: 17.500em;
	width: auto;
	margin: 0 auto;
	padding: 0 1.250em; /* 1.250em; */
	position: relative;
	
}
.page-template-template-page-portfolio-php {
	max-width: 100%;
	
}

nav ul {
    list-style:none;
}
img, embed, object, video {
	max-width: 100%;
	height: auto;
}
img {
	padding: 0;
	margin: 0;
	-ms-interpolation-mode: bicubic;
}
.right {
	float: right;
}
.left {
	float: left;
}
.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}
.center {
	text-align: center;
}
.clear {
	float: left;
	clear: both;
}

/* TYPOGRAPHY */
body, button, input, select, textarea {
	font-size: 100%;
	line-height: 1.5em;
	color: #555555;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
	vertical-align: baseline;
}
input, textarea {
	font-size: 14px;
}
textarea {
	resize: none;
}
input, select {
    vertical-align:middle;
}
p, blockquote, q, pre, address, hr, code, samp, dl, ol, ul, form, table, fieldset, menu {
	margin: 0 0 1.5em 0;
	padding: 0;
}
p {
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ie-hyphens: auto;
	hyphens: auto;
	text-align: justify;
}
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
a, a:link {
	vertical-align:baseline;
	color: #555555;
	font-weight: normal;
	text-decoration: none;
	border-bottom: 1px dotted #555555;
	
}
a:visited {
	color: #555555;
	font-weight: normal;
	text-decoration: none;
	border-bottom: 1px dotted #555555;
}
a:active,
a:hover,
a:focus {
	color: #00a1af;
	font-weight: normal;
	text-decoration: none;
	border-bottom: none;
}
strong {
	color: #000000;
}

/* MARKED/INSERTED/DELETED AND SELECTED TEXT */
ins, mark {text-decoration: none}
mark {background: #c47529}
ins {background: #d49855}
del {text-decoration: line-through}
::selection {
	background: rgba(0,161,175,.5); /* Safari */
	color: #ffffff;
}
::-moz-selection {
	background: rgba(0,161,175,.5); /* Firefox */
	color: #ffffff;
}



/* HEADINGS */
h1, h2, h3, h4, h5 {
	color: #000000;
	line-height: 1em;
	font-family: LeagueGothicRegular, "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
}
h2{
	font-weight: normal;
	font-size: 2.067em;
	text-transform: none;
}

h3 {
	font-size: 2.067em;
	line-height: 1em;
	font-weight: normal;
	padding: 10px 0 5px 0;
}
h3 a:link, h3 a:visited {
	font-size: 1em;
	line-height: 1.618em;
	padding: 10px 0 0 0;

}
h4 {
	font-size: 1.618em;
	line-height: 1em;
	padding: 10px 0 5px 0;
	font-weight: normal;
}




.entry-title {
	z-index: 100;
	font-weight: normal;
	font-size: 1.277em;
	line-height: 1em;
	text-transform: none;
	padding: 10px 0 30px 0;
	margin: 0 0 0 0;
	text-align: left;
}
h1.entry-title {
	font-weight: normal;
	font-size: 2.618em;
	text-transform: none;
	padding: 0.236em 0 0.236em 0;
}
.blog h1.entry-title {
	padding: 10px 0 30px 0;
}
h2.entry-title, .single h1.entry-title {
	font-weight: normal;
	font-size: 2.067em;
	text-transform: none;
	padding: 10px 0 5px 0;
}
.post-content h2 {
	font-size: 2.067em;
	margin: 0 0 0.236em 0;
	padding: 0;
	text-transform: none;
	border-bottom: 2px solid #000000;
}
.post-content h3 {
	font-size: 1.618em;
	padding: 0 0 0.236em 0;
	text-transform: none;
}
.post-content li {
	list-style: disc;
	margin-left: 20px;
}
.entry-title a, .entry-title a:visited , .entry-title a:hover {
	font-weight: normal;
	font-size: 1em;
	margin: 0 0 0 0;
	color: #000000;
	border-bottom: none;
}


time {
	font-style: italic;
	font-size: 1.0em;
}

blockquote {
	font-size: 1em;
	line-height: 1.618em;
	color: #949494;
	font-style: normal;
	width: 80%;
	margin: 1.277em auto;
}

#comments-container h3 {
    font-size: 1.618em;
    line-height: 1.618em;
    font-weight: normal;
    padding: 0;
	position: relative;
	bottom: -30px;
}
#comments-list .comment-meta {
    color:#666;
    font-size: 1em;
}
#comments-list .comment-meta a {
    color:#666;
    font-style:italic;
    text-decoration:none;
}
#comments-list .comment-meta a:active,
#comments-list .comment-meta a:hover {
    color: #666666;
}
.comment-content p {
	font-size: 1em;
}
.comment-reply-link a {
	font-size: 0.79em;
    line-height: 1.618em;
    color:#666;
    font-style:italic;
    text-decoration:none;
}
.comment-reply-link a:active,
.comment-reply-link a:hover {
    color: #666666;
}
.comment-reply-link {
    text-align:right;
}

.comment-navigation {
    font-weight:bold;
}
.comment-navigation a {
    color:#666;
    font-weight:normal;
    text-decoration:none;
}
.comment-navigation a:active,
.comment-navigation a:hover {
    color: #666666;
}
#cancel-comment-reply a {
    color:#666;
	font-size: 0.79em;
    line-height: 1.618em;
}
#cancel-comment-reply a:hover {
    color:#666;
}
#respond .required {
    color:#D00000;
    font-weight:bold;
}
#comment-notes {
	font-size: 0.79em;
	line-height: 1.618em;
}
#form-allowed-tags p {
    color:#666;
    font-size: 0.79em;
    line-height: 1.618em;
    margin: 0 1em;    
}
#form-allowed-tags span {
    font-style:italic;
}
#form-allowed-tags code {
    font-size: 1em;
    line-height: 1.618em;
    line-height:normal;
}
.subscribe-to-comments {
    color:#666;
    font-size: 1em;
    line-height: 1.618em;
}
.solo-subscribe-to-comments {
    color:#666;
    font-size: 1em;
    line-height: 1.618em;
}
.comment_license {
    color:#666;
    font-size: 1em;
    line-height: 1.618em;
}


#siteinfo {
	font-size: 0.618em;
    line-height: 1.618em;
	text-align: center;
}

#siteinfo a:hover {
	color: #00a1af;
}



/*
 * -------- Header --------
 */
#header {
	width: 100%;
	max-width: 60em;
	min-width: 17.500em;
	padding: 10px 0 0 0;
	margin: 0 auto;
	display: block;
	position: relative;
	float: none;
}

#blog-title {
	position: relative;
	float: none;
	top: 0;
	width: 240px;
	height: 85px;
	
	margin: 0 auto;
}
#blog-title a{
	width: 240px;
	height: 85px;
	margin: 0 auto;
	position: relative;
	float: left;
	background: url(images/logo.png) top center no-repeat;
	text-indent: -9999px;
	border-bottom: none;
}

/* NAVIGATION MENU */
.skip-link {
    display: none;
}
nav.menu {
	max-width: 24.0em;
	width: auto;
	margin: 0 auto;
	padding: 10px 0 0 0;
	display: block;
	position: relative;
	float: none;
	text-align: center;
}
.sf-menu {
	width: 130px;
	padding-right: 58px;
	
    border-right: none;
	float: none;
	margin: 0 0 0 0;
	padding:		0;
	display: inline-block;
	list-style:		none;
}
.sf-menu a, .windows .sf-menu a {
	font-family: LeagueGothicRegular, CuprumFFURegular, "Bookman Old Style", Georgia, "Times New Roman", Times, serif;
	border-left: none;
	border-top: none;
	border-bottom: none;
	padding:0 0 1px 0 !important;
	margin: 0 0.79em;
	text-decoration:none;
	font-weight: normal;
	line-height: 100%;
	font-size: 1.217em;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #494949;
	display:		block;
	position:		relative;
	
}

.sf-menu .current_page_item a {
    border-bottom-color:#fff;
	background: none;
	color: #494949;
	/*padding: 0 !important;
	border-bottom: 1px solid #00a1af;*/
}
.sf-menu .current_page_item ul a {
	color: #494949 !important;
	/*padding: 0 !important;
	border-bottom: 1px solid #00a1af;*/
}
.sf-menu .current_page_item ul a:hover {
	color: #00a1af !important;
	padding: 0 !important;
	border-bottom: none;
}
.sf-menu .current_page_ancestor a,
.sf-menu .current_page_parent a {
	/*padding: 0 !important;
	border-bottom: 1px solid #00a1af;*/
}

.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #494949;
}
.sf-menu li {
	padding-bottom: 1em;
	float:			left;
	position:		relative;
	background:		none;
	text-align: 	left;
}

.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background:		none;
	outline:		0;
	
}
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	color: #00a1af;	
	border-bottom: none;
	padding:0 0 0 0 !important;
}
.fb-linkki a, .fb-linkki a:hover {
	width: 100px;
	height: 30px;
	background: url(images/facebook.png) top center no-repeat;
	text-indent: -9999px;
	border-bottom: none;
}
.sf-menu ul {
    border-right: none;
    border-bottom: none;
	border-left: none;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	top:22px; /* overriding essential styles */
}




/* CONTENT STYLES */
#wrapper {
	height: auto;
	min-height: 100%;
	max-width: 60em;
	min-width: 17.500em;
	width: auto;
	margin: 0 auto;
	padding: 0 1.250em;
	/*-moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);*/
	position: relative;
	
}
section {
	width: 100%;
	position: relative;
	float: left;
}
div.wpcf7 {
	max-width: 40em;
	margin: 0 auto !important;	
}


li.clearlist {
	list-style: none;
	margin: 0;
}
span span.amp, .amp {
	display: inline !important;
	padding-left: 0 !important;
}
#nav-above {
    display: none;
}
.col {
	width: 100%;
	margin-right: 0;
	float: left;
	position: relative;
}


/* home */
#welcome {
	width: 100%;
	height: auto;
	float: left;
	padding: 20px 0 0 0;
	
	margin: 0 auto;
	position: relative;
}
#welcome img {
	display: block;
	margin: 0 auto;
}

#welcome h1 {
	text-align: center;
	font-weight: normal;
	margin: 0 auto;
	text-transform: none;
	color: #000000;
	font-size: 4.236em;
}

.home .section-header h2 {
	text-align: center;
	font-weight: normal;
	margin: 0 auto;
	text-transform: none;
	color: #000000;
	font-size: 4.236em;
	padding: 0 0 0.236em 0;
}
.home .section-header h3 {
	text-align: center;
	font-weight: normal;
	margin: 0 auto;
	text-transform: none;
	color: #000000;
	font-size: 2.618em;
	padding: 0 0 20px 0;
}
.home .section-subheader h3 {
	text-align: left;
}
.home section .section-intro {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 30px;
	padding: 0 0 0 0;
}
.home section .section-intro a.contact-button {
	border-bottom: none;
	position: relative;
}
.home section .section-intro p {
	font-size: 1em;
	margin-top: 0;
	margin-left: 0;
}
.home section ul {
	margin-left: 45px;
	margin-right: 0;
	margin-bottom: 10px;
	padding: 0 0 0 0;
}
.home section ul li {
	margin-bottom: 0.5em;
	list-style: url(images/list.png);
}
.home section ul li h4 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
	font-size: 1em;
	font-weight: bold;
	display: inline;
}
/* services */
#home_services {
	float: left;
	text-align: left;
	padding: 60px 0 160px 0;
	margin-bottom: 12px;
	vertical-align: text-top;
	
	/*background: url(images/shadow-320-up.png) bottom center no-repeat;*/
}

#home_services header.section-header {
	padding: 30px 0 0 0;
	
}
#home_services img {
	padding: 10px 15px 0 0;
	position: absolute;
	top: 0;
	left: 0;
}

#home_services p {
	font-size: 1em;
	line-height: 1.35em;
	margin-left: 85px;
	margin-top: -10px;
	margin-bottom: 0.75em;
}
#home_services .service {
	float: none;
	width: 100%;
	min-height: 90px;
	overflow-x: hidden;
	margin: 0 0 0 0;
	display: inline-block;
	vertical-align: text-top;
	position: relative;
	word-wrap: normal;

	padding: 0 0 0 0;
	border-top: 1px dashed #dddddd;
}
/*#home_services .service:hover, #home_services .service:focus {
	background: shadow ylhaalta, koska tasattu sinne;
}*/
#home_services .service header {
	padding: 5px 0 10px 85px;
	background: url(images/service-icons.png) no-repeat;
}
#home_services .service#service-kotisivut header {
	background-position: 0px 0px;
}
#home_services .service#service-some header {
	background-position: 0px -70px;
}
#home_services .service#service-verkkokaupat header {
	background-position: 0px -140px;
}
#home_services .service#service-seo header {
	background-position: 0px -210px;
}
#home_services .service#service-blogit header {
	background-position: 0px -280px;
}
#home_services .service#service-wp header {
	background-position: 0px -350px;
}
#home_services .service#service-mobiili header {
	background-position: 0px -420px;
}
#home_services .service#service-html5 header {
	background-position: 0px -490px;
}

#home_services .img {
	float: left;
	position: relative;
	height: 100%;
}

#ota-yhteytta {
	/*background: url(images/shadow-320.png) top center no-repeat;*/
	padding: 20px 0 160px 0;
}
.contact-info {
	margin: 0 auto !important;
    max-width: 40em;
}
.contact-info p {

	font-size: 0.79em;
}

#kuka img {
	
}
#kuka h3 {
	padding: 0;
}

/* blog */
.blog article header, .single header {
	text-align: left;
	
}
.readmore a {
	display: block;
	position: absolute;
	bottom: -40px;
	right: 0;
	width: 162px;
	height: 32px;
	text-indent: -9999px;
	background: url(images/read-more.png) top center no-repeat;
}
.readmore a:hover {
	/*background: url(images/read-more.png) bottom center no-repeat;*/
	border-bottom: none;
}
article {
	padding: 0 0 200px 0;
}
.blog article {
	padding: 0 0 10px 0;
	margin: 0 0 10px 0;
	border-bottom: 1px solid #cacaca;
}
article .thumb-link {
	border-bottom: none;
	display: none;
}
article .thumb-link img {
	margin: 0 auto;
	display: block;
}
.single img {
	display: none;
	margin: 0 auto;
}
.post-content {
	display: none;
	position: relative;
	max-width: 31em;
	margin: 0 auto;
	padding: 20px 0 0 0;
}
.single .post-content {
	display: block;
}

footer.entry-utility {
	padding: 0;
}

/* portfolio */
.page-template-template-page-portfolio-php #portfolio {
	float: left;
	margin-bottom: 30px;
	width: 100%;
	
	background: #000000;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	border-radius: 6px;
	-moz-border-radius: 6px; 	
	-webkit-border-radius: 6px;
	
}
.page-template-template-page-portfolio-php article {
	margin: 0 auto;
	float: none;
	position: relative;
	text-align: center;
	padding-top: 80px;
	padding-bottom: 80px;
	margin-bottom: 0;
	
}
.page-template-template-page-portfolio-php article h3 {
	color: #ffffff;
}
.page-template-template-page-portfolio-php article img {
	/*padding: 31px 9px 28px 11px;
	background: url(images/portfoliobg.png) top left no-repeat;*/
}
.page-template-template-page-portfolio-php article a {
	border-bottom: none;
}


/* SOCIAL BUTTONS */
.home .social-buttons {
	/*background: url(images/shadow-320.png) top center no-repeat;*/
	padding: 25px 0 60px 0;
	float: left;
}
.blog .social-buttons {
	display: none;
}
.social-buttons {
	
	width: 100%;
	height: 25px;
	padding: 25px 0 30px 0;
}
.social-buttons .social-container {
	width: 300px;
	height: 25px;
	margin: 0 auto;
	
	clear: both;
}
.like, .tweet, .googleplus {
	float: left;
}
.like span {
	top: -3px;
}
.tweet {
	padding: 0 20px 0 0;
}

/* COMMENTS */
#comment-tabs {
	width: 100%;
	max-width: 60em;
	margin: 0 auto;
	float: left;
	clear:both;
	height: 40px;
    padding: 50px 0 0 0;
	background: url(images/shadow-320-up.png) bottom center no-repeat;
	text-align: center;
}
#comment-tabs a {
	text-align: center;
	float: none;
	height: 20px;
	display: inline-block;
	padding-top: 17px;
	padding-bottom: 3px;
	border-bottom: 0;
	color: #555555;
	font-size: 14px;
	line-height: 20px;
	vertical-align: top;
}
#comment-tabs a.current {
	padding-top: 13px;
	padding-bottom: 7px;
}
.wp-comment-button {
	width: 160px;
	padding-left: 0;
	background: url(images/comments-tab.png) bottom center no-repeat;
}
.wp-comment-button.current {
	background: url(images/comments-tab.png) top center no-repeat;
}
.fb-comment-button {
	width: 150px;
	padding-left: 10px;
	background: url(images/fb-comments-tab.png) bottom center no-repeat;
}
.fb-comment-button.current {
	width: 152px;
	padding-left: 8px;
	background: url(images/fb-comments-tab.png) top center no-repeat;
}
/* ei luokkaa ollenkaan jos on kommentteja, jos ei ole tulee alla oleva luokka */
.fb_comments_count_zero {
	display: none;
}
.fb-comments-count:before {
	content:"(";
}
.fb-comments-count:after {
	content:")";
}
#comments, #fb-comments {
	width: 100%;
	max-width: 60em;
	margin: 0 auto;
	float: left;
	clear:both;
    padding: 20px 0 90px 0;
	/*background: #ffffff;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	border-radius: 6px;
	-moz-border-radius: 6px; 	
	-webkit-border-radius: 6px;*/
	background: url(images/shadowdown-960.png) top center no-repeat;
}

#comments-list {
    padding:0 0 1.618em 0;
	max-width: 640px;
	margin: 0 auto;
}

#comments-list ol,
#comments-list ul {
    list-style:none;
    margin: 0;
}
#comments-list ol {
    border: none;
    border-bottom:none;
    margin:0 0 1.618em 0;
}
#comments-list li {
    background: none;
    border-bottom: none;
    padding: 0 0 0 0;
    position:relative;
	list-style: none;
}
#comments-list .comment-meta {
    padding: 0;
	width: auto;
	position: relative;
}
#comments-list li.alt {
    background: none;
}
#comments-list li.bypostauthor {
    background: none;
}
#comments-list ul li {
    border: none;
    margin: 0.79em 0 0.79em 0;
}
#comments-list ul li li {
    border: none;
    margin:0 0 1.618em 20px;
}
#comments-list li .avatar {
    position:absolute;
    top:22px;
    left:1.5em;
    width:36px;
    height:36px;
}

.comment article {
	position: relative;
	padding: 0 0 20px 0;
}
.comment header {
	position: relative;
	text-align: left;
	height: 20px;
	margin: 0;
	padding: 0 0 5px 0;
}
.comment header h5 {
	font-size: 1em;
	font-weight: normal;
}
.comment-content {
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #ababab;
}
.comment-content p {
	margin: 0;
}
.comment-reply-link {
    padding:0 0 0 0;
}

.comment-navigation {
    padding:0 0 1.618em 0;
    margin-right:0.5em;
}
.comment-navigation a {
    border:1px solid #ccc;
    padding:0.5em 0.75em;
}

.comment-navigation a,
.comment-navigation span {
    margin-right:0.5em;
}

#respond {
    background: none;
    margin-bottom:22px;
    overflow: visible;
    padding:1.618em 0 0 0;
    position:relative;
	max-width: 640px;
	margin: 0 auto;
	float: none;
}
#respond header {
	margin-left: 0;
	text-align: left;
	float: none;
}
#comments-list #respond {
    border-bottom:1px solid #ccc;
    margin:0 0 1.618em 0;
    padding:1.618em;
}
#comments-list ul #respond {
    border:1px solid #ccc;
    margin:0;
}
#cancel-comment-reply {
    position:absolute;
    top: 1.618em;
    right: 1.618em;
}
#comment-notes {
	margin-left: 0;
	margin-bottom: 5px;
	width: 100%;
	position: relative;
	display: block;
}
#form-allowed-tags {
	float: left;
	width: 100%;
	margin-left: 0;
}
#form-allowed-tags p {
    margin: 0 1em;    
}
.subscribe-to-comments {
    float:left;
    margin:0;
    padding:18px 0 0 0;
}
.solo-subscribe-to-comments {
    padding:18px 0 0 0;
}
.comment_license {
    clear:both;
    margin:0;
    padding:18px 0 0 0;
}

/* fb comments */
#fb-comments .fb_iframe_widget {
	display: block !important;
	max-width: 40em;
	margin: 0 auto;
}
#fb-comments .fbConnectWidgetFooter {
	display: none;
}

/* FORMS */
form {margin: 0}
fieldset {border: 0;padding: 0}
textarea {overflow: auto; vertical-align: top}
legend {*margin-left: -.75em}
button, input, select, textarea {vertical-align: baseline; *vertical-align: middle} /* IE7 and older */
button, input {line-height: normal; *overflow: visible}
button, input[type="button"], input[type="reset"], input[type="submit"] {cursor: pointer;-webkit-appearance: button}
input[type="checkbox"], input[type="radio"] {box-sizing: border-box}
input[type="search"] {-webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box;	box-sizing: content-box}
input[type="search"]::-webkit-search-decoration {-webkit-appearance: none}
button::-moz-focus-inner, input::-moz-focus-inner {border: 0; padding: 0}

form p {margin: 0;}
.formcontainer, #commentform {
	float: left;
}
#commentform #login {
	display: block;
	float: left;
	margin-left: 0;
}
.form-section {
	width: 100%;
	float: left;
}
.form-label {
	text-align: left;
	float: left;
	position: relative;
}
.form-label .required {
	position: absolute;
	right: 5px;
	top: 2px;
}
.form-textarea, .form-input {
	float: left;
	width: 100%;
}

.form-submit {
    padding: 1.618em 0 0 0;
    text-align: center;
	float: left;
}
.form-submit #submit {
	width: 100%;
}


label {
	padding: 0 0.79em 0 0.79em;
	display: block;
}
input {	
    margin:0 0 1.277em 0;
    width: 94%;
	
	padding: 0.79em;
	background: #ffffff;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	border-radius: 3px;
	-moz-border-radius: 3px; 	
	-webkit-border-radius: 3px;
	border: none;
}

textarea {
    width: 94%;
	padding: 0.79em;
	background: #ffffff;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	border-radius: 3px;
	-moz-border-radius: 3px; 	
	-webkit-border-radius: 3px;
	border: none;
}
.wpcf7-submit {
	display: block;
	width: 200px;
	height: 55px;
	padding: 0;
	margin: 0 auto;
	background: url(images/submit.png) top center no-repeat;
	border-bottom: none;
	text-indent: -9999px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	cursor: pointer;
}
.wpcf7-submit:hover, .wpcf7-submit:focus {
	background-position: bottom center;
}





/* FOOTER */
footer {
	/*border-top: 1px solid #cacaca;*/
	width: 100%;
	height: auto;
	float: left;
	display: block;
	position: relative;
	padding: 0 0 90px 0;
}
#siteinfo {
	width: 100%;
	
	margin: 0 auto;
	padding: 0;
	
    clear: both;
	position: relative;
	

}
#html-css {
	padding: 20px 0 0 0;
	height: 85px;
	width: 130px;
	margin: 0 auto;
	position: relative;
}
#html-css div {
	background: url(images/html5css3.png) no-repeat;
}
div#html5 {
	float: left;
	position: relative;
	width: 60px;
	height: 85px;
	background-position: 0px 0px;
	margin: 0 10px 0 0;
}
div#css3 {
	float: left;
	position: relative;
	width: 60px;
	height: 85px;
	background-position: -60px 0px;
}


/* MAINTENANCE MODE */
.maintenance #header {
	height: 50px;
}
.maintenance .entry-title {
	padding: 20px 0 40px;
}
.maintenance p {
	text-align: center;
}
.maintenance footer {
	padding: 40px 0 60px 0;
}


/* ANIMATIONS */
h2, h2.entry-title, h1.entry-title, .fb_iframe_widget, .fb_iframe_widget {
	transition:all .4s linear; 
    -o-transition:all .4s linear; 
    -moz-transition:all .4s linear; 
    -webkit-transition:all .4s linear;
}
.sf-menu a {
	transition:all .3s linear; 
    -o-transition:all .3s linear; 
    -moz-transition:all .3s linear; 
    -webkit-transition:all .3s linear;
}
/* @media Queries

FOLDING FLUID GRID
< 767px			- 1-Column Fluid Grid
768px - 1023px	- 2-Column Fluid Grid
> 1024px			- 3-Column Fluid Grid
Change widths as necessary
------------------------------------------- */



/* MOBILE PORTRAIT */
@media only screen 
and (min-width : 320px) {

	

	#fb-comments .fb_iframe_widget {
		width: 300px !important;
	}
	#fb-comments .fb_iframe_widget iframe {
		width: 300px !important;
	}
}
/* MOBILE LANDSCAPE */
@media only screen 
and (min-width : 480px) {
	
	
	.sf-menu {
		width: auto;
		padding-right: 0;
	}
	.sf-menu li {
		padding-bottom: 0;
		width: auto;
	}
	.sf-menu a, .windows .sf-menu a {
		font-size: 1.217em;
	}


	
	.blog article {
		padding: 0 0 100px 0;
		margin: 00;
		border-bottom: none;
	}
	.single img {
		display: block;
	}
	.blog article header, .single header {
	    text-align: center;
	}
	article .thumb-link {
		display: block;
	}
	.post-content {
		display: block;
	}
	.entry-title {
		text-align: center;
	}
	.blog .social-buttons {
		display: block;
	}
	
	#fb-comments .fb_iframe_widget {
		width: 400px !important;
	}
	#fb-comments .fb_iframe_widget iframe {
		width: 400px !important;
	}
	
}
/* IPHONE 4 PORTRAIT */
@media only screen 
and (min-width : 640px) {
	h1.entry-title {
		font-size: 3.344em;
	}
	h2, h2.entry-title, .single h1.entry-title {
		font-size: 2.618em;
	}
	.col {
		width: 45.5%;
		margin-right: 4.5%;
	}
	.home section .section-intro {
		margin-left: 85px;
		margin-right: 4%;
		margin-bottom: 50px;
	}
	#home_services .service {
		width: 45.5%;
		margin: 0 4% 0 0;

	}
	#home_services .service.first {
		border-top: none;
	}
	.home section.text {
		padding: 40px 5.313em 40px 5.313em;

	}
	
	
	#fb-comments .fb_iframe_widget {
		width: 480px !important;
	}
	#fb-comments .fb_iframe_widget iframe {
		width: 480px !important;
	}
	.home .social-buttons {
		/*background: url(images/shadow-640.png) top center no-repeat;*/
	}
	#home_services {
		/*background: url(images/shadow-640-up.png) bottom center no-repeat;*/
	}

	#comment-tabs {
		background: url(images/shadow-640-up.png) bottom center no-repeat;
	}
}
/* TABLET/NETBOOK */
@media only screen 
and (min-width : 768px) {
	#header {
		padding: 20px 0 5px 0;	
	}
	#blog-title {
		position: absolute;
		left: 0;
		top: 20px;
	}
	#welcome {
		padding: 0;
	}
	
	nav.menu {
		padding: 40px 0 20px 0;
	}
	#header {
		padding-bottom: 20px;
	}
	h1.entry-title {
		font-size: 4.236em;
	}
	h2, h2.entry-title, .single h1.entry-title {
		font-size: 3.344em;
	}
	
	
	
}
/* IPHONE 4 LANDSCAPE */
@media only screen 
and (min-width : 960px) {
	
	.home .social-buttons {
		/*background: url(images/shadow-960.png) top center no-repeat;*/
	}
	#home_services {
		/*background: url(images/shadow-960-up.png) bottom center no-repeat;*/
	}

	#comment-tabs {
		background: url(images/shadow-960-up.png) bottom center no-repeat;
	}
}
/* LANDSCAPE TABLET/NETBOOK/LAPTOP */
@media only screen and (min-width: 1024px) { 
	body {

	}
	

}
@media only screen and (min-width: 1280px) { 
/* DESKTOP */
		body {

	}
}
/* WIDESCREEN */
/* Increased body size for legibility */
@media only screen and (min-width: 1400px) { 
	body {
		font-size: 115%;
	}
}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */

}


/* PRINT */
@media print {
  * {background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important} /* Black prints faster */
  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: ""}  /* Don't print links for images, javascript or internal links */
  pre, blockquote {border: 1px solid #999; page-break-inside: avoid; }
  thead {display: table-header-group; } /* Repeat header row at top of each printed page */
  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}
}








