html, body {
    margin: 5px;
    padding: 0;
    font-family: 'PT Sans', serif;
    margin: 0em;
    box-sizing: border-box;
    background: radial-gradient(ellipse at bottom, #3e71ac 0%, #030617 100%);  /*#425384;*/
    color: white;
    /*height: 100%;*/
}

li, ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}


#app {
    margin-top: 0em;
}


#head {
    text-align: left;
    margin-top: 0em;
    font-size: 0.7em;
}


#head-logo {
    padding-top: 3em;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1.5em;
    max-width: 1200px;
}

/*#head-logo-title {
    display: inline;
    vertical-align: top;
    font-size: 3.2em;
    font-weight: bold;
    color: #0d2254;
    margin-left: 0.4em;
}*/


#sim {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}


#sim-title {
    text-align: center;
    margin-bottom: 1em;
    padding-bottom: 1em;
}


#sim-title-text {
    /*background: rgb(255, 245, 204);*/
    width: auto;
    white-space: nowrap;
    font-size: 1.5em;
    font-weight: 100;
}


#sim-board-chart {
    display: flex;
    flex-direction: row;
    font-size: 1em;
    background: #fefefec7;
    color: black;
}


#sim-board {
    padding: 1em;
    text-align: left;
    width: 70%;
    /*display: inline-flex;*/
    min-height: 773px;
}

#sim-board-home-button {
    cursor: pointer;
}

.sim-board-heading {
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
    text-transform: uppercase;
    padding-bottom: 10px;
    padding-top: 10px;
}

#sim-board-groups {
    float: left;
    padding-bottom: 5px;
    width: 115px;
}


.sim-board-groups-full-width {
    width: 100% !important;
}


.sim-board-vote-icon {
    float: left;
}


.sim-board-item {
    cursor: pointer;
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


.sim-board-item:hover {
    font-weight: bold;
}


.sim-board-item-space {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
}


.sim-board-item-selected {
    font-weight: bold;
    /*background-color: #fafafa;*/
}


.sim-board-item-party {
    padding-left: 10px;
    padding-right: 10px;
}


.sim-board-item-name {
    float: left;
}


.sim-board-item-details {
    text-align: right;
    float: right;
}


.sim-board-national-party {
    text-decoration: underline;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


.sim-board-members {
    /*margin-bottom: 1.2em;*/
}


#sim-board-national-delegations {
    float: left;
    /*background-color: #fafafa;*/
    width: 135px;
    max-width: 135px;
    padding-bottom: 5px;
}


.sim-board-national-delegations-full-width {
    width: 680px !important;
    max-width: 680px !important;
}


.sim-board-item-stats {
    float: left;
    margin-right: 200px;
}

.sim-board-item-votes-record-container {
    float: left;
    width: 200px;
    border: 2px solid black;
    margin: 1px 20px 1px 0px;
}


.sim-board-item-votes-record {
    float: left;
    height: 15px;
}


.sim-board-item-votes-record-for {
    background-color: #109D58;
}


.sim-board-item-votes-record-against {
    background-color: #DC4437;
}


.sim-board-item-votes-record-abstain {
    background-color: #F5B400;
}


.sim-board-item-votes-record-present {
    background-color: #621D75;
}


.sim-board-item-votes-record-absent {
    background-color: #351D75;
}


#sim-board-national-parties {
/*    border-right-width: 0.15em;
    border-left-width: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    border-style: solid;
    border-color: #ececec;*/
    /*float: left;*/
    /*background-color: #efefef;*/
    /*width: 320px;*/
    width: auto;
    overflow: hidden;
    /*max-width: 320px;*/
    padding-bottom: 5px;
}


#sim-chart {
    width: 30%;
    text-align: center;
    padding: 1em;
    background: #ffffff66;
}


#sim-chart-voting-type-heading {
    padding: 0px;
    margin: 3px;
    background-color: #d0d7e1;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}


#sim-chart-voting-type-heading:after {
    content: '<>';
    font: 17px "Consolas", monospace;
    color: #333;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    right: 11px;
    top: 6px;
    padding: 0 0 2px;
    border-bottom: 1px solid #999;
    position: absolute;
    pointer-events: none;
}


#sim-chart-voting-type-heading select {
    padding: 7px 47px 7px 16px;
    margin: 0px;
    width: 100%;
    line-height: 1.4;
    background-color: #d0d7e1;
    font-weight: bold;
    text-transform: uppercase;
    border: 0px;
    font-family: INHERIT;
    font-size: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


.sim-chart-voting-type-select-option {
    text-transform: initial;
}


#sim-chart-voting-type-description {
    margin: 1.2em;
    text-align: left;
    height: 6.2em;
    max-height: 6.2em;
    overflow: hidden;    
}


#sim-chart-voting-type-description-heading {
    font-weight: bold;
}


#sim-chart-outcome-text {
    font-weight: bold;
    font-size: xx-large;
    text-transform: uppercase;
}


#sim-chart-outcome-text-passed {
    color: #109D58;
}


#sim-chart-outcome-text-rejected {
    color: #DC4437;
}


#sim-chart-votes-required {
    margin: 1.2em;
}


#sim-chart-votes-required-heading {
    font-weight: bold;
}


#foot {
    margin-top: 2em;
    text-align: center;
    margin-bottom: 2em;
    font-size: 1em;
}


input[type='radio']:after {
    width: 15px;
    height: 15px;
    top: -2px;
    left: -3px;
    position: relative;
    background-color: #e2e6eb;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid black;
    cursor: pointer;
    margin: 0px important!;
}

input[type='radio'] {
    margin: 0px 0px 0px 0px;
}


input[type='radio']:hover {
}


input[type='radio']:checked:after {
    width: 15px;
    height: 15px;
    top: -2px;
    left: -3px;
    position: relative;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 2px solid black;
    cursor: pointer;
}


input[class='radio-for-member']:checked:after {
    background-color: #109D58;
}


input[class='radio-against-member']:checked:after {
    background-color: #DC4437;
}


input[class='radio-abstain-member']:checked:after {
    background-color: #F5B400;
}


input[class='radio-present-member']:checked:after {
    background-color: #621D75;
}


input[class='radio-absent-member']:checked:after {
    background-color: #351D75;
}


input[type='radio']:hover:after {
 /*   background-color: rgb(182,192,205);*/
}


input[class*='radio-for']:hover:after {
    background-color: #109D58;
}


input[class*='radio-against']:hover:after {
    background-color: #DC4437;
}


input[class*='radio-abstain']:hover:after {
    background-color: #F5B400;
}


input[class*='radio-present']:hover:after {
    background-color: #621D75;
}


input[class*='radio-absent']:hover:after {
    background-color: #351D75;
}


input[class*='radio-party']:hover:after {
    background-image: url(res/arrow_down.svg);
    background-repeat: no-repeat;
    background-size: 11px 11px;
    background-position: center;

}


/*input[class*='radio-group-or-delegation']:after {
    background-color: #e2e6eb;
}*/


input[type='radio']:hover:checked:after {
 /*   background-color: rgb(182,192,205);*/
}


label {
    background:transparent;
    color:#fff;
    padding:6px;
    margin: 0px 0px 0px 0px;
    cursor: pointer;

}

label:hover {
    background-color: rgb(182,192,205); 
    cursor: pointer;

}