html, body, div, span, p, td, th, h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', sans-serif;
}

.gi-2x{font-size: 2em;}
.gi-3x{font-size: 3em;}
.gi-4x{font-size: 4em;}
.gi-5x{font-size: 5em;}

input[type="text"] {
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0px;
    -webkit-box-shadow:none;
    border-bottom: 1px solid #808080;
}

input[type="password"] {

    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0px;
    -webkit-box-shadow:none;
    border-bottom: 1px solid #808080;
}

.tenant-name{
    padding-left:5%;
}

.menu-top,
.menu_top> a,
.menu_top> a:visited,
.menu_top> a:hover,
.menu-top> span,
.menu-top-span {
    color: #ffffff;
    margin-bottom:0px;
    height:30px !important;
    background-color: rgb(87, 87, 87);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding-top: 5px;
    height: 20px;
    letter-spacing: 0.14000000059604645px;
    line-height: 20px;
    margin-left: -4%;
}

.no-overflow{
    overflow: hidden;
}

.selected-admin-page{
    border-bottom-color: rgb(87, 87, 87);
    border-bottom-style: solid;
    border-bottom-width: 5px;
}


.nav-tabs {
    width: 104%;
    margin-left: -2%;
    border-bottom: 1px solid #bbb;
    background-color: whitesmoke;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-brand {
    padding-top: 5px;
    padding-left: 25px;
}
.navbar-default{
    background-color: #ffffff;
}

.navbar-inverse {
    background-color:#4a4a4a;
    border-color:#4a4a4a;
    border-radius: 0px;
}
.navbar-inverse> li > a {
    padding-top:5px !important;
    padding-bottom:5px !important;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
    color:#fff;
    background-color:#4a4a4a;
}
.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
    background-color: #4a4a4a;
    padding-top: 0px;
    padding-bottom: 0px;
}
.navbar-inverse .navbar-collapse {
    z-index: 99;
    position: absolute;
    width: 98%;
    background-color: #4a4a4a;
    height: 500px;
}
.navbar-inverse .navbar-toggle {
    border-color: #4a4a4a;
}

.navbar-nav > li {
    -webkit-box-align: center;
    -webkit-box-direction: normal;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    color: rgb(87, 87, 87);
    cursor: pointer;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    height: 62px;
    letter-spacing: 0.14000000059604645px;
    line-height: 20px;
    margin-bottom: -2px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;
    outline-color: rgb(87, 87, 87);
    outline-style: none;
    outline-width: 0px;
}
.navbar-nav > li:hover{
    border-bottom-color: rgb(87, 87, 87);
    border-bottom-style: solid;
    border-bottom-width: 2px;
    box-sizing: border-box;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:focus,
.navbar-default .navbar-nav>.open>a:hover{
    background-color: #ffffff;
}

/* styles for '...' */ 
    .trucate-multiline-text {
        margin: auto 0;
        height: min-content !important;
        overflow: hidden;
        position: relative; 
        line-height: 1.2em;
        /*max-height: 3.9em; for 3 lines*/
        max-height: 14.6em;
        text-align: justify;
        padding-right: 1em !important;
    }
    .trucate-multiline-text:before {
        position: absolute;
        content: '...';
        right: 3px;
        bottom: 0;
    }
    .trucate-multiline-text:after {
        content: '';
        position: absolute;
        right: 0;
        width: 1em;
        height: 1em;
        margin-top: 0.2em;
        background: white;
    }
    
@media(max-width:767px){
    .navbar-inverse {
        height: 50px!important;
    }
}


.jumbotron {
    margin-bottom: 0;
    padding: 0;
}
.jumbotron h1 {
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
    font-size: 40px;
}
.container .jumbotron {
    padding-right: 0;
    padding-left: 0;
}
.jumbotron.budget-progress {
    padding-left: 15px;
    padding-right: 15px;
}

.jumbotron_bottom{
    /*background-color:#e5ccf2;*/
    text-align:center;
}
.jumbotron_bottom.budget-progress div p {
    font-size: 14px;
    text-align: left;
    font-weight: 600;
}


footer {
    background-color: #f2f2f2;
    padding: 25px;
    margin-top: 30px;
}


.img-logo{
    height: 20px;
}
.img-logo-tenant{
    height: 45px;
}

.logo {
    float:right;
    font-size: 10px;
}

.preview-image{
    margin-top: 10px;
    margin-bottom: 10px;
    max-height: 150px;
    overflow: hidden;
    padding: 3px;
    background-color: white;
    border: 1px solid;
    border-color: lightgray;
    border-radius: 5px;
}


.img-inline{
    display: inline;
}

.img-small{
    height: 24px;
    width: 24px;
    min-height: 24px;
    min-width: 24px;
}

.btn-default {
    color: #151515;
    background-color: #fff;
    border-color: #151515;
    margin-right:5px;
}
.btn-default:hover {
    color: #fff;
    background-color: #151515;
    border-color: #151515;
}


button.navbar-toggle{
    background-color: #4a4a4a;
}

.civ-header-button {
    background-color: white!important;
}

.preview {
    width:100%;
}

.container{
    width: 98%;
}

.row{
    margin-left: 0;
    margin-right: 0;
}
.row h3 {
    border-bottom: lightgray;
    border-bottom-style: solid;
}
.row h4 {
    border-bottom: lightgray;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}
.row.high {
    margin-bottom: 35px;
}
.row.type-question-control{
    margin-bottom: 20px;
}
.row.type-question-budget{
    padding-bottom: 15px;
}
.row.separated {
    border-bottom: lightgrey;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding-bottom: 5px;
}
.row.page {
    margin-top: 40px;
}
.row.page:first-of-type {
    margin-top: 0px;
}
.row.page h4 {
    font-size: 23px;
    font-weight: 600;
    border-width: 0px;
    margin-left: 5px;
}


body {
    background-color: #e9ebee;
}


.panel {
    border-radius: 6px;
}

.panel-primary{
    border-color: #252525;
    background-color: #e2e2e2
}
.panel-primary>.panel-heading{
    color: #fff;
    background-color: #aaaaaa;
    border-color: #252525;
    word-wrap: break-word;
}

.panel-green {
    border-color: #5cb85c;
}
.panel-green > .panel-heading {
    border-color: #5cb85c;
    color: white;
    background-color: #5cb85c;
}
.panel-green > a {
    color: #5cb85c;
}
.panel-green > a:hover {
    color: #3d8b3d;
}
.panel-red {
    border-color: #d9534f;
}
.panel-red > .panel-heading {
    border-color: #d9534f;
    color: white;
    background-color: #d9534f;
}
.panel-red > a {
    color: #d9534f;
}
.panel-red > a:hover {
    color: #b52b27;
}
.panel-yellow {
    border-color: #f0ad4e;
}
.panel-yellow > .panel-heading {
    border-color: #f0ad4e;
    color: white;
    background-color: #f0ad4e;
}
.panel-yellow > a {
    color: #f0ad4e;
}
.panel-yellow > a:hover {
    color: #df8a13;
}


.progress {
    overflow: visible;
}

.ui-progressbar .ui-progressbar-value {
    height: 104%;
}


ol {
    list-style-type: decimal;
    margin: 0;
    padding-left: 25px;
}

.special-answers-section {
    border: 1px solid #D3D3D3;
    color: #555555;
    border-radius: 6px;
    margin:5px;
    margin-bottom: 15px;
    padding: 5px;
}
.special-answers-section:hover {
    border-color: #71B2ED;
}

.ui-widget-header {
    border: 1px solid #7ac229;
    background: #7ac229;
}


.question_title {
    font-size: 18px;
    font-weight: 600;
}

.question_text {
    font-size: 14px;
    font-style: italic;
    color: rgba(74, 74, 74, 0.5);
    font-weight: 300;
}


@media (min-width: 701px) and (max-width: 801px) {
    .reception-desk .poll-title {
        font-size: 36px;
    }
    .reception-desk .question_title {
        font-size: 26px;
    }
    .reception-desk .row.page h4 {
        font-size: 30px;
    }

    h4.modal-title {
        font-size: 22px;
    }

    .dropdown-menu {
        font-size: 24px;
    }

    .logo.civ-footer-logo {
        font-size: 12px;
    }

    .reception-desk .emoji {
        width: 65px;
        height: 65px;
        font-size: 65px;
    }
}

/* BODY */
body {
    background-color: #f3f3f3;
    font-family: 'Open Sans', sans-serif;
    color: #4a4a4a;
}

/* Top panel with image and title  */
.jumbotron h1 {
    text-shadow: -1px 0 #c0c0c0, 0 1px #c0c0c0, 1px 0 #c0c0c0, 0 -1px #c0c0c0;
    color: #4a4a4a;
}
.jumbotron p {
    color: #4a4a4a;
    margin-bottom:15px;
    font-size:20px;
    font-weight:200;
}

.marginRight20 {
    margin-right: 20px;
}

.civ-submit-container {
    padding: 15px;
}
.civ-submit-container .well:hover {
    border-color: #4A4A4A;
}

.civ-submit-form {
    background-color: #e4e3e3!important;
}

@media(min-width:768px){
    .civ-submit-form {
        margin-bottom: 60px;
    }
}

.civ-btn-submit {
    padding: 10px 20px!important;
    background-color: #4a4a4a!important;
    border-color: #4a4a4a!important;
    color: white!important;
    min-width: 150px;
}
.civ-btn-submit:hover {
    background-color: rgba(74, 74, 74, 0.8)!important;
    border-color: rgba(74, 74, 74, 0.8)!important;
}
.civ-btn-submit:disabled {
    background-color: #9b9b9b!important;
    border-color: #9b9b9b!important;
}

.civ-btn-submit-outline {
    padding: 10px 20px!important;
    background-color: #cacaca!important;
    color: white!important;
    min-width: 150px;
}

.civ-btn-submit-slim {
    background-color: #4a4a4a!important;
    border-color: #4a4a4a!important;
    color: white!important;
    min-width: 150px;
}

.civ-btn-submit-primary {
    background-color: #337ab7!important;
    border-color: #2e6da4!important;
}
.civ-btn-submit-primary:hover {
    background-color: #286090!important;
    border-color: #204d74!important;
}

.civ-btn-error {
    min-width: 80px;
    height: 50px;
    padding-left: 25px;
    padding-right: 25px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 20px;
}

.preferencial-more-inf {
    display: flex;
    align-items: center;
    width: 10%;
}

span.voter-info {
    float: right;
    font-size: 16px;    
}

.votable-special{
    border-color: #ffffff;
    background-color: #ffffff;
}

.budget-progress {
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* PAGINATION */
#paging_top {
    margin-bottom: 20px;
}
#paging_top .bar-red{
    background-color:#fff;
}
#paging_top .bar-orange{
    background-color:#fff;
}
#paging_top .bar-green{
    background-color:#fff;
}
#paging_top .bar-top{
    background-color:#fff;
}
#paging_top .ui-widget-header {
    border: 1px solid #71b2ed;
    background: #71b2ed;
}

#paging_bottom {
    margin-top: 40px;
}
#paging_bottom .btn-question {
    background-color: #71b2ed;
    border-color: #71b2ed;
    padding: 10px 20px;
    min-width: 135px;
}
#paging_bottom .btn-question:hover {
    background-color:  rgba(113, 178, 237, 0.8);
    border-color:  rgba(113, 178, 237, 0.8);
}

.paging-info-zone {
    margin-bottom: 15px;
    color: #71b2ed;
    font-size: 16px;
    font-weight: 600;
}
.paging-info-zone #vote_page_title {
    border-bottom-width: 0px;
    font-size: 16px;
    font-weight: 600;
    color: #71b2ed;
}


.civ-free-form {
    height: 30px;
    width: 100%;
}

.special-answers div:last-of-type {
    margin-top:2px;
}

.question-title-wrapper {
    padding-top: 4.5px;
    padding-right: 35px;
    padding-left: 5px;
}

.civ-panel-heading {
    height: auto;
    min-height: 50px;
    border-bottom-color: #e4e3e3!important;
}

.civ-panel-footer {
    background-color: transparent!important;
}

.budget-progress-text-container {
    margin-left: 0px;
    padding-left: 0px;
    margin-top: 20px;
}

/* Introduction text */
.intro-text {
    font-size: 16px;
}
.intro-text h3 {
    font-size: 23px;
    border-width: 0px;
}

.civ-footer-container {
    margin-top: 20px;
    display: block;
    float: left;
    width: 100%;
}

.civ-header {
    min-height: 110px;
}
.civ-header-bar-element {
    padding-top: 3px;
}
.civ-nav-toggle {
    float: left;
    margin-left: 7px;
}

.civ-footer-logo {
    text-align: right;
    clear: both;
    padding-right: 40px;
    margin-bottom: 10px;
}

.panel.noborder {
    border: none;
    box-shadow: none;
}
.panel.noborder > .panel-heading {
    border: 1px solid #dddddd;
    border-radius: 0;
}

.bar-red{
    background-color:#f3f3f3;
}
.bar-orange{
    background-color:#f3f3f3;
}
.bar-green{
    background-color:#f3f3f3;
}
.bar-top{
    background-color:#f3f3f3;
}

.hide-preview {
    display: none !important;
}

.question-disabled,
div.panel.votable:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-primary.voted{
    color: #fff;
    background-color: #151515;
    border-color: #151515;
}
.btn-primary.voted{
    color: #fff;
    background-color: #4a4a4a;
    border-color: #4a4a4a;
    margin-right: 5px;
}

.poll {
    padding: 10px 30px 0;
    margin-bottom: 20px;
    background-color: white;
    border: 1px solid;
    border-color: #fff;
    border-radius: 6px;
    bottom: -1px;
    content: '';
    left: -1px;
}
.poll h3 {
    border-bottom: none;
    color: #000000;
}
.poll h3.text_title {
    font-size: 16px;
}
.poll .voted h3.text_title {
    font-weight: 600;
}

.poll-title {
    font-size: 30px;
    font-weight: 600;
}

.info-button{
    position: absolute;
    top: 5px;
    right: 25px;
}
.info-button button.btn.btn-sm{
    background-color: white;
    color: #cccccc;
    border-color: #cccccc;
    border-radius: 15px;
    border-width: 2px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    font-weight: 600;
}

.btn-danger {
    color:#fff;
    background-color:#aaaaaa;
    border-color:#4a4a4a;

}
.btn-danger:hover{
    box-shadow: 1px 1px 5px grey;
}
.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus {
    color:#fff;
    background-color:#4a4a4a;
    border-color:#444444;
}
.btn-danger:active:focus,
.btn-danger:active:hover {
    background-color:#606060;
    border-color:#444444;
}
button[disabled],
.btn-danger[disabled]:hover,
.btn-danger[disabled]:active,
.btn-danger[disabled]:focus {
    cursor:not-allowed;
    color:#fff;
    background-color:#4a4a4a;
    border-color:#444444;
}


/* Footer voting section */
footer {
    background-color: #e4e3e3;
    padding: 25px;
}
footer > p{
    color: #4a4a4a;
}
footer > form{
    background-color: #ffffff;
    padding-right: 25px;
    padding-left: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    border-color: #4a4a4a;
    border-style: solid;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-width: 1px;
    margin-top: 15px;
    margin-bottom: 15px;
}
footer > form > span{
    font-family:inherit;
    font-weight: bold;
    font-size:19px;
    color:#4a4a4a;
}

@media(min-width:768px){
    .civ-footer-logo {
        position: fixed;
        bottom: 0px;
        right: 0px;
    }
}

@media(max-width:767px){
    .civ-footer-logo {
        padding-right: 20px;
    }    
    .civ-btn-submit-slim {
         margin-top: 15px;
    }
    span.voter-info {
        float: left;
    }
}


/* Instructions button and menu bar  */
.navbar-inverse {
    height: 30px;
    min-height: 30px;
}
.navbar-nav > li {
    height: 30px;
}
.nav > li > a {
    position: relative;
    display: block;
    padding: 0px 0px;
}

/* Page Name when all pages at the same time */
.row h4 {
    border-bottom: #4a4a4a;
    font-size: 30px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: #4a4a4a;
}

/* Page Name when pages buttons present */
#vote_page_title {
    border-bottom: #4a4a4a;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: #4a4a4a;
}

/* Question box */
@media (max-width: 767px) {
    .poll {
        padding: 10px 1.5% 0;
    }
}

.row.poll:hover {
    border-color: #71B2ED;
}

/* Question title */
.h2, h2 {
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: #4a4a4a;
    text-align: justify;
}

/* Question Text */
.question_text_div{
    font-size: 20px;
    padding-left: 0px;
    font-family: inherit;
    line-height: 1.1;
    color: #4a4a4a;
}

/* Question Image */
.question-image{
    padding: 3px;
    background-color: white;
    border: 1px solid;
    border-color: hsl(0, 0%, 25%);
    border-radius: 6px;
}

/* Info button */
.btn-outline-info{
    background-color: #eeeeee;
    color: #4a4a4a;
    border: 1px solid;
    border-color: #4a4a4a;
    position: absolute;
    right: 0px;
}

/* Budget Section TOP*/
.well {
    background-color:#eeeeee;
    border:1px solid #eeeeee;
    border-radius:6px;
    -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow:inset 0 1px 1px rgba(0,0,0,.05);
    font-size:20px;
}

.budget-intro.well {
    background-color:#7ac229;
    border:1px solid #7ac229;
    color:white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 18px 7px 18px;
}

/* Budget Section BOTTOM*/
.jumbotron.budget-progress {
    background-color:white;
    padding-left: 15px;
    padding-right: 15px;
    position: sticky;
    bottom: 0px;
    z-index: 100;
    border-top: dotted 1px #ccc;
}

.budget-text {
    color: #7ac229!important;
    font-family: inherit;
    font-weight: 600;
    font-size:16px;
}

.panel-primary {
    background-color: #ffffff;
}
.panel-primary>.panel-heading{
    background-color: #ffffff;
    border-radius: 6px 6px 0 0;    
}

.panel.panel-primary.votable.not-voted{
    border-color: #e4e3e3;
    background-color: #ffffff;
    margin: 1px 1px 21px 1px;
}
.panel.panel-primary.votable.not-voted:hover{
    border-color: #71B2ED;
    border-width: 2px;
    background-color: white;
    margin: 0px 0px 20px 0px !important;
    cursor: pointer;
}
.panel.panel-primary.votable.not-voted.question-disabled:hover{
    cursor: not-allowed;
}

.panel.panel-primary.votable.voted{
    border-color: #71B2ED;
    border-width: 2px;
    background-color: #ffffff;
    margin: 0px 0px 20px 0px;
    font-weight: 600;
    cursor: pointer;
}


.col-md-3 > .panel.panel-primary.votable.voted::after,
.col-md-4 > .panel.panel-primary.votable.voted::after {
    content: ' ';
    background: transparent url("../img/card_selected.png") center no-repeat;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.panel.panel-primary.votable.voted>.panel-heading{
    background-color: rgba(113, 178, 237, 0.1);
}

.panel-footer {
    padding:10px 15px;
    background-color:#f5f5f5;
    border-top:1px solid #ccc;
    border-bottom-right-radius:3px;
    border-bottom-left-radius:3px;
    color: blue;
}


/* CHECKBOX AND RADIO ******************/
.panel.panel-primary.votable-normal.noborder {
    background-color: #ffffff;
    border:1px solid #ffffff;
    border-radius:6px;
}

.panel.panel-primary.votable-normal.noborder.votable.voted {
    border-color: #ffffff;
    background-color: #ffffff;
    border-width: 2px;
}

.panel.panel-primary.votable-normal.noborder.votable:hover {
    border-color: #ffffff;
    background-color: #ffffff;
    cursor: pointer;
}

.panel.panel-primary.votable-normal.noborder.votable.question-disabled:hover{
    cursor: not-allowed;
}


.btn-default {
    color: #4a4a4a;
    background-color: #fff;
    border-color: #4a4a4a;
}
.btn-default:hover {
    color: #fff;
    background-color: #4a4a4a;
    border-color: #4a4a4a;
}

.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .btn-default.dropdown-toggle {
    color: #fff;
    background-color: #007aff;
    border-color: #007aff;
}

/* Special answers */
.panel.panel-primary.votable-special.noborder {
    background-color: #ffffff;
    border: 1px solid white;
}
.panel.panel-primary.votable-special.noborder:hover {
    border-color: #ffffff;
}

.vote-icons-btn.btn-default {
    padding: 3px;
    color: #6f6f6f;
    background-color: transparent;
    border-color: transparent;
}

.vote-icons-btn.btn-default:hover {
    background-color: transparent !important;
    color: #337ab7 !important;
}

.alert.alert-success.alert-dismissible {
    z-index:101;
}

@supports (object-fit:cover){
    .civ-panel-image img{
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }   
}

@media only screen and (max-width:767px){
    .padding-xs   {
        padding: 1.5%;
    }
    .item-info-wrap-xs{
      height: 40px;
      margin-bottom: 10px;
    }
    
    .poll {
        padding: 10px 1.5% 0;
    }
    
    .num-button-xs{
        padding: 8px 12px !important;
    }
}



@media print {
    body * {
      visibility:hidden;
    }
    .printSection, .printSection *:not(.not_print) {
      visibility:visible;
    }
    .printSection {
      position:fixed !important;
      width: 100% !important;
      left:0;
      top:40mm;
    }
  }
.BIG .panel {
    min-height: 252px;
    max-height: 254px;
}

.BIG .civ-with-budget.panel {
    min-height: 300px;
    max-height: 300px;
}

.BIG .question-title-wrapper {
    height: 29px;
    width: 98%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.BIG .civ-panel-image {
    padding: 0px;
    height: 200px;
}
.BIG .civ-panel-image img { 
    width: 100%;
    height: 100%;
    min-height: 195px;
    border-radius: 6px;
}

.BIG .panel.panel-primary.votable.voted {
    margin: 1px 0px 21px 0px;
}

.BIG .panel.panel-primary.votable.not-voted:hover{
    margin: 1px 0px 21px 0px;
}

.select2-container {
    width: 80% !important;
}

.civ-dropdown-question[readonly] {
    background-color: white;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}
/*Select2 ReadOnly End*/


/*Select2 ReadOnly (Hide when non option selected) Start*/
select[readonly].select2-hidden-accessible.hide-preview + .select2-container {
    display: none
}
/*Select2 ReadOnly (Hide when non option selected) Start*/
.poll .line {
    padding-left: 15px;
    padding-right: 15px;
}

.LINE .panel.panel-primary.votable,
.LINE .panel.panel-primary.votable:hover {
    margin: 1px 1px 1px 1px!important;
    border-width: 1px!important;
}

.poll .preferential {
    padding-left: 15px;
    padding-right: 15px;
}

.PREFERENTIAL .civ-panel-preferential {
    display: flex;
    justify-content: space-between;
    height: auto;
    padding: 0;
}

.PREFERENTIAL .civ-panel-preference {
    display: flex;
    width: 20%;
    max-width: 78px;
    /*width: 90px;*/
    min-width: 50px;
    height: auto;
    border-right: 1px solid #dddddd;
    color: #71B2ED;
    /*margin-left: -15px;*/
}
.PREFERENTIAL .civ-panel-preference span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 30pt;
    width: 100%;
}
.PREFERENTIAL .voted .civ-panel-preference {
    background-color: #71B2ED;
    color: white;
}

.PREFERENTIAL .civ-title-panel {
    flex-grow: 1;
    display: flex;
    width: 70%;
}

.PREFERENTIAL .civ-more-info button {
    position: relative;    
}

.PREFERENTIAL .civ-more-info {    
    justify-content: center;  
    padding: 0;
    margin: 0 1.5%;
}

.PREFERENTIAL .civ-title-panel h3 {
    display: inline-flex;
    align-items: center;
}

.PREFERENTIAL .civ-panel-image {
    padding: 0px;
    width: 150px;
   /* margin-right: -15px;*/
}
.PREFERENTIAL .civ-panel-image img {
    width: 100%;
    height: 100%;
    min-height: 80px;
    max-height: 15em;
}

.PREFERENTIAL .panel.panel-primary.votable.voted {
    border-width: 1px;
}

@media only screen and (max-width:767px){
    .PREFERENTIAL .civ-panel-image {
        margin-right: 0 !important;
    }
}
.poll .radio {
    padding-left: 15px;
    padding-right: 15px;
}

.RADIO .panel.panel-primary.votable,
.RADIO .panel.panel-primary.votable:hover {
    margin: 1px 1px 1px 1px!important;
    border-width: 1px!important;
}
.range-label {
    font-size: 14px;
    font-style: italic;
    color: rgba(74, 74, 74, 0.5);
    font-weight: 300;
}

@media (max-width: 767px) {
     .NUM_RANGE .row.high {
        margin-bottom: 7px;
    }
}

.NUM_RANGE button.btn.btn-default {
    border-color: #cccccc;
}

.NUM_RANGE button.btn.btn-default:hover {
    border-color: #71b2ed;
    background-color: white;
    color: #4a4a4a;
}

.NUM_RANGE button.btn.btn-default:focus {
    background-color: white;
    color: #4a4a4a;
    outline-style: none;
}

.NUM_RANGE button.btn.btn-primary.voted {
    border-color: #71b2ed;
    background-color: #71b2ed;
    outline-style: none;
}
.poll .small {
    padding-left: 15px;
    padding-right: 15px;
}
.panel.panel-primary.small.votable.voted{
    border-color: #71B2ED;
    background-color: rgba(113, 178, 237, 0.1);
    font-weight: 600;
}

.SMALL .civ-more-info {
    position: relative;
    top: 15px;
}

.SMALL .civ-title-panel {
    min-height: 100px;
}

.SMALL .civ-title-margin-fixer {
    padding-left: 20px;
}

.SMALL .civ-title-panel {
    display: flex;
}
.SMALL .civ-title-panel h3 {
    display: inline-flex;
    align-items: center;
}

.SMALL .civ-panel-image {
    padding: 0px;
    height: 100px;
    margin-left: -16px;
    max-width: 200px;
}

.SMALL .panel-primary {
    overflow: hidden;
}

.SMALL .civ-panel-image img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: contain;
    object-position: left;
}

.SMALL .col-md-2.budget-text {
    border-left: 2px dotted #ccc;
    margin-top: 15px;
}

@media (max-width: 991px) {
    .SMALL .civ-panel-image {
        margin-right: -16px;
    }
}
@font-face {
    font-family: 'civiciti-emoticons';
    src:  url('https://static.civiciti.com/content/fonts/civiciti-emoticons.eot');
    src:  url('https://static.civiciti.com/content/fonts/civiciti-emoticons.eot#iefix') format('embedded-opentype'),
      url('https://static.civiciti.com/content/fonts/civiciti-emoticons.ttf') format('truetype'),
      url('https://static.civiciti.com/content/fonts/civiciti-emoticons.woff') format('woff'),
      url('https://static.civiciti.com/content/fontsciviciti-emoticons.svg#civiciti-emoticons') format('svg');
    font-weight: normal;
    font-style: normal;
}
  
[class^="icon-emoji-"], [class*=" icon-emoji-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'civiciti-emoticons' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
  
.icon-emoji-happy2:before {
  content: "\65";
}
.icon-emoji-smile2:before {
  content: "\64";
}
.icon-emoji-neutral2:before {
  content: "\63";
}
.icon-emoji-sad2:before {
  content: "\62";
}
.icon-emoji-angry2:before {
  content: "\61";
}

.emoji-0 {
    color: #e60000;
}
.emoji-1 {
    color: #ff6600;
}
.emoji-2 {
    color: #ffcc00;
}
.emoji-3 {
    color: limegreen;
}
.emoji-4 {
    color: forestgreen;
}

.emoji {
    width: 50px;
    height: 50px;
    font-size: 50px;
}

.btn-emoji{
    background-color: white!important;
    border-width: 2px;
    margin-right: 10px;
}
.btn-emoji.selected{
    background-color: white!important;
    border-color: #71B2ED!important;
}
.btn-emoji:last-child {
    margin-right: 0px;
}
.btn-emoji:hover{
    background-color: #f3f3f3!important;
    border-color: #f3f3f3!important;
}
.btn-emoji:disabled {
    border-color: white!important;
    background-color: white!important;
    opacity: 0.4;
}
.btn-emoji:focus {
    outline-style: none;
}

@media (max-width: 767px) {
    .btn-emoji{
        padding: 10px 4px!important;
    }
}

@media (max-width: 500px) {
    .emoji {
        width: 40px;
        height: 40px;
        font-size: 40px;
    }
    .btn-emoji{
        margin-right: 4px;
    }
}

@media (max-width: 400px) {
    .emoji {
        width: 38px;
        height: 38px;
        font-size: 38px;
    }
    .btn-emoji{
        margin-right: 2px;
    }
}

@media (max-width: 321px) {
    .emoji {
        width: 32px;
        height: 32px;
        font-size: 32px;
    }
    .btn-emoji{
        margin-right: 2px;
    }
}

.btn-star{
    background-color: white;
    margin-right: 1px;
}
.btn-star:hover {
    background-color: lightgray;
}
.btn-star:focus {
    outline-style: none;
}
.btn-star .glyphicon-star {
   color: #71B2ED;
}
.glyphicon.glyphicon-star {
    font-size: 40px;
}
.glyphicon.glyphicon-star-empty {
    font-size: 40px;
}
.glyphicon.glyphicon-star-empty:hover {
    color: #71B2ED;
}

@media (max-width: 767px) {
     .btn-star{
        padding: 10px 4px!important;
    }
}
.civ-text-question {
    width: 100%;
}

.civ-text-question-small {
    height: 30px;
}

.civ-text-question-large {
    height: 100px;
}

.glyphicon.glyphicon-thumbs-up {
    color: #81c784;
    font-size: 80px;
}
.glyphicon.glyphicon-thumbs-down {
    color: #e57373;
    font-size: 80px;
}

.yesno-yes {
    color: #81c784;
    font-size: 30px;
    font-weight: bold;
}
.yesno-no {
    color: #e57373;
    font-size: 30px;
    font-weight: bold;
}

.btn-yesno{
    background-color: white!important;
    border-width: 4px;
    margin-right: 20px;
    width: 200px;
}
.btn-yesno.selected{
    background-color: white!important;
}
.btn-yesno:focus{
    outline-color: transparent;
    outline-style: none;
}
.btn-yesno:last-child {
    margin-right: 0px;
}
.btn-yesno:disabled {
    border-color: white!important;
    background-color: white!important;
    opacity: 0.4;
}

.btn-yesno-yes.selected{
    border-color: #81c784!important;
}
.btn-yesno-yes:hover{
    background-color: #81c784!important;
}
.btn-yesno-yes:hover .yesno-yes{ color: white; }
.btn-yesno-yes:hover .glyphicon{ color: white; }

.btn-yesno-no.selected{
    border-color: #e57373!important;
}
.btn-yesno-no:hover{
    background-color: #e57373!important;
}
.btn-yesno-no:hover .yesno-no{ color: white; }
.btn-yesno-no:hover .glyphicon{ color: white; }


@media (max-width: 500px) {
    .btn-yesno {
        width: 150px;
        margin-right: 10px;
    }
}

@media (max-width: 400px) {
    .btn-yesno {
        width: 140px;
        margin-right: 8px;
    }
}

@media (max-width: 360px) {
    .btn-yesno {
        width: 120px;
        margin-right: 8px;
    }
}
