﻿
.section-title{
    background: #CEEDDE;
    padding-bottom: 1em !important;
}

.media-list-title{
    color: #25935F !important;
    /* padding-top: 6% !important; */
    padding-inline-end: 8% !important;
    font-size: 1.2em !important;

}
.media-list-title> h6{
    border-bottom: 1px solid black !important;
    font-family: "IBMPlexSans-bold" !important;
    padding-bottom: 0.5em !important;
}


#services-cards-container{
    display: grid !important;
    grid-template-columns: repeat(3,1fr);
    /*padding-inline-end: 4% !important;
    padding-top: 4% !important;
    padding-bottom: 4% !important;
    padding-inline-start: 8% !important;*/
    text-align: center !important;
    text-align-last: center !important;
    gap: 2em;
    width: 100% !important;
    padding-inline: 8dvw;
}

.card-content{
    display: flex;
    flex-direction: column;
    /* padding-inline: 1em !important;
    padding-bottom: 1em !important;*/
    gap: 8px !important; 
    text-align: start;
    text-align-last: start;
}

.card-content>label{
    align-self: auto;
    direction: ltr;
    font-size: x-small;
    padding-top: 0.5em !important;
    height: 100% !important;
    display: inline-flex;
    align-items: end;
}

.la.la-calendar:before {
    display: inline-flex;
    font-size: max(1.3vw, 23px);
}

.card-content>a{
    align-self: self-start;
    text-decoration: none;
    color: whitesmoke !important;
    /* font-family: "IBMPlexSans-bold" !important; */
    background: #25935F;
    border-radius: 6px ;
    font-size: small !important;
    padding: .5em 1em !important;
}

.card-description{
    line-height: 1.5em !important;
    font-size: smaller;
}

.services-card{
    border: #ddd 2px solid ;    
    border-radius: 16px;
    /* gap: 24px !important; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* max-width: 350px !important; */
    padding: 16px !important;
    width: -webkit-fill-available;
}

.services-card:nth-child(n+6) {
    display:none;
}

.services-card:hover{
    border: #25935F 2px solid ;    
    transition: 0.3s ease;
    transform: translateY(-3%);

}

.services-card:hover > h6,img{
    color: #25935F !important;

}

.card-content h6 > a{
    font-family: "IBMPlexSans-bold" !important;
    font-size: medium;
    color: black;
    text-align: start !important;
    text-align-last: start !important;
    text-decoration: none;

}

.services-card>img{
    height: 200px;
    width: 100% !important;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 8px;
}

.filter-types{
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
    padding-inline: 1em !important;
    background-color: unset !important;
    border-radius: 5px;
    border: 1px solid black !important;
}

.filter-types-active{
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
    padding-inline: 1em !important;
    background-color: unset !important;
    border-radius: 5px;
    border: 2px solid #25935F !important;
    box-shadow: -1px 1px 15px -2px lightgray !important;
}

.search{
    display: flex;
    flex-direction: row !important;
    gap: 0.557px !important;
}

.search > .bi{
    position: relative;
    top: 4px;
    left: 1.5em;
    background: none !important;
    border: 0 none;
    padding: 5px;
    height: auto;
    width: auto;
    min-width: 0;
    font-size: 1.5rem;
    color: #403e68 !important;

}

.search > .bi:active{
    color: black !important;
}

.filter-search-bar{
    border: 1px solid black;
    border-radius: 5px !important;
    height: inherit !important;
    padding: .375rem .75rem !important;
}

.view-more{
    display: flex;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    justify-content: center;
    padding-top: 4em !important;
}

i.la.la-angle-double-down{
    border: 2px solid #ddd;
    padding: 0.5em 2em;
}

.view-more> button{
    display: flex;
    padding-inline: 1em !important;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    border-radius: 5px !important;
    background: unset !important;
    border: 1px solid black !important;
}

.news-content{
    width: 100% !important;
    padding-bottom: 1.5em !important;
}

.news-template-content {
    display: flex;
    flex-direction: column-reverse;
    padding: 2% 8%;
    width: 88%;
}

.news-header{
    /*border-bottom: 1px solid #25935F;*/
    margin-bottom: 2rem;
}

.news-text{
    text-align: start !important;
    text-align-last: start !important;
    padding-bottom: 4em !important;
    line-height: 1.8em !important;
    display: none !important;
}

.sharing-platforms{
    gap: 0.5em !important;
    padding-top: 1em !important;
    height: 50px !important;
}

.share-button>i {
    font-size: 30px !important;
    color: #1b5b41 !important;
    display: flex;
    margin-inline: auto;
}



.share-button>i:hover{
    top: -2px !important;
    position: relative;
    border-bottom: 1px solid black;
    height: fit-content !important;
}

.post-date {
    justify-content: start;
    font-size: max(0.5vw, 20px);
    padding-bottom: 2em !important;
    color: gray;
    align-items: center;
    margin: 0;
    border-top: 2px solid #29c175;
    width: 100%;
    padding-top: 1rem;
    z-index: 20;
}

.news-title {
    color: #25935F !important;
    font-family: "IBMPlexSans-bold" !important;
    padding-bottom: 1em !important;
    margin: 0;
    line-height: 1.5em !important;
    padding-top: 1rem;
    font-size: max(1.2vw, 25px);
    width: 100%;
    z-index: 20;
}

.news-sub-title{
    /*font-family: "IBMPlexSans-bold" !important;*/
    padding-bottom: 1em !important;
    margin: 0;
    color: black;

}

.text-side {
    width: 100%;
    padding-top: 2em !important;
    padding-bottom: 3em !important;
    overflow: hidden;
    z-index: 20;

}

.img-side {
    flex-grow: 1;
    overflow: hidden;
    width: 100%;
    z-index: 20;
}

.img-section{

    justify-items: center !important;
    align-self: center;
    /* background: url("../assets/svgs/Artboard\ â€“\ 10.svg"); */
    /*padding-top: 3em !important;
    padding-bottom: 3em !important;*/
}

.background-lines>div{
    position: absolute;
    z-index: 1;
    transform: translateY(-8px);
    width: 270px;
    display: flex;
    left: 7.5vw;
    background: url("../assets/svgs/Artboard\ â€“\ 10.svg");
    content: "";
    height: 100vh;
    background-size: 100%;
    display: none;
}

.background-lines{
    position: relative;
    z-index: 1;
}

.img-spacing {
    z-index: 2;
    border: 3px #1B8354 solid;
    border-radius: 20px;
    width: 100%;
    position: relative;
    background: #fff !important;
    max-height: 1000px;
}

.img-spacing-service{
    z-index: 2;
    border: 3px #1B8354 solid;
    border-radius: 20px;
    width: 400px;
    position: relative;
    background: #fff !important;
    height: 300px;
}

.img-spacing-service img{
    z-index: 2;
    width: 400px !important;
    height: 300px;
    /*object-fit: cover;*/
    border-radius: 20px;
    padding: 0.5em !important;
    position: relative;
    object-position: 50% 10%;
}

.img-spacing img {
    z-index: 2;
    width: 100% !important;
    max-height: 900px;
    object-fit: cover;
    border-radius: 20px;
    padding: 0.5em !important;
    position: relative;
    object-position: 50% 10%;
    transform: translate(0px, -2px);
}

.text-content.d-flex.flex-column {
    border-bottom: none;
}

i.la.la-calendar{
    display: flex;
    padding-inline-end:0.2em;
}

.card-content h6 {
    text-align: start !important;
    text-align-last: start !important;
    margin: 0 !important;
}

div#SPLayout {

}


div.article, div.welcome {
    padding: 0 !important;
    /* width: 92%; */
}

.share-container {
    display: inline-flex;
    padding-top: 1rem;
    border-top: 2px solid #29c175;
    width: 60%;
}

.share-container a {
    /* border: 2px solid; */
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    /* border-color: green; */
    display: flex;
    width: 50px;
    height: auto;
    /* flex-direction: row; */
    align-items: center;
    /* margin-inline: auto; */
    border-color: green;
    text-decoration: unset;
    background: #E5F6ED;
    margin: 0.5rem;
    font-size: 20px !important;
}




i.icon-svg-xN svg {
    max-width: 30px;
    vertical-align: middle;
    height: auto;
    fill: #1B5B41;
}

.page-content {
    padding: 0% !important;
}



.news-template-content::after {
    content: "";
    /* display: flex
; */
    /* flex-direction: column-reverse; */
    /* padding: 2% 8%; */
    background-image: url(/_catalogs/masterpage/MOFAMissions/Assets/Main/assets/svgs/w-Ar.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: 27vw;
    background-position-x: 0;
    width: 100%;
    height: 750px;
    position: absolute;
    top: 0;
}

html[dir=ltr] .news-template-content::after {
    content: "";
    /* display: flex
; */
    /* flex-direction: column-reverse; */
    /* padding: 2% 8%; */
    background-image: url(/_catalogs/masterpage/MOFAMissions/Assets/Main/assets/svgs/w-E.svg);
    background-repeat: no-repeat;
    background-size: 27vw;
    background-position-y: top;
    background-position-x: right;
    width: 100%;
    height: 750px;
    position: absolute;
    /* transform: scale(-1); */
}

.article .ms-webpart-zone.ms-fullWidth {

}

.edit-mode-panel.roll-up, .edit-mode-panel.title-edit {
    display: block;
    z-index: 25;
    position: relative;
}

.card-content i.la.la-calendar::before {
    font-size: x-large !important;
}

.card-content>label{
font-size: medium !important;
}

.ms-rtestate-field p, p.ms-rteElement-P{
    /*padding-inline: 8%;*/
}

.ms-rtestate-field {
    padding-top: 2rem;
    padding-inline: 8dvw ;
    display: flex !important;
    flex-direction: column;
}

.ms-rtestate-field>p {
    padding-inline: 0;
}

.article.article-body div#SearchBox {
    margin-inline-end: 8dvw;
}
span h2.ms-webpart-titleText {
    padding-inline: 8dvw;
}

.image .ms-rtestate-field {
    padding: 0 !important;
}

.text-content .ms-rtestate-field {
    padding: 0 !important;
}

.article .article-content{
    /*padding-inline: 8%;*/
}

.ms-formfieldvaluecontainer p {
    padding-inline: 1% !important;
}
