

/* General Demo Style */

@media screen and (min-width: 320px) and (max-width: 1366px) 
{
 @import url(http://fonts.googleapis.com/css?family=Lato:400,700,900);

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after 
{
    content: " ";
    display: table;
}

.clearfix:after 
{
    clear: both;
}

.clearfix {
    *zoom: 1;
} 

 .ftrcontainer 
 {	
	background-color: #d3d3d3;
	background-image: -moz-linear-gradient(top,#ececec,#bababa);
	background-image: -ms-linear-gradient(top,#ececec,#bababa);
	background-image: -o-linear-gradient(top,#ececec,#bababa);
	background-image: -webkit-linear-gradient(top,#ececec,#bababa);
	background-image: linear-gradient(top,#ececec,#bababa);
	border-bottom: 1px solid #999;
	box-shadow: 0 1px rgba(255, 255, 255, .6);
 
	margin: 0;
	position: relative;
	z-index: 2;
	margin-bottom: 20px;
	
	-webkit-box-shadow: 0 0 4px rgba(0,4,0,.3);
	-moz-box-shadow: 0 0 4px rgba(0,4,0,.3);
	box-shadow: 0 0 4px rgba(0,4,0,.3);
	width: 100%; 
}
  
.mi-slider {
	position: relative;
	margin-top: -10px;
	height: 300px;
}

.mi-slider ul {
	list-style-type: none;
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 100px;
	overflow: hidden;
	text-align: center;
	pointer-events: none;
}

.no-js .mi-slider ul {
	position: relative;
	left: auto;
	bottom: auto;
	margin: 0;
	overflow: visible;
}

.mi-slider ul.mi-current {
	pointer-events: auto;
}

.mi-slider ul li {
	display: inline-block;
	padding: 20px; 
	min-width: 280px;
	-webkit-transform: translateX(600%);
	transform: translateX(600%);
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}
 

.no-js .mi-slider ul li {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.mi-slider ul li a,
.mi-slider ul li img {
	color:#424242;
	display: block;
	margin: 0 auto;
}

.mi-slider ul li a {
	outline: none;
	cursor: pointer;
	text-decoration:none; 
}

.mi-slider ul li img {
	min-width: 100%;
	border: none;
}

.mi-slider ul li h5 { 
	 
	font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif; 
	font-weight: 400;
	font-size: 18px;
	padding: 20px 10px 0;
}

 
.mi-slider ul li h3 { 
	 
	font-family: serif; 
	 
	padding: 20px 10px 0;
}

 .ftrcontainer h5
 {
	text-align:center;
	text-shadow: rgb(224, 224, 224) 1px 1px 0px;
 }
  
.mi-slider ul li:hover 
{ 
	text-decoration:none;
	
	box-shadow: inset 0px 0px 50px 0px #0399d4,5px 5px 5px 1px #242424;
	-webkit-box-shadow: inset 0px 0px 50px 0px #0399d4,5px 5px 5px 1px #242424;
	-moz-box-shadow: inset 0px 0px 50px 0px #0399d4,5px 5px 5px 1px #242424;
	-o-box-shadow: inset 0px 0px 50px 0px #0399d4,5px 5px 5px 1px #242424;
	/*	
	border-radius: 50% 50% 38% 31%/50% 50% 9% 14%; 
	-webkit-border-radius: 50% 50% 38% 31%/50% 50% 9% 14%; 
	-moz-border-radius: 50% 50% 38% 31%/50% 50% 9% 14%;
	*/
	/*
	border-radius: 13% 13% 17% 17%/13% 13% 47% 47%; 
-webkit-border-radius: 13% 13% 17% 17%/13% 13% 47% 47%; 
-moz-border-radius: 13% 13% 17% 17%/13% 13% 47% 47%; */
	
	
	border-radius: 10%; 
-webkit-border-radius: 10%; 
-moz-border-radius: 10%;
	
	
	
 	filter: alpha(opacity = 50);
 
	text-shadow: rgb(224, 224, 224) 1px 1px 0px;
} 

.mi-slider ul li:hover >a
{ 
	font-weight:bold;
	text-decoration:none; 
}

 

.mi-slider nav 
{
	position: relative;
	top: 202px;
	text-align: center;
	max-width: 880px;
	margin: 0 auto;
	border-top: 4px solid #333;
}

.no-js nav {
	display: none;
}

.mi-slider nav a {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 4px;
	padding: 40px 30px 30px 30px;
	position: relative;
	color: #7c7c7c;
	outline: none;
	-webkit-transition: color 0.2s linear;
	transition: color 0.2s linear;
	text-decoration:none;
	font-size:30px;
}

.mi-slider nav a:hover
{
	text-decoration:none;  
	color: rgb(97, 97, 97); 
	text-shadow: rgb(224, 224, 224) 1px 1px 0px;
	color:#0399d4;
}
.mi-slider nav a.mi-selected 
{ 
	color: rgba(0, 0, 0, 0.6);
	font-size: 40px; 
	text-shadow: rgba(255, 255, 255, 0.2) 3px 2px 3px;
}

.mi-slider nav a.mi-selected:after,
.mi-slider nav a.mi-selected:before 
{
	content: '';
	position: absolute;
	top: -10px;
	border: solid ;
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.mi-slider nav a.mi-selected:after 
{
	border-color: transparent;
	border-top-color: #cdcdcd;
	border-width: 20px;
	left: 50%;
	margin-left: -20px;
}

.mi-slider nav a.mi-selected:before
 {
	border-color: transparent;
	border-top-color: #424242;
	border-width: 26px;
	left: 50%;
	margin-left: -26px;
}

/* Move classes and animations */

.mi-slider ul:first-child li,
.no-js .mi-slider ul li {
	-webkit-animation: scaleUp 350ms ease-in-out both;
	animation: scaleUp 350ms ease-in-out both;
}

@-webkit-keyframes scaleUp {
	0% { -webkit-transform: translateX(0) scale(0); }
	100% { -webkit-transform: translateX(0) scale(1); }
}

@keyframes scaleUp {
	0% { transform: translateX(0) scale(0); }
	100% { transform: translateX(0) scale(1); }
}

.mi-slider ul:first-child li:first-child {
	-webkit-animation-delay: 90ms;
	animation-delay: 90ms;
}

.mi-slider ul:first-child li:nth-child(2) {
	-webkit-animation-delay: 180ms;
	animation-delay: 180ms;
}

.mi-slider ul:first-child li:nth-child(3) {
	-webkit-animation-delay: 270ms;
	animation-delay: 270ms;
}

.mi-slider ul:first-child li:nth-child(4) {
	-webkit-animation-delay: 360ms;
	animation-delay: 360ms;
}

/* moveFromRight */

.mi-slider ul.mi-moveFromRight li {
	-webkit-animation: moveFromRight 350ms ease-in-out both;
	animation: moveFromRight 350ms ease-in-out both;
}

/* moveFromLeft */

.mi-slider ul.mi-moveFromLeft li {
	-webkit-animation: moveFromLeft 350ms ease-in-out both;
	animation: moveFromLeft 350ms ease-in-out both;
}

/* moveToRight */

.mi-slider ul.mi-moveToRight li {
	-webkit-animation: moveToRight 350ms ease-in-out both;
	animation: moveToRight 350ms ease-in-out both;
}

/* moveToLeft */

.mi-slider ul.mi-moveToLeft li {
	-webkit-animation: moveToLeft 350ms ease-in-out both;
	animation: moveToLeft 350ms ease-in-out both;
}

/* Animation Delays */

.mi-slider ul.mi-moveToLeft li:first-child,
.mi-slider ul.mi-moveFromRight li:first-child,
.mi-slider ul.mi-moveToRight li:nth-child(4),
.mi-slider ul.mi-moveFromLeft li:nth-child(4) {
	-webkit-animation-delay: 0ms;
	animation-delay: 0ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(2),
.mi-slider ul.mi-moveFromRight li:nth-child(2),
.mi-slider ul.mi-moveToRight li:nth-child(3),
.mi-slider ul.mi-moveFromLeft li:nth-child(3) {
	-webkit-animation-delay: 90ms;
	animation-delay: 90ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(3),
.mi-slider ul.mi-moveFromRight li:nth-child(3),
.mi-slider ul.mi-moveToRight li:nth-child(2),
.mi-slider ul.mi-moveFromLeft li:nth-child(2) {
	-webkit-animation-delay: 180ms;
	animation-delay: 180ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(4),
.mi-slider ul.mi-moveFromRight li:nth-child(4),
.mi-slider ul.mi-moveToRight li:first-child,
.mi-slider ul.mi-moveFromLeft li:first-child  {
	-webkit-animation-delay: 270ms;
	animation-delay: 270ms;
}

/* Animations */

@-webkit-keyframes moveFromRight {
	0% { -webkit-transform: translateX(600%); }
	100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes moveFromLeft {
	0% { -webkit-transform: translateX(-600%); }
	100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes moveToRight {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(600%); }
}

@-webkit-keyframes moveToLeft {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(-600%); }
}

@keyframes moveFromRight {
	0% { transform: translateX(600%); }
	100% { transform: translateX(0); }
}

@keyframes moveFromLeft {
	0% { transform: translateX(-600%); }
	100% { transform: translateX(0); }
}

@keyframes moveToRight {
	0% { transform: translateX(0%); }
	100% { transform: translateX(600%); }
}

@keyframes moveToLeft {
	0% { transform: translateX(0%); }
	100% { transform: translateX(-600%); }
}


.mi-slider {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Media Queries */
/*
@media screen and (max-width: 910px){
	.mi-slider nav {
		max-width: 90%;
	}
	.mi-slider nav a {
		font-size: 12px;
		padding: 40px 10px 30px 14px;
	}
}

@media screen and (max-width: 740px){
	.mi-slider {
		height: 300px;
	}
	.mi-slider nav {
		top: 220px;
	}
}

@media screen and (max-width: 490px){ 
	.mi-slider {
		text-align: center;
		height: auto;
	}

	.mi-slider ul {
		position: relative;
		display: inline;
		bottom: auto;
		pointer-events: auto;
	}

	.mi-slider ul li {
		-webkit-animation: none !important;
		animation: none !important;
		-webkit-transform: translateX(0) !important;
		transform: translateX(0) !important;
		padding: 10px 3px;
		min-width: 140px;
	}

	.mi-slider nav {
		display: none;
	}
}*/
 



.nav_up{
	padding:7px;
	background-color:white; 
	position:fixed;
	background:transparent url(../img/design/up.png) no-repeat top left;
	background-position:50% 50%;
	width:60px;
	height:60px;
	bottom:10px;
	opacity:0.7;
	right:20px;
	white-space:nowrap;
	cursor: pointer;
	-moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-top-left-radius:3px;
	-webkit-border-top-right-radius:3px;
    -khtml-border-top-left-radius:3px;
	-khtml-border-top-right-radius:3px;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
.nav_down{
	padding:7px;
	background-color:white;
	border:1px solid #CCC;
	position:fixed;
	background:transparent url(../img/design/arrow_down.png) no-repeat top left;
	background-position:50% 50%;
	width:20px;
	height:20px;
	bottom:10px;
	opacity:0.7;
	right:70px;
	white-space:nowrap;
	cursor: pointer;
	-moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-top-left-radius:3px;
	-webkit-border-top-right-radius:3px;
    -khtml-border-top-left-radius:3px;
	-khtml-border-top-right-radius:3px;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}


}