/*!
 * Start Bootstrap - Scrolling Nav (https://startbootstrap.com/template-overviews/scrolling-nav)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-scrolling-nav/blob/master/LICENSE)
 */
body, section {
    font-family: 'Open Sans', sans-serif;
}
h1, h2, h3, h4, h5, h6
{
    font-family: 'Open Sans Light', sans-serif;
}
h1 {
    font-size: 35px;
}
header {
    padding: 154px 0 100px;
}
body, p, ul, li {
    color: #1e1e1e;
}

#mainNav .navbar-nav > li > a:hover, #mainNav .navbar-nav > li > a:focus {
    background-color: #4A722D;
    color: #ffffff;
}
#mainNav .navbar-brand{
    padding-top: 5px;
    background: url('IRRI-logo2.png');
    width: 100px;
    height: 47px;
}
.navbar-collapse {
    align-items:normal;
}
#mainNav ul.navbar-nav-top {
    margin-top:0 !important;
}
#navbarResponsive {
    background-color: #f8f9fa;
}
#nav-layer1 {
    background-color: #547e1a;
}

#nav-layer1 a {
    font-size:12px;
    color: #fff;
}

#nav-layer1 a:hover {
    color: #ddd;
}

#nav-layer2 a:hover {
    background-color: #ddd;
}

section#irri-japan #irri-japan-header {
    font-size: 16px;
    font-weight: 700;
    color: #547e1a !important;
    margin-top: 10px;
}
section#irri-japan p {
    font-size: 15px;
}
#home-title {
    font-weight: 700;
    color:#547e1a;
}
#home-heroimage {
    position: relative;
}
#hero-image-text {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #547e1a;
    width: 125px;
}
#hero-image-text .card-body{
    padding: .25rem;
}
#hero-image-text h1 {
    text-align: left;
    margin: 0;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.75rem;
}
#hero-image-text p {
    text-align: left;
    margin: 0;
    color: #ffffff !important;
    font-size: 0.5rem;
}
#homeimages {
    background-color: #ebebeb;
    padding: 20px 0 20px 0
}
#homeimages .col{
    margin-bottom: 20px;
}
#homeimages img {
    width: 250px;
    height: 210px
}
.jamstec {
    display: block;
}
.jamstec img{
    width: 100%;
    height: 100%;
}
.home-features-wrapper-left, .home-features-wrapper-right {
    float: left;
    position:relative;
}
.home-features-overlay {
    color: #fff;
    font-weight: 700;
    line-height: 40px;
    height:40px;
    width:100%;
    position:absolute;
    z-index:10;
    bottom:0;
    background: rgba(0,0,0,.65);
    text-align: center
}
footer {
    background-color: #303030 !important;
    font-size: 12px;
    margin-top: 20px;
}
footer ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
footer li{
    padding: 2px 0 3px 0;
}
footer p{
    color: #ffffff !important;
    font-weight: 700;
}
footer a:hover{
    color: #aeaeae;
}
footer a{
    color: #ffffff;
    text-decoration: none
}
.hide {
    display: none;
}
.yield-op {
    font-size: 3rem;
    margin: 2rem;
}
select[name="cs2_variety1"], select[name="cs2_variety2"], select[name="cs2_month1"], select[name="cs2_month2"] {
    width: 200px;
}
select[name="cs2_fertil0"] {
    width: 250px;
}
.chart {
    margin-bottom: 15px;
}
h4 {
    margin-top: 15px;
}
#advisory>h5 {
    margin-top: 15px;
}
.tr-gray {
    background-color: #ccc;
}
#sql-log, #translate-table
{
    border:1px solid #000000;
    margin: 40px 5px 5px 5px;
    padding: 5px;
}
#sql-log div
{
    border-bottom:1px dashed #000000;
    padding: 3px;
}
.db-overview {
    font-family: Courier New, Courier, Lucida Sans Typewriter, Lucida Typewriter, monospace;
}
.db-overview .region-td {
    font-weight: 700;
    background-color: #58d68d;
}
.help-box {
    padding: 0.75rem 0.75rem 0 0.75rem;
}
.help-box h5{
    margin: 0 0 10px 0;
}
.tr-head1 {
    background-color: #DAF7A6;
}
.nbr {
    text-align: right !important
}
.country-header {
    border-bottom: 3px #547e1a solid;
    color: #fff
}

.country-header > span {
    background-color: #547e1a;
    padding: 0 10px;
}
.tab-pane {
    margin-bottom: 30px
}
#compute_formula h5 {
    font-family: Courier, serif;
    font-weight: 700;
}
div .compute {
    font-family: Courier, serif;
    padding-left: 20px;
    margin: 10px 10px 20px 10px;
    border-left: 2px #ddd solid;

}
.sintex-output {
    display: none;
}

.flag-icon {
    border: 1px solid #ccc
}
#admin-sidebar {
    display:none;
}
#admin-sidebar h3 {
    text-align: center;
    font-weight: 700;
    background-color: #eee;
    font-size:1.25rem;
    padding: .5rem
}
.help-link {
    text-align: right;
    margin-bottom: 1rem
}
.help-content .last-p {
    margin-bottom: 3rem
}
.help-content h2, .help-content h3, .help-content h4, .help-content h5 {
    font-weight: 700;
    color: #547e1a !important;
    border-bottom: 1px solid black;
}


#login-logo {
    margin-left: auto;
    margin-right: auto;
    width: 115px;
    height: 80px;
}
#login-logo-div {
    text-align: center;
    background-color: #fff;
}
#login-img-box {
    display: none !important;
}
#login-img-hero {
    background-image: url('/images/login-hero.jpg');
    background-position: center;
    background-size: cover;
    height: 420px;
    border-radius: 1rem 0 0 1rem;
}
#wrapper-login {
    padding: 0px;
}
#wrapper-login .form-control {
    border-radius: 4rem;
    padding: 1.25rem 1.25rem;
}

#wrapper-login .btn {
    border-radius: 4rem;
    padding: 0.5rem;
    display: block;
    width:100%;
}
#wrapper-login h3 {
    margin:0;
    padding: 5px;
    font-weight: 700;
}
#wrapper-login h4 {
    font-size: 14px;
    margin:0;
    padding: 0 0 15px 0;
    font-weight: 700;
}
#wrapper-login #show_hide_password input {
    border-radius: 4rem 0 0 4rem;
}
#wrapper-login #show_hide_password .input-group-text {
    border-radius: 0 4rem 4rem 0;
}

.courier {
    font-family: Courier, serif;
}
.info-box {
    border-bottom: 1px #999 solid;
    margin-bottom: 15px;
}
.dropdown-menu {
    z-index: 9000;
}
.oryza-data {
    display:none
}

.pulse-danger {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.contact-us-container {
    width: 100%;
    height: 1300px;
}

.contact-us-iframe {
    width: 100%;
    height: 100%;
}

#under-construction {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/under-construction.jpg");
    background-size: cover;
    height: 500px;
    color: #ddd;
}

#under-construction p {
    color: #ddd;
}

#recover-error {
    display: none;
}

.loading-spinner {
    display:none;
}


section#bread-crumbs {
    padding: 90px 0 0 0;
    font-size:14px !important
}
.breadcrumb {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
}
section#bread-crumbs .col{
    margin-bottom: 10px;
}

.card-callout {
    border-left: 3px solid #547e1a;
    margin-bottom: 1rem;
}

.card-callout h5.card-title{
    font-weight: 700;
    color: #0056b3;
}

.card-callout > .card-body{
    padding: .8rem;
}

@media (min-width: 576px) {
    .container {
        max-width:none;
    }
    #mainNav {
        background: #e9e9e9 url('headerbg.jpg') repeat-x 0 -16px !important;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 15px;
        height: 70px;
    }

    #mainNav ul.navbar-nav {
        margin-top: 35px;
    }
    #mainNav .navbar-brand {
        float: left;
        background-color: #4A722D;
        padding-bottom: 0;
    }
    #mainNav .navbar-brand{
        padding-top: 5px;
        background: url('IRRI-logo.png');
        width: 100px;
        height: 80px;
    }
    #mainNav .navbar-nav > li {
        padding: 4px 10px 3px 10px;
    }
    section#bread-crumbs #btn-group-top{
        text-align: right;
        margin-bottom: 1.5rem;
    }
    #homeimages {
        padding: 40px 0 40px 0
    }
    #homeimages img {
        width: 383px;
        height: 322px
    }
    .home-features-wrapper-left {
        float: right;
    }
    .home-features-overlay {
        font-size: 2em;
        line-height: 70px;
        height: 70px;
    }
    #hero-image-text {
        top: 15px;
        left: 80px;
        width: 300px;
    }
    #hero-image-text .card-body{
        padding: .75rem;
    }
    #hero-image-text h1 {
        font-size: 1.25rem;
    }
    #hero-image-text p {
        font-size: 1rem;
    }
    h4 {
        margin-top: 30px;
    }
    #advisory>h5 {
        margin-top: 30px;
    }
    #admin-sidebar {
        display:block;
    }
    #login-box {
        border: 1px solid #ccc;
        border-radius: 1rem;
        padding: 1px;
        margin-top: 15px;
    }
    #login-img-box {
        display: block !important;
    }
    #login-box-content {
        padding-right: 40px;
    }
}

.resource-list {
    padding-left: 30px;
    margin-bottom: 2rem;
}

.resource-list .row{
    border-bottom: 1px solid #eee;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {  
    #navbarResponsive {
        display: block;
        background: none;
    }
    #nav-layer1 {
        background:none;
        justify-content:flex-end;
    }

    #navbarResponsive a {
        font-size: 12px;
        padding: 3px 10px;
    }

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width:960px;
    }      
    header {
        padding: 156px 0 100px;
    }
    #navbarResponsive a {
        font-size: 15px;
        padding: .5rem 1rem;
    }

}


/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
