/*
Theme Name: Spineclinic Theme
Theme URI: http://spineclinic.se/
Description: Theme uses static width 960px and footer hugging the bottom.
Version: 0.2
Author: Tibor Berki
Tags: two columns,static, widgets


*/

/*
kod modifierad fran: http://www.sitepoint.com/article/breaking-out-of-the-box/3/

mintgrona: #56c0aa blir #3a9 till text

*/

* {
  margin: 0;
  padding: 0;
}

html,
body,
#container {
  height: 100%;
}

body {
  background: #fff;
  color: #666;
  font: 14px/24px "Lucida Grande", Verdana, sans-serif;
  text-align: center;
}
a:link,
a:visited {
  color: #3a9;
}
a:hover {
  /* color: #933; */
  color: #a46;
}

/* Hide h1.logo and div.description */
#header h1 {
  text-indent: -999em;
  float: left;
}

a.logo {
  width: 240px;
  height: 160px;
  display: block;
  /*background: url(images/logo.png) no-repeat 0 0;*/
  overflow: hidden;
}

.description {
  text-indent: -9999px;
  display: block;
  overflow: hidden;
}

h2,
h3 {
  font: 500 italic 1.5em/1.5em Georgia, serif;
}
h2 {
  color: #999;
}

h2 a,
h3 a {
  text-decoration: none;
}

h3 {
  padding-bottom: 6px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: #3a9;
}

#container {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -170px; /* minus footerns hojd */
}

#header {
  height: 170px;
  background: #fff url(images/bg-header.png) bottom repeat-x;
  text-align: center;
}
#header-inner {
  width: 960px;
  height: 150px;
  margin: auto;
}

#header ul {
  padding-top: 10px;
  margin-left: 374px;
  text-align: left;
  list-style: none;
}
#header li {
  display: inline;
  margin: 0 12px;
}
#header li a {
  font-size: 1.25em;
  line-height: 1em;
  text-decoration: none;
  color: #3a9;
}
#header li a:hover {
  color: #300;
}
#header p span {
  left-margin: -9999px;
  overflow: hidden;
  display: none;
}

#navigation {
  font-size: 1em;
  font-weight: bold;
  line-height: 2.5em;
  /* text-transform: lowercase; */
}

#navigation li a {
  padding: 20px 0;
}

#mid {
  background: #fff url(images/bg-vitpixel.png) repeat;
  width: 100%;
}

#mid-inner {
  margin: 0 auto;
  width: 940px;
  background: #fff;
  text-align: left;
}

#content-primary {
  float: right;
  margin: 12px 24px;
  width: 540px;
  font-size: 1em;
}

#content-primary p,
#content-secondary p {
  padding-bottom: 1em;
}

#content-primary img {
  float: left;
  margin: 8px 18px 8px -80px;
  padding: 3px;
  border: 3px solid #eee;
  background: #fff;

  /*IE6 synlighetsfix*/
  position: relative;
}

#content-secondary {
  float: left;
  margin: 12px 0;
  width: 190px;
  color: #666;
}

#footer,
.push {
  height: 170px;
}

#footer {
  clear: right;
  background: #fff url(images/bg-footer.png) bottom repeat-x;
  font-size: 9px;
  line-height: 1.5em;
  /*text-shadow: 1px 1px 1px #333;*/
  color: #efefef;
}

#footer p {
  color: #baa;
  width: 960px;
  margin: auto;
  padding: 80px 24px 0 24px;
  text-align: center;
}

#footer a:link,
#footer a:visited {
  color: #caa;
  text-decoration: underline;
}

#footer a:hover {
  color: #a46;
}

.cglogo {
  background: url(http://codegravity.se/images/codegravity-logo.png) no-repeat;
  display: inline;
  height: 16px;
  width: 60px;
  margin: -10px 225px 0 0;
  float: right;
}

.home {
  height: 130px;
  display: block;
}

.clear {
  clear: both;
}

/* Captions & aligment */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
/* End captions & aligment */

/* kontaktform */
#wpcf {
  float: left;
  width: 420px;
}
#wpcf label {
  display: block;
  margin: 0.5em 0 0 0;
}
#wpcf_msg {
  margin: 0;
}
