head {
	background-color: darkgreen;
	color: white;
	font-family: 'Times New Roman', serif;
}

title {

}

body {
	color: white;
	background-color: #051405;
	width: 100%;
    height: 100%;
    background-image: url("images/longtrain.jpg");
   /* Image is centered vertically and horizontally at all times */
  background-position: center center;
  
  /* Image doesn't repeat */
  background-repeat: no-repeat;
  
  /* Makes the image fixed in the viewport so that it doesn't move when 
     the content height is greater than the image height */
  background-attachment: fixed;
  
  /* This is what makes the background image rescale based on its container's size */
  background-size: cover;
}

/*img.bg {
	min-height: 100%;
	min-width: 1024px;
	
	width: 100%;
	height: auto;
	
	position: fixed;
	top: 0;
	left: 0;
}

@media screen and (max-width: 1024px) {
	img.bg {
		left: 50%;
		margin-left: -512px;
	}
}*/

.tab {
  display: flex;
  flex-wrap: wrap;
  height: 50px;
  width: 95%;
  margin: auto;
 }
 
.tab button {
	background-color: #7FE61A;
	float: left;
	border: 3px solid white;
	cursor: pointer;
	padding: 10px 45px;
	transition: 0.3s;
	font-size: 20px;
	opacity: 0.65;
}

.tab button:hover {
		background-color: #006400;
		color: white;
		opacity: inherit;
}

.tab button.active {
	background-color: white;
	color: black;
}

.tabcontent {
	display: none;
	padding: 6px 12px;
	border-top: none;
}

* {margin: 0; padding: 0;}

.familytree {
	/*background-color: white;*/	
}

.familytree ul {
	padding-top: 20px; position: relative;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	display: flex;
}

.familytree li {
	/*float: left;*/ 
	text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.familytree li::before, .familytree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 2px solid #03ac13;
	width: 50%; height: 20px;
}
.familytree li::after{
	right: auto; left: 50%;
	border-left: 2px solid #03ac13;
}

/*We need to remove left-right connectors from elements without 
any siblings*/
.familytree li:only-child::after, .familytree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.familytree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and 
right connector from last child*/
.familytree li:first-child::before, .familytree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.familytree li:last-child::before{
	border-right: 2px solid #03ac13;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.familytree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.familytree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 2px solid #03ac13;
	width: 0; height: 20px;
}

.familytree li a{
	border: 2px solid #03ac13;
	padding: 5px 10px;
	text-decoration: none;
	color: white;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	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;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
/*.familytree li a:hover, .familytree li a:hover+ul li a {
	border: 1px solid #ff9429;
}
/*Connector styles on hover*/
/*.familytree li a:hover+ul li::after 
/*.familytree li a:hover+ul li::after, 
.familytree li a:hover+ul::after, 
.familytree li a:hover+ul ul::after,
.familytree li a:hover+li::after,
.familytree li a:hover+ul ul::before {
	border-color:  #ff9429;
}*/

.familytabs {
  display: block;
  flex-wrap: nowrap;
  height: 50px;
  width: 95%;
  text-align: center;
  margin: auto;
}
 
.familytabs button {
	background-color: #7FE61A;
	float: left;
	border: 2px solid white;
	cursor: pointer;
	padding: 12px 32px 12px 32px;
	transition: 0.3s;
	font-size: 16px;
	opacity: 0.75;
}

.familytabs button:hover {
		background-color: #006400;
		color: white;
		opacity: inherit;
}

.familytabs button.active {
	background-color: white;
	color: black;
}

.familytabcontent {
	display: none;
	padding: 6px 12px;
	border-top: none;
	justify-content: center;
	overflow-x: auto;
	overflow-y: auto;
}

.female {
	background-color: #fc46aa;
}

.male {
	background-color: #0a1172;
}

.wrap {
	width: 85%;
	margin: auto;
	background: #555555;
	/*padding: 15px;*/
}

h1 {
	color: white;
}

.footer {
	position: static;
	left: 0;
	bottom: 0;
	color: white;
	width: 100%;
	font-size: 18px;
}

.textbox {
	background-color: black;
	opacity: .75;
	wrap: flex;
	width: 60%;
	margin: auto;
	text-align: center;
	color: white;
	display: block;
	font-size: 20px;
}

.headerbox {
	background-color: black;
	opacity: .75;
	wrap: flex;
	width: 60%;
	margin: auto;
	text-align: center;
	color: white;
	display: block;
	font-size: 36px;
	font-weight: bold;
}

.titlebox {
	background-color: black;
	opacity: .75;
	wrap: flex;
	margin: auto;
	text-align: center;
	color: #0e7a0d;
	display: block;
	font-size: 60px;
	font-weight: bold;
	text-decoration: underline;
}

.info {
	color: white;
	font-size: 24px;
	font-weight: bold;
}

.urgentbox {
	background-color: black;
	opacity: 1;
	wrap: flex;
	margin: auto;
	text-align: center;
	color: red;
	display: block;
	font-size: 36px;
	font-weight: bold;
	text-decoration: underline;
}

div.gallery {
	border: 2px solid white;
	box-sizing: border-box;
	display: block;
	padding: 12%;
	background-color: #A67B5B;
	background-image: url(cardboard.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	border: 6px double #483C32;
	box-shadow: 0 0 0 50px rgba(244,240,236,0.4) inset,
	 0 0 0 11px rgb(180, 130, 90),
	  0 0 30px rgba(0,0,0,0.8) inset;
	outline: 2px solid #333;
	outline-offset: 1px;
	align: left;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: 95%;
}

div.desc {
  padding: 12px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.submitform {
	font-size: 18px;
	background-color: black;
	opacity: 0.8;
	padding-right: 1px;
	width: 25%;
}

.backscreen {
	background-color: black;
	opacity: 0.8;
	padding-right: 1px;
	width: 50%;
}

#fcf-form {
    display:block;
}

.fcf-body {
	width: 30%;
    margin: 0;
    font-family: -apple-system, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
    padding: 30px;
    padding-bottom: 10px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    max-width: 100%;
}

@media only screen and (max-width: 700px) {
  .fcf-body {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .fcf-body {
    width: 100%;
  }
}

.fcf-form-group {
    margin-bottom: 1rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    outline: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
    border: 1px solid #313131;
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

textarea.fcf-form-control {
    font-family: -apple-system, Arial, sans-serif;
    height: auto;
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;
    }
}

.fcf-btn:hover {
    color: #212529;
    text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
    color: #fff;
    background-color: #008000;
    border-color: #007300;
}

.fcf-btn-primary:hover {
    color: #fff;
    background-color: #003300;
    border-color: #002600;
}

.fcf-btn-primary:focus, .fcf-btn-primary.focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.fcf-btn-lg, .fcf-btn-group-lg>.fcf-btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.fcf-btn-block {
    display: block;
    width: 100%;
}

.fcf-btn-block+.fcf-btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block, input[type="reset"].fcf-btn-block, input[type="button"].fcf-btn-block {
    width: 100%;
}