/*********************************************************
CAROUSEL(HOME SLIDER)
*********************************************************/
a.scrollDown > span,
ol.carousel-indicators,
.masterCaption{
	display:none;
}

/*.carousel-caption a:after*/
a.scrollDown:before{
	content: "\f10c";
	font-family: fontawesome;
	font-size: inherit;
	font-weight: normal;
	font-style: normal;
	color: inherit;
	display: inline-block;
	margin-left: 0.5em;
}


.slideLogo {
    width: 145px;
    height: 143px;
    margin-bottom: 0.5em;
    text-indent: -9999em;
    background: url(../images/City-of-Flin-Flon.png) center center no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}


#carousel{
	position:relative;
	z-index:1;
}


/*.carousel-inner{
	max-height:750px;
	min-height:750px;
}
.carousel-inner.landscapeMode {
	max-height:550px;
	min-height:550px;
}*/

.item{
	position: relative;
	width: 100%;
	height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width:789px;
    padding: 0;
    text-shadow: none;
    background: url(../images/bgSlide.png) right bottom no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}
/*.carousel-caption.portraitMode {
    top: 51%;
}*/

.innerCarouselCap {
    position: absolute;
    top: 56%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: left;
    padding: 0 15em 0 4em;
}

.carousel-caption h2{
	font: 300 3.438em/1 'Open Sans', Arial, sans-serif;
	color: rgb(255,255,255);
	margin-bottom: 0;
/*	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;*/
}
.carousel-caption h3{
	font: 700 5.5em/1 'Open Sans', Arial, sans-serif;
	color: rgb(255,255,255);
    text-transform: uppercase;
	margin-bottom: 0.1em;
}
.carousel-caption p{
	font: 400 1.1em 'Open Sans', Arial, sans-serif;
	color: rgb(255,255,255);
	margin:0;
/*	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;*/
}

.carousel-caption a,
.carousel-caption a:link {
	font: 700 1em 'Open Sans', Arial, sans-serif;
	color:rgb(0,109,104);
	display:inline-block;
	padding:1em 1.5em;
	margin-top:1.5em;
	text-transform:uppercase;
	text-shadow:none;
	-webkit-transition:background 300ms ease 0s;
	-moz-transition:background 300ms ease 0s;
	-o-transition:background 300ms ease 0s;
	transition:background 300ms ease 0s;
	background: rgb(255,255,255);
}

.carousel-caption a:visited{
	color:rgb(0,109,104);
}
.carousel-caption a:hover{
	color: rgb(255,255,255);
	background: rgb(0,85,134);
}
.carousel-caption a:active{
	color: rgb(255,255,255);
	background: rgb(0,85,134);
}
.carousel-caption a:focus{
	color: rgb(255,255,255);
	background: rgb(0,85,134);
}




.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev {
    font-size: 16px;
}
.carousel-caption a.left,
.carousel-caption a.right {
    width: inherit;
    padding: 0;
    opacity: 1;
    background: none;
}
.carousel-caption a.left {
    left: 1.7em;
}
.carousel-caption a.right {
    right: 12em;
}

.carousel-caption a i {
    display: inline-block;
    margin-right: 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(194,201,96);
	background:rgb(194,201,96);
}

/*.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev{
	margin-top:52px;
}*/
.carousel-control{
	color:rgb(255,255,255)!important;
	color:rgba(255,255,255,0.9)!important;
}
.carousel-control:visited{
	color:rgb(255,255,255)!important;
	color:rgb(0,109,104)!important;
}
.carousel-control:hover{
	color:rgb(252,176,64)!important;
    color:rgb(0,109,104)!important;
}
.carousel-control:active{
	color:rgb(252,176,64)!important;
    	color:rgb(0,109,104)!important;
}
.carousel-control:focus{
	color:rgb(252,176,64)!important;
    	color:rgb(0,109,104)!important;
}

.carousel-control.left,
.carousel-control.right {
    background: none;
}


a.scrollDown {
    position: absolute;
    bottom: 3em;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    font: normal 2em OpenSansRegular, Arial, sans-serif;
    color: rgb(227,83,13);
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    /*padding: 0.1em 0.45em;*/
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -webkit-transition: all 300ms ease 0s;
    -moz-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
    z-index: 3;
    background: rgb(255,255,255);
    background: rgba(255,255,255,0.75);
}
a.scrollDown:visited {
    color: rgb(227,83,13);
}
a.scrollDown:hover {
    color:rgb(255,255,255);
    background: rgb(227,83,13);
}
a.scrollDown:active {
    color:rgb(255,255,255);
    background: rgb(227,83,13);
}

a.scrollDown:before {
    content: "\f107";
    margin-left: 0;
    margin-top: 0.3em;
}


.bgSlider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: url(../images/bgSlider.png) left bottom repeat-x;
}

.bgGradient {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 54%, rgba(29,46,69,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 54%,rgba(29,46,69,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 54%,rgba(29,46,69,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a61d2e45',GradientType=0 );
}

/*********************************************************
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);
	}
}


/*********************************************************
MEDIA QUERY
*********************************************************/
@media only screen and (max-width:1650px) {
    .slideLogo {
        width: 110px;
        height: 108px;
    }
    .innerCarouselCap {
        padding-right: 12.5em;
    }
    .carousel-caption {
        width: 640px;
    }
    .carousel-caption h2 {
        font-size: 2.5em;
    }
    .carousel-caption h3 {
        font-size: 3em;
        margin-bottom: 0.3em;
    }
    .carousel-caption p {
        font-size: 0.95em;
    }
    .carousel-caption a,
    .carousel-caption a:link {
        font-size: 0.8em;
    }
    .carousel-caption a.right {
        right: 13em;
    }
}

@media only screen and (max-width:1300px) {
    .carousel-caption {
        width: 590px;
    }
    .innerCarouselCap {
        top: 53%;
    }
}

@media only screen and (max-width:1040px) {
    .innerCarouselCap {
        top: 50%;
    }
	
		.carousel-caption h2 {
    font-size: 0.9rem;
}
	.carousel-caption h3 {
    font-size: 1.1em;
}
}

@media only screen and (max-width:1023px) {
    .bgSlider,
    .bgGradient,
    a.scrollDown {
        display: none;
    }

    .carousel-inner {
        max-height: none;
        min-height: 0;
    }

    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-next,
    .carousel-control .icon-prev {
        margin-top: 0;
    }

    .carousel-caption {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin: 0;
        padding: 2em;
        text-shadow: none;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        background: rgb(0,84,80) none;
    }
    .innerCarouselCap {
        position: relative;
        top: auto;
        left: auto;
        -webkit-transform: none;
        -moz-transform: none;
        -o-transform: none;
        -ms-transform: none;
        transform: none;
        text-align: center;
        padding: 0;
    }
    .slideLogo {
        margin: 0 auto 1em;
    }

    .slideLogo {
        width: 100px;
        height: 99px;
    }
    .carousel-caption h2 {
        font-size: 1.7em;
    }
    .carousel-caption h3 {
        font-size: 2em;
    }
    .carousel-caption a, 
    .carousel-caption a:link {
        font-size: 0.7em;
    }
    .carousel-caption a.left {
        left: 0;
    }
    .carousel-caption a.right {
        right: 0;
    }
    .innerCarouselCap {
        padding-left: 3em;
        padding-right: 3em;
    }
}

@media only screen and (max-width:700px) {
    .innerCarouselCap {
        padding-left: 2em;
        padding-right: 2em;
    }
    .carousel-caption h2 {
        font-size: 1.1em;
    }
    .carousel-caption h3 {
        font-size: 1.4em;
    }
}