/* COLOR PALETTE
	logo-red: #ed1c24    
    logo-black: #000
    almost black (btns): #231f20
*/


/* ===GLOBAL=== */
body {
    font-size: 14px;
    background-color: #203981;
}

h1 {
    font-size: 30px;
    font-weight: bold;
    line-height: 30px;
    padding: 0px;
    padding-bottom: 25px;
}

h2 {
    color: #333;
    font-size: 18px;
    /*padding-top: 20px;*/
}

h3 {
    color: #203981;
    font-size: 18px;
    margin: 10px 0;
}

h4 {
    color: #203981;
    font-size: 22px;
    line-height: 26px;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    color: #333;
    font-size: 14px;
    line-height: 24px;
    margin: 10px 0;
}

/* ===CONTENT=== */
.btn {
    background-color: #231f20;
    background-color: #313639;
    color: #FFF;
    border-radius: 5px;
}

    .btn:hover, .btn:focus {
        background-color: #203981;
        background-color: #576675;
        background-color: #2d4494;
        color: #FFF;
    }

#outer-wrap {
    background: url(../images/page.png);
    background: #FFF;
}

.content-row {
    background-color: #f4f4f4;
    background-color: #FFF;
    padding: 40px 15px;
    /*border-bottom: 5px solid #cccccc;*/
}

    .content-row:last-child {
        border-bottom: none;
    }

.highlight,
.highlight a {
    color: #1f377d;
}

.bg-black {
    background-color: #000;
    color: #FFF;
}

    .bg-black .btn {
        background-color: #FFF;
        color: #231f20;
    }

        .bg-black .btn:hover {
            background-color: #ed1b24;
            color: #FFF;
            text-decoration: none;
        }

.bg-white {
    background-color: #FFF;
    color: #313639;
}

    .bg-white .feature-cycler-container .icons {
        color: #313639;
    }

    .bg-white .btn {
        background-color: #313639;
        color: #FFF;
    }

        .bg-white .btn:hover {
            background-color: #1f377d;
            color: #FFF;
            text-decoration: none;
        }

.bg-offblack {
    background-color: #231f20;
    color: #FFF;
}

    .bg-offblack .btn {
        background-color: #FFF;
        color: #231f20;
    }

        .bg-offblack .btn:hover {
            background-color: #ed1b24;
            color: #FFF;
            text-decoration: none;
        }

.bg-offblack2 {
    background-color: #313639;
    color: #FFF;
}

    .bg-offblack2 .btn {
        background-color: #FFF;
        color: #313639;
    }

        .bg-offblack2 .btn:hover {
            background-color: #203981;
            color: #FFF;
            text-decoration: none;
        }

.bg-offwhite {
    background-color: #f4f4f4;
    color: #231f20;
}

    .bg-offwhite .btn {
        background-color: #231f20;
        color: #FFF;
    }

        .bg-offwhite .btn:hover {
            background-color: #203981;
            color: #FFF;
            text-decoration: none;
        }

    .bg-offwhite a {
        color: #203981;
        text-decoration: none;
    }

        .bg-offwhite a:hover {
            text-decoration: underline;
        }

.bg-lightgrey {
    background-color: #e7e7e7;
    color: #231f20;
}

.bg-slate {
    background-color: #4d5659;
}

.bg-logored {
    background-color: #ed1b24;
    color: #FFF;
}

    .bg-logored .btn {
        background-color: #FFF;
        color: #231f20;
    }

        .bg-logored .btn:hover {
            background-color: #231f20;
            color: #FFF;
            text-decoration: none;
        }

.bg-transparent {
    background-color: transparent;
}

.border-bottom {
    border-bottom: 5px solid #cccccc;
}

.successMsgEbook {
    min-height: 50px;
    width: 100%;
    color: #FFF;
    padding: 15px;
    background-color: none;
    text-align: center;
}

.errorMsgEbook {
    min-height: 50px;
    width: 100%;
    background-color: #d9534f;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
}

/* ===HEADER=== */
.header-container {
    width: 100%;
    height: initial;
    background: #203981;
    background: url(../images/page.png);
}

.header-container {
    /*background: darkcyan; 
  background: cadetblue;
  background: darkslategrey;
  background: dimgrey;
  background: indianred;*/
    background: lightslategrey;
    /*background: midnightblue;
  background: steelblue;
  background: teal;*/
    background: #2d4494; /* print logo bg blue */
}

#header {
    position: relative;
    height: 100px;
}

.header-top-bar {
    height: 100px;
    background: none;
}

.header-middle-bar {
    display: none;
}

.header-bottom-bar {
    height: 0;
}

.header-height-padder {
    height: 0px;
}

.brand-top-large img {
    top: 20px;
    left: 0;
    height: 60px;
    width: auto;
    width: initial;
}

.brand-top-small img {
    top: 10px;
    height: 50px;
}

.brand-top-right img {
    margin-right: 10px;
    margin-top: 10px;
}

.btn-navbar {
    margin-top: 25px;
    margin-right: 30px;
    padding: 10px;
    background: #203981;
}

.menu-clickable {
    height: 70px;
}

.icon-bar {
    background-color: #FFF;
}

/* ===NAVIGATION=== */
.navigation-container,
.nav li a {
    background-color: #000;
    background-color: #576675;
    background-color: #20316a;
}

#top-navigation-container {
    /*position: absolute;
    top: 58px;
    right: 0;*/
}

.nav li a {
    /*height: 140px;
    line-height: 140px;*/
    height: 45px;
    padding: 10px 15px;
    color: #FFF;
}

    .nav li a:hover,
    .nav .active > a {
        color: #FFF;
        background-color: #203981;
        /*background-color: #4d5659;*/
    }

.nav-link-text {
    font-size: 14px;
    text-transform: uppercase;
}

/* ===FOOTER=== */
#outer-wrap {
    margin: 0 auto -130px;
}

.footer, .push {
    height: 130px;
}

.footer {
    background-color: #778899;
    background-color: #2d4494;
}

.footer-brand,
.footer-social a,
.footer-text a,
.powered-by,
.copyright {
    color: #FFF;
}

.powered-by {
    padding-left: 55px;
}

.social-media img {
    background: #FFF;
    padding: 5px;
}

.footer-brand img {
    margin-top: 5px;
}

/* ===MISC=== */
.switch {
    color: #000;
}

:root input[type="checkbox"].ios-switch + span:before {
    text-indent: -2.45em;
}

/* ===CONTROLS=== */

/* Listings */
/*.listing-container {
    border: none;
    border-left: 1px solid #DDD;
    box-shadow: 4px 4px 5px #D7D7D7;
    background-color: #FFF;
}

    .listing-container h4 {
        color: #202658;
        font-size: 18px;
    }

    .listing-container .icons li {
        font-size: 100%;
    }

    .listing-container .icons img {
        height: 15px;
    }

.listing-header {
    background-color: #000;
    background-color: #576675;
    background-color: #20316a;
    padding: 8px 18px;
}

.listing-body {
    padding: 0;
}*/

/* Icons */
.icon-number {
    font-size: 15px;
}

.icons img {
    margin-right: -8px;
    margin-bottom: 1px;
}

/* Features Cycler */
.feature-cycler-container .icons,
.latest-listing-container .icons {
    color: #231f20;
}

    .feature-cycler-container .icons li,
    .latest-listing-container .icons li {
        font-size: 24px;
    }

.feature-cycler-header {
    color: #1f377d;
}

.feature-cycler-image {
    padding: 0;
    background: none;
    box-shadow: 4px 4px 5px #D7D7D7;
}

/* Testimonials */
.testimonial-item .testimonial-image {
    box-shadow: 4px 4px 5px #D7D7D7;
}

/* Profiles */
.profile-container-inner {
    color: #000;
    background-color: #f6f6f6;
    border-radius: 2px;
    border: 1px solid #EBEBEB;
}

    .profile-container-inner a {
        color: #000;
    }

.profile-name a,
.profile-more-details a {
    color: #000;
}

    .profile-more-details a:hover {
        color: #000;
        text-decoration: underline;
    }


/* Blog */
.blog-video {
    float: left;
}

.blog-information {
    float: left;
    margin-top: 10px;
    line-height: 24px;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    width: 50%;
}

.blog-title {
    font-size: 32px;
    line-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    padding-bottom: 0.25em;
}

.blog-subtitle {
    font-size: 18px;
    color: #203981;
}

.blog-date {
    line-height: 32px;
}

.blog-item {
    position: relative;
    box-shadow: none;
    overflow: hidden;
    background-color: #fff;
    text-align: left;
    cursor: auto;
    padding: 30px 80px;
    padding: 30px 0;    
    border-bottom: solid;
    border-bottom-color: #203981;
    border-bottom-width: 1px;
}

.paragraph1 p iframe {
    width:100%;
}

.page-controls-container .btn {
    margin-top: 20px;
}

.m-font-color-text-links {
    text-decoration: none;
    margin-top: 40px;

}



/* ===MEDIA QUERIES=== */

@media only screen and (max-width: 1120px) {
    /* Header */
    .brand-top-large img {
        left: 10px;
    }

    .nav {
        margin-left: 15px;
    }

    .header-phone {
        right: 20px;
    }

    /* Footer */
    .footer {
        padding: 0px 15px;
    }
}

@media only screen and (max-width: 980px) {
    /* Footer */
    .footer, .push {
        width: 100%;
    }
}

@media only screen and (max-width: 945px) {
    .nav li a {
        padding: 10px;
    }

    .nav-link-text {
        font-size: 13px;
    }
}

@media only screen and (min-width: 816px) {
    .nav ul li:first-of-type a {
        border-top: 1px solid #282828;
        border-top: 1px solid #718395;
        border-top: 1px solid #29408d;
    }

    .nav ul li:last-of-type a {
        border-bottom: none;
    }

    .nav ul a {
        border: none;
        border-top: 1px solid #282828;
        border-top: 1px solid #718395;
        border-top: 1px solid #29408d;
    }

    .nav ul li a:hover, .nav ul .active > a {
        background-color: #203981;
        background-color: #4d5659;
        background-color: #203981;
    }
}

@media only screen and (max-width: 815px) {
    /* Header */
    .header-container {
        padding-right: 0;
        padding-left: 0;
    }

    #header {
        height: 100%;
        width: 100%;
    }

    .header-top-bar {
        height: 90px;
        padding: 0 10px;
    }

    .btn-navbar {
        margin-right: 15px;
    }

    .header-phone {
        display: none;
    }

    /* Navigation */
    .nav {
        margin-left: 0;
    }

        .nav li a {
            padding: 0 26px;
            border-top: 1px solid #282828;
            background-image: url("../../../controls/Navigation/images/menu-arrow-light.png");
        }

    #top-navigation-container {
        position: relative;
        top: 0px;
        float: none;
    }

    #top-navigation {
        width: 100%;
        padding-bottom: 0;
    }

    .navigation {
        height: 100%;
    }

    .nav {
        padding: 0;
        border-bottom: none;
    }

        .nav li a {
            height: 45px;
            line-height: 45px;
        }

    .nav-link-text {
        margin-left: 0;
    }
}

@media only screen and (max-width: 815px) {
    .header-top-bar {
        height: 70px;
    }

    .btn-navbar {
        margin-top: 16px;
    }

    .icon-bar {
        width: 20px;
    }
}


@media only screen and (max-width: 615px) {
    .brand-top-small img {
        top: 18px;
        height: 35px;
    }

    .blog-information {
        width: 100%;
    }
}

@media only screen and (max-width: 540px) {
    /* Footer */
    .footer {
        height: auto;
    }

    .footer-text {
        position: static;
        padding: 0;
    }

    .powered-by {
        padding-left: 0;
    }

    .copyright {
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 533px) {
    .blog-video p iframe{
        width: 100%!important;
    }

    .blog-video {
    width: 100%;
    }
    
}

@media only screen and (max-width: 500px) {
    #content {
        padding: 0;
    }

    .backing-card {
        margin-bottom: 0;
    }

    /* Latest Listings */
    .latest-properties {
        display: none;
    }

    /* Profiles */
    .profile-container:hover .profile-container-inner {
        background-color: #203981;
    }

    .profile-name a {
        color: #FFF;
    }
}

@media only screen and (max-width: 400px) {
    .header-top-bar {
        height: 65px;
        padding: 0;
    }

    .nav li a {
        padding: 0 15px;
    }

    .content-row {
        padding: 20px 15px;
    }
}
