/*
 // JPM Pop-up and PlaylistJungle.com Interface
 // Copyright (C) 2020-2021 James P. Malloy All Rights Reserved
 // http://www.jpmalloy.com
 // james (@) jpmalloy.com
 // Credit must stay intact
 */
 
/* layout */
.iframe-contain {
	overflow:hidden;
	padding-top:56.25%;
	position:relative;
	display:block;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #000000;
}
#inlinedl a, #inlinedl a:visited {
	color: #CCCCCC !important;
}
div#filestoup2 {
	margin-bottom:20px;
}
#videoframe, #inlinevideo {
	max-width:100%;
	max-height:100%;
	position:absolute;
	/* left:auto; top:0; */
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	height:100%;
	width:100%;
}
.sortbold {
	font-weight: bold;
}
div#addformbuttons {
    margin-bottom: 0px;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    height: auto;
	column-gap: 20px;
}
div#mainimport {
	margin-bottom: 20px;
	display: none;
}
#exported2 {
	display: block;
	width: 100%;
	height: 160px;
	margin-top: 0px;
	box-sizing: border-box;
}
section.optionlist {
	border-bottom: 1px solid #ccc;
}
#logo {
	max-width: 329px;
	width: 100%;
	height: auto;
}
#playlisttitle {
	display: block !important;
	margin-right: 10px;
	margin-bottom: 10px;
}
div#appstatus {	
	margin-bottom: 20px;	
}
header {
	width: 100%;
	display: flex !important;
	justify-content: center;
	align-items: normal;
	flex-direction: column;
	padding: 10px 20px;
	margin: 0;
	background-color: rgba(243,243,243,.6); /*rgba(243, 243, 243,.6)*/
	box-sizing: border-box;
	border-bottom: 1px solid #EEEEEE;
	
}
div#layout {
	max-width: 100%;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	height: auto;
	justify-content: space-between;
	box-sizing: border-box;
	background-color: #FFF;
}
section#leftside {
	/*flex: 1;*/
	margin: 0px;
	padding: 20px;
	/*
	flex-direction: column;
	display: flex;
	*/
	max-width: 340px;
	/*min-width: 300px;*/
	box-sizing: border-box;
}
section#rightside {
	flex: 1;
	margin: 0px;
	padding: 20px;
	flex-direction: column;
	display: flex;
	min-width: 400px;
	box-sizing: border-box;
}
 
/* playlist */ 
::placeholder {
  color: #666666;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #666666;
}
::-ms-input-placeholder {
  color: #666666;
}
div.playlist-item {
	border-radius: 0px;
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    height: auto;
	margin-bottom: 0px;
	position: relative;
	background-color: #f8f8f8;
	border-bottom: 1px solid #ddd;
	cursor: move;
}
div.playlist-item:last-child {
	border-bottom: 0px;
}
div.playlist-item > a {
	border-radius: 0px;
    padding: 15px;
    text-decoration: none;
    background-color: #f8f8f8;
    outline: none;
    width: 90%;
    flex: 1;
	font-size: .8em;
	font-weight: bold;
	cursor: move;
	word-break: break-word;
}
span.removeitem {
    font-size: 22px;
    cursor: pointer;
    background-color: #666666;
    flex: 1;
    max-width: 30px;
    display: none;
    color: #fff;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
span.removelist, span.sharelist{
    font-size: 22px;
    cursor: pointer;
    background-color: #888;
    flex: 1;
    max-width: 30px;
    display: flex;
    color: #fff;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
div#jpmplayer {
	border: none;
	position:relative;
}
div#yourlists{
	margin: 0px;
	max-width: 100%;
	width: 100%;
	display: none;
	border: none;
}
div.yourlists-item {
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    height: auto;
	margin-bottom: 0px;
	border-radius: 0px;
}
div#mainlistid-0 a:hover {
	/*background: linear-gradient(90deg, #ffff00 0%, #ff00f7 50%) !important;*/
	color: #fff !important;
	background-color: #000;
	border-radius: 0px;
}
div.yourlists-item a:hover, div.playlist-item a:hover {
	background-color: #eee;
	color: #333;
	border-radius: 0px;
}
div.yourlists-item a{
	border-radius: 0px;
    padding: 15px 40px 15px 15px;
    text-decoration: none;
    background-color: transparent;
	color: #000;
	font-weight: normal;
    outline: none;
	font-size: .95em;
    width: 90%;
    flex: 1;
}
div.createform, div.searchform {
	margin-bottom: 0px;
	max-width: 100%;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	height: auto;
	max-width: 500px;
}
div.itemstats {
	display: block;
	z-index: 2000;
	position: fixed;
	top: 0;
	left: 0;
	color: #888888;
}
div#buttonlist {
	display: flex;
	justify-content: normal;
	flex-flow: wrap;
	column-gap: 20px;
	row-gap: 20px;
	max-width: 100%;
}
textarea#exported {
	display: block;
	width: 100%;
	height: 160px;
	margin-top: 20px;
	box-sizing: border-box;
}
div#sidebarlist {
	margin-top: 60px;
	padding:0 20px 60px 20px;
}
div#playlist {
	padding-top: 20px;
}
div#addvideoform {
	display: none;
}
div#configappform {
	margin-bottom: 20px;
}
div#addvideoform > form > div, div#configappform form > div {

	margin-bottom: 10px;
}
a.clickeditem:hover {
	opacity:.8;
}
a.clickeditem {
	/*background: linear-gradient(260deg, #ffff00 0%, #ff00f7 50%) !important;*/
	background-color: #000 !important;
	color: #fff !important;
}
div.videotitle a {
	padding: 15px 40px 15px 15px;
	text-decoration: none;
	display: block;
	background-color: #111;
	outline: none;
}
div.playlist-item a {
	color: #666666;
}
div.videotitle {
	width: 100%;
	position: relative;
}
button, input[type="file"] {
	border: none;
	background-color: #888;
	color: #fff;
	padding: 12px 18px;
	cursor: pointer;
	border-radius: 4px;
	display: block;
}
/* for inplace cover images */
div.playlist-item div.imghold {
	max-width: 100%;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	height: auto;
	position: relative;
	align-items: center;
	justify-content: center;
	background-color: #000;
}
div.playlist-item img.coverimg {
	position: relative;
	width: 48px;
	height: 48px;
	cursor: pointer;
}
/* for onhover cover images */
div.playlist-item img.videoimg {
	position: absolute;
	top: 0px;
	right: 36px;
	width: 48px;
	height: 48px;
	z-index: 100;
	/*box-shadow: 0px 0px 20px #000;*/
}

/* End of Playlist CSS */

html {
	/* background: #15161c url('music2.jpg') no-repeat top center fixed;*/
	/* background-size: cover; */
	background-color: #fff;
}
body {
	margin: 0px;
	font-family:  "Open Sans", sans-serif; /*"Josefin Sans", Arial, sans-serif;*/
	background-color: transparent;
	font-size: 1em;
	color: #aaa;
	background-color: #fff;
}
input {
	outline:none;
}
form.comment-form {

	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}
header img {
	max-width: 562px;
	height: auto;
	width: 100%;
	border: none;
	/* box-shadow: 0px 0px 20px #000; */
}
section {
	width: 100%;
	height: auto;
	margin: 0 auto;
}
header, section {
	display: block;
}
pre {
	white-space: pre-wrap;
	background-color: transparent;
	font-size: .9em;
	color: #888888;
	border-radius: 16px;
	border: none;
	padding: 1em;
}
section.examples {
	margin: 20px auto;
	padding: 1em;
	border: none;
	background-color: rgba(0, 0, 0, 0.8);
	max-width: 800px;
	border: none;
	box-shadow: 0px 0px 20px #000;
}
div.right-column time {
	font-size: 12px;
	color: #666;
	display: block;
	margin-top: 5px;
}
div.right-column form {
	margin-top: 20px;
}
div.right-column input[type='submit']{
	border: 1px solid #09515d;
	padding: 10px;
	display: inline-block;
	margin-left: 0px;
	border-radius: 4px;
	cursor: pointer;
	background-color: #003743;
	color: #FFFFFF;
	font-size: 14px;
}
textarea{
	color: #666;
	font-family: "Josefin Sans", Arial, sans-serif;
}
div.right-column input[type='text'], textarea#playlistconfig, textarea#exported, textarea#exported2, textarea#shareurl, #createplaylist input[type='text'], #configapp input[type='text'], #setiframe, input#query, div.fieldblock input[type='text'], div.fieldblock input[type='password'], input#searchlists, #addvideoform input[type='text'], #videoform input[type='text'], #videoform2 input[type='text'], .editfilename {
	width: 100%;
	border: 1px solid #ddd;
	padding: 14px;
	display: inline-block;
	border-radius: 0px;
	background-color: #FFFFFF;
	color: #666;
	box-sizing: border-box;
	font-size: 14px;
	outline: none;
}
section#comments > div > p {
	margin: 0;
	overflow-wrap: break-word;
}
section#comments > div {
	padding: 10px 0;
	overflow-wrap: break-word;
}
section#comments {
	height: 380px;
	width: 100%;
	margin-top: 0px;
	overflow-y: auto;
}
a {
	color: #000000;
	text-decoration: none;
}
p {
	margin-bottom: 0px;
	margin-top: 10px;
	line-height: 1.5em;
}
h1 {
	color: #888888;
	font-size: 2em;
	margin:0;
}
h2 {
	color: #888;
	margin: 20px 0 20px 0;
	font-weight: bold;
	font-size: 1.1em;
	letter-spacing: 1px;
}
img.maxmedia {
	cursor:grab;
}
div.navigation {
	top:10px;
	right:0;
}
div.errmsg {
	width: 200px;
	padding: 0px;
	margin: 0 auto;
	position: absolute;
	z-index: 1001;
	top: auto;
	color: #fff;
	text-align: center;
}
div.loading {
	width: 60px;
	padding: 0px;
	margin: 0 auto;
	position: absolute;
	z-index: 1001;
	top: auto;
	color: #fff;
	text-align: center;
}
.loader {
  border: 8px solid #888888;
  border-top: 8px solid #666666;
  border-radius: 50%;
  border-style: double;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
div.left-column > p {
	max-height: 100% !important;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}
div.left-column img {
	height: auto;
	display: block;
	margin: 0 auto;
	max-height: 100vh !important;
	border: none;
}
div.fullsizeimg a.newtab:after{
  display: inline-block;
  content: "\002b";
}
div.fullsizeimg a.hidesidebar:after{
  display: inline-block;
  content: "\25FF"; /* &#x26F6; */
}
div.fullsizeimg a {
	font-size: 30px;
	color: #CCCCCC;
	display: inline-block;
	/*
	justify-content: center;
	align-items: center;
	*/
	height: 40px;
	width: 40px;
	background-color: transparent;
	border-radius: 50%;
	border: none;
	margin: 0px;
	transition: all .2s linear;
	text-decoration: none;
}
div.fullsizeimg {
	display: flex;
	flex-direction: row;
	position: absolute;
	top: 5px;
	left: 10px;
	z-index:1000;
}
div.gallery, div.gallery2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 120px));
	grid-gap: .5em;
	justify-content: normal;
	margin: 20px;
	align-items: center;
	background-color: transparent;
}
div.gallery > .item, div.gallery2 > .item  {
	display: flex;
	background-color: transparent;
	height: 100%;
	margin: 0;
	flex-direction: column;
	justify-content: center;
}
div.gallery .item > img, div.gallery2 > .item > img {
	cursor: pointer;
	max-width: 100%;
	height: auto;
}
div.left-column > p {
	width: 100%;
	/*cursor: pointer;*/
}
div, section {
	box-sizing: border-box;
}
div.top-section {
	align-items: center;
	padding-left: 20px;
}
.closebutton img {
	height: 24px;
	width: 24px;
}
div.underlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 0;
	width: 100%;
	height: 100%;
}
a.closebutton:hover, a.closebutton2:hover {}

a.closebutton:after, a.closebutton2:after, span.removelist:after, span.removeitem:after{
  display: inline-block;
  content: "\00d7";
}
a.closebutton {
	font-size: 34px;
	color: #888888;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	width: 50px;
	background-color: rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	border: none;
	margin: 10px;
	transition: all .2s linear;
	text-decoration:none;
}
a.closebutton2 {
	font-size: 34px;
	color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	width: 50px;
	background-color: rgba(255,255, 255, 0.5);
	border-radius: 50%;
	border: none;
	margin: 0px;
	transition: all .2s linear;
	text-decoration:none;
}
a#nextarrow, a#prevarrow  {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	width: 50px;
	background-color: transparent;
	border: 1px solid #888888;
	border-radius: 50%;
	border:none;
	margin: 0;
	position: sticky;
	top: 20px;
	transition: all .2s linear;
}
div.closeposition {
	display: none;
	position: fixed;
	top: 10px;
	right: 25px;
	z-index: 1100;
}
.reposition-close {
	right: unset;
	left: 240px;
}
.reverse {
	flex-direction: row-reverse;
}
div.wrap-container, div.popnav {
	display: flex;
	justify-content: space-between;
	flex-flow: wrap;
	column-gap: 0px;
	row-gap: 0px;
	margin: 0 auto;
	max-width:100%;
	height: 100%;
}
div.left-column {
	display: flex;
	flex: 1;
	justify-content: center;
	align-items: center;
	flex-basis: min-content;
	min-width: 280px;
	max-width: 100%;
	max-height: 100%;
	height:100vh;
	flex-direction: column;
	position:relative;
	overflow:hidden;
}
div.right-column a{
	text-decoration: none;
}
div.right-column {
	display: flex;
	flex: 1;
	flex-basis: max-content;
	justify-content: normal;
	min-width: 320px;
	max-width: 340px;
	height: 100%;
	flex-direction: column;
	background-color: #FFFFFF;
	padding: 0;
	box-sizing: border-box;
	overflow-y: auto;
	position: relative;
	min-height: 400px;
	overflow-wrap: break-word;
}
div.overlay {
	overflow: auto;
}
span.nav:first-child {
}
span.nav {
	color: #fff;
	display: inline-block;
	transform: rotateX(20deg) rotateY(60deg);
}
img.navthumb:hover {
	opacity: 1;
}
img.navthumb {
	max-width: 80px !important;
	width: auto;
	height: auto !important;
	cursor: pointer;
	box-shadow: 5px 0px 10px #000;
	opacity: .5;
}
div.arrow-right:hover .arrow, div.arrow-left:hover .arrow {
	border-color: #fff;
}
.arrow {
  border: solid rgba(255, 255, 255, 0.2);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
}
.arrowright {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
.arrowleft {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}
div.arrow-right {
	position: absolute;
	right: 0px;
	top: 50%; /* 0 */
	height: 50px;
	max-height: 100%;
	width: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translate(-0%, -50%);
}
div.arrow-left {
	position: absolute;
	left: 0px;
	top: 50%;
	height: 50px;
	max-height: 100%;
	width: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translate(-0%, -50%);
}
@media only screen and (max-width: 640px) {
	div.left-column img {
		max-width: 100% !important;
	}
	header {
		height: auto;
	}
	iframe[src*=youtube] {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		/*height: auto;*/
	}
	section#rightside {
		min-width: 100%;
		padding-top: 0;
	}
	div.right-column{
		flex-basis: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow-y:hidden !important;
		height: auto !important;
	}
	div.left-column {
		height: 100vh !important;
	}
	div.arrow-right,div.arrow-left {
		position: absolute;
		right: 0px;
		/*  display: none !important;  block for showing on mobile */
	}
	div.overlay {
		overflow-y:auto;
	}
	div.navigation {
		visibility:hidden;
		top: 0;
		left: 0;
		right: unset !important;
	}
	div.fullsizeimg {
		display: none;
	}
	a.closebutton2 {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 50px;
		width: 50px;
		background-color: rgba(255, 255, 255, 0.2);
		border-radius: 50%;
		border: none;
		margin: 0px;
		transition: all .2s linear;
	}
	section#comments {
		max-height: 100%;
		overflow-y: unset;
	}
}