/*
  Theme Name: Rockson
  Author: Erik Östling
  Author URI: http://erikostling.se
  Version: 1.0
*/

@import url("css/reset.css");
@import url("css/grid.css");
@import url("css/about.css");
@import url("css/blog.css");
@import url("css/contact.css");
@import url("css/gallery.css");
@import url("css/home.css");
@import url("css/rockson_gallery.css");
@import url("css/sub_gallery.css");

body {
  background: #f5f5f5;
  color: #545454;
  font-family: "Times", "Times new roman";
  font-size: 14px;
}
  body.loading {
    background: #f5f5f5 url("/wordpress/wp-content/themes/rockson/images/loading.gif") fixed no-repeat center center;
  }

a {
  color: #545454;
  text-decoration: none;
}

h1 {
  letter-spacing: 1px;
}

/* HEADER */

body > header {
  background: #fff;
  font-family: "Helvetica", "Arial";
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
  body > header > div {
  }
    body > header div > div {
      border: solid #e5e5e5;
      border-width: 1px 0;
      color: #7f7f7f;
      font-size: 14px;
      line-height: 20px;
      height: 92px;
    }
      body > header div div h2 {
        font-style: italic;
        font-weight: normal;
        padding-left: 5px;
        padding-top: 5px;
        text-transform: uppercase;
      }
      body > header div div ul {
        list-style: none;
      }
        body > header div div ul.has_expanded span {
          color: #ddd;
        }
        body > header div div ul li {
          cursor: pointer;
        }
          body > header div div ul li a {
            color: #7f7f7f;
            display: block;
            padding-left: 5px;
          }
            body > header div div ul li span {
              cursor: pointer;
              display: block;
              padding-left: 5px;
            }
              body > header div div ul li span:hover {
                background: #7f7f7f;
                color: #fff!important;
              }
            body > header div div ul li .dropdown {
              display: none;
            }
          body > header div div ul li.expanded span {
            color: #7f7f7f;
          }
          body > header div div ul li.expanded .dropdown {
            background: url("images/drop_down_bg.png") no-repeat center bottom;
            position: absolute;
            display: block;
            left: -16px;
            top: 100%;
            padding: 0 16px 28px 16px;
            width: 168px;
            z-index: 1000;
          }
            body > header div div ul li.expanded .dropdown.wide {
              background: url("images/drop_down_wide_bg.png") no-repeat center bottom;
              overflow: hidden;
              width: 336px;
            }
              body > header div div ul li.expanded .dropdown.wide ul {
                float: left;
                width: 50%;
              }
                body > header div div ul li.expanded .dropdown.wide ul li.dimmed {
                  opacity: 0.25;
                }
            body > header div div ul li.expanded ul li {
              padding: 0;
            }
            body > header div div ul li.expanded ul li a {
              display: block;
              padding: 2px 10px!important;
            }
              body > header li a:hover {
                background: #7f7f7f;
                color: #fff!important;
              }
    body > header div div.menu_3 {
      line-height: 30px;
      text-transform: uppercase;
    }
      body > header div div.menu_3 li {
        border-bottom: 1px solid #e5e5e5;
      }
        body > header div div.menu_3 li:last-child {
          border: none;
        }

header .selected {
  color: #000;
}

body#about > header a.about,
body#blog > header a.blog,
body#contact > header a.contact {
  color: #000;
}

/* MENU BUTTON */
/*
.menu_button {
  background: url("images/menu_button.png") no-repeat top right;
  cursor: pointer;
  height: 52px;
  margin: 0 auto;
  position: fixed;
  right: 30px;
  width: 107px;
  z-index: 1000;
}
*/
/* FOOTER */

body > footer {
  clear: both;
  position: relative;
  overflow: hidden;
  font-family: "Helvetica", "Arial";
  padding-bottom: 32px;
  top: 154px;
}
    body > footer .social_networks {
      margin: 0 auto;
      overflow: hidden;
      width: 92px;
    }
      body > footer .social_networks a {
        background: url("/wordpress/wp-content/themes/rockson/images/social_networks.png") no-repeat 0 0;
        display: block;
        float: left;
        height: 26px;
        margin: 10px;
        text-indent: -9999px;
        width: 26px;
      }
      body > footer .social_networks a.twitter {
        background-position: -26px 0;
      }
  body > footer .copyright {
    color: #a4a4a4;
    font-size: 10px;
    margin-top: 30px;
    text-align: center;
  }
  
#content {
  position: relative;
  top: 104px;
  padding-top: 30px;
}

/* Infinite scroll */

#infscr-loading {
  text-align: center;
  margin-bottom: 30px;
}

.pagination {
  display: none;
}

/* Anchor */
.anchor {
  display: block;
  height: 1px;
  margin-top: -1px;
  overflow: hidden;
  position: relative;
  top: -170px;
  width: 1px;
}
/*
@media screen and (max-height : 768px) {
  body > header {
    padding: 10px 0;
  }
  
  #content {
    padding-top: 142px;
  }
}
*/
/* Non fixed header */
/*
@media screen and (max-width : 640px) {
  body > header {
    height: 94px;
    position: static;
  }

  #content {
      padding-top: 30px;
  }
}
*/
body.is_mobile > header {
  height: 94px;
  position: static;
}
  body.is_mobile #content {
    position: static;
  }
  
.clear {
  clear: both;
  height: 1px;
  overflow: hidden;
  margin-top: -1px;
}