﻿.jumbocalc {
    padding: 30px;
    margin-bottom: 30px;
    font-size: 21px;
    font-weight: 200;
    line-height: 2.1428571435;
    color: inherit;
    background-color: #eeeeee;
    background-image: url(Images/fertiliser_calc.png);
    /*background-size: 100% 100%;*/
    background-size: cover;
    background-position: 30% 30%;
}

    .jumbocalc h1 {
        line-height: 1;
        color: #fff;
        text-shadow: 2px 2px #000;
    }

    .jumbocalc p {
        line-height: 1.4;
        color: #fff;
        text-shadow: 1px 1px #000;
    }

.container .jumbocalc {
    border-radius: 6px;
}

@media screen and (min-width: 768px) {
    .jumbocalc {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .container .jumbocalc {
        padding-right: 60px;
        padding-left: 60px;
    }

    .jumbocalc h1 {
        font-size: 63px;
    }
}

.jumbomain {
    padding: 30px;
    margin-bottom: 30px;
    font-size: 21px;
    font-weight: 200;
    line-height: 2.1428571435;
    color: inherit;
    background-color: #eeeeee;
    background-image: url(Images/fertiliser_soil.jpg);
    /*background-size: 100% 100%;*/
    background-size: cover;
    background-position: 30% 30%;
}

    .jumbomain h1 {
        line-height: 1;
        color: #fff;
        text-shadow: 2px 2px #000;
    }

    .jumbomain p {
        line-height: 1.4;
        color: #fff;
        text-shadow: 1px 1px #000;
    }

.container .jumbomain {
    border-radius: 6px;
}

@media screen and (min-width: 768px) {
    .jumbomain {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .container .jumbomain {
        padding-right: 60px;
        padding-left: 60px;
    }

    .jumbomain h1 {
        font-size: 63px;
    }
}

.jumboobj {
    padding: 30px;
    margin-bottom: 30px;
    font-size: 21px;
    font-weight: 200;
    line-height: 2.1428571435;
    color: inherit;
    background-color: #eeeeee;
    background-image: url(Images/irrigator.png);
    background-size: cover;
    background-position: 30% 30%;
}

    .jumboobj h1 {
        line-height: 1;
        color: #fff;
        text-shadow: 2px 2px #000;
    }

    .jumboobj p {
        line-height: 1.4;
        color: #fff;
        text-shadow: 1px 1px #000;
    }

.container .jumboobj {
    border-radius: 6px;
}

@media screen and (min-width: 768px) {
    .jumboobj {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .container .jumboobj {
        padding-right: 60px;
        padding-left: 60px;
    }

    .jumboobj h1 {
        font-size: 63px;
    }
}

.jumbobg {
    padding: 30px;
    margin-bottom: 30px;
    font-size: 21px;
    font-weight: 200;
    line-height: 2.1428571435;
    color: inherit;
    background-color: #eeeeee;
    background-image: url(Images/cows.png);
    background-size: cover;
    background-position: 30% 30%;
}

    .jumbobg h1 {
        line-height: 1;
        color: #fff;
        text-shadow: 2px 2px #000;
    }

    .jumbobg p {
        line-height: 1.4;
        color: #fff;
        text-shadow: 1px 1px #000;
    }

.container .jumbobg {
    border-radius: 6px;
}

@media screen and (min-width: 768px) {
    .jumbobg {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .container .jumbobg {
        padding-right: 60px;
        padding-left: 60px;
    }

    .jumbobg h1 {
        font-size: 63px;
    }
}

.jumboco {
    padding: 30px;
    margin-bottom: 30px;
    font-size: 21px;
    font-weight: 200;
    line-height: 2.1428571435;
    color: inherit;
    background-color: #eeeeee;
    background-image: url(Images/fertiliser_about.jpg);
    background-size: cover;
    background-position: 30% 30%;
}

    .jumboco h1 {
        line-height: 1;
        color: #fff;
        text-shadow: 2px 2px #000;
    }

    .jumboco p {
        line-height: 1.4;
        color: #fff;
        text-shadow: 1px 1px #000;
    }

.container .jumboco {
    border-radius: 6px;
}

@media screen and (min-width: 768px) {
    .jumboco {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .container .jumboco {
        padding-right: 60px;
        padding-left: 60px;
    }

    .jumboabout h1 {
        font-size: 63px;
    }
}



.input-file-container {
    position: relative;
    width: 225px;
}

.js .input-file-trigger {
    display: block;
    padding: 14px 45px;
    /*background: #39D2B4;*/
    background: #428bca;
    color: #fff;
    font-size: 1em;
    transition: all .4s;
    cursor: pointer;
}

.js .input-file {
    position: absolute;
    top: 0;
    left: 0;
    width: 225px;
    opacity: 0;
    /*padding: 14px 0;*/
    cursor: pointer;
}

    .js .input-file:hover + .input-file-trigger,
    .js .input-file:focus + .input-file-trigger,
    .js .input-file-trigger:hover,
    .js .input-file-trigger:focus {
        background: #34495E;
        color: #428bca; /*#39D2B4;*/
    }

.file-return {
    margin: 0;
}

    .file-return:not(:empty) {
        margin: 1em 0;
    }

.js .file-return {
    font-style: italic;
    font-size: .9em;
    font-weight: bold;
}

    .js .file-return:not(:empty):before {
        content: "Selected file: ";
        font-style: normal;
        font-weight: normal;
    }


/* Useless styles, just for demo styles */

body {
    /*font-family: "Open sans", "Segoe UI", "Segoe WP", Helvetica, Arial, sans-serif;*/
    color: #7F8C9A;
    background: #FCFDFD;
}

h1, h2 {
    margin-bottom: 5px;
    font-weight: normal;
    text-align: left;
    color: #000;
}

.display-search-name {
    display: inline-block;
    /*border: 1px solid #ff0000;*/
    color:darkblue;
    /*background-color: #eee;*/
    /*font-size: 15px;*/
    /*add more styles ...*/
}

/*h2 {
    margin: 5px 0 2em;
    color: #1ABC9C;
}*/

form {
    /*width: 225px;*/
    /*margin: 0 auto;*/
    /*text-align: center;*/
}

/*h2 + P {
    text-align: center;
}*/

.txtcenter {
    margin-top: 4em;
    font-size: .9em;
    text-align: center;
    color: #aaa;
}

.copy {
    margin-top: 2em;
}

    .copy a {
        text-decoration: none;
        color: #1ABC9C;
    }


.submit-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 6em;
    padding-top: 2.3em;
    /* The following rules are the ones most likely to change */
    width: 20em;
    /* Set 'margin-left' to a negative number

     that is 1/2 of 'width' */
    margin-left: -10em;
    padding-left: 2.1em;
    background-color: black;
    color: white;
}

.submit-progress-bg {
    background-color: lightgray;
    opacity: .5;
}

.submit-finished-error {
    position: fixed;
    height: 6em;
    padding-top: 2.3em;
    /* The following rules are the ones most likely to change */
    width: 20em;
    /*background-color: black;*/
    color: red;
}

.submit-finished-good {
    position: fixed;
    height: 6em;
    padding-top: 2.3em;
    /* The following rules are the ones most likely to change */
    width: 20em;
    /*background-color: black;*/
    color: green;
}


.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}

.upload {
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.head {
    background-color: greenyellow;
}

    .head tr th {
        text-align: center;
        font-weight: bold;
    }


.article-table {
    max-width: 100px; /*Inspect element in broswer and see how many pixels is 20%*/
    table-layout: fixed;
    width: 100%;
}

    .article-table td {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

table {
    width: 100%;
    clear: both;
    border-collapse: collapse;
    table-layout: fixed; 
    word-wrap:break-word;
    
}

td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    td:nth-child(2) {
        width: 100%; /* Extend the cell as much as possible */
        max-width: 0; /* Avoid resizing beyond table width */
    }
/* alternative version with flexbox */
.with-fb {
    display: flex;
    white-space: nowrap;
}

    .with-fb .text {
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1; /* optionally extend to make labels line up */
    }





/* defaults */
body {
    font-family: sans-serif;
}

table {
    border-collapse: collapse;
    margin-bottom: 1em;
}

td, .with-fb div {
    border: 1px solid #999;
    padding: 1em;
    vertical-align: top;
}

.with-fb {
    margin-bottom: 1em;
}

    .with-fb div + div {
        border-left: 0;
    }

table .with-fb {
    margin: -1em;
}

    table .with-fb div {
        border-style: dashed;
    }



.expand-small-on-hover:hover {
    max-width: 200px;
    text-overflow: ellipsis;
}

.expand-maximum-on-hover:hover {
    max-width: initial;
}

.dataTable th, .dataTable td {
    max-width: 200px;
    /*min-width: 10px;*/
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*table#datamanfields.dataTable tbody tr:hover {
    background-color: #ffa;
}

    table#datamanfields.dataTable tbody tr:hover > .sorting_1 {
        background-color: #ffa;
    }

table#datamanfields.dataTable thead:hover {
    background-color: #ffa;
}*/
.dt-button.active {
    background: lightgray !important;
    color: blue;
}
/*.dt-button {
    background: gray !important;
}*/
.dt-button-collection {
    width: 500px;
}
.dt-button-collection buttons-columnVisibility:before,
.dt-button-collection buttons-columnVisibility.active span:before {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 0;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}

.dt-button-collection buttons-columnVisibility:before {
    content: ' ';
    margin-top: -6px;
    margin-left: 5px;
    border: 1px solid black;
    border-radius: 0px;
}
.dt-button buttons-columnVisibility active {
    background-color: red;
}

.dt-button-collection buttons-columnVisibility.active span:before {
    content: '\2714';
    margin-top: -11px;
    margin-left: 8px;
    text-align: center;
    text-shadow: 1px 1px #DDD, -1px -1px #DDD, 1px -1px #DDD, -1px 1px #DDD;
}

.dt-button-collection buttons-columnVisibility span {
    margin-left: 8px;
}

.dt-button.red {
    color: red;
}

.dt-button.orange {
    color: orange;
}

.dt-button.green {
    color: green;
}
.addNewRecord {
    lighting-color: rebeccapurple !important;
    color: blue !important;
    font-weight: bold;
}
.deleteRecord {
    lighting-color: rebeccapurple !important;
    color: red !important;
    font-weight: bold;
}

table.dataTable tr th.select-checkbox.selected::after {
    content: "✔";
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
}

/*.wizard > .steps > ul > li:nth-child(1) {
    width: 18%;
}

.wizard > .steps > ul > li:nth-child(2) {
    width: 19%;
}
.wizard > .steps > ul > li:nth-child(3) {
    width: 23%;
}

.wizard > .steps > ul > li:nth-child(4) {
    width: 20%;
}
.wizard > .steps > ul > li:nth-child(5) {
    width: 20%;
}
.wizard > .steps > ul > li:nth-child(6) {
    width: 20%;
}*/


.tooltip-inner {
    max-width: 75% !important;
    text-align: left;
    margin-top: -50px;
    background-color: white;
    color: black;
    border-color: black;
}

.radio-inline {
    display: block;
}

    .radio-inline + .radio-inline {
        margin-left: 0;
    }

#dtInfo {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #dtInfo:hover {
        opacity: 0.7;
    }


.rLabel {
    font-size: 10px;
    margin-top: 5px;
    margin-left: 25px;
}
.rInput {
    /*margin-top: -20px;*/
    margin-left: 25px;
    position: relative;
}

.dtButton {
    lighting-color: rebeccapurple !important;
    color: whitesmoke !important;
    height: 2.5em;
    /*font-weight: bold;*/
    /*background-color: white !important;*/
    background: #00a1e0 !important;
    /*0c6694*/
}

    .dtButton:hover {
        lighting-color: rebeccapurple !important;
        color: whitesmoke !important;
        /*background-color: whitesmoke !important;*/
        /*font-weight: bold;*/
        background: gray !important;
    }


.slidecontainer {
    width: 50%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider:hover {
        opacity: 1;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #4CAF50;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #4CAF50;
        cursor: pointer;
    }


/*collapsible*/
.cbcollapsible {
    background-color: #9dc8e2;
    /*#0170bf;*/
    color: whitesmoke;
    cursor: pointer;
    padding: 8px;
    padding-right: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    border-radius: 4px;
}


.cbactive {
    background-color: #0170bf;
    /*#555;*/
}

    .cbactive:hover,.cbcollapsible:hover {
        background-color: #727591;
        /*#555;*/
    }


    .cbcollapsible:after {
        content: '▼'; /*'\002B';*/
        font-size: 16px;
        color: white;
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }

.cbactive:after {
    content: '▲'; /*"\2212";*/
    float: right;
}

.cbcontent {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #FCFDFD;
    /*#f1f1f1;*/
}


/* Create three equal columns that floats next to each other */
.column {
    float: left;
    width: 33.33%;
    padding: 10px;
    /*height: 300px;*/ /* Should be removed. Only for demonstration */
}

.row:after {
    content: "";
    display: table;
    clear: both;
}


#CdImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #CdImg:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 150px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 65px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.printInput {
    width: 100%;
    border: none;
}
.printInputTA {
    display: block;
    overflow: visible;
    width: 100%;
    border: none;
    overflow-y: hidden; /* prevents scroll bar flash */
    height: auto;
}

#inputcontainer {
    display: none;
}

@media print {
    #inputcontainer {
        display: block;
    }
}

.input-footer {
   font-size: 12px
}