@import url('demo.css');

.mi-slider {
	position: relative;
	margin-top: 5px;
	height: -240px;
	z-index: 4;
	
}

.mi-slider ul {
	list-style-type: none;
	position: absolute;
	width: 100%;
	bottom: -55px;
	overflow: hidden;
	text-align: center;
	pointer-events: none;
	margin-bottom: 0px;
	z-index: 3;
}

.no-js .mi-slider ul {
	position: relative;
	left: auto;
	bottom: auto;
	margin: 0;
	overflow: hidden;
}

.mi-slider ul.mi-current {
	pointer-events: auto;
}


.mi-slider ul li{
	display:inline;
	-webkit-transform: translateX(0%);/* Safari 4.0 - 8.0 */
	transform: translateX(0%);
	/*opacity*/
	
	-webkit-transition: opacity 10.s linear;/* Safari 4.0 - 8.0 */
	transition: opacity 10.s linear;

}

.no-js .mi-slider ul li {
	-webkit-transform: translateX(0%);/* Safari 4.0 - 8.0 */
	transform: translateX(0%);
}

.mi-slider ul li a,
.mi-slider ul li img {
	
	margin: 0 auto;
	
}

.mi-slider ul li a {
	outline: none;
	cursor: pointer;
	
}

.mi-slider ul li img {
	max-width: 6.8%;
	border: none;
}

.mi-slider ul li h4 {
	display: inline-block;
	font-family: Baskerville, "Baskerville Old Face", "Hoefler Text", Garamond, "Times New Roman", serif;
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	padding: 20px 10px 0;
}

.mi-slider ul li:hover {
	opacity: 0.3;
} 

.mi-slider ul li img:hover {
	opacity: 0.3;
} 
/**components menu*/
.resetbutton
{
position:relative;
font-size:20px;
color:#009EE3;
background-color:lightgray;
text-align: center;
width:100px;
margin-left:16%;

}

.resetbutton:hover
{

color:lightgray;
background-color:#009EE3;


}
.commenu2
{
	visibility: hidden;
}
.commenu
{
	position: absolute;
	width:13%;
	margin-top: -300px;
	padding-bottom: 20px;
	margin-left: 80px;
	z-index: 4;
	background-color:black;
	border-radius: 7px;
	opacity:.8;
	
}
.commenu li
{	
	width:100%;
	display: block;
	text-align: left;
	
}
.commenu h
{	
	color:#009EE3;
	margin-left:8%;
	font-size: 18px;
	cursor: default;
	
}
.commenu li a
{
	margin-left:13px;
	color:white;
	font-size: 1.25em;
	
}
.commenu li a:hover, .commenu li a:focus, .commenu li a:active
{
	
	color:#009EE3;
}

/**nav**/
.mi-slider nav {
	position: relative;
	top: 10px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	border-top: 5px solid #333;
	z-index: 5;
}

.no-js .mi-slider nav {
	display: none;
}

.mi-slider nav a {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 5px;
	padding: 30px 30px 30px 34px;
	position: relative;
	color: #888;
	font-size: 1.25em;
	font-weight: 600;
	outline: none;
	-webkit-transition: color 0.s linear;/* Safari 4.0 - 8.0 */
	transition: color 0.s linear;
	background-color: ;
	
}

.mi-slider nav a:hover,
.mi-slider nav a.mi-selected {
	color: #000;
}

.mi-slider nav a.mi-selected:after,
.mi-slider nav a.mi-selected:before {
	content: '';
	position: absolute;
	top: -5px;
	border: solid transparent;
	height: 0;
	width: 0;
	pointer-events: none;
}

.mi-slider nav a.mi-selected:after {
	border-color: transparent;
	border-top-color: #fff;
	border-width: 20px;
	left: 50%;
	margin-left: -20px;
}

.mi-slider nav a.mi-selected:before {
	border-color: transparent;
	border-top-color: #333;
	border-width: 27px;
	left: 50%;
	margin-left: -27px;
}


/* Move classes and animations */

.mi-slider ul:first-child li,
.no-js .mi-slider ul li {
	-webkit-animation: scaleUp 3ms ease-in-out both;
	animation: scaleUp 3ms ease-in-out both;
}

@-webkit-keyframes scaleUp {
	0% { -webkit-transform: translateX(0) scale(0); }
	100% { -webkit-transform: translateX(0) scale(1); }
}

@keyframes scaleUp {
	0% { -webkit-transform: translateX(0) scale(0); transform: translateX(0) scale(0); }
	100% { -webkit-transform: translateX(0) scale(1); transform: translateX(0) scale(1); }
}

.mi-slider ul:first-child li:first-child {
	-webkit-animation-delay: 9ms;
	animation-delay: 9ms;
}

.mi-slider ul:first-child li:nth-child(2) {
	-webkit-animation-delay: 18ms;
	animation-delay: 18ms;
}

.mi-slider ul:first-child li:nth-child(3) {
	-webkit-animation-delay: 27ms;
	animation-delay: 27ms;
}

.mi-slider ul:first-child li:nth-child(4) {
	-webkit-animation-delay: 36ms;
	animation-delay: 36ms;
}

/* moveFromRight */

.mi-slider ul.mi-moveFromRight li {
	-webkit-animation: moveFromRight 35ms ease-in-out both;
	animation: moveFromRight 35ms ease-in-out both;
}

/* moveFromLeft */

.mi-slider ul.mi-moveFromLeft li {
	-webkit-animation: moveFromLeft 35ms ease-in-out both;
	animation: moveFromLeft 35ms ease-in-out both;
}

/* moveToRight */

.mi-slider ul.mi-moveToRight li {
	-webkit-animation: moveToRight 35ms ease-in-out both;
	animation: moveToRight 35ms ease-in-out both;
}

/* moveToLeft */

.mi-slider ul.mi-moveToLeft li {
	-webkit-animation: moveToLeft 35ms ease-in-out both;
	animation: moveToLeft 35ms 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: 9ms;
	animation-delay: 9ms;
}

.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: 18ms;
	animation-delay: 18ms;
}

.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: 27ms;
	animation-delay: 27ms;
}

/* Animations */

@-webkit-keyframes moveFromRight {
	100% { -webkit-transform: translateX(0); }
	0% { -webkit-transform: translateX(100%); }
}

@-webkit-keyframes moveFromLeft {
	0% { -webkit-transform: translateX(-0); }
	100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes moveToRight {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(0); }
}

@-webkit-keyframes moveToLeft {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(-0); }
}

@keyframes moveFromRight {
	0% { -webkit-transform: translateX(0); transform: translateX(0); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes moveFromLeft {
	0% { -webkit-transform: translateX(-0); transform: translateX(-0); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes moveToRight {
	0% { -webkit-transform: translateX(0%); transform: translateX(0%); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes moveToLeft {
	0% { -webkit-transform: translateX(0%); transform: translateX(0%); }
	100% { -webkit-transform: translateX(-0); transform: translateX(-0); }
}

.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: 1024px){
	.mi-slider nav {
		max-width: 90%;
	}
	.mi-slider nav a {

	
		font-size: 12px;
		padding: 40px 10px 30px 14px;
	}
}

@media screen and (max-width: 768px){
	.mi-slider {
		height: 300px;
	}
	.mi-slider nav {
		top: 220px;
	}
}

@media screen and (max-width: 480px){ 
.mi-slider {
		height: 200px;
	}
	.mi-slider ul li {
	width: 23%;
	}

	.mi-slider nav {
		top:120px;
	}
}


/**
***************Responsive Section Starts here***********************************************************
**/
/*============================================================
	Ipad mini (Portrait) Design for a width of 320px
==============================================================*/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 1)  
{

	.mi-slider ul {
	position: absolute;
	width: 100%;
	bottom: -140px;
	background-color:;
}
	.mi-slider ul li img {
	max-width: 10%;
	border: none;
}
	
	.resetbutton
{
	position:relative;
	margin-left:20px;
	
	
}
	
.commenu
	{
		visibility:hidden;
	}

.commenu2
{
	visibility: visible;
	position: relative;
	width:100%;
	padding-bottom: 20px;
	margin:auto;
	z-index: 4;
	background-color:black;
	border-radius: 7px;
	opacity:.8;
	margin-top: -250px;
   
}
	.commenu2column
	{
	 -moz-column-count: 2;
	-moz-column-gap: 1.5em;
	-webkit-column-count: 2;
	-webkit-column-gap: 1.5em;
	column-count: 2;
	column-gap: 1.5em;
	
	}
.commenu2 li
{	
	
	display: inline;
	text-align: right;
	
}
.commenu2 h
{	
	color:#009EE3;
	margin-left:8%;
	font-size: 2em;
	cursor: default;
	
}
.commenu2 li a
{
	margin-left:13px;
	position:relative;
	color:white;
	font-size: 1.75em;
	
}
.commenu2 li a:hover, .commenu li a:focus, .commenu li a:active
{
	
	color:#009EE3;
}	
	

}

/*============================================================
/**Ipad mini break point Portrait
==============================================================**/

/**Ipad mini break point Landscape**/

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 1) 
{
	
		
.resetbutton
{
	position:relative;
	margin-left:20px;
	
	
}
	
.commenu
	{
		visibility:hidden;
	}

.commenu2
{
	visibility: visible;
	position: relative;
	width:100%;
	padding-bottom: 20px;
	margin:auto;
	z-index: 4;
	background-color:black;
	border-radius: 7px;
	opacity:.8;
	margin-top: -150px;
   
}
	.commenu2column
	{
	 -moz-column-count: 2;
	-moz-column-gap: 1.5em;
	-webkit-column-count: 2;
	-webkit-column-gap: 1.5em;
	column-count: 2;
	column-gap: 1.5em;
	
	}
.commenu2 li
{	
	
	display: inline;
	text-align: right;
	
}
.commenu2 h
{	
	color:#009EE3;
	margin-left:8%;
	font-size: 2em;
	cursor: default;
	
}
.commenu2 li a
{
	margin-left:13px;
	position:relative;
	color:white;
	font-size: 1.75em;
	
}
.commenu2 li a:hover, .commenu li a:focus, .commenu li a:active
{
	
	color:#009EE3;
}	
	

	/**color visualizer**/

.mi-slider nav a {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 5px;
	padding: 20px 0px 0px 0px;
	position: relative;
	color: #888;
	outline: none;
	-webkit-transition: color 0.s linear;
	transition: color 0.s linear;
	background-color:;
	width:30.333333%;
	
	
}
	.mi-slider ul {
	position: absolute;
	width: 100%;
	bottom: -550px;
	background-color:;
}
	
	.mi-slider nav {
	position: relative;
	top: 365px;
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
	border-top: 5px solid #333;
	z-index: 5;
}

.mi-slider ul li img {
	max-width: 12%;
	border: none;
	
		
}	


}

/*============================================================
	Mobile (Portrait) Design for a width of 320px
==============================================================*/
@media only screen and (max-width: 767px) {



.commenu
	{
		visibility:hidden;
	}
	
	
.commenu2
{
	visibility: visible;
	position: relative;
	width:100%;
	padding-bottom: 20px;
	margin:auto;
	z-index: 4;
	background-color:black;
	border-radius: 7px;
	opacity:.8;
	margin-top: 0px;
   
}
	.commenu2column
	{
	 -moz-column-count: 2;
	-moz-column-gap: 1.5em;
	-webkit-column-count: 2;
	-webkit-column-gap: 1.5em;
	column-count: 2;
	column-gap: 1.5em;
	
	}
.commenu2 li
{	
	
	display: inline;
	text-align: right;
	
}
.commenu2 h
{	
	color:#009EE3;
	margin-left:8%;
	font-size: 1.75em;
	cursor: default;
	
}
.commenu2 li a
{
	margin-left:13px;
	position:relative;
	color:white;
	font-size: 1.25em;
	
}
.commenu2 li a:hover, .commenu li a:focus, .commenu li a:active
{
	
	color:#009EE3;
}	
	
	/**color visualizer**/

.mi-slider nav a {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 5px;
	padding: 20px 0px 0px 0px;
	position: relative;
	color: #888;
	outline: none;
	-webkit-transition: color 0.s linear;
	transition: color 0.s linear;
	background-color:;
	width:30.333333%;
	
	
}
	.mi-slider ul {
	
	width: 100%;
	bottom: -40px;
	background-color:;
}
	
	.mi-slider nav {
	position: relative;
	top: 40px;
	text-align: center;
	max-width: 300px;
	margin: 0 auto;
	border-top: 5px solid #333;
	z-index: 5;
}

.mi-slider ul li img {
	max-width: 12%;
	border: none;
	
	

}
}
	



/*============================================================
	Mobile (Landscape) Design for a width of 480px
==============================================================*/

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

	
	/**ccomponent visualizer**/
	
.commenu
	{
		visibility:hidden;
	}
	
	
.commenu2
{
	visibility: visible;
	position: relative;
	width:100%;
	padding-bottom: 20px;
	margin:auto;
	z-index: 4;
	background-color:black;
	border-radius: 7px;
	opacity:.8;
	margin-top: 60px;
   
}
	.commenu2column
	{
	 -moz-column-count: 2;
	-moz-column-gap: 1.5em;
	-webkit-column-count: 2;
	-webkit-column-gap: 1.5em;
	column-count: 2;
	column-gap: 1.5em;
	
	}
.commenu2 li
{	
	
	display: inline;
	text-align: right;
	
}
.commenu2 h
{	
	color:#009EE3;
	margin-left:8%;
	font-size: 2em;
	cursor: default;
	
}
.commenu2 li a
{
	margin-left:13px;
	position:relative;
	color:white;
	font-size: 1.75em;
}
.commenu2 li a:hover, .commenu li a:focus, .commenu li a:active
{
	
	color:#009EE3;
}	
	
	/**color visualizer**/

.mi-slider nav a {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 5px;
	padding: 20px 0px 0px 0px;
	position: relative;
	color: #888;
	outline: none;
	-webkit-transition: color 0.s linear;
	transition: color 0.s linear;
	background-color:;
	width:30.333333%;
	
	
}
	.mi-slider ul {
	
	width: 100%;
	bottom: -50px;
	background-color:;
}
	
	.mi-slider nav {
	position: relative;
	top: 180px;
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
	border-top: 5px solid #333;
	z-index: 5;
}

.mi-slider ul li img {
	max-width: 12%;
	border: none;
	
		
}

}
	


