html, body {
    font-family: 'Champagne&Limousines';
    background: #f4e4b2;
    font-size: 20px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
html, body.center {
    margin-top: 50px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.clear {
    clear: both;
}
.menu {
    position: absolute;
    top: 10px;
    left: 10px;
    text-decoration: none;
    color: black;
}
.menu:hover {
    color: #DAA520;
}



.fr1 {
    width: calc(((100% / 12) * 1) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr2 {
    width: calc(((100% / 12) * 2) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr3 {
    width: calc(((100% / 12) * 3) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr4 {
    width: calc(((100% / 12) * 4) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr5 {
    width: calc(((100% / 12) * 5) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr6 {
    width: calc(((100% / 12) * 6) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr7 {
    width: calc(((100% / 12) * 7) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr8 {
    width: calc(((100% / 12) * 8) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr9 {
    width: calc(((100% / 12) * 9) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr10 {
    width: calc(((100% / 12) * 10) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr11 {
    width: calc(((100% / 12) * 11) - 1%);
    padding: 0 0.5%;
    float: left;
}
.fr12 {
    width: calc(((100% / 12) * 12) - 1%);
    padding: 0 0.5%;
    float: left;
}



.offsetRight1 {
    margin-right: calc(((100% / 12) * 1) - 1%);
}
.offsetRight2 {
    margin-right: calc(((100% / 12) * 2) - 1%);
}
.offsetRight3 {
    margin-right: calc(((100% / 12) * 3) - 1%);
}
.offsetRight4 {
    margin-right: calc(((100% / 12) * 4) - 1%);
}
.offsetRight5 {
    margin-right: calc(((100% / 12) * 5) - 1%);
}
.offsetRight6 {
    margin-right: calc(((100% / 12) * 6) - 1%);
}
.offsetRight7 {
    margin-right: calc(((100% / 12) * 7) - 1%);
}
.offsetRight8 {
    margin-right: calc(((100% / 12) * 8) - 1%);
}
.offsetRight9 {
    margin-right: calc(((100% / 12) * 9) - 1%);
}
.offsetRight10 {
    margin-right: calc(((100% / 12) * 10) - 1%);
}
.offsetRight11 {
    margin-right: calc(((100% / 12) * 11) - 1%);
}
.offsetRight12 {
    margin-right: calc(((100% / 12) * 12) - 1%);
}

.offsetLeft1 {
    margin-left: calc(((100% / 12) * 1) - 1%);
}
.offsetLeft2 {
    margin-left: calc(((100% / 12) * 2) - 1%);
}
.offsetLeft3 {
    margin-left: calc(((100% / 12) * 3) - 1%);
}
.offsetLeft4 {
    margin-left: calc(((100% / 12) * 4) - 1%);
}
.offsetLeft5 {
    margin-left: calc(((100% / 12) * 5) - 1%);
}
.offsetLeft6 {
    margin-left: calc(((100% / 12) * 6) - 1%);
}
.offsetLeft7 {
    margin-left: calc(((100% / 12) * 7) - 1%);
}
.offsetLeft8 {
    margin-left: calc(((100% / 12) * 8) - 1%);
}
.offsetLeft9 {
    margin-left: calc(((100% / 12) * 9) - 1%);
}
.offsetLeft10 {
    margin-left: calc(((100% / 12) * 10) - 1%);
}
.offsetLeft11 {
    margin-left: calc(((100% / 12) * 11) - 1%);
}
.offsetLeft12 {
    margin-left: calc(((100% / 12) * 12) - 1%);
}

.offsetBottom {
    margin-bottom: 20px;
}
.offsetTop {
    margin-top: 20px;
}




input, a, button, textarea {
    outline: none;
}


.remove {
    width: calc(((100% / 3) / 2) - 17.5px);
    padding: 5px 0;
    margin-left: 20px;
    margin-top: 50px;
    border: none;
    background: red;
    font-size: 1.2em;
    color: ivory;
    text-align: center;
    text-decoration: none;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    float: left;
}


label {
    display: block;
    padding: 0 0 5px 5px;
    text-transform: uppercase;
    color: #DAA520;
}
input {
    width: calc(100% - 10px);
    padding: 6px 5px;
    border: none;
    font-size: 1.2em;
    font-weight: 100;
    color: #333;
    background: ivory;
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
textarea {
    width: calc(100% - 10px);
    height: 100px;
    padding: 6px 5px;
    border: none;
    font-size: 1.2em;
    font-weight: 100;
    color: #333;
    background: ivory;
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
input.error {
    background: url(../img/priority.svg) no-repeat right 1% center ivory;
    color: red;
    border-bottom: 1px solid red;
    padding: 6px 5px 5px 5px;
}
textarea.error {
    background: url(../img/priority.svg) no-repeat right 1% top 6px ivory;
    color: red;
    border-bottom: 1px solid red;
    padding: 6px 5px 5px 5px;
}






.form input[type="file"] {
    position: absolute;
    filter:alpha(opacity=0);
    -moz-opacity:0;
    -khtml-opacity: 0;
    opacity: 0;
}
.form .button {
    position: relative;
    display: block;
    overflow: hidden;
    width: 18%;
    height: 28px;
    padding: 6px 2%;
    margin-left: -1px;
    text-align: center;
    font-size: 1em;
    color: #fff;
    cursor: pointer;
    float: left;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}
.form input[type="text"] {
    width: calc(80% - 20px);
    padding: 6px 5px;
    border: none;
    font-size: 1.2em;
    font-weight: 100;
    color: #333;
    background: ivory;
    float: left;
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
}





.checkbox-wrapper input[type=checkbox] {
    visibility: hidden;
}

.checkbox-wrapper {
    width: 34px;
    position: relative;
    margin-left: 0;
    float: left;
}

.checkbox-wrapper label.checkbox {
    cursor: pointer;
    position: absolute;
    width: 34px;
    height: 34px;
    top: 0;
    left: 0;
    background: ivory;
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.checkbox-wrapper label.checkbox:after {
    opacity: 0.0;
    content: '';
    position: absolute;
    width: 20px;
    height: 10px;
    background: transparent;
    top: 10px;
    left: 8px;
    border: 3px solid black;
    border-top: none;
    border-right: none;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.checkbox-wrapper label.checkbox:hover::after,
.checkbox-wrapper input[type=checkbox]:hover + label.checkbox:after {
    opacity: 0.2;
}

.checkbox-wrapper input[type=checkbox]:checked + label.checkbox:after {
    opacity: 1;
}
.checkbox-wrapper input[type=checkbox]:hover:checked + label.checkbox:after {
    opacity: 0.7;
}










button {
    width: calc(((100% / 3) / 2) - 17.5px);
    padding: 5px;
    margin-left: -0.3px;
    margin-top: 50px;
    border: none;
    background: green;
    font-size: 1.2em;
    color: ivory;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    float: left;
}
button.inline {
    width: calc(50% - 5px);
    margin-top: 2px;
}
.remove.inline {
    width: calc(50% - 5px);
    margin-top: 2px;
    margin-left: 5px;
}

#wrapper {
    width: 60%;
    margin: 0 auto;
    z-index: 1;
}

#backImage {
    position: fixed;
    top: 50%;
    margin-top: -400px;
    width: 100%;
    height: 800px;
    text-align: center;
    font-size: 800px;
    color: rgba(255, 255, 240, 0.3);
    z-index: 0;
}

#errorMsg {
    background: url(../img/notification.svg) no-repeat left 1% center rgba(255, 0, 0, 0.2);
    color: red;
    width: calc(100% - 20% - 2px);
    margin-bottom: 50px;
    padding: 5px 10%;
    font-family: 'Champagne&Limousines-Bold';
    text-transform: uppercase;
    border: 1px solid red;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}



.button {
    background: #DAA520;
    color: ivory;
    display: block;
    width: calc((100% / 3) - 1%);
    margin: 0.5%;
    padding: 30px 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    float: left;
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.button.wide {
    width: calc(((100% / 3) * 2) - 1%);
}

.wrapper {
    position: relative;
}

img {
    height: 40px;
    border-radius: 50%;
}

.delete {
    color: red;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -5px;
    left: -5px;
    text-decoration: none;
}




.menu-pages {
    width: calc(100% + 15px);
    margin: 0;
    margin-left: -15px;
    padding: 0;
}
.menu-pages li {
    background: url(../img/more_vert.svg) no-repeat center left -5px;
    width: calc(100% - 15px);
    padding-left: 15px;
    display: block;
}



@media screen and (max-width: 1000px) {
    .button, .button.wide {
        width: calc((100% / 2) - 1%);
        padding: 20px 0
    }
}
@media screen and (max-width: 830px) {
    #backImage {
        margin-top: -200px;
        height: 400px;
        font-size: 400px;
    }
    .button, .button.wide {
        width: calc((100% / 1) - 1%);
        padding: 15px 0;
    }




    .fr1,.fr2,.fr3,.fr4,.fr5,.fr6,.fr7,.fr8,.fr9,.fr10,.fr11,.fr12 {
        width: 100%;
        margin: 0;
        float: none;
    }
    .clear {
        margin-bottom: 50px;
    }
}