﻿.series {
    margin-bottom: 4em;
}

ul.series-index {
    margin-left: 2em;
    margin-bottom: 1.3125em;
    line-height: 1.6875em;
}

#ferns-and-lycophytes {
    background-image: url('../images/background-fern-400.jpg');
}

#seed-plants {
    background-image: url('../images/background-seed-plant-400.jpg');
}

#mosses {
    background-image: url('../images/background-moss-400.jpg');
}

@media screen and (min-width: 600px) {
    #ferns-and-lycophytes {
        background-image: url('../images/background-fern-600.jpg');
    }

    #seed-plants {
        background-image: url('../images/background-seed-plant-600.jpg');
    }

    #mosses {
        background-image: url('../images/background-moss-600.jpg');
    }
}

@media screen and (min-width: 800px) {
    #ferns-and-lycophytes {
        background-image: url('../images/background-fern-800.jpg');
    }

    #seed-plants {
        background-image: url('../images/background-seed-plant-800.jpg');
    }

    #mosses {
        background-image: url('../images/background-moss-800.jpg');
    }
}

.tip {
    visibility: visible;
}

table {
    width: 100%;
    border-collapse: collapse;
}

tbody tr:nth-of-type(odd) {
    background: #f4faf2;
}

th {
    background-color: #d6ebce;
    /*color: #fff;*/
    font-weight: bold;
    margin: 0;
}

    th:hover {
        cursor: pointer;
    }

td, th {
    padding: 0.5em;
    text-align: left;
}

thead tr {
    border: none;
    margin-bottom: 0.5em;
}

tr {
}

.column1 {
    width: 8%;
}
.column2 {
    width: 22%;
}
.column3 {
    width: 30%;
}
.column4 {
    width: 6%;
}
.column5 {
    width: 12%;
}
.column6{
    width: 22%;
   line-height: 1.4em;
}

.column6 p{
	line-height: 1.4em;
	width: 200px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

.column6 p:hover {
     white-space:normal;
}

a[href$=".pdf"],
.pdf-image {
    background: transparent url(../images/pdf.jpg) left center no-repeat;
    padding-left: 24px;
    display: block;
}

.pdf-link {
    cursor: pointer;
}

@media screen and (max-width: 690px) {
    .tip {
        visibility: hidden;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    th {
        float: left;
        background-color: transparent;
        color: inherit;
        border: 1px solid #ccc;
        margin: 0.2em 0.2em 0.5em 0.2em;
        font-weight: normal;
    }

    thead:nth-of-type(1):before {
        content: "Sort by: ";
        font-weight: bold;
    }

    tbody {
        clear: both;
    }

    td {
        position: relative;
        padding-left: 20%;
    }

        td:before {
            position: absolute;
            top: 0.5em;
            left: 0.5em;
            width: 75%;
            padding-right: 0.5em;
            white-space: nowrap;
            font-weight: bold;
            color: #585858;
        }

        td:nth-of-type(1):before {
            content: "Fascicle";
        }

        td:nth-of-type(2):before {
            content: "Author";
        }

        td:nth-of-type(3):before {
            content: "Title";
        }

        td:nth-of-type(4):before {
            content: "Year";
        }

        td:nth-of-type(5):before {
            content: "ISBN";
        }

        td:nth-of-type(6):before {
            content: "Notes";
        }

    tr {
        border: 1px solid #cce6c2;
        margin-bottom: 0.8em;
    }

    .section-heading {
        margin-bottom: 0.5em;
    }
}

@media screen and (max-width: 600px) {
    td {
        padding-left: 30%;
    }

        td:before {
            width: 65%;
            height: 100%;
        }
}
