/*!
 * Start Bootstrap - Business Casual Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    background: url('/assets/img/bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.55;
    color: #000;
}

hr {
    max-width: 400px;
    border-color: #999999;
}

.brand,
.address-bar {
    display: none;
}

.navbar-brand {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}

.navbar-nav {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 3px;
}

.img-full {
    min-width: 100%;
}

.img-hfull {
    min-width: 50%;
}

.brand-before,
.brand-name {
    text-transform: capitalize;
}

.brand-before {
    margin: 15px 0;
}

.brand-name {
    margin: 0;
    font-size: 4em;
}

.tagline-divider {
    margin: 15px auto 3px;
    max-width: 250px;
    border-color: #999999;
}

.box{
  margin-bottom:20px;
  padding:30px 15px;
  background:rgba(255,255,255,.9);

  /* головне: */
  box-sizing:border-box;
  width:100%;           /* або фіксована ширина */
  max-width:100%;       /* не ширше контейнера */
  overflow-wrap:break-word;   /* довгі слова/URL переносяться */
  word-break:break-word;      /* підстраховка для старих браузерів */
    
}

.intro-text {
    text-transform: uppercase;
    font-size: 1.25em;
    font-weight: 400;
    letter-spacing: 1px;
}

.img-border {
    float: none;
    margin: 0 auto 0;
    border: #999999 solid 1px;
}

.img-left {
    float: none;
    margin: 0 auto 0;
}

footer {
    background: #fff;
    background: rgba(255,255,255,0.9);
}

footer p {
    margin: 0;
    padding: 50px 0;
}

@media screen and (min-width:768px) {
    .brand {
        display: inherit;
        margin: 0;
        padding: 30px 0 10px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        font-family: Times New Roman Bold;
        text-transform: uppercase;
        font-size: 4em;
        font-weight: 500;
        line-height: normal;
        color: #009933;
    }

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

    .img-left {
        float: left;
        margin-right: 25px;
    }

    .address-bar {
        display: inherit;
        margin: 0;
        padding: 0 0 40px;
        text-align: center;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        text-transform: uppercase;
        font-size: 1.7em;
        font-weight: 400;
        letter-spacing: 3px;
        color: #000;
    }

    .navbar {
        border-radius: 0;
    }

    .navbar-header {
        display: none;
    }

    .navbar {
        min-height: 0;
    }

    .navbar-default {
        border: none;
        background: #fff;
        background: rgba(255,255,255,0.9);
    }

    .nav>li>a {
        padding: 35px;
    }

    .navbar-nav>li>a {
        line-height: normal;
    }

    .navbar-nav {
        display: table;
        float: none;
        margin: 0 auto;
        table-layout: fixed;
        font-size: 1.25em;
    }
}

@media screen and (min-width:1200px) {
    .box:after {
        content: '';
        display: table;
        clear: both;
    }
}

.chip{padding:6px 10px;border:1px solid #e5e7eb;border-radius:999px;font-size:12px;background:#fff}
.realty-specs th, .realty-specs td {border:1px solid #dfe3e6;padding:8px 10px}
.realty-specs th{background:#f7f9fb;text-align:left;width:30%}
.re-lb{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.9);z-index:9999}
.re-lb.open{display:flex}
.re-lb-img{max-width:95vw;max-height:85vh;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.re-lb-cap{position:absolute;left:50%;transform:translateX(-50%);bottom:20px;color:#fff;font:14px/1.4 system-ui,Arial,sans-serif;opacity:.9;text-align:center;max-width:90vw}
.re-lb-btn{position:absolute;top:50%;transform:translateY(-50%);border:none;background:transparent;color:#fff;font-size:32px;cursor:pointer;opacity:.85}
.re-lb-prev{left:16px} .re-lb-next{right:16px}
.re-lb-close{position:absolute;top:14px;right:16px;font-size:28px;cursor:pointer;color:#fff;opacity:.85}
/* === Desktop (>=768px): робимо "Продаж" таким самим, + місце під каретку === */
@media (min-width:768px){
  .navbar-nav > li > a.dropdown-link{
    position: relative;
    /* як у всіх пунктів: 35px зверху/знизу, зліва теж 35px */
    padding: 35px 40px 35px 30px;  /* справа +11px під каретку */
    line-height: normal;           /* як у сусідів */
  }
  .navbar-nav > li > a.dropdown-link .caret{
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
  /* щоб дропдаун не сповзав */
  .navbar-nav > li > .dropdown-menu{ margin-top: 0; }
}

/* На мобілці – нічого не чіпаємо, хай працює стандарт BS3 */
