html{
    overflow-x: hidden;
}

.bluebannercontainernews {
    padding: 20px 30% 20px 54px;
}

.pagedescription{
    margin-bottom: 0;
}

.bluebannercontainertopography{
    padding: 20px 30% 20px 54px;
}

/* .bluebanner {
    min-height: 168px;
} */

.cardscontainer{
    background: #EAECED;
    width: 100%;
    padding: 32px 24px 24px 24px;
}

.cardscontainertitle{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    color: var(--maintext);
    margin-bottom: 32px;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid #464646;
    border-right-color: var(--mainbackground);
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.maincontent .row {
    margin-left: 0px;
    margin-right: 0;
    width: 100%;
}

.maincontent .row .col {
    padding-right: 0;
    padding-left: 0;
    max-width: 100%;
}

.navbar-header.active{
    border-bottom: none;
}

.navbar-header.active:after {
    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: 33%; /* Change this to whatever width you want. */
    padding-top: 0px; /* This creates some space between the element and the border. */
    border-bottom: 4px solid var(--active); /* This creates the border. Replace black with whatever color you want. */
}

/* Pagination */
.container{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card-content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card{
    position: relative;
    background: white;
    height: auto;
    width: 100%;
    margin-bottom: 24px;
}

.featuredcontentcard{
    position: relative;
    background: #89C4F488;
    height: auto;
    width: 100%;
    margin-bottom: 24px;
}

.eventscard{
    position: relative;
    background: #3b829699;
    height: auto;
    width: 100%;
    margin-bottom: 24px;
}

.publicationscard{
    position: relative;
    background: #A8ADB488;
    height: auto;
    width: 100%;
    margin-bottom: 24px;
}

.featureddatacard .newscarddate, .eventscard .newscarddate, .publicationscard .newscarddate {
    color: #333333;
}

.card:hover{
    cursor: pointer;
}

.newscard{
    padding: 24px;
    gap: 12px;
    width: 100%;
    height: auto;
    /* background: #FFFFFF; */
    box-shadow: 0px 8px 24px rgba(46, 63, 163, 0.08);
}

.newscardtitle{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    color: #1D3A83;
    margin-bottom: 12px;
}

.title-container {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
}

.newscategory{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #222222;
    margin-bottom: 12px;
    text-align: right;
    text-wrap-mode: nowrap;
}

.newscarddate{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #616365;
    margin-bottom: 12px;
}

.newscardcontent{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #222222;
    margin-bottom: 0px;
}

.pagination{
    text-align: right;
    margin: 28px 30px 0px;
    user-select: none;
    display: block;
    padding-left: 0;
    list-style: none;
    border-radius: 0;
}

.pagination li{
    display: inline-block;
    margin: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 10%);
}

.pagination li .page-link {
    padding: 9.5px 0;
    width: 40px;
    height: 40px;
    background: #FFFEFE;
    border: 1px solid #ADAEB0;
    text-align: center;
}

.previous-page, .next-page{
    background: #0AB1CE;
    width: 80px;
    border-radius: 0px;
    cursor: pointer;
}

.current-page, .dots{
    background: #ccc;
    width: 45px;
    border-radius: 0;
    cursor: pointer;
}

.page-item {
    width: 40px;
    height: 40px;
    background: #FFFEFE;
}

.page-item .page-link {
    color: #1D3A83;
    background: #ffffff;
    border: 1px solid #FFFEFE;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
}

.page-item.active .page-link {
    color: #ffffff;
    background: #ADAEB0;
    border: 1px solid #FFFEFE;
}

.pagination .disable{
    display: none;
}

.page-item.next-page, .page-item.previous-page  {
    padding: 0;
    gap: 10px;
    width: 82px;
    height: 40px;
    box-shadow: none;
    background: var(--mainbackground);
}

.page-item.next-page .page-link, .page-item.previous-page .page-link {
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 9.5px 13px;
    background: none;
    border: none;
}

.page-item.next-page .page-link:focus, .page-item.previous-page .page-link:focus, .dots .page-link:focus, .page-item.active .page-link:focus  {
    outline: none !important;
    box-shadow: none;
}

.dots .page-link:hover, .page-item.active .page-link:hover  {
    cursor: default;
}



.maincontent.individual{
    display: flex;
}

.individualnewcontainer{
    width: 64.5%;
    flex: 1;
}

.individualnewcontainer .container{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.individualnewcontainer .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.maincontent .individualnewtitle{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    color: #1D3A83;
    /* margin-bottom: 24px; */
    margin-bottom: 12px;
}

.maincontent .individualnewdate{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--copyright);
    margin-bottom: 24px;
}

.maincontent .individualnew{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: var(--chevroncolor);
}

.additionalnewscontainer {
    flex: 0.41;
    margin-left: 104px;
    background: #EAECED;
    padding: 24px;
    height: 100%;
}

.additionalnewscontainer .newscardtitle {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
}

.additionalnewscontainer .newscarddate {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
}

.additionalnewscontainer .newscardcontent{
    display: none;
}

.additionalnewscontainer #current4 {
    margin-bottom: 0;
}

.maincontent .additionalnewstitle{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    color: #464646;
    margin-bottom: 24px;
}

@media all and (max-width: 1300px) {
    .maincontent.individual {
      flex-flow:column wrap;   
    }    
    .additionalnewscontainer {
      flex-grow:0;
      flex-basis:50%;
      margin-left: 0;
      width: 438px;
    }

    .individualnewcontainer {
        width: 100%;
        flex: 1;
    }
  }

@media (max-width: 768px) {
    .pagetitle {
        font-size: 27px;
        line-height: 34px;
        margin-bottom: 0;
      }

      .bluebannercontainernews {
        padding: 30px 20px 30px 20px;
    }

    .bluebanner {
        min-height: auto;
    }

    .newscardtitle {
        font-size: 19px;
        line-height: 28px;
    }

    .newscarddate {
        font-size: 14px;
        line-height: 26px;
    }

    .newscardcontent {
        font-size: 14px;
        line-height: 26px;
    }

    .page-item.previous-page .page-link {
        font-size: 16px;
    }

    .page-item .page-link {
        font-size: 14px;
    }

    .pagination {
        margin: auto;
    }
}
