/*  ========================================
    px to em convertionrate 14 px = 1.000 em
    ========================================  */

html, body {
    height: 100%;
    width: 100%;
    background-color: #00BCD4;
    font-size: 94.5%;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    -webkit-font-smoothing: antialiased; /* safari fontcontrol */
    -moz-osx-font-smoothing: grayscale; /* firefox fontcontrol */
}

a:focus {
    outline: none; /* firefox ugly dotted links shit */
}

/*  ========================================
                  navigation
    ========================================  */
/*  ====================================
      dropdown color edit to bootstrap
    ====================================  */

.dropdown-menu {
    background-color: #00BCD4;
}

.dropdown-menu > li > a {
    color: #FFC107;
}

.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
    color: #B2EBF2;
    background-color: transparent;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #B2EBF2;
    color: #0097A7;
}

/*  ====================================
          navbar edit to bootstrap
    ====================================  */

.navbar-default {
    background-color: #0097A7;
    border-color: #B2EBF2;
}

.navbar-default .navbar-brand:focus {
    color: #FFC107;
}

.navbar-header {
    height: 8.5em;
}

.navbar-header a {
    height: 4.25em;
    padding: 0;
    font-size: 2em;
    letter-spacing: 0.063em;
    margin: auto;
    display: inline-block;
}

.logo h1 {
    display: none;
}

.nav a {
    font-weight: 400;
}

.navbar-header a.logo {
    float: left;
    margin: 0;
    padding-left: 4.25em;
    background: url("../assets/logo.png") no-repeat left center !important;
    border: 0;
    background-size: 4.25em 4.25em !important;
    color: #FFC107;
}

.navbar-header a.logo:hover {
    color: #B2EBF2;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    color: #FFC107;
    background-color: #00BCD4;

}

.navbar-default .navbar-nav > li > a {
    color: #FFC107;
    letter-spacing: 0.03em;
    font-size: 1em;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #B2EBF2;
    background-color: transparent;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    color: #0097A7;
    background-color: #B2EBF2;
}

.navbar-default .navbar-toggle {
    border-color: #B2EBF2;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #B2EBF2;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #B2EBF2;
}
/*  =============================
        settings for sections
    =============================  */

.bold-text {
    font-size: 1.25em;
    font-weight: bold;
}

.picture img {
    width: 100%;
    height: 100%;
    margin-bottom: 1em;
}

.picture-hidden img {
    display: none;
}

.big-box .picture img {
    margin-bottom: 0;
}

.big-text {
    margin-bottom: 0.6em;
}

section > h1 {
    font-size: 3em;
    text-shadow: 0 0 18px rgba(0, 0, 0, .75);
    text-align: center;
    color: #fff;
}

/*  ========================================
                home section
    ========================================  */

.home-section {
    height: auto !important;
    min-height: 100%;
    overflow: hidden; /* hidden scrollbar in firefox */
    padding-top: 8.5em;
    background: url("../assets/backgrounds/sunset.JPG") fixed center;
    background-size: cover;
    position: relative;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    font-weight: 300;
    color: #fff;
}

.home-section > .container {
    height: auto !important;
    position: relative;
    background: inherit;
    background-attachment: fixed;
}

.home-section > .container > .welcome-box {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    background: inherit;
    background-attachment: fixed;
}

.home-section > .container > .welcome-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0097A7;
    border-radius: 0.5em;
    box-shadow: 0 0 36px rgba(0, 0, 0, .75);
    /*box-shadow: 0 0 30px 5px #1fbcd2;
    background-attachment: fixed;
    filter: blur(12px);
    transform: translateY(20px);*/
}

.home-section > .container > .welcome-box > p {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.home-section article {
    font-size: 1.5em;
    padding: 0.4em;
    margin-top: 0.4em;
}

.welcome-box > p {
    margin: 0.1em;
    padding: 0.1em;
}

/*  ========================================
            small apartment section
    ========================================  */

.small-section {
    height: auto !important;
    min-height: 100%;
    overflow: hidden; /* hidden scrollbar in firefox */
    padding-top: 8.5em;
    background: url("../assets/backgrounds/horizon.jpg") fixed center;
    background-size: cover;
    position: relative;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    font-weight: 300;
    color: #fff;
}

.small-section > .container {
    height: auto !important;
    position: relative;
    background: inherit;
    background-attachment: fixed;
}

.small-section > .container > .row {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    background: inherit;
    background-attachment: fixed;
    margin:0;
    overflow: hidden;
    background-color: #0097A7;
    border-radius: 0.5em;
    box-shadow: 0 0 36px rgba(0, 0, 0, .75);
}

.small-section > .container > .row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*box-shadow: 0 0 30px 5px #1fbcd2;
    background-attachment: fixed;
    filter: blur(12px);
    transform: translateY(20px);*/
}

.small-section > .container > .row > .small-box {
    background-color: #0097A7;
}

.small-text {
    max-width: 100%;
    max-height: 100%;
    font-size: 1.5em;
    padding: 0.4em;
}

.small-text > p {
    margin: 0.1em;
    padding: 0.1em;
}

/*  ========================================
             big apartment section
    ========================================  */

.big-section {
    height: auto !important;
    min-height: 100%;
    overflow: hidden;
    padding-top: 8.5em;
    background: url("../assets/backgrounds/horizon.jpg") fixed center;
    background-size: cover;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    font-weight: 300;
    position: relative;
    text-align: center;
    color: #fff;
}

.big-section > .container {
    height: auto !important;
    position: relative;
    background: inherit;
    background-attachment: fixed;
}

.big-section > .container > .row {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    background: inherit;
    background-attachment: fixed;
    margin:0;
    overflow: hidden;
    background-color: #0097A7;
    border-radius: 0.5em;
    box-shadow: 0 0 36px rgba(0, 0, 0, .75);
}

.big-section > .container > .row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*box-shadow: 0 0 30px 5px #1fbcd2;
    background-attachment: fixed;
    filter: blur(12px);
    transform: translateY(20px);*/
}

.big-section > .container > .row > .big-box {
    background-color: #0097A7;
}

.big-text {
    max-width: 100%;
    max-height: 100%;
    font-size: 1.5em;
    padding: 0.4em;
}

.big-text > p {
    margin: 0.1em;
    padding: 0.1em;
}

/*  ========================================
                island section
    ========================================  */

.island-section {
    height: 100% !important;
    overflow: hidden;
    padding-top: 8.5em;
    background: url("../assets/backgrounds/sunset.JPG") fixed center;
    background-size: cover;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    font-weight: 300;
    position: relative;
    text-align: center;
    color: #fff;
}

.island-section > .container {
    height: 74.14%;
    position: relative;
    background: inherit;
    background-attachment: fixed;
}

.island-section > .container > .row {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    background: inherit;
    background-attachment: fixed;
    margin:0;
    overflow: hidden;
    background-color: #0097A7;
    border-radius: 0.5em;
    box-shadow: 0 0 36px rgba(0, 0, 0, .75);
}

.island-section > .container > .row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*box-shadow: 0 0 30px 5px #1fbcd2;
    background-attachment: fixed;
    filter: blur(12px);
    transform: translateY(20px);*/
}

.island-section > .container > .row > .island-box {
    background-color: #0097A7;
}

.island-text {
    max-width: 100%;
    max-height: 100%;
    font-size: 1.5em;
    padding: 0.4em;
    overflow: auto;
}

.island-text > p {
    margin: 0.1em;
    padding: 0.1em;
}

/*  ========================================
                contact section
    ========================================  */

.contact-section {
    height: auto !important;
    min-height: 100%;
    overflow: auto;
    padding-top: 8.5em;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    font-weight: 300;
    color: #fff;
}

.heading-line {
    position: relative;
    margin-top: 0.4em;
    margin-bottom: 1.25em;
    text-align: center;
    display: block;
}

h2.heading-line:before {
    border-top: 2px solid #B2EBF2;
    position: absolute;
    top: 50%;
    z-index: 1;
    display: block;
    width: 100%;
    height: 1px;
    content: "";
}

h2.heading-line span {
    position: relative;
    z-index: 1;
    padding: 0 1.25em;
    background: #00BCD4;
    display: inline-block;
}

.contact-text {
    min-width: 100%;
    height: auto;
    font-size: 1.05em;
    text-align: center;
    padding: 0.4em;
}

.contact-text address {
    color: #B2EBF2;
}

.contact-text a {
    text-decoration: none;
    color: #B2EBF2;
}

.contact-text a:hover {
    color: #fff;
}

#map {
    min-width: 100%;
    height: 20em;
    color: #000;
}

.social_box {
    padding: 0.5em;
}

.social_box > p > a > i {
    font-size: 175%;
    color: #fff;
}

.social_box > p > a > i:hover {
    color: #0097A7;
}

.social_box a {
    text-decoration: none;
}

.social_box span {
    padding-bottom: 0.5em;
}



/*  ========================================
                social section
    ========================================  */

.social-section {
    height: auto !important;
    min-height: 100%;
    overflow: auto;
    padding-top: 8.5em;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    font-weight: 300;
    color: #fff;
}

.social-section h4 {
    padding: 0.25em 0;
    margin-bottom: 0;
}

hr {
    margin-top: 0.7em;
}

.facebook, .instagram, .twitter {
    height: 35em !important;
}

.fb-page {
    max-width: 100%;
}

/* Instagram widget height manipulation */

#e6f3661128539bbf071072bb572e0fc3cb427852623371f71a6d8f95d77d07bb {
    height: 35em !important;
    max-width: 100%;
}

.twitter-timeline {
    background: #fff;
}

/* Twitter widget height manipulation */

#twitter-widget-0 {
    height: 35em !important;
}

/*  ========================================
                    footer
    ========================================  */

footer {
    text-align: center;
    font-weight: 300;
    color: #ffffff;
}

/*  ========================================
                  media query
    ========================================  */

@media (min-width: 768px) {

    nav {
        height: 8.5em;
    }

    #navbar {
        float: right;
        margin-top: 5em;
    }

    .container {
        height: 8.5em;
    }

    .row.vertical-align {
        display: flex;
        flex-direction: row;
    }

    .row.vertical-align > [class^="col-"],
    .row.vertical-align > [class*=" col-"] {
        display: flex;
        align-items: stretch;
        justify-content: center;
    }

    .small-box, .big-box, .island-box {
        padding: 0;
    }

    .big-text {
        margin: 0;
    }

    .picture img {
        margin: 0;
    }
}

@media (max-width: 767px) {

    .navbar-nav .open .dropdown-menu {
        background-color: #00BCD4;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #FFC107;
        letter-spacing: 0.03em;
        font-size: 1em;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
        color: #B2EBF2;
        background-color: transparent;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover {
        color: #0097A7;
        background-color: #B2EBF2;
    }
}

@media (min-width: 992px) {
    .logo h1 {
        line-height: 1.7em;
        font-size: 1.25em;
        font-weight: 300;
        margin: 0;
        display: block;
    }
}