* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: 'KBBonjourMySweet';
    src: url('../fonts/KBBonjourMySweet.eot');
    src: url('../fonts/KBBonjourMySweet.eot?#iefix') format('embedded-opentype'), url('../fonts/KBBonjourMySweet.woff2') format('woff2'), url('../fonts/KBBonjourMySweet.woff') format('woff'), url('../fonts/KBBonjourMySweet.ttf') format('truetype'), url('../fonts/KBBonjourMySweet.svg#KBBonjourMySweet') format('svg');
    font-weight: 500;
    font-style: normal;
}

.hide {
    display: none;
}

.hidden {
    visibility: hidden;
}

.mobile {
    display: none;
}

.container {
    width: 980px;
    margin: 0 auto;
    height: inherit;
}

section .container {
    width: 842px;
}

body {
    background-color: #86D7D1;
    font-family: 'KBBonjourMySweet';
}

header {
    height: 375px;
    background: url('../images/dot.png');
}

header .container {
    position: relative;
    padding: 15px;
    background: url('../images/header.png') no-repeat;
    background-size: 100%;
}

#cloud1 {
    position: absolute;
    width: 114px;
    height: 72px;
    top: 112px;
    left: 10px;
    background: url('../images/nube1.png') no-repeat;
}

#cloud2 {
    position: absolute;
    width: 163px;
    height: 103px;
    top: 190px;
    right: 5px;
    background: url('../images/nube2.png') no-repeat;
}

header h1 {
    text-align: center;
    width: 430px;
    height: 315px;
    background-size: 410px;
    margin: 10px auto 0;
    padding-top: 95px;
    color: #EB281E;
    font-weight: normal;
}

header h1 span {
    display: block;
    background: url('../images/title.png') no-repeat;
    height: 100px;
    text-indent: -99999px;
    width: 317px;
    height: 69px;
    margin: 0 auto 12px;
}

header h1 strong {
    display: block;
    font-size: 30px;
}

.logo {
    position: relative;
    top: 30px;
    width: 40px;
    height: 40px;
    background: url('../images/logo.png') no-repeat;
    text-indent: -99999px;
    display: block;
}

section {
    background-color: #EE949D;
}

span.next {
    float: left;
    display: inline-block;
    width: 58px;
    height: 40px;
    background: url('../images/next.png') no-repeat;
    margin-right: 42px;
    background-position: 0 7px;
}

#controls {
    background-color: #999999;
    height: 40px;
    padding: 0px 20px;
}

.control {
    float: right;
    display: inline-block;
    font-size: 22px;
    text-decoration: none;
    color: #FFF;
    font-weight: bold;
    margin-right: 45px;
    height: 40px;
    padding-top: 10px;
}

.control.last {
    margin-right: 0;
    margin-left: -5px;
    background: url('../images/download.png') no-repeat;
    background-position: right;
    padding-right: 40px;
}

#preview {
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 595px;
}

#cover {
    position: relative;
    z-index: 3;
    background-size: 100% 100%;
    height: 100%;
}

.file {
    display: none;
}

#legend {
    z-index: 6;
    position: absolute;
    bottom: 0;
    left: 0;
}

#date {
    display: inline-block;
    position: absolute;
    color: #FFF;
    z-index: 7;
    font-size: 12px;
    bottom: 0;
    right: 0;
}

#limits {
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
}

#limits #instructions {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 20px;
    color: #B3C4B8;
    background: url('../images/instructions.png') no-repeat;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

#limits #instructions p {
    margin: 0;
    color: #F00;
    padding: 230px 0 10px;
}

#image1,
#image2 {
    z-index: 4;
    position: absolute;
    top: 140px;
    cursor: move;
    background-size: 100% 100%;
    display: none;
}

#image1 {
    left: 30px;
}

#image2 {
    right: 30px;
}

#image1 a.delete,
#image2 a.delete {
    display: inline-block;
    width: 26px;
    height: 32px;
    background: url('../images/delete.png');
    text-indent: -99999px;
    text-decoration: none;
    position: absolute;
    right: 5px;
    top: 5px;
}

#image1 a.nocolor,
#image2 a.nocolor {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url('../images/nocolor.png') no-repeat;
    background-size: 32px;
    text-indent: -99999px;
    text-decoration: none;
    position: absolute;
    left: 5px;
    top: 5px;
}

.placeholder {
    position: absolute;
    z-index: 6;
    top: 0;
    left: 0;
    display: inline-block;
    width: 150px;
    height: 150px;
    background: url('../images/placeholder.png') no-repeat;
    background-position: center;
    display: none;
}

.placeholder a {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    padding-top: 65px;
    letter-spacing: 2px;
    color: #EE949D;
    font-weight: bold;
}

.image-border {
    border: 2px dotted #000;
}

#steps {
    background-color: #999999;
    color: #FFF;
    text-align: center;
    padding: 10px;
}

#steps p {
    margin: 0;
    font-size: 23px;
    padding: 0 30px;
}

#message {
    margin: 8px 0;
    width: 100%;
    padding-left: 70px;
    background: #B3C4B8 url('../images/text.png') no-repeat;
    background-position: 15px 0;
}

#message input:focus {
    outline: none;
}

#message #text,
#color {
    position: relative;
    width: 720px;
    border: none;
    background: none;
    font-size: 34px;
    background-color: #FBD7D2;
    padding: 0;
    padding-left: 5px;
}

#color {
    padding: 0;
    width: 42px;
    cursor: pointer;
    background: url('../images/colors.png') no-repeat;
    background-position: center;
}

#postals {
    padding-bottom: 20px;
}

#heading {
    background: #B3C4B8 url('../images/down.png') no-repeat;
    background-position: 5px 5px;
    margin-bottom: 10px;
}

#heading h2 {
    margin: 0;
    color: #FFF;
    padding: 6px;
    font-size: 22px;
    padding-left: 40px;
}

#list {
    position: relative;
    height: 329px;
    width: 100%;
    overflow: hidden;
}

.item {
    position: relative;
    float: left;
    width: 160px;
    height: 130px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #FFF;
}

.item.last {
    margin-right: 0;
    float: right;
}

.item img {
    position: relative;
    width: 100%;
    height: 100%;
}

.item a {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
    color: #FFF;
    letter-spacing: 1px;
    padding-top: 55px;
    text-indent: -99999px;
}

.item.active a {
    text-indent: 1px;
}

#image1 .ui-icon-gripsmall-diagonal-se,
#image2 .ui-icon-gripsmall-diagonal-se {
    right: -10px;
    bottom: -10px;
    background: url('../images/diagonal.png') no-repeat;
    background-position: center;
    background-size: 21px 26px;
    width: 21px;
    height: 26px;
}

.blocker {
    z-index: 99999;
}

#preloader.modal {
    background: none;
    box-shadow: none;
}

#preloader {
    text-align: center;
    color: #FFF;
}

#social {
    width: 30px;
    position: absolute;
    top: 40px;
    right: 10px;
}

#social ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#facebook {
    background: url('../images/facebook.png') no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-indent: -99999px;
    margin-bottom: 10px;
}

#twitter {
    background: url('../images/twitter.png') no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-indent: -99999px;
}

@media only screen and (max-width: 700px) {
    .mobile {
        display: block;
    }
    header {
        height: 300px;
    }
    header .container {
        width: 280px;
        /*        background: none;*/
        background-size: cover;
        background-position: center;
        padding: 15px 0;
    }
    header h1 {
        margin: 0;
        width: 100%;
        padding-top: 50px;
        height: auto;
        font-size: 20px;
    }
    header h1 span {
        width: 100%;
        background-size: 60%;
        background-position: center;
        margin: 0;
    }
    header h1 strong {
        font-size: 20px;
    }
    #cloud1,
    #cloud2 {
        display: none;
    }
    .logo {
        top: 5px;
    }
    #social {
        top: 25px;
        right: 0px;
    }
    section {
        display: none;
    }
    .mobile {
        background-color: #EE949D;
        height: 400px;
        padding: 70px 50px 0;
    }
    .mobile p {
        margin: 0;
        font-size: 30px;
        line-height: 50px;
        text-align: center;
        color: #FFF;
    }
}
