﻿/* 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. */

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.table-admin td, .table-admin th {
    border: 1px solid black;
    border-collapse: collapse;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles  old min-width: 768px
-------------------------------------------------- */
html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 400px) {
    html {
        font-size: 16px;
    }
}


/* xhinformation   styles I added      */

.hero-bkgd {
    background: linear-gradient(rgba(20, 20, 31, .7), rgba(20, 20, 31, .7)), url(../bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.plain-bkgd {
    background-color: dimgray;
}

.base-width {
    width: 350px;
}

.my-container {
    width: 100%;
}

@media (min-width: 360px) {
    .my-container {
        max-width: 360px;
    }
}

.row-short-width {
    width: 100%;
}

.xhitem {
    display: inline-block;
    border: none;
    vertical-align: middle;
}

.comment-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 15px;
}

.smallfont {
    font-size: 14px;
}

.xcenter {
    position: relative;
    margin: auto;
}

.control-xs-width {
    width: 8rem;
}

.control-m-width {
    width: 120px;
}

.control-m2-width {
    width: 180px;
}

.form-floating > label {
    color: blue;
    font-weight: 500;
}
    
.control-l-width {
    width: 320px;
}

.control-xl-width {
    width: 360px;
}

.control-photo-width {
    width: 360px;
}

.photo-div {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 340px;
    height: 200px;
    background-color: lightblue;
    margin-bottom: 3px;
}

.image-container {
    position: relative;
    display: inline-block;
}

    .image-container img {
        display: block;
        width: 175px;
        height: auto;
    }

.overlay-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1b6ec2;
    color: #fff;
    padding: 2px 2px;
    font-size: 12px;
    text-align: center;
}

.inline-btn {
    width: 200px;
    margin: 0 auto;
    display: inline;
}

.movedown_btn {
}

tbody tr:nth-child(odd) {
    background-color: #eee;
}

tbody tr:nth-child(even) {
    background-color: #fff;
}

.ilabel {
    padding: 3px;
    text-align: left;
    width: 80px;
}

.idetails {
    padding: 3px;
    text-align: right;
    width: 270px;
}

.symble {
    padding: 3px 8px 3px 1px;
    width: 30px;
}

.iicon {
    padding: 3px 20px 3px 1px;
    vertical-align: text-bottom;
    width: 10px;
    font-size: 24px;
    color: red;
}

/* style for sliding images */
.bigPhoto {
    display: none;
    margin: auto;
    align-items: center;
    overflow: hidden;
    width: 348px;
    height: 465px;
    background-color: lightblue;
}

    .bigPhoto > img {
        width: 348px;
    }

.xlabel {
    color: white;
    background-color: #1b6ec2;
}

.bottom-left-l1 {
    position: absolute;
    bottom: 10px;
    left: 16px;
}

.bottom-left-l2 {
    position: absolute;
    bottom: 40px;
    left: 16px;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    width: 352px;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next {
        font-size: 11px
    }
}

/* style for messages*/
div.scroll-container-high {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    align-items: center;
    white-space: nowrap;
    margin: auto;
    height: 320px;
    width: 348px;
}

.mssgcntner {
    border: 2px solid #dedede;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
}

.darker {
    border-color: #AAFFFF;
    background-color: #CCFFFF;
}

.mssgcntner::after {
    content: "";
    clear: both;
    display: table;
}

.mssgcntner img {
    float: left;
    width: 30px;
    height: 30px;
    max-width: 30px;
    margin-right: 15px;
}

.mssgcntner img.right {
        float: right;
        margin-left: 15px;
        margin-right: 0;
}

.time-right {
    float: right;
    font-size: 14px;
    color: #aaa;
}

.time-left {
    float: left;
    font-size: 14px;
    color: #999;
}

.scrollable {
    display: flex;
}

div.scroll-container-low {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    margin: 5px 5px 5px 5px;
    height: 80px;
}

div.scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 5px 20px 5px 20px;
    height: 240px;
}

div.scroll-container-admin {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: auto;
    align-items: center;
    white-space: nowrap;
    margin: 5px 20px 5px 20px;
    height: 800px;
}

.xhpill {
    width: 50px;
    height: 50px;
    margin: 2px;
}

.xhactive {
    border: 2px solid blue;
}

.xhposi-right {
    float: right;
    margin: 10px 30px 10px 10px;
}

.xhposi-left {
    float: left;
    margin: 0px 10px 15px 30px;
}

.heading-left {
    margin: 10px 0px 15px 55px;
}

.div-briefinfo {
    display: block;
    overflow: hidden;
    overflow-x: hidden;
    width: 110px;
    height: 230px;
    border: 1px solid #ff0000;
    background-color: lightblue;
}

.div-briefinfo-m {
    display: block;
    overflow: hidden;
    overflow-x: hidden;
    width: 300px;
    height: 320px;
    background-color: lightblue;
}

.brief-img-m {
    height: 275px;
}


.brief-img {
    height: 100px;
}

.on-left {
    float: left;
    display: block;
}

.button-like-anchor {
    border: none;
    padding: 0 !important;
    /*optional*/
/*    font-family: arial, sans-serif;  */
    /*input has OS specific font-family*/
    color: white;
    background-color: #1b6ec2;
    text-decoration: underline;
    cursor: pointer;
}

#upgradepup {
    visibility: hidden;
    position: absolute;
    border: 1px solid;
    width: 250px;
    height: 150px;
    padding: 10px;
    color: black;

    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 100;
}

.dimmer {
    opacity: 0.4;
    background-color: #ccc;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 99;
}

/* my style end */
/*------------------------------------------------------------------*/
.border-top {
    border-top: 1px solid #e5e5e5;
}

.display-8 {
    font-size: calc(0.925rem + 0.9vw);
    font-weight: 300;
    line-height: 1.1;
}

@media (min-width: 1000px) {
    .display-8 {
        font-size: 1.5rem;
    }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 70px; /* leave space for nav topbar */
    /* Margin bottom by footer height */
    margin-bottom: 40px; 
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 20px; /* Vertically center the text there */
}
