*,
*::before,
*::after {
    box-sizing: border-box;
}

body, html {
    height: calc(100% - 2em);
    font-family: 'Roboto', sans-serif;
    font-size: 17px; !important;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

/*MOBILE DESIGN*/
/*nav menu - top of the page*/
.topnav {
    background-color: #004494;
    font-weight: lighter;
    display: inline-block;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 100;
    position: fixed;
    left: 0;
}
.left {
    display: inline-block;
    padding: 15px 15px 15px 20px;
    margin: 0;
    justify-content: center;
    vertical-align: middle;
}
.left ul {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.name {
    margin: 0;
    padding: 0;
}
.hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
}
.hamburgerimg{
    width: 50px;
}
.topnav a{
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1em;
}
.townname {
    padding: 10px 0 0 0;
}
.topmenu {
    position: absolute;
    right: 15px;
    top: 0;
    padding-right: 0;
}

/*links for navbar - notebook version*/
#myLinks {
    display: none;
}
.my_links{
    background: #FFFFFF;
    margin: 0;
    width: 100%;
    top: 100px;
    display: block;
}
.my_links a:hover{
    background-color: #efefef;
    width: 100%;
    left: 0;
}
.my_links a{
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 20px 0;
    color: #004494;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    display: block;
    border-bottom: 1px solid #efefef;
}

/*title of page*/
.heading {
    background: #f7f6f6;
    padding: 100px 0 10px 0;
    position: relative;
    width: 100%;
    display: inline-block;
}
.heading h1 {
    font-size: 2em;
    padding: 0 0 0 30px;
}
.title,
.main_title{
    display: inline-block;
    color: #004494;
}
.subtitle {
    display: inline-block;
    font-size: 0.65em;
    color: #c0c3c9;
}

/*main card design*/
.main_card {
    display: block;
    width: 100%;
    padding: 2rem 1rem 0 1rem;
}
.card_line {
    display: block;
    width: 100%;
    border-radius: 3px;
    border: 0.1em solid #d6dae5;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    flex-direction: column;
    overflow: hidden;
    height: auto;
}
.column_image {
    display: inline-block;
    margin: 0 0 0 0;
    padding: 0;
    float: left;
    position: relative;
}
.column {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}
.number_id {
    padding: 8px 18px;
    font-weight: bold;
    font-size: 1.5em;
    background: #FFFFFF;
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 20px;
    color: #004494;
}
.column_image img {
    width: 100%;
    margin: 0;
    padding: 0;
}
.prof {
    margin: 0;
    padding: 5px 0 0 0;
}
.politic_text {
    color: #5B5B5B;
    font-weight: bolder;
    line-height: 1.5;
}
.politic_head {
    color: #5B5B5B;
    font-weight: normal;
    line-height: 1.5;
}
.size {
    font-size: 14px;
}
h2 {
    margin-bottom: 0;
    padding-bottom: 0;
}
.button_info {
    display: inline-block;
    margin: 10px 0 0 0;
    border: 1px solid #004494;
    border-radius: 3px;
    color: #004494;
    text-decoration: none;
    cursor: pointer;
    padding: 5px 12px;
}
.button_info:hover {
    background: rgb(0,68,148,0.1);
}
.title:hover {
    color: rgb(0, 68, 148, 0.7);
}

/*cards design*/
.box{
    max-width: 900px;
    margin: auto;
    display: block;
    justify-content: center;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0 0 100px 0;
}
.strike_item {
    display: flex;
    padding: 1rem 1rem;
    width: 100%;
}
.strike {
    background-color: white;
    border-radius: 3px;
    border: 0.1em solid #d6dae5;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: auto;
}
.link {
    text-decoration: none;
    color: black;
}
.strike_box{
    max-width: 900px;
    margin: auto;
    display: block;
    justify-content: center;
}
.strike_text {
    padding: 0 20px 20px 20px;
    color: #5B5B5B;
    font-weight: lighter;
    font-size: 0.9em;
    margin-left: 3%;
    margin-right: 3%;
    text-align: justify;
}
.strike_head {
    display: inline-flex;
    padding: 20px;
}
.strike_id {
    display: inline-flex;
    font-size: 1.5em;
    font-weight: bold;
    color: #004494;
}
.strike_name {
    margin-left: 20px;
    display: inline-flex;
    font-size: 1.5em;
    font-weight: bold;
    color: #004494;
}


/*person page design*/
.container {
    background: #f7f6f6;
    position: relative;
    padding: 110px 0 20px 0;
    width: 100%;
    display: block;
}
.person_info {
    width: 100%;
    display: flex;
}
.person_i2 {
    display: block;
    vertical-align: middle;
    margin-left: 20px;
    margin-top: 0;
}
.person_i2 h2{
    font-size: 1.4em;
}
.person_i1 {
    display: inline-block;
    padding: 0;
    float: left;
    width: 150px;
    margin-left: 5%;
}
.person_i1 img {
    width: 150px;
    border-radius: 50%;
    height: 150px;
    object-fit: cover;
    margin: 0;
    padding: 0;
}
.info {
    margin-top: 20px;
    margin-left: 5%;
}
.info div {
    width: 100%;
    color: #5B5B5B;
    font-size: 0.8em;
    padding: 0 0 2px 0;
    border-bottom: 1px solid #DDDDDd;
}
.info ul {
    padding-top: 5px;
    list-style-type: none;
    margin: auto;
    width: 100%;
}
.info li {
    padding: 5px 10px 0 0;
}
.info p {
    text-align: justify;
    padding: 5px 20px 0 0;
    width: 100%;
    max-width: 700px;
}
.info li:before {
    content: "–";
    position: absolute;
    margin-left: -1em;
    margin-top: 1px;
}
.show_politic {
    display: none;
}

/*kontakt page*/
.contact {
    padding: 20px;
    display: inline-flex;
}
.contact_name {
    font-size: 1.2em;
    color: #004494;
    font-weight: bold;
}
.contact_info {
    font-size: 0.9em;
    font-weight: lighter;
    color: #5B5B5B;
}

@media only screen and (min-width: 700px) and (max-width: 1080px) {
    #myLinks {
        display: none;
    }
    .my_links{
        position: absolute;
        width: 40%;
        top: 0;
        right: 0;
        margin: 75px 0 0 0;
        padding: 0;
    }
    .my_links a {
        border-bottom: 1px solid #efefef;
        letter-spacing: 1px;
        font-size: 1em;
    }
    .cards_item {
        padding: 2rem 1rem;
    }
    .box{
        display: block;
    }
    .person_age {
        display: block;
        position: absolute;
        left: 10px;
    }
    .show_politic {
        display: block;
    }
    .main_card {
        display: block;
        width: 100%;
    }
    .column_image {
        margin: 0 0 0 0;
        padding: 0;
        float: left;
        width: 300px;
        height: 225px;
    }
    .title:hover {
        color: #004494;
        cursor: default;
    }
    .column {
        margin-top: 40px;
    }
    .card_title {
        margin-top: -2em;
        font-size: 1em;
        width: 75%;
    }
    .strike_box{
        padding-top: 20px;
    }
    .other {
        width: 50%;
    }
}

@media only screen and (min-width: 1080px) {
    .hamburger {
        display: none;
    }
    #myLinks {
        display: inline-block;
    }
    .topnav{
        display: inline-block;
    }
    .my_links {
        position: absolute;
        right: 20px;
        top: 25px;
        padding: 0 10px 0 0;
        margin: 0;
        width: auto;
        background: none;
    }
    .my_links a {
        right: 0;
        margin: 0;
        top: 0;
        display: inline;
        font-size: 0.8em;
        padding: 31px 20px;
        color: #FFFFFF;
        letter-spacing: 1px;
    }
    .my_links a:hover {
        background: #f7f6f6;
        color: #004494;
    }
    .cards_item {
        padding: 2rem 1rem;
    }
    .person_age {
        display: block;
        position: absolute;
        left: 10px;
    }
    .show_politic {
        display: block;
    }
    .main_card {
        display: block;
        width: 100%;
    }
    .column_image {
        margin: 0 0 0 0;
        padding: 0;
        float: left;
        width: 300px;
        height: 225px;
    }
    .button_info {
        display: inline-block;
        margin: 10px 0 0 0;
    }
    .title:hover {
        color: #004494;
        cursor: default;
    }
    .column {
        margin-top: 40px;
    }
    .card_title {
        margin-top: -2em;
        font-size: 1em;
        width: 75%;
    }
    .box{
        display: block;
    }
    .strike_box{
        max-width: 1200px;
        padding-top: 40px;
    }
    .other {
        width: 33.33%;
    }
}