/*********************************************************
CAROUSEL(HOME SLIDER)
*********************************************************/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');

.scrollDown.heightReached:before, ol.carousel-indicators, .masterCaption {
    display: none;
}

a.scrollDown:before, .carousel-caption a::after {
    content: "\f10c";
    font-family: fontawesome;
    font-size: inherit;
    font-weight: normal;
    font-style: normal;
    color: inherit;
    display: inline-block;
    margin-left: 0;
}

#carousel {
    position: relative;
}
.fullHeight{
	min-height:24em;
}
.bgGradBottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 13%;
    background: -moz-linear-gradient(top, rgba(36,45,50,0) 0%, rgba(36,45,50,1) 150%);
    background: -webkit-linear-gradient(top, rgba(36,45,50,0) 0%, rgba(36,45,50,1) 150%);
    background: linear-gradient(to bottom, rgba(36,45,50,0) 0%, rgba(36,45,50,1) 150%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00242d32', endColorstr='#242d32', GradientType=0 );
}

.item {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

.carousel-caption {
    position: absolute;
    width: 100%;
    padding: 0;   
    bottom: 0;
    left: 0;
    text-align: right;
    z-index: 1;
    border: 0; /* background: -moz-linear-gradient(top,  rgba(36,45,50,0) 0%,rgba(36,45,50,0.6) 30%);
    background: -webkit-linear-gradient(top,  rgba(36,45,50,0) 0%,rgba(36,45,50,0.6) 30%);
    background: linear-gradient(to bottom, rgba(36,45,50,0) 0%,rgba(36,45,50,0.6) 30%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00242d32', endColorstr='#242d32',GradientType=0 );*/
}

    .carousel-caption .container {
        padding: 0; /* background-color: rgba(113,99,114,0.9);*/
    }

.carousel-inner-container {
    float: right;
    padding: 2em 10em;
    background: rgba(214,151,26,0.8);
}

.carousel-inner-read-more { /*float: right;*/
}

.carousel-caption h2 {
    font: normal 700 5.5em 'Libre Baskerville', serif;
    color: rgb(255,255,255);
    margin-bottom: 0;
    text-transform: uppercase;   
}

.carousel-caption h3 {
    font: normal 4.5em/1 'Open Sans', sans-serif;
    color: rgb(255,255,255);
    margin-bottom: 0;
    text-shadow: 0px 1px 15px rgba(0, 0, 0, 0.45);
    margin-top: 0;
    text-transform: capitalize;
}
.carousel-caption p {
    color: rgb(255,255,255);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.carousel-caption p span{
    font: normal 700 0.79em 'Source Sans Pro', sans-serif;    
}
.carousel-caption p {
    font: normal 400 2.5em 'Source Sans Pro', sans-serif;
}


.carousel-caption a {
    font: normal 700 1.2em 'Open Sans', sans-serif;
    color: rgb(255,255,255);
    display: inline-block;
    padding: 1.5em 2.5em;
    text-transform: uppercase;
    text-shadow: none;
    background: #208bcf; /* margin: 1.3em 2em 1em 0;*/
    margin: 1.3em 0;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
}

    .carousel-caption a:visited {
        color: rgb(255,255,255);
    }

    .carousel-caption a:hover {
        color: rgb(255,255,255);
        background: #17699c;
    }

    .carousel-caption a::after {
        content: '\f138';
        padding-left: 1em;
    }

.carousel-indicators {
    margin-bottom: 0;
    bottom: 8.5em;
}

    .carousel-indicators li {
        width: 15px;
        height: 15px;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;
        border: 1px solid rgb(255,255,255);
    }

    .carousel-indicators .active {
        width: 16px;
        height: 16px;
        border-color: rgb(0,128,128);
        background: rgb(0,128,128);
    }

.carousel-inner {
    overflow: visible;
}

.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev { /*margin-top: 100px;*/
}

.carousel-control {
    color: rgb(255,255,255);
    color: rgba(255,255,255,0.9);
}

    .carousel-control:visited {
        color: rgb(255,255,255);
        color: rgba(255,255,255,0.9);
    }

    .carousel-control:hover {
        color: rgb(245, 136, 62);
        color: rgba(159, 166, 23,0.9);
    }

    .carousel-control:focus {
        color: rgb(245, 136, 62);
        color: rgba(159, 166, 23,0.9);
    }

a.scrollDown {
    position: absolute;
    left: 48.7%;
    max-width: 5em;
    width: 3em; /*background-color: rgba(255,255,255,0.8);*/
    margin: 0 auto;
    text-align: center;
    -webkit-transition: color 250ms ease 0s;
    -moz-transition: color 250ms ease 0s;
    -o-transition: color 250ms ease 0s;
    transition: color 250ms ease 0s;
    z-index: 2;
    display: inline-block;
    border-radius: 50%;
    height: 3em;
    padding: 0.45em 0.75em;
    border: 1.5px solid #fff;
}

    a.scrollDown span {
        display: none;
    }

.scrollDown.heightReached {
    font-size: 0.8em;
}

a.scrollDown:before {
    content: "\f078";
    font-size: 1.3em;
    color: #fff;
    display: block;
    margin: 0;
}

a.scrollDown:visited {
    color: rgb(255,255,255);
}

a.scrollDown:hover:before, a.scrollDown:hover {
    color: #048abf;
}
/*********************************************************
FADE EFFECT
*********************************************************/
.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

    .carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right {
        left: 0;
        opacity: 0;
        z-index: 1;
    }

.carousel-fade .carousel-inner .next.left, .carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}

@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); /*background-position-y: 10em;*/
        }
}


/*********************************************************
MEDIA QUERY
*********************************************************/
@media only screen and (max-width:1680px) {
    .carousel-caption h2 {
        font-size: 4em;        
    }

    .carousel-caption p {
        font-size: 2em;  
    }
}
@media only screen and (max-width:1370px) {
    .carousel-caption h2 {
        font-size: 3em;
        letter-spacing: -2px;
    }

    .carousel-caption p {
        font-size: 1.5em;
        /* padding: 0 9.8em;*/
    }

    .carousel-caption a {
        font-size: 1em;
    }

    .carousel-caption {
        /* bottom: -2.5em;*/
    }
}

@media only screen and (max-width:1023px) {
    .carousel-caption {
        padding-bottom: 0;
        bottom: 0;
    }

        .carousel-caption .container {
            /*padding: 2em 1em;*/
        }

        .carousel-caption h2 {
            font-size: 2.2em;
            letter-spacing: 2px;
        }

        .carousel-caption p {
            font-size: 1em;            
        }

        .carousel-caption a {
            font-size: 0.8em;
            margin: 1em 0;
        }

    .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev {
        margin-top: 0px;
    }
}
@media only screen and (max-width: 960px) {
    .carousel-caption h2 {
        font-size: 1.8em;
        letter-spacing: 2px;
    }

    .carousel-caption p {
        font-size: 0.8em;        
    }

    .carousel-caption a {
        font-size: 0.7em;
    }
}
@media only screen and (max-width: 830px) {
    .carousel-caption h2 {
        font-size: 1.8em;
        letter-spacing: 2px;
    }

    .carousel-caption p {
        font-size: 0.8em;
        
    }

    .carousel-caption a {
        font-size: 0.7em;
    }

   

   
}

@media only screen and (max-width:768px) {
    .carousel-inner-container {        
        padding: 2em 8em;       
    }
    .carousel-caption h2 {
        font-size: 1.8em;
        letter-spacing: 2px;
    }

    .carousel-caption p {
        font-size: 0.9em;
        padding:0;
    }

    .carousel-caption a {
        font-size: 0.9em;
    }
}
@media only screen and (max-width:736px) {
    .carousel-inner-container {
        padding: 1em 6em;
        text-align: right;
        width: 100%;
    }
    .carousel-caption h2 {
        font-size: 2.5em;
        letter-spacing: 2px;
    }
    .carousel-caption p {
        font-size: 1em;        
    }
    
}
@media only screen and (max-width:732px) {
    .carousel-caption h2 {
        font-size: 1.6em;
        letter-spacing: 2px;
    }

    .carousel-caption p {
        font-size: 0.75em;
        /* padding: 0 9.8em;*/
    }   
}

@media only screen and (max-width:568px) {
	.fullHeight{
	min-height:20em;
}
    .carousel-caption h2 {
        font-size: 1.3em;
        letter-spacing: 2px;
    }

    .carousel-caption a {
        font-size: 0.6em;
    }
}
@media only screen and (max-width:580px) {

    .carousel-inner-container {
        padding: 1em;
        text-align: right;
        width: 100%;
    }

    .carousel-caption h2 {
        font-size: 2em;
        letter-spacing: 2px;
    }

    .carousel-inner-container p {
        padding: 0;
    }
}
@media only screen and (max-width:520px) {
    .carousel-inner-container {
        /* padding: 2em 1em; */
        text-align: right;
    }

    .carousel-caption h2 {
        font-size: 1.5em;
        letter-spacing: 2px;
    }

    .carousel-inner-container p {
        padding: 0;
        font-size:0.9em;
    }
    .carousel-caption p span {
        font-size: 0.9em;
    }
}
@media only screen and (max-width:384px) {
    .carousel-inner-container {
        padding: 1em 1em;
        text-align: right;
    }

    .carousel-caption h2 {
        font-size: 1.5em;
        letter-spacing: 2px;
    }

    .carousel-inner-container p {
        padding: 0;
    }
}
@media only screen and (max-width:320px) {
    .carousel-inner-container {
        padding: 1em 1em;
        text-align: right;
    }  
    .carousel-caption h2 {
        font-size: 1.5em;
        letter-spacing: 2px;
    }     
    .carousel-inner-container p {
        padding:0;
    }
}

@media only screen and (max-height:414px) {
    .carousel-caption {
        padding-bottom: 0;
    }

    .carousel-inner-read-more {
        display: none;
    }
}

@media only screen and (max-width:480px) and (max-height:320px) {
    .carousel-caption a {
        display: none;
    }
}
