/* Space out content a bit */
body {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: rgb(238, 238, 238);
    font-size: 70%;
    font-family: Verdana, sans-serif;
}
html { margin-left: calc(100vw - 100%); }
/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
    padding-right: 1rem;
    padding-left: 1rem;
}

/* Custom page header */
.header {
    padding-bottom: 1rem;
    border-bottom: .05rem solid #e5e5e5;
}

/* Make the masthead heading the same height as the navigation */
.header h3 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 3rem;
}

a {
    color: #971807;
    text-decoration: underline;
}

a:hover {
    color: #F86E5A;
}

.main {
    border-left: 1px solid #e5e5e5;
}

.page-menu {
    font-size: 0.7rem;
}

.page-menu a {
    color: #000;
    text-decoration: none;
}

.page-menu a:hover {
    color: #971807;
}

h1 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
}

h2{
    color: #971807;
    margin:0;
    font-size:.8rem;
}

.margin-b-0{
    margin-bottom:0;
}

.margin-t-0{
    margin-top:0;
}

@media only screen and (min-width: 768px) {
    .padding-t-0 {
        padding-top: calc(.375rem + 1px);
    }
}

.padding-b-0{
    padding-bottom:0;
}

.margin-t-25{
    margin-top:25px;
}

select.form-control{
    padding:0;
}

.margin-t-10{
    margin-top:10px;
}

.align-right{
    text-align: right;
}

.col-form-label{
    padding-right: 0;
}

.text-color-red{
    color:#971807;
}

.text-color-black{
    color:#000000;
}

.text-bold{
    font-weight: bold;
}

.margin-b-5 {
    margin-bottom: 5px;
}

.margin-b-8 {
    margin-bottom: 8px;
}

.margin-l-15 {
    margin-left: 15px;
}

.margin-r-5 {
    margin-right: 5px;
}

.margin-b-25 {
    margin-bottom: 25px;
}

.margin-b-10 {
    margin-bottom: 10px;
}

.full-width {
    width: 100%;
}

.login-box {
    border: 1px #818C94 solid;
    background-color: #F8F8F8;
    padding:5px;
}

.login-box label{
    margin-bottom:0;
}
.login-box .form-group{
    margin-bottom:.5rem;
}

.form-control {
    height: 20px !important;
    padding-left: 3px;
    padding-right: 3px;
    font-size: .7rem;
    color: #000;
    border-radius: 0px;
}

.form-control::placeholder {
    color: #343a40;
}

.clear {
    clear: both;
}


.ads-listing .ad {
    border: 1px solid #B8CBD9;
    padding-top: 2px;
    position: relative;
}
.ads-listing a{
    position: absolute;
    bottom:-3px;
    right:0;
}
.ads-listing table{
    margin-bottom:15px;
}


/* Custom page footer */
.footer {
    padding-top: 1.5rem;
    color: #777;
    border-top: .05rem solid #e5e5e5;
}

.container, .container-fluid {
    border: 1px solid #e5e5e5;
    background-color: #fff;
}

/* Customize container */
@media (min-width: 800px) {
    .container {
        max-width: 800px;
    }
}

.container-narrow > hr {
    margin: 2rem 0;
}

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    border-bottom: .05rem solid #e5e5e5;
}

.jumbotron .btn {
    padding: .75rem 1.5rem;
    font-size: 1.5rem;
}

/* Supporting marketing content */
.marketing {
    margin: 3rem 0;
}

.marketing p + h4 {
    margin-top: 1.5rem;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 48em) {
    /* Remove the padding we set earlier */
    .header,
    .marketing,
    .footer {
        padding-right: 0;
        padding-left: 0;
    }

    /* Space out the masthead */
    .header {
        margin-bottom: 2rem;
    }

    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: 0;
    }
}