*,
*:before,
*:after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	font-size: 62.5%;
}

body {
	background: #63BDF7;
	font-family: Verdana;
}

body.hiddenOverflow {
	overflow: hidden;
}

.leftFloater {
	float: left;
}

.rightFloater {
	float: right;
}

img {
	width: 100%;
}

h2 {
	font-size: 3rem;
	margin-bottom: 20px;
}

.demo {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 30.6rem;
	height: 54rem;
	margin-left: -15.3rem;
	margin-top: -27rem;
	background: #F6F6F5;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.demo__header {
	height: 6rem;
	background: #002942;
}

.demo__content {
	position: relative;
	padding-top: 4.5rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.demo__card-cont {
	position: relative;
  width: 80%;
	float: left;
	margin-left: 10%;
	max-width: 440px;
	margin: 0 auto 5rem 10%;
}

.demo__card {
	z-index: 2;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-o-perspective: 900px;
  -webkit-perspective: 900px;
  -ms-perspective: 900px;
  perspective: 900px;
}

.demo__card.reset {
	-webkit-transition: -webkit-transform 0.3s;
	transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	transition: transform 0.3s, -webkit-transform 0.3s;
	-webkit-transform: translateX(0) !important;
	transform: translateX(0) !important;
}

.demo__card.reset .demo__card__choice {
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	opacity: 0 !important;
}

.demo__card.inactive {
	-webkit-transition: -webkit-transform 0.3s;
	transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	transition: transform 0.3s, -webkit-transform 0.3s;
}

.demo__card.to-left {
	-webkit-transform: translateX(-30rem) rotate(-30deg) !important;
	transform: translateX(-30rem) rotate(-30deg) !important;
}

.demo__card.to-right {
	-webkit-transform: translate(30rem) rotate(30deg) !important;
	transform: translate(30rem) rotate(30deg) !important;
}

.demo__card.below {
	z-index: 1;
  display: none;
}

.demo__card__top {
	float: left;
	width: 100%;
}

.demo__card__top.purple {
	background: #7132B9;
}

.demo__card__top.blue {
	background: #248CB6;
}

.demo__card__top.indigo {
	background: #303F9F;
}

.demo__card__top.cyan {
	background: #26C6DA;
}

.demo__card__top.lime {
	background: #AFB42B;
}

.demo__card__top.brown {
	background: #795548;
}

.demo__card__img {
	float: left;
	width: 100%;
}

.demo__card__img img {
  width: 100%;
  height: auto;
  float: left;
}

.demo__card__name {
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
	color: #fff;
}

.demo__card__btm {
	height: 11.5rem;
	background: #FFFFFF;
  float: left;
  width: 100%;
}

.demo__card__we {
	text-align: center;
	font-size: 2.2rem;
	margin-top: 3rem;
}

.demo__card__we span.small {
	font-size: 1.5rem;
}

.demo__card__choice {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.demo__card__choice:before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2rem;
	height: 2rem;
	margin-left: -1rem;
	color: #fff;
	border-radius: 50%;
	box-shadow: -2rem -3rem #fff, 2rem -3rem #fff;
}

.demo__card__choice:after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4rem;
	height: 1.5rem;
	margin-left: -2rem;
	border: 0.6rem solid #fff;
	border-bottom: none;
	border-top-left-radius: 1.5rem;
	border-top-right-radius: 1.5rem;
}

.demo__card__choice.m--reject {
	background: #FF945A;
}

.demo__card__choice.m--like {
	background: #B1DA96;
}

.demo__card__choice.m--like:after {
	-webkit-transform: scaleY(-1);
	transform: scaleY(-1);
}

.demo__card__drag {
	z-index: 5;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: -webkit-grab;
	cursor: grab;
}

.demo__tip {
	text-align: center;
	font-size: 2.2rem;
}

.container {
	width: 80%;
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
}

.container .singleCard {
	display: block;
	background: #fff;
	padding: 50px 25px;
	margin-bottom: 50px;
}

.container .singleCard:first-of-type {
	margin-top: 50px;
}

.theName {
	font-size: 3rem;
}

.theText {
	font-size: 2rem;
}

input[type="text"], textarea {
	width: 100%;
	border: 1px solid #000;
	padding: 10px 5px;
	margin-bottom: 10px;
}

input[type="submit"], .deleteImage {
	border: 1px solid #000;
	cursor: pointer;
	padding: 15px 10px;
	background: #fff;
	width: 100%;
}

.row {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.imgLabel {
    font-size: 1.5rem;;
    font-weight: 700;
    color: #fff;
    background-color: #000;
		padding: 5px 10px;
    display: inline-block;
		cursor: pointer;
		margin-bottom: 10px;
		width: 100%;
}

.imgLabel:focus,
.imgLabel:hover {
    background-color: #63BDF7;
}

.singleImage {
	flex: 1 1 30%;
	margin-right: 3%;
	max-width: 30%;
	margin-bottom: 3%;
}

.imageName, .cardName, .cardBack {
	font-size: 1.4rem;
}

.inlineEditor {
	margin-bottom: 0 !important;
	border-bottom: 0 !important;
}

.changeMainImage .imgLabel {
	margin-top: 10px;
}

.mainHR {
	margin-top: 25px;
	margin-bottom: 25px;
}

.percent27 {
	width: 27%;
	margin-right: 3%;
}

.percent70 {
	width: 70%;
}

body {
  width: 100%;
  height: 100%;
}

.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  will-change: transform;
	background: #63BDF7;
  min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}

nav {
	background: #fff;
	padding: 20px 10px;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1.4rem;
}

nav ul li {
	margin: 0;
	padding: 0;
}

nav ul li a {
	color: #000;
	text-decoration: none;
	margin: 0;
	padding: 15px 20px;
	display: block;
	border-bottom: 1px solid #000;
}

nav ul li:first-of-type > a {
	border-top: 1px solid #000;
}

nav ul li.active > a {
	color: #63BDF7;
}

.createNewList {
	margin-top: 50px;
}

.flipcard {
	float: left;
	width: 100%;
	height: 100%;
  -o-transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  -o-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.do-flip {
  -o-transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}
.flip-card-btn-turn-to-back, .flip-card-btn-turn-to-front {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
	border-radius: 45px;
  background: #fff;
  cursor: pointer;
  visibility: hidden;
  font-weight: 600;
  font-size: 3rem;
  padding: 0;
  color: #000;
	z-index: 10;
	border: 1px solid #000;
}
.flipcard .flip-card-front, .flipcard .flip-card-back{
  float: left;
	width: 100%;
	height: 100%;
  -o-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 2;
}
.flipcard .flip-card-front {
    background: #fff;
}
.flipcard .flip-card-back {
    background: #fff;
    -o-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
		position: absolute;
    width: 100%;
    height: 100%;
}
.flipcard .flip-card-back p {
  display: block;
  padding: 50px 20px;
  width: 100%;
	font-size: 4rem;
}

@media screen and (max-width: 750px) {
	.column {
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 20px !important;
	}

	.singleImage {
		max-width: 100%;
		margin-right: 0;
		flex: 1 1 100%;
		margin-bottom: 20px;
	}
}
