/*!
Theme Name: Too Much Sugar Paff
Theme URI: http://underscores.me/
Author: Damian Andrzejewski
Author URI: http://damianandrzejewskiart.com
Description: Wordpress theme for the Too Much Sugar webcomic, with Bootstrap integration and to surpass Metal Gear, I mean ComicPress and Webcomic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: toomuchsugarpaff
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Too Much Sugar Paff is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Navigation Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# The TMS Paff Juice
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Navigation Menus
--------------------------------------------------------------*/

/* Small menu. WordPress-specific */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments (for text editor)
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {max-width: 50%;}
.gallery-columns-3 .gallery-item {max-width: 33.33%;}
.gallery-columns-4 .gallery-item {max-width: 25%;}
.gallery-columns-5 .gallery-item {max-width: 20%;}
.gallery-columns-6 .gallery-item {max-width: 16.66%;}
.gallery-columns-7 .gallery-item {max-width: 14.28%;}
.gallery-columns-8 .gallery-item {max-width: 12.5%;}
.gallery-columns-9 .gallery-item {max-width: 11.11%;}
.gallery-caption {display: block;}

/*---------------------------------------------------------------
# The TMS Paff Juice
---------------------------------------------------------------*/

body{ min-height: 100vh;	
	background: url('/wp-content/themes/toomuchsugarpaff/assets/img/site-bg-one.png') 0 0 no-repeat,  url('/wp-content/themes/toomuchsugarpaff/assets/img/site-bg-two.png') bottom right no-repeat;
 	background-size: 100% auto, 100% auto;
}
body.logged-in{min-height: calc(100vh - 32px);}
.error404 main{position: relative;}

.logged-in .fixed-top{
	top: 32px;
}

a:hover{color: #FF045C;}
.flex-fill{ flex: 1;}

main{margin-top: 11vh;}
.navbar-brand{margin-top: 5px; margin-bottom: -2.5vh; margin-left: -15px; background: rgba(255,255,255,0.5);
  transform: skew(-9.3deg) rotate(-9.3deg); padding: 10px 10px 10px 15px;}
	.navbar-brand img{max-height: 10vh; height: auto; width: auto;
  transform: skew(9.3deg) rotate(9.3deg);}

/* TMS Basic Styling */
.tms-title{color: white; text-shadow: #FF045C 0.05em 0.05em; font-weight: bold;
  background: linear-gradient(135deg,	rgba(7,17,27,0.7) calc(100% - 10px), rgba(0,0,0,0) calc(100% - 10px));
  padding: 10px; margin-top: 0.25em}
.tms-desc{background: linear-gradient(135deg, rgba(255,255,255,0.8) calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px)); padding: 10px;}
.tms-bg-primary{background: linear-gradient(135deg, #007bff calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));}
.tms-bg-primary a{color: white;}
.tms-bg-warning{background: linear-gradient(135deg, #ffc107 calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));}
.tms-bg-warning a{color: #343a40;}
.tms-bg-dark{background: linear-gradient(135deg, #343a40 calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));}
.tms-bg-dark a{color: #63b8ff;} .tms-bg-dark a:hover{color: white;}
.tms-bg-attention{background: linear-gradient(135deg, #FF045C calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));}
.tms-bg-attention a{color: #d1d1d1;} .tms-bg-attention a:hover{color: white;}
.tms-bg-primary, .tms-bg-warning, .tms-bg-attention, .tms-bg-dark{margin: 0 10px 10px 0; padding: 10px;}

/* Comic Navigation */
#comicPageWrap{position: relative;}
.vex-link{
	width: 5vw; height: 100%;
	position: absolute;  text-align: center; font-size: 3em;
	display: none; opacity: 0.25; color: #aaa;}
.vex-link:hover{text-decoration: none; opacity: 1; color: white;}
#comicPrev{top: 0; left: 0;}
#comicPrev:hover{ background: linear-gradient(to right, rgba(79,164,255,0.5), rgba(0,0,0,0));}
#comicNext{bottom: 0; right: 0;}
#comicNext:hover{background: linear-gradient(to right, rgba(0,0,0,0), rgba(255,4,92,0.5));}
#comicPage{display: block; max-width:100vw; margin: 0 auto;}
#comicPage img{max-width: 100%;}

.navbar-toggler, .nav-item, .dropdown-menu{transform: skew(-9.3deg) rotate(-9.3deg);}
.navbar .navbar-toggler{z-index: 9; background: rgba(255,255,255,0.5); border-radius: 0; margin-right: 1rem;
  border-color: rgba(0,0,0,0.5)}
.navbar{padding: 0;}
.nav-item{margin-right: 5px;}
.navbar-expand-md .navbar-nav .nav-link{ padding: 0.3rem 0.7rem 0.3rem 0.3rem;}
.nav-link{background: linear-gradient(135deg, rgba(255,255,255,0.7) calc(100% - 10px), rgba(255,255,255,0) calc(100% - 10px)); padding: 0.5rem;}
.active{font-weight: bold; text-shadow: #FF045C 3px 3px; font-size: 1.9em;}
.nav-item.active .nav-link{
  background: linear-gradient(135deg,	rgba(7,17,27,0.7) calc(100% - 10px), rgba(0,0,0,0) calc(100% - 10px));}
.active a{color: white;}
.navbar-toggler-icon{background: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}
.nav-link:hover{background: linear-gradient(135deg, #FF045C calc(100% - 10px), rgba(255,255,255,0) calc(100% - 10px)); padding: 0.5rem; color: white;}

.vex-link span{display:block; font-size: 0.25em; margin-top: -1em;}
.mob-link {padding: 0.25em 0.5em; font-size: 2em;}
.mob-link span{font-size: 0.5em;}
.mob-link .fa{margin: 0 0.22em;}
.mob-link:hover{text-decoration: none;}

.spaceThis{margin-left: 1.25em;}
#info{background: linear-gradient(135deg, rgba(0,0,0,0) 50px, rgba(255,255,255,0.7) 50px, rgba(255,255,255,0.7) calc(100% - 50px), rgba(0,0,0,0) calc(100% - 50px));
	 margin: 1em 0; padding: 1em;}
#infoSection{margin-top: 1em; padding-bottom: 2rem;}
#infoHeader h3{margin: 0;}
#infoHeader{margin-bottom: 0.5em;}
#infoSection article, #infoHeader{max-width: 800px; padding-left: 1em; padding-right: 1em;}

.post-patreon{
	background: linear-gradient(135deg, rgba(0,0,0,0) 20px, rgba(7,17,27,0.7) 20px, rgba(7,17,27,0.7) calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));
	color: white; padding: 20px !important; font-size: 0.8em;	margin-bottom: 1em;;
}
.post-patreon .lead{font-size: 2em;  margin-bottom: 0.2em;}
.post-patreon a{color: #f96854;} .post-patreon a:hover{color: white;}

/* Comments Themselves */
.comment-list{padding: 0; list-style: none;}
.comment{ margin: 5px 0;}
ul.children{ list-style: none; padding-left: 15px;}
.comment-body{position: relative;}
.comment-details{position: relative;}
.comment-text{
  background: linear-gradient(135deg, #007bff calc(100% - 15px), rgba(0,0,0,0) calc(100% - 15px));
  padding: 10px 10px 1px 10px;  color: white;
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,1) calc(100% - 15px), rgba(0,0,0,0) calc(100% - 15px));
  mask-image: linear-gradient(135deg, rgba(0,0,0,1) calc(100% - 15px), rgba(0,0,0,0) calc(100% - 15px));
  margin-bottom: 25px;
}
.comment-triangle{
  width: 0;   height: 0; 
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #007bff;
  position: absolute; bottom: -20px; left: 8px;
}
.v-card{display: block;}
.comment-avatar, .comment-who{display: inline-block;}
.comment-who{vertical-align: middle;}
.comment-avatar{margin-right: 5px;}

.comment-reply-link{position: absolute; bottom: 0; right: 0;
  background: linear-gradient(135deg, #007bff calc(100% - 5px), rgba(0,0,0,0) calc(100% - 5px));
  padding: 10px; color: white;
}
.comment-reply-link:hover{color: white;}

/* Comment FORM */
#respond{} 
#reply-title{
  background: linear-gradient(135deg, #FF045C calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));
  color: white; font-weight: bold; padding: 10px;
} 
#reply-title{margin-top: 25px; position: relative;}
#reply-title:after{  width: 0;   height: 0; 
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 25px solid #FF045C;
  content: '';
  position: absolute; top: -25px; left: 50%; margin-left: -25px;}
#cancel-comment-reply-link { color: inherit; }
#commentform {width: 100%;  display: flex; flex-wrap: wrap;} 
#commentform p{flex-grow: 1; padding: 5px 10px;}
#commentform p label{display: block;}
#author { } 
#email { } 
#url { } 
#comment 
#submit
.comment-notes { } 
.required{
  color: #FF045C; font-weight: bold;
}
.comment-form-author { }
.comment-form-email { }  
.comment-form-author #author, .comment-form-email #email{width: 100%;  } 
/* .comment-form-url { } - this will be hidden. */
.comment-form-comment {width: 100%;}
.comment-form-comment #comment{width: 100%;}
.comment-awaiting-moderation {margin-left: 10px;}
.comment-form-cookies-consent { }
.form-allowed-tags { } 
.form-submit {}

#respond input[type=text]:focus,
input[type=email]:focus, 
input[type=url]:focus,
textarea:focus {
box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

#shareSpace{padding-bottom: 1em;}
#shareLink{background-color: #fff; margin: 15px 0 5px;}
#shareLinkS, #sideSocialS{flex-wrap: wrap;}
#shareLinkS .btn{flex-basis: 0; flex-grow: 1; margin: 5px;
  font-size: 24px}
#shareFacebook{color: #3b5998; border-color: #3b5998;} #shareFacebook:hover{color: white; background-color: #3b5998; border-color: #3b5998;}
#shareTwitter{color: #1da1f2; border-color: #1da1f2;} #shareTwitter:hover{color: white; background-color: #1da1f2; border-color: #1da1f2;}
#shareReddit{color: #ff4500; border-color: #ff4500;} #shareReddit:hover{color: white; background-color: #ff4500; border-color: #ff4500;}
#sharePinterest{color: #bd081c; border-color: #bd081c;} #sharePinterest:hover{color: white; background-color: #bd081c; border-color: #bd081c;}

/* For Archives, post displays, et cetera */
.wp-post-image{max-width: 100%; height: auto;}
.entry-content img{max-width: 100%; height: auto;}
.entry-content hr{border-top: 1px solid rgba(0,0,0,.5);}}

#sideSocial{padding-bottom: 2rem;}
#sideSocial a{color: white; text-align: center;
  padding: 1em;}
#sideSocial a{text-decoration: none;}
#sideSocial p{display: block; margin: 0.5em 0 0;}

#sideSocial .btn{flex-basis: 0; flex-grow: 1; margin: 5px;}
.sideLogo{display:block; width: auto; height: 2.5em; margin: auto; vertical-align: middle}
#sideFacebook{background: #3b5998; border-color: #3b5998;}
#sideTwitter{background: #1da1f2; border-color: #1da1f2;}
#sideDiscord{background: #7289da; border-color: #7289da;}
#sideWebtoon{background: #00D65B; border-color: #00D65B;}
#sidePatronite{background: #ED1B2C; border-color: #ED1B2C}
#sidePatreon{background: #f96854; border-color: #f96854;}
#sideMyriad{background: #B32639; border-color: #B32639;}


/* Archive Pages */
#arc-container{margin: 30px 0; color: white;}
#arc-container section{background: linear-gradient(135deg, rgba(7,12,27,0.7) calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));
  margin: 10px 0; position: relative;}
#arc-container input{display:none;}
#arc-container label {display: block;}
#arc-container label:hover{cursor: pointer;}
#arc-container span{display: inline-block; width: 1.5em; height: 1.5em; margin-right: 10px; position: relative;
	font-size: 2em; text-align: center; color: rgba(7,12,27,0.7);
	background: linear-gradient(135deg, white calc(100% - 15px), rgba(0,0,0,0) calc(100% - 15px));}
#arc-container input ~ label i{transform: rotate(-90deg);}
#arc-container small, #arc-container h2{display: inline;}
#arc-container input:checked ~ label{width: 100%; z-index: 1; position: absolute;	top: 0;
  background: linear-gradient(rgba(7,12,27,0.7), rgba(0,0,0,0));}
#arc-container input:checked ~ label i{transform: none;}
#arc-container .arc-body{height: 0; position: relative;}
#arc-container input:checked ~ .arc-body{height: auto;}
#arc-container h2{display: inline-block;}

.arc-img img{width: 100%;}
.arc-body{overflow: hidden;}
.arc-desc, .arc-pages{margin: 0.5rem;}
.arc-pages a:link{ display: inline-block;
  font-size: 1.5em; padding: 0.4rem 0.7rem; margin: 0.25rem;
	-webkit-mask-image: linear-gradient(135deg, white calc(100% - 10px), rgba(0,0,0,0) calc(100% - 10px));
	mask-image: linear-gradient(135deg, white calc(100% - 10px), rgba(0,0,0,0) calc(100% - 10px));
	background-color: white;
}
.arc-pages a:visited{background-color: #373737; color: white;}
.arc-pages a:visited:hover{color: #007bff;}

/* About Section */
.ab-section{ padding: 5vh; margin-bottom: 10px;}
#comic{background: white url('/wp-content/themes/toomuchsugarpaff/assets/img/ab-bg.png') no-repeat;
  background-size: auto 100%;
  background-position: top left;
  }
#about-author{background: url('/wp-content/themes/toomuchsugarpaff/assets/img/ab-au.png') no-repeat, linear-gradient(rgb(13,13,13) 0%, rgb(35,35,35) 50%, rgb(115,52,74) 95%);
  background-size: auto 100%; background-position: top right}
.ab-section .col-md-8{padding-top:0.5rem; padding-bottom:0.5rem;}
#comic .ab-bg{background: rgba(255,255,255,0.75);}
#about-author .ab-bg{background: rgba(0,0,0,0.75);}
/* Disable these bgs when it's above 1500 width */
@media (min-width: 1480px){#comic .ab-bg, #about-author .ab-bg{background: none;}}

/* Cast Section */
.faction-title{font-size: 0.9em; letter-spacing: 0.2em; text-transform: uppercase;
	border-bottom: solid 2px gray; text-align: center; color: gray;
	margin: 1em 0 0.25em;}
.cast-more{display: block; padding: 5px; text-align: right; background: #FF045C;
	font-size: 1.5em; color: white; font-weight: bold;}
.cast-more:hover{color: white; text-decoration: underline;}
.char, .char-txt{position: relative;}
.char{box-sizing: border-box; overflow: hidden; min-height: 320px;
  background: linear-gradient(135deg, white calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px));
   -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,1) calc(100% - 20px), transparent calc(100% - 20px));
	 mask-image: linear-gradient(135deg, rgba(0,0,0,1) calc(100% - 20px), transparent calc(100% - 20px));
	margin: 10px 0;
	}
.char-img img{position: absolute; 
	top: 0; left: 0; width: 100%; height: auto;}
.char-txt{margin: 24vw 1em 1em 20vw;}
.char-txt h3, .char-txt section{display: block; background: rgba(255,255,255,0.8);
  padding: 5px; margin: 5px 0;}
.chap{margin: 10px 0; font-size: 0.9em; -ms-flex-line-pack: start; align-content: start;
  background: linear-gradient(135deg, white calc(100% - 20px), rgba(0,0,0,0) calc(100% - 20px))}
.chap-img img{max-width: 100%; height: auto;}
.chap-txt{flex-grow: 1; padding: 10px;}

/* Full Cast View */
.charview-full .char-txt {margin: 20vw 1em 1em 5vw;}
.beast-name{position: relative;}
.beast-name img{max-width: 80%; height: auto;}
.beast-name h2{position: absolute; top: 50%; right: 0; padding: 0.25em;
	margin-top: -1em; background: rgba(255,255,255,0.7);}
.possess-img{max-width: 100%; height: auto;}
.char-revision{background: rgba(255,255,255,0.7);}
.char-revision img{max-width: 100%; height: auto;}
.up-to-when{display: block; padding: 1em 1px 0.5em 1em;
	border-bottom: solid 2px gray; margin: 0 0.5em;}
.char-revision p{padding: 15px;}

/* Extras Section */
#candyPlay{position: relative;}
#candyPlay img{width: 100%; height: auto;}
#candyPlay span{display: inline-block; position: absolute; bottom: 1em; left: 15px;
	padding: 15px; font-size: 2em; font-weight: bold;
  background: linear-gradient(135deg, rgba(7,12,27,0.7) calc(100% - 15px), rgba(0,0,0,0) calc(100% - 15px)); 
	color: white;
}
#candyPlay:hover span{text-shadow: red -0.05em -0.05em;}
.ex-title{background: linear-gradient(135deg, #FF045C calc(100% - 15px), rgba(0,0,0,0) calc(100% - 15px));
  padding: 10px; color: white; font-weight: bold; margin-right: 10px;}
.ex-section{margin: 10px 0 30px 0;}
.ex-section .tms-desc{margin-bottom: 10px;}
.ex-img{width: calc(100% + 30px); height: auto; margin: 0 -15px;}

.artwork-img{
	margin-top: 20px;
	max-width: 100%; height: auto; position: relative;
	border: 2px solid gray;
}

/* Search Page */
#searchField{
  width: 800px; margin: 50px 20px;
}

footer.bg-dark{background-color: rgba(7,17,27,0.7) !important;}
footer{width: 100%; padding-bottom: 25px; margin-bottom: -25px;}
footer a, .policy-section a{color: #ddd}
footer a:hover, .policy-section a:hover{color: #aaa;}

#ukeLogo{max-width: 100%; height: auto; vertical-align: -9px;}

/* 404 page */
#not-found{
  height: 120vh; perspective: 800px;
}

#the-sign{
  max-width: 500px; box-sizing: border-box; padding: 20px;
  background: rgba(255,255,255,0.7);
  border-radius: 3px; border: solid 2px #dedede;
}

#the-sign .muskel{text-align: center;}

#undoit1, #undoit2{
	position: absolute;
	top: 20px; right: 20px;
	z-index: 1;
}

#undoThis ~ #undoit2{display: none;}
#undoThis:checked ~ #undoit2{display: inline-block;}
#undoThis ~ #undoit1{display: inline-block;}
#undoThis:checked ~ #undoit1{display: none;}
#undoThis:checked ~ .muskel0 #the-sign, #undoThis:checked ~ .muskel1 #the-sign, #undoThis:checked ~ .muskel2 #the-sign, #undoThis:checked ~ .muskel3 #the-sign, #undoThis:checked ~ .muskel4 #the-sign{transform: none !important;}

/* dem muskel rotationzzz */
.muskel0 #the-sign{transform: rotateX(-35deg) rotateY(40deg) rotateZ(-10deg) translateY(10%) translateX(10%);}
.muskel1 #the-sign{transform: rotateX(30deg) rotateY(10deg) rotateZ(-20deg) scale(0.8) translateY(-10%) translateX(10%);}
.muskel2 #the-sign{transform: rotateX(40deg) rotateY(20deg) rotateZ(10deg) translateY(-30%) translateX(-5%);}
.muskel3 #the-sign{transform: rotateX(-25deg) rotateY(10deg) rotateZ(40deg) scale(0.8) translateY(10%) translateX(25%);}
.muskel4 #the-sign{transform: rotateX(25deg) rotateY(-10deg) rotateZ(20deg) scale(0.8) translateY(-20%) translateX(-13%);}

/* Portrait iPads and et cetera */
@media only screen and (max-aspect-ratio: 1/1) and (min-width: 720px){
	.arc-img{position: relative;}
  .arc-img img{position: absolute;  top: 0; left: 15px; height: 100%; width: auto;
	 -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 50%, transparent 95%);
	 mask-image: linear-gradient(90deg, rgba(0,0,0,1) 50%, transparent 95%);
	}
	.arc-desc{margin-top: 3em;}
  .char-txt{margin: 13vw 1em 1em 11vw;}
}

/* For full-on widescreen desktops. */
@media only screen and (min-aspect-ratio: 1/1) and (min-width: 801px){
	body{	background-size: auto 100%, auto 50%;
		background-attachment: fixed, fixed; }
	body.error404 {
		background-attachment: scroll, scroll; }
	#wrapper{position: relative; padding-bottom: 65px;}
	.navbar .container-fluid{display: block; padding: 0 !important}
	.navbar-nav{width: 100%;}
	.nav-item:not(.active){margin-right: 1vw;}
	.navbar{width: 20vw; height: 100vh; overflow-y: auto; overflow-x: visible;}
	.navbar-expand-md .navbar-nav{flex-direction: column; text-align: right;}
	.ml-auto{margin-left: 0 !important;}
	.navbar-brand{max-height: 100%; overflow: visible;}
  .navbar-expand-md .navbar-nav .nav-link{ padding: 0.5rem 1.3rem 0.3rem 0.3rem;}
	.navbar-brand img{max-height: 95%; max-width: 95%; margin-left: 2.5%;}
	.vex-link{display: -ms-flexbox !important; display: flex !important;}
	#comicPage{text-align:center;}
	#comicPage img{max-height: 100vh;}
	#mobNav{display: none;}
	
	.navbar-brand{margin-bottom: 0;}
	main, footer{margin-top: 0; padding-left: 20vw; max-height: 100%; max-width: 100%; box-sizing: border-box;}
	main{min-height: calc(100vh - 90px);}
	#sideSocial, #shareSpace, #infoSection{background: none;}
	#info{background: linear-gradient(135deg, rgba(0,0,0,0) 3%, rgba(255,255,255,0.7) 3%, rgba(255,255,255,0.7) 97%, rgba(0,0,0,0) 97%);
	 margin: 1em 0;}
	#infoSection{margin-top: 0.2em;}
	
  /* Archive section	 */
  .arc-img img{width: 150%;
	 -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 50%, transparent);
	 mask-image: linear-gradient(90deg, rgba(0,0,0,1) 50%, transparent);
	}
	.arc-space{margin: auto; padding-top: 2em; padding-bottom: 2em;}
	
  /* Cast section	 */
	.char-txt{margin: 10vw 1em 1em 6vw;}
		
	footer{position: absolute; bottom: 0;}

	#not-found{
	  height: calc(100vh - 105px);
	}

	#the-sign{
	  max-width: 500px; box-sizing: border-box; padding: 20px; margin-left: -20px;
	}

	/*dem mukselz again*/
	.muskel0 #the-sign{transform: rotateX(-35deg) rotateY(40deg) rotateZ(-10deg) scale(1.2) translateY(10%) translateX(10%);}
	.muskel1 #the-sign{transform: rotateX(30deg) rotateY(10deg) rotateZ(-20deg);}
	.muskel2 #the-sign{transform: rotateX(40deg) rotateY(20deg) rotateZ(10deg) scale(1.1) translateY(-20%) translateX(5%);}
	.muskel3 #the-sign{transform: rotateX(-25deg) rotateY(10deg) rotateZ(40deg) scale(1.2) translateY(14%) translateX(15%);}
  	.muskel4 #the-sign{transform: rotateX(25deg) rotateY(-10deg) rotateZ(20deg) scale(1);}
}

/* When the Bootstrap grid changes to md */
@media screen and (min-width: 768px){	
	.possess{background-color: rgba(255,255,255,0.7); padding: 1em; margin: 2em 0;}
	.mesmer{position: relative;}
	.mesmer .possess-img{
		position: absolute; bottom: 0; left: 0;
		height: 100%; max-width: none;
	}
}

/* When the Bootstrap grid changes to xl */
@media screen and (min-width: 1200px){	
	.char-txt{margin: 6vw 1em 1em 6vw;}
	.charview-full .char-txt {margin: 20vw 1em 1em 25vw;}
}

/* iPhones do not like fixed BGs, sooo */
@supports (-webkit-overflow-scrolling: touch) {
  body {
	  background: url('/wp-content/themes/toomuchsugarpaff/assets/img/site-bg-one.png') 0 0 scroll no-repeat,  url('/wp-content/themes/toomuchsugarpaff/assets/img/site-bg-two.png') bottom right scroll no-repeat;
	  background-size: 100% auto, 100% auto;
  }
}