/** Regular */
@font-face {
  font-family: "San Francisco";
  font-weight: 400;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}

/* Reset */
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,b,u,i,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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{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; }

/* Clearfix */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.hidden { display: none; }

/* Spacing */
.post h1, h3, h4, h5, p, .post-body ul, ol, pre {
  margin-bottom: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 700;
}

h1, .h1 {
  font-size: 36px;
  font-weight: bold;
  color: #222;
  line-height: 56px;
}

h2, .h2 {
  font-size: 29px;
  font-weight: bold;
}

h3, .h3 {
  font-size: 20px;
  font-weight: 400;
}

h4, .h4 {
  font-size: 20px;
  font-weight: bold;
}

h5, .h5 {
  font-size: 18px;
  font-weight: bold;
}

h6, .h6 {
  font-size: 14px; }

/* Base */
html, body { height: 100%; }

body {
  font-family: "Poppins", sans-serif !important;
  font-size: 19px;
  font-weight: 400;
  color: #333;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.profile .wrapper {
  padding: 100px 40px 0px;
  max-width: 800px;
  margin: 0 auto;
}

.profile #header {
  padding-bottom: 40px;
  text-align: center;
  position: relative;
}

.profile #avatar {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.profile #logo {
  width: 200px;
  height: 200px;
  display: inline-block;
}

.profile h1 {
  font-weight: 400;
  letter-spacing: 0px;
  font-size: 32px;
  color: #222;
  font-weight: bold;
}

.profile h2 {
  font-size: 20px;
  font-weight: 300;
  color: #9d9d9d;
  margin-top: 10px;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-style: normal;

}

nav.main-nav {
  padding: 20px 20px 0;

  /*max-width: 600px;*/
  /*width:100%;*/
  background: #fff;
  background: rgba(255,255,255,.90);
  margin: 0 auto;
  text-align: right;
  /*position: fixed;*/
  z-index: 100;
}

nav.main-nav a {
  top: 8px;
  right: 6px;
  padding: 8px 12px;
  color: #2e2e7f;
  font-size: 13px;
  /*font-weight: bold;*/
  line-height: 1.35;
  border-radius: 3px;

}

nav.main-nav a:hover {
  color: #00f;
}

nav.main-nav a.cta {
  background: #5badf0;
  color: #fff;
  margin-left: 12px;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px 100px 40px;
  color: #666;
}

.wrapper.home {
  max-width: 800px;
  margin: 0 auto;
  padding: 0px 40px 20px 40px;
}

.home #avatar {
  float: right;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Typography */
/*Accent color*/
a,
#title,
#title:hover {
  text-decoration: none;
  color: #00f;
}

a:hover,
#post-list a:hover,
#post-list li:hover .dates,
p a:hover {
  color: #2e2e7f;
}

/*Transitions*/
a,
#post-nav a,
#post-list a {
  -webkit-transition: all 0.15s ease;
  -moz-transition: all 0.15s ease;
  -ms-transition: all 0.15s ease;
  -o-transition: all 0.15s ease;
  transition: all 0.15s ease;
}

ul, ol { margin:0; margin-bottom: 20px; }
ol { list-style: decimal; }

/* Line Height */
#post-body, p { line-height:1.7; font-size: 16px; }

b, strong { font-weight: 500;
            color: #1E2025; }
em, i { font-style: italic; }

#title {
  display: inline-block;
  line-height: 100%;
  font-weight: 500;
  font-size: 19px;
  margin: 0;
  padding-bottom: 20px;
}

.description {
  float: right;
  font: italic 14px/1.4em Georgia,serif;
  color: #aaa;
}
.pagination {
  display: flex;
  flex-direction: row;
  padding: 20px;
  padding-bottom: 120px;
  width: 100%;
  max-width: 400px;
  align-items: center;
  justify-content: center;
}
.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  font-size: 16px;
  margin: 12px;
  background-color: #f8f6f5;
  color: black !important;
  border-radius: 50%;
}
.pagination__item__active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  font-size: 16px;
  margin: 12px;
  background-color: black;
  color: white !important;
  border-radius: 50%;
}


.home h1 {
  font-size: 30px;
  letter-spacing: -1px;
  color: #222;
  font-weight: bold;
}

.home h2 {
  font: italic 19px/1.3em Georgia,serif;
  color: #bbb;
}

.post header {
  text-align:center;

}

.post h1 {
  margin-bottom: 0px;
  color: #222;
  font: 300 32px/1.4em 'Poppins';
}

.post h2 {
  margin-bottom: 10px;
  font: 300 24px/1.5 'Poppins';
  color: #111;
}

.post h2.subtitle {
  font: italic 19px/1.3em Georgia,serif;
  color: #bbb;
}

.post h2.headline {
  /*font: italic 22px/1.3em Georgia,serif;*/
  font: normal 13px/1.5em "Open Sans",Helvetica,Arial,sans-serif;
  margin: 10px 0 40px 0;
  color: #5a5a5a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  /*margin-top: 15px;*/
  display: inline-block;
}
.post h2.headline .headline-author {
  display: flex;
  flex-direction: row;
  margin: auto;
  justify-content: center;
  margin-top: 12px;
}
.post h2.headline {
  /*font: italic 22px/1.3em Georgia,serif;*/
  font: normal 13px/1.5em "Open Sans",Helvetica,Arial,sans-serif;
  margin: 10px 0 40px 0;
  color: #5a5a5a;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  /*margin-top: 15px;*/
  display: inline-block;
}

#post-list h2 {
  font: normal 17px/1.5em "Open Sans",Helvetica,Arial,sans-serif;
  color: #aaa;
  max-width: 400px;
  margin-top: 2px;
}

.post.project {
  font-size: 17px;
}

.post.project h1,
.post.project h2,
.post.project h3 {
  margin: 20px 0;
}

.post.project h1 {
  font-size: 32px;
  font-weight: bold;
}

.post.project h1.title {
  font-size: 66px;
}

.post.project .headline {
  font-size: 13px;
}

.post.project h2 {
  font-size: 1.5em;
  font-weight: bold;
}

.post.project h3 {
  font-size: 1.17em;
}

p.small {
  color: #bbb;
  font-size: 14px;
  line-height: 1.5;
  display: block;
  text-align: center;
  margin-top: 20px;
}

blockquote {
  padding-left: 15px;
  border-left: 3px solid #eee;
}

hr {
  display: block;
  border: none;
  height: 1px;
  margin: 40px auto;
  background: #eee;
}

span.code { font-family:Menlo, Monaco, Courier; background-color:#EEE; font-size:14px; }

pre	{
  font-family:Menlo, Monaco, Courier;
  white-space:pre-wrap;
  /*border: 1px solid #ddd;*/
  padding:20px;
  background-color:#fdfdfd;
  /*font-size:14px;*/
  overflow:auto;
  border-radius: 3px;
  background: #272b2d;
  font-family: 'Source Code Pro',Menlo,monospace;
  font-size: 13px;
  line-height: 1.5em;
  font-weight: 500;
  color: #d0d4d7;

}

table {
  width: 100%;
  margin: 40px 0;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5em;
}

th,td {
  text-align: left;
  padding-right: 20px;
  vertical-align: top;
}

table td,td {
  border-spacing: none;
  border-style: solid;
  padding: 10px 15px;
  border-width: 1px 0 0 0;
}

tr>td {
  border-top: 1px solid #eaeaea;
}

tr:nth-child(odd)>td {
  background: #fcfcfc;
}

thead th,th {
  text-align: left;
  padding: 10px 15px;
  height: 20px;
  font-size: 13px;
  font-weight: bold;
  color: #444;
  border-bottom: 1px solid #dadadc;
  cursor: default;
  white-space: normal;
}

img {
  max-width: 100%;
  border-radius: 3px;
}

/* Made with Cactus Badge */
#badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  height: 48px;
  width: 48px;
}

/*=========================================
Post List
=========================================== */
#archive-list {
  margin-top: 100px;
}

#post-list {
  margin-bottom: 0;
}

#post-list li,#archive-list li {
  border-top: 1px solid #eee;
  padding-top: 20px;
  padding-bottom: 20px;
  list-style-type: none;
  margin-bottom: 0;
}

#post-list li:last-child {
  border-bottom: 1px solid #eee;
}

#post-list a {
  color: #333;
  display: block;
  font: bold 19px/1.7 "Open Sans",helvetica,Arial,sans-serif;
}

#post-list .dates {
  float: right;
  position: relative;
  top: 1px;
  font: 300 17px/1.8 "Open Sans",helvetica,Arial,sans-serif;
  color: #9d9d9d;
}

#post-list-footer {
  border-top: 1px solid #eee;
  margin-top: 20px;
  padding-top: 100px;
}

#archive-link {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  padding: 3px 10px 6px;
  box-shadow: 0 0 0 1px hsla(207,83%,80%,1);
}

#archive-link:hover {
  background: #5694f1;
  color: #fff;
  box-shadow: 0 0 0 1px #5694f1;
}

#archive-link span {
  position: relative;
  top: 0;
  font-size: 17px;
}

#footer {
  padding: 40px 0 0 0;
}

/* Post Page */
.post {
  margin: 40px 0 0 0;
}

#post-meta {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  border-top: 1px solid #eee;
  padding-top: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  margin-top: 40px;
  color:#444;
  border-bottom: 1px solid #eee;
}

#post-meta div span {
  color: #aaa;
  font-weight: 500;
  display: block;
}

#post-meta div span.dark {
  color: #1E2025;

}

#post-meta div {
  margin: 0 25px 0 0;
  float: left;
}

#sharing {
  float: right;
  margin: -2px;
}

#sharing a {
  font-size: 20px;
  font-size: 23px;
  margin-left: 1px;
  margin-top: 4px;
  color: #d4d4d4;
  display: inline-block;
  vertical-align: middle;
}

#sharing a:hover {
  /*color: #444;*/
  opacity: 0.8;
}

/* Post Navigation */
#post-nav {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#post-nav span {
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  transition: all 0.1s linear;
  position: relative;
}

#post-nav span.prev {
  float: left;
}

#post-nav span.next {
  float: right;
}

#post-nav span .arrow {
  position: relative;
  padding: 1px;
}

#post-nav span.prev:hover .arrow {
  left: -4px;
}

#post-nav span.next:hover .arrow {
  right: -4px;
}

#post-nav span.prev:hover {
  left: -3px;
}

#post-nav span.next:hover {
  right: -3px;
}

/* Archive */
h1.archive {
  margin-bottom: 0px;
}

h2.month {
  width: 100%;
  font: bold 13px/1 "Open Sans",helvetica,Arial,sans-serif;
  text-transform: uppercase;
  margin-top: 40px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

#archive-list li:last-child {
  margin-bottom: 0;
}

#archive-list a {
  display: block;
  font: bold 17px/1.7 "Open Sans",helvetica,Arial,sans-serif;
  color: #333;
}

#archive-list .dates {
  float: right;
  position: relative;
  top: 1px;
  font: 300 17px/1.7 "Open Sans",helvetica,Arial,sans-serif;
  color: #bbb;
}

#archive-list li a:hover,#archive-list li:hover .dates {
  color: #5694f1;
}

#post-meta img.avatar {
  height: 36px;
  width: 36px;
  float: left;
  border-radius: 50%;
  margin-top: 3px;
  margin-right: 20px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #eee;
}

#post-list.archive.readmore h3{

  font: 400 20px "Open Sans", Helvetica,Arial,sans-serif;
  margin-bottom: 30px;
}

#post-list.archive.readmore a{
  font: 400 16px/1.6 "Open Sans",helvetica,Arial,sans-serif;
  color: #5694f1;
}

#post-list.archive.readmore a:hover{
  opacity: 0.8;
}

#post-list.archive.readmore .dates{
  font: 300 16px/1.6 "Open Sans",helvetica,Arial,sans-serif;
}
#sharing a.facebook {
  background: #4361b3;
}

#sharing a.twitter {
  background: #4fafed;
}

#sharing a.linkedin {
    background: #0a66c2;
}

#sharing a {
  font-size: 20px;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  margin-left: 2px;
}

/* Media Queries */
@media screen and (max-width: 600px) {
  .wrapper { padding:20px 20px 20px 20px;}
  .post { margin: 40px 0; }

  #post-list, #archive-list { margin-top: 0; }
  #post-meta { margin-top: 60px; }
  #post-body { font-size: 1.2em !important; }

  #title { font-size: 17px; }
  #post-list .dates { display: none; }

  #post-list-footer { margin-top: 20px; padding-top: 40px; }

  h1 { font-size: 26px; }
  .post h2.headline { font-size: 13px; }
  .post h1 { font-size:24px; }
  .post h2 { font-size:20px; }

  figure.inline-left, figure.inline-right {
    width: 80%;
    margin: 0 auto;
    float: none;
  }
}


/* CUSTOM ADDITIONS */

#social {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

a.symbol {
  color: #cdd4da;
  font-size: 2rem;
  text-decoration: none;
  margin-right: 15px;
}

a.symbol:hover {
  color: #BCD4DA;
}

p > code {
    color: #e83e8c;
    font-size: 90%;
}

code {
  font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size: 14px;
  font-weight: 500;
}

#navbar {
  text-align: center;
}

#navbar li {
  display: inline;
  list-style: none;
  margin-right: 25px;
  font-weight: bold;
}

#navbar li a {
  font-size: 25px;
}

.made-in {
  width: 100%;
  padding: 20px 20px 10px;
  text-align: center;
  color: #9d9d9d;
}

.made-in svg {
  position: relative;
  top: 2px;
  width: 18px;
  height: auto;
}

.love {
  margin: 0 5px;
  display: inline-block;
}

.inlinevideo {
  width: 100%;
}

figure.inline-right {
  width: 300px;
  float: right;
}

figure.inline-left {
  width: 300px;
  float: left;
}

#footer .icons {
  display: inline-block;
  margin: 0 5px;
  font-family: Sans-Serif;
  font-size: 8pt;
}

#footer .branding {
  display: block;
  margin-top: 30px;
}

.branding a {
  font-weight: bold;
  color: #1A237E;
  text-decoration: none;
  transition: color 0.5s ease;
}

.branding a:hover {
  color: #F44336;
}

#footer {
  line-height: 1.5;
  display: block;
  text-align: center;
  font-weight: bold;
}

.footer {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer .contact-logo {
  width: 48px;
  height: 48px;
  display: block;
  margin: 8px;
  position: relative;
}
.footer .contact-logo svg {
  position: relative;
  z-index: 2;
  width: 35px;
  height: auto;
  margin: 8px;
}
.footer .contact-logo span {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 400ms ease;
}
.footer .contact-logo:hover span {
  top: 8px;
  left: -8px;
  opacity: 1;
}

.made-in {
  width: 100%;
  padding: 20px 20px 10px;
  text-align: center;
  color: #1A237E;
}
.made-in svg {
  position: relative;
  top: 2px;
  width: 18px;
  height: auto;
}

.emoji {
  font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
}

figure img {
    margin: 0 auto;
    display: block;
}

#toc {
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 90%;
  padding-left: 0;
}

#toc h3 {
    text-align: left;
}

#banner {
  width: 100%;
  margin-left: 50%;
  transform: translateX(-50%) scale(1.2);
  transform-origin: bo;
}

#navbar img.logo {
    width: 40px;
    margin-bottom: -5px;
    margin-right: -3px;
}


@media (max-width: 767px) {
  .pagination {
    padding-bottom: 70px;
  }
  #banner {
    margin: 0;
    transform: none;
  }
  #post-body, p { line-height:1.7; font-size: 19px; }
  #post-body, li { font-size: 19px; }
}

.btn-dc {
  /* for button in the T5 paraphrase post */
  background-color: #f44336;
  border: none;
  color: white;
  padding: 7px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 9px;
  font-weight : bold;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.btn-dc:active {
  background-color: #a62d24;
  transform: translateY(4px);
}

.spinner-dc {
  display: inline-block;
  width: 160px;
  height: 160px;
}
.spinner-dc:after {
  content: " ";
  display: block;
  width: 128px;
  height: 128px;
  margin: 16px;
  border-radius: 50%;
  border: 12px solid #f44336;
  border-color: #f44336 transparent #f44336 transparent;
  animation: spinner-dc 1.2s linear infinite;
}
@keyframes spinner-dc {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.text-area-dc {
  padding: 1em;
  font-size: 14px;
  width: 45em;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.grid-dc {
  display: grid;
  grid-gap: 5%;
  width: 100%;
  grid-auto-flow: row;
  padding: 3em;
  box-sizing: border-box;
}

.item-grid-dc {
  display: grid;
  width: 100%;
  justify-content: center;
  align-content: center;
  grid-row-gap: 5%;
  grid-auto-flow: row;
  box-sizing: border-box;
}