body {
    padding-top: 54px;
    font-family: 'Noto Sans', sans-serif;
    font-display: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 992px) {
    body {
        padding-top: 56px;
    }
}

a img {
     object-fit: cover; /* Do not scale the image */
     object-position: top center; /* Center the image within the element */
     height: 200px;
     width: 100%;
     /*padding: 2px;*/
    margin-bottom: 15px;

}

.stickyMobileAdWrapper {
    height: 600px;
    background: #ebecec;
}

.stickyMobileAd {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 100px;
}

.nav-link{
    opacity: 0.8!important;
}

.h1, h1 {
    font-size: 2rem;
}

.form-control {
    text-align: center!important;
}

.nav-link:hover {
    opacity: 1!important;
}

.scrollDown {
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.57);*/
    position: fixed;
    bottom: 25px;
    left: 25px;
    /*width: 100%;*/
    padding: 15px;
    border-radius: .25rem;
    box-sizing: border-box;
    background:#199648!important;
    background: rgba(0, 0, 0, 0.65) !important;
    color: white;
    text-align: center;
    font-size: 1rem;
    z-index: 99999;
}


a, a:visited {
    text-decoration: none!important;
    color: black;
}

.intro {
    /*font-weight: bold;*/
    font-size: 1.25rem;
    color: white;
}

.navbar{
    box-shadow: 0 0 10px #00000042;
}

.btn-success {
    background-color: #199648!important;
    border-color: #199648!important;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
    animation: pulse 2s 3;
    transition: 0.2s all;
}

.btn-success:hover {
    background-color: #1ca850 !important;
    border-color: #1ca850!important;
}

.copy-link {
    background: #00000063;
    cursor: pointer;
    width: 100%;
    border: none!important;
    border-radius: .3rem;
    padding: 10px;
    box-sizing: border-box;
    font-size: 0.7rem;
    color: white!important;
}

.img_title {
    position: absolute;
    bottom: 20px;
    /* background: #0000008f; */
    left: 20px;
    color: white;
    border-radius: .25rem!important;
    margin: 5px 5px;
    /* border: 1px solid #dadada; */
    transition: all 0.1s;
    /*text-shadow: 0 0 3px #000000b5;*/
    background-color: rgba(0,0,0,.6 );
    padding: 4px;
    font-size: 0.8rem;
    border-radius: .25rem!important;
    color: white!important;
    text-align: left;
    max-width: 100%;
    opacity: 0;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tags {
    /*border: 2px dashed #ddd;*/
    /*color: #777;*/
    /*font-weight: bold;*/
    /*padding: 8px 8px;*/
    /*text-decoration: none;*/
    /*font-size: 100%;*/
    /*white-space: nowrap;*/
    /*border-radius: 8px;*/


    margin: 5px 5px;
    border: 1px solid #dadada;
    display: inline-block;
    transition: all 0.3s;
    color: #5b5e60!important;
    /* background: #0000008f; */
    left: 25px;
    padding: 4px;
    font-size: 0.7rem;
    border-radius: .25rem!important;
}

.tags:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* single_item */

.overlay{
    /*z-index: -1;*/
    /*background-image: linear-gradient(to right bottom, rgba(27, 208, 215, 0.9), rgba(187, 71, 184, 0.95));*/
    /*position: fixed;*/
    /*height: 100%;*/
    /*width: 100%;*/
}

.img-related {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAEoCAMAAABB+FfmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAwBQTFRFv7+/////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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Af/4B/8I81oGdKWIelNXreN9e8jpY2U9Y1smx8hCOEjfISP8JG0xcqQlgxpaxfr50FGCxnp27a+wdfzIwQh/IN/8A/+kWa0DGnLkPQmr9vG+veR0kbK+ka2zY8QhPARPsJH+EjaYmVIS4a0tYv18yCjhYz0bVvf4Ov5EYIQ/sE/+Af/SDNahrRlSHqT121j/ftIaSNlfSPb5kcIQvgIH+EjfCRtsTKkJUPa2sX6eZDRQkb6tq1v8PX8CEEI/+Af/IN/pBktQ9oyJL3J67ax/n2ktJGyvpFt8yMEIXyEj/ARPpK2WBlSkiGfPbDnQSAK+j0AAAAASUVORK5CYII=);
}

a:hover > .img_title{
    opacity: 1;
    /*background-color: #199648;*/
    text-shadow: none;
}

.img-fluid{
    /*box-shadow: 0 0 150px rgba(0, 0, 0, 0.36);*/
}

.page-link {
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.24);
    border: none;
}

.page-link:hover {
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.5);
    border: none;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.page-link a {
    padding: 8px 13px;
}

.active .page-link {
    padding: 8px 13px;
}

.searchContainer{
    position: relative;
    height: 100%;
    width: 100%;
    min-width: 100%;
    min-height: 350px;
    /*background-image: linear-gradient(to right bottom, rgba(27, 208, 215, 0.8), rgba(187, 71, 184, 0.7));*/
    /*background: rgba(0, 0, 0, 0.71);*/
    /*background-image: linear-gradient(to right bottom, rgba(27, 208, 215, 0.8), rgba(0, 0, 0, 0.7));*/
    padding: 0;
    background: rgba(41, 41, 41, 0.6);
    overflow: hidden;
}

.searchForm{
    padding-top: 78px;
}





/* Masonry Grid
Box-sizing reset: http://w3bits.com/?p=3225 */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* The Masonry Container */
.css-masonry-container {
    max-width: 768px;
    column-gap: 8px;
}

/* The Masonry Brick */
.css-masonry-item {
    margin: 0 0 8px;
}

/* Masonry bricks or child elements */
.css-masonry-img {
    border: 2px solid rgb(219, 219, 219);
    border-radius: 2px;
}

/* Masonry on large screens */
@media only screen and (min-width: 1024px) {
    .css-masonry-container {
        column-count: 2;
    }
}

/* Masonry on medium-sized screens */
@media only screen and (max-width: 1023px) and (min-width: 768px) {
    .css-masonry-container {
        column-count: 1;
    }


}

/* Small size */
@media only screen and (max-width: 1020px){

    #wikipedia-wrapper p {
        font-size: 20px;
        line-height: 29px;
    }

   .img_title {
       font-size: 1rem!important;
       display: none;
   }

    .btn {
        margin-bottom: 25px;
    }

    .copy-link {
        font-size: 1rem!important;
        margin-top: 10px;
    }

    .col-sm-6
    {
        margin-bottom: 20px!important;
    }

    /*.content-container {*/
        /*overflow: hidden;*/
    /*}*/

    .scrollDown {
        /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.57);*/
        position: fixed;
        bottom: 60px;
        left: 10px;
        /*width: 100%;*/
        padding: 15px;
        border-radius: .25rem;
        box-sizing: border-box;
        background:#199648!important;
        background: rgba(0, 0, 0, 0.65) !important;
        color: white;
        text-align: center;
        font-size: 0.8rem;
        z-index: 99999;
    }

    .h1, h1 {
        font-size: 1.5rem;
        line-height: 2.2rem;
        word-break: break-word;
        margin-bottom: 20px;
    }

    #TopBanner {
        margin-top: 35px!important;
    }

    .nav-item {
        margin-bottom: 25px;
    }

    .form-control{
        margin-bottom: 20px;
    }

    .tags{
        font-size: 1rem;
        margin: 0.7rem;
        background: #169648;
        border-radius: .25rem!important;
        padding: 7px;
        color: white!important;
        border: none!important;
        word-break: break-all;
    }


    .img-fluid {
        margin-bottom: 30px;
    }


}

.nav-item {
    font-size: 15px;
}


/* -------- Infinite Scroll: preloader ------- */
.page-load-status {
    display: none;
    padding-top: 20px;
    text-align: center;
    color: #777;
}

/* loader ellips in separate pen CSS */
.loader-ellips {
    font-size: 20px; /* change size here */
    position: relative;
    width: 4em;
    height: 1em;
    margin: 10px auto;
}

.loader-ellips__dot {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    background: #555; /* change color here */
    position: absolute;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
    left: 0;
}

.loader-ellips__dot:nth-child(3) {
    left: 1.5em;
}

.loader-ellips__dot:nth-child(4) {
    left: 3em;
}

@keyframes reveal {
    from {
        transform: scale(0.001);
    }
    to {
        transform: scale(1);
    }
}

@keyframes slide {
    to {
        transform: translateX(1.5em)
    }
}

.loader-ellips__dot:nth-child(1) {
    animation-name: reveal;
}

.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
    animation-name: slide;
}

.loader-ellips__dot:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}
@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        box-shadow: 0 0 0 10px rgba(204,169,44, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        box-shadow: 0 0 0 0 rgba(204,169,44, 0);
    }
}