﻿
/* Swipe works with mouse as well but often causes text selection. */
#main-page * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.preview {
    border-radius: 25px;
    margin-right: .2em;
}
/* Arrow only buttons in the header. */
#main-page .ui-header .ui-btn {
    background: none;
    border: none;
    top: 9px;
}

#main-page .ui-header .ui-btn-inner {
    border: none;
}
/* Content styling. */
dl {
    font-family: "Times New Roman", Times, serif;
    padding: 1em;
}

dt {
    font-size: 2em;
    font-weight: bold;
}

    dt span {
        font-size: .5em;
        color: #777;
        margin-left: .5em;
    }

dd {
    font-size: 1.25em;
    margin: 1em 0 0;
    padding-bottom: 1em;
    border-bottom: 1px solid #eee;
}

.back-btn {
    float: right;
    margin: 0 2em 1em 0;
}

div.menu {
    margin: 0px 10px 10px 0px;
    width: 20%;
    float: left;
    overflow: hidden;
}

.navbar {
    overflow: hidden;
    background-color: #128C7E;
}

    .navbar a {
        float: left;
        font-size: 16px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

.footer a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar span {
    float: left;
    font-size: 1em;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {
    float: left;
    overflow: hidden;
}

.title {
    float: none;
}

.dropdown .dropbtn {
    font-size: 1em;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.navbar .dropdown:hover .dropbtn {
    background-color: #FFD700;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    overflow-y: auto;
    max-height: 30%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

@media only screen and (max-width: 768px) {
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        overflow-y: auto;
        max-height: 300px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
}
    .dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

    .dropdown:hover .dropdown-content {
        display: block;
    }





    div.element {
        margin: 1px;
        padding: 0px;
        height: 70px;
        width: 30%;
        border-radius: 10px;
        border: 1px;
        border-style: solid;
        border-color: #ddd;
        background-color: #fff;
        text-align: left;
        display: inline-block;
        overflow: hidden;
    }

    @media only screen and (max-width: 768px) {
        div.element {
            margin: 1px;
            padding: 0px;
            height: 70px;
            width: 90%;
            border-radius: 10px;
            border: 1px;
            border-style: solid;
            border-color: #ddd;
            background-color: #fff;
            text-align: left;
            display: inline-block;
            overflow: hidden;
        }
    }

    div.element div.title {
        background-color: white;
        padding: 4px 5px 0px 75px;
        white-space: nowrap;
        overflow: hidden;
        margin-left: 10px;
        text-overflow: ellipsis;
        font-size: 18px;
    }

    div.element div.undertitle {
        background-color: white;
        padding: 0px 5px 0px 75px;
        white-space: nowrap;
        overflow: hidden;
        margin-left: 10px;
        text-overflow: ellipsis;
        font-size: 14px;
    }

    div.element img {
        width: 70px;
        height: 70px;
    }

    div.element img {
        background-color: white;
        position: absolute;
        margin: 0px;
        border-radius: 10px 0px 0px 10px;
    }

    div.element a:link {
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 0px;
        display: block;
        color: black;
        text-decoration: none;
        background-color: rgba(177, 27, 27, 0);
    }

    div.footer_link a {
        color: #128C7E;
        text-decoration: none;
        text-align: center;
        font-size: 15px;
    }


    a:visited {
        color: #000 /*{a-link-visited};; */;
    }



    .linksbox {
        display: inline-block;
        margin-top: 18px;
        margin-right: 12px;
    }

        .linksbox a {
            color: white;
            background-color: #000;
            float: right;
            text-align: center;
            position: relative;
            line-height: 24px;
            min-width: 1em;
            padding: 4px 18px;
            height: 24px;
            font-size: 14px;
            font-weight: 500;
            border: none;
            text-decoration: none;
            transition: background-color .3s;
            margin: 2px 4px;
            border-radius: 100px;
        }

            .linksbox a.active {
                background-color: rgb(26,115,232);
                color: white;
                border-radius: 100px;
            }

            .linksbox a:hover:not(.active) {
                background-color: rgb(26,115,232);
                border-radius: 100px;
            }

    .pagination {
        display: inline-block;
        margin-top: 18px;
    }

        .pagination a {
            color: black;
            float: left;
            text-align: center;
            position: relative;
            line-height: 2em;
            min-width: 1em;
            padding: 1px 12px;
            font-size: 14px;
            border: 0px solid #000;
            text-decoration: none;
            transition: background-color .3s;
            margin: 0 1px;
        }


            .pagination a.more {
                padding: 1px 1px;
                cursor: default;
            }

            .pagination a.active {
                background-color: #000;
                color: white;
                border-radius: 4px;
            }


            .pagination a:hover:not(.more,.active) {
                background-color: #ddd;
                color: #128C7E;
                border-radius: 4px;
            }



