/* .icons-on .contenttype-election::before {
    font-family: fontawesome;
    content: "\f0cb";
    padding-right: 0.5em;
} */
.text-center { text-align: center; }
.election .information {
    margin: 20px 0;
}
.election-grants .not-granted {
    color: #B4B4B4;
}
.election-grants .election-name {
    font-weight: bold;
}
.candidates .candidate {
    margin-bottom: 1em;
}
.candidates .candidate .img-wrap {
    width: 157px;
    height: 157px;
    margin: 0; padding: 0;
    float: left;
    margin-right: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(250, 250, 250);
}
.candidates .candidate img {
    height: unset;
    width: unset;
    max-width: 100%;
    max-height: 100%;
}
/* Copying a bunch of bootstrap CSS here as i cannot figure out
   fast enough how to make z3cform render bootstrap thingies. */ 
form#election-candidacy fieldset {
    margin-bottom: 1.5em;
}
form#election-candidacy #fieldsetlegend-default, form#election-candidacy #fieldsetlegend-checkboxes {
    display: none;
}
form#election-candidacy legend {
    color: #1E64C8;
    font-family: "PannoTextMedium", Arial, sans-serif;
    font-weight: 500;
    text-transform: none;
    font-size: 20px;
    line-height: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 0;
    margin-bottom: 10px;
    padding-top: 30px;
}
form#election-candidacy .text-field {
    height: 105px;
}
form#election-candidacy .textline-field, form#election-candidacy .uri-field {
    height: 40px;
}
form#election-candidacy .textline-field, form#election-candidacy .uri-field, form#election-candidacy .text-field {
    font-size: 17px;
    border-radius: 0;
    display: block;
    width: 100%;
    padding: 6px 12px;
    line-height: 1.23529412;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
}
form#election-candidacy #form-buttons-submit {
    display: inline-block;
    padding: 13px 15px 12px;
    color: #fff;
    background-color: #1E64C8;
    font-size: 17px;
    line-height: 15px;
    font-family: "PannoTextMedium",Arial,sans-serif;
    border: 0;
    max-width: calc(100vw - 30px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .15s ease-in-out,background-color .15s ease-in-out;
    border-radius: 0;
}

#content-core.election div + h2 {
    border-top: 1px solid #ccc;
    margin-top: 60px;
    padding-top: 30px;
}

.candidate .alt-lang {
	font-size: .8em;
	color: #1E64C8;
	margin-bottom: .5em;
}

body.portaltype-candidate #navbar ul.nav-primary, body.portaltype-candidate ol#breadcrumbs {
    display: none;
}

/* Was shown twice */
body.template-candidate-form #content-core .portalMessage {
    display: none;
}
