﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 31px;
  line-height: 30px; /* Vertically center the text there */
}

/***************************************Dynamic Container Size************************************/

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 810px) {
    .container {
        max-width: 775px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1020px) {
    .container {
        max-width: 980px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1360px) {
    .container {
        max-width: 1300px;
    }
}

.container-fluid-withMax {
    margin-right: auto;
    margin-left: auto;
    max-width: 1300px;
}


/* Braymore Styling************************************************/
.bg-bds {
    background-color: #990000 !important;
    background-image: none;
    background-repeat: no-repeat;
}

    .bg-bds > .text-light:hover {
        background-color: #550000;
    }



.bg-bds-secondary {
    background-color: #C4856F !important;
}

.bg-bds-secondary-muted {
    background-color: #A65 !important;
}

.text-bds {
    color: #990000 !important;
}

.text-shadow {
    text-shadow: 2px 2px #000000;
}

.text-shadow-light {
    text-shadow: 2px 2px #FFFFFF;
}

/*
.bg-bds-secondary {
    background-color: #C4795E !important;
}

.bg-bds-secondary-muted {
    background-color: #A54 !important;
}*/

input.form-changed, textarea.form-changed, select.form-changed {
    background-color: #FEB !important;
}

    input.form-changed[readonly], textarea.form-changed[readonly], select.form-changed[readonly] {
        background-color: #e9ebcc !important;
    }

.form-invalid {
    background-color: #FDD !important;
}

.btn-grey {
    background-color: #dbdbdb;
    background-image: none;
    background-repeat: no-repeat;
    color: black;
    border-color: #BBB;
}

    .btn-grey:hover, .bds-grey:focus {
        background-color: #a3a3a3;
        color: black !important;
    }

/*******************Adding to bootstrap classes******************/
@media(max-width: 768px) {
    .col-bel-md-auto{
        width:auto;
    }

    .mx-bel-md-1 {
        margin-right: 0.25rem !important;
        margin-left: 0.25rem !important;
    }
}

.btn-xs {
    padding: 0.125rem 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
    border-radius: 0.2rem;
}

.btn-bds {
    background-color: #990000;
    background-image: none;
    background-repeat: no-repeat;
    color: #f8f9fa !important;
}

.btn-bds:hover, .bds-btn:focus {
    background-color: #770000;
    color: #cbd3da !important;
}

.btn-grey {
    background-color: #dbdbdb;
    background-image: none;
    background-repeat: no-repeat;
    color: black;
    border-color: #BBB;
}

.btn-grey:hover, .bds-grey:focus {
    background-color: #a3a3a3;
    color: black !important;
}

.form-control-xs {
    height: calc(1.0em + 0.5rem + 2px);
    padding: 0.125rem 0.25rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.form-input {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
}

.form-inline label {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0;
}

.bg-orange-light {
    background-color: #FDA !important;
}

.bg-grey {
    background-color: #BBB !important;
}

.bg-white {
    background-color: #FFF !important;
}

.border-dark {
    border-color: #333 !important;
}

.dropdown-hover {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-hover {
    display: block;
}

.dropdown-hover[x-placement^="top"], .dropdown-hover[x-placement^="right"], .dropdown-hover[x-placement^="bottom"], .dropdown-hover[x-placement^="left"] {
    right: auto;
    bottom: auto;
}

.image-fit {
    width: 100%;
    object-fit: cover;
}

.text-top {
    position: relative;
}

/***************************General classes***********************************/

input[disabled], input[readonly] {
    background-color: #eee;
    opacity: 1;
}

.txt-index {
    width: 4em !important;
}

html.waiting, html.waiting input, html.waiting button, html.waiting label, html.waiting textarea {
    cursor: wait !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

tbody tr.selected {
    background-color: #CCC !important;
}

thead.sticky tr:nth-child(1) th {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

div.div-scrollable {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #dee2e6;
}

div.div-select {
    overflow: auto;
    height: 150px;
    border: 1px solid #dee2e6;
}

.copyInput {
    position: absolute;
    width: 0px !important;
    height: 0px !important;
    border-bottom-color: transparent;
    background-color: transparent;
    cursor: inherit;
}

.text-vertical-rotate {
    position: absolute;
    transform: translate(-50%, -40%) rotate(-90deg) translate(-50%, 50%);
    -webkit-transform: translate(-50%, -40%) rotate(-90deg) translate(-50%, 50%); /* Safari/Chrome */
    -moz-transform: translate(-50%, -40%) rotate(-90deg) translate(-50%, 50%); /* Firefox */
    -o-transform: translate(-50%, -40%) rotate(-90deg) translate(-50%, 50%); /* Opera */
    -ms-transform: translate(-50%, -40%) rotate(-90deg) translate(-50%, 50%); /* IE 9 */
}

.text-vertical-orientation {
    position: absolute;
    writing-mode: vertical-lr;
    text-orientation: upright;
}

/******************************************Floating Panels***********************************/

div.div-float-top-left {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5;
    max-height: 80%;
    /*max-width: 100%;*/
}

div.div-float-top {
    position: fixed;
    left: 50%;
    top: 0;
    z-index: 5;
    max-height: 80%;
    /*max-width: 100%;*/
    transform: translate3d(-50%, 0, 0);
}

div.div-float-top-right {
    position: fixed;
    left: 100%;
    top: 0;
    z-index: 5;
    max-height: 80%;
    /*max-width: 100%;*/
    transform: translate3d(-100%, 0, 0);
}

div.div-float-left {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 5;
    transform: translate3d(0, -50%, 0);
}

div.div-float-center {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 5;
    max-height: 80%;
    /*max-width: 100%;*/
    transform: translate3d(-50%, -50%, 0);
}

div.div-float-right {
    position: fixed;
    left: 100%;
    top: 50%;
    z-index: 5;
    /*max-height: 80%;
    max-width: 100%;*/
    transform: translate3d(-100%, -50%, 0);
}

div.div-float-bottom-left {
    position: fixed;
    left: 0;
    top: 100%;
    z-index: 5;
    max-height: 80%;
    /*max-width: 100%;*/
    transform: translate3d(0, -100%, 0);
}

div.div-float-bottom {
    position: fixed;
    left: 50%;
    top: 100%;
    z-index: 5;
    max-height: 80%;
    /*max-width: 100%;*/
    transform: translate3d(-50%, -100%, 0);
}

div.div-float-bottom-right {
    position: fixed;
    left: 100%;
    top: 100%;
    z-index: 5;
    max-height: 80%;
    /*max-width: 100%;*/
    transform: translate3d(-100%, -100%, 0);
}



/*************************Image Viewer***************************************/

div.image-viewer {
    position: fixed;
    width: 200%;
    height: 200%;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    background-color: #000a;
    z-index: 9;
}

.image-viewer-img {
    position: absolute;
    max-width: 49%;
    max-height: 49%;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.image-viewer-close {
    position: absolute;
    height: 1.5em;
    width: 1.5em;
    border-radius: 0.75em;
    background-color: #BB0114;
    text-align: center;
    color: white;
    right: 25%;
    top: 25%;
    transform: translate3d(-10px, 10px, 0);
    cursor: pointer;
}

    .image-viewer-close:hover {
        background-color: #990114;
    }