﻿
.navbar {
    line-height: normal;
}

.icon::before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 5 Pro";
/*    font-weight: 900;
*/    margin-right: 4px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.item-stretch {
    max-width: 100% !important;
}

/* Text alignment library overrides */
.text-left-override {
    text-align: left !important;
}
.text-center-override {
    text-align: center !important;
}
.text-right-override {
    text-align: right !important;
}
.text-justify-override {
    text-align: justify !important;
}

/* Element Horizontal Alignments, overrides on form-group elements */
.form-horizontal .form-group.text-center,
.center-block {
    margin-left: auto;
    margin-right: auto;
}
.form-horizontal .form-group.text-left {
    margin-left: 0;
    margin-right: auto;
}

.left-block {
    margin-left: 0;
    margin-right: auto;
    display: block;
}

.form-horizontal .form-group.text-right {
    margin-left: auto;
    margin-right: 0;
}

.right-block {
    margin-left: auto;
    margin-right: 0;
    display: block;
}

/* Responsive Image in column by itself */
.img-responsive {
    width: auto;
    height: inherit;
}

.img-stretch-horizontal {
    width: 100%;
}

/* Large images in textblocks should resize if page is narrower than said images */
.textblock > div > img {
    max-width: 100%;
    height: auto;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Map */
.lenosGoogleMap {
    display: block;
    width: 100%;
}

/* Button Defaults and Overrides */
button, 
input[type='button'], 
input[type='submit']
.btn, 
.btn-default {
    white-space: normal;
    border: 0px solid transparent;
    padding: 0;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display:inline-block;
    content: "[";
    padding-right: 0.5em;
}
.btn-bracketed::after {
    display:inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Make .svg files in the carousel display properly in older browsers */
/*.carousel-inner .item img[src$=".svg"]
{
    width: 100%;
}*/

/* Set default min-heights to inherit parent(s) min-height value. 
   Override via media queries if necessary. */
nav > .container-fluid, 
nav > .container-fluid > .navbar-header,
div.row > div[class^='col-md-'],
footer > div.container,
footer > div.container > div[class*='col-md-'] {
    min-height: inherit;
}

/* TODO: Add border property to webpage elements to set border widths and colours */
nav {
    border: 0 !important;
}

/* Header container should not inherit Max Content Width */
/* TODO: Add separate width constraints to header/row/footer */
nav .container-fluid {
    max-width: none;
}

.navbar-brand {
     padding: 0;
}

.navbar-default {
    background-color: transparent;
}

.nav-row-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-align: center;
    -ms-flex-flow: row nowrap;
}

.nav-left-content {
    order: 1;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 1px;
    margin-right: 5px;
}

.nav-center-content {
    display: flex;
    flex: 1;
    flex-basis: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 5px;
    order: 2;
    justify-content: center;
}

.nav-right-content {
    margin-top: auto;
    margin-bottom: auto;
    flex-basis: auto;
    order: 3;
}

.scrollable-menu {
    height: auto;
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
}

.textblock, .navbar-nav {
    font-family: Verdana;
    font-size: 12px;
    color: black;
}

.calendar-button {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 1px center;
    padding-left: 20px;
}

/* Tables.less overrides */
.table {
    margin-bottom: 0 !important;
}

.table .table {
    background-color: initial;
}

sub {
    bottom: unset;
    vertical-align: middle;
    font-size: inherit;
}

sup {
    top: unset;
    font-size: inherit;
    vertical-align: text-top;
}

/* Non-Mobile property defaults */
/*@media screen and (min-width: 768px) {

}*/

/* Desktop View Only properties */
@media screen and (min-width: 990px) {
    /* Make columns in a row the same height */
    .row {
        display: box; /* old */
        display: flexbox; /* IE10 */
        display: flex;
        align-items: stretch;
    }
}

/* In responsive view when columns become rows, do not set a mininum height requirement
    for columns (now individual rows) that do not have content. */
@media screen and (max-width: 990px) {
    div.row, div.row > div[class^='col-md-'],
    footer > div.container,
    footer > div.container > div[class*='col-md-'] {
        min-height: 0 !important;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    body {
        background-size: cover !important;
        background-repeat: initial !important;
        background-position: center top !important;
    }

    @supports (-webkit-touch-callout: none) {
        /* CSS specific to iOS devices */
        background-attachment: scroll !important;
    }

    /* Hide captions */
    .carousel-caption {
        display: none;
    }

    .lenosGoogleMap {
        min-height: inherit;
    }

    .nav-row-layout .nav-left-content {
        -ms-flex: 1;
        margin-top: 1px;
    }

    .nav-row-layout .nav-center-content {
        -ms-flex: 0 1 auto;
        margin-top: 1px;
    }

    .nav-row-layout .nav-right-content {
        -ms-flex: 1;
        margin-top: 1px;
    }

    /* Prevent nav textblock from disappearing off the side of the screen in mobile */
    .navbar-brand .textblock {
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-brand .img-responsive {
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-nav {
        margin: 0;
    }
}

/* Keep IE scrollbar from covering content */
@-ms-viewport {
    width: auto !important;
}

/* Lightbox */
.ui-dialog {
    box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}

.ui-dialog-titlebar.ui-widget-header {
    background: linear-gradient(#3181D0, #027ade);
    color: #FFF;
    font-family: sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-size: 14px;
}

.ui-corner-all {
    border-radius: 0px !important;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ui-button {
    outline: none !important;
}

.ui-dialog .ui-resizable-se {
    width: 25px;
    height: 25px;
    right: -10px;
    bottom: -10px;
    background-position: 16px 16px;
    background-color: rgba(0,0,0,0.5);
    border-top-left-radius: 40px;
}

.ui-dialog-content.ui-widget-content {
    min-width: 100% !important;
    padding: 0 !important;
}

.buzzbuzz {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

textarea {
    resize: none;
}