/*Hover style for card*/
.card-image {
  position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background: rgba(0, 0, 0, 0.5);
  }

.card:hover .image-overlay {
    opacity: 1;
  }

/* Card images the same height*/
.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
    padding: 10px;
}

.card-text {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
}

figure {
    display: table;
    width: 100%;
    alignment: center;
    padding: 4px;
    margin: auto;
}

figcaption {
    display: table-caption;
    width: 100%;
    color: black;
    font-style: italic;
    padding: 2px;
    text-align: center;
}

body {
    background-repeat: no-repeat;
    background-size: cover;
}

p {
    width: 500px;
}

pre {
    text-align: left;
    white-space: pre-line;
}

/*Transparent box for text in cards*/
.text-box-card {
     background: rgb(211,211,211,0.55)
}

.text-box {
    width: 600px;
    padding: 50px;
}

.row {
  display: flex;
}

/* Create two equal columns that sits next to each other */
.column {
  flex: 50%;
  padding: 10px;
}


.list-fixed-width {
    width: 500px;
}

/* Table style*/
.styled-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
    background-color: #0dcaf0;
    color: black;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: thin solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:nth-of-type(odd) {
    background-color: lightgrey;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #0dcaf0;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}
