/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 02.09.2017, 14:42:39
    Author     : Вадим Нарочный
*/

/* Polls ============================================================ */

.poll {
    position: relative;
}

.poll .loading_poll {
    display: none;
    top: 0;
    left: 0;
    color: #386ea5;
    width: 100%;
    height: 100%;
    background: #0000002e;
    position: absolute;
}

.poll .loading_poll i {
    margin-top: -45px;
    margin-left: -45px;
    position: absolute;
    top: 50%;
    left: 50%;
}

.poll .answers {
    margin: 5% 0 0 1%;
}

.poll .question {
    font-weight: bold;
    font-size: 1.1em;
}

.poll .answers li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.poll .answers.result li {
    color: #7b7b7b;
    font-size: 0.9em;
    font-family: cursive;
    margin-bottom: 1%;
}

.poll .button {
    text-align: center;
    margin-top: 5%;
}

.poll .container-result {
    width: 100%;
    height: 25px;
    background: #f1f1f1;
    box-shadow: 0px -1px 0px rgba(0,0,0,0.25);
    border-radius: 5px;
    overflow: hidden;
}

.poll .container-result .result {
    height: 100%;
}

.poll .answer:nth-child(7n+1) .container-result .result {
background: #1e5799;
background: -moz-linear-gradient(left,  #1e5799 0%, #7db9e8 100%);
background: -webkit-linear-gradient(left,  #1e5799 0%,#7db9e8 100%);
background: linear-gradient(to right,  #1e5799 0%,#7db9e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=1 );
}
.poll .answer:nth-child(7n+2) .container-result .result {
background: rgb(232,46,46);
background: -moz-linear-gradient(left,  rgba(232,46,46,1) 0%, rgba(229,123,123,1) 100%);
background: -webkit-linear-gradient(left,  rgba(232,46,46,1) 0%,rgba(229,123,123,1) 100%);
background: linear-gradient(to right,  rgba(232,46,46,1) 0%,rgba(229,123,123,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e82e2e', endColorstr='#e57b7b',GradientType=1 );
}
.poll .answer:nth-child(7n+3) .container-result .result {
background: rgb(171,239,23);
background: -moz-linear-gradient(left,  rgba(171,239,23,1) 0%, rgba(118,224,134,1) 100%);
background: -webkit-linear-gradient(left,  rgba(171,239,23,1) 0%,rgba(118,224,134,1) 100%);
background: linear-gradient(to right,  rgba(171,239,23,1) 0%,rgba(118,224,134,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abef17', endColorstr='#76e086',GradientType=1 );
}
.poll .answer:nth-child(7n+4) .container-result .result {
background: rgb(214,207,113);
background: -moz-linear-gradient(left,  rgba(214,207,113,1) 0%, rgba(255,239,25,1) 100%);
background: -webkit-linear-gradient(left,  rgba(214,207,113,1) 0%,rgba(255,239,25,1) 100%);
background: linear-gradient(to right,  rgba(214,207,113,1) 0%,rgba(255,239,25,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6cf71', endColorstr='#ffef19',GradientType=1 );

}
.poll .answer:nth-child(7n+5) .container-result .result {
background: rgb(201,106,160);
background: -moz-linear-gradient(left,  rgba(201,106,160,1) 0%, rgba(249,24,234,1) 100%);
background: -webkit-linear-gradient(left,  rgba(201,106,160,1) 0%,rgba(249,24,234,1) 100%);
background: linear-gradient(to right,  rgba(201,106,160,1) 0%,rgba(249,24,234,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c96aa0', endColorstr='#f918ea',GradientType=1 );
}
.poll .answer:nth-child(7n+6) .container-result .result {
background: rgb(98,181,186);
background: -moz-linear-gradient(left,  rgba(98,181,186,1) 0%, rgba(24,238,249,1) 100%);
background: -webkit-linear-gradient(left,  rgba(98,181,186,1) 0%,rgba(24,238,249,1) 100%);
background: linear-gradient(to right,  rgba(98,181,186,1) 0%,rgba(24,238,249,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#62b5ba', endColorstr='#18eef9',GradientType=1 );
}
.poll .answer:nth-child(7n+7) .container-result .result {
background: rgb(169,173,91);
background: -moz-linear-gradient(left,  rgba(169,173,91,1) 1%, rgba(139,239,23,1) 100%);
background: -webkit-linear-gradient(left,  rgba(169,173,91,1) 1%,rgba(139,239,23,1) 100%);
background: linear-gradient(to right,  rgba(169,173,91,1) 1%,rgba(139,239,23,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a9ad5b', endColorstr='#8bef17',GradientType=1 );
}

.poll .voted_count {
    text-align: center;
    margin-top: 5%;
}

.poll .b-result {
    text-align: center;
}


.nyroModalLink .poll {
    min-width: 400px;
    margin: 20px;
}

.nyroModalLink .poll #answers {
    width: 95%;
}

.nyroModalLink .poll-comment {
    margin: 4%;
}

.poll img {
    width: 100%;
}

/* Polls ============================================================ */
