#media {
    background-attachment: scroll;
    background-image: linear-gradient(to bottom right, #ffffff, #f5f5f5);
    color: #000;
    cursor: default;
    padding: 1.5em 0 6em 0;
    text-align: left;
}

#media .content {
    color: #000;
    display: inline-block;
    opacity: 1;
    text-align: left;
    padding: 1em 9.5em;
    width: 100%;
}



.tag-help {
    color: #164689;
    font-weight: 400;
    font-size: 14px;
}

.tag-help:nth-child(2) {
    margin-bottom: 0;
    margin-top: 8px;
}

.more-tags {
    cursor: pointer;
    margin-bottom: 16px !important;
}

.select-tags {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
/*    border-bottom: 1px solid #707070;*/
    cursor: pointer;
/*    margin-bottom: 24px;*/
    max-height: 55px;
    overflow: hidden;
    justify-content: center;
    transition: ease 1s max-height;
}

.expand-tags {
    max-height: 100% !important;
}

.select-tags .tag-btn {
    padding: 10px 30px;
    border-radius: 3.5em;
    border: 1px solid black;
    cursor: pointer;
    margin-right: 30px;
    margin-bottom: 16px;
    color: black !important;
    font-weight: 400;
    font-size: 18px;
    display: flex;
    text-transform: uppercase;
}

.select-tags .tag-btn.active {
    display: none;
}

.active-tags {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 24px;
}

.active-tags h5 {
    width: 15%;
    margin-top: 7px;
}

.selected-tags {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    cursor: pointer;
    width: 100%;
}

.select-tags .tag-btn:hover {
    color: #fff !important;
    background-color: #ffa738;
    border:1px solid #ffa738;
}

.selected-tags .tag-btn {
    padding: 10px 20px;
    border-radius: 3.5em;
    border: 1px solid black;
    cursor: pointer;
    margin-right: 30px;
    margin-bottom: 16px;
    color: #fff !important;
    background-color: black;
    font-weight: 400;
    font-size: 18px;
    display: none;
    text-transform: uppercase;
}

    .selected-tags .tag-btn.active {
        display: flex;
        background-color: #ffa738;
        border: 1px solid #ffa738;
    }


.latest-post.active {
    display: flex !important;
}

.active {
    color: #404040 !important;
}

.latest-post {
    background-color: #fff !important;
    border-radius: 0px !important;
    display: none !important;
}

.item-box-shadow {
    box-shadow: 0px 3px 10px rgb(0 0 0 / 15%);
}

.item-box-shadow {
    border-radius: 35px;
    background-color: #e8f3ff;
    padding-top: 0px;
    padding-bottom: 0px;
}


.ct-div-block {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    height: 270px;
}

.bg-img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}

.activepostblock {
    padding-top: 24px;
    padding-bottom: 42px;
    width: 50%;
    padding-left: 42px;
    padding-right: 42px;
    position: relative;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

.oxy-post-meta-comments.oxy-post-meta-item {
    text-transform: uppercase;
    margin-top: 15px;
/*    margin-bottom: 12px !important;*/
    font-size: 12px;
    color: #ff8800;
    font-weight: 400 !important;
    line-height: 1.6;
}

.oxy-post-meta-comments.oxy-post-meta-item span {
    text-transform: uppercase;
    font-size: 14px;
    color: #164689;
    font-weight: 400;
    line-height: 1.6;
}

.oxy-post-meta-comments.oxy-post-meta-item a {
    text-transform: uppercase;
    font-size: 17px;
    color: red;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
}

.ct-headline {
    font-size: 46px;
}

.title-border {
    position: relative;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0px;
    color: #164689;
    text-transform: capitalize;
}

.title-border:after {
    content: "";
    position: absolute;
    width: 75px;
    height: 5px;
    left: 0;
    bottom: -15px;
    background: #FF8800;
}

.dateyear {
    text-transform: capitalize;
    font-size: 15px;
    color: black;
    font-weight: 400;
    line-height: 1.6;
}

.ct-text-block {
    text-align: justify;
    font-size: 20px;
    margin-bottom: 2%;
}

/*---------------------------------*/

.all-posts {
    width: 100.00%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 40px;
    row-gap: 40px;
    column-gap: 3%;
}

.post-box {
    flex-direction: column;
    display: none;
    width: 31%;
    background-color: #fff;
    border: 1px solid darkgrey;
    flex-direction:column;
    justify-content:space-between;
/*    box-shadow: 0px 3px 10px rgb(0 0 0 / 15%);*/
}

.post-box.active {
    display: flex;
}

.post-content {
    padding: 24px;
    flex-grow: 1;
}

.post-content h4 {
    margin: 0rem;
    color: black;
    line-height: 1.2;
    font-size: 20px;
    font-weight: bold;
}

.post-footer{
    padding: 24px;
}

.title-desktop {
    display: block !important;
}

.title-mobile {
    display: none !important;
}

/*.title-border {
    position: relative;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0px;
    color: #164689;
}*/

.excerpt-mobile {
    display: none;
}

.mt5 {
    margin-top: 5px !important;
}

.mt10 {
    margin-top: 10%  !important;
}

.mtg {
    margin-top: 3% !important;
}

.replace-thumbnail {
    width: 100%;
    height: 100%;
    align-items: center;
    align-content: center;
    display: flex;
    cursor: pointer;
}

.replace-thumbnail .dateyear, .replace-thumbnail .excerpt-mobile, .replace-thumbnail span, .replace-thumbnail a, .replace-thumbnail h4 {
    color: #fff !important;
}

.replace-towhite {
    color: #fff !important;
}

.not-found {
    display: none;
    flex-direction: column;
    text-align: center;
}

.load-more {
    text-align: center;
    margin-top: 42px;
}

.load-more button {
    color: #FFF;
    cursor: pointer;
}

.main-btn {
    border-radius: 50px;
    padding-right: 40px;
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 30px;
    padding-left: 40px;
}

.main-btn {
/*    background-color: #ff8800;*/
    border: 1px solid transparent;
}

button:hover {
     background-color: transparent; 
     border: 1px solid transparent; 
}

.morebtn {
    width: 5%;
}


/*-----------VIEW POST------------*/

.ct-inner-content {
    width: 100%;
}

.ct-section {
    position: relative;
    width: 100%;
    background-size: cover;
    background-repeat: repeat;
}

.ct-section > .ct-section-inner-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

.ct-section-inner-wrap {
    width: 100%;
}

.div-block {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
}

.div-block {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgb(37 41 47 / 50%);
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}



.banner-title {
    font-weight: 900;
    color: rgb(255, 255, 255);
    width: 100%;
    padding-right: 90px;
    padding-left: 90px;
    padding-bottom: 17%;
    text-align: left;
}

.text-block {
    color: rgb(255, 255, 255);
    margin-bottom: 75px;
    z-index: 5;
    text-transform: uppercase;
    margin-top: 0px;
}

.ct-span {
    display: inline-block;
    text-decoration: inherit;
}

.ct-image {
    max-width: 100%;
}


.ct-new-columns {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    top: -135px;
}

.div-block-img {
    padding-top: 0px;
    width: 100%;
    align-items: center;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    height: 443px;
}

.post-div-block {
    width: 100%;
    padding-top: 0px;
    margin-bottom: 0px;
}

.post-headline {
    color: rgb(84, 84, 84);
    font-size: 25px;
    font-weight: bold;
    line-height: 1.3;
    padding: 1em 1em;
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: justify;
}


.news-date {
    font-size: 1em;
    font-style: italic;
    font-weight: 400;
    margin-bottom: .5em;
}

.news-title {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 3%;
    line-height: 1.2;
}

.image1 {
    width: 100%;
}

.image2 {
    width: 100%;
    margin-top: 4%;
}

.image3 {
    width: 100%;
    margin-top: 4%;
}

.image4 {
    width: 100%;
    margin-top: 4%;
}

.image5 {
    width: 100%;
    margin-top: 4%;
}

.imgNews {
    justify-self: center;
    text-align: center;
    width: 90%;
}

.caption-image {
    font-size: .8em;
    text-align: justify;
    font-style: italic;
    margin: .5em 0 2em 0;
    text-align: center;
}

.tag-underline {
    border-bottom: 1px solid red;
    width: fit-content;
    justify-self: center;
    margin-bottom: 4%;
}

.tag-title {
    padding-left: .6em;
    line-height: 0.7;
    font-size: 2.4em;
    font-weight: 900;
    color: red;
}

.videosec {
    margin: 3em 1em;
    padding: 1em;
    box-sizing: border-box;
    height: 100%;
}

.videotitle {
    width: 100%;
    margin-bottom: 1.4%;
    font-weight: bold;
}

.yt-video {
    width: 58%;
    height: 385px;
    float: left;
    margin-right: 3%;
}

.videodesc {
    width: 39%;
    float: left;
    box-sizing: border-box;
    margin-bottom: 2%;
}

.videodate {
    box-sizing: border-box;
    font-style: italic;
}

a.arrow-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px; /* Adjust the size as per your needs */
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid #000; /* Border color */
  text-decoration: none;
  font-size: 20px; /* Adjust arrow size */
  color: #000 !important; /* Arrow color */
  transition: background-color 0.3s ease, color 0.3s ease;
}

a.arrow-circle:hover {
  background-color: #000; /* Hover background color */
  color: #fff !important; /* Arrow color on hover */
}

a.arrow-circle:before {
  content: "→"; /* Unicode character for the arrow */
  font-family: Arial, sans-serif;
}



/*-----------MEDIA CONTROL------------*/

@media only screen and (max-width: 1440px) {
    #media .content {
        padding: 1em 5.5em;
    }

    .oxy-post-meta-comments.oxy-post-meta-item span {
        font-size: 14px;
    }

    .oxy-post-meta-comments.oxy-post-meta-item a {
        font-size: 14px;
    }

    .caption-image {
        font-size: .95em;
    }
}

@media only screen and (max-width: 1277px) {
    #media .content {
        padding: 1em 3.5em;
    }
}


@media only screen and (max-width: 1150px) {
    #introterms {
        height: 430px;
    }

    #media .content {
        padding: 1em 1.5em;
    }

    .active-tags .tag-help {
        width: 100%;
        margin-bottom: 16px !important;
    }

    .active-tags {
        flex-wrap: wrap;
    }

    .activepostblock {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .ct-headline {
        font-size: 39px;
    }

    .ct-text-block {
        margin-top: 10px;
        font-size: 18px;
    }

    .oxy-post-meta-comments.oxy-post-meta-item {
        margin-top: 10px;
    }

    .oxy-post-meta-comments.oxy-post-meta-item span {
        font-size: 12px;
    }

    .oxy-post-meta-comments.oxy-post-meta-item a {
        font-size: 12px;
    }

    .dateyear {
        margin-top: 15px;
    }

}

@media only screen and (max-width: 992px) {
    #introterms {
        height: 260px;
    }

    .show-posts .latest-post {
        display: none !important;
    }

    .select-tags {
        max-height: 162px;
    }

    .ct-div-block {
        height: 450px;
    }

    .post-box {
        width: 100%;
    }

    .title-desktop {
        display: none !important;
    }

    .title-mobile {
        display: block !important;
    }

    .title-border {
        color: black;
    }

    .title-border:after {
        bottom: -10px;
        background: transparent;
    }

    .replace-thumbnail .title-mobile:after {
        background: #fff !important;
    }

    .replace-thumbnail .title-mobile {
        color: #fff !important;
    }

    .post-box:first-child .excerpt-mobile {
        display: block !important;
    }

    #media .content {
        padding: 1em 1em;
    }

    .ct-headline {
        font-size: 26px;
    }

    .banner-title {
        padding-right: 60px;
        padding-left: 60px;
        padding-bottom: 14%;
    }

    .caption-image {
        font-size: 1em;
    }

    .news-date {
        font-size: 1.3em;
    }

    .mt10 {
        margin-top: 5% !important;
    }

    .dateyear {
        margin-top: 20px;
        font-size: 20px;
    }

    .oxy-post-meta-comments.oxy-post-meta-item a {
        font-size: 20px;
    }

    a.arrow-circle {
        width: 50px;
        height: 50px;
    }

    .news-title {
        margin-bottom: 5%;
    }

    .caption-image {
        font-size: 1.1em;
    }

    .ct-text-block {
        margin-top: 25px;
        font-size: 20px;
    }

    .videotitle {
        font-size: 1.3em;
        margin-bottom: 2%;
    }

    .yt-video {
        width: 100%;
        height: 360px;
        margin-right: 0%;
    }

    .videodesc {
        width: 100%;
        margin-top: 2%;
        font-size: 1.2em;
    }

    .videodate {
        font-size: 1.2em;
    }

    .morebtn {
        width: 8%;
    }
}

@media only screen and (max-width: 480px) {
    .post-content {
        padding: 20px;
    }

    .select-tags {
        margin-bottom: 0px;
    }

    .select-tags .tag-btn {
        padding: 8px 20px;
        margin-right: 16px;
        font-size: 16px;
        margin-bottom: 0px;
    }

    .selected-tags .tag-btn {
        padding: 8px 20px;
        margin-right: 16px;
        margin-bottom: 0px;
        font-size: 16px;
    }

    .ct-div-block {
        height: 275px;
    }

    .dateyear {
        margin-top: 15px;
        font-size: 16px;
    }

    .oxy-post-meta-comments.oxy-post-meta-item a {
        font-size: 17px;
    }

    .title-border, .title-border-center {
        font-size: 25px;
    }

    .ct-section {
        margin-top: 6%;
    }

    .tag-title {
        font-size: 2.6em;
    }

    .banner-title {
        padding-right: 50px;
        padding-left: 50px;
        padding-bottom: 14%
    }

    .ct-headline {
        font-size: 19px;
    }

    a.arrow-circle {
        width: 45px;
        height: 45px;
    }

    #media .content {
        padding: 1em 0em;
    }

    .news-date {
        font-size: 1.6em;
        margin-top: 2.5em;
    }

    .news-title {
        font-size: 3em;
        margin-bottom: 8%;
    }

    .caption-image {
        font-size: 1.3em;
    }

    .post-headline {
        font-size: 22px;
        line-height: 1.3;
        padding: 1em .8em;
    }

    .ct-text-block {
        margin-top: 30px;
        font-size: 20px;
        line-height: 1.5;
    }

    .videosec {
        margin: 3em 0em;
    }

    .videotitle {
        font-size: 1.6em;
        margin-bottom: 5%;
    }

    .yt-video {
        height: 200px;
    }

    .videodesc {
        margin-top: 4%;
        font-size: 1.6em;
    }

    .videodate {
        font-size: 1.6em;
    }

    #media {
        padding: 2.5em 0 6em 0;
    }

    .morebtn {
        width: 15%;
    }
}