/* BASIC RESET */
body,body *{
    box-sizing: border-box;
}
#menu img{
    display: none;
}
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input{margin:0; padding:0;}

/* HTML ELEMENTS */
body { background-color:#19242f; font-family: 'Viga', sans-serif; -webkit-font-smoothing: antialiased; }

/* COMMON CLASSES */
.break { clear:both; }

/* HEADER */
#header { height:762px; }
.headerimg { background-position: center top; background-repeat: no-repeat; width:100%; height:762px; position:absolute; }
.headerinsideimg { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; margin-top: -90px; }

#header2 { height:338px; }

/*   INSIDE HEADERS  */
.headerabout {
	background-position: center top;
	background-repeat: no-repeat;
	width: 100%;
	height: 338px;
	position: absolute;
	background-image: url(../images/about2023.jpg);
}
.headerdual {
	background-position: center top;
	background-repeat: no-repeat;
	width: 100%;
	height: 338px;
	position: absolute;
	background-image: url(../images/dual2023.jpg);
}
.headerreviews {
	background-position: center top;
	background-repeat: no-repeat;
	width: 100%;
	height: 338px;
	position: absolute;
	background-image: url(../images/reviews2023.jpg);
}
.headercontact { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image:url(../images/contact2023.jpg);}
.headerdev{ background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image:url(../images/developments2023.jpg);}
.headernews { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/news.jpg);}
.headerrebates { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/rebates2023.jpg);}
.headerflatfee { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/flatfee.jpg);}
.headerlistings { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/listings2023.jpg);}
.headerproperty { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/property-mgmt2023.jpg);}
.headerstarted { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/getting-started2023.jpg)}
.header2percent { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/2-percent2023.jpg);}
.header3500 { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url(../images/3500-flat-fee2023.jpg);}
.headerhomebuyer { background-position: center top; background-repeat: no-repeat; width:100%; height:338px; position:absolute; background-image: url("../images/home-buyer2023.jpg");}



/* NAVIGATION */

#navigation { height:120px; width:960px; margin:0 auto;
              background-image: url(../images/jsam-logo-2023.png);
              background-position:top left; background-repeat:no-repeat; }
#navigation2 { height:120px; width:960px; margin:0 auto; }

/* SEARCH 
#search { background-color:#051733; float:right; width:220px; padding:10px; }
#searchtxt { padding:3px; width:150px; }
#searchbtn { border:1px solid #eee !important; background-color:#CD2B3A; color:#eee; padding:3px; margin-left:5px; }*/

/* MENU */
#menu { position:relative; top:34px; float: right; }
#menu ul { list-style:none; }
#menu ul li { display:inline;  font-size:19px; }
#menu ul li a { color:white; text-decoration:none;  padding: 5px 8px; margin-right: 6px; }
#menu ul li a:hover { background: #142a3f; }

/* SUBMENU */
#submenu { position:relative; float: right;z-index: 999;  }
#submenu ul { list-style:none; padding-top: 4px; }
#submenu ul li { display:inline;  font-size:12px; text-transform:uppercase; height: 20px; margin: 0; padding: 0; }
#submenu ul li a { color:white; text-decoration:none; font-weight:bold; padding-right:20px; }

#submenu ul li a:hover { text-decoration:underline; }
/* SUBMENU2 */
#submenu2 { position:relative; float: right; margin-right: 4px;  }
#submenu2 ul { list-style:none; padding-top: 4px; }
#submenu2 ul li { display:inline;  font-size:12px; text-transform:uppercase; height: 20px; margin: 0; padding: 0; }
#submenu2 ul li a { color:white; text-decoration:none; font-weight:bold; padding-right:20px; }
#submenu2 a img { margin: 0 -8px 0;  }
#submenu2 ul li a:hover { text-decoration:underline; }

#badge-wrapper {
	width: 968px;
	margin: 0 auto;
}
#badge {
	width: 160px;
	margin-top: 60px;
	margin-right: 80px;
	float: right;
	position: relative;
}

#badge2 {
	width: 160px;
	margin-top: 37px;
	margin-right: 20px;
	float: right;
            z-index: 9999;
	position: relative;
}
/* HEADER TEXT */
#headertxt { width:960px; margin:0 auto; clear:both; position:relative; top:410px; left: 62px;}
#firstline { background-image:url("../images/textbg.png"); color:#333; font-size:40px; padding:4px 13px 7px; float:left; display:block; }
#secondline { background-color: #151c24; color:#fff; text-decoration:none; font-size:18px; padding:10px 13px 10px; float:left; display:block; clear:both; margin-top: -240px; }
#secondline:hover { background-color: #1c456f; text-decoration:none; color:#fff; }

/*.pictured { background-color:#CC3333; color:#FFF; font-size:12px; padding:9px 16px; text-transform:uppercase; float:left; display:block; clear:both; margin-top:10px; }
.pictured a { font-size:16px; font-style:italic; letter-spacing:0; text-transform:none; color:#FFF; text-decoration:none; }
.pictured a:hover { background-color:#faee88; text-decoration: none; }*/

/* CONTROLS */
.btn { height:32px; width:32px; float:left; cursor:pointer; }
#back { background-image:url("../images/btn_back.png"); }
#next { background-image:url("../images/btn_next.png"); }
#control { background-image:url("../images/btn_pause.png"); }

/* HEADER HAVIGATION */
#headernav-outer { position:relative; top:400px; margin:0 auto; width:960px; }
#headernav { padding-left:864px; }

/* CONTENT */
#content { color:#fff; background-color:#19242f; }
#content h1 { color:#faee88;
	font-size: 18px;
	font-weight: lighter;
	padding-top: 50px;
	}
#content p { padding:10px 0; font-size:16px;  margin:0; line-height: 24px; }
#content p a { text-decoration:none; color:#CD2B3A; }
#content p a:hover { text-decoration:underline; color:#7F000C; }


/* FEATURES  */
#feat-wrapper {
	width: 978px;
	margin: 0 auto;
}
#feat-1 {
	width: 306px;
	height: 296px;
	float: left;
	margin: -185px 30px 0 0;
	background-image: url(../images/feat-6.png);
	background-repeat: no-repeat;
}
#feat-1 p,#feat-2 p,#feat-3 p {
	color: #172029;
	margin: 180px 10px 10px 13px;
	font-size:14px;
	width: 266px;
	line-height: 20px;
}
#feat-2 {
	width: 306px;
	height: 296px;
	float: left;
	margin: -185px 30px 0 0;
	background:url(../images/feat-7.png) no-repeat;
}
#feat-3 {
	width: 306px;
	height: 296px;
	float: left;
	margin: -185px 0 0 0;
	background:url(../images/feat-3.png) no-repeat;
}

.links {
	margin-top: 70px;
}
#footer {
	background: #0f171e;
	margin: 20px 0 0 0;
}

#footer-wrapper {
	width: 978px;
	margin: 0 auto;
}

#footer-wrapper p {
	color: #fff;
	font-size: 12px;
	padding: 25px 0 35px;
}

#footer-wrapper a {
	color: #fff; text-decoration: underline;
}
#footer-wrapper a:hover {
	color: #fff; text-decoration: none;
}

#inside-wrapper {
	width: 978px;
	margin: 0 auto;
	padding: 15px 0;
}
/* Logo Hover Effect */
#outer {
    width:30px;
    margin:17px 0px auto auto;
    height:30px;
    position:relative;
	float: right;
    overflow:hidden;
    transition: width .5s;
}
#outer:hover {
    width:198px;
}


#inner {
    height:100%;
    position:absolute; 
    width:30px;
    left:0px;
    top:0px;
}

#sub {
	font-family: 'Viga', sans-serif;
	font-weight: 400;
	font-size: 12px;
	color: #ffffff;
	-webkit-font-smoothing: antialiased;

    height:100%;
    position:absolute;
    right:0px;
    top:4px;
    width:160px;
    opacity:0;    
    transition: opacity .5s;
    z-index:11;
}

#sub a{
	
	font-family: 'Viga', sans-serif;
	font-weight: 400;
	font-size: 12px;
	color: #ffffff;
	-webkit-font-smoothing: antialiased;
	
	text-decoration: none;
}

#outer:hover #sub {
    opacity:1;
}


#inside-wrapper h1 {
	font-size: 36px;
	color: #fff;
	margin: 0;
	
	
}


#inside-wrapper h2 {
	font-size: 24px;
	color: #faee88;
	margin: 10px 0 0 0;
	
}

#inside-wrapper p {
	margin: 15px 0;
	
}

#inside-wrapper h3 {
	margin: 35px 0 20px;
	font-size: 18px;
	line-height: 24px;
	
}

#inside-wrapper h4 {
	font-size: 36px;
	color: #fff;
	margin: 0;
	
}

#inside-wrapper ul, ol {
	margin: 15px 45px 15px 65px;
	
}
#inside-wrapper li {
	margin: 12px 0;
	
	line-height: 21px;
}

#side-photo {
	width: 450px;
	margin: 30px 0 20px 40px;
	float: right;
}

#side-photo p {
	font-size: 13px;
	margin: -15px 17px 15px;
	line-height: 19px;
	
}

#news-photos {
	width: 222px;
	float: left;
	margin: 30px 30px 20px 0;
}

#news-photos2 {
	width: 222px;
	float: left;
	margin: 30px 0 20px 0;
}

#news-photos p, #news-photos2 p {
	font-size: 13px;
	margin: -15px 17px 15px;
	line-height: 19px;
	text-align: center;
}

#backtop {
	border-top: 1px solid #6887a5;
	margin: 30px 0 10px;
	padding: 15px;
}

#backtop a {
	text-decoration:none; color:#CD2B3A;
}
#backtop a:hover {
	text-decoration:none; color:#fff;
}

#develop-photos {
	width: 444px;
	margin: 20px 30px 20px 0;
	float: left;
}

#develop-photos2 {
	width: 444px;
	float: left;
	margin: 20px 0 20px 0;
}

#navlinks {
	background: #030406;
	margin: 35px 10px -15px;
	padding: 15px;
	text-align:center;
}

#navlinks a {
	color: #fff;
	font-size: 21px;
	margin: 5px 40px;
	text-decoration: none;
	
}
#navlinks a:hover {
	text-decoration: underline;
}

#blockquote {
	margin: 5px 105px;
}

.banner {
	position: relative;
	overflow: auto;
	padding-top: 30px;
	padding-bottom: 30px;
        height: 100% !important;
        width: 100%;
}
    .banner li { list-style: none; }
        .banner ul li { float: left; }
        .is_opened_1 {display: none;}
        #submenu img {display: none;}
        #content>div>img,#content>div>p:last-child>img{
            max-width: 100%;
            height: auto;
        }
        #all_links_footer p br{
            display: none;
        }
        #all_links_footer p{
            /*text-align: lef;*/
            padding-bottom: 40px;
    padding-top: 0px;
    font-size: 13px;
        }
		
	.right-image {float:right; margin-top: 55px; margin-left:40px;}

@media screen and  (max-width: 1100px) {
    #header,#header2{
        /*max-width: 960px;*/
        width: 100%;
        position: relative;
    }
    #badge-wrapper,#header2 #badge-wrapper{
        max-width: 960px;
        width: 100%;
    }
    #badge,#header2 #badge2{
        margin-right: 0px;
    }
    #headertxt{
        position: absolute;
        bottom: 0;
        top: auto;
    }
}
@media screen and  (min-width: 1039px) {
    .hidden-image {display:none;}
}
@media screen and  (max-width: 1038px) {
    #feat-1,#feat-2,#feat-3{
        width: 32%;
        margin-right: 1%;
        float: left;
        /*margin-top: 0px;*/
    }
    #feat-wrapper iframe{
        width: 70%;
        float: none !important;
        margin: 0 auto !important;
            display: block;
    margin-top: 55px !important;
    }
    #headertxt{
        width: auto;
    }
    #feat-wrapper,#inside-wrapper{
        width: 100%;
    }
    #inside-wrapper{
            max-width: 768px;
    padding: 0 30px;
    text-align: center;
    }
    #feat-wrapper p{
        width: auto;
    }
    #content #feat-wrapper>p,#content h1{
            text-align: center;
    margin: 0 auto;
    max-width: 768px;
    width: 100%
    }
    #content h1 br{
        display: none;
    }
    .banner{
        max-width: 768px !important;
        width: 100% !important;
        height: 100% !important;
            margin: 0 auto;
    }
    #feat-wrapper>p:last-child img{
        width: 100%
    } 
    #inside-wrapper #side-photo{
        margin: 30px auto;
        float: none;
    }
    #inside-wrapper>img{
        width: 100%;
    }
    #develop-photos,#develop-photos2{
    width: 100%;
    text-align: center;
	}
	#banner {
	width: 100%;
    text-align: center;
	}
#inside-wrapper table{
    margin: 0 auto;
}
#develop-photos ul li{
    text-align: left;
}
#inside-wrapper ol li,#inside-wrapper ul li{
    text-align: left;
}
.big_image{
    width: 100%;
    height: auto;
}
.right-image {display:none;}

}
@media screen and  (min-width: 994px) {
    .is_opened{
        display: none;
    }
}
@media screen and  (max-width: 994px) {
    #header>div{
        max-width: 768px;
        width: 100%;
        
    }
    #header2 #headerimg{
        background-size: 180%;
    }
    .headerimg{
    min-height: 768px;
    height: 100%;
    background-size: 150%;
}
#header2 #navigation>img{
    display: none;
}
#navigation,#header2 #navigation{
    z-index: 1;
}
#header2 #navigation{
    background: none;
    width: 100%;
}
#badge{
    margin-top: 30px;
}
#menu ul,#header2 #menu ul{
    display: none;
}
#badge2{
    margin-top: -70px !important;
}
.is_opened{
    display: none;
        margin-top: 32px;
    background-color: black;
    top:0;
    position: absolute;
    top: 452px;
    float: right;
    right: 0;
    width: 100%;
}
.is_opened.menu_open{
    display: block;
}
.is_opened li{
    display: block;
    text-align: center;
    padding: 10px 0;    
}
.is_opened li a{
    color: #fff;
    text-decoration: none;
    padding: 5px 8px;
    margin-right: 6px;
        font-size: 19px;
}
.is_opened:not(.home) {
    top: 262px;
}
.home .is_opened{
    top: 452px;
}
#footer-wrapper{
    max-width: 768px;
    width: 100%;
}
#menu img{
    display: block;
    position: absolute;
        cursor: pointer;
    top: 0;
    right: 0;
    margin-right: 20px;
}
/*#header2 #menu img{
    left: 30px
}*/
#menu,#header2 #menu{
    position: absolute;
    top: 455px;
    float: right;
    right: 0;
    float: right;
        width: 100%;
}
#header2 #menu{top: 265px;}

#navigation,#header2 #navigation{
	position: relative;
    /*height: 103px;
        background-position-y: 20px;*/
}
#header2 #navigation{
    max-width: 768px
}
#submenu2,#navigation #submenu2{
    float: none;
        margin-left: 20px;
    margin-right: 0px;
}
#header{
    height: 680px;
}
#header2{
    height: 340px;
}
#inside-wrapper>p>a{
    display: block;
    margin: 0 auto;
}
#inside-wrapper>p>a img{
    float: none;
}
#inside-wrapper>a{
    display: block;
    margin: 0 auto;
}
#inside-wrapper>a img{
    float: none;
}
#news-photos,#news-photos2{
    width: 50%;
    margin-right: 0;
}
#blockquote{
    margin: 0;
}
#banner img {
	width: 100%;
    height: auto;
}
}
@media screen and  (max-width: 890px) {
    #header2 #menu {
    top: 220px;
}
.is_opened:not(.home) {
    top: 218px;
}
.home .is_opened{
    top: 452px;
}
.home .is_opened {
    top: 372px;
}
}
@media screen and  (max-width: 846px) {
#header2{
    height: 300px;
}
#feat-1, #feat-2, #feat-3{
    width: 100%;
     float: none; 
    margin-top: 0px;
    clear: both;
    max-width: 305px;
    margin: 0 auto;
    position: relative;
}
#menu{
    top:374px;
}
.is_opened{
    top: 372px;
}
#feat-1 p, #feat-2 p, #feat-3 p{
    position: absolute;
    top: 9px;
}
#feat-1,#feat-2,#feat-3{
    margin-bottom: 50px;
}
#secondline{
    margin-top: -120px;
}
#headertxt{
    width: auto;
}
#header{height: 480px;}
#headertxt{
    width: auto !important;
}
#feat-wrapper {
    padding: 0 30px;
}
#footer-wrapper{
    padding: 0px 20px;
}
}
@media screen and  (max-width: 768px) {
    #navigation,#header2 #navigation{
        background-position-x: 50px;
    }
    #all_links_footer p{
        text-align: center;
    }
    #all_links_footer p a{
        /*display: block;*/
        text-align: center;
        }
    #all_links_footer p span{
        display: block;
        text-indent: -9999px;
        }
        #header2 #badge2 a img {
    width: 70%;
    height: auto;
    margin-top: 0;
}
#header2 #menu {
    top: 190px;
}
.is_opened:not(.home) {
    top: 188px;
}
.home .is_opened {
    top: 372px;
}
}
@media screen and  (max-width: 668px) {
    #inside-wrapper iframe{
        width: 100%;
        height: 300px;
    }
}
@media screen and  (max-width: 660px) {
    #secondline {
    margin-top: -190px;
}
#submenu ul li a,#header2 #submenu ul li a{
    padding-right: 12px;
}
#badge a img,#header2 #badge2 a img{
    width: 70%;
    height: auto;
        margin-top: -95px;
}
#menu{
    top: 304px;
        right: 35px;
}
#header2 #menu{
    top:70px;
    left: 0;
}
.home .is_opened{
    top:302px;
}
.is_opened{
    top: 67px;
}
#header2 #menu {
    top: 160px;
}
.is_opened:not(.home) {
    top: 158px;
}
.home .is_opened {
    top: 302px;
}
#badge2 {
    margin-top: 20px !important;
}
#header2 {
    height: 220px;
}
}
@media screen and  (max-width: 580px) {
    #header{
    height: 440px;
}
#menu,#header2 #menu{
    top: 264px;
}
.home .is_opened {
    top: 262px !important;
}
#feat-wrapper {
    padding: 0 10px;
}
#header2 #menu {
    top: 135px !important;
}
.is_opened:not(.home) {
    top: 133px;
}
#side-photo{
    width: 100%;
}
#side-photo img{
    width: 100%;
        height: auto;
}
#news-photos,#news-photos2{
    width: 100%;
    margin-right: 0;
}
#submenu ul li a, #header2 #submenu ul li a {
    padding-right: 5px;
}
#outer{
    margin: 0 auto;
    float: none;
}
#footer-wrapper>p{
    text-align: center;
}
#footer-wrapper {
    padding: 30px 50px;
}
#all_links_footer p {
    padding-bottom: 0px;
}
#inside-wrapper ul, ol {
    margin: 15px 0px 15px 20px;
}
}
@media screen and  (max-width: 520px) {
     #header2 #badge2 a img {
    width: 60%;
    height: auto;
    /*margin-top: 0;*/
}
#develop-photos img,#develop-photos2 img{
    width: 100%;
    height: auto;
}
#banner img {
	width: 100%;
    height: auto;
}
#inside-wrapper table,#inside-wrapper table td input,#inside-wrapper table td textarea{
    width: 100%;
}
}
@media screen and  (min-width: 480px) {
    .is_opened .second_menu{
        display: none;
    }
/*    #header2 {
    height: 140px;
}*/
}
@media screen and  (max-width: 480px) {
    #navigation{
        background-size: 30%;
    }
    #badge{
    margin-top: -75px;
    width: 130px;
    z-index: 999;
}
#badge2{
    width: 130px;
    z-index: 999;
    margin-top: -15px !important;
}
#badge a img{
    width: 60%;
    height: auto;
    margin-top: 20px;
}
#secondline{
    font-size: 12px;
    padding: 7px 10px;
    margin-top: -100px;
}
#menu, #header2 #menu {
    top: 205px;
}
 #header2 #menu {
    top: 100px !important;
}
.is_opened:not(.home) {
    top: 98px;
}
#header {
    height: 305px;
}
.is_opened_1.menu_open{
    display: block;
    margin-top: 32px;
    background-color: black;
    top: 0;
    position: absolute;
    top: 7px;
    z-index: 9999;
    float: right;
    right: 0;
    width: 100%;
}
.is_opened_1.menu_open li a{
    color: #fff;
    text-decoration: none;
    margin-right: 6px;
    font-size: 19px;
}
.is_opened_1.menu_open li{
    padding: 5px 8px;
    text-align: center;
}
.home .is_opened {
    top: 203px !important;
}
#submenu>ul{
    display: none;
}
#submenu>img{
    display: block;
    margin-right: 10px;
    margin-top: 10px;
}
/*#submenu ul li a, #header2 #submenu ul li a {
    padding-right: 5px;
} */
#submenu2, #navigation #submenu2 {
    margin-left: 5px !important;
}
#submenu2 ul li a {
    padding-right: 0px
}
#submenu2 a img{
    margin: 0;
}
#submenu2 {
    float: right !important;
    margin-right: 12px !important;
}
#header2 {
    height: 170px;
}
}
@media screen and  (max-width: 380px) {
    #badge {
    margin-top: -90px;
    width: 100px;
    z-index: 999;
}
#menu img {
    top: -40px;
    margin-right: 0;
}
#secondline {
    margin-top: -45px;
}
#header {
    height: 210px;
}
.home .is_opened {
    top: 162px !important;
}
#menu {
    right: 15px;
}
.is_opened:not(.home) {
    top:58px;
}
#header2 {
    height: 120px;
}
}
