#carousel-img1{
    background-image: url("../img/slide_2.jpg");
}


#carousel-img2{
    background-image: url("../img/slide_3.jpg");
}


#carousel-img3{
    background-image: url("../img/slide_4.jpg");
}


#carousel-img4{
    background-image: url("../img/slide_5.jpg");
}


/* offset by nav bar height */
.fp-carousel{
    /* top: 50px; */
}


.fp-carousel-caption h1{
    font: 400 Lato, sans-serif;
    font-size: 40px !important;
    color: #ff8a23;
    font-weight: bold;
}


.carousel-resp-img{
    width: 100%;
    height: 406px;
    background-size:     cover;
    background-repeat:   no-repeat;
    background-position: center center;

    -webkit-transition: all 150ms ease-out;
    -moz-transition: all 150ms ease-out;
    -ms-transition: all 150ms ease-out;
    -o-transition: all 150ms ease-out;
    transition: all 150ms east-out;
}


/* Carousel caption box as block with shadow */
.fp-carousel-block{
    background-color: rgba(8, 5, 0, 0.5);

    -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);

    text-shadow: 2px 2px 2px rgb(9, 51, 74);
    border-radius: 20px;
    color: #fff !important;
}


/* Place carousel caption on the right side of screen */
.fp-carousel-caption-right-offset{
    position: absolute;
    width: 30%;
    max-width: 350px;
    padding: 0 20px;
    right: 8%;
    top: 10%;
    bottom: 20%;
    text-align: center;

}


.fp-carousel-caption-right{
    /* background-color: rgba(0, 50, 30, 0.8); */
    background-color: rgba(90, 95, 87, 0.8);
    text-shadow: 2px 2px 2px rgb(9, 51, 74);
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5%;
    left: 70%;
    right: 0;
    width: 30%;
    bottom: 0px;
    height: 100%;
    top: 0;
    position: absolute;

    color: #fff !important;
}


.fp-carousel-caption-right h2{
    color: #fff !important;
}


.fp-carousel-caption-left{
    background-color: rgba(44, 30, 75, 0.3);
    text-align: center;
    padding: 0;
    padding-top: 5%;
    left: 0;
    width: 30%;
    bottom: 0px;
    height: 100%;
    top: 0;
    position: absolute;

    text-shadow: 2px 2px 2px rgb(9, 51, 74);

    color: #fff !important;
}


.fp-carousel-caption-left h2{
    color: #fff !important;
}


@media screen and (max-width: 768px) {
    .fp-carousel-caption h1{
        font-size: 25px !important;
    }
}


@media screen and (max-width: 480px) {
    .fp-carousel-caption h1{
        font-size: 20px !important;
    }

    .fp-carousel-caption p{
        font-size: 10px !important;
    }

    .fp-carousel-caption li{
        font-size: 10px !important;
    }

    .fp-carousel-caption h2{
        font-size: 15px !important;
    }
}


.carousel-control.right, .carousel-control.left {
    background-image: none;
    color: #0f0263;
    visibility: hidden;
    height: 10%;
    margin-top: auto;
    margin-bottom: auto;
    z-index: 10;
    color: #fb8e6c;
}


.fp-carousel-caption-bottom{
    background-color: rgba(44, 30, 75, 0.3);
    padding: 20;
    left: 0;
    width: 100%;
    bottom: 0px;
}


.glyphicon-chevron-right{
    z-index: 99999;
}


.fp-carousel-caption h2{
    font: 400 Lato, sans-serif;
    margin: 10px auto;
    font-size: 20px !important;
    text-transform: none !important;
    color: #fff;
    font-weight: normal;
}


.fp-carousel-caption h3{
    font: 400 Lato, sans-serif;
    margin: 10px auto;
    font-size: 15px !important;
    text-transform: none !important;
    color: #fff;
    font-weight: normal;
}


.fp-carousel-block{
    background-color: rgba(8, 5, 0, 0.5);

    -webkit-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 10px 0px rgba(0,0,0,0.75);

    text-shadow: 2px 2px 2px rgb(9, 51, 74);
    border-radius: 20px;
    color: #fff !important;
}


@media screen and (max-width: 768px) {
    .fp-carousel-caption h1{
        font-size: 25px !important;
    }
}


@media screen and (max-width: 480px) {
    .fp-carousel-caption h1{
        font-size: 20px !important;
    }

    .fp-carousel-caption p{
        font-size: 10px !important;
    }

    .fp-carousel-caption li{
        font-size: 10px !important;
    }

    .fp-carousel-caption h2{
        font-size: 15px !important;
    }
}



/* Slider grid image layout
 * 
 */
.tile{
    text-align: center;
    padding: 0;
}


.grid-container{
    font-size: 0;
}


.tile-image{
    background-size: cover;
}


.tile-hovereffect .tile-image{
    width: 100%;
    height: 100%;

    transition: transform 0.35s;
    -o-transition: transform 0.35s;
    -ms-transition: transform 0.35s;
    -webkit-transition: transform 0.35s;

    /* position: absolute; */
    /* overflow: hidden; */
    /* top: 0; */
    /* left: 0; */
    /* background-color: red; */
}


#tile-col-11{
    background-color: #fB8484;
    height:300px;
}


#tile-col-12{
    background-color: #a4ffa4;
    height:300px;
    padding: 0;
}


#tile-col-41{
    background-color: #ffa4f4;
    height:600px;
    padding: 0;
}


#tile-col-13{
    background-color: #a4b4a4;
    height:300px;
}


#tile-col-21{
    background-color: #ffffa4;
    height:300px;
}


#tile-col-22{
    background-color: #a4a4ff;
    height:300px;
}


#tile-col-21{
    background-color: #ffffa4;
    height:300px;
}


#tile-col-23{
    background-color: #ffa4ff;
    height:300px;
}



#field-testing-caption{
    z-index:9;
    transition: all 0.35s;
}


.tile-hovereffect:hover .tile-image {
    /* opacity: 0.4; */
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);

    filter: blur(2px) grayscale(100%);
    -o-filter: blur(2px) grayscale(100%);
    -ms-filter: blur(2px) grayscale(100%);
    -moz-filter: blur(2px) grayscale(100%);
    -webkit-filter: blur(2px) grayscale(100%);

    transform: scale(1.1,1.1);
    -o-transform: scale(1.1,1.1);
    -ms-transform: scale(1.1,1.1);
    -webkit-transform: scale(1.1,1.1);

    transition: all 0.35s;
    -o-transition: all 0.35s;
    -ms-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -webkit-transition: all 0.35s;
}


/* I.E. is terrible, and doesn't support blur and grayscale. Instead,
make the image transparent to show the background color of the tile.
*/
.tile-hovereffect:hover{
    opacity: 0.8\0;
}


.overlay h2{
    position: relative;
    background-color: rgba(0,0,0, 0.5);
    font-weight: normal;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    /* width: 80%; */
    /* left: 10%; */
}



.carousel-caption-bottom-center{
    text-align: center;
    position: absolute;
    /* background-color: rgba(44, 30, 75, 0.3); */
    background-color: rgba(0, 0, 0, 0.55);
    padding: 20;
    bottom: 0px;
    padding-bottom: 50px;
    margin: 0 auto;
    border-radius: 40px;

    /* width: 100%; */
    width: 40%;
    left: 30%;
}


.carousel-caption-bottom-center h1{
    /* color: #ff8a23; */
    font-size: 25px !important;
    text-shadow: 2px 2px 2px rgb(9, 51, 74);
}


.carousel-control-buttons{
    bottom: 5px;
    color: #f4511e;
    visibility: hidden;
}


#pauseButton{
  cursor: pointer;
}



/* ----------------------------------------------------------------- */


.tile-hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    /* background: rgba(0,0,255,0.5); */
}


.tile-hovereffect:hover{
    /* border: solid 1px #f4511e; */
}


.tile-hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    /* padding: 50px 20px; */
}


#field-testing-caption{
    z-index:9;
    transition: all 0.35s;
}


.tile-hovereffect .tile-image{
    width: 100%;
    height: 100%;

    transition: transform 0.35s;
    -o-transition: transform 0.35s;
    -ms-transition: transform 0.35s;
    -webkit-transition: transform 0.35s;

    /* position: absolute; */
    /* overflow: hidden; */
    /* top: 0; */
    /* left: 0; */
    /* background-color: red; */
}


.tile-hovereffect:hover .tile-image {
    /* opacity: 0.4; */
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);

    filter: blur(2px) grayscale(100%);
    -o-filter: blur(2px) grayscale(100%);
    -ms-filter: blur(2px) grayscale(100%);
    -moz-filter: blur(2px) grayscale(100%);
    -webkit-filter: blur(2px) grayscale(100%);

    transform: scale(1.1,1.1);
    -o-transform: scale(1.1,1.1);
    -ms-transform: scale(1.1,1.1);
    -webkit-transform: scale(1.1,1.1);

    transition: all 0.35s;
    -o-transition: all 0.35s;
    -ms-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -webkit-transition: all 0.35s;
}


/* I.E. is terrible, and doesn't support blur and grayscale. Instead,
make the image transparent to show the background color of the tile.
*/
.tile-hovereffect:hover{
    opacity: 0.8\0;
}


.tile-hovereffect h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    overflow: hidden;
    padding: 0.5em 0;
    background-color: transparent;
}


.tile-hovereffect p{
    background-color: rgba(0,0,0, 0.5);
}


.overlay h2{
    position: relative;
    background-color: rgba(0,0,0, 0.5);
    font-weight: normal;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    /* width: 80%; */
    /* left: 10%; */
}


/* .hovereffect a, .hovereffect p { */
.tile-hovereffect p {
    color: #FFF;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-filter: alpha(opacity=0);


    transition: opacity 0.35s, transform 0.35s;
    -o-transition: opacity 0.35s, transform 0.35s;
    -ms-transition: opacity 0.35s, transform 0.35s;
    -webkit-transition: opacity 0.35s, transform 0.35s;

    transform: translate3d(100%,0,0);
    -o-transform: translate3d(100%,0,0);
    -ms-transform: translate3d(100%,0,0);
    -webkit-transform: translate3d(100%,0,0);
}


.tile-hovereffect a{
    position: absolute;
    display: block;
    z-index: 1;
    width: 100%;
    height: 100%;
}


/* .hovereffect:hover a, .hovereffect:hover p { */
/* Bring the desciption to view */
.tile-hovereffect:hover p {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-filter: alpha(opacity=100);
    -ms-filter: alpha(opacity=100);
    -o-filter: alpha(opacity=100);

    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}


.tile-hovereffect:hover h2{
    background-color: rgba(150, 0,0, 0.5);
}



/* ----------------------------------------------------------------- */

/* Slider grid layout
 * 
 */

.tile{
    text-align: center;
    padding: 0;
}


.grid-container{
    font-size: 0;
}


.tile-image{
    background-size: cover;
}


.overlay h2{
    text-transform: none;
}


/* ----------------------------------------------------------------- */


.carousel-inner img {
    width: 100%; /* Set width to 100% */
    margin: auto;
    /* max-height: 600px !important; */
}


.carousel-inner > .item{
    /* position: relative; */
    /* display: none; */
    /* -webkit-transition: 0.25s ease-in-out left; */
    /* -moz-transition: 0.25s ease-in-out left; */
    /* -o-transition: 0.25s ease-in-out left; */
    /* transition: 0.25s ease-in-out left; */
    transition: 0.35s ease-in-out;
    -o-transition: 0.35s ease-in-out;
    -moz-transition: 0.35s ease-in-out;
    -webkit-transition: 0.35s ease-in-out;
}
