/*---- NyroModal Window ------------------------------------------------------*/

.nyroModalBg,
.nyroModalTitle {
    z-index: 110;
}
.nyroModalCont,
.nyroModalCloseButton {
    z-index: 111;
}
.nmBg.polls-nm {
    position: fixed;
    padding: 30px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.7);
    opacity: .99;
    overflow: auto;
    z-index: 1100;
}
.polls-nm .nyroModalCont {
    margin: 50px 0 0;
    border: none;
    z-index: 1101;
}

/*---- System ----------------------------------------------------------------*/

[hidden] {
    display: none;
}

/*---- Poll Add-Edit Form ----------------------------------------------------*/

.polls-nm .nyroModalLink {
    min-width: 320px;
    max-width: 480px;
}
#poll-form .input {
    width: 100%;
    box-shadow: inset 0 1px 3px #eee;
}
#poll-form input[type="text"] {
    padding: 5px;
    height: 30px;
    box-sizing: border-box;
}
#poll-form input[disabled] {
    background-color: #fafafa;
    box-shadow: none;
}
.polls-nm .nyroModalLink .modal-header {
    position: relative;
    padding: 15px 20px 13px;
    min-height: 10px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}
.polls-nm .nyroModalLink h3 {
    margin: 0 30px 0 0;
    font-size: 1.3em;
}
.polls-nm .nyroModalLink .modal-close {
    display: block;
    position: absolute;
    top: 14px;
    right: 15px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    cursor: pointer;
}
.polls-nm .nyroModalLink .modal-body {
    padding: 20px 20px 0;
    min-height: 50px;
}
.modal-body h4 {
    margin: 0 0 3px;
    font-size: 1em;
    font-weight: 600;
}
.modal-body .field {
    margin-bottom: 10px;
}
.modal-body .field:first-child,
.modal-body .field:last-child {
    margin-bottom: 20px;
}
.question-data .value-box {
    margin: 10px 0 10px 50px;
}
.question-data .value-box label {
    display: inline;
    margin-right: 5px;
}
.question-data .max-count-value .input-number {
    width: 50px;
    max-width: 50px;
}
.question-data .date-end-value .date-input {
    margin-right: 5px;
    width: 90px;
    max-width: 90px;
}
.answers-data{
    margin: 20px -20px 0;
    padding: 15px 20px 17px;
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.answers-data h3 {
    margin: 0;
}
.poll-form-answer-list {
    margin: 5px 0 5px;
    padding: 12px 0 2px;
    list-style: none;
}
.poll-form-answer-item {
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
}
#poll-form .poll-form-answer-item .input {
    padding-right: 28px;
}
.poll-form-answer-item-drag {
    position: absolute;
    top: 4px;
    left: -6px;
    cursor: move;
    opacity: 0;
}
.poll-form-answer-item:hover .poll-form-answer-item-drag {
    opacity: 1;
}
.poll-form-answer-item-del {
    position: absolute;
    top: 4px;
    right: 4px;
    cursor: pointer;
}
.polls-nm .nyroModalLink .modal-footer {
    padding: 13px 20px 15px;
    text-align: right;
}
#poll-form .field_error {
    border-color: #fd7d7d;
}
#poll-form .error_text {
    margin-top: 2px;
    float: right;
    font-size: .8em;
    color: #fd7d7d;
}
#poll-form .field_error .input {
    border-color: #ccc;
}

/*---- Polls Common ----------------------------------------------------------*/

.poll,
.polls-manage {
    padding: 0;
}
.poll {
    margin-bottom: 30px;
}
.poll:last-child,
.poll:last-of-type {
    margin-bottom: 0;
}
input.poll-button {
    color: #2980b9;
    background: #fff;
    border: 1px solid #ecf0f1;
}
input.poll-button:hover {
    color: #444;
    background: #ecf0f1;
}
.poll-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    fill: currentColor;
    color: #ddd;
}
.poll-icon:hover {
    color: #aaa;
}
.clickable {
    cursor: pointer;
}
.clickable:hover {
    color: #2980b9;
}
.content_item .ft_polls .title_top,
.content_item .ft_polls .title_left {
    margin-bottom: 10px;
    float: none;
}
h3.poll-title {
    margin: 0 0 15px;
    font-size: 1em;
    font-weight: 600;
}
h3.poll-title a {
    text-decoration: none;
}
.poll-statistics {
    margin-top: 10px;
    font-size: .8em;
    color: #ccc;
}
.poll-statistics span {
    display: inline-block;
    margin: 0 3px 0;
    vertical-align: middle;
}

/*---- Polls Manage ----------------------------------------------------------*/

.polls-manage .polls-manage-title {
    margin-bottom: 6px;
    padding: 0;
    line-height: 1em;
}
.polls-manage ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.polls-manage-list {
    overflow: hidden;
}
.polls-manage-item {
    position: relative;
    padding: 10px 70px 10px 12px;
    border: 1px solid #eee;
    border-bottom: none;
}
.polls-manage-item:last-child {
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.poll-tmp {
    color: #aaa;
}
ul.item-actions {
    position: absolute;
    margin-top: -11px;
    top: 50%;
    right: 13px;
}
ul.item-actions li {
    display: inline-block;
    margin-left: 3px;
    cursor: pointer;
}

/*---- Poll Vote -------------------------------------------------------------*/

.poll-answer-list {
    margin: 0 5px 13px;
    list-style: none;
}
.poll-answer-list-item {
    margin-bottom: 10px;
    color: #555;
}
.poll-answer-list-item label {
    display: block;
}
.poll-answer-list-item input,
.poll-answer-list-item span{
    vertical-align: middle;
}

/*---- Poll Result -----------------------------------------------------------*/

.poll-result {
    margin: 0;
    padding: 0 10px;
    list-style: none;
}
.poll-result-item {
    margin-bottom: 15px;
    overflow: hidden;
    zoom: 1;
}
.poll-result-item-count {
    float: left;
    padding-right: 10px;
    width: 35px;
    text-align: right;
}
.poll-result-item-count strong {
    display: block;
}
.poll-result-item-count span {
    font-size: .9em;
    color: #ccc;
}
.poll-result-item-chart {
    padding-left: 45px;
}
.poll-result-item-bar {
    margin-top: 5px;
    height: 5px;
    background: #ccc;
    border-left: 3px solid #ccc;
    -webkit-animation: draw .3s ease-in-out;
            animation: draw .3s ease-in-out;
}
@-webkit-keyframes draw {
    0% {
        width: 0;
    }
}
@keyframes draw {
    0% {
        width: 0;
    }
}
.item-winner .poll-result-item-bar {
    background: #2980b9;
    border-color: #2980b9;
}
.item-voted .poll-result-item-label {
    font-weight: bold;
    color: #3b7094;
}
.poll-icon-sort {
    width: 18px;
    height: 18px;
}
.button-sort {
    display: inline-block;
    margin: 0;
    padding: 2px;
    max-width: 22px;
    max-height: 22px;
    border-radius: 2px;
    vertical-align: middle;
}
.button-sort.active,
.button-sort:hover {
    background-color: #ecf0f1;
}
.button-sort.active .poll-icon,
.button-sort:hover .poll-icon {
    color: #aaa;
}
.alert-info {
    display: block;
    margin-top: 5px;
    font-size: .9em;
    line-height: 1.5;
}
.polls-link {
    display: block;
    font-size: .8em;
    color: #7f8c8d;
    text-align: right;
}

/*---- Info Users Voted ------------------------------------------------------*/

#polls-info-window {
    padding: 16px 0;
    min-width: 280px;
}
.polls-no-user {
    display: block;
    padding: 15px 20px;
}
.polls-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.polls-info-list li {
    min-width: 280px;
    min-height: 32px;
    line-height: 32px;
}
.polls-info-list .item {
    display: block;
    padding: 4px 20px;
    text-decoration: none;
    border-bottom: 1px solid #ecf0f1;
}
.polls-info-list .item:hover {
    color: #333;
    background: #ecf0f1;
}
.polls-info-list li:last-child .item {
    border: none;
}
.polls-info-list .item img {
    vertical-align: middle;
}
.polls-info-list .item .info {
    margin-left: 5px;
}
.polls-info-list .item .actions {
    float: right;
    margin-left: 10px;
}
.polls-info-list .item .actions .votes-count {
    margin-left: 13px;
    font-size: .8em;
    color: #aaa;
}
.polls-info-list.loading-panel {
    background-position: center center;
}
.polls-info-list.loading-panel .item {
    visibility: hidden;
}
.polls-info-text {
    display: block;
    margin: 5px 20px -8px 0;
    font-size: .8em;
    color: #aaa;
    text-align: right;
}
.polls-info-pagination,
.polls-info-pagination a{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}
.polls-info-pagination {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin: 16px 20px 4px;
    max-width: 260px;
    font-size:12px;
}
.polls-info-pagination a {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 1px 1px;
    min-width: 24px;
    min-height: 24px;
    text-decoration: none;
    color: #34495e;
    border-radius: 3px;
}
.polls-info-pagination a:hover {
    background-color: #ededed;
}
.polls-info-pagination a.active,
.polls-info-pagination a.active:hover {
    color: #fff;
    background-color: #34495e;
}

/*---- Widgets Veiw ----------------------------------------------------------*/

.widget .poll,
.widget_tabbed .poll {
    padding: 0;
    background: none;
}
.widget .button,
.widget_tabbed .button {
    padding: 7px 9px;
}
.widget .button-sort,
.widget_tabbed .button-sort {
    display: none;
}
.widget h3.poll-title,
.widget_tabbed h3.poll-title {
    margin: 0 0 10px;
}
.widget .poll-result,
.widget_tabbed .poll-result {
    padding: 0;
    border: none;
}
.widget .poll-result-item,
.widget_tabbed .poll-result-item {
    margin-bottom: 8px;
}
.widget .poll-result-item-count,
.widget_tabbed .poll-result-item-count {
    padding-right: 7px;
    width: 35px;
}
.widget .poll-result-item-chart,
.widget_tabbed .poll-result-item-chart {
    padding-left: 42px;
}
.widget .poll-result-item-chart:after,
.widget_tabbed .poll-result-item-chart:after {
    content: "";
    display: block;
    position: relative;
    margin-top: -5px;
    width: 100%;
    height: 5px;
    background: -webkit-repeating-linear-gradient(330deg, 
		transparent, transparent .15em, #f6f6f6 0, #f6f6f6 .8em);
    background: repeating-linear-gradient(120deg, 
		transparent, transparent .15em, #f6f6f6 0, #f6f6f6 .8em);
}
.widget .poll-result-item-bar,
.widget_tabbed .poll-result-item-bar {
    position: relative;
    z-index: 1;
}
.widget .poll-statistics,
.widget_tabbed .poll-statistics {
    margin-top: 7px;
}
.widget .poll-statistics span,
.widget_tabbed .poll-statistics span {
    margin: 0;
}

/*---- Media -----------------------------------------------------------------*/
@media screen and (max-width: 510px) {
    .polls-nm .nyroModalLink {
        min-width: 300px;
    }
}
@media screen and (max-width: 480px) {
    .polls-nm .nyroModalCont {
        margin: 0;
        width: 100% !important;
    }
    .question-data .value-box{
        margin-left: 20px;
    }
}



.poll-answer-list {
    padding: 0;
}
 
.polls-nm .nyroModalCont * {
    box-sizing: border-box !important;
}
 
.polls-nm input[type=checkbox] {
    margin: 4px;
}
 