.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-around {
    justify-content: space-around;
}

.grid-container {
    display: grid;
    justify-content: space-evenly;
    grid-template-columns: 300px 300px 300px; /*Make the grid smaller than the container*/
}

/* sponsors */
.page-sponsors .ent_video_pag {
    width: 170px;
}

/* news */
.page-news .reduced-content {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}
.page-news .post-image a {
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
}

/* photos */
.page-photos .portfolio-item .portfolio-item-link {
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
}
/* martial-arts */
.page-martial-arts .portfolio-item-link {
    padding-bottom: 75%;
    background-size: cover;
    background-position: center;
}

.home .reduced-content {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
}

.format-content {
    width: 100%;
    overflow-wrap: break-word;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
}

.article-content {
    white-space-collapse: preserve-breaks;
}

.comment-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    padding-top: 60px;
}
.comment-modal-content {
    background-color: #fefefe;
    margin: 15% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
    height: 300px;
}
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}
.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s;
}
@-webkit-keyframes animatezoom {
    from {
        -webkit-transform: scale(0);
    }
    to {
        -webkit-transform: scale(1);
    }
}

@keyframes animatezoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
}
.comment-modal .comment-modal-content .comment-modal-title {
    font-weight: 500;
    font-size: 2rem;
    color: #181c32;
    margin-bottom: 0;
    margin-left: 20px;
    line-height: 1.2;
}
.comment-textarea {
    width: 95%;
    margin: 0 2.5%;
}
.btn-container .btn {
    float: right;
}
.pre-wrap {
    white-space: pre-wrap;
}
.latest-posts .post-item-link {
    padding-bottom: 72%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.recentworks .portfolio-item-link {
    padding-bottom: 65%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
