/* 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;
  }  
  .header .buttons{
    display: flex;
    align-items:center;
    top:0;
    min-height: 47px;

  }

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

  .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
}
*/
#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;
}



#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: 500;
    font-size: 18px;
    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;
}

*/

.footer {
    max-width: 100%;
    margin:auto;
    color: #003399;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 300;
    padding: 20px 0;
    line-height: 1;
  }
  
  .footer.careers-footer{
    padding:0;
  }
  
  .footer .footer-about-wrapper{
    color: #fff;
    background: #00263E;
    padding:72px 0;
  }
  
  .footer .footer-about-wrapper > .row,
  .footer .footer-links-wrapper > .row,
  .footer .footer-copy-wrapper > .row{
    max-width: 1170px;
    margin:auto;
  }
  
  
  .footer .footer-about{
    display: flex;
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    gap:32px;
  }
  
  .footer .footer-about .about-text{
    max-width: 622px;
  }
  
  .footer .footer-about  .button-container{
    margin-top:24px;
  }
  
  .footer .footer-about .btn{
    border-radius: 4px;
    padding:8px 16px 8px 16px;
    margin:0;
  }
  
  .footer .footer-about .btn:last-child{
    margin-left:16px;
  }
  
  .footer .footer-about .btn h4{
    margin:0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
  }
  
  .footer .footer-about .btn-solid-grn{
    background-color:#009B48;
    color:#fff;
  }
  
  .footer .footer-about .btn-outline-grn{
    border: 1px solid #009B48;
    color:#fff;
    background-color:transparent;
  }
  
  .footer .footer-about-wrapper .social-media{
    display: flex;
    gap:16px;
    justify-content:flex-end;
  }
  
  .footer .footer-about-wrapper .social-media > a{
    width:24px;
    height:24px;
    margin:0;
    flex-shrink: 0;
  }
  
  
  .footer .footer-about-wrapper .social-media > a.tw{
    background:url(../../static/css/images/twitter-x-white.svg) no-repeat;
  }
  
  
  .footer .footer-about-wrapper .social-media > a.fb{
    background:url(../../static/css/images/facebook-white.svg) no-repeat;
  }
  
  .footer .footer-about-wrapper .social-media > a.vi{
    background:url(../../static/css/images/vimeo-white.svg) no-repeat;
  }
  
  
  .footer .footer-about-wrapper .social-media > a.yt{
    background:url(../../static/css/images/youtube-white.svg) no-repeat;
  }
  
  .footer .footer-about-wrapper .social-media > a.in{
    background:url(../../static/css/images/linkedin-white.svg) no-repeat;
  }
  
  .footer .footer-about-wrapper .social-media > a.rss{
    background:url(../../static/css/images/rss-white.svg) no-repeat;
  }
  .footer .footer-about-wrapper .social-media > a.th{
    background:url(../../static/css/images/Threads.svg) no-repeat;
  }
  .footer .footer-about-wrapper .social-media > a.bl{
    background:url(../../static/css/images/BlueSky.svg) no-repeat;
  }
  .footer .footer-links-wrapper{
    padding:56px 0;
  }
  
  .footer .footer-links-wrapper .col-md-4 h5{
    font-size:16px;
    line-height: 24px;
    font-weight: 700;
    color:#00263E;
    margin:0 0 16px 0;
  }
  
  .footer .footer-links-wrapper .col-md-4 .footer-menu-wrap{
    padding:0 48px 16px 48px;
    border-right:1px solid #E0E1DD;
  } 
  
  
  .footer .footer-links-wrapper .col-md-4:first-child .footer-menu-wrap{
    padding-left:0;
  }
  
  .footer .footer-links-wrapper .col-md-4:last-child .footer-menu-wrap{
    padding-right:0;
    border-right: none;
  }
  
  .footer .footer-links-wrapper .col-md-4 .footer-menu-wrap ul{
    padding:0;
    margin:0;
    list-style: none;
  }
  
  .footer .footer-links-wrapper .col-md-4 .footer-menu-wrap ul li{
    list-style: none;
    margin-bottom: 16px;
  }
  
  .footer .footer-links-wrapper .col-md-4 .footer-menu-wrap ul li:last-child{
    margin-bottom:0;
  }
  
  .footer .footer-links-wrapper a{
    color:#003399;
    font-size:14px;
    line-height: 20px;
    margin:0;
    font-weight: 400;
  }
  
  .footer .footer-copy-wrapper{
    padding:32px 0;
    border-top:1px solid #E0E1DD; 
  }
  
  .footer .footer-copy-wrapper .icon-eu{
    width: 40px;
    height:26px;
    margin:0;
  }
  
  .footer .footer-copy-wrapper .copy-text{
    display: inline-flex;
    align-items: center;
  }
  
  .footer .footer-copy-wrapper span{
    color:#00263E;
    border-right: 1px solid #00263E;
    margin:0;
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    padding:0 8px;
  }
  
  .footer .footer-copy-wrapper span:first-child{
    padding-left:0;
  }
  
  .footer .footer-copy-wrapper span:first-child,
  .footer .footer-copy-wrapper span:last-child{
    border-right: none;
  }
  
  .footer .footer-copy-wrapper span a{
    margin:0;
    color:#00263E;
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
  }


/* eTranslation widget */

.etrans  #wtEtransRequester{
    flex-direction: column-reverse;
}


.etrans #wtEtransRequester .wt-link{
    width:100%;
}

.etranlate-widget{
    margin-left:20px;
}

.etranlate-widget .wt-etrans button{
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}

#wtEtransModal .etrans-close a,
#wtEtransModal .etrans-content p a,
.wtEtransReceiver .wt-paragraph a,
#wtEtransCancelTranslation,
#wtEtransRetry{
    width: auto;
    height: auto;
    line-height: normal;
}

.header .buttons .wtEtransReceiver .wt-paragraph,
.header .buttons .wtEtransReceiver .wt-paragraph a,
#wtEtransCancelTranslation,
#wtEtransRetry{
    color: #282828;
}

#wtEtransRequester span{
    color:#fff;
    line-height: normal;
    max-width: 150px;
}

.header .buttons .wtEtransReceiver .wt-paragraph .wt-etrans-disclaimer{
    margin-top:3px;
}
.navbar.sticky .header .buttons{
    top:-10px;
}




@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;
  }
  .wt-etrans button{
    padding: 7px 9px;
  }

  .header .buttons{
    top:4px;
  }
}
@media screen and (max-width: 568px){
    /* .logo{
        width: 150px;
    } */
    }
    
    @media screen and (max-width: 468px){
        .header .buttons{
            position:initial;
        }
    }


    /* 2023 New Media Queries */
@media (max-width:991px){

    .footer .footer-about-wrapper{
      padding:44px 0 24px 0;
    }
  
    .footer .footer-about-wrapper > .row{
      flex-direction: column;
    }
    .footer .footer-about-wrapper > .row > div{
      max-width: 100%;
      width:100%;
    }
  
    .footer .footer-about .about-text{
      max-width: unset;
    }
  
    .footer .footer-about-wrapper .social-media{
      margin-top:0;
      justify-content: flex-end;
    }
  }
  
  
  @media (max-width:767px){
  
    .footer .footer-about{
      flex-direction: column;
    }
  
    .footer .footer-about .footer-logo,
    .footer .footer-about .about-text{
      width: 100%;
      text-align: left;
    }
  
    .footer .footer-about-wrapper .social-media{
      margin-top: 32px;
      justify-content: flex-start;
  
    }
  
    .footer .footer-links-wrapper{
      padding:0;
    }
    
    .footer .footer-links-wrapper > .row, 
    .footer .footer-copy-wrapper > .row{
      flex-direction: column;
      text-align: left;
    }
    
  
    .footer .footer-links-wrapper .col-md-4 .footer-menu-wrap{
      text-align: left;
      padding:24px 0;
      border-bottom: 1px solid #E0E1DD;
      border-right:none;
    }
  
    .footer .footer-links-wrapper .col-md-4:last-child .footer-menu-wrap{
      border-bottom: none;
    }
  }
  
  @media (max-width:620px){
    .footer .footer-copy-wrapper{
      padding:24px 0 24px 0;
    }
  
    .footer .footer-copy-wrapper .copy-text{
      flex-direction: column;
      align-items: flex-start;
      padding-left:16px;
    }
  
    .footer .footer-copy-wrapper span{
      padding:0;
      margin-bottom: 16px;
      border:none;
    }
  }
