.news__container {
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.news_banner_div {
    padding: 75px 0px;
    position: relative;
    z-index: 89;
    text-align: center;
    line-height: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.news_banner_title {
    color: #fff;
    font-style: italic;
    text-transform: capitalize;
}

.news_h {
    color: #2f546c;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-left: 80px
}

.pagination {
    flex-wrap: wrap;
}

.news_banner_title_under {
    color: #5997f5;
}

.news__main {
    background-color: #fff;
    margin: 0 auto;
    padding: 15px;
}

.news__sidebar {
    max-width: 35%;
}

.inp__box {
    position: relative;
}

.sidebar__news_item {
    padding: 0 15px;
    display: flex;
    margin-top: 10px;
}

.sidebar__news_item>img {
    width: 120px;
    object-fit: contain;
}


/* .sidebar__news_item_info {} */

.sidebar__news_item_info>h5>a {
    max-width: 300px;
    font-size: 15px;
    word-break: break-all;
}

.sidebar__news_item_info>p {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 350px;
    white-space: nowrap;
    font-size: 13px;
}

.search_type {
    border: none;
    outline: none;
    width: 100%;
    padding: 12px;
    background-color: #eeeeee;
}

.search_submit {
    border: none;
    outline: none;
    background-color: transparent;
    position: absolute;
    right: 10px;
    font-size: 28px;
}

.news_sidebar__textWidget {
    margin-top: 40px;
}

.news__sidebar__practiceWidget__item {
    display: flex;
    border-bottom: solid 1px #d3d3d3;
    padding: 10px;
    margin-bottom: 20px;
}

.news__sidebar__practiceWidget__item-info>a {
    color: #999999;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.news_archives>ul {
    list-style: none;
}

.news_archives>ul>li {
    border-bottom: 1px solid lightgray;
    padding: 10px;
}

.news_archives>ul>li>a {
    color: #2c62b3;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.news__sidebar__practiceWidget__item-info>h5 {
    font-weight: bold;
}

.news__sidebar__practiceWidget__item-info {
    margin: 5px 30px;
    height: fit-content;
}

.news_sidebar__textWidget>h4,
.news__sidebar__practiceWidget>h4 {
    padding-right: 4px;
    font-style: italic;
    letter-spacing: 1px;
    color: #383838;
}

.news__sidebar__practiceWidget {
    margin-top: 40px;
}

.news_sidebar__textWidget>p {
    font-size: 14px;
    color: gray;
}

.news_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 750px;
}

.news_item {
    margin-left: 10px;
}

.news_item_img {
    max-width: 250px;
}

.news_item_img>img {
    width: 100%;
}

.news_item_img>a>img {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.news_item_img img:hover {
    opacity: 0.8;
}

.news_item_info {
    margin-top: 10px;
    max-width: 250px;
}

.news_item_subInfo {
    display: flex;
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
    flex: 1 1 auto;
}

.news_item_info>h5 {
    line-height: 1.1;
}

.news_item_info>h5>a {
    color: #000;
    font-weight: bold;
    font-size: 15px;
}

.news_item_info h5>a:hover {
    color: #2c62b3;
    transition: .2s;
    cursor: pointer;
}

.news_item_subInfo>p {
    color: gray;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.news_item_info>p {
    font-size: 14px;
    color: gray;
}

.news_btn-link {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #2c62b3;
    border: none;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
}

.news_btn-link:hover {
    color: #2c62b3;
}

.news_archives {
    margin: 15px;
    width: 33%;
}

.news_archives>h3 {
    margin: 15px 15px;
}


/* Smartphones (portrait and landscape) ----------- */

@media only screen and (max-width: 600px) {

    .prevContainer,
    .nextContainer {
        display: none;
        visibility: hidden;
    }
}

.prevContainer,
.nextContainer {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    transform: translate(0, calc(-50% - 54px));
    height: 54px;
    width: 54px;
    cursor: pointer;
}

.prevContainer {
    margin-left: 26px;
    left: 0;
    border-radius: 30px 0 0 30px;
}

.prev {
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    height: 34px;
    width: 32px;
    float: left;
    margin-left: 12px
}

.prev svg,
.next svg {
    fill: white;
}

.nextContainer {
    margin-right: 26px;
    right: 0;
    border-radius: 0 30px 30px 0;
}

.next {
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    height: 34px;
    width: 32px;
    float: right;
    margin-right: 12px;
}


/* Container for image text */

.caption-container {
    text-align: left;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.row {
    height: 440px;
    overflow: hidden;
}


/* Six columns side by side */

.column {
    float: left;
    width: 16.66%;
    transition-duration: 600ms;
    transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
}


/* max widht 750*/

.sidebar__news_item_info {
    max-width: 300px;
}

@media screen and (max-width: 1200px) {
    .sidebar__news_item {
        flex-direction: column-reverse;
        align-items: center;
    }
}

@media screen and (max-width: 992px) {
    .sidebar__news_item {
        flex-direction: column-reverse;
        align-items: center;
    }

    .news__container {
        flex-direction: column;
    }
}

@media screen and (max-width: 760px) {
    .sidebar {
        width: 100% !important;
    }

    .sidebar>h2 {
        text-align: center;
    }

    .news_items {
        flex-direction: column;
    }

    .news__main {
        max-width: 90%;
    }

    .news_archives {
        margin: 15px;
        width: 100%;
    }

    .news__container {
        flex-direction: column;
        align-items: center;
    }

    .news_item_img a>img {
        width: 100%;
        height: auto;
    }

    .news__sidebar {
        max-width: 90%;
        margin-top: 20%;
    }
}

@media screen and (max-width: 500px) {
    .news__sidebar__comments__item {
        flex-direction: column;
    }

    .news__sidebar__comments__item>a>img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 300px) {
    .news_item_subInfo {
        flex-direction: column;
    }
}

#slideshow {
    display: flex;
    width: 100%;
    height: 300px !important;
    height: fit-content;
    margin-bottom: 20px;
}

#slides {
    position: relative;
    width: 70%;
    overflow: hidden;
}

.down {
    bottom: 0;
}

.up {
    top: 0;
}

#gallery {
    position: relative;
    width: 30%;
    overflow: hidden;
    background: #202020;
}

#slides img,
#gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.4s linear;
}

.slide.show {
    opacity: 1;
    z-index: 1000;
}

.scroll {
    width: 100%;
    border: none;
    position: absolute;
    background: transparent;
    cursor: pointer;
    z-index: 100000;
    color: #fff;
    height: 30px;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

div.a {
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    height: fit-content;
    width: 10px;
}

div.b {
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    height: fit-content;
    width: 10px;
}

.thumbnail {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    margin-top: 30px;
}

.thumbnail.active {
    background-color: #2c62b3 !important;
}

.thumbnail>p {
    color: #fff;
    padding: 10px;
    width: 350px;
    height: 50px;
    word-wrap: break-word;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.thumbnail:hover {
    background-color: #000;
}

.slide-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 40px;
    color: #fff;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s linear;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

.slide-btn:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.slide .content {
    position: absolute;
    left: 0;
    bottom: -999px;
    color: #fff;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: bottom 0.4s ease;
    width: 100%;
}

.slide .title {
    font-weight: bold;
    font-size: 12px;
}

.slide:hover>.content {
    bottom: 0;
}

.thumbnail .title {
    position: absolute;
    top: 0;
    left: -999px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #fff;
    height: 30px;
    padding: 0 10px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.thumbnail .description {
    position: absolute;
    left: 0;
    bottom: -999px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #fff;
    padding: 10px 10px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.thumbnail>p {
    font-size: 12px;
}

.thumbnail:hover .title {
    left: 0;
}

.thumbnail:hover .description {
    bottom: -12px;
}

@media screen and (max-width: 768px) {
    #slides {
        width: 100%;
    }

    #gallery {
        display: none;
    }
}

@media screen and (max-width: 450px) {
    .sidebar__news_item_info>p {
        width: 250px;
    }
}