/*
Theme Name: klog3.4
Theme URI: human-nyc.com
Author: sasha kluchnik @ human-nyc
Author URI: sashakluchnik.com
Version: 3.3 / 7/22/16

New: DFP ads implementation
*/


/*-----------------Foundation---------------------*/

html {
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
}
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
ol,
ul {
  margin: 0;
  padding: 0;
}
li {
  display: block;
}
h1,
h2,
h3,
h4 {
  font-weight: normal;
  /*text-transform: capitalize;*/
  line-height: 1.2em;
/*  color: #000000;*/
}
a {
    text-decoration: none;
    color: inherit;
    -webkit-transition: .16s;
    -moz-transition: .16s;
    transition: .16s;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    border: 0;
}
iframe {
    max-width: 100%;
    border: 0;
}


/* -------------- Adminbar Removed --------------- */

html.js #wpadminbar,
html.no-js #wpadminbar {
  display: none !important;
}
html.js,
html.no-js {
  margin-top: 0 !important;
}


/*------------------Custom Styles------------------ */

html {
}
body {
  position: relative;
  font-family: 'Castledown', Helvetica, Arial, sans-serif;
  line-height: 1.6em;
  color: #5A6568;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Castledown', Helvetica, Arial, sans-serif;
}
em {
  font-style: italic;
}
a:hover {
  color: #222222;
}
.uppercase {
  text-transform: uppercase;
  letter-spacing: .2em;
}
.textCentered {
  text-align: center !important;
}
.contentCentered {
  align-items: center !important;
  -webkit-justify-content: center !important;
  -moz-justify-content: center !important;
  -ms-justify-content: center !important;
  justify-content: center !important;
}
/*h1 {
    font-size: 2em;
}*/
.loading {
    opacity: 0;
    -webkit-transition: opacity 3s;
    -moz-transition: opacity 3s;
    transition: opacity 3s;
}

/* ----------- Header ----------- */

header,
header > *,
header .next,
header form.searchform {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-align-items: center;
  align-items: center;
}
header {
  pointer-events: none;
  -webkit-transition: all 1.2s;
  -moz-transition: all 1.2s;
  transition: all 1.2s;
}
header > * {
  pointer-events: auto;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2em 2em 0;
  z-index: 11111;
  background-color: rgba(256,256,256,0);
  background-image: url('images/header-grdnt.png');
  background-position: 0% 0%;
  background-repeat: repeat-y;
  background-size: 400% 100%;
  font-size: .5em;

  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
}
@media (min-width: 1441px) {
  header,
  .topNav {
    max-width: 1650px;
    margin: 0 auto;
  }
  header {
    left: 50%;
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}
header .item {
  display: none;
}
header .item.nav-mobile,
header .search {
  display: block;
  width: 10%;
  padding: 0 2em;
}
.topNav li.search {
  height: 1em;
  border: 1px solid black;
  border-radius: 2em;
}
header .logo {
  width: 70px;
  border-radius: 50%;
  z-index: 2;
}
@media (min-width: 1025px) {
  header .logo {
    width: 100px;
  }
}
header.active .logo,
header.expanded .logo,
header.active .logo img,
header.expanded .logo img {
  width: 60px;
}
header.active .item {
  width: 0;
}
header.active .search {
  width: calc(100% - 70px);
}
header article {
  display: none;
  width: 0;
  overflow: hidden;
  opacity: 0;

  -webkit-justify-content: space-around;
  -moz-justify-content: space-around;
  -ms-justify-content: space-around;
  justify-content: space-around;
}
header article h1,
header article h2 {
  max-height: 60px;
  overflow: hidden;
}
header article.blockHeader h1 {
  font-size: 2.2em;
  margin-left: 1em;
}
header article.blockHeader > img {
  margin: 1em;
  border-radius: 50%;
}
@media (min-width: 1025px) {

  header article {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-align-items: center;
    align-items: center;
  }
  header .item {
    display: inline-block;
  }
  header .item.nav-mobile {
    /*display: none;*/
    /*width: 0;*/
    /*padding: 0 4em;*/
  }
  header .search {
    padding: 3em 4% 3em 0;
  }
  header.active .search {
    padding-right: 4em;
  }
  header.expanded .search .searchform {
    padding: 1em 1em 0 0;
  }  
}


/*---------------- Mobile Nav ----------------*/

header #navToggle {
  font-size: 0;
  line-height: 0;
  width: 30px;
  height: 30px;
  display: block;
  position: relative;
}
header.active #navToggle {
  opacity: 0;
}
header #navToggle:before,
header #navToggle:after {
  position: absolute;
  display: block;
  content: '';
  width: 20px;
  height: 2px;
  top: 50%;
  left: 50%;
  background: #555555;

  -webkit-transition: all .4s;
  -moz-transition: all .4s;
  transition: all .4s;
}
header #navToggle:before {
  -ms-transform: translate(-50%,-200%) rotate(0deg);
  -webkit-transform: translate(-50%,-200%) rotate(0deg);
  -moz-transform: translate(-50%,-200%) rotate(0deg);
  transform: translate(-50%,-200%) rotate(0deg);
}
header #navToggle:after {
  -ms-transform: translate(-50%,200%) rotate(0deg);
  -webkit-transform: translate(-50%,200%) rotate(0deg);
  -moz-transform: translate(-50%,200%) rotate(0deg);
  transform: translate(-50%,200%) rotate(0deg);
}
header .open #navToggle:before {
  -ms-transform: translate(-50%,0) rotate(135deg);
  -webkit-transform: translate(-50%,0) rotate(135deg);
  -moz-transform: translate(-50%,0) rotate(135deg);
  transform: translate(-50%,0) rotate(135deg);
}
header .open #navToggle:after {
  -ms-transform: translate(-50%,0) rotate(45deg);
  -webkit-transform: translate(-50%,0) rotate(45deg);
  -moz-transform: translate(-50%,0) rotate(45deg);
  transform: translate(-50%,0) rotate(45deg);
}
#navMobile {
  position: absolute;
  background: #fff;
  border-bottom: 1px solid #888;
  font-size: 3em;
  line-height: 2em;
  text-align: center;
  padding: 4em 1.5em 1em;
  left: 0;
  top: 0;
  width: 100%;

  -ms-transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);

  opacity: 0;

  -webkit-transition: all .4s;
  -moz-transition: all .4s;
  transition: all .4s;
}
.open #navMobile {
  opacity: 1;

  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  transform: translateY(0);
}
#navMobile .menu li {
  display: block;
}



/*---------------- Desktop Nav ----------------*/

.topNav {
  display: none;
  text-align: center;
  -webkit-transition: all .1s;
  -moz-transition: all .1s;
  transition: all .1s;
}
@media all and (min-width: 1025px) {
  .topNav,
  .topNav .menu {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-justify-content: space-around;
    justify-content: space-around;
  }
  .topNav .menu {
    padding: 3.4em 0 0 0;
  }
  .topNav #menu-top-left {
    width: 60%;
  }  
  .topNav #menu-top-right {
    width: 40%;
  }   
  .topNav .item {
    width: 20%;
  }
  header #navToggle {
    display: none;
  }
}
@media all and (min-width: 1280px) {
  header .menu {
    font-size: 2em;
  }
}
.menu li {
  display: inline-block;
}
.topNav .menu li {
  /*padding: 0 2.4vw;*/
}
.menu li a {
  padding: 0.7em;
  white-space: nowrap;
}
.menu li a:hover {
  color: #333333;
}
.menu li.current-menu-item a {
  pointer-events: none;
  color: #bbbbbb;
}



.topNav li {
  position: relative;
}
.topNav li a {
  font-size: 1.2em;
  letter-spacing: .04em;

  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
}
.topNav li a:hover {
  color: #ffffff;
}
.topNav li img {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;

  -ms-transform: translate(-50%, -50%) rotateX(90deg);
  -webkit-transform: translate(-50%, -50%) rotateX(90deg);
  -moz-transform: translate(-50%, -50%) rotateX(90deg);
  transform: translate(-50%, -50%) rotateX(90deg);

  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
}
.topNav li a:hover img {
  opacity: 1;

  -ms-transform: translate(-50%, -50%) rotateX(0deg);
  -webkit-transform: translate(-50%, -50%) rotateX(0deg);
  -moz-transform: translate(-50%, -50%) rotateX(0deg);
  transform: translate(-50%, -50%) rotateX(0deg);
}





/*---------------- Header Interaction ----------------*/

header.active,
header.expanded {
  background-color: rgba(256,256,256,1);
  background-position: 100% 0%;
}
header .menu.expanded {
  font-size: 0;
}
header .menu.expanded li {
  padding: 0;
}
header.active .item.nav-mobile,
header.expanded .item.nav-mobile,
header.expanded .search {
  padding: 0;
}
form.searchform label {
  display: none;
}
form.searchform {
  width: 100%;
  position: relative;
  display: none;

  -webkit-justify-content: flex-end;
  -moz-justify-content: flex-end;
  -ms-justify-content: flex-end;
  justify-content: flex-end;
}
form.searchform input:active,
form.searchform input:hover,
form.searchform input:focus {
  outline:none;
  background: none;
}
header form.searchform input[type=text] {
  width: 100%;
  font-size: 3em;
  color: #5A6568;
  margin-right: 1em;
  background: none;
  border: none;
  border-bottom: 1px solid #8E9A9D;
  border-radius: 0;
  width: 0;
  padding: .5em 0;
  opacity: 0;
  z-index: 11;
}
header.active form.searchform input[type=text] {
  width: 100%;
  text-align: center;
  opacity: 1;
}
form.searchform input[type=submit] {
  cursor: pointer;
  width: 21px;
  height: 21px;
  text-indent: -9999px;
  border: none;
  background: url('images/search.svg') center no-repeat;
  background-size: contain;
  z-index: 11111;
}
.label img {
  border-radius: 50%;
}
.single header .label img {
  width: 34px;
  vertical-align: middle;
}
.single header.expanded {
  border-bottom: 1px solid #888888;
}
.single header.expanded .item {
  width: 0;
}
.single header.expanded article {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  padding-left: calc(10% + -3em);
  opacity: 1;
}
.single header .author-part {
  width: 60px;
  margin: 1em;
  padding: 0 !important;
  overflow: hidden;
}
.single header .author-part img {
  border-radius: 50%;
  vertical-align: middle;
}
.single article .button {
  position: relative;
  padding: .3em 1em;
  border: 1px solid #aaa;
  border-radius: 26px;
  line-height: 1.6em;
}
.single header article .button {
  min-width: 100px;
  font-size: 2em;
  margin-left: 1em;
}
.single article .share strong {
  position: absolute;
  top: 0.5em;
  right: 0.5em;

  -ms-transform: rotateZ(-74deg);
  -webkit-transform: rotateZ(-74deg);
  -moz-transform: rotateZ(-74deg);
  transform: rotateZ(-74deg);
}
.single header article .button.share {
  padding-right: 2em;
}
.single header span {
  display: block;
  font-size: .7em;
  margin: -.1em 0;
}
.single header .next {
  margin-left: 5%;
  padding-left: 4em;
  height: 3.5em;
}
@media (max-width: 1000px) {
  .single header .next {
    display: none;
  }
}
.single header .next a {
  position: relative;
  background: none;
}
.single header .next a:before {
  content: '>';
  position: absolute;
  left: -2em;
  top: 50%;
  font-size: 2em;
  padding: .42em .45em .45em .5em;
  border: 1px solid #aaa;
  border-radius: 20px;

  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}


/* ------------- Wrapper -------------- */

.wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1650px;
  min-height: 100vh;
  overflow: hidden;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.paged #home-slider,
.paged .about {
  display: none;
}
a.about {
  width: 20em;
  min-width: 170px;
  margin-bottom: 10vh;
  padding: 1.6em 1.6em 1.6em 2em;
  border-radius: 1em;
  background-image: url('images/yllw-pink-grdnt3.png');
  background-position: 0% 0%;
  background-repeat: repeat-y;
  background-size: 600% 100%;
  animation: about-bg 5s infinite;
  cursor: pointer;
  align-self: center;
}
a.about:hover {
  animation: none;
  background-position: 50% 0%;
/*  border: 1px solid #5A6568;*/
}
@keyframes about-bg {
  0%   {background-position: 0% 0%;}
  100% {background-position: 100% 0%;}
}
@media (min-width: 900px) {
  a.about {
    width: 14em;
  }
}
@media (min-width: 1025px) {
  a.about {
    position: absolute;
    top: -10vh;
    right: 8vw;
  }
}
@media (min-width: 1100px) {
  a.about {
    width: 23em;
  }
}

.main,
.grid {
  position: relative;
  /*width: 100%;*/
  padding: 8vh 3vw;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;

  -webkit-justify-content: space-around;
  -moz-justify-content: space-around;
  -ms-justify-content: space-around;
  justify-content: space-around;
}
@media (min-width: 769px) {
  .main.feed {
    -webkit-align-items: center;
    align-items: center;
    /*padding: 8vh 3vw;*/
  }
}
.main.cta {
  padding: 0;
}
@media (min-width: 1025px) {
  .main {
    padding: 8vh 4vw;
  }
  .home .main {
    margin-top: 15vh;
  }
  .home.paged .main {
    margin-top: 0;
  }
}
.grid {
  margin: 0 auto;
  padding: 2vh 1vw;

  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
}

/*---------------- Article ----------------*/

.block {
  position: relative;
  width: 310px;
  margin: 8vh 5vw;

  -webkit-align-items: center;
  align-items: center;

  -webkit-transition: opacity .3s ease-in-out;
  -moz-transition: opacity .3s ease-in-out;
  transition: opacity .3s ease-in-out;
}
#home-slider article.block {
  opacity: 1;
}
.feed article.block {
  padding-left: 30px;
  margin-left: calc(5vw - 30px);
}
.grid article.block {
  margin: 2vh 2vw;
}
@media (min-width: 1025px) {
  article.block {
    /* opacity: 0; */
    margin: 3vh 3vw;
  }
  .feed article.block {
    margin-left: calc(3vw - 30px);
  }
}
@media (min-width: 1280px) {
  .feed > article.block:first-child {
    margin: 3vh 5vw;
  }
}
.size1 {
  width: 310px;
}
.size2 {
  width: 400px;
}
.size3 {
  width: 480px;
}
article.block.horizontal {
  margin: 8vh 1vw;
  padding-left: 0;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.size1.horizontal {
  width: 567px;
}
.size2.horizontal {
  width: 600px;
}
.size3.horizontal {
  width: 720px;
}
article a.thumb {
  width: 100%;
  background-image: url('images/grd1.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
  /*background-position: center;*/
  line-height: 0;
  display: inline-block;
  position: relative;
}
article a.thumb img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 500px;
}
@media (min-width: 1025px) {

}
article.size2 a.thumb {
  width: 360px;
  background-image: url('images/grd3.jpg');
}
article.size3 a.thumb {
  width: 450px;
  background-image: url('images/grd2.jpg');
}
article .content-part {
  font-size: 1.2em;
/*  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;*/
}
article.horizontal .content-part {
  margin: -2em 0 -2em 2em;
  width: 380px;
}
article.size2.horizontal .content-part,
article.size3.horizontal .content-part {
}
article.block .label {
  position: absolute;
  display: block;
  top: -25px;
  left: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.grid article.block .label {
  left: 25px;
}
article.block.horizontal .label {
  top: -30px;
  left: 30px;
}
article.block h1 {
  margin: .2em 0;
  font-size: 1.2em;
  font-family: 'Castledown', Helvetica, Arial, sans-serif;
  color: #273032;
}
article.block .content-part p {
  margin: 0;
  font-size: .9em;
}
article.block .content-part p.meta {
  font-family: 'Castledown', Helvetica, Arial, sans-serif;
  font-size: .8em;
  margin: 0;
  padding-top: 1em;
  border-top: 1px solid #5A6568;
}
article.block a.comments {
  /*display: none;*/
  opacity: 0.5;
  white-space: nowrap;
}
article.block a.more {
  font-family: 'Castledown', Helvetica, Arial, sans-serif;
  font-size: .7em;
  /*font-weight: bold;*/
  padding: 1em 0;
  display: block;
}
@media (min-width: 1025px) {

  article.block .label {
    top: 30px;
    left: 0;
    width: 60px;
    height: 60px;
  }
  .grid article.block .label {
    left: -30px;
  }
  article.block h1 {
    font-size: 1.7em;
  }
  article.block p {
    font-size: 1em;
  }
  article.block a.more {
    /*font-size: .9em;*/
    padding: 1.2em 0;
  }
}



/* ------------- Sliders -------------- */

#home-slider {
  margin: 60px 0;
  opacity: 0;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
}
@media (max-width: 768px) {
  #home-slider {
    width: 100vw;
  }
}
/*@media (min-width: 768px) {
  #home-slider {
    margin: 100px 50px;
    height: auto;
  }
}*/
@media (min-width: 1025px) {
  #home-slider {
    margin: -45vh 0 3em;
  }
}
@media (min-width: 1100px) {
  #home-slider {
    margin: -35vh 0 3em;
  }
}
#home-slider .thumb img {
  width: 100%;
  background: center/cover no-repeat;
}
#home-slider article.block  {
  /*width: calc( 100vw - 40px );*/
  width: 75vw;
}
#home-slider article.block {
  margin: 3em 20vw;
  padding: 0;
  background: white;
}
#home-slider article.block .label {
  top: -25px;
  left: 25px;
}
@media (min-width: 769px) {
  #home-slider article.block {
    width: 100%;
    margin: 0;
  }
}
#story-slider .flickity-viewport {
/*  width: 100%;
  height: 100% !important;*/
}
img.gallery-cell {
  width: 100%;
/*  height: 100%;*/
  cursor: e-resize;
}
#story-slider {
  /*overflow: hidden;*/
}
@media (max-width: 899px) {
  #home-slider article .content-part {
    /*width: 80%;*/
  }
}


.slider a.thumb img,
.hero .thumb,
.hero .thumb img,
.slider img.gallery-cell {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#home-slider a.thumb,
.hero .thumb img,
#story-slider img.gallery-cell {
  background-image: url('images/grd1.jpg');
  bottom: 0;
}
@media (min-width: 1024px) {
  #home-slider a.thumb,
  .hero .thumb img,
  #story-slider img.gallery-cell {
    top: 0;
  } 
}
/*#story-slider img.gallery-cell {
  bottom: 0;
}*/
.slider a.thumb h1 {
  padding-right: 70px;
}
#home-slider .flickity-viewport {
  overflow: visible;
  position: static;
}
@media (min-width: 900px) {
  .flickity-page-dots {
    width: auto;
    left: -9px;
  }
}
/*@media (min-width: 1025px) {
  #home-slider .flickity-page-dots {
    bottom: 0;
  }
}*/
.flickity-page-dots .dot {
  width: 8px;
  height: 8px;
  background: none;
  border: 1px solid #aaaaaa;
  opacity: 1;
}
.flickity-page-dots .dot.is-selected {
  background: #aaaaaa;
}



/* Fade CSS */

@media (min-width: 769px) {

  #home-slider .flickity-slider {
    transform: none !important;

  }

  #home-slider .flickity-slider article.block {
    left: 0 !important;
    opacity: 0;
    z-index: -1;
  }

  #home-slider .flickity-slider article.block.is-selected {
    opacity: 1;
    z-index: 0
  }
}



/* ---------------- Popular posts ---------------- */


.home #popularPosts {
  border-radius: 1em;
  margin: 5vh 1vw 7vh;
  padding: .5em 0 .5em .5em;
  overflow: hidden;
  background-image: url('images/green-grdnt2.png');
  background-position: 0% 0%;
  background-repeat: repeat-y;
  background-size: 600% 100%;
  animation: about-bg 5s infinite;
  align-self: center;
}
#popularPosts h3 {
  font-size: 1em;
}
.single #popularPosts {
  display: none;
  /*margin-top: 1em;*/
  /*border-bottom: 1px solid #5A6568;*/
}
@media (min-width: 1025px) {
  #popularPosts h3 {
    font-size: 1.1em;
  }
  .home #popularPosts {
    margin: 5vh 5vw;
  }
  .single #popularPosts {
    display: block;
  }
}
#popularPosts > h3 {
  margin: 0 0 -1em;
  padding: 1em 1.3em .8em;
}
.single #popularPosts > h3 {
  /*display: none;*/
}
#popularPosts article {
  width: auto;
  margin: 1.5em;
}
@media (min-width: 1025px) {
  #popularPosts article.block {
    opacity: 1;
  }
}
/*.single #popularPosts article {
  width: 180px;
  margin: 2em 0;
}*/
#popularPosts article a.thumb {
  width: 100px;
}
/*.single #popularPosts article a.thumb {
  width: 130px;
}*/
#popularPosts article .content-part {
  width: 180px;
  margin: -1em 0 -1em 1em;
}
/*.single #popularPosts article .content-part {
  width: 240px;
  margin-left: 1.5em;
}*/
/*.single #popularPosts article .content-part h5 {
  margin-top: -1.3em;
  color: #ccc;
}*/
#popularPosts article .label {
  top: 10px;
  left: -15px;
  width: 30px;
}
/*.single #popularPosts article .label {
  top: 6%;
  width: 40px;
}*/





/* ------------- Category & Author -------------- */

.author .wrapper,
.category .wrapper {
  padding: 8em 0 0;
}
.cat-header {
  padding: 4vw;
  text-align: center;
}
.author .cat-header {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
@media (min-width: 1025px) {

  .category .wrapper {
    padding: 0 0 1em;
  }
  .cat-header {
    margin-top: -10vh;
  }
  .cat-header {
    text-align: left;
  }
}
.cat-header > img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}
.cat-header > section.right {
  padding: .5em 2em;
  max-width: 500px;
}
@media (min-width: 769px) {
  .author .cat-header {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    align-items: flex-start;
  }
}
@media (min-width: 1025px) {
  .author .cat-header {
    padding: 4vh 0;
    max-width: 800px;
  }
  .category .cat-header > section.right {
    width: 30vw;
  }
}
@media (min-width: 1440px) {
  .cat-header {
    max-width: 600px;
  }
  .cat-header > section.right {
    max-width: 600px;
  }
}
.cat-header h1 {
  text-transform: capitalize;
  font-size: 3em;
  margin: 0 0 0 -.05em;
}



/* -------------- Single -------------- */

.single .wrapper {
  display: block;
  padding: 95px 0 0;
}
.single .hero {
  padding: 0 0 1em;
}
.single .right {
  display: none;
}
@media (min-width: 769px) {
/*--*/
  .single .hero {
    width: 70%;
    margin: 0 auto;
  }
}
@media (min-width: 1025px) {

  .single .wrapper {
    padding: 6vh 0 0;
  }
  .single .hero {

    float: left;
    margin: 0;
  }
  .single .right {
    display: block;
    width: 27%;
    float: right;
    margin: 0 3% -10em 0px;
  }
}
/*.single .hero .thumb,
.single .hero .thumb img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}*/
.single .hero .thumb {
  position: relative;
/*  background-image: url('images/grd1.jpg');
  line-height: 0;*/
}
.single .hero .thumb img {
  width: 100%;
}
.single .hero .thumb iframe {
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
}
.single .hero .thumb .label {
  font-size: .8em;
}
.single .hero .label {
  position: absolute;
  bottom: -25px;
  right: 25px;
}
.single .hero .label > * {
  display: inline-block;
}
.single .hero .label img {
  width: 50px;
  margin-right: 1em;
  vertical-align: middle;
}
@media (min-width: 1025px) {
  .single .hero {
    padding: 3vh 5% 3em 10%;
  }
  .single .hero .thumb {
    max-width: 760px;
    margin: auto;
  }
  .single .hero .label {
    top: 25px;
    left: -25px;
    bottom: auto;
    right: auto;
  }
}
.single .hero .thumb img.play {
  pointer-events: none;
  position: absolute;
  width: 60px;
  padding: .7em;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  background: rgba(255,255,255,.7);
  
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.single section.main,
.page section.main {
  padding: 0 1em 3em;
  margin: 1em auto;
}
.single section.main article {
  
}
@media (min-width: 769px) {
  .single section.main {
    margin: 1em;
  }
}
@media (min-width: 1025px) {
  .single section.main {
    width: 70%;
    /*max-width: 70%;*/
    padding: 1em 10%;

    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;

    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;

    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
}
.single section.right {
  /*margin-top: calc(-33vw - 2em);*/
  /*margin-right: -10vw;*/
}
@media (min-width: 1441px) {
  .single section.right {
    /*margin-top: -512px;*/
    /*margin-right: -5vw;*/
  }
}
.single .main .author-part {
  display: none;
}
.single .main .content-part h5 {
  color: #ccc;
  margin: 0;
}
@media (min-width: 900px) {
  .single .main .author-part {
    display: block;
  }
  .single .main article:first-child .content-part {
    width: 550px;
  }
}
@media (min-width: 1280px) {
  .single .main article:first-child .content-part {
    width: 600px;
  }
}
.single .main .content-part img {
  margin-top: 2em;
  margin-bottom: 2em;
}
@media (min-width: 1280px) {
  .single .main .content-part img {
    margin-left: -60px;
    max-width: calc(100% + 110px);
    width: calc(100% + 110px);
  }
}
.single .main article {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.single .main article.block {
  display: block;
}
.cat-header h1,
.single .main .content-part h1,
.single .content-part h3,
.single .label h1,
.content blockquote,
.block.product h4 {
  font-family: 'Castledown', Helvetica, Arial, sans-serif;
  /*color: #273032;*/
}
.main article .content {
  font-family: 'Admark-Regular', Georgia, Times, serif;
}
.main article .content a {
  border-bottom: 1px solid grey;
}
.main article .content .gradient {
  margin: 2em 0;
}
.main article .content ul li {
  display: list-item;
  margin-left: 1em;
}
.main article .content b,
.main article .content strong {
  font-family: 'Admark-Medium', Georgia, Times, serif;
  font-weight: normal;
/*  font-size: 1.1em;
  letter-spacing: 1px;*/
}
.content blockquote {
  font-size: 1.3em;
  letter-spacing: 1px;
  font-weight: normal;
  margin: 2em 0;
}
.single .main article .author-part {
  padding: 10px 10px 0 0;
}
.single .main article .author-part img {
  width: 50px;
  border-radius: 50%;
}
@media (min-width: 1025px) {
  .single .main article .author-part {
    padding: 1em 1em 0 0;
  }
  .single .main article .author-part img {
    width: 80px;
  }
}
@media (min-width: 1280px) {
  .single .main article .author-part {
    padding: 1em 1em 0 0;
    width: 140px;
  }
  .single .main article .author-part img {
    width: 110px;
  }
}
.single article h1 {
  margin: .5em 0;
  font-size: 1.9em;
}
@media (min-width: 1280px) {
  .single article h1 {
    font-size: 2.3em;
    width: 630px;
  }
}
.single article .content-part h1 {
  margin: .5em 0;
}
.single article .content-part h2 {
  margin: 0 0 1em;
}
.single  p.meta {
  font-size: 1em;
  margin: 1em 0 2em;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
}
.single p.meta span {
  margin-right: 2em;
}
.single .gradient {
  background-image: url('images/grd2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  line-height: 0;
  display: inline-block;
}
.single .content iframe {
  opacity: 0;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  transition: all 1s;
}
.single .content iframe.instagram-media,
.single .content #disqus iframe {
  opacity: 1;
}

/*--------------Search Results----------------*/

.search .wrapper {
  display: block;
  padding: 16vh 0 0;
}
.search .hero {
  width: 100%;
  padding: 0 0 1em;
}



/*-------------------Page--------------------*/

.page .wrapper {
  padding: 16vh 0 0;
}
.content img.alignleft {
  float: left;
  margin-right: 2em;
  margin-top: -1em;
}
.content img.alignright {
  float: right;
  margin-left: 2em;
  margin-top: -1em;
}
.page .content img.alignright {
  margin-top: -2em;
}
.page .main {
  padding: 5em;
  max-width: 850px;
  margin: auto;
}
.page article h1 {
  font-size: 2em;
  margin-bottom: .5em;
}
@media (min-width: 1280px) {
/*  .page article h1 {
    font-size: 2.1em;
  }*/
}
.page article h2.p1 {
    margin-top: 2em;
}



/*------------- disqus ------------*/

#disqus {
  margin: 2em 0 0;
}

/*------------- post nav ------------*/

.posts-nav {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;

  margin: 5em auto 7em;
  width: 100%;
}
.content-part .posts-nav > * {
  width: 50%;
}
.content-part .posts-nav a {
  position: relative;
  display: block;
}
.content-part .posts-nav .prev a {
  padding-left: 3em;
}
.content-part .posts-nav .next a {
  padding-right: 3em;
  text-align: right;
}
.content-part .posts-nav .prev a:before,
.content-part .posts-nav .next a:after {
  position: absolute;
  top: 0;
  font-size: 1.2em;
  border: 1px solid #aaa;
  border-radius: 50%;
  width: 40px;
  height: 40px;

  display: flex;

  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;

  -webkit-align-items: center;
  align-items: center;
}
.content-part .posts-nav .prev a:before {
  left: 0;
  content: '< ';
}
.content-part .posts-nav .next a:after {
  right: 0;
  content: ' >';
}

.divider {
  width: 100%;
  max-width: 1100px;
  margin: 2em auto;
  border-bottom: 1px solid grey;
}
.wrapper > .divider {
  width: calc(100% - 2em);
}
section h2.title {
  text-align: center;
}
.cta a {
  display: inline-block;
  /*width: 350px;*/
  font-size: 1.2em;
  text-align: center;
  padding: .8em 2em;
  border: 1px solid #aaaaaa;
  border-radius: 2em;
  background-color: rgba(256,256,256,0);
}
.cta span {
  font-size: 1.2em;
  /*margin: 0 1em;*/
}
@media (min-width: 1025px) {
  .cta span {
    /*margin: 0 2em;*/
  }
}
.grdt a,
.grdt a::before,
a.grdt,
.block.product a.thumb .button {
  background-color: rgba(255,255,255,0);
  background-image: url('images/header-grdnt.png');
  background-position: 0% 0%;
  background-repeat: repeat-y;
  background-size: 400% 100%;

  -webkit-transition: opacity .3s, background-position 1s;
  -moz-transition: opacity .3s, background-position 1s;
  transition: opacity .3s, background-position 1s;
}
.grdt a:hover,
.grdt a:hover::before,
a.grdt:hover,
.block.product a.thumb:hover .button {
  background-position: 100% 0%;
}

/*----------- Read More -----------*/

.single .readMore {
  margin: 3em auto;
  max-width: 1280px;
}
@media (min-width: 768px ) {

  .single .readMore .grid {
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    padding: 1em;
  }
}
.single .readMore article.block {
  width: 280px;
  margin: 2vw;
}
@media (min-width: 1650px ) {

  .single .readMore article.block {
    margin: 2em;
  }
}
.single .readMore article.block h3 {
  margin: .6em 0;
}

/*----------- Shoppable Footer -----------*/

.shopFooter h3.title {
  text-align: center;
  margin: -.2em 1em .2em;
}
.single .main .block.product {
  opacity: 1;
}
@media (min-width: 768px ) {

  .single .main .shopFooter .grid {
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    padding: 1em .5em 0;
    max-width: 100vw;
  }
  .single .main .block.product {
    width: 30%;
    margin: 0.6em;
  }
}
.single .main .block.product img {
  margin: 0;
  max-width: 100%;
}
.single .main .block.product .content-part {
  width: 100% !important;
}
.block.product h4 {
  font-size: .8em;
  margin: .4em 0 .7em;
}
.shopFooter .block.product h4.price {
  margin: -.5em 0 0;
}
.shopFooter .block.product a.thumb {
  background: transparent;
/*  width: 170px;
  height: 170px;*/

/*  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;

  -webkit-align-items: center;
    align-items: center;*/
}
.shopFooter .block.product a.thumb .button {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  background-color: white;

  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); 
}
.shopFooter .block.product a.thumb:hover .button {
  opacity: 1;
}
.block.product .label {
  display: none;
  top: 6em;
}


/*------------- social / share buttons ------------*/

.social#shareButtons {
  margin: 4em 0;
  text-align: center;
}
.social#authorLinks {
  margin: 1em 0 0 -8px;
}
.social a {
  display: inline-block;
  margin: 0 .3em;
  cursor: pointer;
}
@media (min-width: 1025px ) {
  .social#authorLinks a:first-child {
    margin-left: 0;
  }
}
.social a img {
  margin: 5px !important;
  width: 34px !important;
  height: 34px;
  vertical-align: middle;
  opacity: .4;

  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  transition: all .2s;
}
.social a:hover img {
  margin: 0 !important;
  width: 44px !important;
  height: 44px;
  opacity: .7;
}





/* ------------- Footer -------------- */

footer {
  width: 100%;
  text-align: center;
  /*margin: 1em;*/
}
footer {
  display: block;

  -webkit-align-items: center;
  align-items: center;
}
footer #footerLinks,
footer #menu-footer-menu {
  display: inline-block;
  /*margin: 2em auto;*/
}
#mc-form {
  width: 100%;
  display: block;
  text-align: center;
}
@media (min-width: 1025px ) {
  footer,
  footer #footerLinks,
  footer #menu-footer-menu {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
  }
}
footer #footerLinks,
footer #menu-footer-menu,
footer .copyright {
  margin: 1em 2vw;
}
footer #menu-footer-menu li {
  margin: 0 1vw;
}


/*------------------- Mailchimp Form --------------------*/

.mc4wp-form {
  display: inline-block;
  background-image: url('images/rose-blue-grdnt.png');
  animation: about-bg 5s infinite;
  background-size: 400% 100%;
  background-position: 50% 0%;
  background-repeat: repeat-y;
  border-radius: 3em;
  /*margin: 2vh 10%;*/
  margin: 2em auto;
  padding: 0.4em 1.8em 0.9em;
  text-align: center;
  max-width: 90%;
}
article.block .mc4wp-form {
  position: absolute;
  left: 0;
  bottom: -16em;
}
footer #mc-form .mc4wp-form {
  margin: 0;
}
.paged article.block .mc4wp-form {
  bottom: -9em;
}
@media (min-width: 1800px ) {

  article.block .mc4wp-form {
    bottom: -13em;
  }
}
.mc4wp-form-fields > * {
  display: inline-block;
}
.mc4wp-form span {
  /*display: block;*/
  margin: .3em 0;
  white-space: nowrap;
}
.mc4wp-form input.email {
  font-size: .8em;
  width: 100%;
  margin: 0 -3.3em 0 0;
  padding: 1.1em 1.69em .94em;
  border: none;
  background: white;
  border-radius: 3em;

  -webkit-transition: all .4s;
  -moz-transition: all .4s;
  transition: all .4s;
}

@media (min-width: 1025px ) {
  .mc4wp-form {
    width: auto;
    padding: 0.4em 0.8em 0.4em 1.5em;
  }
  .mc4wp-form span {
    display: inline-block;
  }
  .mc4wp-form input.email {
    width: 0;
    margin: 0 -3.3em 0 .6em;
  }
}
.mc4wp-form input.button {
  padding: .4em 0.67em 0.43em;
  background-color: white;
  background-image: url('images/header-grdnt.png');
  background-size: 400% 100%;
  background-position: 0% 0%;
  border: 1px solid transparent;
  border-radius: 3em;
  font-size: 1em;
  color: #5A6568;

  -webkit-transition: all .4s;
  -moz-transition: all .4s;
  transition: all .4s;
}
.mc4wp-form input.button:hover {
  background-position: 100% 0%;
  border: 1px solid #888888;
}
.mc4wp-form input.email:focus,
.mc4wp-form input.button:focus {
  outline: none;
}
.mc4wp-notice {
  position: absolute;
  width: calc(100% - 3.5em);
}
.mc4wp-success {
  margin: 0 1.5em 0 .8em;
}


/*------------- 404 --------------*/

.error404 {
  text-align: center;
}
.error404 .main {
  padding: 10vh 0 0;
}
.error404 .cta a {
  display: inline-table;
}



/* ---------------- Ad Units --------------- */

.adunit {
  width: auto;
  margin: 1em auto;
}
.adunit > div {
  text-align: center;
}
.adunit.leader {
  display: none;
}
@media (min-width: 1025px ) {

  .adunit > div {
    text-align: left;
  }
  .adunit.leader {
    display: block;
    margin: 0 auto;
  }
  .paged .adunit.leader {
/*    margin: 5em calc(50vw - 540px);*/ 
  }
  .adunit.small-rectangle {
    margin: 2em 10vw;
  }
  .adunit.rectangle {
    margin: 2em 8vw; /* sd */
  }
  .adunit.skyscraper {
    margin: 3em 1.5em;
  }
  .sticky {
    position: fixed;
    top: 100px;
  }
  .stickToBottom {
    position: absolute;
  }
}


.divider {
    width: 100%;
    max-width: 1100px;
    margin: 2em auto;
    border-bottom: 0px solid grey;
}


.main article .content a {
    border-bottom: 0px solid grey !important;
}



/*** Slider CSS **/


/**
*
* Refinery - another site styles
*
**/
.test-slider .flex-pauseplay{clear: both;}
.test-slider .flex-control-thumbs,
.test-slider .go-back{
  display: none;
}
.slide-height{
  height: 1px;
}
.test-slider.loading{
  background: url(images/loading.gif) center center no-repeat;
  min-height: 400px;
}
.slider-title{
  font-size: 44px;
    letter-spacing: 1px;
    line-height: 52px;
    padding: 17px 0px 22px 20px;
    margin: 0px;
    font-family: "PlayfairDisplay-bold", "Georgia", sans-serif;
    font-weight: 400;
    border-bottom: 1px #ebebec solid;
    color: #000;
}
.figure{
  border-left: 1px #ebebec solid;
  padding: 20px 90px;
  float: right;
  width: 70%;
  margin-left: 20px;
  background: #fff;
  position: relative;
}
.figure img{
  max-width: 100%;
}
.social-links{
  position: absolute;
  bottom: 30px;
    right: 311px;
}
.social-links a{
  background: url(images/share-icons2.png) no-repeat;
  width: 35px;
  height: 34px;
  font-size: 0px;
  display: inline-block;
}
.social-links a:nth-child(2){
  background-position: -38px 0px;
}
.share-it{
  border-bottom: 1px #ebebec solid;
  padding: 2px 20px 10px 20px;
}
.share-it label{
  float: left;
  width: auto;
  text-transform: uppercase;
  font: 14px "BrownStd-light", sans-serif;
    margin: 11px 0 0 0;
    line-height: 33px;
}
.share-icon-list{
  padding-left: 145px;
}
.share-icon-list li{
  list-style-type: none;
  display: inline-block;
  padding: 0 3px;
}
.share-icon-list li a{
  display: block;
  background: url(images/share-icons.png) no-repeat;
  width: 43px;
  height: 40px;
  font-size: 0px;
}
.share-icon-list .printerest a{background-position: -50px 0px;}
.share-icon-list .email a{background-position: -99px 0;}
.comment-and-thumb{
  padding: 10px 0 30px 20px;
}
.comment-and-thumb > span{
  display: inline-block;
}
.comments a{
  background: url(images/icon-1.png) no-repeat;
  padding: 2px 0 3px 30px;
  font-family: "BrownStd-light", sans-serif;
    font-size: 10px;
    color: #777;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.see-all-slides{
  font-family: "BrownStd-light", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 70px;
    padding-left: 30px;
    line-height: 19px;
    cursor: pointer;
    background: url(images/icon-1.png) no-repeat;
    background-position: 0 -82px;
}
.slider-content{
  font-family: 'Avenir-Book';
    color: #616161;
    line-height: 22px;
    font-size: 16px;
}
.test-slider ul.flex-direction-nav li a{
  background: url(images/slider-arrow.png) no-repeat;
  width: 20px;
  height: 28px;
  font-size: 0px;
  /*opacity: .6;*/
  top: 200px;
}
.test-slider ul.flex-direction-nav li a:before{
  content: "";
}
.test-slider ul.flex-direction-nav li a.flex-prev,
.test-slider:hover ul.flex-direction-nav li a.flex-prev{
  left: 33%;
}
.test-slider ul.flex-direction-nav li a.flex-next,
.test-slider:hover ul.flex-direction-nav li a.flex-next{
  background-position: -32px 0;
    right: 32px;
}
.test-slider .flex-pauseplay a,
.icon-play{
    left: 0;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;

    height: 50px;
    width: auto;
    padding: 0 30px;
    margin-top: 25px;
    font-size: 14px;
    font-family: "BrownStd", sans-serif;
    text-align: center;
    line-height: 50px;
    letter-spacing: 1px;
    background: #000;
    color: #FFF;

    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;

    -webkit-background-clip: border-box;
    -moz-background-clip: border-box;
    background-clip: border-box;
}
.test-slider .flex-pauseplay a:hover,
.test-slider .flex-pauseplay a:focus{
  text-decoration: none;
}
.test-slider .flex-pauseplay a::before{
  content: "";
}
.test-slider .flex-pauseplay a::after{
  content: ">";
  font-size: 16px;
    padding-left: 7px;
}
.test-slider .flex-pauseplay a:hover{text-decoration: none;}
.go-back{
  line-height: 14px;
    color: #222;
    font-family: "BrownStd-light", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    background: url(images/go-back-arrow.png) no-repeat;
    padding-left: 27px;
    cursor: pointer;
}
.test-slider .flex-control-thumbs{
    margin: 40px 0;
    float: left;
    width: 100%;
}
.test-slider .flex-control-thumbs li{
  width: 25%;
  float: left;
  padding: 0 15px;
}
#comment{
    height: auto;
    margin: 0;
    padding: 0;
    width: 100%;
}
.comments-title{
    font-size: 24px;
    margin: 40px 0 20px;
}
#reply-title{
    font-size: 16px;
}
.comment-respond form > p{
    clear: both;
}
.comment-respond .comment-form-comment{
    float: left;
    width: 100%;
}
.comment-respond form > p label{
    display: block;
}
.comment-respond .comment-form-comment textarea{
    width: 40%;
    max-width: 40%;
}
.comment-respond form input[type="text"],
.comment-respond form input[type="email"]{
    height: 35px;
    width: 40%;
}
.comment-respond form input[type="submit"]{
    min-width: 200px;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    height: 40px;
    color: #101010;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    background: #e4f9ff;
    cursor: pointer;
}
.comment-respond form input[type="submit"],
.comment-respond form input[type="submit"]:focus,
.comment-respond form input[type="submit"]:visited{
    border: none;
}

.main_slider {
    width: 1170px;
    margin: 0 auto;
    padding: 0px;
}


/** ENd of SLider CSS**/

/* // pager for search page */
.pagenavi-pager {
  clear: both;
  width: 100%;
  margin: 40px 0 0;
  display: block;
}

.wp-pagenavi {
  clear: both;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  /* width: 350px; */
  font-size: 1.2em;
  text-align: center;
  padding: .8em 2em;
  border: 1px solid #aaaaaa;
  border-radius: 2em;
  background-color: rgba(256,256,256,0);

  background-image: url(images/header-grdnt.png);
  background-position: 0% 0%;
  background-repeat: repeat-y;
  background-size: 400% 100%;
  -webkit-transition: opacity .3s, background-position 1s;
  -moz-transition: opacity .3s, background-position 1s;
  transition: opacity .3s, background-position 1s;
}

/* iframe video in blog single page */

.single .hero .thumb iframe {
  position: relative;
}

@media all and (max-width: 380px){
	 .home .main, .home .grid{
		 float: left;
		 width: 100%;
	 }
	 .mc4wp-form {
	   padding: 0.4em 1.8em 1.3em;
	 }
	 .mc4wp-form input.email {
	   float: left;
	   margin: 0;
	   padding: 1.1em 3em 0.94em 1.5em;
	   width: 100%;
	 }
	 .mc4wp-form input.button {
	   float: right;
	   margin: -40px 0 0;
	 }
	 
	.single section.main{
	  padding: 0 1em 3em;
	  display: block;
	  flex-wrap: inherit;
	  float: left;
	  width: 100%;
	  word-wrap: break-word;
	}
	.single section.main .block{
		width: 100%;
	} 
}