/*
(c) Copyright 2007 ROBO Design
http://www.robodesign.ro/
*/

@media screen and (min-width: 700px), projection {
  /* Blog side panel */

  #skip-blog-side-panel {
    display: none;
  }

  .google_ads {
    text-align: center;
  }

  #blog-side-panel {
    float: right;
    width: 200px;
    background: white;
    z-index: 9000;
    position: relative;
    padding-left: 20px;
  }

  #blog-side-panel p {
    text-indent: 0;
  }

  #blog-side-panel form {
    margin: 15px 0;
    display: block;
  }

  #blog-side-panel form p {
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #blog-side-panel form p:first-child {
    position: relative;
    font-weight: bold;
    font-size: 1.1em;
  }

  #search-form label {
    display: block;
  }

  #search-field {
    width: 68%;
  }

  #newsletter-field {
    width: 100%;
  }

  #blog-side-panel .wf2_suggestions {
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 220px;
  }

  #blog-side-panel .wf2_suggestions p {
    text-align: left !important;
    font-size: 0.9em !important;
  }

  #blog-side-panel .wf2_suggestion_label {
    font-weight: normal !important;
  }

  #blog-atom {
    padding: 0;
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    overflow: hidden;
    text-indent: 20px;
  }

  #blog-atom a {
    width: 16px;
    height: 0;
    overflow: hidden;
    padding-top: 16px !important;
    background: url("../images/feed-icon-16x16.png") no-repeat !important;
    text-indent: 20px;
  }

  .blog-mini-panel {
    position: relative;
    margin: 20px 0;
    border: 1px solid #ede8d9;
    border-left-color: #e8d3c8;
    border-right-color: #dcdcdc;
    font-size: 0.9em;
  }

  .blog-mini-panel h2 {
    background: #e8d2a8 url("../images/blog/sidebar-title.png") repeat-x;
    border-bottom: 1px solid #000;
    font-size: 1.2em;
    margin: 0;
    padding: 10px 0 0 7px;
    line-height: 0.8em;
    text-shadow: 0px 0px 5px #b46e1e;
    color: #5a3c00;
  }

  .blog-mini-panel ol,
  .blog-mini-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eddcd3;
  }

  .blog-mini-panel li {
    margin: 0;
    text-align: left;
  }

  .blog-mini-panel li a,
  #blog-mini-archive a {
    display: block;
    text-decoration: none;
    padding: 6px;
    background: #faf5f3 url("../images/blog/sidebar-item.png") repeat-x;
  }

  .blog-img-panel a {
    display: block;
    text-decoration: none;
    padding: 10px 0;
    background: #faf5f3 url("../images/blog/sidebar-item.png") repeat-x;
  }

  .blog-img-panel img {
    display: block;
    max-width: 100%;
  }

  .blog-img-panel a:hover,
  .blog-img-panel a:focus,
  .blog-mini-panel li a:hover,
  #blog-mini-archive a:hover,
  .blog-mini-panel li a:focus,
  #blog-mini-archive a:focus {
    background: #f8f1ed url("../images/blog/sidebar-item-hover.png") repeat-x;
  }

  #blog-mini-archive p {
    text-align: right;
    font-weight: bold;
    margin: 0;
  }

  #blog-mini-archive {
    margin-top: 0;
  }

  #blog-side-back {
    font-size: 0.85em;
    margin: 0;
  }

  #blog-side-back a {
    text-decoration: none;
  }

  #blog-side-back a:hover,
  #blog-side-back a:focus {
    text-decoration: overline;
  }

  #blog-popular-tags p {
    text-align: left;
    background: #faf5f3 url("../images/blog/sidebar-item.png") repeat-x;
    margin: 0;
    padding: 6px;
  }

  /* Blog content */

  #blog-content {
    margin-right: 220px;
    border-right: 1px solid #000;
    padding-right: 20px;
    position: relative;
  }

  .blog-post-title {
    background: url("../images/blog/title.png") bottom left repeat-x;
    padding-bottom: 13px;
    border: 0;
  }

  .blog-post-title a {
    display: block;
    margin-right: 8.5em;
    text-decoration: none;
    text-shadow: 0px 3px 5px #aaaa46;
  }

  .blog-post-date {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
    color: #773;
  }

  .blog-post-date span {
    display: none;
  }

  .blog-post-content .blog-post-date {
    right: 0;
  }

  .blog-post-content {
    position: relative;
  }

  #blog-back {
    text-align: center;
    text-indent: 0;
    position: absolute;
    top: -1.1em;
    left: 0;
    width: 100%;
    margin: 0;
  }

  #blog-back a {
    color: #cc936f;
  }

  #blog-back a:hover,
  #blog-back a:focus {
    color: #000;
  }

  #blog-nav {
    border-top: 1px solid #cc936f;
    margin: 20px 0 30px 0;
    background: url("../images/blog/nav.png") repeat-x;
    padding: 5px;
    position: relative;
    color: #cc936f;
  }

  #blog-prevp,
  #blog-nextp {
    margin: 0;
    text-indent: 0;
    width: 47%;
  }

  #blog-nav a {
    display: block;
    text-decoration: none;
  }

  #blog-prevp a:hover,
  #blog-prevp a:focus,
  #blog-nextp a:hover,
  #blog-nextp a:focus {
    text-decoration: underline;
  }

  #blog-nextp {
    position: absolute;
    top: 5px;
    right: 5px;
    text-align: right;
  }

  .blog-post-tags {
    text-align: right;
    font-size: 0.8em;
  }

  /* Blog archive */

  #blog-archive {
    position: relative;
    background: #fff3f3;
    border-style: solid;
    border-width: 2px 1px 1px 1px;
    border-color: #000 #ccc #ccc #ccc;
  }

  #blog-archive ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #blog-archive li {
    position: relative;
    border-bottom: 2px solid #e6dbdb;
    padding: 7px;
    margin: 0;
  }

  #blog-archive li:hover {
    background: #f9eded;
  }

  #blog-archive a {
    text-decoration: none;
  }

  #blog-archive li span {
    position: absolute;
    right: 7px;
    color: #773;
    font-size: 0.8em;
  }

  #blog-archive-back {
    margin: 0;
    padding: 0;
    text-indent: 0;
  }

  #blog-archive-back a {
    text-decoration: none;
  }

  #blog-archive-back a:hover,
  #blog-archive-back a:focus {
    color: #773;
    font-weight: bold;
  }
}

/* The blog pages */

@media screen and (max-width: 700px) {
  #skip-blog-side-panel {
    text-align: center;
    background: #f5e9cc;
    padding: 3px 0;
    margin: 5px 0;
  }

  /* Layout styling */

  #skipnav,
  #skipnav a {
    color: #000;
  }

  #blog-side-panel p {
    text-indent: 0;
  }

  #blog-side-panel form p {
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #blog-side-panel label {
    font-weight: bold;
  }

  #blog-side-panel input[type="text"],
  #blog-side-panel input[type="email"] {
    width: 98%;
  }

  #blog-side-panel #search-form p + p {
    text-align: right;
  }

  #blog-atom {
    padding: 0;
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    overflow: hidden;
    text-indent: 20px;
  }

  #blog-atom a {
    display: block;
    width: 16px;
    height: 0;
    overflow: hidden;
    padding-top: 16px !important;
    background: url("../images/feed-icon-16x16.png") no-repeat !important;
    text-indent: 20px;
  }

  .blog-mini-panel {
    position: relative;
    margin: 10px 0;
    border: 1px solid #ede8d9;
    border-left-color: #e8d3c8;
    border-right-color: #dcdcdc;
  }

  .blog-mini-panel h2 {
    background: #e8d2a8 url("../images/blog/sidebar-title.png") repeat-x;
    border-bottom: 1px solid #000;
    font-size: 1.2em;
    margin: 0;
    padding: 5px;
    line-height: 0.8em;
    text-shadow: 0px 0px 5px #b46e1e;
    color: #5a3c00;
  }

  .blog-mini-panel ol,
  .blog-mini-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eddcd3;
  }

  .blog-mini-panel li {
    margin: 0;
    text-align: left;
    border-bottom: 1px solid #ddccc3;
  }

  .blog-mini-panel li a,
  #blog-mini-archive a {
    display: block;
    text-decoration: none;
    padding: 4px;
    background: #faf5f3 url("../images/blog/sidebar-item.png") repeat-x;
  }

  .blog-mini-panel li a:hover,
  #blog-mini-archive a:hover,
  .blog-mini-panel li a:focus,
  #blog-mini-archive a:focus {
    background: #f8f1ed url("../images/blog/sidebar-item-hover.png") repeat-x;
  }

  #blog-mini-archive p {
    text-align: right;
    font-weight: bold;
    margin: 0;
  }

  /* Blog content */

  #blog-content {
    position: relative;
  }

  .blog-post-title a {
    display: block;
    background: #f9f3ea;
    text-decoration: none;
    text-shadow: 0px 3px 5px #aaaa46;
  }

  .blog-post-date {
    margin: 0 0 5px 0;
    padding: 0;
    color: #773;
    text-align: right;
  }

  .blog-post-date span {
    display: none;
  }

  .blog-post-content {
    position: relative;
  }

  #blog-back {
    text-align: center;
    text-indent: 0;
    margin: 10px 0 0 0;
  }

  #blog-back a {
    color: #cc936f;
  }

  #blog-back a:hover,
  #blog-back a:focus {
    color: #000;
  }

  #blog-nav {
    color: #cc936f;
    margin-bottom: 15px;
  }

  #blog-prevp,
  #blog-nextp {
    text-indent: 0;
    text-align: left;
  }

  #blog-nav a {
    display: block;
    text-decoration: none;
  }

  #blog-prevp a:hover,
  #blog-prevp a:focus,
  #blog-nextp a:hover,
  #blog-nextp a:focus {
    text-decoration: underline;
  }

  #blog-prevp {
    border-top: 1px solid #cc936f;
    margin-bottom: 5px;
  }

  /* Blog archive */

  #blog-archive {
    background: #fff3f3;
    border: 1px solid #ccc;
  }

  #blog-archive ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #blog-archive li {
    border-bottom: 2px solid #e6dbdb;
    padding: 4px;
    margin: 0;
    text-align: left;
  }

  #blog-archive li:hover {
    background: #f9eded;
  }

  #blog-archive a {
    text-decoration: none;
  }

  #blog-archive li span {
    color: #773;
    font-size: 0.9em;
  }

  #blog-archive-back {
    margin: 5px 0;
    padding: 0;
    text-indent: 0;
    text-align: center;
  }

  #blog-archive-back a {
    text-decoration: none;
  }

  #blog-archive-back a:hover,
  #blog-archive-back a:focus {
    color: #773;
    font-weight: bold;
  }

  #blog-side-panel input[type="text"],
  #blog-side-panel input[type="email"] {
    width: 55%;
  }
}
