@import url("https://use.typekit.net/upj7cgh.css");

html {  
	box-sizing: border-box; 
}

*, *:before, *:after {  
	box-sizing: inherit;
}

body{
	margin: 20px 0px 0px 0px;
	font-family: lato, sans-serif;
}

header, main, .center{
	max-width: 1080px;
	margin: auto;
}

nav ul{
	text-align: right;
}

nav li{
	display: inline-block;
	margin: 5px 10px;
}

nav a:link, nav a:visited{
	color: #07162E;
	text-decoration: none;
	border-top: 5px solid transparent;
	transition: .5s;
}

nav a:hover{
	border-top: 5px solid #07162E;
}

nav a:active{
	border-top: 15px solid #07162E;
}

header img{
	float: left;
}

header{
	padding: 5px 2%;
}

#top-image{
	background: url(images/jesus-with-a-child-full.jpg);
	background-size: cover;
	background-position: center center;
}

#top-image .center{
	padding: 170px 2%;
}

#top-image .center p, #top-image .center h1{
	color: white;
	text-shadow: 2px 2px 3px black;
	margin: 0px;
	max-width: 500px;
}

.slider div{
	background: url(images/service.jpg);
	background-size: cover;
	background-position: center center;
	padding: 210px 0px 0px 0px;
}

.slider .text-banner p{
	background-color: rgba(7, 22, 46, 0.6);
  color: white;
	padding: 10px;
  text-align: center;
}

.row{
	font-size: 0px;
}
 
 .row > *{
	 font-size: 1rem;
 }
 
.onethird, .twothird{
	display: inline-block;
	margin: 2%;
	vertical-align: top;
}

.onethird{
	/* ( 33)-(4)=29*/
	width: 29%;
}

.twothird{
	/* ( 66)-(4)=62*/
	width: 62%;
}

.blurb h2 span{
	display: block;
	font-size: .75em;
	font-weight: normal;
}

blurb h2{
	margin: 0px;
}

.blurb .button:link, .blurb .button:visited{
	display: inline-block;
	border: 2px solid #07162E;
	padding: 3px 5px;
	color: #07162E;
	text-decoration:none;
	transition: .5s;
}

.blurb .button:hover{
	background: #07162E;
	color: #ffffff;
	padding: 3px 10px;
}

.blurb .button:active{
	text-decoration: underline;
}

.blurb.dark{
	background: #07162E;
	color: white;
	padding: 20px;
}

.blurb.dark .button:link, .blurb.dark .button:visited{
	border-color: white;
	color: white;
}

.blurb.dark .button:hover{
	background: white;
	color: #07162E;
}

footer{
	background-color: #171717;
	color: #666666;
	padding: 10px;
	text-align: center;
}	

@media screen and (max-width: 980px){
	.onethird, .twothird{
		width: 100%;
		margin: 0px;
	}
	
	header{
		padding: 5px 5%;
	}
	
	.row{
		padding: 0px 5%;
	}
	
	.blurb{
		margin: 20px 0px;
	}
	
	#top-image .center p, #top-image .center h1{
		padding: 0px 5%;
	}
}

nav label, #toggle{
	display: none;
}

@media screen and (max-width: 980px){
	header img{
		float: none;
	}

	header, nav ul{
		text-align: center;
	}

	nav ul{
		padding: 0px;
	}

	nav li{
		display: block;
		background: white;
		padding: 5px 0px;
		margin: 0px;
	}

	#toggle{
		display: none;
	}

	#toggle:checked ~ #menu{
		display: block;
	}

	#toggle:not(:checked) ~ #menu{
		display: none;
	}

	nav label{
		background: #07162E;
		color: white;
		display: block;
		padding: 10px 0px;
		font-weight: bold;
	}

	nav a:link, nav a:visited{
		color: #07162E;
		border-top: 5px solid transparent;
		transition: .5s;
	}

	nav li:hover{
		background: #07162E;
	}

	nav li:hover a{
		color: white;
	}

	nav li:active a{
		text-decoration: underline;
	}

	#menu{
		margin: 0px 0px 20px 0px;
	}
	
}