/*
 Theme Name:   Fay Child Theme
 Template:     intergalactic-2
 Version:      1.0.1
*/

header.site-header {
	background-image: url(/wp-content/uploads/2018/09/header-back-fay.png);
    background-repeat: no-repeat;
    background-size: cover;
	padding-top: 2rem;
	z-index: 100;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: unset;
}
.blog .entry-background ,.archive .entry-background {
	opacity: 1;
}

header.page-header {
	display: none;
}

.entry-summary {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.entry-content,
.entry-summary,
.page-content,
.comment-content {
	word-wrap: normal;
}

.wp-video {width: 100% !important;}

.site-header  .site-branding .site-title {
    margin:0 auto;
	text-transform: none;
}

.site-header .menu-toggle.x {
	color: transparent;
	border:none;
	background-image: url(/wp-content/uploads/2018/09/menu-collapsed.png);
    background-repeat: no-repeat;
    background-size: contain;
	top: 4rem;
	height: 4rem;
    width: 4rem;
	right: 2rem;
}

.site-header .menu-toggle.x:focus {
	outline:none;
}

.site-header .menu-toggle.x.toggle-on {
	background-image: url(/wp-content/uploads/2018/09/menu-open.png);
}

.site-header .menu-toggle.x span.lines {
	display: none;
}

.site-header .site-branding .site-description {
    margin: 0 auto 1em auto;
}

.blog .hentry, .archive .hentry, .search .hentry {
    background-color: transparent;
}

.entry-title, .entry-title a {
    color: #767676;
	font-size: 60px;
	width: 100%;
}

.blog .entry-content, .blog .entry-summary, .blog .entry-header, .blog .entry-footer, .blog .hentry a, .blog blockquote, .archive .entry-content, .archive .entry-summary, .archive .entry-header, .archive .entry-footer, .archive .hentry a, .archive blockquote, .search .entry-content, .search .entry-summary, .search .entry-header, .search .entry-footer, .search .hentry a, .search blockquote {
    color: #767676;
}

.wp-caption .wp-caption-text {
	font-family: 'Amatic SC', cursive;
    font-size: 18px;
    letter-spacing: 1.5px;
	color: #000000;
}

.wp-audio-shortcode {
	display: none !important;
}

/*
.wp-audio-shortcode.playing {
	display: block !important;
	position: fixed;
    bottom: 0px;
	margin: 0 auto;
	width: 50% !important;
    left: 25%;
}*/

.site-branding {
	max-width: none;
	margin: -15px auto 0 auto;
	text-align: center;
}

.site-branding .site-title {
	display: inline-block;
    max-width: 200px;
	line-height:1em;
}

.site-branding .site-description {
	display: inline-block;
    max-width: 300px;
	margin: 0;
	font-family: "Caveat";
    line-height: 30px;
    text-align: left;
    color: #000000;
    font-weight: normal;
}

header.entry-header .entry-title {
	text-transform: unset;
}

.sidebar.panel-widget-style {
	-moz-box-shadow: 5px 5px 15px #999;
    -webkit-box-shadow: 5px 5px 15px #999;
    box-shadow: 5px 5px 15px #999;
}

.sidebar.panel-widget-style p {
	line-height: 22px;
	padding: 0 10px 20px 10px;
}

.widget {
	color: #000000;
}

.blog .entry-content, .blog .entry-summary, .blog .entry-header, .blog .entry-footer, .blog .hentry a, .blog blockquote, .archive .entry-content, .archive .entry-summary, .archive .entry-header, .archive .entry-footer, .archive .hentry a, .archive blockquote, .search .entry-content, .search .entry-summary, .search .entry-header, .search .entry-footer, .search .hentry a, .search blockquote {
    color: #000000;
}

.entry-summary .textwidget {
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
.blog .hentry,.archive .hentry {
	padding: 0;
	border-bottom: none;
}

.blog .hentry div.after ,
.archive .hentry div.after {
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/09/divider.png);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: bottom center;
	height: 22px;
	display: block;
	position: relative;
    z-index: 1;
	top: 18px;
}
.blog .hentry div.before ,
.archive .hentry div.before,
.pagination .before{
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/09/divider.png);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: bottom center;
	height: 22px;
	display: block;
	position: relative;
    z-index: 2;
	top: -18px;
	content: ' ';
		-moz-transform: scaleY(-1);
		-o-transform: scaleY(-1);
		-webkit-transform: scaleY(-1);
		transform: scaleY(-1);
		filter: FlipV;
		-ms-filter: "FlipV";
}
.pagination .before{
top: -12px;	
}
	
.spinning.shown {
	animation-name: spinning;
	-moz-animation-name:spinning;
	-webkit-animation-name:spinning;
	animation-duration: 5s;
	-moz-animation-duration: 5s;
	-webkit-animation-duration: 5s;
	animation-timing-function: ease;
	-moz-animation-timing-function: ease;
	-webkit-animation-timing-function: ease;
	/*animation-delay: 2s;
	-moz-animation-delay: 2s;
	-webkit-animation-delay: 2s;
	animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;*/
	animation-direction: normal;
	-moz-animation-direction: normal;
	-webkit-animation-direction: normal;
}

@keyframes spinning {
0%   {transform:scale(0) rotate(0deg);}
20% {transform:scale(1) rotate(1440deg);}
100% {transform:scale(1) rotate(1440deg);}
}
@-moz-keyframes spinning {
0%   {-moz-transform:scale(0) rotate(0deg);}
20% {-moz-transform:scale(1) rotate(1439.9deg);}
100% {-moz-transform:scale(1) rotate(1440deg);}
}
@-webkit-keyframes spinning {
0%   {-webkit-transform:scale(0) rotate(0deg);}
20% {-webkit-transform:scale(1) rotate(1440deg);}
100% {-webkit-transform:scale(1) rotate(1440deg);}
}

.sidebar-open .site {
    left: 0 !important;
}

body.sidebar-open {
    width: 100%;
}

body.sidebar-open .slide-menu.expanded {
    top: 0;
	position:relative;
	margin-bottom: -60px;
	overflow-x: hidden;
}
/*
body.sidebar-open.admin-bar .slide-menu.expanded {
    top: 154px;
}*/


body.sidebar-open .slide-menu.expanded .about-container {
	width: 50%;
	float:left;
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/11/divider-vertical.png);
    background-repeat: no-repeat;
    background-position: right -24px top;
}

.slide-menu {
	width: 100%;
	left:0;
	top: -1000px;
	-webkit-transition: .5s all ease-in-out;
    -moz-transition: .5s all ease-in-out;
    transition: .5s all ease-in-out;
	padding:0;
	background: #E0E3EB;
	overflow-y: hidden;
}

.slide-menu:after {
    content: "";
    width: 100%;
    height: 1px;
    margin-top: 88px;
    margin-left: -75px;
    display: block;
    position: absolute;
    left: 50%;
    z-index: -1;
    -webkit-box-shadow: 0px 0px 8px 2px #000000;
       -moz-box-shadow: 0px 0px 8px 2px #000000;
            box-shadow: 0px 0px 8px 2px #000000;
	
}


body.sidebar-open .site-header:before {
	height: 123px;
    background: rgba(162,168,188,.6);
    width: 100%;
    position: absolute;
    top: 0;
}

.menu-primary-container a {
	text-transform: none;
    font-size: 40px;
    font-weight: 300;
	color: #000000;
}

.menu-primary-container a {
	text-transform: none;
    font-size: 40px;
    font-weight: 300;
	color: #000000;
	font-family: "Caveat";
	padding:0;
}

.menu-primary-container li {
	border: none;
}

/*
#menu-primary:before {
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/11/menu-line.png);
	content: ' ';
	display: block;
	width: 100%;
	height: 4px;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}*/

.menu-primary-container li:after {
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/11/menu-line.png);
	content: ' ';
	display: block;
	width: 100%;
	height: 4px;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}

.menu-primary-container .current-menu-item a {
	color: #5F4777;
}

.menu-primary-container a:hover {
	color: #5F4777;
}

.main-navigation {
	margin-bottom:0;
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/11/divider-vertical.png);
    background-repeat: no-repeat;
    background-position: left -2px top;
}

.main-navigation ul {
  padding-top: 30px;
}

.sidebar-open .site-branding {
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/09/divider.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom center;
    display: block;
	padding-bottom: 15px;
    margin-bottom: -15px;
}

body.sidebar-open .site-header:before {
	height: 200px;
}

.main-navigation a {
	display: inline-block;	
}

.main-navigation {
	width: 50%;
    padding: 3rem;
    background: #CCD0DD;
	clear: none;
    float: left;
}

.main-navigation li.menu-item:before {
	content: ' ';
    display: inline-block;
    width: 57px;
    height: 49px;
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-right: 15px;
	background-size: contain;
}

.about-container {
	background: #E0E3EB;
	color: #5F4777;
	overflow-y: scroll;
}

.about-container .about-inner {
   padding: 10px 100px 50px 50px ;
}

.about-container-after {
  content: " ";
  display: block;
  margin-bottom: -75px;
    position: absolute;
    width: 50%;
  bottom: 4em;
  height: 4em;
    background: -webkit-linear-gradient(
        rgba(224,227,235, 0) 0%,
        rgba(224,227,235, 1) 100%
    ); 
    background-image: -moz-linear-gradient(
        rgba(224,227,235, 0) 0%,
        rgba(224,227,235, 1) 100%
    );
    background-image: -o-linear-gradient(
        rgba(224,227,235, 0) 0%,
        rgba(224,227,235, 1) 100%
    );
    background-image: linear-gradient(
        rgba(224,227,235, 0) 0%,
        rgba(224,227,235, 1) 100%
    );
    background-image: -ms-linear-gradient(
        rgba(224,227,235, 0) 0%,
        rgba(224,227,235, 1) 100%
    );
	
}


.shadow {
	-webkit-box-shadow: 0 10px 4px -4px #999999;
    -moz-box-shadow: 0 10px 4px -4px #999999;
	box-shadow: 0 10px 4px -4px #999999;
    height: 15px;
    width: 100%;
    position: relative;
    top: 45px;
    z-index: 1000;
	display:none;
}

body.sidebar-open .shadow {
	display:none;
}

.pagination {
	width: 100%;
	overflow: hidden;
	background: #A2A8BC;
	text-transform: none;
}

.pagination a {
	font-size: 40px;
    font-weight: 300;
    color: #000000;
    font-family: "Caveat";
	padding: 0% 2.5% 1.5% 2.5%;
}

.pagination .left {
	float:left;
}
.pagination .left:before {
 background-image: url(https://grandpafay.com/wp-content/uploads/2018/12/page-arrow.png);
 content: ' ';
 width: 48px;
 height: 34px;
 display: inline-block;
 background-repeat: no-repeat;
 margin-right: 15px;
 background-position: center center;
 position: relative;
 top: 5px;
}

.pagination .right {
	float:right;
}

.pagination .right:after {
 background-image: url(https://grandpafay.com/wp-content/uploads/2018/12/page-arrow.png);
 content: ' ';
 width: 48px;
 height: 34px;
 display: inline-block;
 background-repeat: no-repeat;
 margin-left: 15px;
 position: relative;
 top: 5px;
 background-position: center center;
	-moz-transform: scaleX(-1);
		-o-transform: scaleX(-1);
		-webkit-transform: scaleX(-1);
		transform: scaleX(-1);
		filter: FlipH;
		-ms-filter: "FlipH";
}

ul,ol {
	position: relative;
	top: -35px;
}

.audio-icon-image {
	 max-width: 50px;
    text-align: center;
    margin: 0 auto;
    display: block;
    cursor: pointer;
	    top: -25px;
	position: relative;
}

#mediaPlayer {
	position: fixed;
	bottom: 0;
	min-height: 50px;
	width: 100%;
	background: #CCD0DD;
	opacity: 0;
	transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
	z-index: 0;
	color: #000000;
	padding: 1%;
	font-style: normal;
    font-weight: 400;
    font-family: 'Amatic SC', cursive;
    font-size: 24px;
    letter-spacing: 1px;
}

#mediaPlayer .now-playing .type {
	margin-right: 10px;
}


#mediaPlayer .now-playing .title {
    font-family: 'Caveat';
    font-size: 24px;
}

#mediaPlayer.shown {
	opacity: 1;
	z-index: 1;
}

#mediaPlayer .controls {
	max-width: 30px;
    display: block;
    text-align: right;
    float: right;
}

body.media-player {
	padding-bottom: 50px;
}

#mediaPlayer{
	display: none;
}

body.media-player #mediaPlayer{
	display: block;
}

@media screen and (max-width: 767px) {
	.main-navigation {
		padding: .5rem;	
	}
	.page-content, .entry-content, .entry-summary, .taxonomy-description {
    	padding: 0 1em;
	}
	header.entry-header h1:before, header.entry-header h1:after {
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
		height: 38px !important;
		max-width: 50px;
	}
	.entry-title, .entry-title a {
    	font-size: 40px;
		padding:0;
	}
	header.site-header {
		background-position: right -170px top;
		padding-top:0;
	}
	.site-header .site-branding .site-description {
		margin: 0 0 1rem 0;
    	max-width: 200px;
    	text-align: left;
		padding:0;
		font-size: 2.25rem;
	}
	.site-header .menu-toggle {
		top: 6rem;
    	right: -2rem;
    	font-size: 40px;
	}
	.site-branding {
	    margin: 15px auto 0 auto;
    	padding-left: 30px;
		text-align: left;
	}
	.site-branding .site-title {
	    position: relative;
    	font-size: 3em;
		padding: 0;
		max-width: none;
		display: block;
		text-align: left;
		
	}
	.site-header .menu-toggle.x {
		top: 5rem;
	}
	body.sidebar-open .slide-menu.expanded {
		position: fixed;
		bottom: 0;
    	overflow-y: scroll;
	}

	body.sidebar-open .slide-menu.expanded .about-container {
		width: 100%;
		background-image: none;
		
	}
	body.sidebar-open .main-navigation {
		width: 100%;
	}
	.about-container .about-inner {
    	padding: 10px 50px;
	}
	.menu-primary-container a {
		font-size: 28px	
	}
	.about-container-after {
		display: none;	
	}
	
	header#masthead.fixed {
		position: fixed;
		width: 100%;
		top:0;
		background-position: right 0 top;
		background-size: 200%;
		max-height: 55px;
		min-height: 55px;
	}

	.fixed  + .site-content {
		padding-top: 102px;
	}

	.fixed .site-description {
		display: none;
	}

	.fixed .menu-toggle.x {
		top: 7px;
	}

	.fixed .site-title {
		font-size: 3rem;
		line-height: 2.5rem;
	}

	body.sidebar-open .slide-menu.expanded {
		position: fixed;
		top: 138px;
	}
	
	body.sidebar-open.fixed-header .slide-menu.expanded {
		position: fixed;
		top: 55px;
	}

}

@media screen and (max-width: 320px) {
	.menu-primary-container a {
		font-size: 24px	
	}
}


@media screen and (min-width: 768px) {
	body.fixed-header .menu-toggle {
		position: fixed;
	}
	body.sidebar-open .slide-menu.expanded {
		top: 0px;
		position: relative;
	}
	body.fixed-header.sidebar-open .slide-menu.expanded {
		top: 0;
		position: fixed;
		overflow: scroll;
	}
	
}

.carousel {
  margin: 0 auto;
  max-width: 1024px;
}
.carousel .slick-slide {
  perspective: 800px;
  position: relative;
  z-index: 0;
}
.carousel .slick-slide video {
  transform: translateX(-50%);
  margin-left: 50%;
  transition: transform .15s, opacity .15s;
}
.carousel .slide-prev video {
  transform: translateX(-50%) rotateY(30deg) scale(0.8);
}
.carousel .slide-next video {
  transform: translateX(-50%) rotateY(-30deg) scale(0.8);
}
.carousel .slick-current {
  position: relative;
  z-index: 100;
}
.carousel .slick-track {
  padding-top: 150px;
}
.carousel .slick-current video {
  	transform: translateX(-50%);
	width: 600px;
	background: #000000;
	height: 337.5px;
	position: relative;
	top: -100px;
}
.carousel .slick-prev:after {
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/12/page-arrow.png);
    content: ' ';
    width: 48px;
    height: 34px;
    display: inline-block;
    background-repeat: no-repeat;
    margin-right: 15px;
    background-position: center center;
    position: relative;
    top: 5px;
}
.carousel .slick-prev {
	background: transparent !important;
	color: transparent;
    border-color: transparent;
    position: absolute;
    bottom: 0px;
    left: 0;
	cursor: pointer;
	z-index: 10;
}

.carousel .slick-next {
	background: transparent !important;
	color: transparent;
    border-color: transparent;
    position: absolute;
    bottom: 0px;
    right: 0;
	cursor: pointer;
}

.carousel .slick-next:hover, .carousel .slick-next:active, .carousel .slick-prev:hover, .carousel .slick-prev:active{
	background: transparent !important;
}

.carousel .slick-next:before {
	background-image: url(https://grandpafay.com/wp-content/uploads/2018/12/page-arrow.png);
    content: ' ';
    width: 48px;
    height: 34px;
    display: inline-block;
    background-repeat: no-repeat;
    margin-left: 15px;
    position: relative;
    top: 5px;
    background-position: center center;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.carousel .slick-list {
	top: 0px;
}

.carousel {
	display: none;
}

.carousel.slick-initialized {
	display:block;
}

