/*
Theme Name: Chartfield Guest House
Author: Ashwin Bobbs
*/

/* NAVBAR TOP */

.navbar {
    padding: 1.6rem 1rem;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
    line-height: 50px;
}

.navbar-default .navbar-nav>li>a {
    font-family: 'FagoNoTf';
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}

.navbar-default .navbar-nav>li.language a {
    padding: 1rem .5rem;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:active {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-default .navbar-nav .nav-link {
    padding-right: .7rem !important;
    padding-left: .7rem !important;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.navbar-default .navbar-nav .nav-item:last-child .nav-link {
    display: inline-block;
}

.navbar-default .navbar-nav .nav-item:last-child .nav-link {
    display: inline-block;
}

.navbar-default .navbar-nav .nav-item:last-child a.spacer {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -7px;
    margin-right: -7px;
}

.navbar-default .navbar-nav .nav-item:nth-last-child(2) {
    background-color: #44a6b8;
    border: 5px solid #44a6b8;
}

.navbar-default .navbar-nav .nav-item:nth-last-child(3) {
    background-color: #25d366;
    border: 5px solid #25d366;
}

.navbar-toggler {
    position: absolute;
    color: #FFF;
    right: 15px;
    top: 25px;
    font-size: 30px;
    padding: 0 !important;
    border: none;
}

.navbackground {
    background-color: rgba(125, 119, 115, 0.98) !important;
}

.no-navbackground {
    background-color: transparent;
}

nav.navbar.shrink {
    width: 100%;
    height: 75px;
    background-color: rgba(125, 119, 115, 0.98) !important;
    position: fixed;
    left: 0px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

nav.navbar.shrink .navbar-collapse {
    background-color: transparent !important;
}

nav.navbar.shrink a {
    font-size: 16px;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    color: rgba(255, 255, 255, 0.9);
}

nav.navbar.shrink .logo {
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
}

nav.navbar.shrink .navbar-toggler {
    padding: 4px 5px;
    transition: all 1.5s ease;
}

@media (max-width: 1366px) {
    .navbar-default .navbar-nav .nav-link {
        padding-right: .5rem !important;
        padding-left: .5rem !important;
    }
    .navbar-collapse {
        margin-left: -15px;
        margin-right: -15px;
        background-color: rgba(125, 119, 115, 0.98) !important;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbackground {
        background-color: rgba(125, 119, 115, 0.98) !important;
    }
    nav.navbar.shrink {
        height: 100px;
    }
    nav.navbar.shrink .navbar-collapse {
        background-color: rgba(125, 119, 115, 0.98) !important;
    }
    .dates {
        display: block !important;
    }
    #saison {
        display: none !important;
    }
}

/* Carousel */

.carousel-item {
    height: 95vh;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.carousel-caption {
    position: absolute;
    top: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 100%;
    color: #fff;
    z-index: 10000 !important;
}

.carousel-caption h1 {
    -ms-flex-align: center;
    width: 100%;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
    width: 200px;
    height: 200px;
}

.carousel-control .glyphicon-chevron-left:before,
.carousel-control .glyphicon-chevron-right:before {
    font-size: 200px;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: .9s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

/* Video */
        .video-content {
            position: relative;
            overflow: hidden;
            height: 90vh;
            width: 100%;
        }
        
        .video-content h1 {
            color: #FFF;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 500;
            text-align: center;
        }
        
        .video-content #myVideo {
            background-image: url('./assets/img/chartfield.jpg');
             background-repeat: no-repeat;
            background-position: center center;
            background-position-x: center;
            background-position-y: center;
            -webkit-object-fit: cover;
            -moz-object-fit: cover;
            -o-object-fit: cover;
            object-fit: cover;
            /* Make video to at least 100% wide and tall */
            min-width: 100%;
            min-height: 90%;
            /* Setting width & height to auto prevents the browser from stretching or squishing the video */
            width: auto;
            height: auto;
            /* Center the video */
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .video-content .my-overlay:before {
            content: "";
            background: rgba(0, 0, 0, 0.15);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 3;
        }
        
        .video-content .my-overlay:after {
            content: "";
            background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpiZGBg8AVihv///28G0UwMaIARKIMigKECIMAASJsHAYcd2RAAAAAASUVORK5CYII=);
            background-size: 2px 2px;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 2;
        }
        
        .video-content .container {
            position: absolute;
            width: 100%;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            padding: 50px 200px;
            text-align: center;
            color: #fff;
            z-index: 15;
        }
