body {
    font: 400 15px/1.8 Lato, sans-serif;
    color: #777;
}

h3,
h4 {
    margin: 10px 0 30px 0;
    letter-spacing: 10px;
    font-size: 20px;
    color: #111;
}

.container {
    padding: 80px 120px;
}

.person {
    border: 10px solid transparent;
    margin-bottom: 25px;
    width: 80%;
    height: 80%;
    opacity: 0.7;
}

.person:hover {
    border-color: #f1f1f1;
}

.carousel-inner img {
    -webkit-filter: grayscale(90%);
    filter: grayscale(90%);
    width: 100%;
    margin: auto;
}

.carousel-caption h3 {
    color: #fff !important;
}

@media (max-width: 600px) {
    .carousel-caption {
        display: none;
    }
}

.bg-1 {
    background: #bc472a;
    color: #bdbdbd;
}

.bg-1 h3 {
    color: #fff;
}

.bg-1 p {
    font-style: italic;
}

.list-group-item:first-child {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}

.thumbnail p {
    margin-top: 15px;
    color: #555;
}

.btn {
    padding: 10px 20px;
    background-color: #333;
    color: #f1f1f1;
    border-radius: 0;
    transition: .2s;
}

.btn:hover,
.btn:focus {
    border: 1px solid #333;
    background-color: #fff;
    color: #000;
}

.modal-header,
h4,
.close {
    background-color: #333;
    color: #fff !important;
    text-align: center;
    font-size: 30px;
}

.modal-header,
.modal-body {
    padding: 40px 50px;
}

.nav-tabs li a {
    color: #777;
}

#google_translate_element {
    margin-bottom: 20px;
}

.term-row {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.term-row:hover {
    background-color: #f9f9f9;
}

.term-row:last-child {
    border-bottom: none;
}

.term-dutch {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.term-translations {
    display: flex;
    justify-content: space-between;
}

.term-english,
.term-chinese {
    flex: 1;
}

.term-english {
    padding-right: 15px;
}

.term-chinese {
    padding-left: 15px;
    border-left: 1px solid #eee;
}

.speaker-icon {
    color: #bc472a;
    margin-left: 10px;
    cursor: pointer;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

footer {
    background-color: #bc472a;
    color: #f5f5f5;
    padding: 32px;
}

footer a {
    color: #f5f5f5;
}

footer a:hover {
    color: #777;
    text-decoration: none;
}

.form-control {
    border-radius: 0;
}

textarea {
    resize: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none;
}

.cookie-banner button {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .term-translations {
        flex-direction: column;
    }

    .term-english,
    .term-chinese {
        padding: 5px 0;
        border-left: none;
    }
}


/* Modal background */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* Modal window */
.modal-content {
    background: white;
    width: 90%;
    height: 90%;
    margin: 3% auto;
    padding: 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
}

/* Iframe for subsite */
#popupFrame {
    width: 100%;
    height: 100%;
    border: none;
}

.navbar {
    padding-top: 15px;
    padding-bottom: 10px;
}

.navbar-default .navbar-nav>li>a {
    font-weight: bold;
}

.navbar-default .navbar-brand {
    font-weight: bold;
}