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

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;
}

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

a:hover{
	color:yellow;
}

a:active{
	color:green;
}

a:visited{
	
}*/

.container{
	box-sizing: border-box;
	width:100%;
	margin:auto;
}

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

/*.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: 1100px;
    margin-right: auto;
    margin-left: auto;
    /*border: 11px 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%;
    text-align:left;
    margin-bottom:0;
}*/



.main-content {
    width: 30%;
    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{
	/*top:1500px;*/
	background-color:grey;
	color:#fff;
	/*width:80%;*/
	border-right:15px white solid;
	border-left:15px white solid;
	border-top:50px white solid;
	border-bottom:15px 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 {
	top: 1800px;
	padding: 0px;
	margin-top: 50px;
	text-align:center;
	background-color: #FFF0F5;
}

.box-2 h1{
	text-align:left;

}

.box-2 h2{
	text-align:center;
	background-color: #FFF0F5;

}

.box-22 p{
	padding-top: 5px;
	text-align:center;
	background-color: #FFF0F5;
	height: 80px;
	
}

.boxnews{
	margin-left: auto;
	margin-right: auto;
	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:left;
	line-height:2.4em;
	font-size: 11px;
}

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

.categories h6{
	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');
}*/

.my-form{
	padding:20px;
}

 .my-form .form-group{
	padding-bottom:15px;
}

.my-form label{
	display: block;
}

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

.block{
	float:left;
	width:33.3%;
	height: 600px;
	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:center; 
	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;
}

/*.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: #cc99ff;
	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;
}


/*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: 100px;}

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