﻿body {
    background-position: center top;
    background-size: 3600px 1400px;
    background-image: url('/content/backrounds/main-background.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000000;
    color: white;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* main layout 
----------------------------------------------------------*/

h4 {
    color: #3366FF;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Two-column article layout (was per-page Blazor CSS isolation, now shared) */
.wrapper {
    display: flex;
    flex-flow: row wrap;
    text-align: justify;
    clear: both;
}

    .wrapper > * {
        padding: 10px;
        flex: 1 100%;
    }

@media all and (min-width: 600px) {
    .article {
        flex: 1 0 0;
    }
}

@media all and (min-width: 800px) {
    .article-1 {
        order: 1;
    }

    .article-2 {
        order: 2;
    }
}

/* Rental request form */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

    .form-grid input,
    .form-grid select,
    .form-grid textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px 12px;
        border-radius: 6px;
        border: 1px solid #555;
        font-size: 15px;
        background: #1a1a1a;
        color: white;
    }

#name,
#email,
#phone,
#comment,
#v_form_error {
    grid-column: 1 / 3;
}

.form-grid button {
    grid-column: 1 / 3;
    justify-self: center;
    background: #3366FF;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

    .form-grid button:hover {
        background: #254dc7;
    }

.invalid {
    border-color: red !important;
}

.valid {
    border-color: #3366FF !important;
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    grid-column: 1 / 3;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    #name,
    #email,
    #phone,
    #comment,
    #v_form_error {
        grid-column: 1;
    }

    .form-grid button {
        grid-column: 1;
    }
}

.content-wrapper {
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    padding-right: 1%;
    padding-left: 1%;
}



.portal_logo_div {
    float: left;
    padding: 20px 0 4px 0;
}

    .portal_logo_div > a {
        color: #3366FF;
        font-size: 2.5em;
        text-decoration: none;
    }

.portal_logo {
    opacity: 1;
    margin: 0;
    height: 80px;
    cursor: pointer;
    border-radius: 10px 10px 10px 10px;
}

    .portal_logo:hover {
        opacity: .8;
    }


.contact_login_tbl {
    width: 492px;
    margin-bottom: 0;
    float: right;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

    .contact_login_tbl > tbody > tr > td {
        border: none;
        padding: 2px 0 2px 0;
    }

        .contact_login_tbl > tbody > tr > td > a.selected {
            border-bottom: 4px solid #3366FF;
            color: #3366FF;
            text-decoration: none;
        }

.phone-contact {
    float: left;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
}

    .phone-contact:hover {
        color: #3366FF;
        font-weight: bold;
    }

.phone-mobile {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #FFF;
}

.logon {
    float: right;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
}

    .logon:hover {
        color: #3366FF;
        font-weight: bold;
    }

.social_links {
    text-align: right;
}


/* menu ----------------------------------------------------------*/

nav {
    float: right;
}

ul.menu {
    font-size: 1.3em;
    font-weight: bold;
}

    ul.menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul.menu li a {
            background: none;
            color: #FFFFFF;
            text-decoration: none;
        }

            ul.menu li a:hover {
                border-bottom: 4px solid #3366FF;
                color: #3366FF;
                text-decoration: none;
            }

            ul.menu li a.selected {
                border-bottom: 4px solid #3366FF;
                color: #3366FF;
                text-decoration: none;
            }

.media_box {
    width: 100%;
    margin-bottom: 5px;
    display: block;
    clear: both;
}

.div_img {
    display: inline-block;
    background-position: left top;
    background-repeat: no-repeat;
    overflow: hidden;
}

footer {
    clear: both;
    font-size: 1.0em;
    color: white;
    width: 100%;
    height: 100px;
    margin-top: 10px;
    text-align: center;
}

    footer > p > a {
        color: white;
        text-decoration: none;
    }

        footer > p > a:hover {
            color: white;
            text-decoration: underline;
        }

ul.external_link li a {
    color: #000000;
    text-decoration: none;
}

    ul.external_link li a:hover {
        color: #000000;
        text-decoration: underline;
    }



.sprite_youtube {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -3px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_facebook {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -33px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_twitter {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -63px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_X {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/twitter.3.ico') no-repeat 0 0;
    padding: 0 0 0 25px !important;
    line-height: 25px !important;
    display: inline;
}

.sprite_linkedin {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -93px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_pinterest {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -124px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_email {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -153px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_rss {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -184px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_website {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -213px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}

.sprite_googleplus {
    border-radius: 5px;
    margin-right: 5px;
    background: url('/content/icons/social_media.png') no-repeat 0 -244px;
    padding: 4px 0 4px 25px !important;
    line-height: 25px !important;
    display: none;
}


/* Bing Maps */
.div_location_map {
    border: thin solid black;
    position: relative;
    width: 100%;
    height: 375px;
    display: block;
    background-color: black;
}

.map_button_div {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}


/* Contact Form */
.contact_submit {
    cursor: pointer;
    padding: 5px;
    border: 2px solid #000000;
    margin: 3px;
    background-color: #C0C0C0;
    border-radius: 5px;
    color: #000000;
}





/********************
*   Mobile Styles   *
*   Tablets and Smart Phones   *    
********************/
@media only screen and (max-width: 850px) {

    .portal_logo_div {
        float: none;
        text-align: center;
        padding: 1px 0 1px 0;
    }

    .portal_logo {
        height: 60px;
    }

    .contact_login_tbl {
        float: none;
        text-align: center;
        width: 100%;
    }

    .phone-contact {
        font-size: .75em;
    }

    .logon {
        font-size: .75em;
    }

    .social_links {
        display: none;
    }

    .menu_div {
        float: none;
        text-align: center;
        width: 100%;
    }

    nav {
        margin-left: -60px;
    }

    ul.menu {
        font-size: .75em;
        font-weight: bold;
        margin: 0 0 5px 0;
        text-align: center;
        clear: both;
    }

    .audio_controls {
        clear: both;
        float: none;
        text-align: center;
        width: 100%;
    }

    .testimonial_link {
        clear: both;
        float: none;
        text-align: center;
        width: 100%;
    }

    /* main layout  
    ----------------------------------------------------------*/
/*    .main-content {
        width: 100%;
    }*/

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .div_location_map {
        border: thin solid black;
        position: relative;
        width: 100%;
        height: 300px;
        display: block;
        background-color: black;
    }
}
