/* Utiliidid */
html {
    height: 99%;
    min-height: 99%;
}

.subtext {
    color: #3DA0EC;
}

.top-40 {
    margin-top: 40px;
}

.top-20 {
    margin-top: 20px;
}

.left-30 {
    padding-left: 30px !important;
}

.left-5 {
    margin-left: 5% !important;
}

.right-5 {
    margin-right: 5% !important;
}

.bottom-32 {
    margin-bottom: 32px !important;
}

#wrap {
    min-height: 100%;;
}

#main {
    overflow: auto;
    padding-bottom: 50px; /* this needs to be bigger than footer height*/
}

.full-width {
    width: 100%;
}

.gray {
    color: #909090;
}

body {
    color: #464C52;
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    padding-bottom: 46px;
    height: 100%;
    min-height: 100%;
    background-color: rgba(219, 219, 219, 0.2);
}

.wide-panel {
    width: 102%;
}

.modal-backdrop {
    opacity: 0;
}

.modal-backdrop.in {
    opacity: 0;
    filter: alpha(opacity = 0);
}

a.plain-anchor {
    text-decoration: none;
    color: #FFF;
}

a.plain-anchor:HOVER {
    text-decoration: none;
    color: #FFF;
}

p {
    font-family: inherit;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.25em;
    text-rendering: optimizeLegibility;
}

.container {
    width: 1050px !important;
    overflow: visible !important;
}

.display-inline {
    display: inline-block !important;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

::-moz-selection {
    background: #B3D4FC;
    text-shadow: none;
}

::selection {
    background: #B3D4FC;
    text-shadow: none;
}

.vam-header {
    color: rgb(27, 82, 148);
}

div.vam-content {
    width: 960px !important;
}

div.locale-buttons {
    margin-top: -16px;
    margin-bottom: -6px;
    float: right;
}

a.locale-button button {
    border-width: 1px !important;
    border-color: #FFF !important;
    background-color: #1b5294 !important;
    margin-top: 10px !important;
}

.error-message {
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.district-script {
    margin-top: 14px;
    font-weight: 700;
    color: #F00;
}

.vam-tooltip {
    color: #0C87DA;
    font-weight: bold;
    font-size: 13px;
    background-color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.75);
    background-color: #fff;
}

/* Esilehe nupustik */
.frontpage-block {
    border: solid 1px #DBDBDB;
    background: #FFFFFF;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
}

a.vam-invisible {
    display: none !important;
}

.frontpage-icon-wrapper {
    text-align: center;
    display: block;
    background-color: rgba(219, 219, 219, 0.2);
    padding: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    -webkit-transition-property: all;
    -moz-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
    overflow: hidden;
}

.frontpage-icon-wrapper-disabled {
    text-align: center;
    display: block;
    background-color: rgba(219, 219, 219, 0.2);
    padding: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
}

.frontpage-icon-wrapper:hover {
    text-decoration: none;
    background: #B3D4FC;
}

.frontpage-icon-wrapper-disabled:hover {

    text-decoration: none;
}

.frontpage-icon-text {
    margin-top: 1px;
    background: -webkit-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -moz-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -o-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    padding: 12px 30px 13px;
    color: rgb(38, 121, 180);
    font-size: large;
    font-weight: 650;
    line-height: 1.40;
}

.frontpage-icon-text-disabled {
    margin-top: 1px;
    background: -webkit-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -moz-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -o-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    padding: 12px 30px 13px;
    color: #464C52;
    font-size: large;
    font-weight: 650;
    line-height: 1.40;
}

.frontpage-icon-text-lower {
    margin-top: 1px;
    background: -webkit-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -moz-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -o-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    padding: 12px 30px 13px;
    color: rgb(38, 121, 180);
    font-size: large;
    font-weight: 650;
    line-height: 1.40;
    height: 77px;
}

.frontpage-icon-text-lower-disabled {
    margin-top: 1px;
    background: -webkit-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -moz-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: -o-linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    background: linear-gradient(-180deg, #fafafa 0%, #FFFFFF 100%);
    padding: 12px 30px 13px;
    color: #464C52;
    font-size: large;
    font-weight: 650;
    line-height: 1.40;
    height: 77px;
}

.frontpage-icon-holder {
    border-bottom: solid 1px #DBDBDB;
}

.frontpage-icon {
    background: url("../img/iconset.png") no-repeat;
    display: inline-block;
}

.frontpage-icon-general {
    background-position: 0 -3622px;
    height: 122px;
    width: 143px;
}

.frontpage-icon-general-disabled {
    background-position: 0 -4442px;
    height: 122px;
    width: 143px;
}

.frontpage-icon-stations {
    background-position: 0 -5000px;
    height: 122px;
    width: 157px;
}

.frontpage-icon-stations-disabled {
    background-position: 0 -5390px;
    height: 122px;
    width: 157px;
}

.frontpage-icon-candidates {
    background-position: 0 0;
    height: 122px;
    width: 209px;
}

.frontpage-icon-candidates-disabled {
    background-position: 0 -222px;
    height: 122px;
    width: 209px;
}

.frontpage-icon-statistics {
    background-position: 0 -3192px;
    height: 162px;
    width: 173px;
}

.frontpage-icon-statistics-disabled {
    background-position: 0 -4180px;
    height: 162px;
    width: 173px;
}

.frontpage-icon-voting-results {
    background-position: 0 -968px;
    height: 162px;
    width: 114px;
}

.frontpage-icon-voting-results-disabled {
    background-position: 0 -1230px;
    height: 162px;
    width: 114px;
}

.frontpage-icon-mandates {
    background-position: 0 -6454px;
    height: 162px;
    width: 140px;
}

.frontpage-icon-mandates-disabled {
    background-position: 0 -6858px;
    height: 162px;
    width: 140px;
}

.frontpage-icon-detailed {
    background-position: 0 -444px;
    height: 162px;
    width: 142px;
}

.frontpage-icon-detailed-disabled {
    background-position: 0 -706px;
    height: 162px;
    width: 142px;
}

.mobile-div {
    display: none;
}

.browser-warning {
    margin-top: 5px;
    padding: 5px;
    background-color: #C6E4F9;
}

/* Footer */
.footer {
    position: relative;
    height: 46px;
    clear: both;
    width: 1050px !important;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    color: #85929F;
    padding-top: 19px;
}

.contact-info a {
    color: #85929F;
}

.contact-info a:hover {
    text-decoration: none;
    color: #1b5294;
}

.icon-facebook {
    display: inline-block;
    background: url("../img/iconset.png") no-repeat;
    background-position: 0 -5905px;
    height: 25px;
    width: 25px;
}

.icon-facebook:hover {
    background-position: 0 -5780px;
}

.icon-twitter {
    display: inline-block;
    background: url("../img/iconset.png") no-repeat;
    background-position: 0 -6335px;
    height: 25px;
    width: 25px;
}

.icon-twitter:hover {
    background-position: 0 -6210px;
}

/* Navigaator */
.nav-header-mobile {
    display: none;
}

.nav-header {
    text-align: center;
    height: 72px;
    -webkit-box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.50);
    box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: 0px 4px 5px -2px rgba(0, 0, 0, 0.50);
    min-width: 100%;
}

.nav-header-home {
    text-align: center;
    height: 33px;
}

.navigation-bar {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.navigation-bar-mobile {
    display: none;
}

.navigation-bar li {
    font-size: 13px !important;
    text-align: center;
    display: inline;
}

.navigation-bar li.active a {
    color: #205980 !important;
    font-weight: bold;
}

.navigation-bar a {
    display: inline-block;
    color: #464C52 !important;
    text-decoration: none;
    padding: 10px;
    padding-left: 9px;
}

.navigation-bar a:hover {
    text-decoration: none;
}

.navigation-bar-corporate-wrapper {
    background-color: #007bc1;
}

.navigation-bar-corporate {
    background-color: #007bc1;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    height: 37px;
    width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.navigation-bar-corporate li {
    font-size: 11px !important;
    height: 37px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}

.navigation-bar-corporate a {
    padding-bottom: 10px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 12px;
    display: inline-block;
    color: #fff !important;
    text-decoration: none;
    height: 37px;
    text-transform: uppercase;
    vertical-align: middle;
}

.navigation-bar-corporate li.active a {
    background-color: #fff;
    color: #007bc1 !important;
}

.navigation-bar-corporate a:hover {
    text-decoration: none;
    background-color: #fff;
    color: #007bc1 !important;
    -webkit-transition: background-color 100ms linear, color 100ms linear;
    -moz-transition: background-color 100ms linear, color 100ms linear;
    -o-transition: background-color 100ms linear, color 100ms linear;
    -ms-transition: background-color 100ms linear, color 100ms linear;
    transition: background-color 100ms linear, color 100ms linear;
}

.back-button {
    margin-left: 37px;
}

.btn-back {
    margin-bottom: 32px;
}

header.participation-header {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(27, 82, 148);
    background-origin: padding-box;
    background-size: auto;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-sizing: border-box;
    display: block;
    margin-bottom: 1px;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-bottom: 19px;
    padding-left: 19px;
    padding-right: 19px;
    padding-top: 19px;
    margin-top: 15px;
}

header.participation-header h4 {
    color: #fff;
    margin-top: 0px !important;
    margin-bottom: 0px;
}

/* Ä†Āld-info*/
table.general-data {
    /* border-spacing: 2px; */
    border: solid 1px #dddddd;
    border-collapse: collapse;
}

table.general-data td {
    border: solid 1px #dddddd;
    padding: 6px;
}

table.general-data th {
    background-color: #fff;
    border: solid 1px #dddddd;
    padding: 6px;
}

table.general-data tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.general-info-text h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Otsingukast */
form.form-search {
    margin-top: 10px;
}

form.form-search hr {
    border-color: #C8C8C8;
}

form.form-search label {
    font-size: 13px !important;
}

form.form-search button {
    background: #1b5294 !important;
    color: #fff !important;
}

small.search {
    font-size: 80%;
}

.search-button {
    float: right;
    background: #1b5294 !important;
    border-width: 1px !important;
    border-color: #FFF !important;
    margin: -6px !important;
}

.search-button-mobile {
    display: none;
}

.search-form-mobile {
    display: none;
}

.search-form {
    float: right;
    width: 325px;
    margin-top: -8px;
    margin-bottom: -15px;
}

form.search-form label {
    color: #FFF !important;
    font-size: 13px !important;
}

form.search-form button {
    background: #1b5294 !important;
    color: #fff !important;
    border-width: 1px !important;
    border-color: #FFF !important;
}

#search-modal .modal-content {
    top: 110px;
    right: -384px;
    background-color: #F8F8F8;
}

.search-select {
    width: 219px;
}

.search-error {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 32px;
}

/* Komisjonikast */
h4.polling-title {
    display: inline;
    float: left;
}

h4.committee-location-name {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    color: rgb(68, 68, 68) !important;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 20px;
    margin-bottom: 20px;
}

article.station-info hr {
    margin: 0px !important;
}

article.station-info dl {
    margin-bottom: 0px !important;
}

article.station-info div.candidate-list {
    margin-top: 12px;
    margin-bottom: 12px;
}

article.station-info {
    -webkit-border-radius: 6px 6px 0 0;
    -moz-border-radius: 6px 6px 0 0;
    -ms-border-radius: 6px 6px 0 0;
    -o-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
    border: 1px solid #dbdbdb;
    margin-bottom: 32px;
    margin-right: 5%;
    margin-left: 5%;
    font-size: 14px;
    background-color: #F8F8F8;
}

article.station-info header {
    background-color: rgb(198, 228, 249);
    box-sizing: border-box;
    text-align: center;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.committee-footer {
    background-color: rgb(198, 228, 249);
    box-sizing: border-box;
    text-align: left;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 10px;
    padding-bottom: 10px
}

article.station-info header h4 {
    color: rgb(27, 82, 148) !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    text-align: left !important;
}

.committee-footer h4 {
    color: rgb(27, 82, 148) !important;
    font-size: 1em !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

article.station-info dl dt {
    color: #1A8AD8;
    font-weight: bold;
    margin: 0;
    padding-top: 10px;
    padding-left: 9px;
    padding-bottom: 10px;
    width: 248px;
    text-align: right;
    float: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

article.station-info dl dd {
    margin-left: 260px;
    padding-left: 13px;
    padding-top: 10px;
    padding-right: 9px;
    padding-bottom: 10px;
}

article.station-info div.notes {
    padding: 10px;
}

article.station-info div.divider {
    padding: 5px;
}

span.note {
    padding-bottom: 6px;
    display: block;
}

/* Kandidaadid */
div.candidate-link {
    margin-left: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
}

table.candidate-results {
    border-collapse: collapse;
    border: 1px solid #dddddd;
    margin-right: 5%;
    margin-left: 5%;
    margin-bottom: 32px;
    width: 90%;
}

table.candidate-results tbody td {
    padding: 10px;
}

table.candidate-results thead th {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    color: rgb(27, 82, 148) !important;
    background-color: rgb(198, 228, 249);
    padding: 10px;
}

.search-result-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
}

.name-legend {
    margin-left: 5%;
    margin-right: 5%;
}
/* Admin */
.user-info {
    margin-top: 10px;
    padding-left: 10px;
    border-left: thin solid rgba(0, 0, 0, 0.65);;
}

.nav-row {
    padding-top: 10px;
}

.invisible-form {
    display: none;
}

label.user-label {
    width: 120px !important;
    padding-right: 10px !important;
    text-align: right !important;
}

form.view-form {
    margin-top: 10px;
}

table.view-table {
    border-collapse: collapse;
    border: 1px solid gray;
}

table.view-table tbody td {
    padding: 10px;
    border: 1px solid gray;
}

table.view-table thead th {
    padding: 10px;
    border: 1px solid gray;
    border-bottom: 1px solid black;
}

/* Participation */
table.participation {
    border-collapse: collapse;
    border: 1px solid gray;
    font-size: 13px;
    min-width: 1050px;
    margin-left: -15px;
    margin-right: -15px;
}

table.participation thead th.sub-header-light {
    padding: 8px;
    background-color: rgb(225, 240, 251);
}

table.participation thead th.center {
    text-align: center;
}

table.participation thead th.blue {
    color: #215981;
}

table.participation thead span.date-stamp {
    color: #215981;
}

div.vam-graph {
    width: 85%;
    margin-right: 45px;
}

div.vam-results-graph {
    width: 85%;
    margin-right: 45px;
    height: 12px;
}

div.vam-progress-bar {
    display: inline-block;
    height: 18px;
    background-color: #9BCEF2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    margin-top: 8px;
}

div.vam-progress-bar-block {
    display: inline-block;
    height: 25px;
    background-color: #9BCEF2;
    margin-top: -6px;
    margin-bottom: -8px;
}

div.vam-progress-bar-cur {
    display: inline-block;
    height: 12px;
    background-color: #BBBBBB;
}

div.vam-progress-bar-last {
    display: inline-block;
    height: 12px;
    background-color: #DDDDDD;
    margin-top: -6px;
}

div.value {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 12px;
    margin-left: 2px;
    right: -47px;
}

div.value-block {
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    right: -47px;
    font-size: 12px;
}

div.value-cur {
    display: inline-block;
    font-size: 11px;
    vertical-align: middle;
    margin-left: 2px;
    right: -47px;
    margin-top: -4px;
}

div.value-last {
    display: inline-block;
    font-size: 11px;
    vertical-align: middle;
    margin-left: 2px;
    right: -47px;
    margin-top: -4px;
}

table.participation thead th.sub-header-dark {
    padding: 8px;
    background-color: rgb(198, 228, 249);
}

table.participation tbody td {
    padding-left: 10px;
}

table.participation tbody tr:nth-child(even) {
    background: #F8F8F8;
}

table.participation tbody tr:hover {
    -webkit-transition-property: background, color;
    -moz-transition-property: background, color;
    -o-transition-property: background, color;
    transition-property: background, color;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

table.participation tbody tr.sum {
    font-weight: bold;
    font-size: 15px;
    background-color: #E1F0FB;
}

table.participation tbody div.bold {
    font-weight: bold;
}

table.voting-result tbody div.bold {
    font-weight: bold;
}

table.participation tbody td.center {
    text-align: center;
}

table.participation tbody td.number {
    width: 60px;
}

table.participation tbody td.name {
    width: 200px;
}

/* Detailed */
.detailed-navigator-mobile {
    display: none;
}

.detailed-navigator {
    padding-top: 8px;
    background-color: #FFF;
}

.detailed-navigator a {
    color: #000;
}

.detailed-navigator a.active {
    color: #155096 !important;
    font-weight: bold;
}

.detailed-navigator-link {
    padding: 6px 3px 6px;
}

.detailed-navigator-link-parish {
    padding: 6px 6px 6px 15px;
}

.detailed-navigator-link-sub {
    margin-top: 5px;
}

.detailed-navigator-link-sub a {
    color: #464C52;
    margin-left: 3px;
    font-size: 12px;
    font-weight: 600;
}

.detailed-navigator-link-sub a.active {
    color: #155096;
}

.detailed-navigator-link-sub-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

.detailed-navigator-link-sub-sub {
    margin-top: 5px;
}

.detailed-navigator-link-sub-sub a {
    color: #464C52;
    margin-left: 23px;
    font-size: 12px;
    font-weight: 600;
}

.detailed-navigator-link-sub-sub a.active{
    color: #155096;
}

table.detailed-party {
    border: 1px solid #ffcccc !important;
}

table.detailed-party tbody td.cand-reg{
    width: 75px;
}

table.detailed-party tbody td.cand-name{
    min-width: 250px;
}

div.reg-number {
    width: 75px;
}

div.cand-name {
    width: 250px;
}

div.vote-cell {
    min-width: 70px;
}

table.mandates {
    background-color: #FFF;
    border: 1px solid grey;
    border-collapse: collapse;
    font-size: 13px;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    margin-bottom: 40px;
}

table.fixed {
    table-layout: fixed;
}

table.mandates tbody td {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

table.mandates tr+tr {
    border-top: 1px solid #E2E2E2;
}

table.mandates td+td {
    border-left: 1px solid #E2E2E2;
}

table.mandates tbody tr:nth-child(even) {
    background-color: rgb(248, 248, 248);
}

table.mandates tbody tr.sum {
    font-weight: bold;
    background-color: #E1F0FB;
}

table.mandates tbody td.party {
    font-weight: bold;
    font-size: 15px;
    font-style: italic;
    text-align: center;
}

table.stats {
    table-layout: fixed;
    width: 438px !important;
}

table.stats td.name {
    width: 201px !important;
}

table.stats td.value {
    text-align: right;
    width: 201px !important;
}

table.detailed td {
    border-left: 1px solid grey;
    border-collapse: collapse;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    min-width: 70px;
}

table.detailed tr {
    border-top: 1px solid grey;
}

table.detailed tr+tr {
    border-top: 1px solid #DDDDDD;
}

table.detailed td+td {
    border-left: 1px solid #DDDDDD;
}

table.detailed {
    background-color: #FFF;
    border: 1px solid grey;
    border-collapse: collapse;
    font-size: 13px;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    margin-bottom: 40px;
}

table.detailed-part {
    table-layout: fixed;
}

table.detailed th.county {
    width: 220px !important;
}

table.detailed th.voters {
    width: 218px !important;
}

table.detailed tbody tr:nth-child(even) {
    background-color: rgb(248, 248, 248);
}

table.detailed tbody tr.sum {
    font-weight: bold;
    background-color: #E1F0FB;
}

table.detailed tbody td.party {
    font-weight: bold;
    font-size: 15px;
    font-style: italic;
}

table.no-border {
    border: none !important;
}

table.voting-result {
    table-layout: fixed;
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: none;
}

table.voting-result tbody td {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

table.voting-result thead {
    font-size: 12px;
    color: rgb(153, 153, 153);
}

table.voting-result thead th.name {
    width: 350px;
}

table.voting-result thead th.votes {
    width: 87px;
}

table.voting-result thead th.percent-wide {
    width: 244px;
}

table.voting-result thead th.percent {
    width: 130px;
}

table.voting-result thead th.mandates {
    width: 114px;
}

tbody td.cell-right {
    text-align: right;
}

.candidate-name {
    width: 185px;
}

tr.white-border {
    border-top: 3px solid white !important;
}

tr.header-light {
    background-color: #C0C0C0;
}

tr.header-dark {
    background-color: #808080;
}

tr.header-blue {
    background-color: rgb(27, 82, 148);
    color: #FFF;
}

thead th {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

th.header-cell-right {
    text-align: right;
}

th.header-cell-center {
    text-align: center;
}

td.divider {
    background-color: red;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 3px !important;
    padding-bottom: 0px !important;
}

td.light-blue {
    background-color: rgb(225, 240, 251);
}

h4.mandates {
    margin-left: 5%;
}

table.elected-party {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 20px;
    border-collapse: separate;
}

table.elected-party thead {
    height: 57px;
}

table.elected-party th {
    background-color: #F7F7F7;
    border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    height: 57px;
}

.party-name {
    font-weight: 600;
    font-size: 17px;
    display: inline;
    float: left;
    margin-left: 15px;
    margin-right: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.party-mandates {
    position: relative;
    float: right;
    width: 120px;
    height: 57px;
    margin-top: -5px;
    margin-bottom: -5px;
    margin-right: -10px;
    border-radius: 0px 5px 0px 0px;
    -moz-border-radius: 0px 5px 0px 0px;
    -webkit-border-radius: 0px 5px 0px 0px;
    font-size: 11px;
    font-weight: 600;
    background-color: #BBB;
}

span.mandate-number {
    font-size: 32px;
    font-weight: 800;
}

div[class^="party-mandates-"], div[class*=" party-mandates-"]:before {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    left: -57px;
    border-top: 57px solid rgba(0, 0, 0, 0);
    border-right: 57px solid #BBB;
}

.party-mandates-REF:before {
    border-right: 57px solid rgb(255,220,000) !important;
}

.party-mandates-KESK:before {
    border-right: 57px solid rgb(002, 125, 043) !important;
}

.party-mandates-IRL:before {
    border-right: 57px solid rgb(000,157,224) !important;
}

.party-mandates-SDE:before {
    border-right: 57px solid rgb(206,017,038) !important;
}

.party-mandates-ROH:before {
    border-right: 57px solid rgb(096,190,025) !important;
}

.party-mandates-EÜVP:before {
    border-right: 57px solid rgb(255,124,128) !important;
}

.party-mandates-EVPPK:before {
    border-right: 57px solid rgb(104,059,021) !important;
}

.party-mandates-EIP:before {
    border-right: 57px solid rgb(075,144,222) !important;
}

.party-mandates-EVA:before {
    border-right: 57px solid rgb(128,000,128) !important;
}

.party-mandates-EKRE:before {
    border-right: 57px solid rgb(153,102,00) !important;
}

.party-mandates-RÜE:before {
    border-right: 57px solid rgb(255,204,102) !important;
}

.mandates-wrapper {
    margin-left: 10px;
    margin-top: 12px;
    height: 27px;
}

.party-colorflag {
    position: relative;
    float: right;
    width: 18px;
    height: 57px;
    margin-top: -5px;
    margin-bottom: -5px;
    margin-right: -10px;;
    background-color: #BBB;
}

div[class^="party-colorflag-"], div[class*=" party-colorflag-"]:before {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    left: -57px;
    border-top: 57px solid rgba(0, 0, 0, 0);
    border-right: 57px solid #BBB;
}

.party-colorflag-REF:before {
    border-right: 57px solid rgb(255,220,000) !important;
}

.party-colorflag-KESK:before {
    border-right: 57px solid rgb(002, 125, 043) !important;
}

.party-colorflag-IRL:before {
    border-right: 57px solid rgb(000,157,224) !important;
}

.party-colorflag-SDE:before {
    border-right: 57px solid rgb(206,017,038) !important;
}

.party-colorflag-ROH:before {
    border-right: 57px solid rgb(096,190,025) !important;
}

.party-colorflag-EÜVP:before {
    border-right: 57px solid rgb(255,124,128) !important;
}

.party-colorflag-EVPPK:before {
    border-right: 57px solid rgb(104,059,021) !important;
}

.party-colorflag-EIP:before {
    border-right: 57px solid rgb(075,144,222) !important;
}

.party-colorflag-EVA:before {
    border-right: 57px solid rgb(128,000,128) !important;
}

.party-colorflag-EKRE:before {
    border-right: 57px solid rgb(153,102,00) !important;
}

.party-colorflag-RÜE:before {
    border-right: 57px solid rgb(255,204,102) !important;
}

.mandates-wrapper {
    margin-left: 10px;
    margin-top: 12px;
    height: 27px;
}

table.tab-table {
    table-layout: auto !important;
    background-color: #FFF;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 1px solid #FCC;
    border-top: none;
}

table.tab-table tbody td.party {
    width: 250px;
}

table.tab-table tbody td.votes {
    width: 100px;
}

table.tab-table tbody td.percent {
    width: 200px;
}

table.tab-table tbody td.votes-total {
    font-size: 12px;
    color: #999;
    padding-bottom: 16px;
}

table.tab-table tbody td.votes-total-number {
    font-size: 20px;
    padding-right: 20px;
    padding-bottom: 16px;
}

div.divider-row {
    display: block;
    height: 1px;
    background-color: #FCC;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.votes-result {
    border-radius: 3px;
    background-color: #9BCEF2;
    font-weight: bold;
    font-size: 15px;
    text-align: right;
    padding-top: 5px;
    padding-right: 10px;
    height: 25px;
}

.votes-result-small {
    border-radius: 3px;
    background-color: #9BCEF2;
    font-weight: bold;
    font-size: 14px;
    text-align: left !important;
    overflow: visible;
    padding-top: 3px;
    padding-left: 5px;
    height: 20px;
}

table.elected-party tbody td {
    padding-top: 12px;
    padding-left: 25px;
    font-weight: normal;
}

table.elected-party tbody {
    margin-top: 15px;
    margin-bottom: 15px;
}

h4.detailed-party {
    font-weight: bold;
    color: rgb(27, 82, 148) !important;
    font-size: 14px;
    margin: 0px !important;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

div.light {
    padding: 5px;
    background-color: rgb(225, 240, 251);
}

div.light h3 {
    margin-top: 0px;
}

.general-info-text {
    margin-left: 5%;
    margin-right: 5%;
}

.table-back {
    background-color: #EEF7FD;
}

.table-back h3 {
    margin-bottom: 20px;
    font-size: 22px !important;
    margin-left: 5% !important;
}

.table-back h3.voting-result {
    margin-bottom: 5px !important;
    font-size: 22px !important;
    margin-left: 5% !important;
}

.notice {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 5% !important;
    background-color: rgb(187, 222, 247);
    margin-left: -15px;
    margin-right: -15px;
}

.notice-text {
    margin-top: -20px;
    padding-bottom: 20px;
    padding-left: 5% !important;
}

.legend {
    color: #666666;
    text-align: right;
    margin-bottom: 8px;
}

.color {
    background: #DDDDDD;
    width: 14px;
    height: 14px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    zoom: 1;
    margin-right: 5px;
}

.explanation {
    font-size: 12px;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
}

.limit-cell {
    font-size: 13px;
    background-color: #BBDEF7;
    color: #000;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.REF {
    background-color: rgb(255,220,000) !important;
    color: #30363c;
}

.KESK {
    background-color: rgb(002, 125, 043) !important;
    color: #FFF;
}

.IRL {
    background-color: rgb(000,157,224) !important;
    color: #FFF;
}

.SDE {
    background-color: rgb(206,017,038) !important;
    color: #FFF;
}

.ROH {
    background-color: rgb(096,190,025) !important;
    color: #30363c;
}

.EÜVP {
    background-color: rgb(255,124,128) !important;
    color: #FFF;
}

.EVPPK {
    background-color: rgb(104,059,021) !important;
    color: #FFF;
}

.EIP {
    background-color: rgb(075,144,222) !important;
    color: #30363c;
}

.EVA {
    background-color: rgb(128,000,128) !important;
    color: #FFF;
}

.EKRE {
    background-color: rgb(153,102,00) !important;
    color: #30363c;
}

.RÜE {
    background-color: rgb(255,204,102) !important;
    color: #30363c;
}

@media only screen and (max-width: 1050px) {
    .container {
        width: 100% !important;
        overflow: visible !important;
    }
    .navigation-bar-corporate {
        width: 100% !important;
    }
    .navigation-bar {
        margin-left: 6px;
        width: 100% !important;
    }
    .navigation-bar li {
        margin-left: -12px;
    }
    .navigation-bar li.first {
        margin-left: -12px;
    }
    .footer {
        width: 100% !important;
    }
}

ul.detailed-nav {
    background-color: #1B5294;
    height: 35px;
    border-radius: 0 !important;
}

ul.detailed-nav li {
    height: 30px;
    border-radius: 0 !important;
}

ul.detailed-nav li a {
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 6px !important;
    color: #FFF;
    height: 30px;
    font-weight: 700;
    font-size: 12px;
    border: none;
    border-radius: 0 !important;
}

ul.detailed-nav li:hover a {
    color: #1B5294; !important;
    background-color: #FFF;
}

ul.detailed-nav li.active a {
    color: #1B5294; !important;
}

ul.detailed-nav li.active:hover a {
    color: #1B5294; !important;
}

