@charset "UTF-8";
/* CSS Document */

body {
	font-family: "Arial", Helvetica, sans-serif;
	background-image:url(img/background.jpg); 
	background-color:#FFF;
	background-repeat:repeat;
	background-attachment:fixed;
	
	
}

a:link{
	color:#000;
	text-decoration:none;
}

a:hover{
	text-decoration:none;
}

a:visited{
	color:#000;	
}



.center_text{
	text-align:center;	
}




.page{
	background-color:#380068;
	border: 5px solid #390069;
}	

p, h1, h2, h3{
	word-break:normal;	
}

.title_center{
	text-align:center;	
	margin-top:30px;

	
}

/*.................Header.........................*/

.header_container{
	position: relative;
	width: 100%;


	
}
#header{
	background-color:#306;
	height:130px;
	max-width:100%;
	margin-right:10px;
	margin-left:10px;
	margin-top:20px;
	
	
}


#header img{
	margin-left:30px;
	height:auto;
	width:auto;
	margin-top:20px;
}



/*.......................Navigation..................*/

#nav {
	background-color:#639;
	height:40px;
	max-width: 100%;
	margin-left:10px;
	margin-right:10px;
	
	

}

#nav a {
	padding-right:4%;
	padding-left:4%;
	text-decoration:none;	
	color:white;
	position:relative;
	top:10px;
	
}



#nav a:hover{
	color:#000;
}


/*..........................Home......................*/



.icon_text{
	color:#000;
	margin-top:20px;
	text-align:center;
}

#home{
	margin-top:310px;
	display:block;
	margin-left:auto;
	margin-right:auto;	
	padding-bottom:700px;
	position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

#pictures:hover{
	opacity:0.70;
}
#familytree:hover{
	opacity:0.70;
}
#stories:hover{
	opacity:0.70;
}

#home img{
	height: 150px;
	width:100%x;
	display:block;
	margin-left:auto;
    margin-right:auto;
	margin-top:50px;
}


#pictures {
	height:320px;
	width:23%;
	max-width: 100%;
	margin-left:5%;
	display: inline-block;
	background-color:#FFF;
	opacity:0.90;
	
}



#familytree{
	height:320px;
	width:23%;
	max-width: 100%;
	margin-left:10%;
	display: inline-block;
	background-color:#FFF;
	opacity:0.90;
}





#stories{
	height:320px;
	width:23%;
	max-width: 100%;
	margin-left:10%;
	margin-right:5%;
	display: inline-block;
	background-color:#FFF;
	opacity:0.90;
	
}






/*.........................Familytree....................*/

#profiles img{
	float:left;
	height: 300px;
	width: 200px;
	margin-right:20px;
}

#profiles h2{
	margin-top:5px;
	margin-bottom:10px;

}

#profiles p{
	margin-top:10px;
	
}

#profiles hr{
	margin-top:10px;	
}

.profile_gallery{
	height:50px;
	margin-top:10px;
}



#tree-container{
	width: 100%;
    overflow-y: scroll;	
	
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 0px;
		
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
	
}

#invisable{
	height:200px;
	width:100%;	
}

.tree{
	width:2000px;
	margin-left:auto;
	margin-right:auto;
	
}


.tree ul {
	padding-top: 20px; 
	position: relative;
	padding-bottom:100px;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 10px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}



.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}


.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}


.tree li:only-child{ padding-top: 0;}


.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}


.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}


.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

.tree li a{
	border: 1.8px solid #666;
	padding: 10px 15px;
	text-decoration: none;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight:550;
	word-spacing:1.5px;
	letter-spacing: 0,5px;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}


.tree li a:hover {
	 color: #000; 
	 border: 1.8px solid #000;
	 
}


.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #454545;
}





/*.....pop-up....*/


.button {
  font-size: 1.2em;
  letter-spacing: 1px;
  background-color:#FFF ;
  padding-top: 10px;
  padding-bottom: 15px;
  padding-left:5px;
  padding-right:5px;  
  border-radius: 50px/90px;
  text-decoration: none;
  cursor: pointer;
  color:#FFF;
 
}


.button:hover {
  border: 0.5px solid #000;
  text-decoration:underline;
 
  
}

  
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 40%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #ccc;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
  }

/*........................Stories.........................*/

#stories_padding{
	padding-bottom:700px;	
}

.padding-bottom{
	padding-bottom:200px;	
}

#stories_container{
		margin-left:auto;
		margin-right:auto;
		display:block;
}

.story{
	background-color:#FFF;
	opacity:0.80;
	float:left;	
	height:250px;
	width:260px;
	border:#333 solid 2px;
	margin-left:13%;
	margin-bottom:20px;
	margin-top:50px;
	
}

.story:hover{
	border:#000 solid 2px;	
	opacity:0.70;
}

.story p, h3{
	text-align:center;
	margin-top:10px;
	margin-left:4px;
	margin-right:4px;	
	color:#000;
}

.back{
	color:#000;	
	display:block;
	margin-top:30px;
	margin-left:3%;
}


.back:hover{
	color:#69349A;	
}

.back img{
	width:60px;
	height:40px;
}


.story_text{
	height:100%;
	min-height:450px;
	width:70%;
	background-color:#FFF;
	opacity:0.80;	
	margin-left:auto;
	margin-right:auto;
	display:block;
	padding-bottom:20px;
}

.story_text h1{
	text-align:center;
	padding-top:10px;
	margin-bottom:30px;	
}

.story_text p{
	margin-left:50px;	
	margin-right:50px;	
}

.story p{
	margin-left:10px;	
	margin-right:10px;
	
}


.story_text img{
	float:right;
	margin-right:5%;
	margin-top:20px;
	margin-left:5%;
	height:250px;
}



/*........................Events..........................*/

#events h3{
	padding-top:5px;	
}

#upcoming_1{
	background-color:#FFF;
	opacity:0.80;
	max-width:40%;
	height:100px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;
}



#upcoming_2{
	background-color:#FFF;
	opacity:0.80;
	max-width:40%;
	height:100px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;


}

#previous_1{
	background-color:#FFF;
	opacity:0.80;
	max-width:40%;
	height:100px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;
}

#previous_2{
	background-color:#FFF;
	opacity:0.80;
	max-width:40%;
	height:100px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;
}

.float_left{
	float:left;
	width:50%;
	text-align:center;
	margin-top:30px;
	
}

.float_right{
	float:right;
	width:50%;
	text-align:center;
	margin-top:30px;
	
		
}



#gallery_title{
	margin-top:420px;	
	margin-bottom:20px;
	color:#FFF;
}


#gallery{
	width:70%;
	margin-left:20%;
	margin-right:20%;
	text-align:center;	
	padding-bottom:800px;
	
}

#gallery .item:hover{
	border:#380068 solid 5px;
}

#gallery a {
    text-decoration:none;
	
	
    }
	
#gallery .item {
    width: 200px; height: 200px; 
	overflow: hidden;
    float: left;
    border: 5px solid #FFF;
    margin: 10px;
    }
	
#gallery .item a {
    overflow: hidden;
	
    }


#gallery .item a img {
    height: 100%;
    align-self: center;
	
    }
	
	
.lightbox {
    /** Hide the lightbox */
    opacity: 0;
    /** Apply basic lightbox styling */
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: -100%;
    left: 0;
    color:#333333;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    }
.lightbox:target {
    /** Show lightbox when it is target */
    opacity: 1;
    outline: none;
    top: 0;
}
.lightbox .box {
      width: -webkit-min-content;
      width: -moz-min-content;
      width: min-content;
    min-width:500px;
     margin: 2% auto;
    padding:10px 20px 10px 20px;
    background-color:#FFF;
    box-shadow: 0px 1px 26px -3px #777777;
	text-align:center;
    }
.lightbox .title {
    margin:0;
    padding:0 0 10px 0px;
    border-bottom:1px #ccc solid;
    font-size:22px;
	
    }
.lightbox .content {
    display:block;
    position:relative;
    }
	
.content img{
	max-width:1000px;
	max-height:500px;	
	
	
}
.lightbox .close {
    display:block;
    float:right;
    text-decoration:none;
    font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:22px;
    color:#858585;
    }
.clear {
    display:block;
    clear:both;
    }
	
	.lightbox .content .desc {
    z-index:99;
    bottom:0;
    position:absolute;
    padding:10px;
    margin:0 0 4px 0;
    background:rgba(0,0,0,0.8);
    color:#fff;
    font-size:17px;
    opacity:0;
    transition: opacity ease-in-out 0.5s;
    }    
.lightbox .content:hover .desc    {
    opacity:1;
}

.lightbox .close {
    display:block;
    text-decoration:none;
    font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:22px;
    color:#858585;
    }

.close {
    float:right;
    }
.clear {
    display:block;
    clear:both;
    }
	
/*.......................Gallery.........................*/



#list{
	float:left;	
	margin-left:3%;
	margin-right:3%;
	margin-top:50px;
	height:auto;
	width:220px;
	background-color:#FFF;
	opacity:0.80;
	margin-bottom:2000px;
	
	
}

#list ul{
	margin-left:-10px;	
	
}

#list h2{
	margin-left:10px;
	margin-bottom:10px;
	margin-top:10px;
	
}

#list a:hover{
	color:#639;	
}



#gallery_2{
	width:70%;
	margin-left:20%;
	margin-right:3%;
	text-align:center;
	margin-top:60px;
	padding-bottom:1500px;

	
}

#gallery_2 a {
    text-decoration:none;
	
    }
	
#gallery_2 .item {
    width: 200px; 
	height: 200px; 
	overflow: hidden;
    float: left;
    border: 5px solid #FFF;
    margin: 10px;
	background-color:#FFF;
	
    }
	
#gallery_2 .item a {
    overflow: hidden;
	
    }


#gallery_2 .item a img {
    height: 100%;
    align-self: center;
	
    }
	
#gallery_2 .item:hover{
	border:#370067 solid 5px;
}

.title{
	text-align:center;	
}

/*........................Contact..........................*/


.icon_text{
	color:#000;
	margin-top:20px;
	text-align:center;
	margin-right:10px;
	margin-left: 10px;
	
}



#contact{
	margin-top:310px;
	display:block;
	margin-left:auto;
	margin-right:auto;	
	padding-bottom:600px;
	position: absolute;
   top: 0; left: 0; bottom: 0; right: 0;
}


#contact img{
	height: 100px;
	width:auto;
	display:block;
	margin-left:auto;
    margin-right:auto;
	margin-top:50px;
}


#adress:hover{
	opacity:0.70;
}

#email:hover{
	opacity:0.70;
}

#phone {
	height:320px;
	width:23%;
	max-width: 100%;
	margin-left:5%;
	display: inline-block;
	background-color:#FFF;
	opacity:0.90;
	
}



#email{
	height:320px;
	width:23%;
	max-width: 100%;
	margin-left:10%;
	display: inline-block;
	background-color:#FFF;
	opacity:0.90;
	
}


#adress{
	height:320px;
	width:23%;
	max-width: 100%;
	margin-left:10%;
	margin-right:5%;
	display: inline-block;
	background-color:#FFF;
	opacity:0.90;
	
}

#email h2{
	word-break:break-all;	
}


#facebook_contact{
	height:auto;
	width:23%;
	margin-top:500px;
	max-width: 100%;
	margin-left:auto;
	margin-right:auto;
	display:block;
	background-color:#330067;
	opacity:0.90;
	margin-bottom:300px;
	border:5px #FFF solid;
	
}

#facebook_contact img{
	height:30px;
	margin-top:-5px;
	margin-bottom:20px;
	margin-left:auto;
	margin-right:auto;
	display:block;
}	

#facebook_contact h2{
	color:#FFF;
	margin-left:10px;
}

#facebook_contact:hover{
	opacity:0.70;
}
/*.....................Footer....................*/



#footer{
	background-color:#306;
	height:50px;
	max-width:100%;
    position:fixed;
    right: 10px;
  	bottom: 8px;
  	left: 10px;
	
	
} 

#footer p{
	float:left;
	margin-left:2%;
	margin-top:15px;
	color:white;
}




#footer img{
	height:30px;
	margin-right:20px;
	margin-top:-40px;
	margin-left:20px;	
	
}

.footer_hover:hover{
	text-decoration:underline;	
}

#facebook *{
	float:right;	
	display:inline-block;
}

#facebook p:hover{
	text-decoration:underline;	
}

#a_color{
	text-decoration:underline;
}
