/*
Theme Name: TechRocket
Theme URI: http://www.techrocket.com/blog
Author: Matt's Corner
Author URI: http://mattscorner.io
Version: 1.0.0

TechRocket WordPress Theme © 2016 Matt's Corner & TechRocket
*/

* {
    margin: 0;
}
html,
body,
* {
    font-family: "Effra";
    box-sizing: border-box;
    –webkit-overflow-scrolling: touch;
}
body {
    margin: 71px 0 0 0;
    font-size: 16px;
    color: #585858;
    overflow-x: hidden;
}
#wrapper {
  overflow-x: hidden;
}
body.page:not(.parent-pageid-2) {
    background-image: url('/wp-content/uploads/2016/02/bg-main-pages.png');
}
body.mobile-menu-active {
  position: fixed;
}
p {
    margin: 10px 0;
    line-height: 24px;
}
#header {
    background-color: #455660;
    overflow: hidden;
    padding: 5px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5;
}
.mobile-nav {
    display: none;
    background-color: #455660;
    height: 58px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 5;
}
.mobile-nav .hamburger {
    position: absolute;
}
.mobile-nav #site-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 0 0;
}
.promo {
    background-color: #B5F0F4;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.promo .icon img {
    margin-right: 15px;
}
.promo .promo-message {
    font-family: "Open Sans";
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 2.4rem;
}
.mobile-menu {
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    position: fixed;
    height: calc(100vh - 58px);
    overflow-y: scroll;
    top: 58px;
    background-color: #455660;
    width: 100vw;
    z-index: 5;
    display: none;
}
.header-wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-wrapper .main-nav {
    display: flex;
    align-items: center;
}
.header-cta {
  display: flex;
  align-items: center;
}
.header-cta form {
  margin: 0 5px;
}
.header-cta form > .lower {
  text-transform: capitalize;
}
ul#menu-mobile {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul#menu-mobile li a {
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px dashed rgba(255, 255, 255, .1);
    padding: 15px 10px;
}
ul#menu-mobile li a:hover {
    cursor: pointer;
    background-color: #576770;
}
ul#menu-mobile li:nth-child(1) a,
ul#menu-mobile li:nth-child(2) a,
ul#menu-mobile li:nth-child(3) a {
    text-align: left;
    background-color: #38464e;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    align-items: center;
}
ul#menu-mobile li:nth-child(1):hover a,
ul#menu-mobile li:nth-child(2):hover a,
ul#menu-mobile li:nth-child(3):hover a {
    background-color: #455660;
}
ul#menu-mobile li a {
    color: #afb4b7;
}
ul#menu-mobile li a:hover {
    color: #6da100;
}
h2 {
    color: #455660;
    font-family: "Roboto Slab";
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: 400;
}
h3 {
    font-size: 1.25rem;
    line-height: 1.8rem;
    font-weight: 400;
    color: #000;
    margin: 0;
}
input[type=text],
input[type=email],
input[type=tel],
textarea {
    -webkit-appearance: none;
    border-radius: 5px;
    border: 1px solid #ebebeb;
    font-size: 1rem;
    box-shadow: inset 0 1px 2px rgba(153, 153, 153, 0.2);
    line-height: 1.5;
    outline: none;
    padding: 5px 10px;
    max-width: 450px;
    width: 100%;
    margin-top: 5px;
    outline: none;
    color: #999;
}
input[type="text"]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
    border: 1px solid #88cc00;
    box-shadow: 0px 0px 2px #88cc00;
}
::-webkit-input-placeholder {
    color: #BFBFBF;
    font-style: italic;
}
.contact-info a {
    color: #fff;
    text-decoration: underline;
}
input[type="text"]#s {
    width: 250px;
    background-image: url(/wp-content/themes/techrocket/img/search.svg);
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 10px 8px;
    padding-left: 35px;
}
textarea {
    height: 150px;
}
input[type=submit] {
    -webkit-appearance: none;
    background: #46565F;
    color: #999;
    border-radius: 3px;
    border: 2px solid transparent;
    color: white;
    display: inline-block;
    font-size: .85rem;
    font-weight: 500;
    height: 40px;
    letter-spacing: 0.0625em;
    padding: 8px 20px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 150ms ease-out, color 150ms ease-out, border 150ms ease-out;
    vertical-align: middle;
    white-space: nowrap;
    outline: none;
    transition: opacity .2s ease;
}
input[type=submit]:hover {
    opacity: .7;
    cursor: pointer;
}
input[type=submit].secondary {
    background-color: #94D500;
    border-radius: 100px;
}
input[type=submit].third {
  border: 2px solid #afb4b7;
  color: #afb4b7;
  background: transparent;
  border-radius: 100px;
  transition: border-color .2s ease,
              color .2s ease,
              background-color .2s ease;
}
input[type=submit].third:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, .08);
  color: #fff;
  opacity: 1;
}
form {
    margin-left: 25px;
}
form p {
    color: #999999;
    font-family: "effra", "Avenir", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
}
.select-field span select,
#category-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 6px;
    line-height: 1.5;
    margin: 0;
    padding: 5px 10px;
    width: 100%;
    font-size: 1rem;
    color: #999;
    outline: none;
}
.select-field,
#category-select {
    background-image: linear-gradient(#fff, #f7f7f7);
    border-radius: 6px;
    box-shadow: 0 0 0 1px #e6e6e6;
    display: block;
    position: relative;
    width: 200px;
    max-width: 450px;
    margin-top: 5px;
}
.select-field:before,
#category-select:before {
    background-image: linear-gradient(135deg, rgba(247, 247, 247, 0), #f7f7f7 75%);
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    bottom: 2px;
    content: "";
    pointer-events: none;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 4em;
    z-index: 1;
}
.select-field:after,
#category-select:after {
    background-image: url(/wp-content/themes/techrocket/img/dropdown.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    content: "";
    height: 20px;
    pointer-events: none;
    position: absolute;
    right: 0.75em;
    top: 16px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 20px;
    z-index: 2;
}
.cover-hero-simple {
    font-size: 1.9rem;
    font-weight: 300;
    text-align: center;
    padding: 20px 20px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}
.hero,
.hero-custom,
.cover-hero {
    font-size: 1.9rem;
    text-align: center;
    padding: 100px 20px;
    color: #fff;
    background-image: url('/wp-content/uploads/2016/02/cover-bg-home.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.cover-hero.custom {
    background-position: inherit;
}
.cover-hero {
    padding: 50px 20px 100px 20px;
    position: relative;
    height: 360px;
}
.cover-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 0;
}
.hero .message,
.hero-custom .message {
    font-family: "Roboto Slab";
    font-weight: 300;
    max-width: 772px;
    margin: 0 auto;
}
h1.entry-title {
  margin-bottom: 15px;
}
.entry-title.author {
  display: flex;
  align-items: center;
}
.entry-title.author img {
  margin-right: 10px;
  border-radius: 100px;
}
.cover-hero .message {
    position: absolute;
    left: calc(50vw - 250px);
    width: 500px;
    z-index: 2;
    font-size: 2.5rem;
}
.cover-hero .message i {
    display: block;
    font-size: 120px;
    margin-bottom: 10px;
}
a,
a:visited,
a:active {
    color: #6da100;
    text-decoration: none;
}
.content-wrapper,
.page > .entry-content,
article.post,
#comments,
.search #container,
.category #container,
.tag #container,
.author #container {
    max-width: 1000px;
    margin: 30px auto 50px;
}
.search #container,
.category #container,
.tag #container {
    margin-top: 110px;
}
.post > .entry-content {
    max-width: 650px;
    font-family: "Open Sans";
    margin: 15px auto 0 auto;
}
.post > .entry-content p img {
  max-width: 100%;
  height: auto !important;
}
article.post {
    margin-bottom: 30px;
}
ul#menu-main-menu {
    list-style-type: none;
    margin: -10px 0 -10px 15px;
    padding: 0;
    font-size: 1rem;
    height: 81px;
    display: flex;
    align-items: stretch;
}
ul#menu-main-menu > li {
    display: flex;
    align-items: stretch;
    padding: 15px;
}
ul#menu-main-menu > li:hover {
    transition: background-color .2s ease;
    background-color: #576770;
}
ul#menu-main-menu > li > a {
    color: #AFB4B7;
    display: flex;
    align-items: center;
}
ul#menu-main-menu > li.current_page_item:not(.menu-item-home) a,
ul#menu-main-menu > li a:hover {
    color: #88cc00;
}
ul#menu-main-menu > li.menu-item-has-children:hover {
    background-color: #38464e;
}
ul#menu-main-menu > li.menu-item-has-children:after {
    display: flex;
    align-items: center;
    color: #AFB4B7;
    font-family: "FontAwesome";
    content: '\f107';
    padding-left: 8px;
    font-size: 18px;
}
.sub-menu {
    top: 71px;
    left: 0;
    position: fixed;
    background-color: #38464e;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: none;
}
.sub-menu.active {
    display: flex;
    justify-content: center;
}
.sub-menu li {
    display: inline-block;
    width: 300px;
    margin: 0 20px;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
}
.sub-menu li a,
.sub-menu li a:hover {
    text-align: center;
    font-family: "Roboto Slab";
    display: block;
    color: #AFB4B7;
}
.menu-item-106 a,
.menu-item-107 a,
.menu-item-108 a {
    padding: 15px;
    border-radius: 15px;
    transition: background-color .2s ease;
}
.menu-item-106 a:hover,
.menu-item-107 a:hover,
.menu-item-108 a:hover {
    background-color: #455660;
}
.menu-item-106 a:before,
.menu-item-107 a:before,
.menu-item-108 a:before {
    display: block;
    width: 128px;
    height: 128px;
    margin: 0 auto;
}
.menu-item-130 a:before,
.menu-item-131 a:before,
.menu-item-132 a:before {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0 10px 0 0;
}
.menu-item-106 a:before,
.menu-item-130 a:before {
    content: url('/wp-content/themes/techrocket/img/terminal.svg');
}
.menu-item-107 a:before,
.menu-item-131 a:before {
    content: url('/wp-content/themes/techrocket/img/gamepad.svg');
}
.menu-item-108 a:before,
.menu-item-132 a:before {
    content: url('/wp-content/themes/techrocket/img/moleskine.svg');
}
/* Footer details */

.primary-footer {
    width: 100%;
    background-color: #2F3A40;
    padding: 40px 40px 20px 40px;
    color: #fff;
    text-align: center;
    font-size: .75rem;
}
.footer-content {
    margin: 0 auto;
}
.footer-content .copyright {
    color: #93B7CC;
    font-size: .75rem;
    font-weight: 300;
}
.footer-details {
    margin: 0 auto;
    max-width: 1000px;
    display: inline-flex;
    margin-bottom: 40px;
    text-align: left;
}
.footer-details h4 {
    color: #688191;
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 400;
}
.boiler-plate {
    width: 260px;
    border-right: 1px dashed #93B7CC;
    padding-right: 40px;
    display: flex;
    font-size: .8rem;
    align-items: center;
}
.contact-info {
    padding-left: 20px;
}
.contact,
.sales-contact {
    margin-top: 15px;
}
/* Main page listings */

.post-list {
    max-width: 1000px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    align-items: stretch;
}
.one-post-summary,
.course-page-summary {
    background-color: #fff;
}
.one-post-summary .meta,
.course-page-summary {
    margin: 5px 0;
    color: #BFBFBF;
}
.course-page-summary a {
    color: #585858;
}
.one-post-summary,
.course-page-summary {
    color: #585858;
    width: 320px;
    margin: 0 0 20px 0;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 3px;
    font-size: 1rem;
    line-height: 1.3rem;
}
.one-post-summary:nth-child(3n+2),
.course-page-summary:nth-child(3n+2) {
    margin-left: 20px;
    margin-right: 20px;
}
.one-post-summary:hover,
.course-page-summary:hover {
    background-color: #fafafa;
}
.featured-image-tile {
    margin: -15px -15px 10px -15px;
    height: 100px;
    background-size: cover;
    text-align: center;
    background-position: center center;
}
.featured-image-tile > .fa {
    font-size: 60px;
    margin: 0 auto;
    line-height: 100px;
    color: #fff;
}
.filter-zone {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#category-select {
    margin: 0;
}
a .post-summary-info p {
    color: #585858;
}
ul.home-categories {
    list-style-type: none;
    margin: 0;
    padding: 10px 15px;
    background-color: #fff;
}
ul.home-categories li {
    display: inline-block;
}
ul.home-categories li:before {
    content: '\2022';
    color: #999;
    padding-right: 5px;
}
ul.home-categories li a {
    color: #AFB4B7;
}
ul.home-categories li a:hover {
    color: #94D500;
}
/* single post */

.hero-blog {
    height: 400px;
    background-color: #33809c;
}
.featured-image {
    height: 100%;
    background-size: cover;
    background-position: center;
}
article.post {
    background-color: #fff;
    padding: 40px 40px 20px 40px;
    border-radius: 10px;
    margin-top: -200px;
    line-height: 1.5rem;
    border: 1px solid #eee;
}
article.post header {
    text-align: center;
}
article.post header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 3.0rem;
}
.related-list {
    display: flex;
}
.related-item {
    width: 320px;
    height: 200px;
    background-size: cover;
    background-position: center center;
    position: relative;
}
.related-item:nth-child(2) {
    margin: 0 20px;
}
/* single page */

article.page header {
    max-width: 1000px;
    margin: 40px auto;
}
article.page header h1,
.search h1,
.category h1 {
    font-size: 2.5rem;
    /* font-family: "Roboto Slab"; */
    font-weight: 400;
    color: #666666;
}
.search h1,
.category h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.entry-content h2 {
    font-weight: 700;
}
#searchform .screen-reader-text {
    display: none;
}
.header.search {
    display: flex;
    justify-content: space-between;
}
article.page section.entry-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
}
.related-posts {
    max-width: 1000px;
    width: 1000px;
    margin: 0 auto;
}
.title-floater {
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 15px;
}
.title-floater .title {
    margin: 0 auto;
    color: #fff;
}
/* comments */

#comments {
    text-align: center;
}
.comment-form-url { display: none; }
#comments label {
    display: block;
    text-align: left;
    font-size: .8rem;
    max-width: 450px;
    margin: 0 auto;
    color: #ccc;
}
.comments-title {
    font-weight: 300;
    border-top: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
    padding: 12px 0;
}
#comments-list {
    text-align: left;
}
#comments-list ul {
    list-style-type: none;
    margin-left: 0;
    padding: 0;
}
/* bio */

.author-info {
    width: 100%;
    padding: 15px;
    background-color: #FBFBFB;
    border: 1px solid #EDEDED;
    display: flex;
    align-items: center;
    margin-top: 50px;
}
.id-card {
    display: flex;
    align-items: center;
    width: 600px;
    font-size: .8125rem;
    line-height: 1rem;
}
.id-card .profile-pic {
    margin-right: 10px;
}
.job-title {
    display: block;
    font-weight: 700;
}
.bio {
    border-left: 1px solid #ddd;
    padding-left: 20px;
    margin-left: 40px;
    font-size: .8125rem;
    color: #969696;
}
/* newsletter */

.newsletter {
    background-color: #f7f7f7;
    text-align: center;
    padding: 25px 20px;
}
.newsletter-head {
    font-size: 1.25rem;
    color: #46565F;
    line-height: 27px;
    margin-bottom: 10px;
}
.social-links {
    margin-top: 10px;
}
.second-footer-menu,
.first-footer-menu {
    border-right: 1px dashed #93B7CC;
}
#menu-footer-left,
#menu-footer-right {
    text-transform: uppercase;
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: .8rem;
}
#menu-footer-left li,
#menu-footer-right li {
    letter-spacing: 0.0625rem;
}
#menu-footer-left li a,
#menu-footer-right li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
}
#menu-footer-left li a:hover,
#menu-footer-right li a:hover {
    background-color: #344047;
}
#nav-below {
    text-align: center;
}
#nav-below .nav-next,
#nav-below .nav-previous {
    display: inline-block;
    margin: 0 5px;
}
.tag-links {
    display: block;
    margin-top: 10px;
    text-align: center;
}
.tag-links:before {
    font-family: "FontAwesome";
    content: '\f02b';
    padding-right: 5px;
    color: #ccc;
}
#comments-list {
    margin-bottom: 25px;
}
#comments ul li {
    border-bottom: 1px solid #ddd;
    margin: 10px 0 5px;
}
.comment-author cite {
    font-style: normal;
}
.comment-meta a {
    color: #ccc;
    font-size: .8rem;
}
.comment-body p {
    margin-top: 20px;
}
.comment-author img {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 5px;
    border-radius: 100px;
}
.profile-pic img {
  border-radius: 100px;
}
.f-social a {
    padding: 10px;
    border-radius: 100px;
    display: inline-block;
    text-align: center;
    line-height: 28px;
    font-size: 24px;
    height: 48px;
    width: 48px;
    margin: 0 4px;
    color: #2f3a40;
    background-color: #688191;
}
.f-social a:hover {
    background-color: #93B7CC;
    cursor: pointer;
}
@media screen and (max-width: 1024px) {
    .one-post-summary:nth-child(3n+2),
    .course-page-summary:nth-child(3n+2) {
        margin-left: 0px;
        margin-right: 0px;
    }
    .related-posts {
        width: 100%;
    }
    .related-item {
        width: 33%;
    }
    .post-list {
        justify-content: space-between;
    }
    .one-post-summary {
        width: calc(50% - 10px);
    }
    #content {
        margin-left: 20px;
        margin-right: 20px;
    }
    article.post {
        margin: -200px -20px 30px -20px;
        border-radius: 0;
        padding: 40px 15px 20px;
    }
    .hero {
        margin: 0 -20px;
    }
}
@media screen and (max-width: 900px) {
    body {
        margin: 58px 0 0 0;
    }
    .header.search {
      flex-direction: column;
      margin-bottom: 20px;
    }
    .header.search form {
      margin: 0;
      width: 100%;
    }
    .header.search form #s {
      width: 100%;
      max-width: none;
    }
    .promo .promo-message {
      font-size: 1.2rem;
      line-height: 1.5rem;
    }
    .footer-details {
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }
    section.entry-meta { margin-top: 10px; }
    .entry-meta .cat-links {
        display: block;
    }
    .entry-meta .meta-sep {
        display: none;
    }
    .entry-meta .author {
        display: block;
    }
    header#header {
        display: none;
    }
    .mobile-nav {
        display: block;
    }
    .boiler-plate {
        width: 100%;
        border-right: none;
        border-bottom: 1px dashed #3e5b6c;
        padding-bottom: 10px;
    }
    .header-cta {
      flex-direction: column;
      padding: 10px;
    }
    .header-cta form {
      margin: 5px 0;
      width: 100%;
    }
    .header-cta form input[type="submit"] {
      width: 100%;
      display: block;
    }
    .first-footer-menu,
    .second-footer-menu,
    .contact-info {
        width: 32%;
    }
    .contact-info {
        padding-top: 10px;
    }
    .author-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .bio {
        border-left: none;
        margin-left: 0;
        padding: 10px 0 0 0;
    }
}
@media screen and (max-width: 640px) {
    .related-posts,
    .related-list {
        display: block;
    }
    .promo {
      flex-direction: column;
      text-align: center;
    }
    .related-item {
        margin-bottom: 15px;
    }
    .related-item:nth-child(2) {
        margin: 0 0 15px 0;
    }
    .one-post-summary,
    .related-item {
        width: 100%;
    }
    .filter-zone {
        flex-direction: column-reverse;
    }
    .filter-zone .search,
    .filter-zone form,
    .search form input#s {
        margin: 5px 0;
    }
    .filter-zone .search,
    .filter-zone form,
    .filter-zone .category-selection,
    #category-select,
    #category-select select,
    .search form input#s {
        width: 100%;
        max-width: none;
    }
}
@media screen and (max-width: 580px) {
    .contact-info {
        min-width: 100%;
        border-top: 1px dashed #3e5b6c;
    }
    .first-footer-menu,
    .second-footer-menu {
        width: 50%;
    }
    .second-footer-menu {
        border-right: none;
    }
}
