/*
Theme Name: BirchTree Blogging Theme
Author: Matt Birchler
Authur URI: http://birchtree.me
Description: A simple blogging theme for first time writers.
Version: 1.0
License: GNU...
*/

/********** GENERAL RESET **********/

html, div, body {
  padding:0;
  margin:0;
  font-family: "source-sans-pro", "Lato", -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #8138c7;
}

/********** FONTS & ANIMATIONS **********/

@font-face {
    font-family: 'ralewayblack_italic';
    src: url('/wp-content/fonts/railway/raleway-blackitalic-webfont.eot');
    src: url('/wp-content/fonts/railway/raleway-blackitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/fonts/railway/raleway-blackitalic-webfont.woff2') format('woff2'),
         url('/wp-content/fonts/railway/raleway-blackitalic-webfont.woff') format('woff'),
         url('/wp-content/fonts/railway/raleway-blackitalic-webfont.ttf') format('truetype'),
         url('/wp-content/fonts/railway/raleway-blackitalic-webfont.svg#ralewayblack_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@keyframes cyclecolors

	{
		0%  {background:#43d1b3;}
		20%  {background:#e7b95a;}
		40%  {background:#e7526a;}
		60% {background:#8f45c8;}
		80% {background:#4c98e2;}
	}

@-webkit-keyframes cyclecolors /* Safari */
	{
		0%  {background:#43d1b3;}
		20%  {background:#e7b95a;}
		40%  {background:#e7526a;}
		60% {background:#8f45c8;}
		80% {background:#4c98e2;}
	}

@-moz-keyframes cyclecolors /* Firefox */
	{
		0%  {background:#43d1b3;}
		20%  {background:#e7b95a;}
		40%  {background:#e7526a;}
		60% {background:#8f45c8;}
		80% {background:#4c98e2;}
	}


/********** HEADER **********/

#top-page {
  /*background-color: #ee6e73;*/
  /*text-align: center;*/
}

#site-title {
  font-family: 'ralewayblack_italic', -apple-system, sans-serif;
  font-size: 2em;
  text-align: center;
  padding-top: 0em;
  text-transform: uppercase;
  letter-spacing: .2em;
}

#site-title a {
  color: black;
  text-decoration: none;
}

#site-title a:hover {
  color: #6a2ea2;
}

#site-description {
  font-size: 1.3em;
  color: grey;
  font-style: italic;
  margin-bottom: 1.5em;
  text-align: center;
}

/********** COLOR SPLASH **********/
#color_container {
  height: 15px;
}

.single_color {
  height: 15px;
  width: 20%;
  position: fixed;
  z-index: 3;
}

#color1 {
  background-color: #8f45c8;
  left: 0;
}

#color2 {
  background-color: #4c98e2;
  left: 20%;
}

#color3 {
  background-color: #43d1b3;
  left: 40%;
}

#color4 {
  background-color: #e7b95a;
  left: 60%;
}

#color5 {
  background-color: #e7526a;
  left: 80%;
}

/********** NAVIGATION **********/

.menu-mainnavi-container {
  margin-top: 0.2em;
  font-family: 'nimbus-sans-condensed';
  font-size: 1.3em;
  font-weight: bold;
}

.menu-mainnavi-container ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 0.5em;
}

.menu-mainnavi-container ul li a {
  color: #454444;
  text-decoration: none;
}

.menu-item-2088 a {
    color: #42a4b0;
}

/*.nav-toggle {
  color: white;
  display: block;
  position: absolute;
  width: 100%;
  height: 20px;
  text-align: center;
  top: 0px;
  font-size: 0.9em;
  font-weight: bold;
  z-index: 4;
}

.page_item {
  background-color: #e3e3e3;
  margin-top: 0.3em;
  margin-left: 2em;
  margin-right: 2em;
}*/

.nav-toggle {
  display: block;
  padding-left: 0.5em;
  margin-top: 0em;
  font-size: 1.5em;
}

.menu-item {
  background-color: #e3e3e3;
}


#secondary-navigation {
  display: none;
}

/*************AD BANNER*************/

#sponsorContainer {
  margin-bottom: 2em;
  text-align: center;
}

#carbonads {
  display: block;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 2em;
  padding: 1em;
  max-width: 330px;
  border: solid 1px #8138c7;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.5;
}

  #carbonads span {
    display: block;
    overflow: hidden;
  }

  .carbon-img {
    float: left;
    margin-right: 1em;
  }

  .carbon-text {
    display: block;
    float: left;
    max-width: calc(100% - 130px - 1em);
    text-align: left;
  }

  .carbon-poweredby {
    display: block;
    float: right;
    margin-top: -1.9em;
    font-size: .8em;
  }

#disclaimer {
  color: grey;
  font-style: italic;
  padding-bottom: 0em;
  margin-bottom: 0.3em;
  margin-top: 0em;
  padding-top: 0em;
}

#displayText {
  background-color: #43d1b3;
  -webkit-animation:cyclecolors linear infinite;
  -webkit-animation-duration: 140s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  color: white;
  margin: auto;
  margin-bottom: 1.2em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  max-width: 800px;
  border-radius: 0px;
}

#displayText a:hover {
  background-color: #333;
  border-radius: 0px;
}

#displayText a {
  color: white;
  border-bottom: none;
}

#displayText a:hover {
  background-color: none;
}

/********** SIDE BUTTONS **********/

.buttons {
  position: fixed;
  right: 8px;
  padding-right: 40px;
  transition-duration: 400ms;
  z-index: 2;
  width: 15px;
  height: 15px;
  padding-left: 4px;
  margin-right: -45px;
  border-radius: 0px;
}

.hasscrolled {
  right: -40px;
  transition-duration: 400ms;
}

#twitter-side {
  top: 20px;
  background-color: #55acee;
  padding-top: 17px;
  padding-bottom: 17px;
}

#rss-side {
  top: 68px;
  background-color: #f08517;
  padding-top: 17px;
  padding-bottom: 17px;
}

#twitter-icon {
  background-color: #55acee;
  width: 1.8em;
  height: 1.8em;
  border-radius: 0.85em;
  position: absolute;
  right: 0.8em;
  top: 1.2em;
}

#rss-icon {
  background-color: #f08517;
  width: 1.8em;
  height: 1.8em;
  border-radius: 0.85em;
  position: absolute;
  right: 3.1em;
  top: 1.2em;
}

/********** TITLE AND META **********/

.entry-title {
  font-family: 'nimbus-sans-condensed', "PT Sans Narrow", -apple-system, sans-serif;
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 0.3em;
  display: block;
  margin: auto;
  max-width: 700px;
}

.entry-title a {
  text-decoration: none;
}

.entry-meta {
  text-align: center;
  margin: auto;
  max-width: 40em;
}

.reading_time {
  font-style: italic;
  color: grey;
}

#meta_hr {
  width: 70%;
  border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}


/********** GENERAL **********/

.entry-content {
  padding: 1em;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.02em;
  font-family: 'source-sans-pro', sans-serif;
}

.entry-content p {
  margin-bottom: 1em;
  line-height: 1.4em;
}

p a {
  padding: 0px;
  transition: all .16s ease-in-out;
  transition-delay: all .16s ease-in-out;
  -moz-transition: all .16s ease-in-out;
  -webkit-transition: all .16s ease-in-out;
  text-decoration: none;
  border-bottom: 2px solid rgba(106, 46, 162, 0.59);
}

p a:hover {
  color: white;
  background-color: #6a2ea2;
  border-radius: 2px;
  padding: 0px;
  transition: all .16s ease-in-out;
  transition-delay: all .16s ease-in-out;
   -moz-transition: all .16s ease-in-out;
   -webkit-transition: all .16s ease-in-out;
}



em {
  font-style: italic;
}

strong {
  font-weight: 700;
}

.wp-post-image {
  width: 100%;
  height: auto;
  margin-top: 1em;
}

img {
  max-width: 100%;
  display: block;
  margin: auto;
}

p iframe {
  display: block;
  margin: auto;
  max-width: 100%;
}

ul {
  margin-bottom: 1em;
  list-style-type: disc;
}

ol {
  margin-bottom: 1em;
  list-style-type: decimal;
}

li {
  margin-bottom: 0.2em;
  line-height: 1.3em;
  letter-spacing: 0.03em;
}

audio {
  width: 100%;
}

.entry-content hr {
  margin: 2em 0em 2em 0em;
}

.entry-content h1, h2, h3, h4, h5 {
  font-family: 'PT Sans Narrow', -apple-system, sans-serif;
  /*border-bottom: 3px solid rgba(143, 69, 200, 0.32);*/
}

.entry-content h1 {
  font-size: 2.1em;
}

.entry-content h2 {
  font-size: 1.9em;
}

.entry-content h3 {
  font-size: 1.7em;
}

.entry-content h4 {
  font-size: 1.5em;
}

.entry-content h5 {
  font-size: 1.3em;
}

blockquote {
  font-style: italic;
  color: #707070;
  padding-left: 1.4em;
  border-left: 1px solid #908f8f;
  margin-left: 0em;
  margin-right: 1em;
}

.footnotes {
  display: none;
}

code {
  font-family: monospace;
  word-wrap: break-word;
  background-color: #f0e0ff;
  margin-bottom: 1.3em;
}

pre {
  font-family: monospace;
  width: 100%;
  background-color: #f0e0ff;
  line-height: 1.2em;
  padding: 6px;
  border-radius: 5px;
  margin-bottom: 1.3em;
}

#respond {
  display: none;
}

/*.footnote-button {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  transition: none !important;
  padding: 7px;
}

.footnote-button:hover {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  transition: none !important;
  padding: 7px;
}*/

.footnote-button:hover {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  transition: none !important;
  padding: 6.5px;
  border-radius: 5px;
}

.gallary_inline p {
  display: inline;
}

.gallary_inline img {
  max-width: 330px;
  display: inline;
  margin: 3px;
}

.gallary_inline img {
  background:rgba(0,0,0,.75);
  opacity:1;
  -webkit-transition: opacity .25s ease;
  -moz-transition: opacity .25s ease;
  border: none;
}

.gallary_inline img:hover {
  opacity: 0.8;
}

.gallary_inline a:hover {
  background-color: rgba(255, 255, 255, 0);
}

.desktop-thumb {
  display: block;
  margin: auto;
  width: 95%;
  height: auto;
}


/********** FOOTER **********/

.entry-footer {
  display: block;
  margin: auto;
  width: 95%;
}

#bottom_hr {
  display: block;
  margin: auto;
  width: 90%;
  margin-top: 2em;
  border-top: 1px dotted #8c8b8b;
}

#nav-below {
  display: flex;
  font-size: 0.8em;
  justify-content: space-between;
  margin: auto;
  margin-bottom: 4em;
  margin-top: 2em;
  width: 95%;
  max-width: 700px;

}

.nav-previous {
  font-size: 1.2em;
  width: 48%;
}

.nav-previous:hover {
  -webkit-animation-name: tada; /* Chrome, Safari, Opera */
  -webkit-animation-duration: 0.4s; /* Chrome, Safari, Opera */
  animation-name: tada;
  animation-duration: 0.4s;
  position: relative;
}

.nav-next {
  font-size: 1.2em;
  width: 48%;
  text-align: right;
}

.nav-next:hover {
  -webkit-animation-name: tada; /* Chrome, Safari, Opera */
  -webkit-animation-duration: 0.4s; /* Chrome, Safari, Opera */
  animation-name: tada;
  animation-duration: 0.4s;
  position: relative;
}

.footerText {
  text-align: center;
}

.center {
  text-align: center;
}

.post-edit-link {
  display: block;
  margin: auto;
  text-align: center;
  width: 4em;
  border: 3px solid #871ACD;
  border-radius: 3px;
  text-decoration: none;
}

.entry-footer {
  margin-bottom: 3em;
}


#wallpaper-container {
  width: 100%;
}

#wallpaper-container p {
  display: inline-block;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#wallpaper-container iphone-thumb {
  display: inline-block;
  width: 130px;
  height: 231px;
  margin: 5px;
}

#wallpaper-container p a {
  margin: 0px;
  padding: 0px;
  border: none;
}

#wallpaper-container img {
  margin: 2px;
}

.chartContainer {
    max-width: 800px;
}




/*******************************RESPONSIVE********************************/
/*************************************************************************/
/*************************************************************************/
/*************************************************************************/


@media only screen and (min-width: 40em) {

  #top-section {

  }

  #top-page {

  }

  #branding {
    margin-top: 2em;
  }

  #site-title {
    font-size: 3.3em;
  }

  #secondary-navigation {
    display: block;
  }

  #second-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 2em;
  }

  #second-menu li {
    margin: 0.4em;
    font-size: 1.2em;
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 3px solid rgba(0, 0, 0, 0.12);
    -webkit-transition: border 700ms ease;
    -moz-transition: border 700ms ease;
    -ms-transition: border 700ms ease;
    -o-transition: border 700ms ease;
    transition: border 700ms ease;
  }

  #second-menu li a {
    -webkit-transition: border 00ms ease;
    -moz-transition: border 00ms ease;
    -ms-transition: border 00ms ease;
    -o-transition: border 00ms ease;
    transition: border 00ms ease;
  }

  #second-menu li:hover {
    border-bottom: 3px solid rgba(143, 69, 200, 1.0);
  }

  /*#second-menu li a:hover {
    color: rgba(143, 69, 200, 1.0);
  }*/

  #sponsorContainer {
    margin-top: 2em;
  }





  .entry-title {
    font-size: 3em;
  }

  .entry-content {
    display: block;
    margin: auto;
    max-width: 700px;
    font-size: 1.2em;
  }

  .entry-date {
    font-size: 1.2em;
  }

  .reading_time {
    font-size: 1.2em;
  }

  .wp-post-image {
    max-width: 900px;
  }

  #entry-content-container {

  }

  .entry-footer {
    max-width: 700px;
  }

  footer {
    display: block;
    margin: auto;
    max-width: 700px;
    font-size: 1.3em;
  }

  footer a {
    text-decoration: none;
  }


}
