/*
*{
	margin:0;
	padding:0;
}
*/


/*td {border: 1px #DDD solid; padding: 5px; cursor: pointer;}*/

/*tr.selected {
    background-color: brown;
    color: #FFF;
}*/


/*This is the login area*/
.card-body input{
	
/*font-family: Arial, Helvatica, sans-serif;
font-size:18px;
font-weight:normal;
line-height:1.0em;
left-margin:100;*/

}

input[name=UName]{
font-family: Arial, Helvatica, sans-serif;
font-size:18px;
font-weight:normal;
line-height:1.0em;
left-margin:100;
background-color: white;
color:#555555;
rounded-input;
margin:10px 0; // add top and bottom margin
padding:20px;
border-radius:10px;
width:20%;	
display: block; margin:auto;

}

input[name=Password]{
font-family: Arial, Helvatica, sans-serif;
font-size:18px;
font-weight:normal;
line-height:1.0em;
left-margin:100;
background-color: white;
color:#555555;
rounded-input;
margin:10px 0; // add top and bottom margin
/*margin-left: 80px; */
padding:20px;
border-radius:10px;
width:20%;	
display: block; margin:auto;

}
button:hover {
       /*background-color: red;*/
      }
button{
/* remove default behavior */
  appearance:none;
  -webkit-appearance:none;

  /* usual styles */
  padding:10px;
  border:100px;
  background-color:#3F51B5;
  color:#fff;
  font-weight:600;
  border-radius:5px;
  width:30%;
  display: block; margin:auto;

	
}
.card-body aLogin{
font-size:58px;
display: block;
 border: solid white;
 border-width: 0 10px;
 border-radius: 0;
 background: green;
 color: white;
 font-size: 18px;
 margin: -60px auto 15px;
 padding: 15px;
}

/*body{

	background-color:white;
	color:#555555;*/
/*This bit sets church name size and layout*/
/*font-family: Arial, Helvatica, sans-serif;
font-size:18px;
font-weight:normal;
line-height:1.0em;
margin:0;
}*/

.inline-block{
	border-left: 10px;
}

/*.table{
	background-color:white;
	color:#555555;
}*/

/*td{ 
background-color:white;
	color:#555555;
}*/

tbody tr:nth-child(odd) {
  background: darkgrey;
}

tbody tr:nth-child(even) {
  background: lightgrey;
}

td {border: 1px #DDD solid; padding: 5px; cursor: pointer;} /*this gives the table a good layout*/

tbody tr.selected {
    background-color: red;
    /*color: red;*/
}

tr.selected {
    background-color: brown;
    color: #FFF;
}

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

a:hover{
	color:yellow;
}

a:active{
	color:green;
}

a:visited{
	
}*/
.logo{
	align-self: : center;
}

/*container is where nav bar is*/
.container{
	width:100%;
	margin:1px;
	margin-bottom: 1px;
	border-bottom: 2px red solid;
	padding-bottom: 1px;

}

/*#submit{
	position: relative;
	left:1000px;
	top: 200px;
	background-color: #324ea8;
	color:red;
	width: 200px;
	height: 50px;
	font-size: 20px;
}*/

#bookbutton{
	width:500px;
	position: fixed;
	left:100px;
	top: 1050px;
	color:red;
	background-color: #324ea8;
}

.button{
	position: fixed;
	top: 150px;
	left: 200px;
	background-color:#333;
	color:#fff;
	padding:10px 15px;
	border:none;
}

label{
	width: 300px;
	margin-left: 10px;
	margin-right: 10px;
	padding: 0px;
}

input{
	/*float: right;*/
	width:  150px;
	margin-right: 20px;
}


#flyac {
	font-weight: bold;
	width: 300px;
	text-align: center;
	background-color: #324ea8;
	color:white;
}

#ianflyac:hover{
	background-color: red;	
}

#grahameflyac{
	width: 200px;
	height: 30px;
}

#ianflyac{
	vertical-align: center;
	width: 300px;
	height: 30px;
}

#peterflyac{
	width: 200px;
	height: 30px;
}

/*.button:hover{
	background:green;
	color:#fff;*/
}
	/*.returnbutton{
		position: fixed;
		top: 200px;
		left: 200px;
		text-decoration: none;
		background-color:grey;
		color:#fff;
		padding:10px 15px;
		border:none;
	}*/
.clr{
	clear:both;
}

   /* <!-- CSS property to place div
            side by side -->
        <style> 
            #firstbox {
                float:left; 
                background:Red;
                width:25%;
                height:280px;
            }
            #middlebox{
                float:left; 
                background:Green;
                width:50%;
                height:280px;
            }
            #rightbox{
                float:right;
                background:blue;
                width:25%;
                height:280px;
            }
            h1{
                color:green;
                text-align:center;
            }
        </style> */

 /*       *, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}*/

.content-wrapper {
    width: 1000px;
    margin-right: auto;
    margin-left: auto;
    /*border: 1px solid red;*/
    overflow: hidden; /* should be clearfix instead */
}

.column { /* what the columns have in common */
    float: left;
    padding: 1em;
}

.what {
    width: 20%;
    margin-right: 1%;
    /*background-color: #ccffcc;*/
    text-align:left;
    margin-bottom:0;
}

.main-content {
    width: 20%;
    margin-right: 1%;
    font-family: Arial, Helvatica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.where {
    width: 50%;
    font-family: Arial, Helvatica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    text-align: left;
}
h2{margin-bottom: 0px;
	margin-top: 20px;}
h3{
                /*color:green;*/
                /*text-align:center;*/
                margin: 0;
            }

hr{margin-bottom: 10px;} 

/*box 1 is "PIG FLYING GROUP" banner*/          
.box-1{
	/*top:1500px;*/
	background-color:#324ea8;
	color:#fff;
	/*width:80%;*/
	border-right:15px white solid;
	border-left:15px white solid;
	border-top:10px white solid;
	border-bottom:1px white solid;
	/* Same as above*/
	
	/*border-width:3px;*/
	/*border-bottom-width:10px;*/
	/*border-top-style:dotted;*/

	padding-top:5px;
	padding-bottom:5px;
	padding-left:20px;
	padding-right:20px;

	/* Same as above */
	/*padding:20px;*/

	margin-top:20px;
	margin:20px 0;
}

.box-1 h1{
	font-family:Tahoma;
	font-weight:700;
	/*font-style:  ;*/
	/*text-decoration:;*/
	text-transform: uppercase;
	letter-spacing: 0.2em;
	word-spacing: 1em;	
	line-height:1.4em;
	text-align:center;
}

.box-2 {
	/*border:3px dotted #ccc;*/
	
	/*top: 1550px;*/ /*this does not seem to have any effect*/
	padding-top: 0px;
	margin-top: 1px;
	/*margin: 20px 0;*/
	text-align: center;
	background-color: #324ea8;
	padding-bottom: 20px;
	border-bottom: 1px red solid;
	color: red;
}

/*.box-2 h1{
	text-align:center;

}*/

.box-2 h2{
	text-align:center;
	padding-top: 20px; /*this centres the words vertically*/
	color: white;
}

.box-3{
padding-top: 0px;
	margin-top: 1px;
	/*margin: 20px 0;*/
	text-align: center;
	/*background-color: green;*/
	padding-bottom: 20px;
	border-top: 1px red solid;
	border-bottom: 1px red solid;	
}

.box-3 h2{
	text-align:center;

}

.box-annbanner h2{
	padding-top: 20px; /*this centres the words vertically*/
	/*padding-top: 0px;*/
	margin-top: 1px;
	/*margin: 20px 0;*/
	text-align: center;
	background-color: #324ea8;
	padding-bottom: 20px;
	border-bottom: 1px red solid;
	color: red;

}

.boxnews{
	font-family: Arial, Helvatica, sans-serif;
    font-size: 14px;
    font-weight: normal;
	line-height:1.6em;
}

.categories{
	font-size:26px;
	font-weight:800;
	border:1px #ccc solid;
	padding:10px;
	border-radius:15px;
	background-color: #FFF0F5;
}

.categories h2{
	text-align:center;
	line-height:2.4em;
}

.categories ul{
	
	padding:0;
	padding-left:20px;
	list-style: square;
	list-style: none;
	line-height:2.4em;
}

/*.categories li{
	padding-bottom: 6px;
	border-bottom: dotted 1px #333;
	list-style-image: url('../images/check.png');
}*/

.billing-form {
	/*display: inline-block;
	left: 100px;*/
	display:flex;
	/*flex-direction: row;
	margin-left: 50px;
	margin-top: 10px;*/
	
	/*float: left;
	clear: right;*/
	/*text-align: center;*/
}

.billing-form > input
{
	width: 50px;
	color: red;
}

.book-form-group
{
display:flex;
flex-direction: row;
	margin-left: 50px;
	margin-top: 10px;

	
	float: left;
	clear: right;
}

.book-form-group > label
{
margin-top: 10px;
	
	float: left;
	clear: right;
}

.book-form-group > input
{

/*margin-top: 10px;
	margin-right: 50px;
	padding-right: 50px;
	float: right;
color: red*/
}

.book-form-group > submit
{
position: relative;
top: -43px;
left: 410px;
}

.fault-form-group > label
{
margin-top: 50px;
	float: left;
	clear: right;
	color: orange;
	width: 50px;
}

.fault-form-group > input
{
margin-top: 50px;
	margin-right: 50px;
	padding-right: 50px;
	float: right;	
}

.fault-form-group{
	margin-left: 150px;
	margin-top: 50px;
	
	float: left;
	clear: right;
}

.fault-form-group > textbox label
{
	vertical-align: bottom;
}

.form-group > label
{
	/*display: inline-block;
			width: 150px;
			text-align: right;
			border-left: 20px;
			margin: 10px;
			color: red;
	margin-top: 50px;*/
	
	/*float: left;
	clear: right;*/
}

.form-group> input
{
	/*width: 10%;*/
	/*margin-top: 10px;
	margin-right: 10px;
	padding-right: 10px;
	float: right;*/
}

.form-group{
	/*display: inline-block;
			width: 150px;
			text-align: right;
			border-left: 200px;
			margin: 10px;
	margin-left: 50px;
	margin-top: 50px;
	
	float: left;
	clear: right;*/
	
}

.flight-form {
	/*display: inline-block;
	left: 100px;
	display:flex;
	flex-direction: row;
	margin-left: 50px;
	margin-top: 10px;*/
	/*input: 40ch;*/
	/*float: left;*/
	/*clear: right;*/
}

.my-form{
	padding:20px;
}

 .my-form label{
	/*display:block;*/
	font-size: 30px;
	padding-right: 30px;
}

.my-form select{
	font-size: 30px;
}

.my-form input[type="text"], .my-form textarea{
	padding:8px;
	/*width:50%;*/
}

.block{
	float:left;
	width:33.3%;
	height: 900px;
	border:1px solid #ccc;
	padding:10px;
	box-sizing:border-box;
	text-align:center;
	background-color: #FFF0F5;
}

.block p{
	  font-size: 11px;
}

.block1{
	box-sizing: 300px;
	writing-mode: horizontal-tb;
	border:1px solid #ccc;
	padding:10px;
	box-sizing:border-box;
	text-align:center;
	background-color: white;
}

.block1 h3{
	text-align:left; 
}

.block1 {
	text-align:center; 
}

.block h3{
	text-align:centre; 
	font-size:14px;
}

.block2{
	float:left;
	width:33.3%;
	height: 200px;
	padding-top: 40px;
	/*border:1px solid #ccc;
	padding:10px;*/
	box-sizing:border-box;
	text-align:center;
	background-color: #000000;
	color:#FFFFFF;
}

.blockContacts{
	float:left;
	width:33.3%;
	height: 500px;
	border:1px solid #ccc;
	padding:10px;
	box-sizing:border-box;
	text-align:center;
	background-color: #FFF0F5;	
}

.blockContacts p{
	  font-size: 14px;
}

#main-block{
	float:left;
	width:70%;
	padding:15px;
	box-sizing: border-box;
}

#sidebar{
	float:right;
	width:30%;
	background-color:#333;
	color:#fff;
	padding:15px;
	box-sizing: border-box;
}

.p-box{
	background-color: #000000;
	color:#FFFFFF;
	width:100%;
	height:500px;
	border:1px solid #000;
	margin-top:30px;
	position:relative;
	background-image:url("../images/The Church of England logo Version 1.jpeg");
	/*background-image:url("C:/Users/igarfitt/Documents/Web/CofELogo.jpg");*/
	background-repeat: no-repeat;
	background-position:100px 200px;
	/*background-position: centre top;*/

}

.p-box h1{
	position:absolute;
	top:100px;
	left:400px;
}

.p-box h2{
	position:absolute;
	top:100px;
	/*bottom:40px;*/
	right:200px;
}

.fix-me{
	position:fixed;
	top:400px;
}

.THrsBox{
	/*padding-left: 250;
	margin-left: 100;*/
	text-align: center;
}

.THrs label{
	/*padding-left: 250;
	margin-left: 100;*/
}

/*form {
	overflow: hidden;
}*/

/*label {
	float: left;
	width: 200px;
	padding-right: 24px;
}*/


.my-list li:first-child{
	background: red;
}

.my-list li:last-child{
	background: blue;
}

.my-list li:nth-child(5){
	background: yellow;
}

.my-list li:nth-child(even){
	background: grey;
}



/*#navbar ul{
	padding:0;
	list-style: none;
}*/

#navbar li{
	display:inline;
}

#navbar_area a:active {
    text-decoration: none;    
    color: #ffbf01;
}      

/*#navbars{
	position:fixed;
	top:0px;
	width:80%;
	height: 40px;
	background-color: grey;
	
}

#navbars li{
	display: inline;
}

#navbars li a{
	color: white;
	text-decoration:none;
	font-size:18px;
	padding-right:25px;
}

#navbars.active li a{
  border-bottom: 12px red;
}

#navbars.active {
  background-color: green;
  color: white;
}*/

/*#navbars ul li a
{
	display: block;
	color: #fff;
}*/

ul li.active a
{
	background: #324ea8;
	color: #fff;
	
}

ul
{
	display:flex;
}

ul li
{
	list-style: none;
	/*background: black;*/
	color: red;
}

 ul li a
{
	display: block;
	/*color: #fff;*/
	padding: 10px 20px;
	text-decoration:none;
	text-transform: uppercase;
}

.booktable{
	color: green;
}

.wrapper{
	width:1000px ;
	margin-left: 150px;
}

 

table {
	width: 100%
}

th {
	text-align: center;
	background-color: #324ea8;
	color:white;
}

td{
	text-align: center;
	/*background-color:#324ea8;*/
}


.box-body table{

}
/*a:link, a:visited {
	background-color: grey;
  color: white;
}*/

/*a:visited{
	background-color: grey;
  color: white;
}*/

/*a:hover{
	background-color: #666;
  color: white;
}

a:active{
	background-color: red;
  color: red;
}

a: focus{
	 outline: 3px solid orange;
	background-color: blue;
  color: red;
}*/

/*<script src="http://code.jquery.com/jquery-3.2.1.min.js"></script>

<script type="application/javascript">
	$(document).ready(function() {
		$('ul li a').click(function(){
			$('li a').removeClass("active");
			$(this).addClass("active");
			})
		});
</script>*/

/*#navbar a{
	color:Red;
	text-decoration:none;
	font-size:18px;
	padding-right:15px;
}*/

/*#navbar ul li.active a, .navbar ul li a:hover  {
    text-decoration:none;
    color:Yellow;
    background:url(../images/menu_a.jpg) no-repeat center top;
}*/
/*.href {position: fixed;
		top: 300px;
	}*/
/*.center{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}*/

/*#navbar	a:active{
	color:yellow;
}*/
/*#navbar > li.active > a {
  background-color: #e0c698;
  }*/

html,body{
    height:100%;
    margin:0;
    padding:0;  
}
.overlay {
    opacity:0;
    position:fixed;
    top:-999em;
    left:-999em;
    width:100%;
    height:100%;
    display:table;
    background:rgba(0,0,0,0.8);
    -webkit-animation: splash 10s forwards;
  -moz-animation: splash 10s forwards; 
  -ms-animation: splash 10s forwards; 
  animation: splash 10s forwards;
}
.overlay-inner {
    display:table-cell;
    vertical-align:middle;
    text-align:center;
}
.message {
    border:10px solid blue;
    border-radius:10px;
    background:#fff;
    display:inline-block;
    vertical-align:middle;
    width:50%;
    text-align:left;
    padding:10px;
}
@-webkit-keyframes splash {
  0%  {opacity: 0;top:0;left:0;-webkit-transform:rotate(0) scale(0.2)}
    20% {opacity:1;-webkit-transform:rotate(720deg) scale(1.0)}
    60% {opacity:1;}
    99% {top:0;left:0;}
    100%{opacity:1;top:0;left:0;-webkit-transform:rotate(720deg) scale(1.0)}
}
@-moz-keyframes splash {
   0% {opacity: 0;top:0;left:0;-moz-transform:rotate(0) scale(0.2)}
    20% {opacity:1;-moz-transform:rotate(720deg) scale(1.0)}
    60% {opacity:1;}
    99% {top:0;left:0}
    100%{opacity:1;top:0;left:0;-moz-transform:rotate(720deg) scale(1.0)}
}
@-ms-keyframes splash {
   0% {opacity: 0;top:0;left:0;-ms-transform:rotate(0) scale(0.2)}
    20% {opacity:1;-ms-transform:rotate(720deg) scale(1.0)}
    60% {opacity:1;}
    99% {top:0;left:0}
    100%{opacity:1;top:0;left:0;-ms-transform:rotate(720deg) scale(1.0)}
}  
@keyframes splash {
  0%  {opacity: 0;top:0;left:0;transform:rotate(0) scale(0.2)}
    20% {opacity:1;transform:rotate(720deg) scale(1.0)}
    60% {opacity:1;}
    99% {top:0;left:0}
    100%{opacity:1;top:0;left:0;transform:rotate(720deg) scale(1.0)}
}
.overlay-wrap {
    position:relative;  /*this positions the "Close Now" bit*/
    top:90;
    left:90;
    right:0;
    z-index:99;
}
.overlay-wrap .hide {
    position:absolute; 
    top:80px;		/*was -999em */
    right:750px;
    opacity:0;
    color:#fff;
    border:5px solid red;
    padding:10px;
    font-size:200%;
    z-index:2;
    cursor:pointer;
    -webkit-animation:10s fadein 2s forwards;
    -moz-animation:10s fadein 2s forwards;
    -ms-animation:10s fadein 2s forwards;
    animation:10s fadein 2s forwards;   
}
#hide {
    position:relative;
    left:-899em;
    top:-999em;
    color: green;
}
.overlay2{
    position:relative;
    opacity:1;
    -webkit-transition:all 2s;
    -moz-transition:all 2s;
    -ms-transition:all 2s;
    transition:all 2s ;
}
#hide:checked ~ div,#hide:checked ~ div *, #hide:checked + label {
 opacity:0;
 left:-999em;
 right:auto;
 top:-999em;
 pointer-events:none;
 color: yellow;
}
@-webkit-keyframes fadein {
 0% {opacity: 0;top:10px;}
 20% {opacity:1;top:10px;}
  80%{opacity:1;top:10px;}
  100%{opacity:1;top:10px;}
}
@-moz-keyframes fadein {
 0% {opacity: 0;top:10px;}
 20% {opacity:1;top:10px;}
  80%{opacity:1;top:10px;}
 100%{opacity:1;top:10px;}
}
@-ms-keyframes fadein {
 0% {opacity: 0;top:10px;}
 20% {opacity:1;top:10px;}
 80%{opacity:1;top:10px;}
 100%{opacity:1;top:10px;}
}
@keyframes fadein {
 0% {opacity: 0;top:10px;}
 20% {opacity:1;top:10px;}
 80%{opacity:1;top:10px;}
 100%{opacity:1;top:10px;}
}