/*
Theme Name: Pageant Soloveev Gallery - June 2019
Author: Equivocal LLC
Author URI: http://equivocal.org/
Description: Custom WordPress theme by Equivocal LLC for Pageant Soloveev Gallery - pageantsoloveev.com
Version: 1.0
*/

/** 
 *
 *  1- SETTINGS & CLASSES - FRAMEWORK
 *  1.1- PAGE LAYOUT
 *  1.2- PAGE TRANSITIONS
 *  2- SETTINGS & CLASSES - DISPLAY & TYPOGRAPHY
 *    2.1- TYPOGRAPHY SCALE 
 *  3- HEADER
 *  4- FOOTER
 *  4.1- MAILCHIMP SIGNUP
 *  5- PAGE CONTENT STYLES
 *  6- IMAGES / GALLERIES / MEDIA EMBEDS
 *  7– FULLSCREEN MENU
 *  8– MEDIA QUERIES
**/




html {}

html, body {
  height: 100%;
}

body {
  font-family: 'Crimson Text', serif;
  font-size: 22px;
  line-height: 1.75;
  color: #000000;
}

@font-face {
  font-family: 'function_prolight';
  src: url('font/functionpro-light-webfont.eot');
  src: url('font/functionpro-light-webfont.eot?#iefix') format('embedded-opentype'),
       url('font/functionpro-light-webfont.woff2') format('woff2'),
       url('font/functionpro-light-webfont.woff') format('woff'),
       url('font/functionpro-light-webfont.ttf') format('truetype'),
       url('font/functionpro-light-webfont.svg#function_prolight') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'function_probook';
  src: url('font/functionpro-book-webfont.eot');
  src: url('font/functionpro-book-webfont.eot?#iefix') format('embedded-opentype'),
       url('font/functionpro-book-webfont.woff2') format('woff2'),
       url('font/functionpro-book-webfont.woff') format('woff'),
       url('font/functionpro-book-webfont.ttf') format('truetype'),
       url('font/functionpro-book-webfont.svg#function_probook') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'icomoon';
    src:    url('icon/icomoon.eot?mcjx9j');
    src:    url('icon/icomoon.eot?mcjx9j#iefix') format('embedded-opentype'),
        url('icon/icomoon.ttf?mcjx9j') format('truetype'),
        url('icon/icomoon.woff?mcjx9j') format('woff'),
        url('icon/icomoon.svg?mcjx9j#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-mail:before {
    content: "\e900";
}
.icon-facebook:before {
    content: "\e901";
}
.icon-instagram:before {
    content: "\e902";
}
.icon-tumblr:before {
    content: "\e903";
}
.icon-youtube:before {
    content: "\e906";
}
.icon-arrow-right-1:before {
    content: "\e907";
}
.icon-arrow-right-2:before {
    content: "\e908";
}
.icon-check-1:before {
    content: "\e904";
}
.icon-check-2:before {
    content: "\e909";
}
.icon-chevron-right:before {
    content: "\e905";
}






/* =============================================================================
    1- SETTINGS & CLASSES - FRAMEWORK
   ========================================================================== */
   
div {
  position: relative;
}
figure {
  width: 100%;
  margin: 4em 0;
  text-align: center;
}
.block {
  display: block;
}
.font-zero {
  font-size: 0;
}
.mobile-hide {
  display: block;
  width: auto;
  height: auto;
}
.desktop-hide {
  display: none!important;
  width: 0;
  height: 0;
}




/* 1.1 PAGE LAYOUT
============================================================================= */

.page-margin-wrap {
  margin: 0 3.5%;
}

.page-wrap,
.footer-wrap,
.header-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.post-feature-wrap p,
.post p,
x.post-content-wrap {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.post ul, .post ol {
  max-width: 80%;
  text-align: left;
}

.post-content-wrap {
  margin-top: 1.5em;
}

.post-content-wrap,
.post-content-wrap p {
  text-align: left;
}

.post p.left {
  text-align: left;
}

#content {
  margin-bottom: 6em;
}

.full-width-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
}




/* 1.2 PAGE TRANSITIONS
============================================================================= */


#swipebox-overlay {
  -webkit-animation: fadein .35s; /* Safari, Chrome and Opera > 12.1 */ /* Firefox < 16 */ /* Internet Explorer */ /* Opera < 12.1 */
          animation: fadein .35s;
}
#swipebox-slider .slide.current {
  -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */ /* Firefox < 16 */ /* Internet Explorer */ /* Opera < 12.1 */
          animation: fadein 1s;
}

@keyframes fadein {
  from { opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); }
  to   { opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); }
}
@-webkit-keyframes fadein {
  from { opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); }
  to   { opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); }
}


#content,
#footer {
  -webkit-transition: opacity .1s, visibility .25s;
          transition: opacity .1s, visibility .25s;
}
#content.open,
#footer.open {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  visibility: hidden;
  -webkit-transition: opacity .1s, visibility .25s;
          transition: opacity .1s, visibility .25s;
}


/* SCROLLREVEAL ELEMENT HIDE */

html.sr .sr-hide {
  visibility: hidden;
  -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
  backface-visibility: hidden;  
}





/* =============================================================================
    2- SETTINGS & CLASSES - DISPLAY & TYPOGRAPHY
   ========================================================================== */

p {
  margin: 0 0 1.5em;
}

a, a:visited, button {
  text-decoration: none;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  color: #000;
}

a[class*='icon-'] {
  margin: 0 2%;
  color: #000;
}

h1, h2, h3, h4, h5 {
  font-family: 'function_probook', sans-serif; 
  letter-spacing: .009375em;
  text-transform: uppercase;
}

h1, h2 {
  margin-top: 1.375em;
  margin-bottom: 1em;
  font-size: 1.3125em;  
  letter-spacing: .009375em;
  line-height: 1.375;
}
h3 {
  margin-top: 1.5em;
  margin-bottom: 1.125em;
  font-size: 1.25em;
  line-height: 1.5;
}
h4, h5 {
  margin-top: 1.5em;
  margin-bottom: .25em;
  font-size: 1.09375em;
  letter-spacing: normal;
}

blockquote {
  margin: 1.5em 0;
  font-size: 1.75em;
  line-height: 1.375;
}

input[type="submit"] {
  -webkit-appearance: none;
}
.page-title {
  margin: .375em 0 1em;
  font-family: 'function_probook', sans-serif;
  font-size: 1.575em;
  letter-spacing: .125em;
  text-transform: uppercase;
  text-align: center;
  -webkit-transition: .15s;
  transition: .15s;
}
.section-break {
  margin: 3.875em auto 2.5em;
  margin-bottom: 2em;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
}
.post-content-wrap strong,
.post-content-wrap b {
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1;
}
.post-content-wrap em, .post-content-wrap i {
  padding-right: .125em;
  font-style: italic;
  line-height: initial;
  font-size: 1.0234375em;
  letter-spacing: -.00625em;
}
.post-content-wrap ul,
.post-content-wrap ol {
  margin: 0 auto 1.5em;
  padding-left: 2em;
}
.post-content-wrap ul ul, .post-content-wrap ol ol {
  margin: .375em 0 1em;
}
.post-content-wrap li {
  margin: .375em 0
}
.post-content-wrap ol li {
  padding-left: .25em;
}
.post-content-wrap a {
  border-bottom: 1px solid #555;
  -webkit-transition: border-color .175s;
          transition: border-color .175s;
}
.post-content-wrap a.no-border {
  border: 0 none;
}
.post-content-wrap a:hover {
  color: #000000;
  border-color: #ffffff;
}
.post-content-wrap hr {
  width: 100%;
  height: 1px;
  margin: 3em auto;
  border: 0;
  background-color: #555555;
}

/* ARTISTS ARCHIVE (LINK LIST) */

.post ul.artists-wrap {
  max-width: 900px;
  margin-left: 0;
  list-style: none;
  font-size: 1.25em;
  line-height: 1.4;
  text-align: center;
}
.artists-wrap li {
  display: inline-block;
  margin: .125em calc(.225em - 4px);
}
.artists-wrap li a {
  display: block;
  padding: 1.25em;
  white-space: nowrap;
}





/* =============================================================================
    3- HEADER
   ========================================================================== */

.header-logo-wrap,
.footer-logo-wrap {
  padding: 3.252em 0 1.436em;
  font-family: 'function_probook', sans-serif;
  font-size: 1.575em;
  letter-spacing: .275em;
  text-transform: uppercase;
  text-align: center;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.header-logo-wrap span, .footer-logo-wrap span {
  padding: 0 .1875em 0 .225em;
  font-size: 1.125em;
  line-height: .875em;  
}
.header-logo-wrap {
  padding: 2.125em 0 0;
}
.home #header .header-logo-wrap,
.error404 #header .header-logo-wrap {
  padding-bottom: 1.625em;
}
#toggle-wrap .header-logo-wrap {
  max-width: 100%;
  padding: 24px 0 0;
  text-align: left;
  -webkit-transition: opacity .175s 0s;
          transition: opacity .175s 0s;
}
#toggle-wrap .header-logo-wrap.fixed {
  -webkit-transition: opacity .5s .175s;
          transition: opacity .5s .175s;  
}
#toggle-wrap.fixed .header-logo-wrap.fixed.hide {
  -webkit-transition: opacity .5s 0s;
          transition: opacity .5s 0s;
}
#toggle-wrap.open .header-logo-wrap.fixed{
  -webkit-transition: opacity .35s 0s;
          transition: opacity .35s 0s;
}
#toggle-wrap .header-logo-wrap,
#toggle-wrap.open .header-logo-wrap,
#toggle-wrap.open .header-logo-wrap.fixed,
#toggle-wrap .header-logo-wrap.fixed.hide {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
}
#toggle-wrap .header-logo-wrap.fixed {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
}



.header-logo-wrap a,
.footer-logo-wrap a,
#footer .icons-wrap a,
.page-title a {
  color: #000;
  -webkit-transition: opacity .15s;
  transition: opacity .15s;
}
.header-logo-wrap a:hover,
.footer-logo-wrap a:hover,
#footer .icons-wrap a:hover,
.page-title a:hover {
  opacity: .5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
}




/* 3.1 FIXED HEADER
============================================================================= */

#header {
  -webkit-transition: opacity .175s;
          transition: opacity .175s;
}
#header.hide {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
}
#toggle-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  height: 73px;
  background-color: rgba(255,255,255,0);
  -webkit-transition: background-color .35s, z-index 2s linear;
          transition: background-color .35s, z-index 2s linear;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;  
  z-index: 1000;
}

html.swipebox-html #toggle-wrap {
  -webkit-transition: background-color .35s, z-index 2s linear;
  transition: background-color .35s, z-index 2s linear;
}


#toggle-wrap.fixed {
  height: 100px;
  background-color: rgba(255,255,255,1);
}
#toggle-wrap.page-margin-wrap {
  margin: 0;
  padding: 0 3.5%;
}
#toggle-wrap .page-wrap {
  -webkit-transition: max-width .35s;
          transition: max-width .35s;
}
#toggle-wrap.fixed .page-wrap {
  max-width: 1040px;
}
#toggle-wrap.fixed.open .page-wrap {
  max-width: 900px;
  -webkit-transition: max-width .35s .35s;
          transition: max-width .35s .35s;
}





/* =============================================================================
    4- FOOTER
   ========================================================================== */

#footer {
  padding-bottom: 8.111em;
}
#footer .page-wrap {
  border-top: 1px solid #555;
}
#footer .content-wrap {
  text-align: center;
}
#footer p {
  margin: 1em 0;
}
#footer .content-wrap p:nth-child(2n) {
  margin-top: -.75em;
  text-transform: uppercase;
}
.footer-logo-wrap {
  padding: 1.75em 0 .375em;
}
#footer .icons-wrap {
  margin: .925em 0;
  font-size: 2em;
}





/* 4.1- MAILCHIMP SIGNUP
============================================================================= */

/* FOOTER MAILCHIMP SUBSCRIBE FORM */

#mc_embed_signup,
#mc_embed_signup div {
  position: unset;
}
#mc_embed_signup form {
  position: relative;
  width: 100%;
  height: 3em;
  max-width: 550px;
  margin: 0 auto;
}
#mc_embed_signup #mc_embed_signup_scroll {
  position: relative;
  max-width: 550px;
  height: 3em;
  margin: 0 auto;
} 
#mc_embed_signup form input,
#mc_embed_signup form div.clear {
  height: 100%;
  border: 1px solid #000;
  border-radius: 0;
  background-color: #ffffff;
}
#mc_embed_signup form input.email {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 1em;
  font-family: 'Crimson Text', serif;
  color: #555;
  font-size: 1em;
}

#mc_embed_signup form div.clear {
  position: absolute;
  right: 0;
  padding: 0;
  width: 4.1875em;
  color: #ffffff;
  background: #000;
  cursor: pointer;
  -webkit-transition: .15s;
  transition: .15s;
}
#mc_embed_signup form div.clear:hover {
  border-color: rgba(0,0,0,.5);
  opacity: .5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
}
#mc_embed_signup form input.button {
  width: 100%;
  height: 100%;
  color: #000000;
  background-color: #000000;
  cursor: pointer;
}
#mc_embed_signup form div.clear span {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 1.375em;
}

/* INPUT PLACEHOLDER TEXT */

::-webkit-input-placeholder {
  font-style: italic;
  font-weight: 300;
  color: rgba(0,0,0,.8);
}
:-moz-placeholder { /* Firefox 18- */
  font-style: italic;
  font-weight: 300;
  color: rgba(0,0,0,.8);  
}
::-moz-placeholder {  /* Firefox 19+ */
  font-style: italic;
  font-weight: 300;
  color: rgba(0,0,0,.8);  
}
:-ms-input-placeholder {  
  font-style: italic;
  font-weight: 300;
  color: rgba(0,0,0,.8);  
}

::-webkit-input-placeholder { opacity: 1; -webkit-transition: opacity .125s; transition: opacity .125s; }  /* Chrome <=56, Safari < 10 */
:-moz-placeholder { opacity: 1; -moz-transition: opacity .125s; transition: opacity .125s; } /* FF 4-18 */
::-moz-placeholder { opacity: 1; -moz-transition: opacity .125s; transition: opacity .125s; } /* FF 19-51 */
:-ms-input-placeholder { opacity: 1; -ms-transition: opacity .125s; transition: opacity .125s; } /* IE 10+ */
::placeholder { opacity: 1; transition: opacity .125s; } /* Modern Browsers */

*:focus::-webkit-input-placeholder { opacity: 0; } /* Chrome <=56, Safari < 10 */
*:focus:-moz-placeholder { opacity: 0; } /* FF 4-18 */
*:focus::-moz-placeholder { opacity: 0; } /* FF 19-50 */
*:focus:-ms-input-placeholder { opacity: 0; } /* IE 10+ */
*:focus::placeholder { opacity: 0; } /* Modern Browsers */




/* =============================================================================
    5- PAGE CONTENT STYLES
   ========================================================================== */

a.featured-image-link {
  display: block;  
}


/* FEATURE WRAP */

.post-feature-wrap,
.post-features-wrap {
  text-align: center;
}
.post-feature-item:not(:last-child) {
  margin-bottom: 5.375em;  
}
.post-feature-wrap.archive-list,
.post-features-wrap.archive-list,
.artists-wrap a {
  margin: 0;
  margin-bottom: .75em;
  padding: 1.4375em 0 1.125em;
  border: 1px solid #ffffff;
  border-radius: 2px;
}
.post-feature-wrap.archive-list:hover,
.post-features-wrap.archive-list:hover,
.post-feature-wrap.archive-list.active,
.post-features-wrap.archive-list.active,
.artists-wrap a:hover,
.artists-wrap a.active {
  border-color: #555555;
}


/* STYLED HEADLINES - DATES */

.post-headline-wrap {
  margin-bottom: 1em;
}

.post-feature-wrap .post-pre-headline,
.post-feature-item .post-pre-headline {
  margin: 0 auto 1.125em;
  font-size: 1.0625em;
  font-style: italic;
  xcolor: #363636;
}
.post-feature-wrap .post-headline,
.post-feature-item .post-headline {
  margin: 0 auto .5625em;
  font-size: 1.575em;
  line-height: 1.5;
  color: #000000;
}
.post-feature-wrap.archive-list .post-headline,
.post-features-wrap.archive-list .post-headline {
  letter-spacing: initial;
}
.post-feature-wrap .post-dates,
.post-feature-item .post-dates {
  margin-bottom: 1.125em;
  font-size: 1.125em;
  font-weight: 300;
  color: #000000;
}
.post-feature-wrap .post-headline,
.post-feature-item .post-headline,
.post-feature-wrap .post-sub-headline,
.post-feature-item .post-sub-headline {
  font-family: 'function_probook', sans-serif;
  text-transform: uppercase;
  letter-spacing: .009375em;
}
.post-feature-wrap .post-sub-headline,
.post-feature-item .post-sub-headline {
  margin: 0 auto .875em;
  font-size: 1.3125em;
  line-height: 1.35;
}
.post-headline-wrap a:hover {
  opacity: .5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
}



/* READ MORE LINK */

.read-more-link-wrap {
  display: inline-block;
  margin-bottom: 1.25em;
}

.read-more-link-wrap img.read-more-icon {}

.read-more-text {
  display: block;
  margin-top: .625em;
  padding: .375em 1em;
  border: 1px solid #ffffff;
  font-family: 'function_probook';
  text-transform: uppercase;
}

.read-more-link-wrap:hover .read-more-text {
  border-color: #555555;
}




.post-feature-wrap.archive-list {
  display: block;
  font-size: .80625em;
  line-height: 1.4;
}
.post-feature-wrap.archive-list .post-headline,
.post-feature-wrap.archive-list .post-dates {
  margin: 0 auto .125em;
  padding: 0 1em;
}
.post-feature-wrap.archive-list .post-dates {
  margin-bottom: .5em;
  font-size: 1.25em;
}
.post-feature-wrap.archive-list .post-pre-headline {
  margin: 0 auto .5em;
  padding: 0 1em;
}






/* =============================================================================
    6- IMAGES / GALLERIES / MEDIA EMBEDS
   ========================================================================== */

a img {
  -webkit-backface-visibility: hidden;   
  backface-visibility: hidden;
  -webkit-transition: opacity .25s;   
  transition: opacity .25s;
}

a:hover img {
  opacity: .75;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}

.post-feature-wrap img {
  max-width: 100%;
  xmargin-bottom: 1.5em;
}

img.featured {
  width: auto;
  height: auto;
  margin-bottom: 1.75em;
}

a[rel^="lightbox-"] {
  display: block;
}

.post-type-archive-event img.featured,
.single-event img.featured {
  max-height: auto;
}

.post-content-wrap figure a, .post-content-wrap figure img {
  max-width: 100%;
  margin: 0 auto;
}

.post-content-wrap img {
  max-width: 100%;
  height: auto;
}

figure[id*="attachment_"] {
  width: 100%!important;
  margin: 3em 0 3em;
  text-align: center;
}
p.wp-caption-text, figcaption.wp-caption-text {
	max-width: 600px;
  margin: .5em auto 0;
	font-size: .825em;
  line-height: 1.5;
	font-style: italic;
  text-align: center;
  xcolor: #363636;
}


/* GALLERY */

.gallery {
	width: 100%;
  max-width: 800px;
  margin: 4em auto 4.25em;
  display: block;
	clear: both;
}
.gallery-item {
	margin: 0;
	padding: 0;
	text-align: center;
	list-style: none;
	border: none;
	background: transparent;
}
.gallery .gallery-item {
	width: 28%;
  margin: 3.5% 8% 6.5% 0;
  display: inline-block;
  vertical-align: middle;
}
.gallery .gallery-item:nth-child(3n) {
  margin-right: 0;
}
.gallery .gallery-item:nth-child(3n+1) {
  clear: left;
}


/* FLUID VIDEO EMBEDS */

.arve-wrapper {
  margin: 3.75em 0!important;
}


/* TUMBLR EMBED */

.video-container iframe.tumblr-embed {
  margin-right: auto!important;
  margin-left: auto!important;
}

/* INSTAGRAM EMBED */

iframe.instagram-media,
iframe.tumblr-embed {
  margin-top: 3.75em!important;
  margin-right: auto!important;
  margin-bottom: 3.75em!important;
  margin-left: auto!important;
}





/* IMAGES / GALLERIES / MEDIA - COPIED
*******************************************************************************/

.attachment, .caption {
	text-align: left
}
img.alignleft, .alignleft img {
	margin: 1.25% 5% 2.75% 0;
}
img.alignright, .alignright img {
	margin: 1.25% 5% 2.75% 2.5%;
}
.wp-caption p.wp-caption-text {
	line-height: 18px
}


.gallery .gallery-icon img {
	display: block;
  width: 100%;
	max-width: 200px;
	height: auto;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box
}
.gallery-caption {
	box-sizing: border-box
}


/* OLDER GALLERY/IMG STYLES */

.gallery a, .gallery img {
	border: 0!important
}

.gallery .gallery-caption {
	margin-left: 0
}
.gallery br, .gallery-caption {
	display: none
}
.gallery:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0
}
.gallery-item {
	text-align: left!
}



/* =============================================================================
    7- FULLSCREEN MENU
   ========================================================================== */


/* MENU TOGGLE ELEMENT */

.button_container {
  position: absolute;
  top: 36px;
  right: 0;
  width: 27px;
  height: 27px;
  cursor: pointer;
  z-index: 100;
}

.button_container span {
  background: #000000;
  border: none;
  height: 2px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all .15s ease;
  transition: all .15s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 11px;
}
.button_container span:nth-of-type(3) {
  top: 22px;
}

.button_container:hover {
  opacity: .375;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=37)";
}
.button_container.active .top {
  -webkit-transform: translateY(11px) translateX(0) rotate(45deg);
          transform: translateY(11px) translateX(0) rotate(45deg);
}
.button_container.active .middle {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.button_container.active .bottom {
  -webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
          transform: translateY(-11px) translateX(0) rotate(-45deg);
}


/* TRANSITIONS */

.button_container {
  -webkit-transition: opacity .1s ease;
  transition: opacity .1s ease;
}
.fixed .button_container {
  -webkit-transition: opacity .1s ease, top .175s .35s;
  transition: opacity .1s ease, top .175s .35s;
}
.fixed.open .button_container {
  -webkit-transition: opacity .1s ease, top .175s;
  transition: opacity .1s ease, top .175s;    
}




.overlay {
  position: fixed;
  background: #ffffff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  visibility: hidden;
  -webkit-transition: opacity .35s .35s, visibility .35s .35s;
  transition: opacity .35s .35s, visibility .35s .35s;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;  
}
.overlay.open {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
  -webkit-transition: opacity .35s, visibility .35s;
  transition: opacity .35s, visibility .35s;
}
.overlay.open li {
  -webkit-animation: fadeIn .2s ease forwards;
          animation: fadeIn .2s ease forwards;
  -webkit-animation-delay: .2s;
          animation-delay: .2s;
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }
  100% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  }
  100% {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  }
}


.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-family: 'function_prolight', sans-serif;
  font-size: 3.4875em;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
}
.overlay nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay nav ul li {
  height: 33.33%;
  height: calc(100% / 3);
  min-height: 50px;
  position: relative;
  line-height: 1;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.overlay nav ul li a {
  display: block;
  position: relative;
  top: 50%;
  -webkit-transform: translate(0,-50%);
          transform: translate(0,-50%);
  color: #000000;
  text-decoration: none;
  -webkit-transition: opacity .1s linear;
  transition: opacity .1s linear;
  -webkit-backface-visibility: hidden;
}
.overlay nav ul li a:hover {
  opacity: .25;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
}




/* =============================================================================
    8- MEDIA QUERIES
   ========================================================================== */
