:host {
    padding: 0px;
}

.container-fluid.main {
    position: relative;
    /* To make the navbar positions relative to this container */
    padding: 0;
}

.navbar-default {
    background-image: none;
    background-color: transparent;
    /* Make the menu become transparent */
    border-radius: 0px;
    border: 0;
    box-shadow: none;
    padding: 10px;
    position: absolute;
    /* Make the menu out of the document flow so it can placed anywhere without disturbing other widgets */
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    /* If you delete this line, your menu link won't be clicked because it is behind the background. Applying this code bring the menu in front of the background */
}

.navbar-default .navbar-brand {
    font-family: Verdana;
    color: #ffffff;
    font-size: 20px;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #ffffff;
    background-color: transparent;
}

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
}

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

.navbar-default .navbar-toggle {
    border-color: transparent;
}

.navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

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

.carousel .background {
    height: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    color: white;
    position: absolute;
    font-size: 20px;
    top: 50%;
    padding: 20px;
}

.carousel .carousel-control-next {
    right: 0;
}

.carousel .carousel-inner {
    background-color: black;
}

.carousel .h1-responsive {
    line-height: 42px;
    padding-bottom: 10px;
}

.carousel p {
    line-height: 24px;
}

.carousel-caption-top {
    position: absolute;
    top: 55px;
}

.carousel-caption-right {
    position: absolute;
    right: 50px;
    top: 185px;
    margin-left: 35%;
    text-align: left;
}

.carousel-caption-left {
    position: absolute;
    text-align: left;
    left: 50px;
    top: 250px;
}

/* iPad Media Query */

@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-caption-right {
        margin-left: 0%;
        top: 5%;
    }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    .carousel-caption-right {
        margin-left: 0%;
        top: 175px;
    }
}

@media only screen and (min-width: 1224px) {
    .carousel-caption-right {
        top: 30%;
        margin-left: 30%;
    }
}

@media (max-width:991px) {
    .carousel .background {
        background-size: cover;
        /* To make the background image looks good */
    }
}

@media (max-width:767px) {
    .carousel-caption-right {
        display: none;
    }
}

.carousel .background.a {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.carousel .background.b {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.carousel .background.c {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition: opacity 0.5s;
    /* The 0.5s describes the duration to make the opacity from 0 to 1 */
    height: auto;
    background-size: cover;
    background-position: center;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

/* CSS Hack to trigger GPU for smooth transition */

@media all and (transform-3d),
(-webkit-transform-3d) {
    .carousel-fade .carousel-inner>.item.next,
    .carousel-fade .carousel-inner>.item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner>.item.prev,
    .carousel-fade .carousel-inner>.item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner>.item.next.left,
    .carousel-fade .carousel-inner>.item.prev.right,
    .carousel-fade .carousel-inner>.item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/** added by myself*/

.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.glyphicon-circle-arrow-left,
.carousel-control .glyphicon-circle-arrow-left,
.carousel-control .glyphicon-circle-arrow-right {
    display: inline-block;
    position: absolute;
    top: 50%;
    z-index: 5;
}

.h1-responsive {
    font-family: Tele-Ult, sans-serif;
    font-size: 45px;
    font-weight: bold;
    color: #fff;
}

.carousel-caption>p {
    font-size: 17px;
}

/* CSS Hack to trigger GPU for smooth transition */

.covertext {
    position: absolute;
    /* To make the div to be place anywhere. It is out of the document flow */
    /* top: 150px; */
    top: calc(100% - 75%);
    /* The distance between the div with the top of document */
    left: 0px;
    /* Make the div full width */
    right: 0px;
    /* Make the div full width */
}

.div-login {
    position: absolute;
    top: 30%;
    left: 10%;
    /* width: 500px; */
    /* height: 300px; */
    /*margin-top: -150px; */
    /**margin-left: -200px;*/
    background: transparent;
}

.login-content {
    max-width: 250px;
    padding: 0px;
}

@media (min-width: 992px) {
    .div-login {
        left: calc(100% - 70%)
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .div-login {
        position: absolute;
        left: 35%;
        top: 25%;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) {
    .div-login {
        position: absolute;
        top: 30%;
        left: 15%;
    }
}

/* @media (min-width: 992px) {} */

.section-image {
    padding: 10% 0 0 30px;
    width: 50%;
}

.card.div-login {
    border: none !important;
}