﻿body {
    padding-top: 4.5rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    margin-bottom: 125px;
    /* removed per item 12963
        background: url("/Assets/images/leaves-pattern.png");
    */
}

html {
    position: relative;
    min-height: 100%;
}

nav {
    border-bottom: solid 1px #ccc;
}

    nav .dropdown-menu {
        font-size: 12px;
    }

.modal-header {
    background-color: #e7e7e7;
    border-bottom: solid 1px #CCC;
}

.modal-footer {
    background-color: #e7e7e7;
    border-top: solid 1px #CCC;
}

.modal-body {
    background-color: #f8f8f8;
}

.btn-primary {
    background-color: #2f88b1;
}

.btn-dark {
    background-color: #393e6f;
    /*background-color: #7092BE;
    border: none;
    border-color: none;*/
}

.btn-primary:not(:disabled):not(.disabled):hover {
    background-color: #226382;
}

.sign-in-card {
    background-color: #f8f8f8;
    max-width: 475px;
}

    .sign-in-card h1 {
        font-weight: bold;
        font-size: 30px;
        text-align: center;
        margin-bottom: 20px;
    }

.register-card {
    background-color: #f8f8f8;
}

    .register-card h1 {
        font-weight: bold;
        font-size: 18px;
        margin-bottom: 20px;
    }

.register-error-card {
    width: 475px;
    background-color: #ecf6e0;
}

    .register-error-card .card-footer {
        background-color: #cddfb6;
    }

    .register-error-card p {
        color: #ff0000;
        font-weight: bold;
    }

.card {
    background-color: #ffffff;
}

.main-card {
    background-color: #f8f8f8;
}

.card-footer {
    background-color: rgba(0,0,0,0.08);
}

.sidebar-card {
    background-color: #eeeeee;
    border: solid 1px #505f3c;
    margin-bottom: 20px;
}

.sidebar-card-body {
    color: #505f3c;
}

.ccd-text {
    font-size: 8pt;
    margin-left: 10px;
}

.ccd-text-light {
    font-size: 8pt;
    color: #999;
}

.card-min-size {
    min-height: 183px;
    margin-top: 20px;
}

.chosen-container-single .chosen-single {
    height: 30px;
    border-radius: 3px;
    border: 1px solid #CCCCCC;
}

    .chosen-container-single .chosen-single span {
        padding-top: 2px;
    }

    .chosen-container-single .chosen-single div b {
        margin-top: 2px;
    }

.validation-summary-errors ul {
    margin-top: 20px;
    list-style: none;
    margin-left: -40px;
    color: red;
    font-weight: bold;
}

.main-content {
    margin-top: 30px;
}

    .main-content#MainLogin {
        margin-top: 100px;
    }

#HomeLinks .list-group .list-group-item:hover {
    background-color: #f9ffee;
}

.box {
    width: 250px;
    height: 180px;
    margin-right: 10px;
    display: inline-block
}

.box2 {
    width: 250px;
    height: 250px;
    position: relative;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}



    .ribbon span {
        font-size: 10px;
        font-weight: bold;
        color: #FFF;
        text-transform: uppercase;
        text-align: center;
        line-height: 20px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        width: 100px;
        display: block;
        background: #79A70A;
        background: linear-gradient(#053261 0%, #021930 100%);
        box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
        position: absolute;
        top: 19px;
        right: -21px;
    }

        .ribbon span::before {
            content: "";
            position: absolute;
            left: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid #021930;
            border-right: 3px solid transparent;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #021930;
        }

        .ribbon span::after {
            content: "";
            position: absolute;
            right: 0px;
            top: 100%;
            z-index: -1;
            border-left: 3px solid transparent;
            border-right: 3px solid #021930;
            border-bottom: 3px solid transparent;
            border-top: 3px solid #021930;
        }

.field-item {
    width: auto;
    position: relative;
}

footer {
    padding: 13px;
    background-color: #f8f9fa; /*#FFF;*/
    width: 100%;
    position: absolute;
    bottom: 0;
}

.idm-footer-help {
    margin-top: -5px;
    font-size: 14px;
}

.idm-footer-terms {
    font-size: 11px;
}

.idm-footer-terms-inner a {
    color: #333333;
    white-space: nowrap;
}

#map {
    /*position: absolute;*/
    top: 55px;
    right: 0;
    bottom: 45px;
    left: 0;
}

#mapNavigation {
    position: absolute;
    width: 400px;
    bottom: 70px;
    left: 10px;
}

    #mapNavigation li a {
        color: green;
    }

        #mapNavigation li a:hover {
            text-decoration: none;
        }

#curreportbtn li a:hover {
    text-decoration: none;
    color: white;
}


#mapFieldList, #mapAddFieldList, #editSingleField, #editMultipleFields, #mapSplitFieldList {
    position: absolute;
    width: 400px;
    top: 65px;
    left: 10px;
    /* bottom: 240px;*/
    bottom:132px;
    overflow: auto;
}

#editHarvestDetail {
    position: absolute;
    width: 350px;
    top: 65px;
    left: 10px;
    bottom: 170px;
    overflow: auto;
}

#mapAddFieldList {
    overflow: hidden;
}

.field-summary-item .media-body p, .harvest-summary-item {
    margin-bottom: 0;
}

#showMapLayers, #hideMapLayers {
    background: #FFF;
    position: absolute;
    /*top: 65px;*/
    top: 140px; /*170px;*/
    right: 10px;
    width: 200px;
    /*opacity:0.85;*/
}

.pref-loader {
    display: none;
}

.error-class {
    color: #FF0000; /* red */
}

.valid-class {
    color: #00CC00; /* green */
}

.curReport {
    font-weight: bold;
}

.map-layer-choice {
    cursor: pointer;
    background-color: #fdfdfe;
}

.map-layer-choice-off {
    background-color: #fdfdfe;
}

.map-layer-choice-on {
    background-color: #c3e6cb;
}

.map-layer-choice-unavailable {
    cursor: unset;
    background-color: #d6d8db;
}

#high-risk-layer-controls {
    display: none;
    position: absolute;
    width: 400px;
    right: 0;
}

    #high-risk-layer-controls.open {
        display: block;
    }

/* Breadcrumb Menu Styles Only Below Here */

.breadcrumb-item a {
    color: #333;
    font-weight: bold;
}

@media only screen and (min-width: 1200px) { /* Corresponds to the bootstrap extra large breakpoint at 1200px. */
    .breadcrumb {
        padding: 0;
        background: #D4D4D4;
        overflow: hidden;
    }

    .breadcrumb-item a {
        padding: 10px 0 10px 45px;
        position: relative;
        display: block;
    }

        .breadcrumb-item a:before {
            content: " ";
            display: block;
            width: 0;
            height: 0;
            border-top: 50px solid transparent; /* Go big on the size, and let overflow hide */
            border-bottom: 50px solid transparent;
            border-left: 30px solid white;
            position: absolute;
            top: 50%;
            margin-top: -50px;
            margin-left: 1px;
            left: 100%;
            z-index: 1;
        }

        .breadcrumb-item a:after {
            content: " ";
            display: block;
            width: 0;
            height: 0;
            border-top: 50px solid transparent; /* Go big on the size, and let overflow hide */
            border-bottom: 50px solid transparent;
            border-left: 30px solid hsla(0, 0%, 83%, 1);
            position: absolute;
            top: 50%;
            margin-top: -50px;
            left: 100%;
            z-index: 2;
        }

    .breadcrumb-item.active a:after {
        border-left: 30px solid #ffc107;
    }

    .breadcrumb-item:first-child a {
        padding-left: 15px;
    }

    .breadcrumb-item.active a {
        background: #ffc107;
    }

    .breadcrumb-item a.hover:hover {
        background: #ffc107;
    }

        .breadcrumb-item a.hover:hover:after {
            border-left-color: #ffc107 !important;
        }

    .breadcrumb-item + .breadcrumb-item {
        padding-left: inherit;
    }

        .breadcrumb-item + .breadcrumb-item::before {
            content: none;
        }
}

@media only screen and (max-width:1199.98px) { /* Corresponds to the bootstrap extra large breakpoint at 1200px. */
    .breadcrumb {
        background-color: inherit;
    }

    .breadcrumb-item a {
        color: #000;
    }

    .breadcrumb-item.active a {
        text-decoration: underline;
    }

    /* Changes the default separator for all items. */
    .breadcrumb-item + .breadcrumb-item::before {
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        font-weight: 900;
    }
}

@media only screen and (min-width:960px) { /* Corresponds to the bootstrap large breakpoint at 960px. This applies to sizes over lg only. */
    .field-summary-item, .harvest-summary-item {
        background: url(/Assets/images/bgMain.png);
        background-size: cover;
        background-position: center;
    }
}

@media only screen and (max-width:959.98px) { /* Corresponds to the bootstrap large breakpoint at 960px. This applies to sizes below lg only. */
    #map {
        bottom: 0px;
    }

    #editSingleField, #editMultipleFields {
        top: 65px;
        bottom: 195px;
    }
    #editHarvestDetail {
        top: 65px;
        bottom: 125px;
    }
    #mapFieldList {
        left: -3000px;
    }

    #mapNavigation {
        bottom: 24px;
    }

    #mapPage footer {
        display: none;
    }
}

@media only screen and (min-width:768px) { /* Corresponds to the bootstrap large breakpoint at 768px. This applies to sizes over md only. */
}

@media only screen and (max-width:767.98px) { /* Corresponds to the bootstrap large breakpoint at 768px. This applies to sizes below md only. */
    #editSingleField, #editMultipleFields {
        top: 65px;
        bottom: 24px;
        width: 335px;
    }
    #editHarvestDetail {
        top: 65px;
        bottom: 65px;
        width: 335px;
    }
   
    #mapNavigation {
        width: auto;
        bottom: 24px;
        right: 60px;
        left: auto;
    }
    /*    #mapNavigationHarvest {
        width: 335px;
        bottom: 24px;
        right: 60px;
        left: auto;
    }*/
}


@media only screen and (min-width: 576px) { /* Corresponds to the bootstrap small breakpoint at 576px. This applies to size sm and above only. */
    .footer-links li a {
        font-size: 14px;
        line-height: 26px;
        color: #b3b3b3;
        text-decoration: none;
    }


    .footer-links li:before {
        content: "\f105";
        font-family: 'FontAwesome';
        padding-right: 10px;
        color: #b3b3b3;
    }

    .show-import-his {
        margin: 0px 150px 12px 150px;
        display: block;
    }

    .idm-model-content {
        width: 600px;
    }
}

@media only screen and (max-width:575.98px) { /* Corresponds to the bootstrap small breakpoint at 576px. This applies to sizes below sm only. */
    .sign-in-card {
        width: inherit;
    }

    .footer-links li a {
        font-size: 14px;
        line-height: 26px;
        color: #b3b3b3;
        text-decoration: none;
    }


    .footer-links li:before {
        content: "\f105";
        font-family: 'FontAwesome';
        padding-right: 10px;
        color: #b3b3b3;
    }

    .show-import-his {
        margin: 0px 0px 12px 0px;
        display: block;
    }

    .idm-model-content {
        width: auto;
    }

    .idm-footer-copy {
        display: none;
    }

    #editSingleField, #editMultipleFields, #editHarvestDetail {
        top: 140px;
        bottom: 60px;
        width: 305px;
    }

    #mapNavigation {
        width: auto;
        bottom: 10px;
        right: auto;
        left: 10px;
    }
}

.breadcrumb-item-new {
    display: inline;
    padding: 3px;
}

li.breadcrumb-item-new a {
    text-decoration: underline;
}

li.breadcrumb-item-new.active a {
    text-decoration: none !important;
    color: black;
}

li.breadcrumb-item-new::after {
    content: none;
    content: ">";
    font-weight: bold;
    color: black;
    padding-left: 5px;
    font-size: 12px;
    font-family: inherit;
    text-decoration: none;
}

li:last-child.breadcrumb-item-new::after {
    content: none;
}

.breadcumfontsize {
    font-size: smaller;
}

@media only screen and (max-width:1250px ){
    #showMapLayers, #hideMapLayers {
        background: #FFF;
        position: absolute;
        top: 160px; 
        right: 10px;
        width: 200px;
    }

}