/****** FILE: themes/alaark/css/flexslider.css *****/
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */

.slideshow {margin-bottom: 10px; position: relative !important; display: block !important; zoom: 1; height: auto; clear: both;}
.slideimg {position: absolute; z-index: 550;}
ul.slides {margin: 0px;}
 
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0; padding: 0; overflow: hidden; zoom: 1}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; position: relative;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0px; position: relative; zoom: 1;}
.slideshow.landing .flexslider {background: none;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
/*.slideshow img {width: 670px !important; height: 397px; float: right;}*/
.slideshow img.MobileSlideImage {width: 420px !important; height: 397px; float: right !important;}
.ref-detail.slideshow img {width: 100% !important; height: auto; float: none;}
.slideshow.landing img {width: auto !important; height: auto; float: none;}
.loading .flex-viewport {max-height: 300px;}
.slideshow .flexslider .slides {zoom: 1; margin-top: 0px;}
.slideshow.landing .flexslider .slides {margin-top: 0px;}
.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 23px; height: 33px; margin: -20px 0 0; display: block; background: url('/themes/alaark/images/slider-arrow-sprite.png') no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; }
.flex-direction-nav .flex-next {background-position: 100% 0; right: 10px; }
.flex-direction-nav .flex-prev {left: 10px;}
.flexslider:hover .flex-next {opacity: 1; background-position-y: 0px;}
.flexslider:hover .flex-prev {opacity: 1; background-position-y: 0px;}
.flexslider a.flex-next:hover {background-position-y: -33px;}
.flexslider a.flex-prev:hover {background-position-y: -33px;}

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {position: absolute; bottom: 30px; z-index: 600; text-align: center; width: 100%; line-height: 12px; display: none;}
.flex-control-nav li {padding: 1px 6px; display: inline-block; zoom: 1; *display: inline; }
.flex-control-paging li a {width: 9px; height: 9px; display: block; background: #e0dfde; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; box-shadow: inset 0 0 3px rgba(0,0,0,0.3);}
.flex-control-paging li a:hover { background: #444;}
.flex-control-paging li a.flex-active { background: #e0bd58; cursor: default; }

.flex-control-thumbs {margin: 5px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

#carousel {background: none; margin-top: -10px; }
#carousel li {cursor: pointer;}

li.flex-button-title {display: block; width: 157px !important; padding-top: 10px; }
li.flex-button-title.flex-active-slide {background: url('/themes/alaark/images/orbit-bullet-arrow.png') center top no-repeat;}
li.flex-button-title span {display: block; background-color: #dedede; margin-right: 0px !important; text-align: center; padding-top: 7px; color: #666666; width: 156px; height: 22px; border-right: 1px solid #aaa; }
li.flex-button-title span:hover {background-color: #aaa;}
li.flex-button-title.flex-active-slide span {background-color: #2f88c8; color: #fff; }
.flex-copy {position: absolute; left: 60px; top: 290px;}
.flex-copy h1 {color: #fff; font-size: 40px; line-height: 38px; margin-bottom: 15px;}
.flex-copy p {color: #888; font-size: 14px; margin-bottom: 15px; line-height: 18px; font-weight: bold;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}



.slide-details {text-align: center; position: absolute; bottom: 42px; width: 606px; background-color: rgba(0,0,0,0.51);z-index: 5000; padding: 10px 0px 15px; margin-left: 17px;}
.altSlideshow .slide-details {margin-left: 0px;}



.altSlideshow {border: 2px solid #999999; margin-left: 0px; margin-bottom: 40px;}
.altSlideshow .flex-control-nav li:nth-child(2) {padding-right: 0px;}
.altSlideshow .flex-control-nav {bottom: -30px; left: auto; width: 100%;}
.altSlideshow .slide-details {text-align: center; position: absolute; bottom: 0px; width: 100%; background-color: rgba(0,0,0,0.6);z-index: 5000;}
.altSlideshow .slide-date {padding-bottom: 10px;}
.altSlideshow a {text-transform: uppercase;	font-family: "Times New Roman", "Georgia", serif;}

	.slide-details h2, .slide-details h3 {color: white !important;}


	.slideshow h2 {font-size: 30px; font-weight: normal; color: #000000; padding-left: 30px; margin-top: 130px; margin-bottom: 0px; line-height: 32px;}
	.slideshow h3 {padding-left: 30px; font-weight: normal; color: #000000; font-size: 22px; line-height: 25px;}
	.slideshow a.left-arrow {font-size: 16px;}
	.slideshow .home-slide-link {margin-left: 30px;}
/*.flexslider img.OneSlide {margin-top: -130px;}*/


    @media only screen and (min-width: 768px) and (max-width: 959px) {
		li.flex-button-title {width: 125px !important;}
		li.flex-button-title span {width: 124px; border-right: 1px solid #aaa;}
	}
	
	@media only screen and (max-width: 767px) {
		#carousel {display: none;}
		.flex-copy {position: relative; top: 0px; left: 0px;}
		.flex-copy h1 {color: #888; font-size: 25px; line-height: 30px;}
		.flex-direction-nav a {top: 105px;}
	}


/****** FILE: themes/alaark/css/gallery.css *****/
html { position: relative; }

.opaque-layer
{
background: #000;
background: rgba(0,0,0,0.40);
filter: alpha(opacity=40);
cursor: pointer;
position: fixed;
height: 100%;
width: 100%;
left: -100%;
top: 0px;
z-index: 99;
opacity: 0;
-webkit-transition: opacity .3s ease;
-moz-transition: opacity .3s ease;
transition: opacity .3s ease;
}

.opaque-layer.active
{
left: 0px;
opacity: 1;
}

.modal
{
background: #fff;
-moz-box-shadow: 0px 0px 25px 4px #111;
-webkit-box-shadow: 0px 0px 25px 4px #111;
box-shadow: 0px 0px 25px 4px #111;
height: 670px;
width: 520px;
left: -100%;
margin-top: -335px;
margin-left: -260px;
position: fixed;
top: 50%;
z-index: 602;
overflow: hidden;
opacity: 0;
-webkit-transition: opacity .2s ease;
-moz-transition:opacity .2s ease;
transition: opacity .2s ease;
-moz-transition-delay: .2s;
-webkit-transition-delay: .2s;
transition-delay: .2s;
}

.modal.active
{
left: 50%;
opacity: 1;
}

	.modal-inner
	{
	padding: 10px 10px 0px 10px;
	height: 570px;
	position: relative;
	z-index: 100;
	}
	
	.modal-inner .flexslider {margin-bottom: 10px;}

		.modal-inner h3 { margin: 10px 0px 20px 0px; }
		.modal h3 {font-size: 28px; line-height: 28px; margin: 10px;}

		.modal .toggle-modal
		{
		background: url(/themes/alaark/images/icon-close.png) no-repeat left top;
		display: block;
		height: 9px;
		width: 9px;
		position: absolute;
		right: 10px;
		top: 10px;
		z-index: 101;
		}

		.modal .toggle-modal span { display: none; }

		#slider { }

			/*#slider .slides li img
			{
			max-height: 497px;
			max-width: 497px;
			width: auto;
			}*/

			.flex-caption
			{
			float: right;
			width: 200px;
			}

		/*#slider .flex-direction-nav { display: none; }*/

			.modal-inner h4
			{
			font-size: 15px;
			margin-top: 0px;
			}

	#carousel
	{
	/*min-height: 109px;*/
	position: relative;
	right: 0px;
	bottom: -20px;
	z-index: 10;
	}

		#carousel h4{
			text-align: center;
		}

		#carousel img
		{
		cursor: pointer;
		height: 82px;
		max-width: 82px;
		padding-right: 10px;
		}

	#carousel .flex-viewport img{ opacity: .7; }
	#carousel .flex-viewport img:hover,
	#carousel .flex-viewport .flex-active-slide img{ opacity: 1; }

    @media only screen and (max-width: 767px) {

.opaque-layer { background-color: #000; }

.modal
{
background-color: transparent;
box-shadow: none;
margin: 0px;
top: 0px;
position: absolute;
height: auto;
width: 100%;
}

.modal.active { left: 0px; }

	.modal-inner { padding: 0px; }

		.modal h3 { display: none; }

		.modal .toggle-modal
		{
		background: none;
		border: 1px solid #fff;
		border-radius: 2px;
		color: #fff;
		display: inline-block;
		height: auto;
		width: auto;
		padding: 2px 10px;
		}

			.modal .toggle-modal span { display: block; }

		#slider .flex-direction-nav { display: block; }

		#slider .slides li img
		{
		max-height: 100%;
		max-width: 100%;
		width: 100%;
		}
		
		.modal .toggle-modal span {
display: block;
}

		.flex-caption
		{
		background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(50%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 50%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 50%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 50%); /* IE10+ */
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 50%); /* W3C */
		background-color: transparent;
		color: #fff;
		float: none;
		padding: 10px;
		position: absolute;
		left: 0px;
		bottom: 0px;
		text-align: center;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		}

		.flex-direction-nav a
		{
		top: 50%;
		}

		.flex-direction-nav .flex-prev { background: url('/themes/alaark/images/slider-arrow-sprite.png') no-repeat 0 0; }

		.flex-direction-nav .flex-next { background: url('/themes/alaark/images/slider-arrow-sprite.png') no-repeat 100% 0; }

	#carousel { display: none; }

}

