﻿body {
    padding-top: 10px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

@keyframes fadeInFromRight {
    0% {
        opacity: 0;
        /*        transform: translate(10px,0);*/
    }

    100% {
        opacity: 1;
        /*        transform: translate(0,0); */
    }
}

.fadeInFromRight {
    animation-name: fadeInFromRight;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-direction: normal;
    animation-delay: 0;
    animation-play-state: running;
}

.navBarLink {
    color: white;
}

.userNameInNavBar {
    padding-right: 3rem;
}


/* 
Generic Styling, for Desktops/Laptops 
*/
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

td, th {
    padding: 0.75rem;
    border: 1px solid #ccc;
    text-align: left;
}

td.numeric, th.numeric
{
    text-align: right;
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr {
        display: block;
    }

        /* Hide table headers (but not display: none;, for accessibility) */
        thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    tr {
        border: 1px solid #ccc;
    }

    td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

        td.numeric, th.numeric {
            text-align: left;
        }

        td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 6px;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
        }



        /*
	Label the data
	*/
        td:nth-of-type(1):before {
            font-weight: bold;
            content: "User";
        }

        td:nth-of-type(2):before {
            font-weight: bold;
            content: "Narrative";
        }

        td:nth-of-type(3):before {
            font-weight: bold;
            content: "From";
        }

        td:nth-of-type(4):before {
            font-weight: bold;
            content: "To";
        }

        td:nth-of-type(5):before {
            font-weight: bold;
            content: "Amount";
        }

        td:nth-of-type(6):before {
            font-weight: bold;
            content: "Date Uploaded";
        }


}