﻿body .hero-container {
    margin: 0 auto;
    position: relative
}

    body .hero-container.main {
        background: rgba(0,0,0,0.9);
        overflow: hidden;
        max-height: calc(100vh - 100px)
    }

@media (max-width: 1000px) {
    body .hero-container.main {
        max-height: calc(100vh - 45px)
    }
}

@media (max-width: 600px) {
    body .hero-container.main {
        max-height: calc(100vh - 5px)
    }
}

@media (min-width: 1410px) {
    body .hero-container.main {
        height: calc(100vh - 100px)
    }
}


body .hero-container:after {
    content: "";
    display: table;
    clear: both
}

.hero-container.main.slider {
    height: 550px;
    max-height: 550px;
    background: #fff;
    max-width: 2000px;
    margin: 0 auto;
    margin-bottom: 5px
}

.hero-container .slider-component nav {
    top: 55%;
    width: 250px;
    right: 50px;
}


@media (max-width: 700px) {
    .hero-container .slider-component nav {
        display: none
    }
}

@media (min-width: 1001px) and (max-width: 1287px) {
    .hero-container.main.slider {
        max-height: 550px
    }
}

.hero-container.main.slider .slider-component {
    max-height: inherit;
}

.slider-caption {
    display: block;
    width: 45%;
    right: 0;
    background: rgba(0,0,0,0.5);
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    position: absolute;
    bottom: 0px;
    background: rgba(0,0,0,0.5);
    padding: 0px 20px 0px;
    color: white;
    font-family: Raleway,sans-serif
}

@media (max-width: 1000px) {
    .slider-caption {
        padding: 5px 20px;
        width: 100%
    }
}

@media (max-width: 700px) {
    .slider-caption {
        padding-top: 8%;
        line-height: 28px;
        height: 100%;
        width: 100%
    }
}


.slider-caption-text p {
    /*width: 55%;*/
    /*display: inline-block;*/
    margin: 0;
}

@media (max-width: 900px) {
    .slider-caption-text p {
        display: block;
        width: 100%
    }
}



.slider-caption .slider-caption-text {
    width: 100%;
    padding: 50px 0px 20px 0px
}

@media (max-width: 1000px) {
    .slider-caption .slider-caption-text {
        padding: 15px 20px
    }
}

@media (max-width: 700px) {
    .slider-caption .slider-caption-text {
        padding: 0px
    }
}

.slider-caption .slider-caption-text .caption-title-new {
    margin-bottom: 10px;
}

    .slider-caption .slider-caption-text .caption-title-new p {
        font-family: "Oswald";
        color: #fff;
        font-size: 50px;
        line-height: 60px;
        text-transform: uppercase;
        font-weight: 900;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8)
    }

@media (min-width: 701px) and (max-width: 1000px) {
    .slider-caption .slider-caption-text .caption-title-new p {
        font-size: 46px
    }
}


.slider-caption .slider-caption-text .caption-subtitle-new p {
    margin-bottom: 0px;
    font-size: 20px;
    line-height: 30px
}


/* NEW ONE */

.flickity-page-dots {
    bottom: 39% !important;
    right: 0px !important;
    width: inherit !important;
    padding-right: 20px !important;
}

@media (max-width: 700px) {
    .flickity-page-dots {
        display: none;
    }
}

@media (max-width: 1000px) {
    .flickity-page-dots {
        bottom: 34% !important;
    }
}
/* white circles */
.flickity-page-dots .dot {
    width: 22px !important;
    height: 22px !important;
    opacity: 1;
    background: red !important;
    border: none !important;
    opacity: 1 !important;
    margin: 0 4px;
}
    /* fill-in selected dot */
    .flickity-page-dots .dot.is-selected {
        background: #fff !important;
    }


body.home {
    background-color: #fff;
}

hr.home-hr {
    border-bottom: 2px solid #eee;
    border-top: none;
    margin-right: 3%;
    margin-left: 3%;
    margin-top: 4%;
    /*@media (min-width: 1200px) and (max-width: 1284px){
		margin-top: -2%;
		 margin-bottom: 3%;
	}
	*/
}

@media (max-width: 600px) {
    hr.home-hr {
        margin-top: 6%;
        margin-bottom: 1%;
    }
}

.hero-container.main.slider {
    height: 550px;
    max-height: 550px;
    background: #fff;
    max-width: 2000px;
    margin: 0 auto;
    margin-bottom: 5px;
}

@media (min-width: 1001px) and (max-width: 1287px) {
    .hero-container.main.slider {
        max-height: 550px;
    }
}

.carousel-main {
    height: 550px;
}

@media (min-width: 1001px) and (max-width: 1287px) {
    .carousel-main {
        max-height: 550px;
    }
}

.carousel-cell {
    width: 100%;
    max-width: 2000px;
    height: 550px;
    background: #fff;
    background-position: center center !important;
    counter-increment: gallery-cell;
    cursor: pointer;
}

@media (max-width: 600px) {
    .carousel-cell {
        width: 100%;
        background-position: 23% center !important;
    }
}

@media (min-width: 1001px) and (max-width: 1287px) {
    .carousel-cell {
        max-height: 550px;
    }
}

.carousel-cell .slider-caption {
    display: none;
}

.carousel-cell.is-selected .slider-caption {
    display: block;
    width: 45%;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    /* Standard syntax */
    position: absolute;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.50);
    padding: 0px 20px 0px;
    color: white;
    font-family: Raleway, sans-serif;
}

@media (max-width: 1000px) {
    .carousel-cell.is-selected .slider-caption {
        padding: 5px 20px;
        width: 100%;
    }
}

@media (max-width: 700px) {
    .carousel-cell.is-selected .slider-caption {
        padding-top: 8%;
        line-height: 28px;
        height: 100%;
        width: 100%;
    }
}

.slider-caption-text {
    width: 55%;
    display: inline-block;
}

@media (max-width: 900px) {
    .slider-caption-text {
        display: block;
        width: 100%;
    }
}

.carousel-cell.is-selected .slider-caption .slider-caption-text {
    width: 100%;
    padding: 50px 0px 20px 0px;
}

@media (max-width: 1000px) {
    .carousel-cell.is-selected .slider-caption .slider-caption-text {
        padding: 15px 20px;
    }
}

@media (max-width: 700px) {
    .carousel-cell.is-selected .slider-caption .slider-caption-text {
        padding: 0px;
    }
}

.carousel-cell.is-selected .slider-caption .slider-caption-text .caption-title-new {
    font-family: "Oswald";
    color: #fff;
    font-size: 50px;
    line-height: 60px;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@media (min-width: 701px) and (max-width: 1000px) {
    .carousel-cell.is-selected .slider-caption .slider-caption-text .caption-title-new {
        font-size: 46px;
    }
}

.carousel-cell.is-selected .slider-caption .slider-caption-text .caption-title-new span {
    color: red;
}

.carousel-cell.is-selected .slider-caption .slider-caption-text .caption-subtitle-new {
    margin-bottom: 0px;
    font-size: 22px;
    line-height: 30px;

}

.caption-subtitle-new .btn {
    float:left;
    margin-top:5px;
}

.slider-caption a
{
    text-decoration:none !important;
}

.caption-subtitle-new a p {
    color: white !important;
}

.caption-subtitle-new .nav-item-button {

    margin:10px 0px 0px 0px;
}