* {
    box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
    /* max-width: 1000px; */
    /* position: relative; */
    /* margin: auto; */
    height: 300px;
    /* z-index: -50; */
    /* padding: 200px 0 0 50px; */
}

.slideshow-container .hottopic {
    font-size: 25px;
    margin: 20% 0 0 5%;
}

.hottopic a {
    text-decoration: none;
}


/* Hide the images by default */
.mySlides {
    /* display: none; */
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    /* position: absolute; */
    /* top: 35%; */
    /* top: 50%; */
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: purple;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    /* right: 0; */
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.315);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    /* position: absolute; */
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    /* position: absolute; */
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 5px 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    /* animation-duration: 1.5s; */
}

.pn_nav {
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    margin: -160px 0 110px 0;
}

.news,
.news2 {
    max-width: 1000px;
    margin: auto;
    padding: 100px 0 50px 0;
}

.news2 {
    display: flex;
}

.blog {
    display: flex;
}

.blog_container {
    width: 75%;
    padding-left: 20px;
    height: max-content;
}

.blog_container article {
    margin-top: 20px;
    display: flex;
    height: 25%;
    /* border: 1px solid purple; */
}

.blog_container article img {
    width: 20%;
    height: 150px;
    object-fit: cover;
}

.blog_container article div {
    padding: 10px;
}

.ads_container {
    margin-top: 20px;
    width: 25%;
    /* based on actual value in viewport settings */
    /* height: 150px; */
    text-align: center;
}

.fp_ads {
    outline: 1px solid orangered;
    width: 100%;
}

.pagination {
    margin-top: 50px;
    max-width: max-content;
    margin-left: auto;
    margin-right: auto;
}

/* Pagination links */
.pagination a {
    color: black;
    border: 1px solid purple;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color .3s;
}

/* Style the active/current link */
.pagination .current {
    background-color: purple;
    color: white;
    padding: 8px 9px 8px 12px;
    border-radius: 5px;
    margin-right: 3px;
}

.pagination .current2 {
    margin-right: 0;
    padding-right: 12px;
}

/* Add a grey background color on mouse-over */
.pagination a:hover:not(.active) {
    background-color: #ddd;
    border-radius: 5px;
}

/* @keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
} */

@media (max-width: 1000px) {
    .slideshow-container {
        margin-top: -40px;
    }

    .ads_container {
        margin-bottom: 150px;
    }

    .fp_ads {
        width: 60%;
    }
}

@media (max-width: 700px) {
    .blog {
        flex-direction: column-reverse;
    }

    .blog_container {
        width: 100%;
        padding-right: 20px;
    }

    .blog_container article {
        flex-direction: column;
    }

    .blog_container article img {
        width: 100%;
    }

    .ads_container {
        width: 100%;
        /* based on actual value in viewport settings */
        height: 150px;
        text-align: center;
    }

    /* .fp_ads {
        outline: 1px solid blue;
        width: 80%;
        margin-bottom: 0px;
    } */

    .news2 {
        flex-direction: column;
    }
}