/********************************************************************/
/****************************** Global ******************************/
/********************************************************************/
h1,
h2,
h3,
h4,
h5,
h6 {
    /*font-family: "Roboto";*/
    font-family: "Cambria";
}

a,
p {
    /*font-family: "Noto Sans";*/
    font-family: "Cambria";
}

h1 {
    color: #FDFAF6 !important;
}

h2,
h3 {
    color: #064420 !important;
}

span {
    font-family: "Cambria";
}

/********** Content Section **********/
/* Content section main container */
.std_content {
    background-color: #FDFAF6;
    height: auto;
}

/* Content section for font */
.std_content_a {
    padding: 100px 50px;
}

/* Content section for paragraph */
.std_content_a p {
    margin: 0px;
    text-align: justify;
}

@media screen and (max-width: 550px) {
    .std_content_a {
        padding: 50px 0px;
    }
}

/*************************************************************************************/
/************************** Top Navigatiom Menu (Main Memu) **************************/
/*************************************************************************************/
/* Top navigation bar: Container */
.top_mainnav {
    overflow: hidden;
    background-color: #FDFAF6;
    max-height: 80px;
}

/* Top navigation menu: container */
.top_navbar {
    overflow: hidden;
}

.top_navbar ul,
ol {
    margin: 0 0 0 0;
}

/* Drop-Down Menu Design: Creating Second-Level Items That Appear on Hover */
.top_navbar ul li:hover>ul,
.top_navbar ul li.focus>ul {
    display: block;
    z-index: 99999;
}

.top_navbar ul ul {
    display: none;
    position: absolute;
    width: 200px;
    background-color: #FDFAF6;
    /*box-shadow: 0px 3px 3px rgba(0,0,0,0.2);*/
}

/* Top navigation menu: element */
.top_navbar_menu {
    width: 100%;
    text-align: center;
}

.top_navbar_menu a {
    /*font-family: 'Noto Sans';*/
    font-family: "Cambria";
    /*font-size: 22px;*/
    font-size: 18px;
    font-weight: 600;
    color: #064420;
    display: block;
    text-decoration: none;
    padding: 20px 30px;
    position: relative;
}

/* Add underline effect on hover */
.top_navbar_menu a:hover {
    color: #064420;
}

.top_navbar_menu a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    overflow: hidden;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #064420;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.top_navbar_menu a:hover::before {
    transform: scaleX(1);
}

/* End underline effect on hover */

.top_navbar_menu li {
    display: inline-block;
}

.top_navbar_menu ul li:hover {
    background-color: #E4EFE7;
}

.top_navbar_menu ul {
    overflow: hidden;
    display: none;
    list-style: none;
    padding-left: 0;
}


.top_navbar_menu ul a {
    font-size: 14px;
    text-align: left;
    font-weight: 600;
    padding-top: 20px;
    padding-left: 15px;
    width: 200px;
}

.top_navbar_menu ul ul {
    left: 0;
    z-index: 99999;
}

/* Site Logo */
.site-logo {
    display: inline-block;
    padding-left: 50px;
    padding-top: 10px;
}

/* login */
.login-topnavbar {
    padding-right: 50px;
    padding-top: 15px;
}

/* Hamburger menu for mobile display */
.toggle-navmenu {
    display: none;
}

/* Hamburger menu Icon */
.ham-container {
    display: inline-block;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 30px;
    height: 5px;
    background-color: #064420;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

/* Hamburger Menu: mobile menu dropdown */
.mobile_navbar {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #FDFAF6;
}

.open .mobile_navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mobile_navbar li {
    display: block;
    margin: 10px 0;
    text-align: start;
    list-style-type: square;
}

.mobile_navbar ul,
ol {
    margin: 0 0 0 0;
    padding-left: 0;
}

.mobile_navbar ul ul {
    padding-left: 1.5rem;
}

.mobile_navbar a {
    /*font-family: 'Noto Sans';*/
    font-family: "Cambria";
    font-size: 16px;
    font-weight: 600;
    color: #064420;
    display: block;
    text-decoration: none;
    padding: 5px 0;
    position: relative;
}

@media screen and (max-width: 600px) {
    .site-logo {
        display: inline-block;
        padding-left: 15px;
        padding-top: 15px;
    }

    .login-topnavbar {
        padding-right: 15px;
        padding-top: 20px;
    }

    .top_navbar {
        display: none;
    }

    .toggle-navmenu {
        display: inline-block;
        padding-top: 20px;
        color: #064420;
        background: rgba(0, 0, 0, 0);
        border: 0px;
        z-index: 99999;
    }

}

/***************************************************************************************/
/****************************** Button for the whole site ******************************/
/***************************************************************************************/

.button1 {
    /*font-family: 'Noto Sans';*/
    font-family: "Cambria";
    font-size: 18px;
    font-weight: 400;
    color: #064420;
    background: rgba(0, 0, 0, 0);
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
}

.button1:hover,
.button1:active,
.button1:focus {
    color: #FDFAF6;
    background: #064420;
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
}

.button1.active {
    color: #FDFAF6;
    background: #064420;
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
}

/* Hide the button if user login */
.logged-in .button1 {
    display: none;
}

.sm-button {
    background: #064420;
    color: #FDFAF6;
    border-radius: 0;
    border: 1px solid #064420;
}

.button2 {
    /*font-family: 'Noto Sans';*/
    font-family: "Cambria";
    font-size: 18px;
    font-weight: 400;
    color: #064420;
    background: rgba(0, 0, 0, 0);
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
}

.button2:hover,
.button2:active,
.button2:focus {
    color: #FDFAF6;
    background: #064420;
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
}

.button2.active {
    color: #FDFAF6;
    background: #064420;
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
}


@media screen and (max-width: 550px) {
    .button1 {
        font-size: 14px;
        padding: 5px 10px;
    }

    .button1:hover {
        padding: 5px 10px;
    }

    .button2 {
        font-size: 14px;
        padding: 5px 10px;
    }

    .button2:hover {
        padding: 5px 10px;
    }
}

/***********************************************************************/
/***************************** Login Popup *****************************/
/***********************************************************************/
.login-overlay {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.login-overlay.open {
    display: flex;
    animation: show-overlay 0.5s;
}

@keyframes show-overlay {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.login {
    width: 350px;
    padding: 15px 15px;
    background: #FDFAF6;
    border-radius: 10px;
    text-align: center;
}

.login-logo {
    margin: 30px 0px;
}

input#wp-submit {
    /*font-family: 'Noto Sans';*/
    font-family: "Cambria";
    font-size: 18px;
    font-weight: 400;
    color: #064420;
    background: rgba(0, 0, 0, 0);
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
    margin-top: 20px;
}

input#wp-submit:hover {
    color: #FDFAF6;
    background: #064420;
    border: 3px solid #064420;
    border-radius: 10px;
    padding: 5px 30px;
}

.forgot_pass {
    margin-top: 40px;
    margin-bottom: 20px;
}

@media screen and (max-width: 550px) {
    .login-overlay {
        text-align: center;
    }

    .login {
        padding: 10px 10px;
    }
}

/********************************************************************/
/***************************** Homepage *****************************/
/********************************************************************/
.home-page {
    padding: 0px 50px;
}

/* Background color */
.home-bg {
    background-color: #FDFAF6;
}

#home-left-col {
    padding-right: 20px;
}

#home-right-col {
    padding-left: 20px;
}

/* Standard Container */
.home-container {
    overflow: hidden;
    background-color: #FAF1E6;
    margin-bottom: 20px;
    padding: 20px 20px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.home-container h5 {
    color: #064420;
    font-weight: 600;
}

.hr_std {
    border: 2px solid #064420;
    margin-bottom: 20px;
}

/********** Warning Section **********/
.warning-location {
    padding: 10px 50px;
}

.warning-container {
    display: block;
    background-color: #064420;
    text-align: center;
    color: #FDFAF6;
    padding: 10px;
    white-space: nowrap;
    overflow: hidden;
}

.warning-container p {
    margin-bottom: 0rem;
}

/* Scrolling Text */
.scroll-text {
    color: #FDFAF6;
    /* animation properties */
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);

    -moz-animation: my-animation 30s linear infinite;
    -webkit-animation: my-animation 30s linear infinite;
    animation: my-animation 30s linear infinite;
}

/* for Firefox */
@-moz-keyframes my-animation {
    from {
        -moz-transform: translateX(100%);
    }

    to {
        -moz-transform: translateX(-100%);
    }
}

/* for Chrome */
@-webkit-keyframes my-animation {
    from {
        -webkit-transform: translateX(100%);
    }

    to {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes my-animation {
    from {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    to {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

/********** Lastest News Section **********/
#news-content {
    padding-bottom: 15px;
}

#news-content h6 {
    font-weight: 500;
}

.news-more {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
}



/********** Facebook Section **********/
.fb-container {
    padding-bottom: 20px;
}

/********** Side bar Menu **********/
/* Main sidebar container */
.sidebar-container {
    overflow: hidden;
    background-color: #E4EFE7;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    margin-bottom: 20px;
    position: relative;
}

/* ------------------- Sidebar menu (show sub menu on hover) ------------------- */
.sidebar-menu {
    overflow: hidden;
}

.sidebar-menu ul,
ol {
    margin: 0 0 0 0;
    /*list-style: none;*/
}

.sidebar-menu a {
    color: #064420;
    font-weight: 500;
    text-decoration: none;
}

.sidebar-menu ul {
    padding-left: 0;
    font-size: 20px;
}

.sidebar-menu ul ul {
    font-size: 16px;
    font-weight: 300;
    display: none;
    position: absolute;
    background-color: #FDFAF6;
}

.sidebar-menu ul li ul li {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
}

/* Drop-Down Menu Design: Creating Second-Level Items That Appear on Hover */
.sidebar-menu ul li:hover>ul,
.sidebar-menu ul li.focus>ul {
    display: block;
    z-index: 99999;
    position: relative;
    background-color: #E4EFE7;
}

/* Add underline effect on hover by using menu class*/
.sidebar-menu-content a {
    display: block;
    text-decoration: none;
    padding: 20px 25px;
    position: relative;

}

.sidebar-menu-content a:hover {
    color: #064420;
    background: #FAF1E6;
    /*border-left: 4px solid #064420;*/
}

.sidebar-menu-content a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    overflow: hidden;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #064420;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sidebar-menu-content a:hover::before {
    transform: scaleX(1);
}

/* End underline effect on hover */

/* ------------------- Sidebar menu (show sub menu on click) ------------------- */
.sidebar-menu-02 {
    overflow: hidden;
}

.sidebar-menu-02 ul,
ol {
    margin: 0 0 0 0;
    list-style: none;
}

.sidebar-menu-02 ul {
    padding-left: 0;
    font-size: 20px;
}

.sidebar-menu-02 a {
    color: #064420;
    #font-weight: 600;
    text-decoration: none;
}

.sidebar-menu-02 ul ul {
    font-size: 16px;
    #font-weight: 400;
    display: none;
    background-color: #E4EFE7;
    -webkit-transition: 0.2s linear;
    -moz-transition: 0.2s linear;
    -ms-transition: 0.2s linear;
    -o-transition: 0.2s linear;
    transition: 0.2s linear;
}

.sidebar-menu-02 ul li ul li {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 25px;
}

.sidebar-menu-02-content a {
    display: block;
    text-decoration: none;
    padding: 15px 25px;
    position: relative;
}

.sidebar-menu-02-content a:hover {
    color: #064420;
    background: #FAF1E6;
    /*border-left: 4px solid #064420;*/
}

/* Add underline effect on hover by using menu class*/
.sidebar-menu-02-content a:hover {
    color: #064420;
    background: #FAF1E6;
    border-left: 4px solid #064420;
}

.sidebar-menu-02-content a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    overflow: hidden;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #064420;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sidebar-menu-02-content a:hover::before {
    transform: scaleX(1);
}

/* End underline effect on hover */


@media screen and (max-width: 550px) {
    .warning-location {
        padding: 20px 10px;
    }

    .home-page {
        padding: 0px 10px;
    }

    #home-left-col {
        padding-right: 0px;
    }

    #home-right-col {
        padding-left: 0px;
    }

    .scroll-text {
        -moz-animation: my-animation 20s linear infinite;
        -webkit-animation: my-animation 20s linear infinite;
        animation: my-animation 20s linear infinite;
    }
}

/********** Latest Activities Slider **********/
.slideshow-container {
    position: relative;
    height: 26.625rem;
    margin: 0 auto;
    overflow: hidden;
}

.act-slider {
    position: absolute;
    top: 0;
    width: 100%;
    height: 26.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s;
}

.btn-slide {
    position: absolute;
    top: 50%;
    z-index: 10;
    height: 3rem;
    width: 3rem;
    cursor: pointer;
    background-color: rgba(39, 39, 39, .8);
    color: #FDFAF6;
    border: 0px;
}

.act-prev {
    left: 1.5rem;
    transform: translate(-50%, -50%);
}

.act-next {
    right: 1.5rem;
    transform: translate(50%, -50%);
}

.dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dot {
    width: 25px;
    height: 5px;
    margin: 15px 5px;
    border-radius: .5rem;
    background: rgba(39, 39, 39, .5);
    cursor: pointer;
}

.dot.active {
    background: #272727;
}

/* Activities Caption */
.act_caption {
    display: block;
    width: 100%;
    height: fit-content;
    background-color: rgba(39, 39, 39, .8);
    padding: 8px 12px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: left;
}

.act_caption h6 {
    color: #FDFAF6;
    font-weight: 500;
    margin-bottom: 2px;
}

.act_caption span {
    color: #B3B4B3;
}

/********** Video news slider **********/
.video-slide-container {
    padding-bottom: 20px;
}

/********** Alert location popup **********/
.alert-overlay {
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.alert-overlay.alert-open {
    display: flex;
    animation: show-overlay 0.5s;
}

@keyframes show-overlay {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.alert-box {
    width: 350px;
	height: 450px;
    padding: 15px 15px;
    background: #FDFAF6;
    border-radius: 10px;
    text-align: center;
	overflow-y: scroll;
}


@media screen and (max-width: 550px) {
    .alert-overlay {
        text-align: center;
    }

    .alert-box {
        padding: 10px 10px;
    }
}

/*************************************************************************/
/***************************** Standard Page *****************************/
/*************************************************************************/
/********** Top Title Section **********/
/* Image display on top of page */
.img-title {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.img-title-overlay {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FDFAF6;
    height: 250px;
}

/************** Sidebar Section ***************/
/* Side bar container for standard page */
#std_sidebar {
    padding-top: 100px;
    padding-left: 50px;
}

@media screen and (max-width: 550px) {
    #std_sidebar {
        padding-top: 50px;
        padding-left: 0px;
    }
}


/***********************************************************************************/
/************************** All News and Publication page **************************/
/***********************************************************************************/
/********** Search Result **********/
/* Main Container */
#npsr-container {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-right: 100px;
}

/********** Search **********/
#nps-container {
    padding: 100px 50px 100px 100px;
}

/* Posts card container */
#npsr-card {
    margin-bottom: 20px;
}

#npsr-card-content {
    padding-left: 20px;
}

#np_searchbox {
    padding-right: 25px;
}

#np_catbox {
    padding-left: 25px;
}

/************** Sidebar Section ***************/
/* Side bar container for standard page */
#np_sidebar {
    padding-top: 100px;
    padding-left: 50px;
}

@media screen and (max-width: 550px) {
    #npsr-container {
        padding-top: 0px;
        padding-right: 20px;
        padding-left: 20px;
        padding-bottom: 60px;
    }

    #nps-container {
        padding: 60px 20px;
    }

    #npsr-card-content {
        padding-left: 0px;
        padding-top: 10px;
    }

    #np_sidebar {
        padding-top: 50px;
        padding-left: 0px;
    }

    #np_searchbox {
        padding-right: 0px;
    }

    #np_catbox {
        padding-left: 0px;
    }
}

/********** The pagination **********/
.np-pagination {
    color: #064420;
    text-decoration: none;
    padding-top: 50px;
}

.page-numbers {
    padding-left: 10px;
}

/******************************************************************************/
/****************************** Single post page ******************************/
/******************************************************************************/
.sp_container {
    padding: 100px 100px;
}

/* Latest News */
#ln_container {
    padding-left: 30px;
}

/* News content */
.news-content {
    text-align: justify;
    margin-top: 20px;
}

/* hr */
.hr_sp {
    border: 2px solid #064420;
}

@media screen and (max-width: 550px) {
    .sp_container {
        padding: 50px 20px;
    }

    .news-content {
        margin-bottom: 40px;
    }

    #ln_container {
        padding-left: 0px;
    }
}

/**************************************************************/
/************************** 404 Page **************************/
/**************************************************************/
.error-page-container {
    background-color: #FAF1E6;
    height: auto;
    padding: 20px;
}

.error-page-main-font {
    font-size: 300px;
    font-weight: 800;
    color: #064420;
    /*font-family: "Roboto";*/
    font-family: "Cambria";
    text-align: center;
}

.error-page-sub-font {
    font-size: 30px;
    font-weight: 600;
    color: #064420;
    /*font-family: "Roboto";*/
    font-family: "Cambria";
    text-align: center;
    padding-bottom: 100px;
}

@media screen and (max-width: 550px) {
    .error-page-main-font {
        font-size: 100px;
    }

    .error-page-sub-font {
        font-size: 20px;
        padding-bottom: 30px;
    }
}

/****************************************************************************/
/****************************** Forecast_n_obs ******************************/
/****************************************************************************/
#fnb-sidebar {
    padding: 100px 10px 0px 10px;
}

.fnb_content-01 {
    background-color: #FDFAF6;
    height: auto;
}

.fnb_content-02 {
    background-color: #FAF1E6;
    height: auto;
}

.fnb_title {
    margin: 50px 0px;
}

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


/******************************************************************************/
/****************************** Agromet Advisory ******************************/
/******************************************************************************/
/* Table foe Agromet advisory page*/
.agromet_advi_table     {
    border-collapse: collapse;
    width: 100%;
}
.agromet_advi_table th {
    /*font-family: "Noto Sans";*/
    font-family: "Cambria";
    font-size: 16pt;
    font-weight: 600;
}
.agromet_advi_table thead tr {
    border-bottom: 2px solid #064420;
}

.agromet_advi_table tbody tr:hover {
    background-color: #E4EFE7;
    cursor: pointer;
}

.agromet_advi_table td {
    /*font-family: "Noto Sans";*/
    font-family: "Cambria";
    font-size: 14pt;
    padding: 8px 0px;
}

.agromet_advi_table a:link {
    /*font-family: "Noto Sans";*/
    font-family: "Cambria";
    font-size: 14pt;
    color: #212529;
    font-weight: 400;
}

/********************************************************************/
/****************************** Footer ******************************/
/********************************************************************/

/* Main Container */
.footer-mainbox {
    width: 100%;
    min-height: 100px;
    background-color: #064420;
    padding: 20px 50px;
}

/* The box inside the main container */
.footer-smbox {
    padding: 20px 0px;
    display: block;
    color: #FDFAF6;
    text-decoration: none;
}

.footer-smbox a:hover {
    color: #FDFAF6;
    text-decoration: none;
}

/* Footer font */
.footer-link a {
    color: #FDFAF6;
}

/* Add underline effect on hover */
.footer-link a:hover,
.footer-link a:focus,
.footer-link a:active {
    color: #FDFAF6;
    text-decoration: underline;
}

.footer-smbox ul {
    margin-left: 0rem;
}

/* Visitor Counter resource */
.counter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.v-counter-box {
    width: 35px;
    height: 50px;
    padding-top: 3px;
    text-align: center;
    display: inline-block;
    border-radius: 6px;
    background: #E4EFE7;
    margin: 5px 2px;
    font-size: 1.75rem;
    font-weight: 500;
    color: #064420;
}

@media screen and (max-width: 550px) {
    .footer-mainbox {
        padding: 20px 20px;
    }
}