* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Arial;
}

div.gallery {
	border: 1px solid #ccc;
}

div.gallery:hover {
	border: 1px solid #777;
}

div.gallery img {
	width: 100%;
	height: auto;
}

div.desc {
	padding: 15px;
	text-align: center;
}

select,
button {
	cursor: pointer;
}

#fade {
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index: 1001;
	-moz-opacity: 0.8;
	opacity: 0.8;
	filter: alpha(opacity=80);
}
#light {
	display: none;
	position: absolute;
	top: 5%;
	left: 5%;
	max-width: 90%;
	border: 2px solid #fff;
	background: #fff;
	z-index: 1002;
	overflow: visible;
}
#boxclose {
	float: right;
	cursor: pointer;
	color: #fff;
	border: 1px solid #aeaeae;
	border-radius: 3px;
	background: #222222;
	font-size: 31px;
	font-weight: bold;
	display: inline-block;
	line-height: 0px;
	padding: 11px 3px;
	position: absolute;
	right: 2px;
	top: 2px;
	z-index: 1002;
	opacity: 0.9;
}
.boxclose:before {
	content: "Ã—";
}
#fade:hover ~ #boxclose {
	display: none;
}
.test:hover ~ .test2 {
	display: none;
}

.responsive {
	padding: 0 6px;
	float: left;
	width: 24.99999%;
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.container-external {
	max-width: 95%;
	margin: 0px auto;
}

.container-external2 {
	margin: 0px auto;
	margin-top: 50px;
}

.container-external3 {
	max-width: 95%;
	margin: 0px auto;
}

#everything_container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.preview {
	text-align: left;
	margin-bottom: 20px;
}
.header {
	text-align: center;
	font-weight: bold;
}
.links {
	text-align: center;
}

.dropdowns {
	display: flex;
	justify-content: center;
	gap: 1rem;
	width: 100%;
	padding: 1rem 0;
}

.dropdowns .f-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
}

.dropdowns .f-wrapper.filter {
	display: none;
}

.dropdowns .f-wrapper.filter.show {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
}

.cbx {
	min-width: 15rem;
	padding: 10px 5px;
	border: 1px solid #a4c3ca;
	background: #f1f1f1;
	border-radius: 5px;
	box-shadow: 0 1px 3px #00000040 inset, 0 1px 0 #ffffff;
}
.cbx2 {
	padding: 10px 5px;
	border: 1px solid #a4c3ca;
	background: #f1f1f1;
	border-radius: 5px;
	box-shadow: 0 1px 3px #00000040 inset, 0 1px 0 #ffffff;
}

#headerPopup {
	width: 75%;
	margin: 0 auto;
	margin-top: 0px;
}

#headerPopup iframe {
	width: 100%;
	margin: 0 auto;
}

#copyButton {
	font-weight: bold;
}

#copyButton2 {
	font-weight: bold;
}

#genButton {
	font-weight: bold;
	margin-top: 20px;
}

#newCodeButton {
	font-weight: bold;
	margin-top: 20px;
}

.lp-rotator-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 2rem 0 1rem;	
}

.new-code-btn-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.widget-code-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.link-code-wrapper {
	display: none;
}

.link-code-wrapper.show {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
}

@media only screen and (max-width: 1500px) {
	.responsive {
		width: 49.99999%;
		margin: 6px 0;
	}
}

@media only screen and (max-width: 1000px) {
	.responsive {
		width: 100%;
	}
}

@media only screen and (orientation: landscape) {
	textarea {
		font: "lucida sans", "trebuchet MS", "Tahoma";
		font-size: 125%;
	}

	.container-external {
		width: 80%;
		margin: 1px auto;
	}

	.container-external2 {
		width: 40.99999%;
		margin: 1px auto;
	}

	.header {
		font-size: x-large;
		margin-bottom: 50px;
		max-width: 40%;
		margin: 0px auto;
	}

	.cbx {
		width: 25%;
		min-height: 40px;
		font: 15px "lucida sans", "trebuchet MS", "Tahoma";
	}

	.cbx2 {
		width: 65%;
		min-height: 40px;
		margin-top: 30px;
		margin-bottom: 20px;
		font: 15px "lucida sans", "trebuchet MS", "Tahoma";
	}

	.links {
		font-weight: bold;
		margin-bottom: 20px;
	}

	.results {
		margin-top: 1px;
		margin-bottom: 1px;
		min-height: 20px;
	}

	.hiddenStuff {
		margin-top: 20px;
		margin-bottom: 20px;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 400px;
		width: 99%;
	}

	.blockStuff {
		margin-top: 20px;
		margin-bottom: 20px;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 200px;
		width: 99%;
		font-family: Menlo, Consolas, DejaVu Sans Mono, monospace;
	}

	.preview {
		font-size: 150%;
		margin-top: 50px;
		margin-bottom: 50px;
	}

	#copyButton {
		font: 16px "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 20%;
		margin-bottom: 25px;
	}

	#copyButton2 {
		font: 16px "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 20%;
		margin-bottom: 25px;
	}

	#genButton {
		font: 16px "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 20%;
	}

	#newCodeButton {
		font: 16px "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 20%;
	}
}

@media only screen and (orientation: portrait) {
	.dropdowns {
		flex-direction: column;
		align-items: center;
	}

	.dropdowns .f-wrapper {
		width: 90%;
		justify-content: flex-end;
	}

	.dropdowns .f-wrapper label {
		width: 40%;
	}

	textarea {
		font-family: inherit;
		font-size: 100%;
		padding: 0.5rem;
		border-radius: 5px;
		box-shadow: inset 0 1px 3px #00000040, inset 0 1px 0 #ffffff;
	}

	textarea:placeholder-shown {
		font-size: 100%;
	}

	.links {
		margin-top: 20px;
		margin-bottom: 50px;
		font-size: 20px;
	}

	.container-external {
		width: 95%;
		margin-top: 20px;
		height: 100%;
	}

	.container-external2 {
		width: 90%;
		font-size: 18px;
	}

	.results {
		margin-top: 1px;
		margin-bottom: 1px;
	}

	div.desc {
		font-size: 20px;
	}

	.preview {
		font-size: 150%;
		margin-top: 10px;
		margin-bottom: 50px;
	}

	.header {
		width: 90%;
		font-size: x-large;
		margin-top: 0px;
		margin: 0px auto;
	}

	.cbx {
		font: 16px "lucida sans", "trebuchet MS", "Tahoma";
		width: 80%;
		min-height: 50px;
	}

	.cbx2 {
		margin-top: 30px;
		font: 16px "lucida sans", "trebuchet MS", "Tahoma";
		width: 80%;
		min-height: 50px;
	}

	.hiddenStuff {
		margin-top: 20px;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 220px;
		width: 90%;
	}

	.blockStuff {
		margin-top: 20px;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 220px;
		width: 90%;
	}
	#copyButton {
		font-size: 120%;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 60%;
		margin-top: 20px;
	}
	#copyButton2 {
		font-size: 120%;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 60%;
		margin-top: 20px;
	}
	#genButton {
		font-size: 120%;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 60%;
	}
	#newCodeButton {
		font-size: 120%;
		font: "lucida sans", "trebuchet MS", "Tahoma";
		min-height: 50px;
		width: 60%;
	}
}
