/*
Theme Name: SYA
Author: R Ratner
Author URI: http://www.rachelratner.com
Version: 1.0
*/

@import 'styles/fonts.css';

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,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
html {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
code,
kbd,
tt,
var {
  font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}
sup,
sub {
  font-size: 75%;
  height: 0;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  bottom: 1ex;
}
sub {
  top: .5ex;
}
small {
  font-size: 75%;
}
big {
  font-size: 125%;
}
figure {
  margin: 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
th {
  font-weight: bold;
}
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
button,
input {
  line-height: normal;
  *overflow: visible;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: none;
  border-radius: 10px;
  background: #ccc;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  -webkit-appearance: button;
  font-size: 12px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 1.12em 1.5em 1em;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  -moz-box-shadow: 0 0 3px rgba(0,0,0,0.5);
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input[type=text],
input[type=email],
textarea {
  color: #888888;
  border: 1px solid #dddddd;
  border-radius: 5px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  color: #101010;
}
input[type=text],
input[type=email] {
  padding: 3px;
}
textarea {
  overflow: auto;
  padding: 10px;
  vertical-align: top;
  width: 98%;
}

/* styles
-------------------------------------------------------------- */
body,
button,
input,
select {
  padding: 0;
  margin: 0;
  background: #ffffff;
  font-family: Helvetica, sans-serif;
  line-height: 26.64px;
  font-size: 18px;
  font-size: 1.8rem;
}

/* typography
-------------------------------------------------------------- */
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: "HelveticaNeueLT-ExtBlackCond", Helvetica, sans-serif;
}
h1 {
  line-height: 80px;
  font-size: 48px;
  font-size: 4.8rem;
}
h2 {
  line-height: 50px;
  font-size: 34px;
  font-size: 3.4rem;
}
h3 {
  line-height: 41px;
  font-size: 28px;
  font-size: 2.8rem;
}
h4 {
  line-height: 26px;
  font-size: 18px;
  font-size: 1.8rem;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
/* Text elements */
p {
  margin-bottom: 1.5em;
}
ul,
ol {
  margin: 0 0 1.5em 3em;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
ul ul,
ol ol,
ul ol,
ol ul {
  margin-bottom: 0;
  margin-left: 1.5em;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 1.5em 1.5em;
}
b,
strong {
  font-weight: bold;
}
dfn,
cite,
em,
i {
  font-style: italic;
}
blockquote {
  margin: 0 1.5em;
}
address {
  margin: 0 0 1.5em;
}
pre {
  background: #eee;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 0.7em;
  line-height: 1.5em;
  margin-bottom: 1.6em;
  padding: 1.6em;
  overflow: auto;
  max-width: 100%;
  box-shadow: 0 3px 5px #ddd inset;
}
/* Links */
a {
  text-decoration: none;
  color: rgba(255,0,0,1);
}
a:hover,
a:focus,
a:active,
a:visited {

  color: rgba(255,0,0,0.8);
}

img {
  max-width: 100%;
}
/* Header
-------------------------------------------------------------- */

.site-description{
  font-style: italic;
}

header .gravatar {
  overflow: hidden;
  width: 100px;
  height: 100px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin: 0;
  float: right;
}
header #brand {
  margin:1em 0;
}
header #brand h1 {
  font-weight: 900;
  color: #565656;
  font-size: 16px;
  font-size: 1.6rem;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.45em;
}
header #brand h1 a {
  color: #565656;
  text-decoration: none;
}
header #brand h1 span {
  font-weight: 200;
  color: #888888;
  text-transform: lowercase;
}
header nav {
  font-family: "HelveticaNeueLT-Condensed", Helvetica, sans-serif;
}
.menu-main-nav-container, .menu-main-container {
  float: right;
}

header nav ul {
  list-style: none;
  margin: 0;
}
header nav ul li {

  text-align:left;
  height: 20px;
}
header nav ul li a {
  color: #000;
  font-size: 16px;
  text-transform: uppercase;
}

header nav ul li a:active,
header nav ul li a:visited,
header nav ul li a:hover {
  color: #000;
}
header nav ul li a {
  font-family: "HelveticaNeueLT-Black", Helvetica, sans-serif;
  color: #000;
}

header nav ul li a:hover {
  font-family: "HelveticaNeueLT-BoldOutline", Helvetica, sans-serif;
  color: #000;
}

#masthead {
  height: 60px;
}

#hamburger {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #000;
  font-size: 30px;
  background-image:url('img/hamburger.gif');
  background-repeat: no-repeat;
  height:30px;
  width: 30px;
  background-size: 100%;
}
#hamburger:active, #hamburger:visited{
  color: #000;
}

.main-navigation {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  background-color: #fff;
  height: 50px;
}
.main-navigation.show{
  position: fixed;
  z-index:1;
}
.logged-in .main-navigation {
  top: 30px;
}
.main-navigation .menu {
  padding: 15px;
  display: none;
}
.menu {
  background-color: #fff;
}

.main-navigation.show .menu {
  display:block;
}
.main-navigation.show #hamburger {
  display: none;
}

.default-page, .page-template-page-contact {
  max-width: 700px;
  margin: auto;
}

/* Misc & mixens
-------------------------------------------------------------- */
/*.site-footer{
}*/
.hide-text {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
.clear {
  clear: both;
}
/* clear floats */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.clearfix {
  display: inline-block;
}
html[xmlns] .clearfix {
  display: block;
}
* html .clearfix {
  height: 1%;
}

/* Homepage */
.logo {
  height: 70%;
  min-height: 200px;
  max-height: 700px;
  margin-bottom: 20px;
}
.sya{
  padding: 0 15px;
  max-width: 700px;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
}
.page-template-page-protest .sya {
  max-width: 1000px;
}
.page-template-page-protest h2 {
  margin-bottom: 60px;
}
.banner {
  font-family: 'HelveticaNeueLT-ExtBlackCondObl', Helvetica, sans-serif;
}

.home #content {
  text-align: center;
}
/* video content */
.video-content {
  margin: 20px auto;
  /*width: 70%;
  float: left;
  margin-bottom: 30px;
  max-width: 700px;*/

}
.video-content iframe {
  display: block;
  margin: auto;
  width:640px; 
  height:360px;
  max-width: 100%;
}
.video-content .video-thumb  {
 /* width: 48%;
  margin: 0 1% 1%;
  float: left;
  position: relative;*/
}
.video-content .play {
  background-image: url('../sya/img/youtube.png');
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  height: 35px;
  width: 50px;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0.9;
}
.video-content .play:hover{
  opacity: 1;
}
.video-content p {
  display: inline;
}
.video-sidebar {
  width: 19%;
  float: left;
  max-width: 200px;
}
#video-modal {
  display:none;
  height: 100%;
  width: 100%;
  position: fixed;
  background-color: #000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
#video-modal.show {
  display: block;
  z-index: 1;
}
#video-modal .close {
  position: absolute;
  right: 50px;
  top: 50px;
  color: #fff;
}

#ytplayer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}


.page-id-19 h1{
  font-size: 3.8rem;
}

/* protest examples */
.protest_examples li {
  display: inline-block;
  width: 30%;
  vertical-align: text-top;
  margin: 5px;
  padding: 5px;
  margin-bottom: 2rem;
  cursor: pointer;
}
.protest_examples p {
  margin-bottom: 0.5rem;
}
.protest_examples {
  padding: 0;
  margin: 0;
}

.protest_examples a,.protest_examples a:hover, .protest_examples a:visited {
  color: black;
}

.protest_examples li .download {
  padding: 5px 10px;
  background-color: red;
  color: white;
  border-radius: 5px;
  border: 1px inset #DC0202;
}

.protest_examples li:hover .download {
  border: 1px outset #dc0202;
}
#color_rect {
  height: 430px;
  width: 300px;
  background-color: #ccc;
}
.transparent_image{
  width: 100%;
  height: 100%;
  background-size: 100%;
  background-repeat:no-repeat;
}
#hashtag{
  width: 260px;
  padding: 15px;
  display: none;
}
#hashtag.show{
  display: block;
}
#sya {
  display: none;
  width: 230px;
  padding: 25px;
}
#sya.show{
  display:block;
}
#customText{
  display:none;
  position: relative;
}
#customText.show{
  display:block;
}
#custom{
  display:none;
  width: 260px;
  padding: 15px;
  font-size: 40px;
  line-height: 1;
  font-family: "HelveticaNeueLT-Condensed", Helvetica, sans-serif;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
#custom.show{
  display:block;
}
.blog h1 a {
  color: #000;
  text-decoration: none;
}
.single-post h1, .blog h1 {
  font-size:4.3rem;
  text-align: center;
}
.single-post iframe, .blog iframe {
  width: 100%;
  height: 600px;
}
iframe {
  max-width: 100%;
}

/* homepage override*/

.home .post {
  display: none;
}
.home .hasContent .post {
  display: block;
}

.home .hasContent#content {
    text-align: center;
    position: absolute;
    max-width: 750px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 350px;
}
.hasContent .logo {
    display: inline-block;
    width: 30%;
    height: auto;

}
.home .hasContent .post {
    display: inline-block;
    width: 63%;
    vertical-align: top;
    text-align: left;
    margin: auto;
    max-width: 430px;
    margin-left: 30px;
}
.hasContent .banner {
  display:none;
}
.hasContent h2{
  font-size: 2.8rem;
}


@media only screen and (max-width: 767px) {
  .single-post h1, .blog h1 {
    font-size:2.9rem;
    line-height: 1.5;
  }
  .single-post h2, .blog h2 {
    font-size:2.4rem;
  }
  .main-navigation{
/*    position: absolute;
*/    margin-top:0;
      top:0;
  }
  .logged-in .main-navigation {
    top: 0;
  }
  #masthead {
    height: 40px;
  }
  #masthead.open{
    height: 180px;
  }
  .video-content {
    width: 100%;
    float: none;
  }

  .video-content iframe {
/*    width: 100%;
    margin: 0;
    float: none;*/
  }


  .video-sidebar {
    width: 100%;
    float: none;
  }
  .protest_examples {
    width: 100%;
    max-width: 400px;
    margin: auto;
  }
  .protest_examples li {
    width: 100%;
    float:none;

  }

   .home .hasContent#content {
    text-align: center;
    position: relative;
    max-width:100%;

  }
  .hasContent .logo {
      display: block;
      width: 90%;
      height: auto;
      margin: 20px auto;
      max-width: 300px;
  }

  .home .hasContent .post {
      display: block;
      width: 100%;
      margin: auto;
  }
}


@media only screen and (max-width: 460px){
  .sya {
    max-width: 100%;
    margin-top: 20px;
  }
  .video-content iframe{
    height: 260px;
  }
  .hasContent h2 {
    font-size:1.8rem;
  }
  .single-post h1, .blog h1 {
    font-size:1.8rem;
  }
  .single-post h2, .blog h2 {
    font-size:1.6rem;
  }
  .main-navigation.show {
    width: 100%;
  }




}

.home-button {
    display: block;
    width: 12.5em;
    border: 2px solid rgba(255,0,0,0.8);;
    padding: 10px 20px;
    margin: 0 auto;
    text-align: center;
}
.home-button:hover {
    background: rgba(255,0,0,0.8);
    color: #fff;
}