/*
Theme Name:     Ask a Naturopath
Description:    Custom theme for Ask a Naturopath
Author:         Henry Egloff

Version:        01.01
*/


html {
  font: 300 16px/1.5 'Roboto', Helvetica, Arial, Sans-Serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: #fff;
  color:#333;
}

img {
	max-width: 100%;
  height: auto;
}



a {
	color:rgba(0,0,0,.7);
	text-decoration: none;
  color: #b57830;
  transition: opacity .3s;
}

a:hover {
  opacity: .2;
  cursor: pointer;
}


p {
  color:#444;
}


b, strong {
  font-weight: 500;
}

h1, h2, h3 {
  font-weight: normal;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 2px;
}

::selection {
  color:#000;
  /*background:rgba(0,0,0,.8);*/
  background-color: #c7d0ad;
}

h2 {
  font-size: 1.25em;
  margin-top: 1.5em;
  font-weight: 400;
}

h1 {
  margin:1em 0 0 0;
}

.screen-reader-text {
  display: none;
}

.article-details {
margin:0;
font-size: 90%;
}

.container {
  width:86%;
  max-width: 1100px;
  margin: 0 auto;
/*  box-sizing: border-box;*/
/*  border: 1px dotted #ddd;*/
}

.post-edit-link {
  background-color: #f1f1f1;
  padding: .75em 1em;
  border-radius: .5em;
  font-weight: 400;
  margin: 1em 0;
  display: inline-block;
}

.alignright {
  float: right;
}

.header-ad {
  margin-top: 1em;
}

/*.site-header, .site-footer {
  background-color: #f1f1f1;
}
*/
.top-section {
  width:100%;
  background-color: #f1f1f1;
 /* background-color: #d1d2b6;*/
  padding:1em 0;
  text-align: center;
  overflow:hidden;
  /*background-image: url('images/bg3.jpg');*/
}

.top-section h3 {
  margin:0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1em;
  font-weight: 700;
}

.top-section p {
  font-size: 90%;
  margin:.25em 0;
  font-weight: 400;

}

.subscribe-form input {
  width: 47%;
  margin:1%;
  font-size: .8em;

  padding:.75em;
  box-sizing: border-box;
  border:none;
/*  display: inline-block;*/
}

.submit-button {
  background-color: rgba(0,0,0,.1);
}





input[type=text], input[type=email], textarea {
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
 /* padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;*/
  border: 1px solid #eee;
}
 
input[type=text]:focus, input[type=email]:focus, textarea:focus {
/*  box-shadow: 0 0 5px rgba(81, 203, 238, 1);*/
/*  padding: 3px 0px 3px 3px;
  margin: 5px 1px 3px 0px;*/
  /*border: 1px solid rgba(81, 203, 238, 1);*/


  box-shadow: 0 0 5px rgba(154, 155, 43, 1);
  border: 1px solid rgba(154, 155, 43, 1);


}




/*.email-field {
   width: 68%;
     box-sizing: border-box;
}

.submit-button {
   width: 29%;
     box-sizing: border-box;
}*/


.subscribe-panel {
  background-color: #f1f1f1;
  overflow: hidden;
  text-align: center;
  padding:0em 1em 1em 1em;
  margin-top:1em;
}



.site-footer {
  clear: both;
  padding: 2em 0 4em 0;
}

.site-header, .site-footer {
  text-align: center;
}

.site-header {
  padding-top: .5em;
}

.site-header h1 {
  position: absolute;
  text-indent: -21111px;
}

nav ul {
  list-style: none;
  padding:0;
  text-align: center;
  overflow:hidden;
}

nav li {
  display: inline-block;
}

nav a {
  padding:  0;
  display: inline-block;
  margin: .5em;
}

.current-item a {
    /*background-color: #f7f7f7;*/
  /* border-bottom: 1px solid #efe3d5;*/
  opacity: .5;
  /*color:#9a9e30;*/
}


.logo img {
  width:100%;
  max-width: 500px;
}


.social-menu {
  margin-bottom: 1em;
}

.social-menu img {
  max-width: 28px;
  opacity: .2;

}

.site-header .primary-menu {
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
}

/*.site-header {
  position: relative;
}*/

.primary-menu {


  font-size: 78%;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.share-buttons {
  margin:3em 0 0 0;
/*  text-align: center;*/
}

.share-buttons h3 {
  font-size: 90%;
}

.share-buttons ul {
  margin-left: 0;
  width: auto;
  display: inline-block;
  padding:0;
  margin:0;
}

.share-links {
/* width: 200px;*/
/* background-color: #fed;*/
}

.share-links img {
  max-width: 38px;
  opacity: .2;

}

.share-links a {
  margin:0 .5em 0 0;
  padding:0;
}

.site-header .primary-menu ul {
  margin:.75em 0;
}


.secondary-menu {
  font-size: 90%;
}

.sidebar-column ul {
  list-style: none;
  padding:0;
}





.sidebar-column .postform {
  margin-bottom: 2em;
  font-size: .875em;
  width: 100%;
  box-sizing: border-box;
}

 .sidebar-column {
     max-width: 400px;
     margin: 0 auto;
 }


.sidebar-column h2 {
  text-align: center;
  font-size: 90%;
}

.post-list {
  list-style: none;
  padding:0;
}

.post-list h2 a {
  color:#222;
}


.post-list li {
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5em;
}

.attachment-thumbnail {
  float: left;
  margin-right: 1.5em;
  margin-bottom:1em;
}



/*@media (min-width: 640px) {
  .top-section {
    min-height: 60px;
  }
}*/


@media (min-width: 800px) {
  .top-section {
    text-align: left;
  }

  .top-section p{
    /*text-align: left;*/
  }


  .subscribe-text-container {
    width: 50%;
    float: left;
  }


  .subscribe-form-container {
    width: 50%;
    float: right;
    margin-top: .6em;
  }

/*  .email-field {
    width: 80%;
  }*/
}



@media (min-width: 1000px) {
   .top-section h3 {
    float: left;
    margin-right: .75em;
    margin-top: .1em;
  }

  .top-section {
    padding:.75em 0;
  }

  .subscribe-text-container {
    margin-top: .7em;
  }

   .subscribe-form-container {
      width: 50%;
      float: right;
      margin: 0;
    }

  .main-content-column {
    width: 70%;
    float: left;
    padding-right: 2.5em;
    box-sizing: border-box;
    margin-top: .5em;
  }

  .sidebar-column {
    width: 30%;
    max-width: auto;
    float: right;
    box-sizing: border-box;
    margin-top: .5em;
  }



}

/*the searchform in the sidebar*/

.searchform {
 /* background-color:#f7f7f7;*/
  border-radius: .5em;
  margin:1em 0 2em 0;
  font-size: 105%;
  clear: both;
  display: inline-block;
  width: 100%;
 /* max-width: 380px;
  padding:1em;*/
  box-sizing: border-box;
}


/*.searchform input {
  padding:.25em;
  font-style: 120%;
}*/

.searchform input[type=text] {
  font-size: 1em;
  padding:.5em;
}

.searchform input[type=submit] {
  font-size: 1em;
  padding:.5em 1em;
  outline:none;
  background-color: #f1f1f1;
  outline:none;
  border: 1px solid #f1f1f1;
  color:#444;
}

.search-panel {
  background-color:#f7f7f7;
  overflow:hidden;
  padding:1em 1em 0 1em;
  border-radius: .5em;
  margin-top: 1em;
}

.search-panel h2 {
  font-size: 1.25em;
  margin:0 0 .5em 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}


.search-form input[type=text] {
  width:100%;
  font-size: 1.125em;
  font-family: 'Roboto', Helvetica, Arial, Sans-Serif;
  padding:.5em;
  box-sizing: border-box;
  font-weight: 300;
}

.search-form input[type=submit] {

    font-family: 'Roboto', Helvetica, Arial, Sans-Serif;


    padding:.5em 1em; 
    background-color: #eee;
/*    background:#ccc; */
    /*border:1px solid #ccc;*/
    border:none;
    cursor:pointer;
    border-radius: 5px; 
    margin-top: .5em;
    font-weight: 400;
    transition: .3s;
    width:100%;
      font-size: 1.125em;
}

.search-form input[type=submit]:hover {
    font-family: 'Roboto', Helvetica, Arial, Sans-Serif;
    background-color: #333;
    color:#fff;
}



@media (min-width: 500px) {
  .search-form input[type=text] {
    width:70%;
    float: left;
  }
  .search-form input[type=submit] {
    width:25%;
    margin-left: 5%;
    margin-top: 2px;
  }


}




/*@media (min-width: 640px) {
  .site-header .primary-menu {
    position: absolute;
    top:20px;
    float:right;
  }

  .site-header {
    text-align: left;
  }
}
*/


.standard-button {
  background-color: #f7f7f7;
  padding:1em 1.5em;
  margin-top: .5em;
  display: inline-block;
  font-weight: 700;
  border-radius: .25em;
  color:#333;
  font-size: .7em;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all .3s;

}

.standard-button:hover {
  opacity: 1;
  background-color: #333;
  color:#fff;
}


/* Scaling Text
---------------------------------------------- */

/*.scaling-text {
  font-size: 100%;
}

@media (min-width: 400px) {
  .scaling-text {
    line-height: 1.4;
    font-size: 105%
  }
}*/



article {
  padding:1em 0 1.5em 0;
 /* border-bottom: 1px dotted #eee;*/

}


.articles-section {
  /*border-top: 1px solid #eee;*/
  margin-top: 2em;
}

@media (min-width: 500px) {
  .scaling-text {
  /*  line-height: 1.5;*/
    font-size: 110%
  }
}

@media (min-width: 800px) {
  .scaling-text {
    font-size: 115%
  }
}
/*@media (min-width: 700px) {
  .scaling-text {
    font-size: 120%
  }
}

*/


.small-title {
  font-size: .8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin:2em 0 0 0;

}


.question {

/*font-weight: 500;*/
/*font-style: italic;*/
font-size: 110%;
 font-weight: 400;
}


.add-space-1 {
  width:100%;
 /* height:300px;*/
  display: block;
/*  margin-bottom: 2em;*/
   max-width: 300px;
   /*text-align: center;*/
   margin: 0 auto 2em auto;
}

.circle-image {
  border-radius: 50%;
}

.profile-image {
  max-width: 150px;
  margin: .5em auto 0 auto;
  display: inline-block;
}

.welcome-panel {
  text-align: center;
  padding:1em 0 0 0;
  margin-top: 1em;
  max-width: 440px;
  margin: 0 auto;

}

.welcome-panel h3 {
  font-size: 90%;
  letter-spacing: 1.5px;
}


.discounts-and-affiliates {
  clear: both;
  background-color: #f7f7f7;
  width:100%;
  margin-top: 4em;
  display: inline-block;
  text-align: center;
  padding: 1.5em 0 1em 0;
}

.discounts-and-affiliates article{
 /* width:22%;
  margin:1.5%;*/
  padding:0;
  margin: 0 auto 2em auto;
  max-width: 300px;
}

.discounts-and-affiliates img{
margin:0;
padding:0;
display: inline-block;
width: 100%!important;
height:auto!important;
}

.discounts-and-affiliates h3{

  margin: .5em 0 1.5em 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1em;
}

.discounts-and-affiliates h4{
  font-weight: 300;
  margin: 0 0 1em 0;
}

@media (min-width: 500px) {
  .discounts-and-affiliates article, .add-space-1{
    width:47%;
    margin:1.5%;
    padding:0;
    float: left;
  }
}

@media (min-width: 800px) {
  .discounts-and-affiliates article {
    width:22%;
    margin:1.5%;
    padding:0;
    float: left;
  }
}

@media (min-width: 800px) {
  .add-space-1 {
    max-width:48%;
    margin:1.5%;
    padding:0;
    float: left;
  }
}



@media (min-width: 1000px) {
  .add-space-1{
    width:100%;
    max-width:100%;
   /* margin:1.5%;*/
    padding:0;
    float: left;
    margin-bottom: 2em;
  }
}





/*! Flickity v2.0.10
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button:hover { background: white; }

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  opacity: 0.6;
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}





/* Slider (Home Page)
--------------------------------------------- */

.gallery {
  display: inline-block;
  background-color: #f2f2f2;
  width:100%;
  max-width: 2200px;
  margin: 2em 0;
}

.gallery, .slide {
  height:330px;
}

/*Flickity button adjustment*/

.flickity-prev-next-button {
  -webkit-transition: 0.44s ease-in-out;
  -moz-transition: 0.44s ease-in-out;
  transition: 0.44s ease-in-out;
}

/*Hide flickity buttons on small screens*/

.flickity-prev-next-button {
  opacity: .4;
}

.flickity-prev-next-button:hover {
    opacity: .85;
  }





.gallery h1, .gallery h2 {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.25;
}

.gallery img {
  display: block;
  width:100%;
  top:0;
  position: absolute;
}

.slide-content {
  width: 100%;
  height:100%;
  padding:1em 8%;


/*  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuNzIiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background: -moz-linear-gradient(-45deg,  rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%); 
  background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,0.72)), color-stop(100%,rgba(0,0,0,0)));
  background: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0.72) 0%,rgba(0,0,0,0) 100%); 
  background: -o-linear-gradient(-45deg,  rgba(0,0,0,0.72) 0%,rgba(0,0,0,0) 100%);
  background: -ms-linear-gradient(-45deg,  rgba(0,0,0,0.72) 0%,rgba(0,0,0,0) 100%); 
  background: linear-gradient(135deg,  rgba(0,0,0,0.72) 0%,rgba(0,0,0,0) 100%); 
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b8000000', endColorstr='#00000000',GradientType=1 ); */
  color:#fff;
  text-align: left;
  z-index: 333;
  position: absolute;
  top:0;
  left:0;
  box-sizing: border-box;
}

.slide {
  margin:0;
  width:100%;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
}

.slide a {
  background-color: rgba(255,255,255,1);
  border: 1px solid #fff;
  color:#000;
  padding:1em 1.8em;
  font-weight: 600;
  -webkit-transition: 0.44s ease-in-out;
  -moz-transition: 0.44s ease-in-out;
  transition: 0.44s ease-in-out;
}

.slide a:hover {
/*  background-color: rgba(255,255,255,.6);*/
  background-color: rgba(0,0,0,.4);
  border: 1px solid #fff;
  color:#fff;
  opacity: 1;
}

.slide p {
  padding-bottom: 1.3em;
  max-width: 500px;
  line-height: 1.4;
  color:#fff;
}

.slide-content h2 {
  margin-top: 1em;
}


@media screen and (min-width: 600px) {
  .slide-content {
    padding: 0 10% 0 10%;
  }

  .gallery h1, .gallery h2 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .slide p {
    font-size: 1.2rem;
  }

}


@media screen and (min-width: 994px) {
  .gallery h1, .gallery h2 {
    font-size: 2.6rem;
    line-height: 1.3;
  }

  .slide-content {
    padding-top: 3.5em;
  }

  .slide-content h2 {
    margin-top: 0;
  }



}





.categories-list {
  list-style: none;
  padding:0;
  margin-top: 1em;
}


.categories-list li {
  background-color: #fff7ef;
  display: inline-block;
  border-radius: .25em;
  padding:.75em 1em;
  margin: 0 .75em 1em 0;
  transition: background-color .3s;
}

.categories-list li:hover {
  background-color: #ede6de;
  color:#222;
}

.categories-list li a {
  color:#333;
}


