/**
 *     Maker Faire Democracy Poll
 */

/** for MOBILE **/   
.html_makerfaire-seoul .dem-poll-shortcode {
    border: 1px solid #00afec;
    position: relative;
}

.html_makerfaire-seoul .dem-poll-title {
    display: block;
    color: #eb212e;
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 16px 0;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
}

.html_makerfaire-seoul .dem-screen {
    height: auto !important;
    position: unset;
}

.html_makerfaire-seoul #top .dem-screen form {
    margin: 0 auto;
}

.html_makerfaire-seoul .democracy ul.dem-vote,
.html_makerfaire-seoul .democracy ul.dem-answers {
    list-style: none;
    margin: 0 20px 20px 20px;
    padding: 0;
}

.html_makerfaire-seoul #top label.dem__radio_label {
    font-weight: inherit;
    line-height: 1.4;
    padding-left: 26px;
}

.html_makerfaire-seoul .dem__checkbox_label .dem__spot,
.html_makerfaire-seoul .dem__radio_label .dem__spot {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -8px;
    width: 16px;
    height: 16px;
}

.html_makerfaire-seoul .dem__radio_label .dem__spot:after {
    width: 8px;
    height: 8px;
}

.html_makerfaire-seoul .democracy .dem-bottom {
    padding-bottom: 30px;
}

.html_makerfaire-seoul input[type="submit"].dem-button,
.html_makerfaire-seoul a.dem-button,
.html_makerfaire-seoul .dem-button {
    border-radius: 1px;
    margin: 0;
    line-height: 1;
    min-width: 168px;
    border: 1px solid #00afec;
    background-color: #fff;
    color: #00afec;
    padding: 16px 24px 17px 24px;
    
    font-size: 20px;
}

.html_makerfaire-seoul .dem-vote-button {
    margin-bottom: 30px;
}

.html_makerfaire-seoul .dem-results-link {
    margin: 0;
}

.html_makerfaire-seoul .dem-votes-txt {
    display: none;
}

.html_makerfaire-seoul .dem-percent-txt {
    text-align: right;
}

.html_makerfaire-seoul .dem-poll-info {
    display: none;
}

.html_makerfaire-seoul .dem-loader:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    opacity: 0.8;
}

.html_makerfaire-seoul .dem-screen .dem-loader {
    display: block !important;
}

.html_makerfaire-seoul .dem-loader>* {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}


/** for DESKTOP **/
@media only screen and (min-width: 768px){
.html_makerfaire-seoul .dem-poll-shortcode {
    border: 0px;
    
    min-height: 590px;
    overflow: hidden;
    background: url(../../images/main_question_bg.jpg) no-repeat;
    background-size: 100% 100%;
}

.html_makerfaire-seoul .democracy {
    position: unset;
}

.html_makerfaire-seoul .dem-poll-title {
    font-size: 28px;
    text-align: center;
    padding-top: 100px;
}

.html_makerfaire-seoul .dem-screen {
    text-align: center;
    position: unset;
}
    
    
.html_makerfaire-seoul .dem-screen form,
.html_makerfaire-seoul .democracy ul.dem-answers {
    max-width: 720px;
}

.html_makerfaire-seoul .democracy ul.dem-answers {
    text-align: left;
}

.html_makerfaire-seoul .democracy ul.dem-vote,
.html_makerfaire-seoul .democracy ul.dem-answers {
    list-style: none;
    margin: 55px auto;
    padding: 0;
}

.html_makerfaire-seoul .democracy ul.dem-vote li {
    margin-bottom: 21px;
}

.html_makerfaire-seoul .democracy ul.dem-vote li:after {
    content: '';
    display: block;
    border: 1px solid #e5e5e5;
    margin-top: 21px;
}
.html_makerfaire-seoul .democracy ul.dem-vote li:last-child:after {
    display: none;
}


.html_makerfaire-seoul .dem-link.dem-results-link {
    position: absolute;
    right: 58px;
    top: 48px;
}

.html_makerfaire-seoul #top label.dem__radio_label {
    font-size: 20px;
    line-height: 21px;
    font-weight: inherit;
    margin: 0;
    padding: 0;
}

.html_makerfaire-seoul .dem__checkbox_label .dem__spot,
.html_makerfaire-seoul .dem__radio_label .dem__spot {
    position: relative;
    top: unset;
    left: unset;
    width: 20px;
    height: 20px;
    margin-top: 0;
    margin-right: 10px;
    vertical-align: bottom;
    border-color: #666;
}

.html_makerfaire-seoul .dem__checkbox:checked+.dem__spot,
.html_makerfaire-seoul .dem__radio:checked+.dem__spot {
    border-color: #666;
}

.html_makerfaire-seoul .dem__radio_label .dem__spot:after {
    width: 10px;
    height: 10px;
    background: #000;
}

.html_makerfaire-seoul .democracy .dem-bottom {
    padding: 0;
}

}