﻿/* Move down content because we have a fixed navbar that is 50px tall */
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;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    text-align: center;
}

.navbar {
    background-color: #053131;
}

.btn {
    border-radius: 3.125rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    background-color: #bd5b00;
    border-color: #bd5b00;
    color: #fff;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

.input,.select {
    width:400px;
}

.rbl input[type="radio"] {
    margin-left: 15px;
    margin-right: 15px;
}

.validator {
    text-align: center;
    color:red;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
        background-color: #053131;
        color: white;
    }

    .body-content {
        padding: 0;
    }
}

/* Bubble pop-up */
.bubbleInfo {
    position: relative;
    cursor: pointer;
}

.popup {
    position: absolute;
    display: none;
    z-index: 50;
    border-collapse: collapse;
}

.trigger {
    cursor: pointer;
}

/* SubmitAnAd.aspx specific layout helpers (moved from inline styles)
   Provide spacing and alignment for the two-column form (labels / values) */
#tblForm td.labelCol {
    width: 160px;
    padding-right: 12px;
    vertical-align: middle;
}

#tblForm td.valueCol {
    vertical-align: middle;
}

#tblForm input[type="text"], #tblForm textarea, #tblForm select {
    margin-left: 4px;
}

#tblForm span.required {
    margin-right: 6px;
    display: inline-block;
}

/* Table layout settings moved from inline styles */
#tblForm {
    border-collapse: separate;
    border-spacing: 4px 6px;
}

/* Utility: visually hidden (screen-reader only) */
.sr-only:not(:focus):not(:active) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
