.margin-top {
    margin-top: 1rem;
}

.margin-top-2 {
    margin-top: 2rem;
}

.margin-top-3 {
    margin-top: 3rem;
}

.margin-top-4 {
    margin-top: 4rem;
}

.margin-top-5 {
    margin-top: 5rem;
}

.margin-top-6 {
    margin-top: 6rem;
}

section {
    position: relative;
}

.steps input[type="radio"] {
    border: 0;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    width: 0.5px;
    display: none;
}

input[type="radio"] + span:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 1em;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3.5px #CC9B68;
    margin-right: 0.77em;
    transition: 0.5s ease all;
    background: #fff;
}

input[type="radio"]:checked + span:before {
    background: #CC9B68;
    box-shadow: 0 0 0 0.18em #CC9B68;
}

header {
    width: 100%;
    height: 645px;
    background: url('../img/header_bg2.jpg');
    background-size: cover;
    background-position: center;
}

header a.logo img {
    margin-top: 10px;
}

header .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

header section p {
    display: inline;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 70px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0.5rem 0 0 rgba(255, 255, 255, 0.8),-0.5em 0 0 rgba(255, 255, 255, 0.8);
    box-decoration-break: clone;
    padding: 0.5em 0em;
}

header section button {
    display: inline-block;
    font-size: 2rem;
    font-weight: 400;
    color: #fef2c8;
    text-align: center;
    border: 0;
    background: #e82c0f;
    padding: 1rem 2em;
    box-shadow: none;
}

a.cta_button, a.cta_button:hover, a.cta_button:visited, a.bigRedButton, .btn-sb {

    display: inline-block;
    font-size: 2rem;
    font-weight: 400;
    color: #fef2c8;
    text-align: center;
    line-height: 1;
    border: 0;
    background: #e82c0f;
    padding: 1rem 1.5rem;
    box-shadow: none;
    margin-top: 10px;
}

.logo_top{
    padding-top: 300px; padding-right: 50px; text-align: right;
}

.btn-top{
    align-self:flex-end;
}


nav {
    width: 100%;
    min-height: 44px;
    text-align: center;
    background: #DFA573;
    margin-top: 1px;
}

nav ul.menu {
    display: table;
    min-height: 53px;
    margin: auto;
}

nav ul.menu li > a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

nav ul.menu li:hover {
    background: #724130;
    transition: 300ms background ease;
}

nav ul.menu .active {
    background: #724130;
}

nav ul.menu .active > a {
    background: #724130;
}

nav .nav-toggle {
        display: none;
}

section.welcome h1, section.steps h1, section.gallery h1, section.personalform h1 {
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

section.welcome p, section.steps p, section.personalform p {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
}

section.prize {
    position: relative;
    margin-top: 130px;
    padding: 1rem 1rem 2rem;
    border: 2px dashed #C79C6F;
}

section.prize h2 {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    background: #e82c0f;
    padding: 0.5rem 2em;
}

section.prize p {
    font-size: 18px;
    font-weight: 700;
}

.girl_zdj{
    margin-top: -350px;
    margin-left: 60px;
}

section.plan img {
    width: auto;
    height: 148px;
}

section.plan p > strong > span {
    display: block;
    color: #e81200;
}

section.plan .arrow {
    position: relative;
    width: 765px;
    height: 260px;
    background: url(../img/arrow.png);
    background-size: contain;
    margin-left: 80px;
}

section.plan .arrow > p {
    width: 400px;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-left: -10px;
}

section.plan .arrow > p > span {
    font-size: 2.125rem;
    font-weight: bold;
    color: #e81200;
    text-align: center;
}

section.steps {
    position: relative;
    margin-top: 130px;
    padding: 2rem;
    border: 2px dashed #C79C6F;
}

.last section.steps {
    margin-top: 100px;
}

section.steps.zdjecie {
    background: url(../img/hint.png) 10px 50% no-repeat;
}

section.steps.kina {
    margin-bottom: 50px;
}


section.steps div.round {
    width: 80px;
    height: 80px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    border-radius: 100%;
    background: #CC9B68;
    padding: 1rem 0;
}

section.steps p {
    font-weight: 700;
    text-transform: uppercase;
}

section.steps p.legal {
    font-weight: 300;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
    text-transform: none;
}

section.steps textarea {
    height: 300px;
    /* margin-bottom: 3rem; */
}

section.personalform {
    position: relative;
    margin-top: 30px;
    padding: 2rem;
    border: 2px dashed #C79C6F;
}

section.personalform h2 {
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;

}

section.personalform p.legal {
    font-weight: 300;
    font-size: 0.85rem;
    text-align: left;
    line-height: 1.2;
}

section.personalform div.forminput {
    padding-left: 10px;
    padding-right: 10px;
}

section.steps div.LocalizationDoesNotMatter {
    text-align: center;
    padding-top: 30px;

}

section.steps div.LocalizationDoesNotMatter input {
    display:inline;
}


.kinder-left, .kinder-right {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    margin-top: 90px;
}

.kinder-left {
    left: -5%;
}

.kinder-right {
    right: -5%;
}

section.personalform input[type="submit"] {
    position: absolute;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 2rem;
    font-weight: 400;
    color: #fef2c8;
    text-align: center;
    border: 0;
    background: #e82c0f;
    padding: 1rem 2em;
    box-shadow: none;
    line-height: 1;
}

.personalform-checkbox {
    padding: 10px 15px;
}

.personalform-checkbox label, .personalform-checkbox input[type="checkbox"] {
  display: inline;
}

a.bigRedButton:hover, a.bigRedButton:visited {
    color: #fef2c8;
}

section.gallery .item {
    position: relative;
    display: block;
}

.joinus {
    display: inline-block;
    font-size: 2rem;
    font-weight: 400;
    color: #fef2c8;
    text-align: center;
    border: 0;
    background: #e82c0f;
    padding: 1rem 2em;
    box-shadow: none;
}

.cropit-preview {
    display: block;
    width: 455px;
    height: 682px;
    background-color: #f8f8f8;
    background-size: contain;
    margin: 7px auto 0 auto;
    position: relative;
}

.cropit-preview-white {
    background: url('../img/cover_white.png');
}

.cropit-preview-black {
    background: url('../img/cover_black.png');
}

input.cropit-image-input {
    visibility: hidden;
}

.cropit-preview-image-container {
    cursor: move;
}

.cropit-preview-image{
    max-width: none;
}

.cropit-preview-background {
    opacity: .2;
    cursor: auto;
    max-width: none;
}

.cropit-image-zoom-input {
    margin: auto;
}

.image-size-label {
    margin-top: 10px;
}

.cover-temp-1 {
    display: block;
    z-index: 2;
width: 100%;
}

.cover-temp-2 {
display: block;
    z-index: 2;

width: 100%;
}

.cover-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    right: 0px;
width: 100%;
}

.controls {
    position: relative;
    display: none;
    border: 1px dashed #cc9b68;
    padding: 1rem 3rem;
}
/*
.upload {
    width: 130px;
    height: 130px;
    background: url('../img/plus.png');
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    cursor: pointer;
}

.upload input {
    display: block !important;
    width: 130px;
    height: 130px;
    opacity: 0 !important;
    overflow: hidden !important;
}
*/
.controls .upload {
    display: block;
    margin: auto;
    width: 50px;
    height: 50px;
    background: url('../img/plus.png');
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    z-index: 4;
    cursor: pointer;
}

input, .export {
    /* Use relative position to prevent from being covered by image background */
    position: relative;
    z-index: 10;
    display: block;
}

button {
    margin-top: 10px;
}

.pagination {
    display: inline-block;
    background: #DC9D65;
    font-weight: bold;
    height: 53px;
    width: 53px;
    font-size: 24px;
    line-height: 2;
    margin-right: 6px;
    color: #fff;
}

.paginacja ul li {
    display: inline-block;
    color: #fff;
}

.pagination li a {
    color: #fff;
}

.pagination.current, .pagination:hover {
    background: #754429;
    height: 53px;
    color: #fff;
}

.pagination.prev {
    background: #DC9D65 url('../img/prev.png');
    background-size: 14px 27px;
    background-repeat: no-repeat;
    background-position: center;
    width: 53px;
    height: 53px;
}

.pagination.next {
    background: #DC9D65 url('../img/next.png');
    background-size: 14px 27px;
    background-repeat: no-repeat;
    background-position: center;
    width: 53px;
    height: 53px;
}

.pagination.first  {
    width: auto;
    padding: 0 15px;
}

.pagination.last  {
    width: auto;
    padding: 0 15px;
}

.pagination.prev:hover {
    background: #754429 url('../img/prev.png');
    background-size: 14px 27px;
    background-repeat: no-repeat;
    background-position: center;
    width: 53px;
    height: 53px;
}


.pagination.next:hover {
    background: #754429 url('../img/next.png');
    background-size: 14px 27px;
    background-repeat: no-repeat;
    background-position: center;
    width: 53px;
    height: 53px;
}

#facebook-content {
    margin: 130px auto;
    text-align: center;
}

.facebook-button {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.personalform-checkbox label {
    font-weight: 300;
    font-size: 0.85rem;
    text-align: left;
    line-height: 1.2;
}

.reveal-modal-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #000;
    background: rgba(0,0,0,0.2);
    z-index: 999999;
    display: none;
    top: 0;
    left: 0;
}

.reveal-modal {
    display: none;
    top: 100px;
    left: 50%;
    margin-left: -300px;
    background: #FBFBFB;
    position: fixed;
    z-index: 9999999;
    padding: 30px 40px 34px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 10px;
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
    -box-shadow: 0 0 10px rgba(0,0,0,.4);
    border: 1px solid #9A9998;
}

 .close-reveal-modal {
    background: #c2c1c1;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    position: absolute;
    cursor: pointer;
    right: -10px;
    top: -12px;
}

.close-reveal-modal:before, .close-reveal-modal:after {
    content:'';
    position:absolute;
    width: 17px;
    height: 3px;
    background-color: #605D5C;
    top: 11px;
}

.close-reveal-modal:before {
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    transform:rotate(45deg);
    left: 4px;
}
.close-reveal-modal:after {
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    transform:rotate(-45deg);
    right: 4px;
}

.menu > li {
    height: 53px;
}

.welcome h1 {
    width: 103%;
}


section.winners {
    position: relative;
    margin: 130px auto 0px;
    padding: 18px;
    border: 2px dashed #C79C6F;
    max-width: 1200px;
    width: 100%;
}

section.winners h3 {
    text-transform: uppercase;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #551e0b;
    text-align: center;
    background: #fadbb9;
    padding: 0.5rem 1em;
}
section.winners h3 span {color: inherit; font-size: 1.25rem; font-weight: 300;}

section.winners h4 { color: #551e0b;font-size: 1.5rem; font-weight: 700; padding: 10px;}

.winners .items { padding-bottom: 30px;}
.winners .item {
    display: inline-block;
    padding: 0 10px;
    vertical-align: top;
    width: 19.7%;
    text-align: center;
}

.winners .item h4{padding: 10px 0px 0px; margin: 0px;}
.winners .item span {color: #551e0b;font-size: 1.5rem; font-weight: 300; padding-bottom: 8px; }

.winners > ul {
    margin: 10px;
    padding: 0;
}

.winners li {
    font-size: 1.5rem;
    display: block;
    float: left;
    width: 33%;
}
.winners .smaller li {font-size: 0.8rem; width: 20%;}
.winners .hidden li { display: none; }
.winners .hidden li.show { display: block; }

.winners ul::after {content: ""; clear: both; display: block; width: 100%; margin-bottom: 30px;}

.winners input:focus,
.winners input {font-size: 20px; height: 50px; display: block; width: 50%; padding: 0px 10px; border: 0px; line-height: 50px; background: #ffedd9; box-shadow: none;}

.winners input::-webkit-input-placeholder   {color: #551e0b;}
.winners input::-moz-placeholder            {color: #551e0b;}
.winners input:-ms-input-placeholder        {color: #551e0b;}
.winners input:-moz-placeholder             {color: #551e0b;}
.winners input:placeholder                  {color: #551e0b;}

 .winners.final .item {width: 24.7%;}
    @media screen and (max-width: 1023px) {
    section.winners {
      padding-top: 120px;
    }
    .winners .item {width: 25%;}
    .winners .smaller li {width: 25%;}
    .winners input:focus, .winners input{
        width: 100%;
    }
    }
    @media screen and (max-width: 800px) {
    .winners .item {width: 33.33%;}
    .winners .smaller li {width: 33.33%;}
    .winners li {width: 50%;}
    }
    @media screen and (max-width: 640px) {
    .winners .item {width: 50%;}
    .winners .smaller li {width: 50%;}
    }

.choose-week a {
    background: #dc9d65 none repeat scroll 0 0;
    color: #ffffff;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    line-height: 50px;
    margin: 0 10px;
    padding: 0 10px;
}

.choose-week a.current,
.choose-week a:hover {background-color: #551e0b;}

.gallery .columns {margin: 10px 0px;}

@media screen and (max-width: 999px) {
    section.steps.zdjecie {
    background: transparent;
    }
    .kinder-left {
        display: none;
    }

    .kinder-right {
        display: none;
    }

    .girl_zdj{
    margin-top: 0px;
    margin-left: 0px;
}
}

@media screen and (max-width: 768px) {

    header {
        width: 100%;
        height: 500px;
        background: url('../img/header_bg2.jpg');
        background-size: cover;
        background-position: center;
    }

    header a.logo img {
        width: 50%;
        height: auto;
    }

    header section p {
        font-size: 1.25rem;
        line-height: 50px;
    }

    header section button {
        font-size: 1.25rem;
    }

    a.cta_button, a.cta_button:hover, a.cta_button:visited {
        font-size: 1.25rem;
    }

    .logo_top{
    padding-top: 250px; padding-right: 50px; text-align: right;
}


    nav ul.menu li > a {
        font-size: 1rem;
        padding: 0.7rem 0.25rem;
    }

    .cropit-preview {
        background-color: #f8f8f8;
        background-size: cover;
        margin-top: 7px;
        width: 252px;
        height: 378px;
    }

    .margin-top-6 {
        margin-top: 2rem;
    }

    section.welcome h1, section.steps h1 {
        font-size: 1.625rem;
		padding: 0 0.5rem 0 0;
    }

    section.welcome p, section.steps p {
        font-size: 1rem;
    }

    section.prize h2 {
        width: 70%;
        top: -23px;
        font-size: 1.25rem;
    }

    section.prize {
        margin-top: 50px;
    }

    .arrow {
        display: none;
    }



    .upload {
        width: 70px;
        height: 70px;
        bottom: 85px;
    }

    .reveal-modal {
        margin-left: -200px;
    }
}


@media screen and (max-width: 699px) {
    header { background-position: center top; /*background-size: 200% auto;*/ background-repeat: no-repeat;  height: auto; padding-bottom: 25px;}
    header a.logo img {max-width: 30%; }
    .logo_top{text-align: center;}
   .btn-top{
        text-align: right;
    }
    .logo_top{
    padding-top: 270px; padding-right: 50px;
    }
}

@media screen and (max-width: 599px) {
     header {
        width: 100%;
        height: auto;
        background: url('../img/bg_mobile2.jpg');
        background-size: contain;
        background-position:top center;
        background-repeat: no-repeat;
    }
    header a.logo img {
        width: 70%;
        height: auto;
        display: none;
    }
    .logo_top{
    padding-top: 340px; padding-right: 50px; text-align: center;
}
.btn-top{
        text-align: center;
    }
    .reveal-modal {
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin: 0px;
        padding: 10px;
        overflow: scroll;
    }
    .reveal-modal textarea {height: 150px !important;}
    .close-reveal-modal {top: 0px; right: 0px;}
    #facebook-content {
        width: 100%;
    }
}
@media screen and (max-width: 400px) {


.logo_top{
    padding-top: 210px; padding-right: 0px; text-align: center;
}

}
@media screen and (max-width: 410px) {
    nav {
        position: fixed;
        width: 44px;
        margin: 0 0 auto 0;
        top: 0; bottom: 0; right: 0; left: auto;
        border: 0 none;
	height: 44px;
        z-index: 334;
    }
    nav .nav-toggle {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        border: 0 none;
        border-radius: 0;
        background: #E82C0F;
        cursor: pointer;
        outline: none;

    }
    nav .nav-toggle:hover,
    nav .nav-toggle.focus {
        background-color: #fff;
    }
    .nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
        content: "";
        display: block;
        margin: auto;
        top: 0; left: 0; right: 0; bottom: 0;
        cursor: pointer;
        border-radius: 2px;
        height: 3px;
        width: 26px;
        background: #fff;
        position: absolute;
    }
    .nav-toggle span:before {
        top: -18px;
    }
    .nav-toggle span:after {
        bottom: -18px;
    }
    nav .nav-toggle:hover span,
    nav .nav-toggle:hover span:before,
    nav .nav-toggle:hover span:after,
    nav .nav-toggle.focus span,
    nav .nav-toggle.focus span:before,
    nav .nav-toggle.focus span:after {
        background: #E82C0F;
    }

    nav ul.menu {
        position: absolute;
        top: 44px;
        width: 200px;
        right: 0;
        display: none;
    }
    nav .nav-toggle:hover + ul.menu,
    nav .nav-toggle.focus + ul.menu,
    nav ul.menu:hover {
        display: block;
    }
    nav ul.menu li {
        display: block;
        text-align: center;
        width: 100%;
        padding: 0;
        background: #DFA573;
        background-size: cover;
        border-bottom: 1px solid #fff;
        height: 30px;
    }
    nav ul.menu li a {
        height: 100%;
        border: 0 none !important;
        padding: .3em 20px .3em 20px;
        text-align: center;
	color: #000;

    }
    nav ul.menu li a:hover {
        color: #fff;
    }
    }
@media screen and (max-width: 379px) {
    header a.logo img { padding-bottom: 50px;}
    header section p { line-height: 125%; background: none; box-shadow: none; }

}

footer {
    text-align: center;
    padding: 20px 0px 0px;
    color: #CC9B68;
}
footer a {color: inherit;}

.cover-container {
    position: relative;
    max-height: 683px;
    max-width: 455px;
    margin: 0 auto;
}
.cover-container .picture-mask {
    display: block;
    margin: auto;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
}
.cover-container .upload-icon,
.cropper-controls .upload-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    margin: auto;
    width: 130px;
    height: 130px;
    line-height: 120px;
    background: #EF3924;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    font-size: 6rem;
    font-weight: 100;
    cursor: pointer; }



/* CROPPER */
.upload-image-input {
    visibility: hidden;
}

.cropper-container {
    position: absolute;
    z-index: 1;
}
.picture-controls {
    position: relative;
    max-width: 401px;
    display: none;
    margin: 2rem auto;
    width: 100%;
    text-align: center;
}
.picture-controls .btn {
    padding: 4px;
    cursor: pointer;
}
.picture-edit {
    display: none;
    width: 100%;
}

.picture-mask {
    z-index: 10;
    position: relative;
}

@media screen and (max-width: 460px) {
    section.steps {
        padding: 2rem 1.5rem;
    }
    .cover-container {
    position: relative;
    width: 252px;
    height: 378px;
}
}

#nextButton {
    display: none;
}

.img_info{
	margin:10px auto;
}

.material{
    width: 100%;
    text-align: center;
    height: 21px;
    text-transform: uppercase;
    color: #999999;
    border-bottom: solid 1px #dadada;
    padding-top: 2px;
	font-family:'Lato', sans-serif;
	font-size:12px;
	font-weight:300;
}