/*
 * Globals
 */
 @font-face {
     font-family: 'TrajanProRegular';
     src: url('../fonts/TrajanProRegular.eot');
     src: url('../fonts/TrajanProRegular.eot') format('embedded-opentype'),
          url('../fonts/TrajanProRegular.woff2') format('woff2'),
          url('../fonts/TrajanProRegular.woff') format('woff'),
          url('../fonts/TrajanProRegular.ttf') format('truetype'),
          url('../fonts/TrajanProRegular.svg#TrajanProRegular') format('svg');
 }

 @font-face {
     font-family: 'TrajanProBold';
     src: url('../fonts/TrajanProBold.eot');
     src: url('../fonts/TrajanProBold.eot') format('embedded-opentype'),
          url('../fonts/TrajanProBold.woff2') format('woff2'),
          url('../fonts/TrajanProBold.woff') format('woff'),
          url('../fonts/TrajanProBold.ttf') format('truetype'),
          url('../fonts/TrajanProBold.svg#TrajanProBold') format('svg');
 }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #83886a;
  background-color: #c2c7ac;
  margin-top: 5px;
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}
h1, .h1{
  font-family: 'TrajanProRegular', serif;
  font-size: 20px;
  text-transform: uppercase;
}

a{
  color: #83886a;
}
p{
  font-size: 13px;
}
.container {
  padding: 20px;
  border: solid 2px #83886a;

}
.blog-header-right{
  color: #494c36;
  padding: 10px 25px 10px 0px;
}
.phone{
  color: #ffffff;
  font-family: 'TrajanProRegular', serif;
}
.footer-phone{
  font-size: 16px;
  font-family: 'TrajanProRegular', serif;
}
.footer-phone2 {
  font-size: 65%;
  font-family: 'TrajanProRegular', serif;
}
.footer-phone2 a{
  text-decoration: none!important;
}
.phone a{
  color: #ffffff;
}
.phone a:hover{
  color: #ffffff;
}
.row{
  /*margin-right:0;*/
}
.blog-sidebar{
  padding-left: 0px;
}
.blog-sidebar > .nav{
  padding: 12px;
background-color: #fff;
}

.blog-header img{
  width: 100%;
}
.nav.navbar-nav{
  padding: 10px 0 0 15px;
border: solid 1px #cfccb9;
margin-top: 7px;
}
.header-contact{
  margin: 10px 10px 0px 0px;
  padding: 10px 20px 10px 20px;
  background-color: #83886a;
}
.header-contact > p{
  font-size: 10px;
line-height: 2em;
letter-spacing: 1px;
font-weight: bold;
}
.logo{
  padding: 20px 0px 20px 20px;
  background-color: #ffffff;
}
.nav>li>a>img {
  float: left;
}
.navbar-nav>li>a {
  float: right;
  text-transform: uppercase;
  font-size: .8em;
line-height: 1.5em;
width: 100%;
}
.navbar-left{
  border:none!important;
  padding:0;
}
.navbar-left>li{
  max-width: 8%;
  margin-left: 5%;
}
.navbar-left>li>a{
  min-height: 132px;
  min-width: 91px;
}
/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

/*
 * Masthead for nav
 */

.blog-masthead {
  background-color: #428bca;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}

/*
 * Blog name and description
 */

.blog-header {
  background: #ffffff;
  margin-bottom: 10px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description {
  font-size: 20px;
  color: #999;
}

/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 18px;
  line-height: 1.5;
  padding-right: 10px;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}

/*
 * Blog posts
 */

.blog-post {
  margin-bottom: 10px;
}
.blog-post h1,h2,h3,h4,h5,h6{
  color: #739ab9;
}
.blog-post h3{
  font-weight: bold;
  font-size: 15px;
}
.blog-post a{
  text-decoration: underline;
  font-weight: bold;
}
.blog-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}
.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
}
.navbar-nav img{
  margin-right:10px;
}

.blog-post2{
  padding: 15px;
  background-color: #ffffff;
}
.blog-post2 img{
  padding: 10px;
width: 100%;
border: solid 1px #cfccb9;
}
.blog-post-footer img{
  width: 100%;
}
.sidebar-block {
  text-align: left;
  padding: 25px;
  background: #b1b69d;
  border: solid 2px #8b8f7b;
  color: #63674f;
  font-size: 90%;
}
.sidebar-block a{
  text-decoration: underline;
  color:#63674f;
}
.sidebar-block .title{
  color: #ffffff;
}
.wrapper{
  border: solid 2px #d0ccb8;
  padding: 13px;
  margin: 13px;
}
.main-wrapper{
  background-color: #ffffff;
  margin-bottom: 10px;
}
.bottom img{
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
/*
 * Footer
 */
.blog-footer {
  padding: 5px 0px 15px 0px;
  color: #83886a;
  font-size: 90%;
  text-align: center;
}
.blog-footer a{
  text-decoration: underline;
}
.blog-footer a:focus, a:hover{
    color: #83886a;
    text-decoration: none;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
.navbar-default{
  display: none;
}
#IDX-featuredSearch {
  width: 100%;
}
#IDX-featuredSortByPrice {
  width:100%;
}
/*------------------------------------------
  Responsive Grid Media Queries - 1280, 1024, 768, 480
   1280-1024   - desktop (default grid)
   1024-768    - tablet landscape
   768-480     - tablet
   480-less    - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) {
  .navbar-default{
    display: none;
  }
  .blog-sidebar{
    display:block;
  }
}

@media all and (min-width: 768px) and (max-width: 1024px) {
  .navbar-default{
    display: none;
  }
  .blog-sidebar{
    display:block;
  }
}

@media all and (min-width: 480px) and (max-width: 768px) {
  .navbar-default{
    display: block;
  }
  .blog-sidebar{
    display:none;
  }
  .navbar-left{
    display:none;
  }
  .logo{
    padding: 20px 20px 20px 20px;
  }
}

@media all and (max-width: 480px) {
  .navbar-default{
    display: block;
  }
  .blog-sidebar{
    display:none;
  }
  .navbar-left{
    display:none;
  }
  .logo{
    padding: 20px 20px 20px 20px;
  }
}


/* Portrait */
@media screen and (orientation:portrait) { /* Portrait styles here */ }
/* Landscape */
@media screen and (orientation:landscape) { /* Landscape styles here */ }


/* CSS for iPhone, iPad, and Retina Displays */

/* Non-Retina */
@media screen and (-webkit-max-device-pixel-ratio: 1) {

}

/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
}

/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation:portrait) {
  .navbar-default{
    display: block;
  }
  .blog-sidebar{
    display:none;
  }
  .navbar-left{
    display:none;
  }
  .logo{
    padding: 20px 20px 20px 20px;
  }
  .navbar-left{
    display:none;
  }
  .logo{
    padding: 20px 20px 20px 20px;
  }
  .header-contact{
    padding: 20px;
    margin:0;
  }
  .blog-header-right {
    padding: 0px 35px 10px;
  }
  .nav.navbar-nav {
    border:none;
  }
  .navbar-nav>li>a {
    float: left;
    width: 100%;
  }
  .container {
    padding: 15px;
    border:none;
  }
  #IDX-userLoginLeft,#IDX-userLoginRight {
    width: 100%;
    border: none;
  }
  .IDX-resultsCell{
    min-height: 250px;
    height: auto;
  }
  .IDX-resultsSidePanel{
  position: initial;
    float: right;
  width: 50%;
  border-right: 0;
  }
  .IDX-resultsPhoto{
    position: initial;
    margin-top: 32px;
    padding-left: 10px;
  }
  .IDX-resultsAddress{
    height: 32px;
  top: 0;
  position: absolute;
  }
  .IDX-resultsMapIndicator{
    margin: 7px 0;
    padding: 0 10px;
    position: initial;
  }
  .IDX-resultsPrice{
    position: initial;
    float:right;
    width: 50%;
    border-top: 1px #CCC solid;
    border-bottom: 0;
    border-right: 0;
  }
  .IDX-resultsDetailsLink{
    position: initial;
    padding-left: 2%;
  }
  .IDX-resultsLinks{
    position: initial;
    padding-left: 2%;
    float:left;
    margin-bottom: 20px;
  }
  .IDX-resultsLinks div{
    margin: 7px 0 0;
  }
  .IDX-detailsMLSCourtesy{
    top: 94%;
  }
  div.IDX-contactForm{
    border: none;
    width: 100%;
    margin-left: 3%;
  }
  div.IDX-contactSideInfo{
    width: 100%;
    float: left;
    margin-left: 3%;
  }
  #IDX-detailsTopLinks{
    width: 100%;
  }
  #IDX-detailsTopLinks div{
    margin: 10px 0;
  }
  #IDX-detailsMainPhoto img {
    width: 100%;
  }
  div.IDX-detailsRemarksWrapper{
    width: 100%;
  }
  .IDX-searchBox{
    position: initial!important;
    width: 100%!important;
  }
  #IDX-minPrice,#IDX-maxPrice,#IDX-searchBedRooms {
    position: initial;
  }
  #IDX-searchSubmitSort,#IDX-searchBoxWrapper,#IDX-basicBox {
    height: auto;
    width: 100%;
    bottom: 0;
    right: 0;
  }
  #IDX-searchSubmitSort .IDX-searchBox{
    display: inline;
  }
  #IDX-searchPage-zipCodeField select{
    width: 100%;
    height: auto;
  }
  #IDX-searchSubmit input{
    font-size: 10pt;
  }
  #IDX-searchCitySearch .IDX-searchLabel{
    text-align: left;
    height: auto;
  }
  #IDX-resultsLinks{
    width: 50%;
  }
  #IDX-resultsLinks div{
    margin: 10px 0;
  }
  .navbar-brand {
    font-size: 17px;
  }
  .header-contact br{
    display:block!important;
  }
  .footer-phone2 br{
    display:block!important;
  }
  .footer-phone br{
    display:block!important;
  }
}

/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation:landscape) {
  .navbar-default{
    display: block;
  }
  .blog-sidebar{
    display:none;
  }
  .navbar-left{
    display:none;
  }
  .logo{
    padding: 20px 20px 20px 20px;
  }
}
@media screen and (min-width : 768px) {
  .navbar-default{
    display: none;
  }
  .blog-sidebar{
    display:block;
  }
  .navbar-nav>li{
    width: 100%;
  }
  .navbar-left {
    display: block;
  }
}
/* iPad Portrait */
@media screen and (min-device-width: 481px) and (orientation:portrait) {


  .logo{
    padding: 20px 20px 20px 20px;
  }
  .header-contact{
    padding: 20px;
    margin:0;
  }
  .blog-header-right {
    padding: 10px 35px 10px;
  }
  .nav.navbar-nav {
    border:none;
  }
  .navbar-nav>li>a {
    float: left;
    width: 100%;
  }
  .container {
    padding: 15px;
    border:none;
  }
  #IDX-userLoginLeft,#IDX-userLoginRight {
    width: 100%;
    border: none;
  }
  .IDX-resultsCell{
    min-height: 250px;
    height: auto;
  }
  .IDX-resultsSidePanel{
  position: initial;
    float: right;
  width: 50%;
  border-right: 0;
  }
  .IDX-resultsPhoto{
    position: initial;
    margin-top: 32px;
    padding-left: 10px;
  }
  .IDX-resultsAddress{
    height: 32px;
  top: 0;
  position: absolute;
  }
  .IDX-resultsMapIndicator{
    margin: 7px 0;
    padding: 0 10px;
    position: initial;
  }
  .IDX-resultsPrice{
    position: initial;
    float:right;
    width: 50%;
    border-top: 1px #CCC solid;
    border-bottom: 0;
    border-right: 0;
  }
  .IDX-resultsDetailsLink{
    position: initial;
    padding-left: 2%;
  }
  .IDX-resultsLinks{
    position: initial;
    padding-left: 2%;
    float:left;
    margin-bottom: 20px;
  }
  .IDX-resultsLinks div{
    margin: 7px 0 0;
  }
  .IDX-detailsMLSCourtesy{
    top: 94%;
  }
  div.IDX-contactForm{
    border: none;
    width: 100%;
  }
  div.IDX-contactSideInfo{
    width: 100%;
    float: left;
    margin-left: 30px;
  }
  #IDX-detailsTopLinks{
    width: 65%;
  }
  #IDX-detailsTopLinks div{
    margin: 10px 0;
  }
  .footer-phone2 br{
    display:block!important;
  }
  .footer-phone br{
    display:block!important;
  }
}

/* iPad Landscape */
@media screen and (min-device-width: 481px) and (orientation:landscape) {

}
