
body {
    margin-bottom: 4ex;
}

#pwcard td, #pwcard th {
    border: 1px solid #FB5F93;
    font-size: 1.2em;
    padding: .25rem !important;
}

#pwcard td:nth-of-type(3n+4), #pwcard th:nth-of-type(3n+4), #pwcard td:nth-last-child(2), #pwcard th:nth-last-child(2), #pwcard td:first-of-type, #pwcard th:first-of-type {
    border-right: 4px solid #FB5F93;
}

#pwcard td:last-of-type, #pwcard th:last-of-type {
    border-right: 1px solid #FB5F93;
}

#pwcard tbody tr:nth-of-type(3n) td, #pwcard th {
    border-bottom: 4px solid #FB5F93;
}

#pwcard tbody tr:last-of-type td {
    border-bottom: 4px solid #FB5F93;
}

#pwcard td, #pwcard th {
    text-align: center;
}

#pwcard th, #pwcard tfoot, #pwcard .mainpres {
    font-weight: bold;
    color: black;
    background: #85FFE6;
}

#pwcard .plain {
    background: #FB5F93;
}

#pwcard>tbody>tr:nth-of-type(even) {
    background: #56A5E3;
}

summary {
    cursor: pointer;
}

summary:focus {
    outline: none;
}

.logo {
    width: 100%;
    height: 100px;
}

.jumbotron {
    background: #BB56E3;
    color: white;
    font-family: Univers, Arial;
    padding: 10px;
}

h1 {
    font-size: 250%;
}

p {
    font-size: 90%;
}

img {
    max-width: 200px;
    max-height: 100px;
    float: right;
}

.btn {
    margin-top: 10px;
    background: #BB56E3;
    border: #BB56E3;
    float: right;
    color: white
}

.btn:hover {
    background: #BB56E3;
}

.printOnly {
    display: none; 
}

@media print {
    .printOnly {
        display: block;
    }
    * {
        font-family: Univers, Arial;
    }
    h1 {
        font-size: 250%;
        color: black !important;
    }
    p {
        display: none;
    }
    .btn {
        display: none;
    }
    details {
        display: none;
    }

    #pwcard td, #pwcard th {
     -webkit-print-color-adjust:exact;
    border: 1px solid #FB5F93 !important;
    font-size: 1.2em !important;
    padding: .25rem !important;
    }

    #pwcard td:nth-of-type(3n+4), #pwcard th:nth-of-type(3n+4), #pwcard td:nth-last-child(2), #pwcard th:nth-last-child(2), #pwcard td:first-of-type, #pwcard th:first-of-type {
        border-right: 4px solid #FB5F93 !important;
        -webkit-print-color-adjust:exact;
    }

    #pwcard td:last-of-type, #pwcard th:last-of-type {
        border-right: 1px solid #FB5F93 !important;
         -webkit-print-color-adjust:exact;
    }

    #pwcard tbody tr:nth-of-type(3n) td, #pwcard th {
        border-bottom: 4px solid #FB5F93 !important;
         -webkit-print-color-adjust:exact;
    }

    #pwcard tbody tr:last-of-type td {
        border-bottom: 4px solid #FB5F93 !important;
         -webkit-print-color-adjust:exact;
    }

    #pwcard td, #pwcard th {
        text-align: center !important;
         -webkit-print-color-adjust:exact;
    }

    #pwcard th, #pwcard tfoot, #pwcard .mainpres {
        font-weight: bold !important;
        color: black !important;
        background: #85FFE6 !important;
         -webkit-print-color-adjust:exact;
    }

    #pwcard .plain {
        -webkit-print-color-adjust:exact;
        background: #FB5F93 !important;
    }

    #pwcard>tbody>tr:nth-of-type(even) {
        -webkit-print-color-adjust:exact;
        background: #56A5E3 !important;
    }

    .github {
        display: none;
    }
}

.github {
    margin-top: 0.75em;
    margin-right: 2em;
}
