main {
    display: block;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin: 1rem auto;
}

h2 {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--white-background-color);
    background-color: var(--primary-color-light);
    display: inline-block;
    padding: 0.5rem 0.75rem;
}

h3 {
    font-size: 1.375rem;
    margin: 0.5rem auto;
}

h4 {
    font-weight: bold;
    font-size: 1.5rem;
    padding-bottom: 0;
    color: var(--primary-color-dark);
}

h5 {
    color: var(--primary-color-dark);
    font-style: italic;
}

li {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

strong {
    color: var(--primary-color-dark);
}

.row > .col > p {
    margin-bottom: 0;
}

.iconimage {
    width: 15px;
    height: 15px;
}

main.container {
    max-width: 960px;
}

#toprow {
    margin-top: 5rem;
}

.introtext {
    text-align: justify;
}

.reviewphoto {
    width: 100%;
    height: auto;
    max-height: 600px;
    margin: 1.5rem auto;
    box-sizing: border-box;
    overflow: hidden;
    object-fit: contain;
}

.reviewphotomain {
    width: 100%;
    padding: 0.25rem;
    height: auto;
    max-height: 300px;
    margin: auto;
    box-sizing: border-box;
    overflow: hidden;
    object-fit: contain;
}

.photo-square {
    height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 1rem auto;
    text-align: center;
    overflow: hidden;
}

.planrow {
    border-bottom: 1px dotted var(--primary-color-light);
    padding-top: 0.75rem;
}

/* Table shenanigans */
table {
    padding: 0;
    margin-bottom: 0 !important;
}

.table-hover {
    margin: 0.5rem auto !important;
}

.review-top-th, .review-top-td {
    border: 1px dotted rgba(0, 123, 181, 0.25) !important;
    min-width: 100px;
}

td, th {
    border: 1px solid rgba(23, 66, 106, 0.5) !important;
}

.reviewtable {
    border: 1px solid rgba(23, 66, 106, 0.75) !important;
    text-align: center;
}

/* used in bunq-nl, Wise, Curve */
#quick-summary {
    margin: auto;
    background-color: rgba(85, 172, 238, 0.15);
    padding: 1rem;
    border-radius: 0.25rem;
}

/* for invest reviews */
.review-quick-facts {
    background-color: rgba(85, 172, 238, 0.15);
    padding: 0.75rem;
    border-radius: 0.25rem;
}

.review-quick-facts-th, .review-quick-facts-td {
    border: 1px dotted rgba(0, 123, 181, 0.25) !important;
}

.review-quick-facts-td {
    text-align: center;
}

.review-quick-facts-header {
    color: var(--primary-color-dark);
    font-weight: bold;
    text-align: center;
}

.tablesubheading {
    color: var(--primary-color-dark);
    font-weight: 800;
    background-color: rgba(23, 66, 106, 0.25);
    border: 1px solid rgba(23, 66, 106, 0.75) !important;
    text-align: start;
}

.reviewtableheading {
    background-color: rgba(23, 66, 106, 0.5);
    border: 1px solid rgba(23, 66, 106, 0.75) !important;
}

/* Font sizes - mobile/desktop */
@media screen and (max-width: 760px) {
    /* mobile */
    .social-icon-share-bank {
        width: 48px;
        height: 48px;
        padding: 8px;
        box-sizing: border-box;
        margin: 0 0.25rem;
    }
}

@media screen and (min-width: 761px) {
    /* desktop */
    .social-icon-share-bank {
        width: 32px;
        height: 32px;
        box-sizing: border-box;
        margin: 0 0.5rem;
    }
}

.social-icon-share-bank:hover {
    transform: scale(1.1);
}

.uniquefeature {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
}