﻿.report-card, .map-report-card {
    /* height: 180px;*/

    padding: 0;
    margin: 10px;
    display: inline-block;
}

.report-card {
    height: 230px;
}


.card-body {
    background-clip: border-box;
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
    position: relative;
    height: 205px;
    width: 290px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: hidden;
    cursor: pointer;
}


.img-thumb {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.hidden {
    display: none;
}


.card-favourite-icon {
    position: absolute;
    z-index: 999;
    font-size: 1.6em;
    margin-top: 0px;
    bottom: -9px;
    right: 2px;
}



card-favourite-icon:hover {
    color: yellow;
}

.study-term {
    padding: 0;
    line-height: 1em;
    margin: 0;
    margin-top: 4px;
}

.study-last-modified {
    position: absolute;
    right: 30px;
    bottom: 3px;
    line-height: 1em;
    margin: 0;
    /*position:absolute;
    bottom:0px;
    right:0;
    width:100px;*/
}


.study-name {
    line-height: 1.2em;
    font-weight: 600;
    padding: 0;
    width: 290px;
    margin: 0;
    margin-left: 4px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-btn {
    color: #797979 !important;
}

.study-title-default-image {
    position: absolute;
    top: 10px;
    font-size: 22px;
    line-height: 1em;
    color: white;
    text-align: center;
    padding: 4px;
    width: 100%;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.study-subtitle-default-image {
    position: absolute;
    bottom: 10px;
    left: 50px;
    width: 190px;
    font-size: 18px;
    line-height: 1em;
    color: white;
    text-align: center;
    padding: 4px;
    border-radius: 4px;
    /*background-color: red;*/
}

.img-category-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 10px;
    right: 6px;
    border-radius: 20px;
    border: 1px solid black;
}


.img-share-icon {
    background-color: white;
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 10px;
    left: 6px;
    border-radius: 10px;
    border: 1px solid black;
}

    .img-share-icon img {
        width: 35px;
        height: 35px;
        position: absolute;
        top: 2px;
        left: 2px;
    }


.share-count {
    position: absolute;
    font-size: 1.4em;
    top: 1px;
    right: 1px;
    padding-left: 2px;
    padding-right: 2px;
    text-align: right;
    background: white;
    line-height: 1em;
    border-radius: 6px;
}


.filter-btn.btn-primary {
    color: white !important;
}




#studies-table {
    width: 100% !important;
    /* border: 1px solid gray;*/
    border-radius: 5px;
    padding: 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.dataTables_scrollBody {
    overflow-x: hidden !important;
}

#studies-table_filter {
    display: none;
}

td {
    padding: 2px !important;
    line-height: 1.2em;
}

thead {
    display: none;
}


    thead tr th:first-child,
    tbody tr td:first-child {
        width: 54pt;
        min-width: 54pt;
        max-width: 54pt;
        word-break: break-all;
    }

.span-pad {
    margin-right: 3px;
}

#studies-table_wrapper {
    border-top: 2px solid black;
    border-bottom: 1px solid black;
}

div#studies-table_info {
    padding-top: 0;
    font-size: 0.8em;
    text-align: center;
    float: none;
    width: 100%;
    background-color: #3a3a3a;
    color: white;
}







.study-subtitle-container {
    margin-top: 4px;
    max-height: 50px;
    width: 550px;
    display: block;
    line-height: 1.0em;
    overflow: hidden;
}

.study-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    /* display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;*/
    color: darkblue;
    font-style: italic;
    font-size: 0.9em;
    white-space: break-spaces;
    padding: 0px;
    margin-left: 8px;
}

.study-summary {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: break-spaces;
    padding: 0px;
}

.study-name-container {
    max-height: 40px;
    /* width: 550px;*/
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1em;
    padding-top: 4px;
}

.study-image {
    float: left;
    width: 74px;
    height: 76px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.study-name {
    font-weight: bold;
    color: black;
}



.study-owner {
    font-size: 0.8em;
    margin-left: 4px;
    color: grey;
}



.study-icon .fa {
    margin-left: 2px;
    font-size: 1.2em;
}

.study-icon .fa-user {
    color: forestgreen;
}

.study-icon .fa-share-alt-square {
    color: red;
}

.study-icon .fa-globe {
    color: purple;
}

.study-icon .star {
    color: black;
}


/*case StudyClassification.Cropping: return "forestgreen";
case StudyClassification.Sugarcane: return "darkolivegreen";
case StudyClassification.Cotton: return "dodgerblue";
case StudyClassification.Horticulture: return "green";
case StudyClassification.Grazing: return "goldenrod";
case StudyClassification.NativeVeg: return "brown";
case StudyClassification.MixedLandUse: return "orange";
case StudyClassification.Other: return "red";*/
.class-cropping {
    color: forestgreen;
}

.class-sugarcane {
    color: darkolivegreen;
}

.class-cotton {
    color: dodgerblue;
}

.class-horticulture {
    color: green;
}

.class-grazing {
    color: goldenrod;
}

.class-nativeveg {
    color: brown;
}

.class-mixedlanduse {
    color: orange;
}

.class-other {
    color: red;
}

.legend-item {
    margin-right: 8px;
}

    .legend-item .fa {
        margin-right: 3px;
    }

#map-legend {
    padding-bottom: 4px;
    width: 100%;
    text-align: center;
}
.studies-title {
    padding-top: 6px;
    margin-right: 6px;
}

#studies-map {
    height: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#studies-table tbody tr:hover {
    background: lightgoldenrodyellow;
    cursor: pointer;
}