/* SD Changes 03/05/2023 */
.btn-default, .site.btn-default, .back.btn-default, .more.btn-default{
    background:#3e8600;
    color: #fff;
    font-size: 14px;
  }
  
  .btn-default:hover, .site.btn-default:hover, .back.btn-default:hover, .more.btn-default:hover{
    background:#fff;
    color: #3e8600;
  }
  
  .site, .back, .more{
    color:#3e8600;
  }


/* SD Changes 09/05/2023 */

/* add an animation for the "sticky" class */
@keyframes slideDown {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
  }

.navbar {
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
  }
  
  .navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown .5s;
  }

  .header  .logo{
    transition: height 0.1s ease-in-out;
  }


  .navbar.sticky .logo{
    height: 25px;
    background-size: auto 100%;
    transition: height 0.1s ease-in-out;
  }  

  .navbar.sticky  .header .buttons{
    top:5px;
  }

  .navbar.sticky  .header .hamburger{
    top:-13px;
  }


#eu-agencies{
    background-color: #fff;
    color:#252525;
    font-size: 19px;
    font-weight: 500;
    border-top: 2px solid #DADADA;
    padding:30px 0 59px 0;
}
#eu-agencies .row > .col-sm-12{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#eu-agencies p{
    max-width: 50%;
}

.btn.btn-outline,
.btn.btn-solid{
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid;
    border-radius: 16px;
    padding:8px 12px;
}

.btn.btn-solid-grn{
    background-color: #3E8600;
    color:#fff;
}

.btn.btn-solid-grn *{
    color:#fff;
}

.btn.btn-outline-grn{
    border-color: #3E8600;
    color: #2C5F00
}

.btn.btn-outline-grn *{
    color: #2C5F00
}

.btn.btn-outline-grn:hover,
#eu-agencies .more:hover{
    background: #3E8600;
    color: #fff;
}

body:not(.homepage) #footer{
    border-top:2px solid #DADADA;
    margin-top:60px;
}

#footer .btn-outline-grn:hover h4{
    color: #fff;
}

.btn.btn-solid-grn:hover{
    border-color: #3E8600;
    color: #2C5F00;
    background-color: transparent;
}

.btn.btn-solid-grn:hover h4{
    color: #2C5F00;
}

#eu-agencies .more{
    border-color: #3E8600;
    color: #2C5F00;
    padding:10px 0;
    flex-basis: 228px;
}


#mission-and-tasks{
    background-color: #303030;
    padding:37px 0;
}

#mission-and-tasks .row{
    margin-right: -65px;
    margin-left: -65px;
}

#mission-and-tasks .col-sm-4{
    padding: 0 65px;
}

#mission-and-tasks h4{
    font-size: 22px;
}

#mission-and-tasks p{
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
}

#footer{
    background-color: #fff;
    color: #424B5A;
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    padding: 43px 30px;
}

#footer .navbar-footer{
    padding-left:120px;
    margin-bottom: 60px;
}

#footer .navbar-footer h5{
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

#footer .navbar-footer .menu a{
    color: #424B5A;
    font-weight: 500;
    text-decoration: underline;
    font-size: 16px;
    line-height: 21px;
}

.row.navbar-footer {
    margin-left:-40px;
    margin-right:-40px;
}

#footer .navbar-footer .menu li{
    margin-bottom: 18px;
}

.navbar-footer .col-sm-2{
    width: 20%;
    padding:0 22px;
}

#footer .navbar-footer{
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.footer-careers,
.footer-contact{
    background-image: none;
    padding: 0;
    display: flex;
}
#footer .footer-careers .btn,
#footer .footer-contact .btn{
    flex-basis: 228px;
    margin-bottom:18px;

}

#footer .footer-careers .btn h4,
#footer .footer-contact .btn h4{
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    text-transform: capitalize;
}


#footer .footer-about p{
    margin:30px 0 30px 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color:#252525;
}

#footer .social-media{
    text-align: left;
    display: flex;
    margin-bottom: 0;
}

#footer .social-media a{
    width: 36px;
    height: 36px;
    background-size: contain;
    margin: 0 7px;


}

#footer .copyrights{
    align-items: center;
}

#footer .copyrights .text-right,
#footer .copyrights a{
    color:#424B5A;
    font-size: 13px;
    text-align: right;
}


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

    #mission-and-tasks .row{
        margin-right: -25px;
        margin-left: -25px;
    }

    #mission-and-tasks .col-sm-4{
        padding:0 25px;
    }

    #footer > .container-fluid > .row > .col-sm-3,
    #footer > .container-fluid > .row > .col-sm-9{
        width:100%;
        padding:0;
    }

    .footer-careers, .footer-contact {
        display: inline-flex;
        min-width: 228px;
        margin-right:20px;
    }

    #footer > .container-fluid > .row > .col-sm-9{
        margin-top:40px;
    }

    #footer .navbar-footer{
        padding:0;
    }

    .row.navbar-footer {
        margin-left:-15px;
        margin-right:-15px;
    }

    .navbar-footer .col-sm-2{
        padding: 0 15px;
    }
}

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

    #eu-agencies > .container > .row > .col-sm-12{
        flex-direction: column;
        align-items: flex-start;
    }

    #eu-agencies p{
        max-width: 100%;
    }

    #eu-agencies .more{
        flex-basis: unset;
        width:228px;
        margin-top:30px;
    }

    #mission-and-tasks .row{
        margin-right: -15px;
        margin-left: -15px;
    }

    #mission-and-tasks .col-sm-4{
        padding: 0 15px;
    }

    
}

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

    #mission-and-tasks .col-sm-4{
    
        width: 100%;
        margin-bottom: 30px;
    }

    #mission-and-tasks .col-sm-4:last-child{
        margin-bottom: 0px;
    }

    #mission-and-tasks h4,
    #mission-and-tasks p{
        margin-bottom: 10px;
    }

    #footer .copyrights{
        align-items: flex-start;
        flex-direction: column;
    }

    #footer .navbar-footer {
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    #footer .navbar-footer .col-sm-2{
        width:100%;
        margin-bottom: 20px;

    }

    #footer .navbar-footer .col-sm-2 h5{
        cursor: pointer;
        position: relative;
    }

    #footer .navbar-footer .col-sm-2 h5:after{
        content:"";
        position: absolute;
        right:0;
        top:8px;
        box-sizing: border-box;
        height: 8px;
        width: 8px;
        border-style: solid;
        border-color: #3E8600;
        border-width: 0px 1px 1px 0px;
        transform: rotate(-45deg);
        transition: transform 100ms ease-in-out;
    }

    #footer .navbar-footer .col-sm-2 h5.is-active:after{
        transform: rotate(45deg);

    }

    /* CSS */
    #footer .navbar-footer .col-sm-2 .menu.hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
  }
  #footer .navbar-footer .col-sm-2 h5.is-active {
    color: #3E8600;
  }
  #footer .navbar-footer .col-sm-2 .menu {
    max-height: 500px; /* Change this to suit the height of your menu */
    overflow: hidden;
    transition: max-height 0.5s ease-in;
  }
    
}
