/** MOBILE FIRST **/

/* Extra small devices (portrait phones, less than 576px)
   No media query for `xs` since this is the default in Bootstrap
*/

.news-macro-category span {
    color:var(--usb-highlight-color);
}
.news-default-caption h5 span,
.news-latest-item h5 span,
.news-list-item h5 span,
.news-single-item h3 span {
    color:var(--usb-highlight-color);
}

.news-single-related-links a {

    text-decoration: underline;
}

.news-single-main-image figcaption {
    position: absolute;

    padding: 0.5rem;
    /* bottom: 2rem; */
    transform: translate(0, -2rem);
    background-color: #f0f8ff;
}

.news-single-gallery-thumb-image figcaption,
.news-single-gallery-thumb-video figcaption {
    /* position: absolute; */
    padding: 0.5rem;
    /* bottom: 2rem; */
    /* transform: translate(0, -2rem); */
    background-color: #f0f8ff;
    /* font-size:0.875rem; */
}
/**     Single News TEMP : Begin **/

.news-search-form {
    font-family: var(--usb-heading-font-family);
    font-size: 1.25rem;
    margin: 1rem auto 1rem auto;
}

.search-form-start {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.count-msg {
    font-size: 1.25rem;
    margin: 1rem auto;

}

.count-msg span {
    color:var(--usb-highlight-color);
}

.news-single-main-image {
    margin-bottom: 1.5rem;
}

.news-single-item h3,
.news-gallery-container h3 {
    font-size: 1.375rem;
    font-family: var(--usb-default-font-family);
}

.news-single-town-date {
    font-family: var(--usb-heading-font-family);
}

a.news-single-share-icon,
a.news-single-share-icon:link,
a.news-single-share-icon:visited {
    color: var(--usb-highlight-color);
    font-size: 1.5rem;
}

.news-single-share {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 1rem;
}

.news-single-item .bodytext {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.news-single-item .teaser {
    font-weight: bold;
}

.news-single-related-news h3,
.news-single-gallery h3,
.news-single-related-files h3 {
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed rgb(115, 115, 115, 0.25);
}

.news-single-gallery-container {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
    margin-bottom: 2em;
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2em;
}

.news-gallery-item-title {
    padding: 1rem;
    background-color: #f1f1f1;
    min-height: 5rem;
}

.news-single-related-items {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.news-single-related-item {
    margin-bottom: 1rem;
}

.news-single-related-files {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.news-single-files-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.news-single-file {
    margin: 1.5rem auto;
    font-size: 1rem;
}

.news-single-file i.bi {
    font-size: 1.75rem;
    color: var(--usb-highlight-color);
    vertical-align: middle;
    padding-right: 1rem;
}

.news-single-file .file-earmark {
    font-size: 1.75rem;
    color: var(--usb-highlight-color);
    vertical-align: middle;
    padding-right: 1rem;
}
/**     Single News TEMP : End **/

/**     Listing News TEMP : Begin **/

.news-list-item h5.card-text {
    font-size: 1.25rem;
}

.news-list-item p.card-text {
    font-family: var(--usb-abstract-font-family);
    font-size: 1rem;
}

/**     Listing News TEMP : End **/

/**     News Latest Grid : Begin **/
.news-latest-items-grid {
    display: grid;
    gap: 0.625rem;
    grid-template-columns: 1fr;
}

/**     News Latest Grid : End **/

/**     News Default Caption : Begin **/

.news-default-caption {
    padding: 1.5rem 1rem;
    background-color: #f3eeee;
}

.news-v-bigpic .news-default-caption {
    padding: 0.625rem 1rem;
    /* min-width:634px; */
}

.news-default-caption p {
    font-size: 1.375rem;
}

.big-news-container .caption h5,
#main-news-carousel .caption h5 {
    font-size: 1.25rem;
}

.related-media {
    color: var(--usb-highlight-color);
    text-transform: uppercase;
}

.related-media-badge {
    color: var(--usb-highlight-color);
    text-transform: uppercase;
    position:absolute;
    margin-right: 1rem;
}

/**     News Default Caption : End **/

/**     Main Big News : Begin **/
.big-news-container {
    border-bottom: var(--usb-divider-border);
    padding-bottom: 1.4375rem;
    margin-bottom: 1.25rem;
}

/**     Main Big News : End **/

/**     Main News Carousel : Begin **/
#main-news-carousel {
    margin-bottom: 2.5rem;
}

#main-news-carousel .caption {
    /* height: 14.125rem;*/
    height: 19.125rem;
}

/**     Main News Carousel : End **/

/**     News Latest Right : Begin **/
.news-latest-right {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}
.news-latest-right h4 {
    margin-bottom: 0.625rem;
}

.news-latest-right .news-item {
    border-bottom: var(--usb-divider-border);
    padding-bottom: 0.5rem;
}

.news-latest-right .news-item:last-child {
    border: none;
    padding-bottom: 0;
}
/**     News Latest Right : End **/

/**     News Cols Common : Begin **/
.news-latest-col-3-left figure,
.news-latest-col-3-right figure {
    margin-bottom: 0.375rem;
}

.news-latest-col-3-left .news-latest-item {
    padding-bottom: 1rem;
}

/**     News Cols Common : End **/

/**     News Col 3 Left : Begin **/
.news-latest-col-3-left {
    border-bottom: var(--usb-divider-border);
    margin-bottom: 1.5rem;
}

.news-latest-col-3-left .news-latest-item:last-child {
    margin-bottom: 0;
}
/**     News Col 3 Left : End **/

/**     News Col 6 Center : Begin **/
.news-latest-col-6-center {
    border-bottom: var(--usb-divider-border);
    padding-bottom: 1.375rem;
    margin-bottom: 1.625rem;
}

.news-latest-item.news-v-bigpic {
    margin-bottom: 2rem;
}

.news-latest-item.news-h-regular figure {
    margin-bottom: 0.75rem;
}

/**     News Col 6 Center : End **/

/**     News Col 3 Right : Begin **/
.news-latest-col-3-right {
    margin-bottom: 0.875rem;
}

.news-latest-col-3-right .news-latest-item:last-child {
    padding-bottom: 0;
}

/**     News Col 3 Right : End **/

/**     News Col 6 Left : Begin **/
.news-latest-col-6-left {
    border-bottom: var(--usb-divider-border);

    /** TODO : CHANGE According to news-latest-col-3-left & news-latest-col-6-center **/
    margin-bottom: 1.25rem;
}

/**     News Col 6 Left : End **/

/**     News Col 6 Right : Begin **/
.news-latest-col-6-right .news-latest-item {
    padding-bottom: 0.5rem;
}

.news-latest-col-6-right .news-latest-item:last-child {
    padding-bottom: 0;
}

/**     News Col 6 Right : End **/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    /**     News Latest Grid : Begin **/
    .news-latest-items-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    /**     News Latest Grid : End **/

    /**     News Latest Right : Begin **/

    .news-latest-right {
        padding-left: 0;
        padding-right: 0;
    }
    .news-latest-right .news-item:nth-child(3) {
        border: none;
    }

    /**     News Latest Right : Begin **/
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .count-msg {
        margin: 2rem auto;
    }

    .news-gallery-grid {
        margin-top: 2rem;
        margin-bottom: 4rem;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        row-gap: 2rem;
    }

    .related-media-badge {
        right: 0;
    }
    .news-single-item {
        margin-bottom: 2.5rem;
    }
    .news-single-item h3 {
        margin-bottom: 1.5rem;
    }

    .news-single-share {
        justify-content: flex-start;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .news-single-gallery-container {
        grid-template-columns: 1fr 1fr;
        row-gap: 1rem;
        column-gap: 1rem;
    }


    .news-single-related-files {
        margin-bottom: 3rem;
    }

    .news-single-file {
        font-size: 1.25rem;
    }

    .news-single-file i.bi {
        font-size: 2.5rem;
    }

    .right-side-col .big-news-container .caption h5,
    #main-news-carousel .caption h5 {
        font-size: 1.5rem;
    }
    /**     Main News Carousel : Begin **/
    #main-news-carousel {
        margin-bottom: 2.1875rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    #main-news-carousel .news-default-caption {
        height: 13rem;
    }

    #main-news-carousel .carousel-indicators {
        bottom: -2rem;
    }

    #main-news-carousel .carousel-indicators {
        justify-content: flex-start;
        margin-left: 1%;
        padding: 0 0.75rem 1.25rem 0.5rem;
    }

    #main-news-carousel .carousel-control {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        width: 10%;
        bottom: 3%;
    }

    #main-news-carousel .carousel-control-prev {
        left: 79% !important;
    }

    #main-news-carousel .carousel-control-next {
        right: 2% !important;
    }

    /**     Main News Carousel : End **/

    /**     News Cols Common : Begin **/

    .news-latest-col-3-left .news-latest-item,
    .news-latest-col-3-right .news-latest-item {
        padding-bottom: 1rem;
    }

    /**     News Cols Common : End **/

    /**     News Col 3 Left : Begin **/
    .news-latest-col-3-left {
        border-bottom: none;
        padding-right: 0.75rem;
        margin-bottom: 0;
    }
    /**     News Col 3 Left : End **/

    /**     News Col 6 Center : Begin **/
    .news-latest-col-6-center {
        border-bottom: none;
        margin-bottom: 0;
        padding-left: 0.75rem;
        padding-bottom: 0;
    }

    .news-latest-col-6-left .news-latest-items-grid {
        gap: 0.25rem 1.5rem;
    }
    /**     News Col 6 Center : End **/

    /**     News Col 3 Right : Begin **/
    .news-latest-col-3-right {
        margin-bottom: 0.875rem;
    }

    /**     News Col 3 Right : End **/

    /**     News Col 6 Left : Begin **/
    .news-latest-col-6-left {
        margin-bottom: 1.75rem;
        padding-bottom: 0.75rem;
    }

    .news-latest-col-6-left .news-latest-item.news-v-bigpic {
        border-bottom: var(--usb-divider-border);
        margin-bottom: 1.375rem;
        padding-bottom: 1.5rem;
    }

    .news-latest-item.news-v-bigpic h5 {
        font-size: 1.125rem;
    }

    /**     News Col 6 Left : End **/

    .news-list-item .card-title .related-media {
        display: inline-block;
        position:absolute;
        right:0;
    }

    .news-single-gallery-item-image {
        display: flex;
    }
    .news-single-gallery-thumb-image {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .news-list-item {
        margin-right: 1rem;
    }
    .news-search-form {
        font-family: var(--usb-heading-font-family);
        font-size: 1.25rem;
        margin: 1rem 2rem 1rem auto;
    }

    .news-macro-category {
        margin-bottom: 1.5rem;
    }


    .news-single-main-image {
        margin-bottom: 2rem;
    }
    a.news-single-share-icon,
    a.news-single-share-icon:link,
    a.news-single-share-icon:visited {
        font-size: 1.25rem;
    }

    .news-single-share {
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .news-single-article-content {
        margin-right: 4rem;
    }

    .news-single-item .bodytext {
        margin-bottom: 4rem;
    }

    .news-single-item h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .news-single-town-date {
        font-size: 1.25rem;
    }

    .news-single-related-items {
        margin-top: 2rem;
        margin-bottom: 4rem;
    }

    .news-single-related-item {
        margin-bottom: 1rem;
    }


    .news-single-file {
        font-size: 1.25rem;
    }

    .news-single-file i.bi {
        font-size: 2.5rem;
    }

    .big-news-container {
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 1.25rem;
    }

    #main-news-carousel {
        margin-left: auto;
        margin-right: auto;
    }

    #main-news-carousel .carousel-control {
        bottom: 2.6%;
    }

    .news-latest-right h3 {
        margin-bottom: 0.3125rem;
    }

    .news-latest-right .news-latest-items-grid {
        grid-template-columns: 1fr;
        gap: 0.3125rem;
    }

    .news-latest-right .news-item {
        padding-bottom: 0.3125rem;
    }

    .news-latest-right .news-item h5 {
        font-size: 0.875rem;
    }

    .news-latest-right .news-item h4 {
        margin-top: 0.3125rem;
        margin-bottom: 0.3125rem;
    }

    .news-latest-right .news-item:nth-child(3) {
        border-bottom: var(--usb-divider-border);
    }

    .right-side-col .news-latest-col-3-left .news-latest-item,
    .right-side-col .news-latest-col-3-right .news-latest-item {
        padding-bottom: 1.5rem;
    }

    .right-side-col .news-latest-col-3-left .news-latest-item,
    .right-side-col .news-latest-col-3-right .news-latest-item {
        padding-bottom: 2rem;
    }

    .right-side-col .news-latest-col-6-center {

    }

    .right-side-col .news-v-bigpic {

    }

    .right-side-col .news-v-bigpic .news-default-caption {
        background-color: transparent;
        padding: 0;
    }

    .right-side-col .news-v-bigpic .news-default-caption h5 {
        font-size: 1.125em;
    }

    .right-side-col .news-latest-item.news-h-regular {
        display:block;
    }

    .right-side-col .news-latest-item.news-h-regular h4 {
        margin-top: 0.375rem;
    }

    .news-latest-col-6-center {
        padding-left: 0;
    }

    .news-latest-col-3-right .news-latest-items-grid {
        display: block;
    }

    .news-latest-item.news-h-regular {
        display: flex;
        justify-content: space-between;
    }

    .news-latest-item.news-h-regular h4 {
        margin-top: 0;
    }

    .news-latest-item.news-v-regular h5,
    .news-latest-item.news-v-nopic h5,
    .news-latest-item.news-h-regular h5 {
        font-size: 1.125em;
    }

    .news-latest-col-6-left {
        border: none;
    }

    .news-latest-col-6-right .news-latest-item {
        padding-bottom: 0;
    }

    .news-latest-item.news-h-regular figure,
    .news-latest-item.news-h-regular article {
        max-width: 13.5rem;
    }

    .news-latest-item.news-h-regular figure {
        min-width: 18.25rem;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .news-list-item h5.card-text {
        font-size: 1.5rem;
    }

    .news-list-item p.card-text {
        font-size: 1.125rem;
    }

    .news-single-gallery-container {
        margin-top: 2rem;
        margin-bottom: 4rem;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 2.5rem;
        row-gap: 1rem;
    }

    .news-gallery-grid {
        margin-top: 2rem;
        margin-bottom: 4rem;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        row-gap: 2rem;
    }

    .big-news-container .caption h5,
    #main-news-carousel .caption h5 {
        font-size: 1.625rem;
    }

    .news-latest-right .news-latest-items-grid {
        grid-template-columns: 1fr;
        gap: 0.8125rem;
    }

    .news-latest-right .news-item h5 {
        font-size: 1rem;
    }

    .news-latest-right .news-item h4 {
        margin-top: 0.5rem;
        margin-bottom: 0.625rem;
    }

    .news-latest-col-3-left .news-latest-item,
    .news-latest-col-3-right .news-latest-item {
        padding-bottom: 1rem;
    }

    .news-latest-col-3-left,
    .news-latest-col-6-center,
    .news-latest-col-3-right {
        margin-bottom: 0;
    }

    .news-latest-col-6-left {
        margin-bottom: 0;
    }
    .news-latest-item.news-v-bigpic {
        display: flex;
        margin-bottom: 2rem;
    }

    news-latest-item.news-v-bigpic article {
        display: flex;
    }

    .news-latest-item.news-v-bigpic h5 {
        font-size: 1.5rem;
        line-height: 1.1;
        margin-bottom: 0.25rem;
    }

    .news-latest-item.news-h-regular figure,
    .news-latest-item.news-h-regular article {
        max-width: 16.5rem;
    }
    .news-v-bigpic .news-default-caption {
	min-width:634px; */
    }

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .big-news-container {
        padding-bottom: 1.125rem;
        margin-bottom: 1.875rem;
    }

    #main-news-carousel {
        margin-bottom: 0.625rem;
    }

    #main-news-carousel .carousel-control-prev {
        left: 80% !important;
    }
    #main-news-carousel .carousel-control-next {
        right: 1.5% !important;
    }

    .news-latest-right h3 {
        margin-bottom: 0.875rem;
    }
    .news-latest-right .news-item {
        /* padding-bottom: 2.125rem; */
    }

    .news-latest-col-3-left,
    .news-latest-col-3-right,
    .news-latest-col-6-center {
        margin-top: 0;
    }
    .news-latest-col-6-left {
        border-bottom: none;
        margin-bottom: 3rem;
        margin-top: 0.125rem;
    }

    .news-latest-col-6-right {
        margin-top: 0.125rem;
    }

    .news-latest-item.news-h-regular figure,
    .news-latest-item.news-h-regular article {
        max-width: 19.25rem;
    }

}

/** OTHER DIRECTION **/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/* Extra large devices (large desktops) */
@media (max-width: 1399.98px) {
}

/** SINGLE BREAKPOINT **/

/* Small */
@media (min-width: 576px) and (max-width: 767.98px) {
}

/* Medium */
@media (min-width: 768px) and (max-width: 991.98px) {
}

/* Large */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* X-Large */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* No media query since the extra-large breakpoint has no upper bound on its width */

