@import url(./fonts.css);
/*- 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,figcaption,figure,footer,header,hgroup,menu,nav,section,
summary,time,mark,audio,video {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}
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; }
:focus { outline: none; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }
a { text-decoration: none; }
* { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;}

/*- TYPOGRAPHY ----------------------------------- */
body {
  font-family: 'Open Sans', serif;
  color: #263238;
  -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4, h5 {
  font-family: 'Open Sans', serif;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 5px;
}
h1 {
  font-size: 36px;
  line-height: 50px;
}
h2, h3, h4, h5 {
  font-size: 20px;
  line-height: 24px;
}
p {
  font-family: 'Open Sans', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 35px;
}
a, a:visited, a:active {
  color: #62A104;
  transition: color .25s ease-in-out;
  -moz-transition: color .25s ease-in-out;
  -webkit-transition: color .25s ease-in-out;
}
a:hover {
  color: #263238;
  transition: color .25s ease-in-out;
  -moz-transition: color .25s ease-in-out;
  -webkit-transition: color .25s ease-in-out;
}
em {
  font-style: italic;
}
strong {
  font-weight: bold;
}
article.post ul, article.post ol {
  font-size: 20px;
  margin: 0 0 35px 40px;
}
article.post ul {
  list-style: disc;
}
article.post ol {
  list-style: decimal;
}
article.post li {
  line-height: 30px;
}
article.post blockquote {
  color: #606970;
  font-style: italic;
  font-size: 24px;
  line-height: 36px;
  padding: 0 20px 0 36px;
  margin-bottom: 35px;
  border-left: 4px solid #CCCCCC;
}

/*- BUTTONS ----------------------------------*/
.social-share {
	text-align:center;
}

.button {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  height: 45px;
  padding: 0 27px;
  border: 0;
  font-family: "freight-sans-pro","Myriad Pro","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 45px;
  text-align: center;
  cursor: pointer;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  -webkit-transition: background-color .25s ease;
  -moz-transition: background-color .25s ease;
  -ms-transition: background-color .25s ease;
  -o-transition: background-color .25s ease;
  transition: background-color .25s ease;
  vertical-align: bottom;
  color: #FFFFFF !important;
  background-color: #00ACED;
  position: relative;
  /*left: 50%;
  margin-left: -78px;*/
}
.button:hover {
  background-color: #00A5E3;
  color: #F5F5F5;
}
.button:before {
  display: block;
  content: '';
  float: left;
  height: 19px;
  width: 23px;
  background: url('../img/twitter-bird.png') no-repeat center center;
  position: relative;
  top: 50%;
  margin: -9px 10px 0 0;
}

.button.facebook-button {
  background-color: #3b5998;
}

.button.facebook-button:hover {
  background-color: #344e86;
  color: #F5F5F5;
}
.button.facebook-button:before {
  display: block;
  content: '';
  float: left;
  height: 19px;
  width: 23px;
  background: url('../img/facebook-logo.png') no-repeat center center;
  position: relative;
  top: 50%;
  margin: -9px 10px 0 0;
}

/*- LAYOUT ----------------------------------- */
.wrap {
  width: 960px;
  margin: 0 auto;
}
.wrap.post {
  padding: 0 120px;
}

.wrap.post img {
	max-width:720px;
	margin: auto;
    display: block;
}

.wrap:after {
  content: "";
  display: table;
  clear: both;
}
.resize {
  position: fixed;
  bottom: 0;
  right: 0;
  height: 80px;
  width: 80px;
  background: url('../img/resize.png');
}

.wrap .koofr-logo-center {
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  width: 33px;
  height: 33px;
  margin: auto;
  top: 15px;
}

.wrap .koofr-logo-center a {
  display: inline-block;
  width: 33px;
  height: 33px;
}

/*- HEADER ----------------------------------- */
header.site-header {
  padding: 20px 0;
  border-bottom: 1px solid #EEEEEE;

	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: white;
	height: 64px;
	z-index: 11;
	padding-top: 25px;
}
header.site-header a.menu {
  display: none;
}
header.site-header hgroup h1, header.site-header nav ul {
  font-family: 'Open Sans', sans-serif;
}
header.site-header hgroup {
  float: left;
}
header.site-header hgroup h1 {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 2px;
  text-transform: uppercase;
}
header.site-header hgroup h1 a {
  color: #263238;
}
header.site-header hgroup h1 a:hover {
  color: #62A104;
}
header.site-header nav {
  float: right;
  display: block;
}
header.site-header nav ul {
  display: flex;
  align-items: center;
  margin-top: -9px;
}
header.site-header nav ul li {
  font-size: 14px;
  display: inline;
  font-weight: 300;
  margin-left: 20px;
}
header.site-header nav ul li a {
  color: #606970;
}
header.site-header nav ul li a:hover,
header.site-header nav ul li a.active {
  color: #263238;
}
header.site-header nav ul li a.icon-item {
  display: flex;
  align-items: center;
}
header.site-header nav ul li a.icon-item span{
  display: none;
  margin-left: 15px;
}
header .header-image {
  /* max-width: 28px;
  max-height: 28px; */
}

/*- ARTICLE ----------------------------------- */
section.article {
  position: relative;
  margin-bottom: 50px;
  margin-top: 64px;
}
section.archive {
  margin-top: 114px;
}
section.archive ol.post-list {
  margin-top: 25px;
}
section.archive ol.post-list li {
  margin-bottom: 15px;
  list-style-type: square;
}
section.archive ol.post-list li span, section.archive ol.post-list li span time {
  font-size: 12px;
  /*vertical-align: top;*/
  line-height: 100%;
}

section.archive ol.post-list li p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #555555;
}
section.article img.loading {
  display: block;
  margin: 0 auto;
  position: absolute;
  top: 250px;
  left: 50%;
  margin-left: -12px;
  z-index: 10;
}
section.article div.overlay {
  background-color: #263238;
  width: 100%;
  height: 430px;
  border-bottom: 1px solid #DDDDDD;
  position: absolute;
  top: 0;
}
section.article div.featured-image {
  vertical-align: middle;
  height: 430px;
  width: 100%;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: absolute;
  top: 0;
  z-index: -1;
}
section.article article.post header.post-header {
  background-color: rgba(0,0,0,0.4);
  height: 430px;
  position: relative;
  margin-bottom: 35px;
}
section.article article.post header.post-header hgroup {
  color: #FFFFFF;
  position: absolute;
  bottom: 35px;
  /*width: 100%;*/
  padding-left:20px;
  padding-right:20px;
}
section.article article.post header.post-header hgroup p.category {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #606970;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.3);
  margin-bottom: 15px;
}
section.article article.post header.post-header hgroup h1 {
  margin-bottom: 15px;
  letter-spacing: -1px;
}
section.article article.post header.post-header hgroup p.lead {
  font-size: 24px;
  font-style: italic;
  line-height: 36px;
  margin-bottom: 0;
}
section.article article.post figure {
  margin: 35px 0;
}
section.article article.post figure figcaption {
  font-size: 12px;
  font-style: italic;
}
section.article article.post figure img {
  max-width: 100%;
  width: 100%;
  height: auto;
}
section.article article.post p.meta {
  color: #606970;
  font-style: italic;
  font-size: 16px;
}
section.article article.post .video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px; height: 0; overflow: hidden;
  margin-bottom: 35px;
}

section.article article.post .video-container iframe,
section.article article.post .video-container object,
section.article article.post .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

section.article article.post code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    font-size: 75%;
    line-height: 130%;
    white-space: pre;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    background: #faf8f0;
	display: block;
    padding: 0.5em 1em;
    border: 1px solid #bebab0;
}

section nav.pagination {
	text-align:center;
}

section nav.pagination .prev-link {
	margin-right: 100px;
}

/*- FOOTER ----------------------------------- */
footer {
  background-color: #263238;
  padding: 30px 0;
  color: #FFFFFF;
}

footer aside {
  display: flex;
  justify-content: center;
}

footer aside > :first-child {
  width: 10%;
  margin-right: 30px;
}

footer aside > :nth-child(2) {
  width: 40%;
  margin-right: 30px;
}

footer aside > :nth-child(3) {
  width: 15%;
}

footer .items {
  display: flex;
  flex-wrap: wrap;
}

footer ol.previous-posts div.items li {
  margin-right: 3px;
  margin-bottom: 3px;
  padding: 0 3px;
  font-size: 14px;
}

footer .items a:hover {
  color: #fff;
}

footer .footer-link {
  font-size: 14px;
}

footer .footer-link:hover {
  color: #fff;
}

footer p.category {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #606970;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.3);
  margin-bottom: 35px;
}
footer ol.previous-posts li {
  line-height: 30px;
  margin-bottom: 15px;
}
footer ol.previous-posts li:after {
  content: '';
  display: table;
  clear: both;
}
footer ol.previous-posts li h2 {
  float: left;
  max-width: 600px;
}
footer ol.previous-posts li h2.category-item {
  font-weight: 400;
}
footer ol.previous-posts li h2 a {
  color: #FFFFFF;
}
footer ol.previous-posts li h2 a:hover {
  color: #62A104;
}
footer ol.previous-posts li span.date {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #606970;
  float: right;
  text-align: right;
}

div.sub-footer {
	padding-top:20px;
}
div.sub-footer p {
  font-size: 11px;
}

/*- MEDIA QUERIES ----------------------------------- */
@media only screen and (max-width : 960px) {
  .wrap {
    width: 100%;
  }
  .wrap.post {
    padding: 0 7%;
  }
  .wrap.post img {
	max-width:100%;
	}

  header.site-header {
    padding: 20px 7%;
	padding-top: 25px;
  }
  footer ol.previous-posts li h2, footer ol.previous-posts li span.date {
    float: none;
  }
}

@media only screen and (max-width : 680px) {

  section.article img.loading {
    top: 10px !important;
    left: inherit;
    right: 6%;
  }
  section.article div.overlay {
    background-color: #263238;
    width: 100%;
    height: 250px;
    border-bottom: 1px solid #DDDDDD;
    position: absolute;
    top: 0;
  }
  section.article div.featured-image, section.article article.post header.post-header {
    min-height: 250px;
    height: auto;
  }
  section.article article.post header.post-header hgroup {
    position: static;
    padding: 20px 20px;
  }
  article.post header.post-header hgroup h1 {
    font-size: 28px !important;
    line-height: 36px !important;
  }
  article.post header.post-header hgroup p.category {
    font-size: 12px !important;
  }
  article.post p, article.post ul, article.post ol {
    font-size: 16px !important;
    line-height: 24px !important;
    margin-bottom: 27px;
  }
  article.post ul, article.post ol {
    margin-left: 30px;
  }
  article.post li {
    line-height: 24px !important;
  }
  article.post p.lead, article.post blockquote {
    font-size: 20px !important;
  }
  article.post blockquote {
    padding-left: 20px;
    line-height: 28px;
  }
  header.site-header {
    min-height: 59px;
  }
  header.site-header hgroup {
    float: none;
    position: absolute;
    left: 7%;
  }
  header.site-header a.menu {
    display: block;
    height: 16px;
    width: 16px;
    position: absolute;
    right: 7%;
    float: right;
  }
  header.site-header a.menu img {
    height: 16px;
    width: 16px;
  }
  header.site-header nav {
    display: none;
    float: none;
    width: 100%;
	background-color: white;
    padding-left: 20px;
    padding-right: 20px;
  }
  header.site-header nav:before {
    content: '';
    display: table;
    clear: both;
  }
  header.site-header nav ul {
    display: block;
    padding: 45px 0 10px 0;
    margin-top: 0;
  }
  header.site-header nav ul li {
    display: block;
    font-size: 24px;
    margin-left: 0;
    border-top: 1px solid #DDDDDD;
  }
  header.site-header nav ul li a {
    color: #263238;
    display: block;
    width: 100%;
    padding: 15px 0;
  }
  header.site-header nav ul li a:active {
    background-color: #62A104;
    color: #FFFFFF;
  }
  header.site-header nav ul li a.icon-item span{
    display: block;
  }
  .sub-footer p {
    line-height: 145%;
    margin-top: 10px;
  }

  footer aside {
    display: block;
    padding: 0 7%;
    /* justify-content: center; */
  }

  footer aside > :first-child {
    width: 100%;
  }

  footer aside > :nth-child(2) {
    width: 100%;
  }

  footer aside > :nth-child(3) {
    width: 100%;
  }
}

@media only screen and (max-width : 480px) {

	.wrap .koofr-logo-center {
		display:none;
  }

}
