/*!
Theme Name: AGRF
Theme URI: https://agrf.org/
Author: Timothy Radier
Author URI: https://kihingu.com/
Description: AGRF THEME 2023
Version: 1.0.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: agrf
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

AGRF is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@keyframes flip-top {
    to {
        transform: rotateX(90deg);
    }
}

@keyframes flip-bottom {
    to {
        transform: rotateX(0deg);
    }
}

div.countdown-summit,
div.countdown-summit * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div.countdown-summit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    font-size: 14px;
    font-family: "Red Hat Text", sans-serif;
}

div.countdown-summit .summit-cards {
    display: flex;
    gap: 15px;
}

div.countdown-summit .summit-cards .summit-card {
    text-align: center;
    font-size: 25px;
}

div.countdown-summit .summit-cards .summit-card p {
    color: #8486a9;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

div.countdown-summit .summit-cards .summit-card .flip-summit-card {
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 7px 3px 0 #151515; */
    position: relative;
    margin: 15px auto;
}

div.countdown-summit .summit-cards .summit-card .top-half,
div.countdown-summit .summit-cards .summit-card .bottom-half,
div.countdown-summit .summit-cards .summit-card .top-flip,
div.countdown-summit .summit-cards .summit-card .bottom-flip {
    color: #fff;
    font-size: 35px;
    height: 49px;
    width: 77px;
    padding: 23px 7px;
    overflow: hidden;
    text-align: center;
    will-change: transform !important;
    /* box-shadow: 0 3px rgba(71, 83, 115, 0.2) inset; */
}

div.countdown-summit .summit-cards .summit-card .top-half,
div.countdown-summit .summit-cards .summit-card .top-flip {
    color: #fff;
    border-radius: 5px 5px 0 0;
    background-color: #61a60f;
}

div.countdown-summit .summit-cards .summit-card .top-half::before,
div.countdown-summit .summit-cards .summit-card .top-flip::before {
    content: "";
    background-color: #fff;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    bottom: -5px;
    left: -5px;
}

div.countdown-summit .summit-cards .summit-card .top-half::after,
div.countdown-summit .summit-cards .summit-card .top-flip::after {
    content: "";
    background-color: #fff;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    bottom: -5px;
    right: -5px;
}

div.countdown-summit .summit-cards .summit-card .bottom-half,
div.countdown-summit .summit-cards .summit-card .bottom-flip {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 0 0 5px 5px;
    background-color: #61a60f;
    /* box-shadow: 0 -2px 5px 0 rgba(71, 83, 115, 0.7) inset; */
}

div.countdown-summit .summit-cards .summit-card .bottom-half::before,
div.countdown-summit .summit-cards .summit-card .bottom-flip::before {
    content: "";
    background-color: #fff;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    top: -5px;
    left: -5px;
}

div.countdown-summit .summit-cards .summit-card .bottom-half::after,
div.countdown-summit .summit-cards .summit-card .bottom-flip::after {
    content: "";
    background-color: #fff;
    height: 10px;
    width: 10px;
    border-radius: 100%;
    position: absolute;
    top: -5px;
    right: -5px;
}

div.countdown-summit .summit-cards .summit-card .top-flip {
    position: absolute;
    transform-origin: bottom;
    transform: rotateX(0deg);
    animation: flip-top 0.5s ease-in forwards;
}

div.countdown-summit .summit-cards .summit-card .bottom-flip {
    position: absolute;
    bottom: 0;
    transform-origin: top;
    transform: rotateX(90deg);
    animation: flip-bottom 0.5s ease-out 0.5s;
}

@media screen and (min-width: 1400px) {
    div.countdown-summit .summit-cards {
        gap: 25px;
    }
    div.countdown-summit .summit-cards .top-half,
    div.countdown-summit .summit-cards .bottom-half,
    div.countdown-summit .summit-cards .top-flip,
    div.countdown-summit .summit-cards .bottom-flip {
        font-size: 70px !important;
        height: 87px !important;
        width: 125px !important;
        padding: 34px 7px !important;
    }
}

@media screen and (max-width: 800px) {
    .ml-sm-0 {
        margin-left: 0 !important;
    }
}




a,
a:hover {
    color: #61a60e;
    text-decoration: none !important;
}

a.text-dark-green,
a.text-dark-green:hover {
    color: #144b2d;
}

a.underline:hover {
    text-decoration: underline !important;
}

#wpforms-form-58 .wpforms-field {
    background-color: none;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding-top: 7px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 4px;
    overflow: hidden;
    width: 100%;
    -webkit-transition: background-color .2s ease;
    transition: background-color .2s ease;
    margin-bottom: 1rem;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
    display: block;
    font-weight: 700;
    font-size: 16px;
    float: none;
    line-height: 1.3;
    margin: 0 0 4px 0;
    padding: 0;
}

#wpforms-form-58 input {
    height: 25px;
    min-height: 25px;
    border: 0;
    padding: 0;
    margin-top: -4px;
    background: 0 0;
    border-radius: 0;
    resize: vertical;
    box-shadow: none;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    font-size: .9375rem;
    outline: none;
    outline-color: initial;
    outline-style: none;
    outline-width: initial;
    color: #5b5b5b;
}

#wpforms-form-58 textarea {
    border: 0;
    padding: 0;
    margin-top: -4px;
    background: 0 0;
    border-radius: 0;
    resize: vertical;
    box-shadow: none;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    font-size: .9375rem;
    outline: none;
    outline-color: initial;
    outline-style: none;
    outline-width: initial;
    color: #5b5b5b;
}

#wpforms-form-58 .wpforms-submit {
    width: 50%;
    font-weight: 700 !important;
    color: #fff;
    background-color: #61a60f;
    border-color: #61a60f;
    display: inline-flex;
    justify-content: center;
    padding: 0.719rem 1.9rem;
    font-size: 1rem;
    outline: none;
    outline-color: initial;
    outline-style: none;
    outline-width: initial;
    align-items: center;
    position: relative;
    transition: all .4s ease-in-out;
    text-transform: capitalize;
    font-family: 'Montserrat', serif;
    overflow: hidden;
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5;
    border: 1px solid transparent;
}

#wpforms-form-58 label.wpforms-field-label {
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
    display: block;
    line-height: 20px;
    margin-bottom: 2px;
    opacity: 1;
    -webkit-transition: opacity .2s ease;
    transition: opacity .2s ease;
}

.newsletter-wrapper {
    background-color: #61a60e;
    padding: 20px 30px
}

.newsletter-subscribe,
.newsletter-subscribe:hover {
    background-color: #3c674d;
    border: 2px solid #3c674d;
    color: #fff;
    border-radius: 0
}

.newsletter-link,
.newsletter-link:hover {
    background-color: transparent;
    color: #fff;
    border-radius: 0;
    border: 2px solid #fff
}

.related-news * {
    font-size: 94%;
}

.agrf-events-wrapper img {
    aspect-ratio: 4/3;
    object-fit: cover
}

.agrf-events-wrapper h2 {
    font-size: 22px;
    text-transform: uppercase
}

.agrf-events-wrapper .event-share {
    font-size: 12px;
    display: none
}

.events-category li {
    display: inline-block;
    padding-right: 20px;
    font-size: 20px;
    text-transform: uppercase;
    color: #144b2d;
    font-weight: 700;
    cursor: pointer
}

.events-category li.active {
    color: #ff6733;
    position: relative
}

.events-category li.upcoming {
    border-right: 1px solid #0b2e13
}

.text-small {
    font-size: 80%
}

.event-details {
    background-color: #61a60e;
    padding: 20px
}

.share {
    font-size: 11px
}

.publications-cats li {
    display: inline-block;
    padding-right: 20px;
    font-size: 14px;
    text-transform: uppercase;
    color: #939393;
    font-weight: 700;
    cursor: pointer
}

.publications-cats li.active {
    color: #000;
    position: relative
}

.pub-date {
    position: absolute;
    bottom: 0;
    left: 15px;
    background-color: rgba(234, 143, 39, .9);
    padding: 20px 10px;
    font-size: 13px;
    font-weight: 700
}

section.summit-2 .feature-news img {
    object-fit: cover;
    object-position: center;
}

section.secretariat div.col-md-3 {
    position: relative;
}

section.secretariat .profile_avatar {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .24);
    -webkit-transition: padding .2s cubic-bezier(0, 0, .25, 1);
    transition: padding .2s cubic-bezier(0, 0, .25, 1);
}

section.secretariat .profile_avatar img {
    width: 100%;
}

section.secretariat .profile_name {
    color: #144b2d;
    font-weight: bold;
    font-size: 20px;
}

section.secretariat .profile_title {
    color: #60a511;
    font-size: 15px;
}

section.secretariat .profile_bio {}

section.secretariat button.view-profile {
    border: 0;
    background: transparent;
    color: #60a511;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    right: 5px;
}

#secretariatModal .modal-profile-photo {
    height: 70%;
    object-fit: cover;
    object-position: top;
}

#secretariatModal .modal-profile {
    background-color: #60a511;
    height: 30%;
    padding: 20px;
}

#secretariatModal .modal-bio {
    font-size: 1.0rem;
    font-weight: 300;
    line-height: 2;
}

.new-journey-middle .img-wrap::before {
    border-bottom: 6px solid #d4a024;
    width: 30px;
    position: absolute;
    content: "";
    left: -10px;
    top: 48%;
}

.new-journey-middle .img-wrap::after {
    border-bottom: 6px solid #eb8922;
    width: 30px;
    position: absolute;
    content: "";
    right: -10px;
    top: 48%;
}

.page-meta-title-white {
    color: #fff;
    text-transform: uppercase;
    border-top: 1px solid #fff;
    padding-top: 20px;
}

.page-meta-description-title {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.7;
    font-weight: 300;
}

section.new-what-we-do .content {
    position: absolute;
    bottom: 0;
    background: rgba(97, 166, 15, 0.6);
    width: calc(100% - 1.5rem);
}

section.new-what-we-do .wwd1 {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 5px;
    color: #fff;
}

section.new-what-we-do button {
    position: absolute;
    bottom: 20px;
    right: 5px;
    background: transparent;
    border: none;
    padding: 0;
    color: #fff;
}

div.accordion.thematicPlatforms {}

div.accordion.thematicPlatforms .accordion-body {
    font-size: 13px;
}

div.accordion.thematicPlatforms .accordion-item {
    color: #fff;
    background-color: transparent;
    border: none;
    margin-bottom: 20px;
}

div.accordion.thematicPlatforms .accordion-button {
    background-color: transparent;
    color: #fff;
    box-shadow: none;
    border-top: 2px solid #fff;
    border-radius: 0;
}

div.accordion.thematicPlatforms .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M8 0a1 1 0 0 1 1 1v6h6a1 1 0 1 1 0 2H9v6a1 1 0 1 1-2 0V9H1a1 1 0 0 1 0-2h6V1a1 1 0 0 1 1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
    transform: scale(.7) !important;
}

div.accordion.thematicPlatforms .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' d='M0 8a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
}

#comingSoonModal button.close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 9999;
    background-color: transparent;
    color: #000;
    border: none;
    font-size: 40px;
}

#comingSoonModal .modal-body>div {
    border: 5px solid #000;
}

#comingSoonModal h1 {
    color: #144b2d;
    margin-top: 50px;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 50px;
}

#comingSoonModal h3 {
    color: #eb8922;
    font-size: 35px;
    margin-bottom: 20px;
}

#comingSoonModal h4 {
    color: #eb8922;
    font-size: 30px;
    margin-bottom: 20px;
}

#comingSoonModal .summit-links {
    margin-top: 40px;
}

#comingSoonModal .register,
#comingSoonModal .register:hover {
    margin-right: 40px;
    text-decoration: none;
    background-color: #144b2d;
    color: #fff;
    display: inline-block;
    padding: 25px 70px;
    text-transform: uppercase;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
}

#comingSoonModal .find-more,
#comingSoonModal .find-more:hover {
    margin-right: 40px;
    text-decoration: none;
    background-color: transparent;
    color: #144b2d;
    display: inline-block;
    padding: 20px 50px;
    font-weight: bold;
    border: 5px solid #eb8922;
    text-transform: uppercase;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .navbar-custom .navbar-nav .nav-item .nav-link {
        color: #fff !important;
    }
}

:root {
    --bs-link-color: #61a60e !important;
}

div.call-to-action {
    position: absolute;
    bottom: 50px;
    z-index: 99999999;
    width: 600px;
    right: 0
}

div.call-to-action h6 {
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
}

div.call-to-action h6::after {
    content: '';
    position: absolute;
    right: 0;
    width: 40%;
    left: 1.5rem;
    bottom: 0;
    background-color: #61a60e;
    height: 1px;
}

.float-right {
    float: right;
}

div.call-to-action>div.card {
    --bs-card-bg: transparent;
}

div.call-to-action .call-body {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.text-underline {
    text-decoration: underline !important;
}

button.summit-registration-btn,
div.summit-registration-btn button{
	background-color: #60a511 !important;
    color: #fff !important;
    padding: 10px 100px !important;
}
.big-cta {
    background-color: #60a511;
    /*border: 1px solid #fff;*/
    display: block;
    margin: .3em;
    padding: 30px;
    text-align: center;
    transition: background-color .3s
}
 
.big-cta .link-title {
    color: #fff;
    display: flex;
    font-size: 19px;
    font-weight: 300;
    justify-content: space-evenly;
    line-height: 1.4
}
 
.big-cta .link-title p {
    margin: 0
}
 
.big-cta .link-title .title {
    flex-grow: 0.7;
    transition: margin-right .5s
}
 
.big-cta .link-title .glyphicon {
    transition: margin-right .5s
}
 
@media screen and (min-width: 360px) {
    .big-cta .link-title {
        font-size:21px
    }
}
 
@media screen and (min-width: 768px) and (max-width:991px) {
    .big-cta .link-title {
        font-size:19px
    }
}
 
@media screen and (min-width: 1200px) {
    .big-cta .link-title {
        font-size:22px
    }
}
 
.big-cta:hover {
    background-color: #fff;
    border: 1px solid #60a511;
    box-shadow: 0 9px 6px -6px #000;
    text-decoration: none
}
 
.big-cta:hover .link-title {
    color: #60a511
}
 
.big-cta:hover .link-title .title {
    margin-right: 1em
}
 
.big-cta:hover .link-title .glyphicon {
    margin-right: -.5em
}
 
@media screen and (min-width: 1200px) {
    .big-cta:hover .link-title .glyphicon {
        margin-right:-1em
    }
}
 
.big-cta:focus {
    text-decoration: none
}
 
@media screen and (min-width: 768px) and (max-width:991px) {
    .big-cta {
        padding:30px 15px 30px 20px;
        text-align: left
    }
}
 
@media screen and (min-width: 992px) {
    .big-cta {
        padding:38px 32px
    }
}