﻿.onclick-menu {
    width:100%;
    position: relative;
    display:block;
    background-color:none;
    float:left;
    margin-left:0px;
    padding:0px;
 }
.onclick-menu a{
    width:100%;
    height:40px;
    position:relative;
    display:inline;
    background-color:none;
    float:center;
    text-decoration:none;
	color:#000000;
}
.onclick-menu:hover a{color:none;}
.onclick-menu:after a{border:none;}
.onclick-menu:before {
    content: "";
	
}
/*
.onclick-menu:focus {
	position:absolute;
    /* clicking on label should toggle the menu 
    pointer-events: none;
     width:100%;
    outline: 0;
	background: rgba(0,0,0,0.3);
}*/
.onclick-menu .onclick-menu-content{
    width:100%;
    height:50px;
    z-index:+100;
    /*  opacity is 1 in opened state (see below) */
    opacity: 1;
    visibility: visible;
        /* don't let pointer-events affect descendant elements */
    pointer-events: auto;
    position:absolute;
    display:block;
    padding-top:0px;
	padding-left:0px;
}

.onclick-menu-content li {
	width:100%;
    height:40px;
    position:relative;
    display:inline;
    padding-left:40px;
    padding-right:40px;
	font-family: Ebrima;
	font-size: 14px;
	font-style: normal;
	/*font-variant: small-caps;*/
	font-weight: normal;
	color:#000000;
	line-height: 18.7000007629395px;
	text-align:center;
	 float:initial;
    }
	@font-face {
  font-family: 'Ebrima';
  font-style: normal;
  font-weight: 400;
  src: local('Ebrima'), local('Ebrima'), url(ebrima.ttf) format('ttf');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
  src: url(ebrima.ttf);
}
.onclick-menu-content li:hover {
	width:100%;
    height:30px;
     }
.onclick-menu-content li ul  {
    width:100%;
    position:absolute;
    display: inline;
    float:left;
    z-index:-1;
             /* use opacity to fake immediate toggle */
    opacity:0;
    visibility:visible;
    transition: visibility 0.5s;
     
    }
body.onclick-menu-content {
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
  
}
body.viewing-page-2 .onclick-menu-content, body.viewing-page-2 .nav-top li.right a {
  color: black;

}
/*
.menu-toggle{padding-left:30px;}	
.menu-toggle:after{display:none;visibility:hidden; z-index:-1;}*/
.flexslider{
width:100%;

}
.page_container {padding-right:20px;}
.flexslider ul{width:680px;}
.flexslider ul li{
display:block;
text-align:left;
clear:right;
padding-left:10px; 
padding-right:10px;}

.core{
width:800px;
height:170px;
position:relative; 
display:block;
/*background: rgba(0,0,0,0.5);*/
margin:30px auto;

}

.core p{
width:auto;
height:auto;
position:relative; 
display:block;
text-indent:20px;
text-align:justify;
clear:both;
padding-right:20px;
margin-top:20px;
float:center;
}
.core img {
position:relative;
background-color:rgb( 255, 255, 255);
width:140px;
height:140px;
float:left;
padding:0px;
border-width:0px;
margin-top:15px;
-webkit-transform:scale(0.8); /*Webkit: Scale down image to 0.8x original size*/
-moz-transform:scale(0.8); /*Mozilla scale version*/
-o-transform:scale(0.8); /*Opera scale version*/
-webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/
-moz-transition-duration: 0.5s; /*Mozilla duration version*/
-o-transition-duration: 0.5s; /*Opera duration version*/
/*
-webkit-filter: drop-shadow(3px 3px 5px white);
-moz-filter: drop-shadow(3px 3px 5px white);
box-shadow (3px 3px 15px white);*/
}
.core img:hover {
-webkit-transform:scale(1.1); /*Webkit: Scale up image to 1.2x original size*/
-moz-transform:scale(1.1); /*Mozilla scale version*/
-o-transform:scale(1.1); /*Opera scale version*/
box-shadow:0px 0px 30px gray; /*CSS3 shadow: 30px blurred shadow all around image*/
-webkit-box-shadow:0px 0px 30px gray; /*Safari shadow version*/
-moz-box-shadow:0px 0px 30px gray; /*Mozilla shadow version*/}
pic {position: relative; float: right; right: -50%;}

/*
.child{
    width:100%;
    display: inline;
    position:absolute;
}

.child:hover:after{
    position: absolute;
    width:500px;
    height:30px;
    background: #333;
    background: rgba(0,0,0,.3);
    border-radius: 5px;
    bottom:-55px;
    color: #fff;
    content: attr(title);
    left:-22px;
    padding: 15px 25px;
    z-index:-1;
  
}


.child:hover:before{
    border: solid;
    border-color: #333 transparent;
    border-width: 6px 6px 0 6px;
    bottom: 20px;
    content: "";
    left:-33px;
    position: absolute;
    z-index: 99;
}*/
/*
.one,
.two,
.three {
    width: 30px;
    position: absolute;
    display: block;
    float: left;
    height: 5px;
    background: white;
    margin: 6px 6px 6px 6px;
    backface-visibility: hidden;
    @include transition-duration(0.3s);
}*/


.element-1, .element-2, .element-3, .element-4, .element-5{

     display: none;

}

.a-1:hover  ~ .element-1 {
	 position: absolute;
	 display: block;
	margin-top:0px;
	width:100px;
	height:50px;
	color: #000000;
   /* background:rgba(0,0,0,0.3);*/
    text-decoration: none;
    text-align: center;
	font-weight: bold;
	font-family: Cabin;
	/*-webkit-transform:scale(1.1); Webkit: Scale up image to 1.2x original size*/
	/*-moz-transform:scale(1.1); Mozilla scale version
	-o-transform:scale(1.1);
	transition:scale(1.1);*/

}

.a-2:hover  ~ .element-2{

  position: absolute;
	 display: block;
	margin-top:0px;
	margin-left:25%;
	width:100px;
	height:50px;
	color: #000000;
	font-weight: bold;
	font-family: Cabin;
    /*background:rgba(0,0,0,0.3);*/
    text-decoration: none;
    text-align: center;
	/*-webkit-transform:scale(1.1); Webkit: Scale up image to 1.2x original size*/
	/*-moz-transform:scale(1.1); Mozilla scale version
	-o-transform:scale(1.1);
	transition:scale(1.1);*/
}

										}

.a-3:hover  ~ .element-3 {
	position: absolute;
	display: block;
	margin-top:7%;
	width:100px;
	height:50px;
	color: #000000;
	/*background:rgba(0,0,0,0.3);*/
    text-decoration: none;
    text-align: center;
	font-weight: bold;
	font-family: Cabin;
	/*-webkit-transform:scale(1.1); Webkit: Scale up image to 1.2x original size*/
	/*-moz-transform:scale(1.1); Mozilla scale version
	-o-transform:scale(1.1);
	transition:scale(1.1);*/

}

.a-4:hover  ~ .element-4 {
	position: absolute;
	 display: block;
	margin-left:-30px;
	margin-top:-5.5%;
	width:100px;
	height:50px;
	color: #000000;
    /*background:rgba(0,0,0,0.3);*/
    text-decoration: none;
    text-align: center;
	font-weight: bold;
	font-family: Cabin;
	/*-webkit-transform:scale(1.1); Webkit: Scale up image to 1.2x original size*/
	/*-moz-transform:scale(1.1); Mozilla scale version
	-o-transform:scale(1.1);
	transition:scale(1.1);*/
}

.a-5:hover  ~ .element-5 {
	position: absolute;
	display: block;
	margin-top:40%;
	width:100px;
	height:50px;
	color: #000000;
    /*background:rgba(0,0,0,0.3);*/
    text-decoration: none;
    text-align: center;
	font-weight: bold;
	font-family: Cabin;
	/*-webkit-transform:scale(1.1); Webkit: Scale up image to 1.2x original size*/
	/*-moz-transform:scale(1.1); Mozilla scale version
	-o-transform:scale(1.1);
	transition:scale(1.1);*/

}

@media screen and (max-width: 25em) {
	.nav-icon span { display: none; }
/* Responsive */

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

/*Display 'show menu' link*/
 .onclick-menu-content{
    width:100%;}
.onclick-menu-content li {
		position:relative;
		display:block;
		width:100%;
		text-align:center;
		padding-left:0px;
		padding-top:0px;
	}
	/*Make dropdown links appear inline*/
.onclick-menu-content ul {
		position: static;
		display: none;
		width:100%;
	}

	/*Create vertical spacing*/
.onclick-menu-content li :hover{
		margin-top:0px;
		width: 100%;
		float:left;
		display:block;
		border:none;
}
		
	/*Make all menu links full width*/
.onclick-menu-content	ul li, li a {
		width: 100%;
}
.flexslider{
position:absolute;
display:block;
}
.page_container.core {
position:absolute;
display:block;
}
.core p , h1{
position:relative;
max-height:300px;
display:block;
text-align:justify;
text-rendering: auto;
-ms-text-align-last:center;
text-align-last:center;
 white-space:wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.core {
position:absolute;
display:block;
width:100%;
padding-left:0px; 
height:100%;
}
.core img{
position:relative;
display:block;
text-align:justify;
min-width:20%;
width:50%;
max-width:50%;
height:auto;
}
	.lightbox {
	/** Default lightbox to hidden */
	display: none;
	/** Position and style */
	position:fixed;
	z-index: 999;
	width: 70%;
	height: 70%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	 -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.lightbox img{
	max-width:70%;
	max-height:70%;
	/*margin-top: 2%;*/
	display: block;
	position:absolute;
	text-align:center;
	vertical-align: middle;
	float:initial;
	margin:auto;
	top: 0; left: 0; bottom: 0; right: 0;
}

}

/*
.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 400px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
}
.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #00d9ff; }*/