/* Body */
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #000000;
    font-weight: 400;
    position: relative;
  
}

section {
    width: 100vw;
    margin-bottom: 5%;
}

.container {
    width: 80%;
}

/* fonts */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-weight: 600;
    color: #000000;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2rem;
}


p {
    font-size: 1rem;
    font-weight: 400;
}



/* Menu and Navbar */
header {
    margin-bottom: 2.5%;
}

#menu {
    border-bottom: 1px solid #423b0b;
    background-color: #707078;
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 15%;
}

/* Navbar brand */

.navbar-brand {
    margin-left: 2%;
    width: 30%;

}

.navbar-brand .brandmain {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 600;
    padding: 0 0 0 2px;
    line-height: 1em;
    margin: 0px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.navbar-brand .brandsecond {
    font-family: 'Source Sans Pro', sans-serif;
    color: #e4e6c3;
    font-size: 1.25rem;
    font-weight: 400;
    padding: 0 0 0 2px;
    margin: 0px;
}

#main-navbar {
    max-width: 40%;
}

#items {
    margin-left: auto;
    margin-right: 2.5%;
}

li>a {
    padding: 25px 5px;
    display: block;
    position: relative;
    border: none;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
}

.active a {
    border-bottom: 2px solid #F7F7F2;
    color: #F7F7F2 !important;
}

/* Booking Button item */
#booking-navbar {
    width: 20%;
    position: absolute;
    right: 0px;
    vertical-align: middle;
    height: 40px;

}

#booknow {
    height: 100%;
    margin: 0 auto;
    padding: 0;
}

#booknow li {
    height: 100%;
    border: .5px solid #423B0B;
    background-color: #899878;
    border-radius: 7.5px;
    padding-left: 15px;
    padding-right: 15px;
    list-style-type: none;
    display: table;

}

#booknow li>a {
    height: 100%;
    padding: 0;
    position: relative;
    border: none;
    font-weight: 400;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #e4e6c3;
    text-decoration: none;
    display: table-cell;
    vertical-align: middle;
    text-transform: uppercase;
}

.a-bed {
    height: 1rem;
    width: auto;
}


/* Hero Landing Page */
#hero {
    height: 100vh;
}

#carouselhero {
    height: 100vh;
}

#image1, #image2, #image3, #image4, #image5, #image6 {
    height: 100vh;
    width: 100%;
    display: block;
    background-size: cover;
    border-radius: 0px;
}




.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2331572c'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
    background-color: #F7F7F2;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;

}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2331572c'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    background-color: #F7F7F2;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
}



/* Hero other Pages */
#hero2 {
    background: url(../img/Hero/herotwo.jpeg) no-repeat center top scroll;
    height: 50vh;
    width: 100%;
    display: block;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-bottom: 2%;
}

#hero2 .container {
    width: 80%;
    height: 100%;
    text-align: center;
    position: relative;
    padding: 0px;
}

#hero2 h1 {
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    font-size: 4.5rem;
    color: #e4e6c3;
    position: absolute;
    top: 50%;
}

/* Index Page */
.backgroundpictures img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: .1rem solid #423B0B;
    border-radius: 0px;
    padding: 0;
    margin-bottom: 2%;
}

/* Apartments Page */

#slider {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    border: 2px solid #423B0B;
    border-radius: 2px;
    margin-bottom: 2.5%;
}

#slider .row {
    margin: 0px;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #f7f7f2;
    font-weight: bold;
    font-size: 30px;
    border-radius: 0 3px 3px 0;
    text-decoration: none !important;
    user-select: none;
    background-color: rgba(66, 59, 11, 0.5);
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(66, 59, 11, 0.8);
    color: #e4e6c3;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 1rem;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Container for image text */
.caption-container {
    display: table;
    width: 100%;
    text-align: center;
    background-color: #423B0B;
    padding: 10px 1px;
}

.caption-container p {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
    color: white;
}

#slider .row:after {
    content: "";
    display: table;
    clear: both;
}

/* Ten columns side by side */
.column {
    float: left;
    width: 10%;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

/* The Smart booking widget */
#bookingwidget {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 5%;
    height: 20vh;
}

#bookdirect {
    text-align: center;
}

#bookdirect p {
    font-weight: 400;
    font-size: 2em;
}

#SMART-widget-container {
    width: 50%;
    margin: 0 auto;
}

#SMART-widget-container a {
    height: auto;
    margin: 0 auto;
}

#SMART-widget-container img {
    height: auto;
    padding: 10px;
    border: .2rem solid #d43a3c;
    border-radius: 10px;
    margin: 0 auto;
}

/* Rooms Infomation section */

.roomscontent {
    width: 90%;
    height: auto;
    border: .1rem solid #423B0B;
    margin: 2.5% 5%;
    position: relative;
    text-align: center;
    color: black;
    background-color: #F7F7F2;
}

.roomstitle {
    position: absolute;
    top: 1%;
    left: 50%;
    transform: translate(-50%, -1%);
}

.roomstitle h3 {
    color: #707078;
}

.roominfo {
    padding: .5% 0;
    text-align: left;
}

.roomimage img {
    width: 100%;
    height: auto;
    padding: 0px;
    border-bottom: .1rem solid #423B0B;
}



/* Wanaka Page */

.aboutcontent {
    width: 80%;
    height: auto;
    margin: 0 10% 2.5% 10%;
    position: relative;
    text-align: center;

}

.abouttitle {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -5%);
}

.abouttitle h3 {
    font-size: 3rem;
    color: #ffffff;
}

.aboutinfo {
    width: 100%;
    position: absolute;
    bottom: 0%;
    background-color: rgb(247, 247, 242, .5);
    text-align: center;
}


:hover.aboutinfo {
    background-color: rgb(247, 247, 242, .8);
}

.aboutinfo ul {
    padding: 0px;
    margin: 1rem 0 1rem 0;
}

.aboutinfo li {
    list-style-type: none;
    display: inline-block;
    width: 130px;
    text-align: center;
}

.aboutinfo li>a {
    display: block;
    position: relative;
    border: none;
    text-transform: uppercase;
    text-decoration: none;
    color: #423b0b;
    font-size: .5rem;
    padding: .5em;
    background-color: rgb(247, 247, 242, .8);
}

:hover.aboutinfo li>a {
    background-color: rgb(247, 247, 242, 1);
    border: .1rem solid #423B0B;
    font-size: .6rem;
}

.aboutpictures img {
    width: 100%;
    height: auto;
    padding: 0px;
    border-bottom: .1rem solid #423B0B;
}

/* Contact Page */

#map, #contactdetails {
    margin-top: 2%;
    margin-bottom: 2%;
    float: left;
}

/* Map */
#map {
    display: block;
    width: 60%;
}

iframe {
    width: 90%;
    height: 500px;
    border: .1rem solid #423B0B;
}

#contactdetails {
    display: block;
    width: 40%;
    height: auto;


}

#imgcontact {
    border: .1rem solid #423B0B;
    width: 40%;
    padding: 0;
}

/* Footer */
.footer {
    clear: both;
    border-top: 1.5px solid #423b0b;
    background-color: #707078;
}

.footer span {
    margin-bottom: 0px;
    padding: 7.5px 0px 7.5px 0px;
}

.footer p {
    padding: 0px;
    margin: 0px;
    font-size: .9rem;
}

#copyright {
    float: left;
    padding-left: 15px;
    width: 50%;
    background-color: #707078;
}

#privacy {
    float: left;
    text-align: right;
    padding-right: 15px;
    width: 50%;
    background-color: #707078;
}

#privacy a {
    text-decoration: none;
    color: #000000;
}

/*  ------------------------Media queries-------------------------------*/


/* Tablets landscape small screen  */
@media screen and (max-width: 1200px) {

    #menu {
        height: 12%
    }

    #hero {
        height: 80vh;
    }

    #carouselhero {
        height: 80vh;
    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 80vh;

    }

    .navbar-brand .heromain {
        font-size: 2.4rem;
    }

    .navbar-brand .herosecond {
        font-size: 1.2rem;
    }

    li>a {
        text-align: center;
        font-size: 1.25rem;
    }

    #booknow li>a {
        white-space: nowrap;
        font-size: 1rem;
    }

}

/* Wanaka Page */

/* ------------Small screens tablets portrait----------- */
@media screen and (max-width: 988px) {

    /* Menu and Navbar - Set to collapse at Bootstrap lg or 991*/
    #menu {
        height: 10%;
    }

    .navbar {
        padding: 0;
    }

    .navbar-brand .brandmain {
        font-size: 3.2rem;

    }

    .navbar-brand .brandsecond {
        font-size: 1rem;
    }

    #main-navbar {
        width: 100%;
        max-width: 100%;
        padding-top: 1%;
    }

    .navbar-light .navbar-nav .nav-link {
        color: rgba(0, 0, 0, .9);
    }

    #items {
        background-color: rgb(112, 112, 120, .9);
        width: 100%;
        color: #000000;
    }

    li>a {
        text-align: center;
        font-size: .9rem;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(66,59,11,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-light .navbar-toggler {
        color: #423b0b;
        border-color: #423b0b;
        background-color: #899878;
        border-radius: 7.5px;
        margin-right: 5px;
        margin-left: 5px;
    }


    .active a {
        color: #F7F7F2 !important;
        border-bottom: none;
    }

    /*The booking button in the menu */
    #booking-navbar {
        right: 70px;
        margin-right: 2px;
    }

    #booknow li>a {
        white-space: nowrap;
        font-size: .7rem;
    }


    /* Hero on landig page */
    #hero {
        height: 45vh;
    }

    #carouselhero {
        height: 45vh;
    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 45vh;
        width: 100%;
        display: block;
        background-size: cover;
        border-radius: 0px;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;

    }

    /* Picture on landing page  */
    .backgroundinfo {
        display: block;
        width: 100%;
    }

    .backgroundpictures {
        display: block;
        width: 85%;
        height: auto;
        margin: 0 auto;
    }

    .backgroundpictures img {
        text-align: center;
    }



    /* Hero on other pages */
    #hero2 {
        height: 30vh;

    }

    #hero2 .container {
        height: 30vh;

    }

    #hero2 .row {
        width: 100%;
        position: relative;
        top: 50%;
        transform: translateY(-50%)
    }

    #hero2 h1 {
        font-size: 3.5rem;
    }

    .roominfo {
        font-size: .9rem;
    }

    /* Wanaka Page */

    .aboutcontent {
        width: 100%;
        height: auto;
        margin: 0 0 2.5% 0;

    }

    .aboutinfo {
        background-color: rgb(247, 247, 242, .8);

    }

    .aboutinfo li>a {
        background-color: rgb(247, 247, 242, 1);
        border: .1rem solid #423B0B;
    }

    /* Contact Page */

    #map {
        display: block;
        width: 100%;
        height: 30vh;
    }

    iframe {
        width: 100%;
        height: 25vh;
        border: .1rem solid #423B0B;
    }

    #contactdetails {
        display: block;
        height: auto;
    }

    .contactpicture {
        display: block;
        height: auto;
    }

    #imgcontact {
        width: 100%;

    }

}

/*--------------Phones-------------------- */
@media screen and (max-width: 600px) {

    .container {
        width: 90%;
    }

    body {
        font-size: .75rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: .75rem;
    }

#menu {
    height: 12.5%;
}
    .navbar-brand .brandmain {
        font-size: 2.5rem;
    }

    .navbar-brand .brandsecond {
        font-size: .8rem;
    }

    #main-navbar {
        padding-top: .8%;
    }

    /*The booking button in the menu */
    #booking-navbar {
        right: 80px;

    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(66,59,11,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }


    /* Hero on landing page */
    #hero {
        height: 35vh;
        margin-bottom: 5%;
    }

    #carouselhero {
        height: 35vh;
    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 35vh;

    }

    #carouselhero {
        height: 30vh;
    }

    .carousel-control-prev {
        top: 30%;

    }

    .carousel-control-next {
        top: 30%;
    }

    .carousel-control-prev-icon {
        width: 1rem;
        height: 1rem;
        margin-top: -10%;
    }

    .carousel-control-next-icon {
        width: 1rem;
        height: 1rem;
    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 40vh;
    }

    /* Hero on other pages */
    #hero2 h1 {
        font-size: 2rem;
        top: 65%;
    }
 
   
 
  
    /* Appartment Page  */


    #bookdirect p {
        font-weight: 400;
        font-size: 1.25rem;
    }

    #bookingwidget {
        width: 100%;
        margin-top: 5%;
        margin-bottom: 15%;
        height: auto;
    }

    #SMART-widget-container {
        width: 100%;
        text-align: center;
    }

    #SMART-widget-container img {
        width: 70%;
        margin: 0 auto;
        padding: 5px;
        border: .1rem solid #d43a3c
    }

    #SMART-widget-container a {
        width: 70% !important;
        text-align: center;
    }

    /* Slide Show */
    /* Next and Previous Buttons */
    .prev,
    .next {
        padding: 8px;
        font-size: 15px;
        margin-top: -10px;
    }

    /* Number text (1/3 etc) */
    .numbertext {
        font-size: .5rem;

    }


    /* Rooms Infomation section */
    .roomdetail {
        padding: 0%;
    }

    .roomscontent {
        width: 100%;
        height: auto;
        border: .1rem solid #423B0B;
        margin: 2.5% 0;
    }

    .roomstitle h2 {
        color: #707078;
        font-weight: 300;
        font-size: 1.5rem;
    }

    .roominfo {
        padding: .5% 0;
        text-align: left;
        font-size: .6rem;
    }

    .roomimage img {
        width: 100%;
        height: auto;
        padding: 0px;
        border-bottom: .1rem solid #423B0B;
    }

    /* Wanaka PAge */
    .aboutinfo li {
        list-style-type: none;
        display: inline-block;
        width: 130px;
        text-align: center;
        margin-bottom: 2px;
    }



    /* Contact Page */


    #contactdetails {
        display: block;
        width: 100%;
        height: auto;
    }

    #contactdetails p {
        margin-bottom: .3rem;
    }

    .contactpicture {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 2%;
    }

    .footer p {
        font-size: .7rem;
    }
}

/* ---------Extra small phones-------------  */

@media screen and (max-width: 400px) {



    body {
        font-size: .75rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: .75rem;
    }

    .container {
        width: 90%;
    }

    /* Menu and Navbar */

    #menu {
        height: 12.5%
    }

    .navbar-brand {
        width: 50%;
    }

    .navbar-brand .brandmain {
        font-size: 2rem;
    }

    .navbar-brand .brandsecond {
        font-size: .65rem;
    }

    li>a {
        font-size: .7rem;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(66,59,11,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    #main-navbar {
        padding-top: 0px;
    }

    #hero {
        height: 30vh;
        margin-bottom: 10%;
    }

    #carouselhero {
        height: 30vh;
    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 30vh;

    }


    /*The booking button in the menu */

    #booking-navbar {
        right: 80px;
        width: 20%;
    }

    #booknow li {
        padding-left: 10px;
        padding-right: 10px;
    }

    #booknow li>a {
        white-space: nowrap;
        font-size: .6rem;
    }

    /* Hero on landig page */
    #hero {
        height: 35vh;
    }

    #carouselhero {
        height: 35vh;
    
    }


    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 40vh;

    }

    .backgroundinfo, .backgroundpictures {
        display: block;
        width: 100%;
    }

    /* Hero on other pages */
    #hero2 {
        height: 40vh;
        }

    #hero2 .container {
        height: 30vh;
    }

    #hero2 h1 {
        font-size: 2rem;
    }

    #SMART-widget-container {
        margin: 0 auto;
    }

    /* Appartment Page  */


    #bookdirect p {
        font-weight: 400;
        font-size: 1rem;
    }

    /* Wanaka Page */

    .abouttitle h3 {
        font-size: 2rem;
    }

    .aboutinfo p {
        font-size: .5rem;
    }

    .aboutinfo li>a {
        font-size: .5rem;
    }

    .aboutinfo li {
        width: 110px;

    }


    /* Contact Page */

    .footer p {
        font-size: .6rem;
        padding-bottom: 10px;
    }

}

@media only screen and (max-height:600px) and (orientation: landscape) {
    #menu {
        height: 25%;
    }

    #hero {
        height: 100vh;
    }


    #carouselhero {
        height: 100vh;
    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 100vh;

    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 100vh;
        width: 100%;

    }

    .carousel-control-prev {
        top: 100%;

    }

    .carousel-control-next {
        top: 100%;
    }



    #hero2 {
        height: 70vh;

    }

    #hero2 .container {
        height: 70vh;

    }

    #bookingwidget {
        height: 40vh;
    }

}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    #hero {
        height: 50vh;
    }

    #carouselhero {
        height: 50vh;
    }

    #image1, #image2, #image3, #image4, #image5, #image6 {
        height: 50vh;

    }

    .carousel-control-prev {
        top: 25%;

    }

    .carousel-control-next {
        top: 25%;
    }

}