/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 
for details on configuring this project to bundle and minify static web assets. */

/* Dave added next line*/
.container {
    min-width: 100%;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Dave added all the following */
/********* Simple or original overlay *******/
/* Main container */
.overlay-image {
    position: relative;
    width: 100%;
}
/* Original image */
.overlay-image .image {
    display: block;
    width: 100%;
    height: auto;
}
/* Original text overlay */
.overlay-image .text {
    color: #fff;
    font-size: 30px;
    line-height: 1.5em;
    text-shadow: 2px 2px 2px #000;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
/********* Overlay on hover *******/
/* New overlay on hover */
.overlay-image .hover {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}
/* New overlay appearance on hover */
.overlay-image:hover .hover {
    opacity: 1;
}
/********* Background and text only overlay on hover *******/
.overlay-image .normal {
    transition: .5s ease;
}

.overlay-image:hover .normal {
    opacity: 0;
}

.overlay-image .hover {
    background-color: rgba(0,0,0,0.5);
}

/* For the main index.cshtml table */
.myTable {
    background-color: #eee;
    border-collapse: collapse;
}

.myTable th {
    background-color: #000;
    color: white;
}

.myTable td, .myTable th {
    padding: 5px;
    border: 1px solid #000;
}

/* For the second level pages (eg etacarina.cshtml)*/
.myDetailTable {
    background-color: #FFFFFF;
    border-collapse: collapse;
    width: 100%;
}

.myDetailTable_image_td {
    vertical-align: top;
    width: 75%;
}

.myDetailTable_text_td {
    width: 25%;
    align-content: flex-start;
    vertical-align: top;
}

/* Dave, this is to show an image when hovering the mouse over text (eg see carinamosaic.cshtml) */
a .hover-img {
    position: relative;
}
a .hover-img span {
    position: absolute;
    left: -9999px;
    top: -9999px;
    z-index: 9999;
}
a:hover .hover-img span {
    top: 20px;
    left: -300px;
}
