/*
Theme Name: Robert DeLucas theme
Author: Robert DeLuca
Author URI: http://robert-deluca.com
Description: One off custom theme created by the awesome coder Robert DeLuca.
Version: 2.0
License: GNU General Public License
*/
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

em, i {
  font-style: italic; }

strong {
  font-weight: 700; }

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
  body h1 {
    font-size: 3rem;
    margin: 10px 0; }
  body h2 {
    font-size: 2.5rem;
    margin: 4px 0;
    line-height: 3.5rem; }
  body h3 {
    font-size: 2rem;
    line-height: 2.3rem; }
  body h4 {
    font-size: 1.4rem; }
  body p {
    line-height: 25px;
    padding: 10px 0; }
    body p:empty {
      padding: 0;
      line-height: 0; }
  body a {
    color: #057ea6;
    text-decoration: none; }
  body img {
    max-width: 100%;
    height: auto; }
  body blockquote {
    margin: 20px 0 20px 40px;
    border-left: 4px solid #ddd;
    padding-left: 10px;
    font-family: arial, sans-serif;
    color: #5C5C5C; }
    body blockquote p {
      padding: 3px 0; }
  body code {
    padding: 3px;
    background: #ddd;
    font-size: 14px;
    font-family: Courier New;
    border: 1px solid #C0C0C0; }
  body input,
  body textarea {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 6px; }

.alignleft {
  float: left;
  margin-right: 25px; }

.alignright {
  float: right;
  margin-left: 25px; }

.btn {
  background: #057ea6;
  border: 1px solid #07b3eb;
  border-radius: 6px;
  padding: 6px 14px;
  color: white; }

nav {
  padding: 15px 0;
  background-color: #068;
  text-align: right; }
  nav ul {
    max-width: 1140px;
    margin: 0 auto; }
  nav li {
    display: inline-block;
    *zoom: 1;
    vertical-align: middle;
    margin-left: 3%; }
    nav li:first-child {
      margin-left: 0; }
    nav li a {
      color: white;
      text-decoration: none;
      font-size: 1.2rem; }
      nav li a:hover {
        border-top: 4px solid white;
        transition: border .15s linear;
        -webkit-transition: border .15s linear; }

.hero {
  background-color: #057ea6;
  text-align: center;
  padding: 60px 0;
  color: white; }
  .hero h1 {
    font-size: 6rem;
    line-height: 7rem; }
  .hero p {
    font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 2.4rem;
    line-height: 4rem; }

.inner-container {
  max-width: 1140px;
  margin: 25px auto;
  padding: 0 20px; }

.posts {
  border-bottom: 1px solid #ddd;
  padding: 0px 0 25px 0;
  margin: 0px 0 25px 0;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex; }
  .posts .blog-left {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    align-self: center; }
    .posts .blog-left .post-date {
      height: 75px;
      width: 75px;
      display: block;
      background-color: #057ea6;
      color: white;
      font-weight: 700;
      border-radius: 60px; }
    .posts .blog-left .inner-date {
      line-height: 74px;
      margin: 0 auto;
      width: 80%;
      display: block;
      text-align: center;
      font-size: 0.8rem; }
  .posts .blog-right {
    -webkit-box-flex: 10;
    -moz-box-flex: 10;
    -webkit-flex: 10;
    -ms-flex: 10;
    flex: 10; }

#loading {
  cursor: wait;
  background-color: transparent;
  opacity: .8;
  border-radius: 50px;
  margin: 5% auto;
  animation: loading .5s infinite linear;
  -moz-animation: loading .5s infinite linear;
  -webkit-animation: loading .5s infinite linear; }

.spin-3 {
  border: 10px solid #057ea6;
  border-top: 10px solid transparent;
  border-left: 10px solid transparent;
  width: 40px;
  height: 40px;
  border-radius: 40px !important; }

@keyframes loading {
  0% {
    -moz-transform: rotate(0deg); }

  100% {
    -moz-transform: rotate(360deg); } }
@-moz-keyframes loading {
  0% {
    -moz-transform: rotate(0deg); }

  100% {
    -moz-transform: rotate(360deg); } }
@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0deg); }

  100% {
    -webkit-transform: rotate(360deg); } }
.post {
  max-width: 960px;
  margin: 0 auto; }
  .post h1 {
    font-size: 2.9rem;
    line-height: 3.2rem;
    padding-bottom: 10px; }
  .post h3 {
    margin: 10px 0; }
  .post ul {
    margin: 4px 0 4px 45px; }
    .post ul li {
      padding: 4px 0;
      list-style: disc; }
  .post .post-title {
    width: 100%;
    border-bottom: 1px solid #ddd; }
    .post .post-title h1 {
      font-size: 3.6rem;
      line-height: 4.5rem; }

.comment-wrap {
  margin-top: 50px; }

.login-form {
  width: 21%; }
  .login-form input {
    width: 100%; }
  .login-form .btn {
    float: right; }

.new-post {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex; }

.new-post-inner {
  -webkit-box-flex: 2;
  -moz-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
  margin-right: 2%; }
  .new-post-inner input,
  .new-post-inner textarea {
    width: 100%; }
  .new-post-inner textarea {
    height: 140px; }
  .new-post-inner .btn {
    float: right; }

.preview {
  -webkit-box-flex: 2;
  -moz-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2; }

.about-page {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin: 20px 0; }
  .about-page .two-sixth {
    -webkit-box-flex: 2;
    -moz-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2; }
  .about-page .four-sixth {
    -webkit-box-flex: 6;
    -moz-box-flex: 6;
    -webkit-flex: 6;
    -ms-flex: 6;
    flex: 6;
    margin-left: 30px; }

.timeline {
  overflow: hidden;
  position: relative;
  margin-bottom: 2em; }

.timeline .timeline-title {
  clear: both;
  text-align: center;
  border: 2px solid #e2e2e2;
  background: #f0f0f0;
  margin: 0 auto 2em;
  max-width: 8em;
  padding: 0.25em 0.5em;
  font-size: 1.7rem; }

.timeline ul {
  overflow: hidden;
  margin: 0 0 1em;
  padding: 0; }

.timeline li {
  background: #e2e2e2;
  padding: 2%;
  border-radius: 4px;
  list-style-type: none;
  margin: 0 0 1em 1em;
  position: relative; }

.timeline li:before {
  content: '';
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-right: 11px solid #e2e2e2;
  position: absolute;
  left: -0.65rem;
  top: 1.5rem; }

.timeline time {
  color: #979797;
  display: block;
  font-size: 0.9em;
  font-style: italic; }

.timeline .description {
  margin-bottom: 0;
  line-height: 21px;
  font-size: 17px;
  padding: 15px 0; }

.time {
  font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 12px; }

.portfolio-gird {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex; }
  .portfolio-gird h2 {
    font-size: 2rem; }
  .portfolio-gird .one-third {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 25px 15px; }
    .portfolio-gird .one-third:first-child {
      margin-left: 0; }

.imgcontain {
  position: relative; }
  .imgcontain .hoverdiv {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.75); }
    .imgcontain .hoverdiv p {
      color: #FFF;
      text-align: center;
      margin-top: 20%;
      font-size: 2rem;
      line-height: 2rem; }

footer {
  background-color: #057ea6; }
  footer .footer-content {
    max-width: 1140px;
    margin: 65px auto 0 auto;
    padding: 8px 10px;
    color: white; }
    footer .footer-content a {
      color: #ddd; }
