p,
html,
body,
h2,
fieldset{
	margin: 0;
}
body{
	background-color: #313946;
	font: 16px/18px "Open Sans";
}
.upper{
	text-transform: uppercase;
}
fieldset{
	border: none;
	padding: 0;
	margin-bottom: 29px;
	position: relative;
}
label{
	font-size: 16px;
	line-height: 18px;
	color: #fffbd6;
	margin-bottom: 13px;
	display: block;
}
select,
input[type="text"]{
	border: none;
	width: 100%;
	height: 44px;
	background-color: #fffbd6;
	padding: 0 10px;
	font-size: 16px;
	line-height: 44px;
	color: #12151a;
	box-sizing: border-box;
}
button{
	outline: none;
	height: 56px;
	width: 100%;
	text-transform: uppercase;
	color: #fffbd6;
	font: bold 16px/54px "Open Sans";
	background-color: #313946;
	text-align: center;
	display: block;
	border-radius: 28px;
	border: none;
	cursor: pointer;
	position: relative;
	transition: width .3s;
	box-sizing: border-box;
}
button.invert{
	font-size: 20px;
	background-color: #f36354;
}
button .text{
	display: block;
	white-space: nowrap;
	text-align: center;
	position: relative;
	transition: all .1s;
}
button .spinner{
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -10px 0 0 -10px;
	width: 20px;
	height: 20px;
	background-color: #fffbd6;
	border-radius: 100%;
	opacity: 0;
	transition: opacity .3s .2s;
	transform: rotate(45deg) translate( 15px, 0 ) rotate(-45deg);
	animation: spiner .6s linear infinite;
}
button .ok{
	width: 32px;
	height: 32px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: 10px;
	opacity: 0;
	background-image: url(../images/check.png);
	transform: translate( -50%, -50% );
	transition: all .3s .1s;
}
button.loading{
	width: 56px;
	margin-left: 50%;
	transform: translate(-50%, 0);
}
button.loading .text{
	opacity: 0;
	visibility: hidden;
	top: -5px;
}
button.loading .spinner{
	opacity: 1;
}
button.loading.success{
	width: 100%;
}
button.loading.success .spinner{
	opacity: 0;
	transition: opacity .2s 0s;
}
button.loading.success .ok{
	opacity: 1;
	margin-top: 0;
}
button.success:not(.loading) .text{
	opacity: 1;
	visibility: visible;
	top: 0;
	transition: all .3s;
}

@keyframes spiner {
	from { 	transform: rotate(0deg) translate( 15px, 0 ) rotate(0deg); }
	to   {  transform: rotate(360deg) translate( 15px, 0 ) rotate(-360deg); }
}


.input-file{
	position: relative;
	width: 100%;
	height: 54px;
	box-sizing: border-box;
	border: 2px dashed #fffbd6;
}
.input-file input[type="file"]{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	opacity: 0;
}
.input-file span{
	display: block;
	width: 100%;
	text-align: center;
	font-size: 15px;
	line-height: 50px;
	text-transform: uppercase;
	color: #fffbd6;
}

.app-header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.app-logo{
	position: absolute;
	top: 5px;
	left: 30px;
	width: 330px;
	height: 140px;
}
.app-logo .image{
	position: absolute;
	top: 0;
	left: 0;
	width: 132px;
	height: 136px;
	background-image: url( ../images/logo-image.png );
}
.app-logo .name{
	position: absolute;
	top: 18px;
	right: 2px;
	width: 184px;
	height: 48px;
	background-image: url( ../images/logo-text.png );
}
.app-logo .description{
	position: absolute;
	bottom: 47px;
	left: 180px;
	font-size: 15px;
	font-weight: normal	line-height: 16px;
	color: #bac2a7;
	white-space: nowrap;
}
.app-footer{
	position: absolute;
	bottom: 0;
	left: 65px;
}
.app-footer p{
	font-size: 13px;
	line-height: 18px;
	color: #fffbd6;
	margin-bottom: 45px;
}
.app-footer a{
	color: inherit;
	text-decoration: none;
	transition: color .3s;
}
.app-footer a:hover{
	color: #f26353;
}
.app-footer .iconosur{
	display: inline-block;
	margin: 0 4px;
	width: 70px;
	height: 16px;
	background-image: url( ../images/logo-iconosur.png );
}
@keyframes loveanimation {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(3);
		opacity: 0;
	}
	51%{
		transform: scale(0);
		opacity: 0;
	}
	100%{
		transform: scale(1);
		opacity: 1;
	}
}
.app-footer .love{
	display: inline-block;
	margin: 0 4px;
	width: 18px;
	height: 16px;
	background-image: url( ../images/love.png );
	position: relative;
	top: 4px;
	transition: all .3s;
}
.app-footer .love:hover{
	animation-name: loveanimation;
    animation-duration: .6s;
}
.app-main.active .app-content{
	right: 395px;
}
.app-main.active .app-loadimages{
	opacity: 0;
	visibility: hidden;
}
.app-main.active .app-manageimages{
	opacity: 1;
	visibility: visible;
}
.app-main.active + .app-sidebar{
	right: 0;
}
.app-content{
	position: absolute;
	top: 139px;
	left: 65px;
	right: 65px;
	bottom: 105px;
	box-sizing: border-box;
}
.app-loadimages{
	position: relative;
	width: 100%;
	height: 100%;
	border: 3px dashed #fffbd6;
	text-align: center;
	color: #fffbd6;
	padding-top: 120px;
	box-sizing: border-box;
	transition: all .3s;
}
.app-loadimages:after{
	content: "";
	position: absolute;
	top: 65px;
	left: 60px;
	z-index: -1;
	width: 122px;
	height: 110px;
	background-image: url(../images/load-stars.png);
	transition: all .3s;
}
.app-loadimages:before{
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: -1;
	width: 523px;
	height: 370px;
	background-image: url(../images/load-teddy.png);
}
.app-loadimages input[type="file"]{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	opacity: 0;
	transition: all .3s;
}
.app-loadimages p{
	font-size: 20px;
	line-height: 22px;
	font-weight: 300;
	transition: all .3s;
}
.app-loadimages h2{
	font-size: 65px;
	line-height: 65px;
	font-weight: 300;
	margin: 32px 0 21px;
	transition: all .3s;
}
.app-loadimages button{
	max-width: 415px;
	margin: 27px auto 0;
	transition: all .3s;
}
.app-loadimages .loader{
	opacity: 0;
	visibility: hidden;
	font-size: 50px;
	line-height: 50px;
	font-weight: 300;
	position: absolute;
	top: 172px;
	left: 50%;
	transform: translate(-50%, 0);
	transition: all .3s;
}
.app-loadimages .loader:after,
.app-loadimages .loader:before{
	content: "";
	position: absolute;
	width: 122px;
	height: 110px;
	position: absolute;
	top: -75px;
	left: -105px;
	background-image: url(../images/loader-after.png);
}
.app-loadimages .loader:before{
	transform: rotate( 180deg );
	top: auto;
	left: auto;
	right: -105px;
	bottom: -75px;
}
.app-loadimages.loading:after,
.app-loadimages.loading button,
.app-loadimages.loading p,
.app-loadimages.loading h2{
	opacity: 0;
	visibility: hidden;
}
.app-loadimages.loading .loader{
	opacity: 1;
	visibility: visible;
}
.app-manageimages{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: all .3s;
}
.app-manageimages .drag-element{
	width: 200px;
	height: 250px;
	float: left;
	position: relative;
	opacity: 0;
	top: -20px;
	transition: transform 0.15s, opacity 0.15s;
}

.app-manageimages .drag-element.closed {
	opacity: 0;
	transform: scale3d(0, 0, 1);
	-ms-transform: scale3d(0, 0, 1);
	-moz-transform: scale3d(0, 0, 1);
	-webkit-transform: scale3d(0, 0, 1);
}
.app-manageimages .drag-element.ui-sortable-helper path {
	cursor: -webkit-grabbing !important;
	cursor: grabbing !important;
}
.app-manageimages .drag-element .drag-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 100;
	cursor: pointer;
	width: 30px;
	height: 30px;
	border-radius: 3px;
	background: #f36259 url("../images/delete.png") center center no-repeat;
}
.app-manageimages .drag-element .image{
	width: 200px;
	height: 200px;
	position: relative;
	z-index: 2;
}
.app-manageimages .drag-element .image path:hover {
	cursor: move;
	cursor: -webkit-grab;
	cursor: grab;
}
.app-manageimages .drag-element .morph-shape {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	-webkit-transition: -webkit-transform 0.1s ease-in-out;
	transition: transform 0.1s ease-in-out;
}
.app-manageimages .drag-element textarea {
	outline: none;
	resize: none;
	position: absolute;
	bottom: -2px;
	left: 18px;
	right: 0;
	width: 144px;
	height: 50px;
	padding: 10px 0;
	background-color: transparent;
	font-size: 14px;
	line-height: 16px;
	color: #fffbd6;
	z-index: 100;
	border: none;
}
.app-manageimages .item-add{
	width: 157px;
	height: 157px;
	border: 3px dashed #fffbd6;
	float: left;
	margin: 19px 0 0 18px;
	position: relative;
	cursor: pointer;
	}
.app-manageimages .item-add:before {
	content: "";
	position: absolute;
	width: 40%;
	height: 7px;
	top: 50%;
	left: 30%;
	margin-top: -4px;
	background-color: #fffbd6;
}
.app-manageimages .item-add:after {
	content: "";
	position: absolute;
	width: 7px;
	height: 40%;
	top: 30%;
	left: 50%;
	margin-left: -3px;
	background-color: #fffbd6;
}
.app-manageimages .item-add input {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.app-sidebar{
	position: fixed;
	top: 0;
	right: -330px;
	bottom: 0;
	width: 330px;
	background-color: #f26353;
	padding: 150px 25px 0;
	overflow: auto;
	box-sizing: border-box;
	transition: all .3s;
}
.app-sidebar .bear{
	position: absolute;
	top: 22px;
	right: 44px;
	width: 139px;
	height: 115px;
	background-image: url(../images/sidebar-bear.png);
}
.app-sidebar #upload-logo{
	background-size: contain;
	background-repeat: no-repeat;
}
.app-sidebar #upload-logo span{
	width: auto;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
}
.app-sidebar #upload-logo.active span{
	transform: translate(0%, 0);
}
.alert{
	position: absolute;
	bottom: 20px;
	right: 350px;
	height: 80px;
	opacity: 0;
	visibility: hidden;
	transition: all .1s 1s;
}
.alert .alert-media,
.alert .alert-data{
	float: right;
	box-sizing: border-box;
}
.alert .alert-media{
	transform: scale( 0 );
	opacity: 0;
	transition: all .3s .6s;
}
.alert .alert-data{
	background-color: #fffbd6;
	width: 0;
	transition: all .3s .3s;
	height: 80px;
}
.alert img{
	vertical-align: top;
}
.alert p{
	padding: 0 20px;
	color: #313946;
	line-height: 78px;
	white-space: nowrap;
	opacity: 0;
	transition: all .3s;
}
.alert a{
	color: #f36354;
	text-decoration: none;
	font-weight: bold;
}
.alert a:hover{
	text-decoration: underline;
}
.alert .close{
	position: absolute;
	top: 5px;
	left: 5px;
	width: 10px;
	height: 10px;
	opacity: 0;
	transition: all .3s;
}
.alert .close:after,
.alert .close:before{
	content: "";
	position: absolute;
	top: 0;
	left: 5px;
	width: 1px;
	height: 10px;
	background-color: #313946;
	transform: rotate( -45deg );
}
.alert .close:before{
	transform: rotate( 45deg );
}

.alert.active{
	visibility: visible;
	opacity: 1;
	transition: none;
}
.alert.active .alert-media{
	visibility: visible;
	opacity: 1;
	transform: scale( 1 );
	transition: all .3s;
}
.alert.active .alert-data{
	width: 280px;
}
.alert.active .alert-data .close{
	opacity: .8;
	visibility: visible;
	transition: all .3s .5s;
}
.alert.active .alert-data p{
	opacity: 1;
	visibility: visible;
	transition: all .3s .5s;
}