/*
Theme: Fewbytes (Compact)
Simplified and optimized CSS
*/

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background: #fff;
  color: #3a3a3a;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  height: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  clear: both;
  font-family: "Open Sans", Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

h1 { font-size: 1.250em; }
h2 { font-size: 1.125em; }
h3 { font-size: 1em; }
h4 { font-size: 0.875em; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-bottom: 20px;
}

p { margin-bottom: 1.5em; }
strong { font-weight: bold; }
em { font-style: italic; }

blockquote {
  margin: 0 1.5em;
}

blockquote p {
  font-size: 1.250em;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  padding: 20px 0;
  opacity: 0.95;
}

blockquote > div.citation {
  padding-bottom: 20px;
}

/* Links */
a {
  color: #5f5f5f;
  text-decoration: none;
}

a:visited { color: #3a3a3a; }
a:hover, a:focus, a:active { color: #3a3a3a; }

/* Images & Media */
img {
  height: auto;
  max-width: 100%;
}

/* Layout */
.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 50px;
}

.content-area {
  padding-top: 50px;
}

.page .content-area,
.error404 .content-area {
  padding-top: 120px;
}

.page .entry-content,
.error404 .entry-content {
  margin-bottom: 70px;
}

/* Header */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #dcdcdc;
  z-index: 30;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 50px;
  height: 70px;
  box-sizing: border-box;
}

.header-inside {
  display: table;
  height: 100%;
  width: 100%;
}

.logo {
  display: table-cell;
  vertical-align: middle;
}
.logo img {
  max-height: 80px;
}


/* Navigation */
.main-navigation {
  display: block;
  float: right;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.688em;
  padding-top: 27px;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  float: left;
  position: relative;
  margin-left: 20px;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.main-navigation li a:hover {
  opacity: 0.7;
}

/* Mobile menu */
.menu-toggle {
  display: none;
}

/* Blog & Posts */
.post {
  padding: 70px 0;
}

.entry-title {
  font-family: "Open Sans", Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #000;
  text-align: center;
  margin-bottom: 27px;
  font-size: 1.25em;
}

.entry-title a {
  color: #000;
  text-decoration: none;
}

.entry-title:after {
  content: "";
  height: 2px;
  width: 50px;
  background: black;
  display: block;
  margin: 20px auto 0;
}

.entry-content {
  font-family: "Gentium Basic", Times, serif;
}

.entry-meta {
  text-align: center;
}

.entry-author,
.posted-on {
  font-size: 0.688em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.odd {
  background: #f5f5f5;
  position: relative;
  z-index: 10;
}

.even {
  background: white;
  position: relative;
  z-index: 10;
}

.attachment-post-thumbnail {
  margin: 0 auto 35px;
  transition: opacity 0.7s;
  display: block;
}

.attachment-post-thumbnail:hover {
  opacity: 0.7;
}

.read-more {
  padding: 20px;
  border: 1px solid black;
  text-align: center;
  margin: 0 auto;
  display: block;
  width: 200px;
  transition: all 0.5s ease;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.750em;
}

.read-more:hover {
  background: #cdcdcd;
  border: 1px solid #cdcdcd;
  color: #565656;
}

/* Homepage */
.home .entry-content {
  padding: 0 100px;
  margin-bottom: 20px;
  text-align: center;
}

/* Archive */
.archive .page-header {
  text-align: center;
  margin-top: 80px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1em;
}

.archive .entry-content {
  padding: 0 100px;
  margin-bottom: 20px;
}

.archive .entry-content p {
  text-align: center;
}

/* Footer */
.site-info {
  text-align: center;
  font-size: 0.750em;
  padding: 20px 0;
  opacity: 0.4;
}

/* Utility Classes */
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Forms */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: .6em 1em .4em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  padding: 3px;
}

textarea {
  width: 100%;
  overflow: auto;
}

/* Media Queries */
@media screen and (max-width: 767px) {
  .container {
    padding: 0 20px;
  }
  
  .site-header {
    padding: 0 20px;
    position: relative !important;
  }
  
  .menu-toggle {
    display: block;
    float: right;
    width: 20px;
    height: 20px;
    background: url("/img/menu.svg") center no-repeat;
    text-indent: -99999px;
    overflow: hidden;
    border: none;
    box-shadow: none;
    outline: none;
    opacity: 0.25;
  }
  
  .main-navigation ul {
    display: none;
  }
  
  .main-navigation.toggled .nav-menu {
    display: block;
    position: absolute;
    left: 0;
    top: 70px;
    background: white;
    width: 100%;
    padding: 15px 30px;
    border-bottom: 1px solid #dcdcdc;
  }
  
  .main-navigation li {
    float: none;
    width: 100%;
    display: block;
    margin-left: 0;
  }
  
  .content-area,
  .page .content-area,
  .error404 .content-area {
    padding-top: 50px;
  }
  
  .post {
    padding: 50px 0;
  }
  
  .home .entry-content,
  .archive .entry-content {
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .entry-title {
    font-size: 1em;
  }
  
  .home .entry-content,
  .archive .entry-content {
    padding: 0;
  }
  
  .content-area,
  .page .content-area,
  .error404 .content-area {
    padding-top: 30px;
  }
}
