/*  
Theme Name: Rapid Websites Theme 1
Theme URI: http://rapidwebsites.co.nz/
Description: Theme by Rapid Websites
Version: 1.0
Author: Aidan Curran
Author URI: http://rapidwebsites.co.nz/

colour pallette:
#484751 - charcoal (text)
#103941 - dark teal (headings)
#305C64 - teal
#609AA5 - light teal
#a6b7bD - extra light teal (border)

*/
html,body {
	margin:0;
	padding:0;
   background: #fff;
   text-align: center;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-family : "Times New Roman", Times, serif;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
	font-family: arial, helvetica, sans-serif;
	font-family: "trebuchet ms", trebuchet, arial, helvetica, sans-serif;
   font-size: 16px;
   color: #484751;
}
h1, h2, h3, h4 {

}
h1 {
   font-size: 1.375em;
   color: #5597A2;
   margin: 0 0 20px 0;
   border-bottom: 2px solid #A6B7BD;
   text-transform: uppercase;
   text-align: center;
   padding-bottom: 10px;
}
h2 {
   font-size: 1.25em;
   color: #103941;
}
h3 {
   font-size: 1.125em;
}
h4 {
   font-size: 1em;
}
h1.hassubheading, h2.hassubheading, h3.hassubheading, h4.hassubheading {
   margin-bottom: 0;
}
h1.subheading, h2.subheading, h3.subheading, h4.subheading {
   margin-top: 2px;
}
a {
   color: #305C64;
}
a:hover {
   color: #609AA5;
}
strong a {
   text-decoration: none;
}
strong a:hover {
   text-decoration: underline;
}
h1 a, h2 a, h3 a, h4 a {
   text-decoration: none;
   color: #305C64;
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
   color: #609AA5;
   text-decoration: underline;
}
img {
   border: 0;
}
div {
   text-align: left;
}
form {
   margin:0;
}
blockquote {
   background-color: #D5E7EA;
   border-radius: 15px;
   padding: 5px 20px;
   margin: 20px;
   font-size: 1.25em;
   font-style: italic;
}
#header {

}
#page {
   background: white;
   margin: 0px auto;
}
#nav {
   text-align: center;
   line-height: 30px;
   margin: 5px 0;
   padding: 0;
}
#nav a {
   margin: 0 10px;
   padding: 0 15px;
   color: #000000;
   text-decoration:none;
   font-weight: bold;
   font-size: 0.938em;
}
#nav a:hover, #nav .current_page_item a {
   color: #305C64;
   background: url(images/navbg.png) left center no-repeat;
}
#nav ul {
   list-style: none;
   margin: 0;
}
#nav li {
   display: inline;
   list-style: none;
}
#maincontent {
   padding: 20px 40px 40px 40px;
   border: 2px solid #a6b7bD;
}
#leftcol {
   float: left;
   width: 430px;
   padding: 10px 10px 10px 20px;
}
#rightcol {
   float: left;
   width: 270px;
   padding: 10px 20px 10px 10px;
}
.clear {
   clear:both;
}
.divider {
   border-bottom: 2px solid #A6B7BD;
   margin: 20px 0;
}
.center {
   text-align:center;
}
.centered {
   margin: 0 auto;
}
#footer {
   margin-top: 5px;
   padding: 10px;
   text-align: center;
   font-size: 11px;
   color: #999999;
}
#footer a {
   text-decoration: none;
   color: #999999;
}
#footer a:hover {
   text-decoration: underline;
   color: #666666;
}
img.leftalign {
   display: block;
   float: left;
   text-align: left;
   margin: 0 25px 5px 0;
}
img.rightalign {
   display: block;
   float: right;
   text-align: right;
   margin: 0 0 5px 15px;
}
img.centeralign {
   display: block;
   margin: 10px auto;
   text-align: center;
}
table.labels {
   width:50%;
   margin:10px auto;
}
table.labels th {
   text-align: right;
   padding-right: 30px;
}

#maincontent td {
   padding: 10px;
}
#maincontent td h2 {
   margin-top: 0px;
}
#blogdescription {
   color: #777;
   padding: 5px 20px;
   background-color: #f0f0f0;
   margin-bottom: 30px;
}
h1.postheading, h2.postheading {
   margin-bottom: 0px;
}
a.more-link {
   font-weight: bold;
}
#searchresults {
   padding: 10px 25px 50px 25px;
}
div.callout {
   font-size: 1.125em;
   color: #609AA5;
   margin: 20px 0;
   text-align: center;
}
div.highlight {
   font-size: 1.125em;
   color: #609AA5;
   margin: 20px 0;
   text-align: center;
}
div.halfcol {
   width: 50%;
   margin: 0;
   float: left;
   padding: 0;
   overflow:hidden;
}

div.floatbox, div.floatbox2 {
   width: 44%;
   margin: 20px 1.5%;
   float: left;
   background-color: #007984;
   color: #fff;
   padding: 1.5%;
   min-height: 150px;
   border-radius: 15px;
}
div.floatbox a, div.floatbox2 a {
   color: #fff;
}
div.floatbox2 a {
   text-decoration: none;
}
div.floatbox2 {
   min-height: 50px;
   text-align: center;
   font-size: 1.5em;
   background-color: #00535E;
}
div.darkbox {
   background-color: #00535E;
   color: #fff;
   padding: 10px 20px;
   overflow: hidden
}
div.darkbox h1, div.darkbox h2, div.darkbox h3, div.darkbox h4 {
   color: #fff;
}
div.darkbox h2 {
   font-size: 2.4em;
   margin-bottom: 10px;
}   
div.darkbox h4 {
   font-size: 1.2em;
}   
/* widgets */
#widgets {
   width: 760px;
   padding: 10px 20px;
   margin: 0 auto;
   overflow: hidden;
   background-color: #a6b7bD;
}
div.widget {
   width: 190px;
   float: left;
}
#widgets h2 {
   font-size: 14px;
   margin: 0;
   font-family:'Times New Roman',Times,serif;
   font-style: italic;
}
div.widget ul {
   list-style: none;
   margin: 0;
   padding: 0;
}
.screen-reader-text {
   display:none;
}
input#s {
   width: 100px;
}
#widgets, #widgets select, #widgets input {
   font-size: 11px;
}

a.read-more {
   text-decoration: none;
   font-weight: bold;
}
p.postmetadata a {
   text-decoration: none;
}
p.originallink {
   font-size: 14px;
   clear: both;
   padding-top: 20px;
}

/* Nexgen Gallery tweaks */
a.slideshowlink {
   display: block;
   width: 150px;
   text-align: center;
   color: #ddd;
   background: #888;
   text-decoration: none;
   padding: 5px 0;
   margin: 10px auto;
   font-weight: bold;
   
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
   
	-moz-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	-webkit-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	-khtml-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	box-shadow: rgba(200,200,200,1) 0 4px 18px;   
}
a.slideshowlink:hover {
   color: #fff;
   background: #AAA;
}
div.ngg-galleryoverview {
   width: 650px;
   margin: 10px auto;
}

a.linkedin {
   background: url(images/linkedin.png) left center no-repeat;
   padding-left: 50px;
   text-decoration: none;
   height: 36px;
   line-height: 36px;
   font-size: 1.125em;
   color: #1884BC;
   display: inline-block;
   font-weight:bold;
}


/* WP Common Styles */
.editLink {
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #e0e0e0;
   color: #777777;
   font-size: 10px; 
   border: 1px solid #999999;
   text-decoration: none;
   padding: 3px 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #eeeeee;
   border: 1px solid #333333;
   color: #000000;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}
img.aligncenter, div.aligncenter {
   display: block;
   margin: 20px auto;
}
img.alignright, div.alignright {

   float: right;
   margin: 0px 0px 5px 15px;
}
img.alignleft, div.alignleft {

   float: left;
   margin: 10px 20px 5px 0px;
}
img.aligncenter {
   text-align: center;
}
img.alignright {
   text-align: right;
}
img.alignleft {
   text-align: left;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.more-link {
   display:block;
   text-align:right;
}
.linklove {
   display:none;
}

/* Comments */
#comments {
   margin-top: 100px;
   color: #333;
   background: #f3f3f3;
   padding: 10px 20px;
   clear:both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding-bottom: 24px;
}
.commentlist {
	list-style: none;
	margin: 0;
   padding: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}
/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
   font-style: italic;
   color: #999;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	display:none;
}
#respond label {
	color: #888;
	font-size: 12px;
   width: 80px;
   display: block;
   float: left;
   text-align: right;
   padding-right: 10px;
}
#respond input {
	margin: 0 0 9px;
	width: 500px;
}
#respond textarea {
	width: 500px;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}

div.label {
   display: inline-block;
   width: 100px;
   font-weight: bold;
   color: #305C64;
   vertical-align: top;
}
div.inlineblock {
   display: inline-block;
   vertical-align: top;
}
div.inlineblock>p, div.responsive>p, div.responsive50>p, div.responsive33>p {
   margin: 0;
}

p.hover {
   color: #585761;
}
p.hover:hover {
   color: #484751;
}

/* Responsive elements                              */
/* ------------------------------------------------ */

/* WIDE SCREEN - defaults: (1000px and wider) */
/* >= 1000px wide */
/* as defined in above in main stylesheet rules */

   #page { width: 1000px; }
   #header { height: auto; }
   #header img {width: 100%;}
   .maincontent img, .responsive img, .responsive .wp-caption { max-width:100%; height:auto; }
   .responsive50 img, .responsive50 .wp-caption { max-width:50%; height:auto; }
   .responsive33 img, .responsive33 .wp-caption { max-width:33%; height:auto; }
   .responsive .wp-caption img, .responsive50 .wp-caption img, .responsive33 .wp-caption img { max-width:100%; }
   
       
/* MEDIUM-WIDE SCREEN */
/* width 750px - 1000px */
@media screen and (max-width: 1000px) {
   #page { width: 98%; }
   
}

/* MEDIUM-SMALL SCREEN */
/* width 500px - 750px */
@media screen and (max-width: 750px) {

   html,body { font-size: 14px; }
   #nav a { 
       margin: 0 5px;
       padding: 0 3px; }
   #nav a:hover, #nav .current_page_item a { background: none; }
   #maincontent { padding: 10px 20px; }
   .responsive33 img, .responsive33 .wp-caption  { max-width:50%; height:auto; }
   img.wp-image-88 { display: none; }
}

/* SMALLEST SCREEN */
/* width 320px - 500px */
@media screen and (max-width: 500px) {	
   #page { min-width: 320px; }
   #maincontent { padding: 10px 10px; border-width: 1px; }
   div.floatbox, div.floatbox2 {
      width: auto;
      margin: 20px 0;
      float: none;
   }   
   div.darkbox img.alignright {
      float: none;
      margin: 10px auto;
      display: block;
      width: 100px;
      height: 100px;
   }
   div.darkbox h2 {
      font-size: 2em;
   }
   div.darkbox h4 {
      font-size: 1.1em;
   }
}