body {
    font-family: 'Roboto Condensed',sans-serif;
    background-image: url(/images/bg.png) !important;
    background-position: center top !important;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    background-size: 100%;
    padding-top: 7%;
    font-size: 16px;
    margin: 0;
}

.dialog h2 {
    font-size: 1.5em;
    font-weight: bold;
}

.dialog h1 {
    font-size: 2em;
    font-weight: bold;
}

.container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.lab-box {
    width: 100%;
    position: relative;
    box-shadow: 1px 6px 10px 0px rgb(136 136 136 / 24%);
    margin-bottom: 2rem;
}

.lec-box {
    display: flex;
    width: 100%;
    position: relative;
    box-shadow: 1px 6px 10px 0px rgb(136 136 136 / 24%);
    margin-bottom: 2rem;
}

.list-item a
{
    text-decoration:none;
    color:#000;
    font-weight:bold;
}

.lab-tag {
    position: absolute;
    background: #fff;
    z-index: 100;
    padding: 5px 15px;
    margin-top: -5px;
    margin-left: 15px;
    font-size: 30px;
    background: #2388e0;
    color: #fff;
    font-weight: bold;
}

.ratio4-3 {
    width: 100%;
    position: relative;
    padding-top: 60%;
}

    .ratio4-3 a {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin-top: 0;
        overflow: hidden;
    }

        .ratio4-3 a img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.lab-caption {
    padding: 20px 15px;
    text-align: left;
    font-weight: bold !important;
    font-size: 18px;
}

    .lab-caption h5 {
        color: #d8593a;
        font-weight: bold !important;
        font-size: 1.2rem;
    }

    .lab-caption h4 {
        font-size: 1.4rem;
    }

        .lab-caption h4 a {
            color: #3a6db5;
            font-weight: bold;
            text-decoration: none;
        }

.ratio4-3 a:hover {
    opacity: 0.7;
    transition: opacity 1s;
}

.img-footer img
{
    width:100%;
    height:auto;
}

.list-item
{
    text-align:left;
}

@media only screen and (max-width: 768px) {
    .dialog {
        min-width: 90%;
    }

        .dialog h1, .dialog h2, .dialog h3 {
            font-size: 3vw;
        }
}

@media only screen and (max-width: 600px) {
    .tablinks {
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .dialog h1, .dialog h2, .dialog h3, h1, h2, h3 {
        font-size: 5vw;
    }
}
