/**
 *
 * GALLERY
 *
 */
.entries {
    width: 100%;
    overflow: hidden;
}
.entries > .item {
    position: relative;
    display: block;
    width: 31.25%;
    float: left;
    margin-right: 3.125%;
    margin-bottom: 3.125%;
    border-radius: 10px;
    overflow: hidden;
}
.entries > .item:nth-of-type(3n) {
    margin-right: 0;
}
.entries > .item > img {
    display: block;
    width: 100%;
}
.entries > .item > .info {
    position: absolute;
    white-space: nowrap;
    display: inline-block;
    left: 0;
    top: 15px;
    background: #1ab9d3;
    color: #fff;
    padding: 10px 30px 10px 30px;
    font-size: 2em;
    line-height: 1;
    z-index: 7;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.entries > .item > .more {
    position: absolute;
    white-space: nowrap;
    display: inline-block;
    left: 30%;
    right: 30%;
    margin: auto;
    bottom: 5%;
    background: #fff;
    color: #2273b7;
    padding: 3px 30px 3px 30px;
    font-size: 1.4em;
    line-height: 1.2;
    z-index: 7;
    border-radius: 10px;
    text-align: center;
}
.entries > .item:hover:before {
    content: "";
    display: block;
    width: 96%;
    height: 96%;
    position: absolute;
    top: 2%;
    left: 2%;
    right: 2%;
    bottom: 2%;
    z-index: 1;
    background: #fff;
    opacity: .3;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.entries > .item:after {
    content: "";
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    top: 2.5%;
    left: 2.5%;
    width: 95%;
    height: 95%;
    border: 2px dashed #fff;
}

@media screen and (max-width: 959px) {
    .entries > .item > .more {
        left: 20%;
        right: 20%;
    }
}
@media screen and (max-width: 767px) {
    .entries {
        max-width: 640px;
        margin: 0 auto;
    }
    .entries > .item {
        width: 46.875%;
        margin-right: 6.25%;
        margin-bottom: 3.125%;
    }
    .entries > .item:nth-of-type(3n) {
        margin-right: 6.25%;
    }
    .entries > .item:nth-of-type(2n) {
        margin-right: 0;
    }
    .entries > .item > .info {
        font-size: 1.6em;
    }
}
@media screen and (max-width: 479px) {
    .entries > .item {
        float: none;
        width: 100%;
        max-width: 300px;
        margin: 5% auto !important;
    }
}

.paging {
    margin-top: 50px;
    width: 100%;
    text-align: center;
}
.paging > .prev {
    float: left;
}
.paging > .next {
    float: right;
}
.paging > a,
.paging > span {
    display: inline-block;
    line-height: 50px;
    font-size: 2.8em;
    padding: 0 .3em;
    font-weight: 600;
    color: #1ab9d3;
    vertical-align: middle;
}
.paging > span {
    color: #1ab9d3;
}
.paging > a:hover,
.paging > a.current,
.paging > span.current {
    color: #fff;
    background: #1ab9d3;
}




.poll-error-msg {
    width: 70%;
    margin: 30px auto;
    font-size: 2em;
    font-weight: 500;
    padding: 20px 30px;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: red;
    text-transform: none;
    text-align: center;
    background: #fff;
}




/**
 *
 * PIC
 *
 */
.picture-data,
.file-data,
.video-data {
    position: relative;
    width: 100%;
    padding: 0;
    border: 0 none;
    margin-top: 1rem;
}

.picture-input,
.file-input,
.video-input {
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}
.picture-input > .path,
.file-input > .path,
.video-input > .path {
    float: left;
    width: 70%;
    height: 50px;
    padding: 0;
    font-size: 24px;
    line-height: 43px;
    color: #000;
    cursor: pointer;
    letter-spacing: -.5px;
    border-bottom: 2px solid #000;
}

.row.picture,
.row.file,
.row.video {
    position: relative;
    z-index: 3;
    width: 30%;
    overflow: hidden;
    margin: 0 auto;
}
.row.picture input[type="file"],
.row.file input[type="file"],
.row.video input[type="file"] {
    position: absolute;
    top: 0;
    left: -9999em;
}
.row.picture label,
.row.file label,
.row.video label {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
    border: 0 none;
    background: #000 url('../gfx/camera-w.png') 5px center no-repeat;
    font-size: 14px;
    line-height: 53px;
    color: #fff;
    text-align: left;
    padding: 0 75px;
    text-transform: uppercase;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    border-radius: 0;
    cursor: pointer;
}
.row.file label {
    background: #000 url('../gfx/file-w.png') 5px center no-repeat;
}
.row.picture label:hover,
.row.video label:hover {
    color: #fff;
    background: #495057 url('../gfx/camera-w.png') 5px center no-repeat;
}
.row.file label:hover {
    color: #fff;
    background: #495057 url('../gfx/file-w.png') 5px center no-repeat;
}
.row.picture label:after,
.row.file label:after,
.row.video label:after {
    content: "";
    position: absolute;
    width: 30px;
    height: 16px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 16px solid #fff;
    top: 10px;
    right: 5px;
}
.row.picture label.loading:after,
.row.file label.loading:after,
.row.video label.loading:after {
    background: url('../gfx/ajax-loader.gif') center center no-repeat;
    border: none;
}
.row.picture label span,
.row.file label span,
.row.video label span {
    font-size: 12px;
    font-style: italic;
}

.image-preview {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
.image-preview > img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}
.image-preview > img.clear-picture {
    cursor: pointer;
}

.picture-data .picture-data-item {
    padding: 1rem;
}

@media screen and (max-width: 767px) {
    .picture-input > .path,
    .file-input > .path,
    .video-input > .path {
        display: none;
    }
    .row.picture,
    .row.file,
    .row.video {
        width: 100%;
    }
}



/**
 *
 * CONTENT
 *
 */
.contest-data {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border: 0 none;
}
.contest-data .row {
    /*
    float: left;
    margin-right: 0;
    */
}
.contest-data label,
.picture-data > label,
.video-data > label {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #000;
    font-size: 1.6em;
    line-height: 1.4;
    font-weight: 300;
    padding-bottom: 3px;
}
.contest-data textarea {
    display: block;
    border: 1px solid #000;
    background: #fff;
    width: 100%;
    height: 180px;
    padding: 5px 15px;
    font-size: 1.6em;
    line-height: 22px;
    color: #495057;
    text-align: left;
    text-transform: none;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
    border-radius: 0;
    resize: none;
}
.contest-data .content {
    width: 100%;
    padding-top: 20px;
}
.contest-data .question {
    width: 100%;
    padding-top: 20px;
}
.contest-data input[type="text"] {
    display: block;
    border: 1px solid #000;
    background: #fff;
    width: 100%;
    height: 44px;
    padding: 0 15px;
    font-size: 1.6em;
    line-height: 42px;
    color: #495057;
    text-align: left;
    text-transform: none;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
    border-radius: 0;
}
.contest-data input[type="radio"] {
    border: 1px solid #495057;
    background: #e1f7fb;
    margin: 0 10px;
    font-size: 1.6em;
    color: #495057;
    text-align: left;
    text-transform: none;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
    border-radius: 0;
}


/**
 *
 * PERSONAL
 *
 */
.personal-data {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0 10px 0;
    border: 0 none;
}

.personal-data .row {
    float: left;
    margin-right: 2%;
    padding-bottom: 15px;
}
.personal-data label {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #000;
    font-size: 1.6em;
    line-height: 1.4;
    font-weight: 300;
    white-space: nowrap;
    padding-bottom: 3px;
}
.personal-data input[type="text"],
.personal-data textarea,
.personal-data select {
    display: block;
    border: 1px solid #000;
    background: #fff;
    width: 100%;
    height: 44px;
    padding: 0 15px;
    font-size: 1.6em;
    line-height: 42px;
    color: #495057;
    text-align: left;
    text-transform: none;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-weight: 300;
    border-radius: 0;
}
.personal-data textarea {
    height: 250px;
    padding: 10px 10px;
    line-height: 22px;
    resize: none;
}

/* MINIMAL */
.minimal .personal-data .content { width: 100%; margin-right: 0; }
.minimal .personal-data .email { width: 100%; }


/* SIMPLE */
.simple .personal-data .content { width: 100%; margin-right: 0; }
.simple .personal-data .first-name { width: 49%; }
.simple .personal-data .last-name { width: 49%; margin-right: 0; }
.simple .personal-data .email { width: 68%; }
.simple .personal-data .phone { width: 30%; margin-right: 0; }

.simple .personal-data .first-name,
.simple .personal-data .email {
    clear: left;
}

/* FULL */
.full .personal-data .content { width: 100%; margin-right: 0; }
.full .personal-data .first-name { width: 49%; }
.full .personal-data .last-name { width: 49%; margin-right: 0; }
.full .personal-data .street { width: 49%; }
.full .personal-data .house-number { width: 23%; }
.full .personal-data .flat-number { width: 24%; margin-right: 0; }
.full .personal-data .country { width: 24%; }
.full .personal-data .city { width: 48%; }
.full .personal-data .postal-code { width: 24%; margin-right: 0; }
.full .personal-data .email { width: 32%; }
.full .personal-data .phone { width: 32%; }
.full .personal-data .birth-year,
.full .personal-data .birth-date { width: 32%; margin-right: 0; }

.full .personal-data .first-name,
.full .personal-data .street,
.full .personal-data .email {
    clear: left;
}

/* UPDATE-PERSONAL */
.update-personal .personal-data .street { width: 49%; }
.update-personal .personal-data .house-number { width: 23%; }
.update-personal .personal-data .flat-number { width: 24%; margin-right: 0; }
.update-personal .personal-data .country { width: 24%; }
.update-personal .personal-data .city { width: 48%; }
.update-personal .personal-data .postal-code { width: 24%; margin-right: 0; }
.update-personal .personal-data .email { width: 32%; }
.update-personal .personal-data .phone { width: 32%; }
.update-personal .personal-data .birth-year {width: 15%; margin-right: 0; }

.update-personal .personal-data .street,
.update-personal .personal-data .country,
.update-personal .personal-data .phone {
    clear: left;
}

.personal-accept {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0 0 0;
    border: 0 none;
    clear: both;
    color: #495057;
}
.personal-accept p.info {
    color: #495057;
    font-size: 1.3em;
    line-height: 1.4;
    font-weight: 300;
}
.personal-accept .row {
    display: block;
    position: relative;
    width: 100%;
    margin-top: 10px;
}
.personal-accept input[type="checkbox"] {
    position: absolute;
    left: 5px;
    top: 3px;
    line-height: 1.4;
}
.personal-accept input[type="checkbox"] + label {
    display: inline-block;
    width: 100%;
    padding-left: 2.5em;
    font-size: 1.3em;
    line-height: 1.4;
    font-weight: 300;
}
.personal-accept.personal-accept a {
    color: #00529e;
    border-bottom: 1px dotted #1ab9d3;
}
.personal-accept.personal-accept a:hover {
    border-bottom: 1px solid #1ab9d3;
}

.personal-data p.info {
    clear: both;
}

.picture-info p.info {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
    padding: 0.5rem 0;
}

@media screen and (max-width: 599px) {
    .form .personal-data .row {
        float: none;
        margin-right: 0;
        overflow: hidden;
        padding-bottom: 10px;
        width: 100%;
    }
    .form .personal-data label {
        display: block;
        float: left;
        width: 30%;
        line-height: 44px;
    }
    .form .personal-data input[type="text"],
    .form .personal-data select {
        display: block;
        width: 70%;
        float: left;
    }
}
@media screen and (max-width: 479px) {
    .form .personal-data label {
        display: block;
        float: none;
        width: 100%;
    }
    .form .personal-data input[type="text"],
    .form .personal-data select {
        display: block;
        float: none;
        width: 100%;
    }
}






.picture-data .errors,
.file-data .errors,
.video-data .errors,
.contest-data .errors,
.personal-data .errors,
.personal-accept .errors {
	color: red;
    display: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    list-style: none;
}
.picture-data .error-question .errors,
.file-data .error-question .errors,
.video-data .error-question .errors,
.contest-data .error-question .errors,
.personal-data .error-question .errors,
.personal-accept .error-question .errors {
    display: block;
}
.contest-data .error-question input[type="text"],
.contest-data .error-question textarea,
.personal-data .error-question input[type="text"] {
    border-color: red;
    -webkit-box-shadow:inset 0 0 5px 3px #f00;
    box-shadow:inset 0 0 5px 3px #f00;
}

.contest-data .error-question,
.personal-data .error-question,
.personal-accept .error-question {
	position: relative;
}
.personal-accept .error-question:before {
	content: "";
	position: absolute;
	left: -15px;
	top: 5px;
	border-left: 10px solid red;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
    display: block;
}




.form {
    clear: both;
}
.form-submit {
    border: 0 none;
    padding: 30px 0 0 0;
    clear: both;
    text-align: center;
}

.win-entries {
    width: 100%;
    list-style: inside decimal;
}
.win-entries > li {
    float: left;
    width: 100%;
    font-size: 1.6em;
    line-height: 1.5;
}
.win-entries > li > span {
    font-weight: 600;
}

.message {
    padding: 40px 30px;
    border: 1px dotted #ed3072;
    text-align: center;
}
