/*
 Theme Name:   DotOrg Child
 Theme URI:    https://themnific.com/work/dotorg-theme/
 Description:  Child theme for DotOrg theme.
 Author:       CABI
 Template:     dotorg
 Version:      1.0
*/

.neutral-grey{
    color : #5C5C5C;
}
.truncate {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    max-height: 5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 576px) {
    .custom-pagination .page-link {
        padding: 4px 8px;
        font-size: 14px;
        min-width: 28px;
    }
}

@media (max-width: 380px) {
    .search .search-btn {
       padding: 0 10px !important;
    }
}

@media screen and (max-width: 750px) {
    .blog-img{
        height: 80px !important;
        max-width: 100%;
    }
}
@media screen and (min-width: 768px) {
    .blog-img{
        height: 80px !important;
        width: 100%;
    }
}

@media screen and (min-width: 988px){
    .blog-img{
        height: 120px !important;
        width: 100%;
    }
}

.sort-by-select {
    background-color: transparent;
    border: 0;
    width:fit-content;
    --bs-form-select-bg-img: unset;
    font-size: 1rem;
    font-weight: 600 !important;
    padding: 0 10px !important;
}
.search{
    height:50px;
}
.search-btn{
    display: flex;
    width: 70px;
    height: 28px;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background:#D6D6D6;
    border-radius:unset;
}
.search-btn:hover, .search-btn:disabled{
    background:#D6D6D6;
}

.search .search-btn.active,.search .search-btn.hover {
    background-color: #008176
}

.custom-pagination .page-item {
    list-style: none;
    margin: 0 6px
}

.custom-pagination .page-link {
    background-color: #fff;
    border: none;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #008176;
    font-weight: 600;
    min-width: 40px;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: background-color .3s ease,color .3s ease;
    transition: background-color .3s ease,color .3s ease
}

.custom-pagination .page-link:hover {
    background-color: #e0e0e0;
    color: #368729;
    text-decoration: none
}

.custom-pagination .page-item.active .page-link {
    background-color: #008176;
    color: #fff;
    font-weight: 700
}

.custom-pagination .page-item.disabled .page-link {
    background-color: #fff;
    color: #adadad;
    pointer-events: none
}

.custom-pagination {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    text-decoration: none
}

.wp-block-buttons {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.wp-block-buttons
.wp-block-button__link {
    color: #fff;
    background-color: rgba(0, 129, 118, 1);
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    font-size: 1.125em;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{
    background: #000000 !important;
    opacity: 0.8 !important;
    color: #ffffff !important;
    text-align: start !important;
}
ul.wp-block-list>li {
    margin-left: 30px;
	line-height: 32px;
}
.text-success{
    color: #008176 !important;
}
.cta-section {
    background-size: cover !important;
    background-position: center top !important;
}
.pt-7 {
    padding-top: 5rem !important;
}
.mt-7 {
    margin-top: 5rem !important;
}
.mb-7 {
    margin-bottom: 5rem !important;
}
.btn-primary{
    background-color:#CF9C00;
    color:#000000;
}
.border-primary{
    color:#CF9C00;
}
.opacity-80{
    opacity:0.8;
}
.wp-block-image figcaption {
    background: #000000 !important;
    opacity: 0.8 !important;
    color: #ffffff !important;
    text-align: start !important;
    padding: 5px 15px;
	margin-top:0px;
}
.wp-block-image{
	margin-bottom:15px;
}