body {
    overflow-y: hidden;
  }
  /* Base loader animation */
  #ajax_loading_base {
    display: block;
  }
.desktop_news_view_page {
    padding-top: 25px;
}

.no-copy {
    user-select: none;          /* Standard */
    -webkit-user-select: none;  /* Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* Internet Explorer/Edge */
  }

@media (min-width: 576px) {
    .narrow-container {
        max-width: 540px !important;
        margin-bottom: 1.2rem !important;
    }
}

@media (min-width: 768px) {
    .narrow-container {
        max-width: 720px !important;
        margin-bottom: 1.2rem !important;
    }
}

@media (min-width: 992px) {
    .narrow-container {
        max-width: 720px !important;
        margin-bottom: 1.2rem !important;
    }
}

@media (min-width: 1200px) {
    .narrow-container {
        max-width: 720px !important;
        margin-bottom: 1.2rem !important;
    }
}

@media (min-width: 576px) { 
    .edith .pagination-md .page-link {
        padding: 0.5rem 1.25rem;
        font-size: 1.35rem;
        line-height: 1.25;
    }
    
    .edith .pagination-md .page-item:first-child .page-link {
        border-top-left-radius: 0.3rem;
        border-bottom-left-radius: 0.3rem;
    }
    
    .edith .pagination-md .page-item:last-child .page-link {
        border-top-right-radius: 0.3rem;
        border-bottom-right-radius: 0.3rem;
    }
 }
@media (max-width: 425px) {
    .edith .pagination-md .page-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .edith .pagination-md .page-item:first-child .page-link {
        border-top-left-radius: 0.2rem;
        border-bottom-left-radius: 0.2rem;
    }
    
    .edith .pagination-md .page-item:last-child .page-link {
        border-top-right-radius: 0.2rem;
        border-bottom-right-radius: 0.2rem;
    }
}

.card .card-body h5.card-title.nunito,
.card-footer .date-text {
    cursor: default;
}

.edith .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #e3e6f0;
    border-radius: 1.25rem;
}

.edith .card-img-top {
    width: 100%;
    border-top-left-radius: calc(1.25rem - 1px) !important;
    border-top-right-radius: calc(1.25rem - 1px) !important;
    object-fit: contain;
}

.edith .card-footer {
    padding: 0.75rem 1.25rem;
    background-color:white !important;
    border-top: none !important;
}

.edith .card-footer:last-child {
    border-radius: 0 0 calc(1.25rem - 1px) calc(1.25rem - 1px) !important;
}

.edith .card-header:first-child {
    border-radius: calc(1.25rem - 1px) calc(1.25rem - 1px) 0 0 !important;
}

.edith .card-footer .fa-calendar-week {
    font-size: 1.2em !important;
    color: #a7a7a7 !important;
}

.page-link:hover {
    cursor: pointer !important;
}
li.page-item.active .page-link:hover {
    color: white !important;
}

.news-img {
    max-height: 20em !important;
}

.card-body p {
    --lh: 1.8rem;
    line-height: var(--lh);
    transition:max-height 1s ease-in-out;
    max-height: 3000px;
}

.faded-active {
    background-color: #8eb7de !important;
}

.date-text {
    font-size: 11px;
}

.btn-outline-grey-faded {
    border-color: lightgray !important; 
    color: #4e4e4e !important;
}

.btn-outline-grey-faded:focus {
    box-shadow: none !important;
}

.btn-outline-grey-faded:active {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.text-grey-faded {
    color: #4e4e4e !important;
}

.line-clamp{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(var(--lh) * 2) !important;
}

.line-clamp2 {
    max-height:60px !important;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* ANIMATIONS FOR NEWS CARDS */
/* ========================= */

/*
  Using CSS transitions for the enter and move events
  are triggered for the element that has the `ca-repeated-elem` class.
  currently set to 0s for desktop. May change later.
*/
.nc-repeated-elem.ng-enter, .nc-repeated-elem.ng-move {
    -webkit-animation:0.0s my_animation_show;
    animation:0.0s my_animation_show;
  }
  
  /*
    `.ng-enter-active` and `.ng-move-active` are where the transition destination
    properties are set so that the animation knows what to animate.
  */
  .nc-repeated-elem.ng-enter.ng-enter-active,
  .nc-repeated-elem.ng-move.ng-move-active {
    -webkit-animation:0.0s my_animation_show;
    animation:0.0s my_animation_show;
  }

  .nc-repeated-elem.ng-leave {
    -webkit-animation:0.2s my_animation_hide;
    animation:0.2s my_animation_hide;
  }
  
@-webkit-keyframes my_animation_show {
  from { opacity: 0; }
  to   { opacity: 1; }
}
    
@keyframes my_animation_show {
  from { opacity: 0; }
  to   { opacity: 1; }
}
    
@-webkit-keyframes my_animation_hide {
  from { opacity: 0; }
  to   { opacity: 1; }
}
  
@keyframes my_animation_hide {
 from { opacity: 0; }
 to   { opacity: 1; }
}

/* LOADIND CARDS STYLES */
/* ==================== */

.loading-cards .l-card {
    height: auto;
    margin-bottom: 20px;
    padding: 15px; 
    padding-top: 10px;
    padding-bottom: 20px;
    border-radius: 1.25rem;
    border: 1px rgb(219, 219, 219) solid;
}
.loading-cards .loader-stripes + .loader-stripes {
    margin-top: 25px;
}
.loading-cards .loader-stripe {
    overflow: hidden;
    position: relative;
    display: block;
    color: transparent;
    opacity: 0.1;
    background-color: #637282;
    height: 15px;
}
.loading-cards .loader-stripe::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    opacity: 1;
    -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
            transform: rotate(0deg);
    background: rgba(255, 255, 255, 0.13);
    background: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.5)), to(rgba(255, 255, 255, 0)));
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    -webkit-animation-name: slide;
            animation-name: slide;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
    -webkit-animation-duration: 0.8s;
            animation-duration: 0.8s;
    -webkit-animation-timing-function: ease;
            animation-timing-function: ease;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-direction: normal;
            animation-direction: normal;
}
@-webkit-keyframes slide {
    0% {
        left: -100%;
   }
    100% {
        left: 100%;
   }
}
@keyframes slide {
    0% {
        left: -100%;
   }
    100% {
        left: 100%;
   }
}
.loading-cards .img-loader-stripe {
    width: 100%;
    height: 170px;
}
.loading-cards .title-loader-stripe {
    width: 90%;
    height: 20px;
    -webkit-transform: translate(0, 10px);
        -ms-transform: translate(0, 10px);
            transform: translate(0, 10px);
}
.loading-cards .text-loader-stripe:nth-child(1) {
    width: 100%;
    height: 10px;
    margin-top: 5px;
}
.loading-cards .text-loader-stripe:nth-child(2) {
    width: 80%;
    height: 10px;
    margin-top: 5px;
}
.loading-cards .text-loader-stripe:nth-child(3) {
    width: 50%;
    height: 10px;
    margin-top: 5px;
}
.loading-cards .btm-loader-stripe {
    width: 45%;
}
.loading-cards .ft-loader-stripe {
    width: 30%;
    -webkit-transform: translate(0, -15px);
        -ms-transform: translate(0, -15px);
            transform: translate(0, -15px);
    float: right;
}
.loading-cards .mid-loader-stripe {
    width: 40%;
}