/* Visit Page */

#navbar-tagfilter {
    background: rgba(30, 30, 30, 0.80);
    margin-top: 3em;
    white-space: nowrap;
    overflow-x: auto;
}

#navbar-tagfilter a {
    padding: 15px;
    display: inline-block;
}

#navbar-tagfilter span {
    padding: 15px;
}

.cardindex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.visitcard {
    width: 41%;
    height: 430px;
    /* border: white 1px solid; */
    padding: 30px;
}

.visitcard p {
    font-size: 0.9em;
    min-height: 100px;
}

h3.visittitle {
    margin-top: 0.7em;
    margin-bottom: 0.3em;
    font-size: 1.7em;
    text-align: center;
}

.begintext {
    font-family: 'Raleway';
    font-style: normal;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;
}

.endtext {
    font-family: 'Raleway';
    font-style: normal;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}
.endtext:before {
    content: ""; /* This is necessary for the pseudo element to work. */ 
    display: block; /* This will put the pseudo element on its own line. */
    margin: 0 auto; /* This will center the border. */
    width: 60%; /* Change this to whatever width you want. */
    padding-top: 5px; /* This creates some space between the element and the border. */
    border-top: 1px dashed white; /* This creates the border. Replace black with whatever color you want. */
}

@media screen and (max-width:640px) {
    .visitcard {
        margin: 0;
        width:100%;
        padding: 10px;
        padding-top: 20px;
        padding-bottom: 50px;
    }
}