﻿/*
Theme Name: Findochty and Portknockie
Theme URI: http://findochtyportknockiechurch.co.uk
Description: A theme by <a href="http://www.hedleyenterprises.co.uk">hedley enterprises</a>.
Version: 1
Author: hedley enterprises
Author URI: http://www.hedleyenterprises.co.uk

*/
body {
	font-size: 11pt;
	margin: 30px 0 0 0;
	padding: 0;
	color: #3d3c3c;
	font-family: verdana, Geneva, Tahoma, sans-serif;
}
body#home a#homenav,
body#circle a#circlenav,
body#about a#aboutnav,
body#findochty a#findochtynav,
body#portknockie a#portknockienav,
body#contact a#contactnav,
body#support a#supportnav,
body#news a#newsnav {
	font-weight: bold;
}
/* Default Styles */

.container {
	width: 1200px;
	margin: auto;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.c {
	clear:both;
}
p {
	line-height:1.6em;
}
img {
	border-style: none;
}
.center {
	text-align:center;
}
.absol {
	position:relative;
}
.line {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #dfdfdf;
}
.lines {
	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: #dfdfdf;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #dfdfdf;
}

h1,h2,h3,h4 {
	font-family: 'Roboto Slab', serif;
	font-weight: 300;
}
.box h3 {
	margin:5px 0;
}

/* Padding and Margins */

.down {
	margin-top:20px;
}
.downmore {
	margin-top:40px;
	margin-bottom:40px;
	padding-bottom: 20px;
}
.pad {
	padding:20px 0 20px 0;
}
.mlr {
	margin:0 24px;
}

/* Graphics */
.banner img, .box img, .newspic img {
	width:100%;
	height:auto;
}

.gallery, .grid {
	display: flex;
	flex-wrap: wrap;
}
.gallery-item {
	float: left;
	flex-grow: 1;
	width: 20%;
	margin: 5px;
}
.gallery-item img {
	width: 100%;
	height: auto;
}
.gallery-item img:hover {
	opacity: 0.6;
}

/* Navigation */


ul#nav, ul#navblock, ul.menu {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
#nav li {

}
#nav li a {
	display: block;
	padding: 20px;
	color: #FFFFFF;
	text-decoration: none;
}

#nav li a:hover {
	color: #CBA66C;
}
#dropnav {
	margin: auto auto auto auto;
	padding: 0px 0px 0px 0px;
	list-style: none;
	font-family: 'Roboto Slab', serif;
}
#dropnav li{
	float: left;
	margin-right: 0px;
	position: relative;
}
#dropnav a{
	display: block;
	padding: 10px;
	color: #3d3c3c;
	font-size: 12pt;
	text-decoration: none;
}
#dropnav a:hover{
	color: #2D97B1;
	text-decoration: none;
}
#dropnav ul{
	list-style: none;
	position: absolute;
	left: -9999px;
	z-index: 10000000;
	margin: 0;
	padding: 0;
}
#dropnav ul li{
	padding-top:1px;
	float:none;
}
#dropnav ul a{
	white-space: nowrap;
}
#dropnav li:hover ul{
	left:0;
}
#dropnav li:hover a{
	text-decoration: none;
	background: #6CACD4;
	color: #FFFFFF;
}
#dropnav li:hover ul a{
	text-decoration: none;
	background: #111B29;
	color: #FFFFFF;
}
#dropnav li:hover ul li a:hover{
	background: #6CACD4;
	color: #FFFFFF;
}
#navblock li a {
    display: block;
    float: left;
		padding: 30px 0;
    background: #3d3c3c;
    color: #fff;
    text-decoration: none;
    width: 49%;
    text-align: center;
    border: solid medium #fff;
}
#navblock li a:hover {
	background: #6CACD4;
}
.screen, .toggle, .sidebar, #sidebartoggler, .subtoggle, .subsidebar, #subsidebartoggler, .call, .mail, .findus{
	display:none;
}
.facebooklike {
    position: absolute;
    bottom: 65px;
    right: 0;
}

/* Main Body */
.leftcol {
	width:70%;
}
.rightcol {
	width:20%;
}
.half {
	width:48%;
}
.banner {
	width:50%;
	overflow:hidden;
	max-height:412px;
	display:block;
}
.bannertext {
	padding: 10px;
	position: absolute;
	background:#000;
	left: -400px;
	right:0;
	bottom:0;
	top:0;
	opacity:0;
}
.bannertext:hover {
	opacity:1;
	left:0;
	transition: all 200ms ease-in-out;
	-webkit-transition: all 0.15s ease-out 0;
	-moz-transition: all 0.15s ease-out 0;
}
.welcome h1 {
	font-size:40pt;
	font-weight:300;
}
.welcome {
	width:48%;
}
.prayer {
	width: 100%;
	height:300px;
	padding: 20px 0 20px 0;
	background-image: url('images/prayer.jpg');
	background-position: center center;
	color: #FFFFFF;
}
.prayer h2 {
	font-size: 30pt;
}
.prayer a {
	border: 1px solid #FFFFFF;
	padding: 10px;
	color: #FFFFFF;
	text-decoration: none;
}
.prayer a:hover {
	background:#fff;
	color:#000;
}
.box {
	width: 32%;
	flex-grow: 1;
	margin: 5px;
}
.box h3 {
	font-size:15pt;
}
.box a {
	color: #3d3c3c;
	text-decoration: none;
}
.box a:hover {
	color: #6CACD4;
}
.yourdonations {
	font-size: 25pt;
	font-family: 'Roboto Slab', serif;
	padding-top: 40px;
	padding-bottom: 40px;
}
.big {
	font-size: 40pt;
}
.findout a, .readmore a, .viewmore a, .spon a {
	text-decoration: none;
	color: #fff;
	padding: 5px 10px;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
.findout a, .readmore a, .viewmore a {
	background: #6CACD4;
}
.spon a {
	background: #111B29;
}
.spon a:hover {
	background: #6CACD4;
}
.ourwork {
	width: 48%;
}
.findout a:hover, .readmore a:hover, .viewmore a:hover {
	background: #111B29;
}
.facebook img {
	background-color: #38579D;
}
.twitter img {
	background-color: #00ACED;
}
.copyright {
	background-color: #3D3C3C;
	font-size: 8pt;
	color: #FFFFFF;
	padding-top: 10px;
	padding-bottom: 10px;
}
.copyright a {
	color: #fff;
	text-decoration: none;
}
.copyright a:hover {
	color:#00ACED;
}

/* Blog */
.news {
    width: 100%;
    margin: 20px 0px;
    padding-bottom: 30px;
}
.newspic {
    width: 100%;
}
.newstext {
    width: 100%;
}
.newstext p {
	margin-bottom: 30px;
}
.date {
    font-size: 9pt;
    font-weight: bold;
}
.news h2 {
    font-size: 19pt;
    margin: 0px;
}
.newstext h2 a {
    text-decoration: none;
    color: #333;
}
.sidebarmenu {
    border: thick double #808080;
    margin-top: 40px;
    padding: 10px;
}
.sidebarmenu h3 {
    margin: 0px;
    padding: 10px 0 10px 0;
}
.facebookposts {
	margin-top: 40px;
}
.share {
    padding-top: 30px;
}
.sharelinks {
    float: left;
    margin-right: 20px;
}
ul#menus {
	list-style: none;
	padding: 0;
	margin: 0;
}
#menus li a {
	display: block;
	color:#3d3c3c;
	text-decoration: none;
	padding:5px 0;
	font-size: 11pt;
}
#menus li a:hover {
	background: #6CACD4;
	color: #fff;
}
.paginate_links {
	margin-bottom: 30px
}
.page-numbers {
	padding: 10px;
	border: solid thin #3d3c3c;
	color: #3d3c3c;
	text-decoration: none;
	margin-bottom: 30px;
}
.page-numbers:hover, .current {
	background-color: #6CACD4;
	color: #fff;
}
/*

	Author:			hedleyenterprises.co.uk - let your website stand out...
	Description:	CSS Stylesheet for mobile devices

*/

@media screen and (max-width: 1100px) {

.container {
	width:95%;
}
.box {
	width: 31.5%;
}
.banner {
	max-height:330px;
}
.facebooklike {
	display:none;
}
}


@media screen and (max-width: 980px) {

.box {
	width: 31%;
}
.banner {
	max-height:250px;
}
.box h3 {
	font-size:15pt;
}
.box p{
	display:none;
}
.sloganinner {
	border-top-style: solid;
	border-top-width: 1px;
	border-top-color: #dfdfdf;
	margin-top: 20px;
}
.navigation {
	display:none;
}
#nav-toggle {
	position: absolute;
	right: 5px;
	top: 5px;
	width:40px;
	z-index: 9999999;
	border: 1px solid transparent;
}
#nav-toggle {
    cursor: pointer;
    padding: 30px 10px 30px 18px;
}
#nav-toggle:hover {
	border: 1px solid #FFFFFF;
}
#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
	cursor: pointer;
	border-radius: 1px;
	height: 2px;
	width: 35px;
	background: #3D3C3C;
	position: absolute;
	display: block;
	content: '';
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
  transition: all 500ms ease-in-out;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
  background-color:#fff;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}
.subtoggle, .subsidebar, .toggle, #subsidebartoggler, .call, .mail, .mobile, .sidebar, #nav-toggle {
	display:block;
}
.subtoggle {
	height: 40px;
	width: 40px;
	-webkit-transition: all 0.15s ease-out 0;
	-moz-transition: all 0.15s ease-out 0;
	transition: all 0.15s ease-out 0;
	position: absolute;
	top:25px;
	right: 40px;
	z-index: 99999999;
	cursor: pointer;
}
.subtoggle img {
	width: 40px;
	height: 40px;
}
.subsidebar {
	overflow: scroll;
	position: fixed;
	top: 0;
	bottom: 0px;
	right: -415px;
	-webkit-transition: all 0.15s ease-out 0;
	-moz-transition: all 0.15s ease-out 0;
	transition: all 0.15s ease-out 0;
	width: 250px;
	padding: 30px;
	background:#111B29;
	color: #fff;
	z-index: 98;
}
.subsidebar h2 {
	margin:0 0 20px 10px;
}
#subsidebartoggler, .didyouknow {
	display: none;
}
#subsidebartoggler:checked + .subpage-wrap .subsidebar {
	right: 0px;
}
#subsidebartoggler:checked + .subpage-wrap .subtoggle {
	right: 40px;
}
#subsidebartoggler:checked + .subpage-wrap .subpage-content {
	padding-left: 180px;
}
.toggle {
	height:40px;
	width:40px;
  text-decoration: none;
  color: black;
  -webkit-transition: all 0.15s ease-out 0;
  -moz-transition: all 0.15s ease-out 0;
  transition: all 0.15s ease-out 0;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  cursor: pointer; }

.sidebar {
	overflow: scroll;
	position: fixed;
	top: 55px;
	bottom: 0px;
	left: -415px;
	-webkit-transition: all 0.15s ease-out 0;
	-moz-transition: all 0.15s ease-out 0;
	transition: all 0.15s ease-out 0;
	width: 315px;
	padding: 30px;
	background: #BA4C57;
	color: #fff;
	z-index: 98;
}
#sidebartoggler {
  display: none; }
  #sidebartoggler:checked + .page-wrap .sidebar {
    left: 0px; }
  #sidebartoggler:checked + .page-wrap .toggle {
    left: 10px; }
  #sidebartoggler:checked + .page-wrap .page-content {
    padding-left: -180px;
}
.rightcol {
	width:25%;
}
}

@media screen and (max-width: 780px) {

.leftcol, .rightcol, .half, .ourwork {
	width:100%;
	float: left;
}

}

@media screen and (max-width: 680px) {

.logo img {
	width:100%;
	height:auto;
}
.logo {
	width:70%;
}
.banner {
	max-height:190px;
}
.welcome {
	width:100%;
}
.box {
	width:100%;
	margin-bottom:20px;
}
.mlr {
	margin-left:0;
	margin-right:0;
}
}

@media screen and (max-width: 580px) {

#navblock li a {
	width: 100%;
}
}

@media screen and (max-width: 390px) {
	.subtoggle {
	top: 25px;
	right: 20px;
}
}
