/* ====================================================== 
   Gallery                               
/* ====================================================== */
.custom-theme-flexslider,
.custom-theme-flex-viewport {
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;	
}

.page .custom-theme-flexslider,
.page .custom-theme-flex-viewport,
.page .custom-theme-flexslider img,
.page .custom-theme-flex-viewport img, 
.page .custom-theme-flexslider div,
.page .custom-theme-flex-viewport div
 {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}


.custom-theme-flexslider {
    margin: 0;
    padding: 0;
    position: relative;
    zoom: 1;
	width: 100%;
	overflow: hidden;
	z-index: 0;
}

.custom-theme-flex-viewport {
	max-height: 200vh;
}

.custom-theme-flexslider .custom-theme-slides > .item {
    display: none;
    -webkit-backface-visibility: hidden;
}

.custom-theme-flexslider .custom-theme-slides img {
    max-width: 100%;
    display: block;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

html[xmlns] .custom-theme-flexslider .custom-theme-slides {
    display: block;
}

* html .custom-theme-flexslider .custom-theme-slides {
    height: 1%;
}

.no-js .custom-theme-flexslider .custom-theme-slides > .item:first-child {
    display: block;
}

.custom-theme-flexslider .custom-theme-slides {
    zoom: 1;
}

.custom-theme-flexslider .custom-theme-slides img {
    height: auto;
	width: 100%;
}

.custom-theme-flex-direction-nav .custom-theme-flex-prev {
    left: -100px;
}

.custom-theme-flex-direction-nav .custom-theme-flex-next {
    right: -100px;
    text-align: right;
}

.custom-theme-flex-direction-nav a:before {
    display: none;
}

.custom-theme-flex-direction-nav,
.custom-theme-flex-direction-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-theme-flex-direction-nav li a {
    display: block;
    z-index: 9;
    position: absolute;
    top: 50%;
    height: 40px;
    margin-top: -20px;
    line-height: 40px;
    width: 50px;
    text-align: center;
    opacity: 0.8;
    color: #fff;
    font-size: 21px;
    filter: alpha(opacity=66);
    -moz-opacity: 0.66;
    opacity: 0.66;
}

.custom-theme-flex-direction-nav li a:hover {
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
    color: #fff;
    text-decoration: none;
}

.custom-theme-flexslider:hover a.custom-theme-flex-prev {
    left: 0;
}

.custom-theme-flexslider:hover a.custom-theme-flex-next {
    right: 20px;
}

.custom-theme-flex-control-nav,
.custom-theme-flex-control-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-theme-flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
}

.custom-theme-flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.custom-theme-flex-control-paging,
.custom-theme-flex-control-paging li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-theme-flex-control-paging li {
    margin-right: 10px;
}

.custom-theme-flex-control-paging li a {
    width: 6px;
    height: 6px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.custom-theme-flex-control-paging li a:hover {
    background: #090909;
    background: rgba(0, 0, 0, 0.4);
}

.custom-theme-flex-control-paging li a.custom-theme-flex-active {
    background: #000;
    background: rgba(0, 0, 0, 0.4);
    cursor: default;
}

.custom-theme-flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

.custom-theme-flex-control-thumbs li {
    width: 25%;
    float: left;
    margin: 0;
}

.custom-theme-flex-control-thumbs img {
    width: 100%;
    height: auto;
    display: block;
    opacity: .7;
    cursor: pointer;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.custom-theme-flex-control-thumbs img:hover {
    opacity: 1;
}

.custom-theme-flex-control-thumbs .custom-theme-flex-active {
    opacity: 1;
    cursor: default;
}


/* Custom Controls */
.custom-navigation {
	display: table;
	width: 100%;
	table-layout: fixed;
	margin-top: 1.75rem;
}

.custom-navigation > * {
    display: table-cell;
}

.custom-navigation > a {
    width: 50px;
}

.custom-navigation .next {
    text-align: right;
}


.custom-controls-container .custom-theme-flex-control-nav,
.custom-controls-container .custom-theme-flex-control-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-controls-container .custom-theme-flex-control-nav {
    width: 100%;
    text-align: center;
	position: relative;
	bottom: -6px;
}

.custom-controls-container .custom-theme-flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.custom-controls-container .custom-theme-flex-control-paging,
.custom-controls-container .custom-theme-flex-control-paging li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-controls-container .custom-theme-flex-control-paging li {
    margin-right: 10px;
}

.custom-controls-container .custom-theme-flex-control-paging li a {
    width: 10px;
    height: 10px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.custom-controls-container .custom-theme-flex-control-paging li a:hover {
    background: rgba(0, 0, 0, 0.4);
}

.custom-controls-container .custom-theme-flex-control-paging li a.custom-theme-flex-active {
    background: #cc171e;
    cursor: default;
}

/* ====================================================== 
   Slideshow                                
/* ====================================================== */
.custom-theme-flexslider.custom-primary-flexslider1 {
	max-height: 100vh;
	overflow: hidden;
	z-index: 2;
	position: relative;
	opacity: 0;
	-moz-transition: 2s ease-in-out; 
	-o-transition: 2s ease-in-out;
	-webkit-transition: 2s ease-in-out; 
	transition: 2s ease-in-out;	
	
}

.page .custom-theme-flexslider.custom-primary-flexslider1,
.page .custom-theme-flex-active-slide {
	-moz-transition: none !important; 
	-o-transition: none !important; 
	-webkit-transition: none !important; 
	transition: none !important; 
}



.page .custom-theme-flexslider.custom-primary-flexslider1 {
	min-height: inherit;
	max-height: 100vh;
	width: 100vw;
}

.custom-theme-flexslider.custom-primary-flexslider1.active {
	opacity: 1;
}

.custom-theme-flexslider.custom-primary-flexslider1 img {
	min-height: 100vh;
}

.page .custom-theme-flexslider.custom-primary-flexslider1 {
	max-height: 70vh;
}


.page .custom-theme-flexslider.custom-primary-flexslider1 .col-md-8 {
	display: none;
}

.page .custom-theme-flexslider.custom-primary-flexslider1 img {
	min-height: inherit;
	height: auto;
	width: 100%;
}


.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides  .item {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat:no-repeat;
	position: relative;
}
.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info {
	position: absolute;
	top: 0;
	left: 0;
	color: white;
	width: 100%;
	/* Vertical Center */
	top: 20%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	
}


@media all and (max-width: 768px) {
	
	.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info {
		top: 40%;

	}
	
	.page .custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info {
		display: none;

	}
	
}



.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info .container .level {
	-webkit-animation-delay: .5s;
	animation-delay: .5s;
	-webkit-animation-duration: .6s;
	animation-duration: .6s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: fadeInText;
	animation-name: fadeInText;

}

.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info .container .level-1 {
	font-size: 1.125rem;
	line-height: 18px;
	margin: 0;
}

.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info .container .level-2 {
	font-size: 1.125rem;
	line-height: 18px;
}


.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info .container .level-1,
.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info .container .level-2 {
	color: #fff;
}

.page .custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info .container .level-1,
.page .custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item .slides-info .container .level-2 {
	color: #434343;
}

.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item.custom-theme-flex-active-slide .slides-info .container .level {
	-webkit-animation-delay: .4s;
	animation-delay: .4s;
	-webkit-animation-duration: .6s;
	animation-duration: .6s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: fadeInText;
	animation-name: fadeInText;	
}

.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item.custom-theme-flex-active-slide .slides-info .container .level-1 {
	-webkit-animation-delay: .4s;
	animation-delay: .4s;	
}

.custom-theme-flexslider.custom-primary-flexslider1 .custom-theme-slides > .item.custom-theme-flex-active-slide .slides-info .container .level-2 {
	-webkit-animation-delay: .5s;
	animation-delay: .5s;	
}


/* Text Slider */
.custom-theme-flexslider.custom-primary-flexslider2 {
	height: 130px !important;
	width: 500px;
	overflow: hidden;
	z-index: 3;
	position: fixed;
	opacity: 0;
	bottom: 4%;
	-moz-transition: 2s ease-in-out; 
	-o-transition: 2s ease-in-out;
	-webkit-transition: 2s ease-in-out; 
	transition: 2s ease-in-out;
	text-align: center;

	/* Vertical Center */
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	
}



.page .custom-theme-flexslider.custom-primary-flexslider2 {
	-moz-transition: none; 
	-o-transition: none; 
	-webkit-transition: none; 
	transition: none; 
}

.page .custom-theme-flexslider.custom-primary-flexslider2 {
	position: absolute;
	bottom: auto;
	top: 52%;
	display: none;
}

@media all and (max-width: 768px) {
	.page .custom-theme-flexslider.custom-primary-flexslider2 {
		display: none;
	}
}


.custom-theme-flexslider.custom-primary-flexslider2.active {
	opacity: 1;
}


.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides  .item {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat:no-repeat;
	position: relative;
}
.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item {
	color: white;
	
}

.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item .level {
	-webkit-animation-delay: .5s;
	animation-delay: .5s;
	-webkit-animation-duration: .6s;
	animation-duration: .6s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: fadeInText;
	animation-name: fadeInText;

}

.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item .level-1 {
	font-size: 1.625rem;
	line-height: 18px;
	margin: 0;
}

.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item .level-2 {
	font-size: 1.325rem;
	line-height: 18px;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	font-family: "Franklin Gothic Bold", "Arial Black", "sans-serif";
}


.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item .level-1,
.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item .level-2 {
	color: #fff;
}

.page .custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item .level-1,
.page .custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item .level-2 {
	color: #434343;
}

.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item.custom-theme-flex-active-slide .level {
	-webkit-animation-delay: .4s;
	animation-delay: .4s;
	-webkit-animation-duration: .6s;
	animation-duration: .6s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: fadeInText;
	animation-name: fadeInText;	
}

.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item.custom-theme-flex-active-slide .level-1 {
	-webkit-animation-delay: .4s;
	animation-delay: .4s;	
}

.custom-theme-flexslider.custom-primary-flexslider2 .custom-theme-slides > .item.custom-theme-flex-active-slide .level-2 {
	-webkit-animation-delay: .5s;
	animation-delay: .5s;	
}





/* Animation */

@-webkit-keyframes fadeInText {
    0% {
        opacity: 0;
    }

    100% {  
        opacity: 1;
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}





/* ====================================================== 
   Custom Scene Pagination                                
/* ====================================================== */

.scene-control {
    width: 150px;
    position: fixed !important;
    top: 48%;
	right: 0;
	left: auto;
    text-align: left;
	z-index: 100007;
	opacity: 0;
	-moz-transition: 2s ease-in-out; 
	-o-transition: 2s ease-in-out;
	-webkit-transition: 2s ease-in-out; 
	transition: 2s ease-in-out;
}

@media all and (max-width: 768px) {

	.scene-control {
		display: none;
	}

}


.scene-control.active {
	opacity: 1;
}


.scene-control li {
    margin: 0 6px;
    display: block;
}

.scene-control,
.scene-control li {
    margin: 0;
    padding: 0;
    list-style: none;
	margin-bottom: 20px;
}

.scene-control li {
    margin-right: 10px;
}

.scene-control li {
    width: 22px;
    height: 22px;
    display: block;
	border: 1px solid rgba(255,255,255,1);
    cursor: pointer;
    -webkit-border-radius:  100%;
    -moz-border-radius:  100%;
    border-radius: 100%;
	position: relative;
	-moz-transition: .1s ease-in-out; 
	-o-transition: .1s ease-in-out;
	-webkit-transition: .1s ease-in-out; 
	transition: .1s ease-in-out;
	transition: .1s ease-in-out;
	
}
.scene-control li,
.scene-control li .dot {
	border-color: rgba(255,255,255,0);
}


.scene-control li .dot {
	visibility: hidden;
}

.scene-control li.custom-theme-flex-active,
.scene-control li.custom-theme-flex-active .dot {
	border-color: rgba(255,255,255,1);
}

.scene-control li.custom-theme-flex-active .dot {
	visibility: visible;
}


.scene-control li .dot {
	content: '';
	display: block;
	position: absolute;
	left: 4px;
	top: 4px;
	border: 1px solid rgba(255,255,255,1);
    width: 12px;
    height: 12px;
    -webkit-border-radius:  100%;
    -moz-border-radius:  100%;
    border-radius: 100%;
	-moz-transition: .1s ease-in-out; 
	-o-transition: .1s ease-in-out;
	-webkit-transition: .1s ease-in-out; 
	transition: .1s ease-in-out;
	transition: .1s ease-in-out;
}


.scene-control li .line,
.scene-control li .txt {
	content: '';
	display: block;
	position: absolute;
	top: 8px;
	left: -70px;
	width: 80px;
	height: 1px;
	-moz-transition: .1s ease-in-out; 
	-o-transition: .1s ease-in-out;
	-webkit-transition: .1s ease-in-out; 
	transition: .1s ease-in-out;
	transition: .1s ease-in-out;

}

.scene-control li .line {
	height: 10px;
	border-top: 1px solid #fff;
}

.scene-control li .txt {
	width: 150px;
	color: #fff;
	font-size: 0.75rem;
	background: none;
	top: -15px;
	filter: alpha(opacity=100);  
	-moz-opacity: 1;   
	opacity: 1;
	position: relative;
}

.scene-control li .txt em {
	font-style: normal;
	display: block;
	font-size: 12px;
	position: absolute;
	width: 200px;
	left: 0;
	top: -17px;
	opacity: 0;
}


.scene-control li.custom-theme-flex-active .line,
.scene-control li.custom-theme-flex-active .txt {
	left: -100px;
}

.scene-control li.custom-theme-flex-active .txt em {
	opacity: 1;
}

.scene-control li.custom-theme-flex-active .txt {
	filter: alpha(opacity=100);  
	-moz-opacity: 1;   
	opacity: 1;

}


.scene-control li:nth-child(2) .line {
	width: 66px;
	left: -56px;
}
.scene-control li:nth-child(3) .line {
	width: 33px;
	left: -23px;
}
.scene-control li:nth-child(4) .line {
	width: 12px;
	left: -2px;
}


.scene-control li:nth-child(2) .txt {
	left: -56px;
}
.scene-control li:nth-child(3) .txt {
	left: -23px;
}
.scene-control li:nth-child(4) .txt {
	left: -2px;
}


.scene-control li.custom-theme-flex-active:nth-child(2) .line {
	left: -86px;
}
.scene-control li.custom-theme-flex-active:nth-child(3) .line {
	left: -53px;
}
.scene-control li.custom-theme-flex-active:nth-child(4) .line {
	left: -32px;
}


.scene-control li.custom-theme-flex-active:nth-child(2) .txt {
	left: -86px;
}
.scene-control li.custom-theme-flex-active:nth-child(3) .txt {
	left: -86px;
}
.scene-control li.custom-theme-flex-active:nth-child(4) .txt {
	left: -86px;
}

.scene-control li.flex-active {
	color: #f00;
}

.scene-control li:after {
  -webkit-transform-origin: right;
          transform-origin: right;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #333;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}
.scene-control li.flex-active:after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  transition: -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
  transition: transform 0.6s cubic-bezier(0.55, 0, 0.1, 1), -webkit-transform 0.6s cubic-bezier(0.55, 0, 0.1, 1);
}
