
/* Custom Style for Climave */

/* HEADER */

.header{
    padding-left: 40px;
    padding-bottom: 20px;
}

.header .row .col-lg-4{
    padding: 0px;
}

.header-imgs{
    margin-top: 30px;
}



/* NAV BAR *************************************************************************************/

.navbar-nav .nav-link {
    text-transform: uppercase;
    margin-right: 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:active{
    background-color: #eeeeee;
}

.navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: #f26248;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:active{
    color: #f26248;
    background-color: transparent;
}

.navbar-nav .dropdown-item.active{
    color: #f26248;
    font-weight: bold;
    background-color: transparent;
}

.navbar-nav .custom-dropdown {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    width: 220px;
    margin-top: -1px;
}

.navbar-toggler {
    margin-bottom: 10px;
}


/* GLOBAL *************************************************************************************/

.climave-website
{
    border-top: 4px solid #f26248;
    padding-top: 15px;
    width: 90%;
    margin: 20px auto 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 25px;
}

.btn-orange {
    color: #ffffff;
    background-color: #f26248;
    border-color: #f26248;
}

h1{
    color: #ec4a39;
}

.btn-orange:hover {
    color: #ffffff;
    background-color: #d9534f;
    border-color: #d9534f;
}

.container-body{
    margin:0 20px;
    padding: 40px 20px;
    border-top: 2px solid #eeeeee;
}

.container-banner-page{
    margin: -9px;
    width: 100%;
    height: 240px;
    color: #FFF!important;
    background-repeat: no-repeat; 
    background-size: cover; 
    position: relative;;
}

.container-banner-page h1{
    color: #ec4a39;
}
.container-banner-page h2, .container-banner-page h3{
    color: #fff;
}

.container-banner-page .text-container{
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    padding: 60px 40px;
}

.container-banner-page .overlay {
    width: 90%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,0,0,0));
}




/* HOME BANNER - CAROUSEL *************************************************************************************/

.home-banner{
    margin-top: -8px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
}

.home-categories{
    padding: 20px;
}

.home-categories h5{
    margin:12px;
    height: 40px;
}

.carousel{
    border-bottom: 4px solid #f26248;
}

.carousel .carousel-inner .carousel-caption{
    top: 40%;
    text-align: left;
}

/* This adds a black gradient over the image banner to enhance the visibility of the text */

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(242, 98, 72, 0));

    z-index: 1;
}

.carousel-caption {
    z-index: 100;
}


/* FOOTER *************************************************************************************/

.climave-website-footer{
    width: 90%;
    padding: 10px;
    margin: 0px auto 20px auto;
    border-top: 4px solid #f26248;
    background-color: #eee;
    text-align: left;
    font-size: 12px;
    color:#999;
}

.climave-website-footer a{
    color:#999;
}

.climave-website-footer a:hover{
    color:#f26248;
}

.climave-website-footer .bold-link{
    font-weight: bold;
}
.climave-website-footer a {
    text-decoration: none;
}

/* MANAGING SCREEN SIZES *************************************************************************************/

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

    .header{
        padding: 10px;
        text-align: center;
    }

    .header-imgs{
        margin-top: 10px;
    }

    .carousel .carousel-inner .carousel-caption {
        top: -10px;
        text-align: left;
        font-size: 12px;
    }

    .carousel .carousel-inner .carousel-caption h5{
        font-size: 12px;
    }

    .carousel .carousel-inner .carousel-caption .btn.btn-orange.btn-block.rounded-0 {
        font-size: 11px;
        padding: 2px; 
    }

    .home-categories h5{
        font-size: 12px;
    }

}

@media only screen and (min-width: 501px) and (max-width: 767px)
{

    .header{
        padding: 10px;
        text-align: center;
    }

    .header-imgs{
        margin-top: 10px;
    }

    .carousel .carousel-inner .carousel-caption {
        top: 20%;
        text-align: left;
        font-size: 12px;
    }

    .carousel .carousel-inner .carousel-caption h5{
        font-size: 14px;
    }

    .carousel .carousel-inner .carousel-caption .btn.btn-orange.btn-block.rounded-0 {
        font-size: 11px;
        padding: 2px; 
    }

    .home-categories h5{
        font-size: 14px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1480px)
{
    .carousel .carousel-inner .carousel-caption {
        top: 20%;
        text-align: left;
        font-size: 16px;
    }

    .carousel .carousel-inner .carousel-caption h5{
        font-size: 20px;
    }

    .carousel .carousel-inner .carousel-caption .btn.btn-orange.btn-block.rounded-0 {
        font-size: 14px;
        padding: 6px; 
    }

    .home-categories h5{
        font-size: 16px;
    }

}

@media only screen and (min-width: 1481px)
{
    .carousel .carousel-inner .carousel-caption {
        top: 40%;
        text-align: left;
        font-size: 20px;
    }

    .carousel .carousel-inner .carousel-caption h5{
        font-size: 28px;
    }

    .carousel .carousel-inner .carousel-caption .btn.btn-orange.btn-block.rounded-0 {
        font-size: 18px;
        padding: 10px 20px 10px 20px; 
    }

    .home-categories h5{
        font-size: 20px;
    }

}

/*TIMELINE ******/

.linetime {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 35px 0px 0px 0px;
}

.linetime:before {
    content: "";
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    /*background-color: #f26248;*/
    border: 1px dashed #f26248;
    position: absolute;
    margin-left: 1px;
}

/* khung n?i dung (li)*/
.linetime li {
    position: relative;
    margin-bottom: 2rem;
    min-height: 80px;
}

.lineime li:before,
.linetime li:after {
    display: table;
    content: "";
}

.linetime li:after {
    clear: both;
}

.linetime-panel {
    position: relative;
    padding-left: 100px;
}

.linetime-img {
    position: absolute;
    border: 6px solid #f26248;
    overflow: hidden;
    background: #f26248;
    color: #fff;
    width: 80px;
    height: 80px;
}

.linetime-img h4 {
    font-size: .8rem;
    margin-top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {

    /* khunng chính (ul)*/
    .linetime:before {
        left: 50%;
    }

    /* khung n?i dung (li)*/
    .linetime li {
        position: relative;
        margin-bottom: 2rem;
        min-height: 50px;
    }

    .linetime-panel {
        width: 40%;
        padding: 0;
        float: left;
        text-align: right;
    }

    .linetime-img {
        left: 50%;
        transform: translateX(-48%);
    }

    .linetime-img h4 {
        font-size: 1rem;
    }

    .inverted {
        float: right;
        text-align: left;
    }
}
@media (min-width: 992px) {
    /* khung n?i dung (li)*/
    .linetime li {
        position: relative;
        margin-bottom: 4rem;
        min-height: 50px;
    }
    .linetime-img h4 {
        font-size: calc(1.275rem + 0.3vw);
    }
    .linetime-panel {
        padding: 0 1.25rem;
    }
}

/*COOKIES ***/
.cookiealert {
    position: fixed;
    bottom: 0;
    z-index: 999;
    width: 100%;
    border-radius: 0px;
    margin-bottom: 0px;
}
.cookie-container {
    padding: 10px 10px 0px 10px;
    text-align: right;
}
.cookie-title {
    font-weight: bold;
}
.cookie-buttons {
    padding: 10px;
    text-align: right;
}
