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

.supplier_aside_align_left {
    align-items: end;
    margin-left: 2em;
}

.portal-repositories-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, 25%);*/
    grid-template-columns: repeat(auto-fill, 22.375rem);
}

@media screen and (max-width: 1140px) {
    .portal-repositories-grid {
        grid-template-columns: repeat(auto-fill, 18rem);
    }
}

.profile-authority .aside--menu__list > ul > li > a.authority_home:before {
    background-image: none;
}

body.profile-authority.profile-page-index {
    background: #f7f8fa;
}

.profile_portal_header,
.profile_portal_content {
    justify-content: space-between;
}

.portal_main {
    width: 100%;
    margin-bottom: 1rem;
    gap: 2%;
}

.portal_page_title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0.1em;
    display: flex;
    gap: 0.5em;
    align-items: baseline;
}

.portal_page_title_icon:before {
    content: "";
    display: block;
    width: 1.3em;
    height: 1.3em;
    background: url(../../../front/img/server_icon_black.svg) no-repeat center;
    background-size: contain;
}

.portal_page_subtitle {
    font-size: 1.7em;
}

.portal_logo {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
}

.portal_buttons_wrap {
    flex-wrap: wrap;
    gap: 3%;
    margin-top: 4em;
    width: 60%;
    align-self: flex-start;
}

.portal_main_button {
    width: 48.5%;
    min-height: 8em;
    display: flex;
    align-items: center;
    margin-bottom: 3%;
    border: 3px solid;
    border-radius: 10px;
    background: #ffffff;
}

.portal_main_button a {
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 1.6em;
    font-weight: 700;
    padding: 0.8em 1em;
    width: 100%;
    color: inherit;
    height: 100%;
}

/*.portal_main_button a:before {
  content: '';
  display: block;
  width: 3em;
  height: 3em;
  background-size: contain;
  background: url(../../../front/img/doc_icon_black.svg) no-repeat center;
}*/

/*.green_server_portal_button a:before{*/
/*  background: url(../../../front/img/server_icon_green.svg) no-repeat center;*/
/*  background-size: contain;*/
/*}*/

.portal_main_button a svg {
    width: 3em;
}

.green_server_portal_button a,
.green_server_portal_button {
    color: #6bcb9d;
    border-color: #6bcb9d;
}

.green_server_portal_button a:hover {
    color: #ffffff;
    background: #6bcb9d;
}

.red_label_portal_button a,
.red_label_portal_button {
    color: #f36365;
    border-color: #f36365;
}

.red_label_portal_button a:hover {
    color: #ffffff;
    background: #f36365;
}

.yellow_server_portal_button a,
.yellow_server_portal_button {
    color: #fbc226;
    border-color: #fbc226;
}

.yellow_server_portal_button a:hover {
    color: #ffffff;
    background: #fbc226;
}

.disabled_portal_button,
.disabled_portal_button a {
    pointer-events: none;
    color: #ffffff;
    background: #b3b3b3;
    border-color: #b3b3b3;
    position: relative;
}

.disabled_portal_button:before {
    /*content: 'אינך מנוי לשירות';*/
    content: attr(data-disabled-content);
    display: inline-block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #a0cd79;
    padding: 0.2rem 1rem;
    border-radius: 0.2rem;
    z-index: 1;
    white-space: nowrap;
}

.portal_advert_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*
  min-height: 6rem;
  background: #1071b8;
  margin: 0 auto 3.6vw;
  border-radius: min(1.5vw, 20px);
  background-repeat: no-repeat;
  background-size: cover;
  */
    /*
  height: 6.3vw;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  background-image: url("https://maagarim.city/wp-content/uploads/2024/01/Artboard-1-3.png");
*/
}

.portal_advert_wrap img {
    object-fit: cover;
    width: 100%;
    border-radius: min(1.5vw, 20px);
}

.portal_advert {
    color: #ffffff;
    text-align: center;
    font-size: 1.8rem;
}

.single_portal_repository_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    color: inherit;
    box-shadow: 0 0 10px #bbbbbb;
    border-radius: 10px;
    margin: 20px;
    padding: 1.5rem 0rem 0.5rem;
    font-weight: 400;
}

.single_portal_repository_link:hover {
    background: #2f3140;
    color: #ffffff;
}

.single_portal_repository_logo {
    width: 6em;
    height: 6em;
    display: inherit;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #cccccc;
}

.single_portal_repository_logo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.single_portal_repository_title {
    font-size: 1.2em;
    font-weight: 600;
    text-align: center;
}

.single_portal_repository_type {
    min-height: 1.2rem;
}
/*
.portal_aside {
    width: 38%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal_aside_header {
    display: flex;
    gap: 0.2em;
    font-weight: 700;
    font-size: 2.2em;
    margin-bottom: 0.7em;
    text-wrap: nowrap;
}

.portal_aside_header:before {
    content: "";
    display: block;
    width: 0.8em;
    background: url(../../../front/assets/img/icon-bell-orange.svg) no-repeat
        center;
    background-size: contain;
}

.portal_aside_button_wrap {
    width: 100%;
    padding: 0 2em;
    margin-bottom: 1em;
}

a.portal_aside_button_wrap {
    padding: 0.7em 0.5em 0.7em 0.5em;
    border-radius: 0.5em;
    background: #ffffff;
    color: #2f313f;
    box-shadow: 0 0 10px #bbbbbb;
    transition: all 0.2s;
    cursor: pointer;
}

a.portal_aside_button_wrap:hover {
    color: #ffffff;
    background: #1071b8;
}

.portal_aside_button_wrap .post_meta_data {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
}

.portal_aside_button_wrap .post_title {
    font-weight: 600;
}

.portal_aside_button_wrap .post_tags {
    color: #ffffff;
    background: #fcc640;
    padding: 0.1em 0.5em;
    font-weight: 600;
    border-radius: 0.8em;
    position: relative;
    bottom: 0.1em;
}

.portal_aside_show_all_wrap {
    margin-top: 1em;
}

/*a.portal_aside_show_all_posts {
    color: #ffffff;
    background: #1071b8;
    padding: 0.3em 1.5em;
    font-size: 1.2em;
    border-radius: 0.5em;
}*/

/*a.portal_aside_show_all_posts:hover {
    background: #669ed3;
} */

/********* Single announcement  *********/
body.profile-page-single_announcement .portal_titles {
    max-width: 52em;
}

.announcement_back_button a {
    display: block;
    color: #ffffff;
    background: #b3b3b3;
    padding: 0.2em 1.2em;
    border-radius: 1em;
    margin-top: 0.5em;
}

.announcement_content p {
    margin-bottom: 1em;
}

.portal_main.announcement_content img {
    max-width: 100%;
    height: 100%;
}

/********* Announcements ********/
.announcements_filter_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: end;
    padding: 5px 0;
}

.portal_filter_title .filters_header {
    font-weight: 700;
    font-size: 1.4em;
    margin-left: 1em;
    flex-shrink: 0;
}

.portal_filters_wrapper {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

.authority_portal_announcements_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 2rem;
    gap: 1.875rem;
}

.announcement_item_wrap {
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #f7f7fb;
    border-radius: 8px;
    padding: 1.25rem;
    overflow: hidden;
    gap: 0.3rem;
    box-shadow: 0px 4px 20.4px 0px #0000000D;

}

.announcement_item_wrap .post_image {
    
    margin-bottom: 0.625rem;
    flex-shrink: 1;
}

.announcement_item_wrap .post_image img {
    width: 100%;
    height: 16vh;
    object-fit: cover;
}

.announcement_tags {
    color: #404040;
    background: #ffffff;
    padding: 0.1em 0.5em;
    font-size: 0.8rem;
    border-radius: 0.25rem;
    position: absolute;
    top: 1.825rem;
    left: 1.825rem;
}

.announcement_status {
    text-align: center;
    font-size: 0.75rem;
    padding: 0.531rem 0;
    border-radius: 4px;
    font-weight: 600;
}

.announcement_status.success {
    background-color: #27AE60;
    color: #ffffff;
}

.announcement_status.not-registred {
    background-color: #404040;
    color: #ffffff;
}

.announcement_status.in-registeration {
    background-color: #fec53b;
    color: #ffffff;
}

.announcement_name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #404040;
    margin-bottom: 0.0125rem;
}

.announcement_date {
    font-size: 1rem;
    color: #252a29;
    font-weight: 600;
    margin-bottom: 0.188rem;
}

.announcement_excerpt {
    font-size: 1.125rem;
    color: #404040;
}

@media screen and (max-width: 1439px) {
    .authority_portal_announcements_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .portal_main {
        flex-wrap: wrap;
    }

    .portal_buttons_wrap {
        width: 100%;
        margin-top: 1em;
    }

    .portal_aside {
        width: 100%;
        margin: 3em 0 1em;
    }
}

@media screen and (max-width: 768px) {
    .profile_portal_header {
        flex-direction: column-reverse;
    }

    body.profile-page-announcements .portal_aside_header {
        margin-bottom: 0;
    }

    .profile_portal_content {
        flex-direction: column;
    }

    .announcement_back_button {
        width: fit-content;
        align-self: end;
    }

    .portal_main {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .portal-repositories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .announcements_filter_wrap {
        flex-direction: column;
        align-items: start;
    }

    .portal_filters_wrapper {
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {
    .authority_portal_announcements_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .portal-repositories-grid,
    .authority_portal_announcements_grid {
        grid-template-columns: repeat(1, 100%);
    }

    .portal_main_button {
        width: 100%;
    }
}

.single_portal_repository_wrap {
    padding: 0.5rem;
}

.portal_picture {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-self: center;
    margin-inline-end: 14px;
}

.portal_logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portal_page_title {
    font-family: Assistant;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #404040;
}

.portal_page_subtitle {
    font-family: Assistant;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #565656;
}

.portal_main_button {
    width: 100%;
    padding: 2px;
    border-radius: 24px;
    border: none;
}

.portal_btn_icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 36px;
}

.portal_main_button:hover svg path {
    stroke: #fff;
}

.portal_main_button a {
    background-color: #fff;
    border-radius: 23px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-weight: 700;
    font-size: 42.37px;
    line-height: 91%;
    letter-spacing: 0px;
}

.green_server_portal_button {
    background: linear-gradient(
        54.54deg,
        #62c289 5.49%,
        rgba(98, 194, 137, 0) 71.81%
    );
}

.green_server_portal_button .portal_btn_icon {
    background: rgba(98, 194, 137, 0.3);
}

.red_label_portal_button {
    background: linear-gradient(
        54.54deg,
        #e84952 5.49%,
        rgba(232, 73, 82, 0) 71.81%
    );
}

.red_label_portal_button .portal_btn_icon {
    background: rgba(232, 73, 82, 0.21);
}

.yellow_server_portal_button {
    background: linear-gradient(
        54.54deg,
        #f7b404 5.49%,
        rgba(247, 180, 4, 0) 71.81%
    );
}

.yellow_server_portal_button .portal_btn_icon {
    background: rgba(247, 180, 4, 0.3);
}

.new-portal-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 2px solid #f7f7fb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 20.4px 0px #0000000d;
}

.new-portal-item__logo {
    position: relative;
    width: 100%;
    background-image: url(../../img/portal_item_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 167px;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: luminosity;
}

.new-portal-item.yellow .new-portal-item__logo {
    background-color: rgba(254, 197, 59, 0.7);
}

.new-portal-item.green .new-portal-item__logo {
    background-color: rgba(62, 155, 66, 0.3);
}

.new-portal-item__type {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 4px;
    padding: 4px 8px;
    background-color: #ffffff;
    color: #68696b;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.new-portal-item__status {
    width: 100%;
    padding: 9px 0;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #ffffff;
    background-color: #404040;
    border-radius: 4px;
    margin-top: 10px;
}

.new-portal-item.gray.new-portal-item__status {
    background-color: #404040;
}
.new-portal-item.yellow .new-portal-item__status {
    background-color: #fec53b;
}
.new-portal-item.green .new-portal-item__status {
    background-color: #27AE60;
}

.new-portal-item__name {
    font-size: 20px;
    color: #404040;
    margin-top: 10px;
}

.new-portal-item__image img {
    max-height: 110px;
    height: auto;
    width: auto;
    max-width: 100px;
    object-fit: cover;
    border-radius: 9px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

@media (min-width: 992px) {
    .w-lg-243 {
        width: 243px;
    }
}
