/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
.carousel-control {
    z-index: 25;
}

.carousel .item {
    overflow: hidden !important;
    height: auto;
}

.carousel-indicators .active {
    height: 20px;
    width: 20px;
    background: #90979e;
    border: 3px solid #90979e;
}

.carousel-indicators li {
    height: 20px;
    width: 20px;
    border: 3px solid #90979e;
}

.carousel-indicators {
    bottom: 260px;
}

/* Declare heights because of positioning of img element */
#carousel-example-generic-1,
#carousel-example-generic-2 {
    overflow: hidden;
}

#carousel-example-generic-1.carousel .carousel-caption img {
    margin: 0 auto;
    bottom: 0;
}

#carousel-example-generic-1.carousel .item {
    min-height: 720px;
    background: transparent;
    opacity: 0;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

#carousel-example-generic-1.carousel .carousel-inner .active {
    opacity: 1;
}

#carousel-example-generic-1 .carousel-control .fa-angle-left,
#carousel-example-generic-1 .carousel-control .fa-angle-right {
    margin-top: -96px;
    display: inline-block;
    position: absolute;
    top: 50%;
    z-index: 5;
    font-size: 60px;
}

#carousel-example-generic-1 .carousel-caption {
    bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

#carousel-example-generic-1.carousel .active.left,
#carousel-example-generic-1.carousel .active.right {
    left: 0;
    opacity: 0;
    z-index: 2;
}

#carousel-example-generic-1.carousel .next,
#carousel-example-generic-1.carousel .prev {
    left: 0;
    opacity: 1;
    z-index: 1;
}

/*second carrousel*/
#carousel-example-generic-2 > .carousel-control.right {
    background: none;
    left: auto;
    right: 0;
}

#carousel-example-generic-2 > .carousel-control.left {
    background: none;
    right: auto;
    left: 0;
}

#carousel-example-generic-2 > .carousel-control {
    bottom: 0;
    color: #2a2a2a;
    font-size: 20px;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 15%;
}

#carousel-example-generic-2.carousel .item {
    min-height: 500px;
    background: transparent;
}

#carousel-example-generic-2 .carousel-control .fa-angle-left,
#carousel-example-generic-2 .carousel-control .fa-angle-right {
    display: inline-block;
    position: absolute;
    top: 50%;
    z-index: 5;
    font-size: 60px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
    /* Navbar positioning foo */
    .navbar-wrapper {
        margin-top: 15px;
    }

    .navbar-wrapper .container {
        padding-right: 15px;
        padding-left: 15px;
    }

    .navbar-wrapper .navbar {
        padding-right: 0;
        padding-left: 0;
    }

    /* The navbar becomes detached from the top, so we round the corners */
    .navbar-wrapper .navbar {
        border-radius: 4px;
    }

    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-prev,
    .carousel-control .icon-next {
        width: 30px;
        height: 30px;
        margin-top: -15px;
        font-size: 30px;
    }

    #carousel-example-generic-2 > .carousel-control .glyphicon-chevron-left,
    #carousel-example-generic-2 > .carousel-control .icon-prev {
        margin-left: -30px;
    }

    #carousel-example-generic-2 > .carousel-control .glyphicon-chevron-right,
    #carousel-example-generic-2 > .carousel-control .icon-next {
        margin-right: -30px;
    }
}

@media (max-width: 1300px) {

    #carousel-example-generic-1 .carousel-control .fa-angle-left,
    #carousel-example-generic-1 .carousel-control .fa-angle-right {
        margin-top: 88px;
    }
}