/*
 * Theme Name: Apide
 * Theme URI: http://apide.com/
 * Description: WordPress theme for apide.com
 * Author: Apide ApS
 * Version: 0.2
 */


/* Reset default browser CSS.
 * Based on work by Eric Meyer.
 * http://meyerweb.com/eric/tools/css/reset/index.html
 * ----------------------------------------------------------------------
 */
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: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

/* Fonts 
 * Kontrapunkt is available for download at http://kontrapunkt.dk/
 * ----------------------------------------------------------------------
 */
@font-face {
  font-family: 'KontrapunktLight';
  src: url('fonts/Kontrapunkt-Light.ttf');
}

@font-face {
  font-family: 'KontrapunktItalic';
  src: url('fonts/Kontrapunkt-LightItalic.ttf');
}

@font-face {
  font-family: 'KontrapunktBold';
  src: url('fonts/Kontrapunkt-Bold.ttf');
}
/* End of Fonts */

/* General */
body {
  padding: 16px;
  padding-top: 0px;
  font-family: "Lucida Sans Unicode","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;
  font-size: 13px;
  font-weight: normal;
  font-style: normal;
  background-color: #ffffff;
  color: #686868;
}

a {
  color: #266baf;
  text-decoration: none;
}

a.inherit {
  color: inherit;
}

a.inherit:hover, a:hover {
  color: #266baf;
  text-decoration: underline;
}

.bold {
  font-weight: bold;
}

.emph {
  font-style: italic;
}

.apide {
  color: #ffc31f;
  font-family: "KontrapunktLight";
}

.break {
  clear: both;
}

img.alignleft,
.left {
  float: left;
}

img.alignright,
.right {
  float: right;
}

img.aligncenter {
  margin: 0 auto;
}

.column img {
  margin-bottom: 16px;
}

.bar {
  border-top: 1px solid #ffc31f;
  clear: both;
}

.upcase {
  text-transform: uppercase;
}

ul {
  list-style-image: url(images/bullet.png);
  margin-left: 32px;
  margin-bottom: 16px;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 32px;
}

/* End of General */

/* Wrapper */
#wrapper {
  width: 940px;
  margin: 0 auto;
}
/* End of Wrapper */

/* Header */
#header {
}

#header .navigation {
  float: left;
  vertical-align: baseline;
  padding-top: 27px;
}

#header .navigation ul {
  list-style: none;
  margin: 0;
}

#header .navigation ul li {
  border-right: 2px solid #ffc31f;
  display: inline;
  padding: 0 5px;
  list-style-type: none;
}

#header .navigation ul li.last {
  border-right: none;
}

#header .navigation ul li a {
  text-decoration: none;
  color: inherit;
}

#header .navigation ul li a:hover {
  text-decoration: underline;
  color: inherit;
}

#header .navigation ul li.current-menu-item a,
#header .navigation ul li.current-page-ancestor a,
#header .navigation ul li.current-post-ancestor a {
  color: #ffc31f;
}

#header .logo {
  float: right;
}
/* End of Header */

/* Footer */
#footer {
  clear: both;
  width: 100%;
  border-top: 1px solid #ffc31f;
  font-size: 90%;
  font-style: normal;
  margin: 16px 0;    
  padding-top: 5px;
}

/* End of Footer */

/* Content */
#content {
  width: 704px;
  float: left;
}
/* End of Content */

/* Search */
#search {
  height: 26px;
  border-top: 1px solid #ffc31f;
  border-bottom: 1px solid #ffc31f;
  margin-bottom: 5px;
  padding: 5px;
  padding-top: 14px;
}

#searchform {
  position: relative;
  display: block;
  border: 1px solid #ffc31f;
}

#searchform input[type=text] {
  height: 16px;
  color: #797979;
  border: none;
}

#searchform input[type=text]:focus {
  color: #686868;
}

#searchform input[type=submit] {
  height: 16px;
  width: 16px;
  border: none;
  background-color: transparent;
  background-image: url(images/search.png);
  cursor: pointer;
  position: absolute;
  top: 2px;
  right: 3px;
}

/* End of Search */

/* Sidebar */
#sidebar {
  width: 224px;
  float: right;
}




#sidebar img.attachment-post-thumbnail {
  margin: 0px;
  margin-bottom: 16px;
}

#sidebar .entry-author {
  margin-top: 0px;
}

#sidebar .entry-utility {
  margin-bottom: 16px;
}

#sidebar ul.menu {
 margin-top: 15px;
  list-style: none;
  margin-left: 0px;
}

#sidebar ul.menu ul.sub-menu {
  list-style: none;
  margin-left: 16px;
}

#sidebar ul.menu li.menu-item a {
  color: inherit;
}

#sidebar ul.menu li.current_page_item ul li a {
  color: inherit;
}

#sidebar ul.menu li.current_page_item a,
#sidebar ul.menu ul.sub-menu li.current_page_item a {
  color: #ffc31f;
}

/* End of Sidebar */

/* Post */
h1 {
  border-top: 1px solid #ffc31f;
  border-bottom: 1px solid #ffc31f;
  height: 45px;
  margin-bottom: 16px;
  font-family: "KontrapunktLight", Georgia, "Times New Roman", serif;
  font-weight: normal;
  font-size: 275%;
  color: #686868;
}

h2 {
  font-size: 125%;
  font-weight: bold;
  font-family: "KontrapunktBold", Georgia, "Times New Roman", serif;
}

h3 {
  font-size: 110%;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 5px;
  font-family: "KontrapunktBold", Georgia, "Times New Roman", serif;
}

h3.first {
  margin-top: 0px;
}

div.entry-content p {
  margin-bottom: 16px;
}

div.entry-content .column {
  float: left;
  margin-right: 16px;
  margin-bottom: 16px;
  width: 344px;
}

.entry-title {
  margin-bottom: 5px;
}

.entry-title a {
  color: inherit;
}

.entry-author {
  font-style: italic;
  font-size: 90%;
  margin-top: 16px;
}

.entry-summary {
  font-size: 90%;
}

.entry-utility {
  font-size: 75%;
  margin-top: 5px;
}

#content.tags .post,
#content.search .post,
#content.category .post {
  float: left;
  width: 224px;
  margin-right: 16px;
  margin-bottom: 16px;
}
/* End of Post */

/* Profile */
.profile {
  float: left;
  width: 224px;
  margin-right: 16px;
}

.profile.last {
  float: right;
  margin-right: 0px;
}
/* End of Profile */


/* Slideshow */
#slideshow {
  position: relative;
  height: 396px;
  margin-bottom: 16px;
}

#slideshow img {
  position:absolute;
  top: 0;
  left: 0;
  z-index: 8;
  margin: 0;
}

#slideshow img.active {
  z-index: 10;
}

#slideshow img.last-active {
  z-index: 9;
}

/* End of Slideshow */

/* Show cases */
#showcases {
  height: 396px;
  margin-bottom: 16px;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}

#showcases div.post {
  margin: 0;
  margin-bottom: 9px;
  height: 126px;
  position: absolute;
  top: 0;
  left: 0;
}

#showcases div.post h2.entry-title {
  background-color: #686868;
  opacity: 0.8;
  color: white;
  padding: 5px;
  font-size: 100%;
  margin-top: -50px;
  /* IE8 and IE7 opacity hack! */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}

#showcases div.post a img {
  margin-top: 0px;
  margin-bottom: 0px;
}
/* End of Show cases */

/* Related */
#related {
  height: 126px;
  margin-bottom: 16px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

#related img.banner {
  z-index: 11;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

#related div.post {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  height: 126px;
}

#related div.post.active {
  z-index: 10;
}

#related div.post.last-active {
  z-index: 9;
}

#related div.post h2.entry-title {
  background-color: #686868;
  opacity: 0.8;
  color: white;
  padding: 5px;
  font-size: 100%;
  margin-top: -65px;
  /* IE8 and IE7 opacity hack! */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
}
/* End of Related */

/* Contact */
.contact-button {
  position: relative;
  height: 50px;
  font-family: "KontrapunktBold", Georgia, "Times News Roman", serif;
  font-weight: bold;
  font-size: 125%;
  background-color: #ffc31f;
  border: 1px solid #ffc31f;
}

.contact-button span {
  position: absolute;
  top: 15px;
  left: 55px;
}

.contact-button img {
  margin: 2px;
  float: left;
}


#sidebar .contact {
  background-color: #ffc31f;
  border: 1px solid #ffc31f;
  padding: 3px;
  clear: both;
}

#sidebar .contact-response {
  color: white;
  border: 1px solid #0a6512;
  background-color: #3d8c45;
  padding: 3px;
  clear: both;
}

.contact-form input[type=text],
.contact-form textarea {
  width: 210px;
  font-family: inherit;
  font-size: inherit;
}

.contact-form input[type=submit] {
  float: right;
  background-image: url(images/button.png);
  border: none;
  font-weight: bold;
  font-family: "KontrapunktBold", Georgia, "Times New Roman", sans;
}
/* End of Contact */

#tagcloud {
  padding: 5px;
}

