/*
 * ImageHover.css - Demo Page
 * Author: Ciarán Walsh

 * Made available under a MIT License:
 * http://www.opensource.org/licenses/mit-license.php

 */
@import url(http://fonts.googleapis.com/css?family=Roboto);
hr {
  margin-top: 2em;
  border: none;
  height: 1px;
}
.sep {
  color: #ddd;
  margin: 0 4px;
}
.demo {
  display: inline-block;
  width: 24%;
  padding: 10px;
  box-sizing: border-box;
}
.demo textarea {
  box-sizing: border-box;
  font-family:Calibri;
  font-size: 0.9em;
  height: 36px;
  padding: 6px 0px;
  resize: none;
  text-align: center;
  width: 100%;
  border: 3px solid rgba(89, 89, 89, 1);
}
img {
  border: none;
}
small {
  display: block;
}
p {
  font-family: 'Roboto', sans-serif;
  margin: 0 0 15px;
  text-align:center;
}
.sup {
  vertical-align: super;
  margin-left: -1em;
  padding: .3em .5em;
  line-height: 100%;
  font-size: .22em;
  border: #eee solid 1px;
  border-radius: 4px;
  color: inherit;
  background-color: #fff;
}
.sup:hover {
  background: #eee;
}
a {
  color: #2098D1;
  text-decoration: none;
}
.effects {
  margin: auto;
  max-width:1000px;
}
	h1 {
	  text-align: left;
	  font-size: 2em;
	}
	h2 {
	  margin-top: 0;
	  color: #888;
	  line-height: 1.2em;
	}
	h3 {
	  font-family:Calibri;  
	  font-size:30px;
	  text-align:center;
	  margin: 0;
	  color: #595959;
	  margin: 0 0 15px;
	}
pre.prettyprint {
  background-color: #eee;
  padding: 20px 30px !important;
  border: none !important;
  margin: 30px 0;
}
#forkongithub {
  display: none;
}
#forkongithub a {
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: arial, sans-serif;
  text-align: center;
  font-weight: bold;
  padding: 5px 40px;
  font-size: 1rem;
  line-height: 2rem;
  position: relative;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
#forkongithub a:hover,
#forkongithub a:focus,
#forkongithub a:active {
  background: #2098D1;
  color: #fff;
}
#forkongithub a::before,
#forkongithub a::after {
  content: "";
  width: 100%;
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  height: 1px;
  background: #fff;
}
#forkongithub a::after {
  bottom: 1px;
  top: auto;
}
@media only screen and (max-width: 959px) {
  .demo {
    width: 32.5%;
  }
}
@media only screen and (max-width: 659px) {
  .demo {
    width: 49%;
  }
}
@media only screen and (max-width: 360px) {
  .demo {
    width: 100%;
  }
}
@media only screen and (min-width: 360px) {
  h1 {
    font-size: 3em;
  }
}
@media screen and (min-width: 1280px) {
  #forkongithub {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    width: 200px;
    overflow: hidden;
    height: 200px;
  }
  #forkongithub a {
    width: 200px;
    position: absolute;
    top: 60px;
    right: -60px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
  }
  .ad__preview a {
    display: inline-block;
    width: 32%;
  }
  .ad__preview .second {
    margin: 0 2%;
  }
}
.ad {
  margin-top: 2em;
  text-align: center;
}
