/*
Theme Name: Staffs Army Cadet Force Friends
Author: Neil King
Description: A completely custom theme for SACFF
License: (C)2018+, Neil King
*/
html {
	margin: 0;
	padding: 0;
}
body {
    background: #FFFFFF;
	font-family: 'PT Sans', sans-serif;
	font-size: 16px;
	line-height: 1.7em;
	margin: 0;
	color: #000000;
}
h1,h2,h3 {
/*	font-family: 'Martel Sans', sans-serif;
	font-weight: normal;
	line-height: 1.0em; */
}

a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

#wrapper {
    display: block;
    background:#FFFFFF;
    width: 960px;
    margin: 0px auto;
}

#header {
    background: #FFFFFF;
	margin: 0;
	padding: 5px 5px 0 5px;
}

#header h1 {
	margin: 0;
}

#header img {
	border: 0;
}

.menu-header {
	position: relative;
}
#menu-mainmenu {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	background: #344a61;
	z-index: 5;
}
#menu-mainmenu li {
	display: block;
/*	position: relative; */
	float: left;
	background:#344a61;
	color: #ffffff;
	margin: 0;
	padding: 5px 0 0 0;
	width: 12.5%;
	height: 30px;
	border: 0;
	border-bottom: 1px solid #cf9862;
	overflow: hidden;
	line-height: 1.5em;
	text-align: center;
}
#menu-mainmenu li:hover {
	background-color: #cf9862;
	border-bottom: 1px solid #cf9862;
}
#menu-mainmenu .current_page_item {
	background-color: #e94a4e;
}
#menu-mainmenu li a {
	text-decoration: none;
	color: #ffffff;
	width: 100%;
	height: 100%;
}
#menu-mainmenu li a:visited {
	color: #ffffff;
}
#menu-mainmenu li a:hover {
	color: #344a61;
}
#menu-mainmenu li h3 {
	margin: 0;
	padding: 0;
	text-align: center;
	font-weight: bold;
}
#menu-mainmenu li p {
	padding: 0 10px;
	margin: 0;
}

.bluebar {
	background: #344a61;
	width: 100%;
	min-height: 40px;
	clear: both;
	border-top: 1px solid #cf9862;
}
#searchsitebar {
	display: block;
	height: 40px;
	width: 55%;
	float: left;
	font-size: 1.0em;
	text-align: left;
	padding-left: 5px;
	padding-top: 5px;
	color: #ffffff;
}
.searchform #s {
	height: 17px;
}
.searchform #searchsubmit {
	height: 23px;
	background: #cf9862;
	color: #FFFFFF;
	border: 1px solid #cf9862;
}
#socialsharebar {
	display: block;
	height: 40px;
	width: 42%;
	float: right;
	font-size: 1.0em;
	text-align: right;
	padding-right: 5px;
	padding-top: 5px;
	color: #ffffff;
}
#socialsharebar a img {
	vertical-align: middle;
}

#loginform {
	display: block;
	width: 295px;
	border: 2px solid #999;
	border-radius: 10px;
	padding: 10px;
	margin: 0 auto;
}
#loginform input {
	width: 290px;
	font-size: 1.0em;
	box-sizing: border-box;
}

#frontpagelogo {
	display: block;
	position: absolute;
	z-index: 10;
	width: 300px;
	height: 600px;
	top: 0;
	left: 50%;
	margin: 6px 0 0 -160px;
	padding: 0 10px;
	text-align: center;
	background: rgba(0, 0, 0, 0.5);
	color: #ffffff;
/*	border-bottom: 1px solid #999;
	font-size: 1.4em; */
	line-height: 2.4em;
}
#topmenu {
	position: relative;
	clear: both;
	height: 30px;
}

#content {
    width: 100%;
	padding: 5px 0;
	background: #FFFFFF;
}

#content img {
	max-width: 100%;
	height: auto;
}

#delimiter {
    clear: both;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	display: block;
	float: left;
}
.alignright {
	display: block;
	float: right;
}
img.alignleft {
	margin-right: 10px;
}
img.alignright {
	margin-left: 10px;
}
.wp-caption-text {
	font-size: 0.76em;
	color: #444444;
	line-height: 1.3em;
}

.nicebutton {
	background: rgba(255,255,255,1.0);
	color: #000000;
	text-decoration: none;
	text-shadow: none;
	box-shadow: 0 0 3px #000000;
	padding: 2px 10px;
	border: 1px solid #ffffff;
	border-radius: 5px;
}
.nicebutton:hover {
	background: rgba(255,255,255,0.7);
}

#footer {
    background: #344a61;
	border-top: 1px solid #999;
	text-align: center;
	padding: 5px 0 10px 0;
	color: #ffffff;
}
#footer p {
	/* text-align: left; */
	font-size: 0.8em;
	margin: 0 10px;
	line-height: 1.2em;
}
#footer img {
	max-width: 49%;
}

.ntknewsblocks {
	list-style: none;
	padding: 0;
	margin: 0;
}
.ntknewsblocks li {
	display: block;
	float: left;
	width: 460px;
	margin: 0;
	padding: 0 10px 10px 10px;
/*	border-bottom: 10px solid;
	border-color: #999; */
	line-height: 1.4em;
}
.ntknewsblocks li a {
	text-decoration: none;
	color: #0000AA;
}
.ntknewsblocks li a:hover {
	text-decoration: underline;
}
.ntknewsblocks li img {
	display: block;
	margin: 0 auto;
}
.ntknewsblocks_odd {
	clear: both;
}
.ntknewsblocks_more {
	background: #cf9862;
	color: #ffffff;
	display: block;
	height: 20px;
	width: 100%;
	margin-top: 5px;
	text-align: center;
	padding: 5px 0;
}
.ntknewsblocks_more a {
	color: #ffffff !important;
}
.ntknewsblocks_more a:hover {
/*	text-decoration: none; */
}
.ntknewsblocks_date {
	font-size: 0.8em;
}

.ntkfrontpagelist {
	list-style: none;
	padding: 0;
	margin: 20px 0 0 0;
}
.ntkfrontpagelist li {
	display: block;
	float: left;
	width: 460px;
	margin: 0;
	padding: 20px 10px;
	line-height: 1.4em;
	font-size: 1.3em;
	text-align: center;
	border-top: 40px solid #344a61;
}
.ntkfrontpagelist li img {
	display: block;
	margin: 0 auto;
}
.ntkfrontpagelist_text {
	font-size: 0.77em;
	text-align: left;
}
.ntkfrontpagelist_odd {
	clear: both;
}

.ntk_leftcolumn {
	display: block;
	width: 45%;
	min-width: 320px;
	float: left;
}
.ntk_rightcolumn {
	display: block;
	width: 45%;
	min-width: 320px;
	float: right;
}

.event-item {
	padding: 10px 0 40px;
}
.event-date {
	font-size: 1.4em;
	background: #cf9862;
	color: #ffffff;
	padding: 5px 10px;
}
.event-date a {
	color: #000066;
}
.event-date a:visited {
	color: #000066;
}

.ntk_form input {
	width: 100%;
	min-width: 315px;
	font-size: 1.0em;
	box-sizing: border-box;
}
.ntk_form textarea {
	width: 100%;
	min-width: 315px;
	font-size: 1.0em;
	box-sizing: border-box;
}
.ntk_form input[type=submit] {
	font-size: 1.2em;
	padding: 5px;
	box-sizing: border-box;
}
.ntk_formmessage {
	font-size: 1.2em;
	font-weight: bold;
	color: #880000;
}
#ui-datepicker-div {
	background: #ffffff;
	border: 1px solid #666;
	border-radius: 5px;
	padding: 5px 10px;
	box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}
.ui-datepicker-title {
	text-align: center;
}
.ui-datepicker-prev {
	display: block;
	width: 45%;
	float: left;
	text-align: center;
	font-size: 0.86em;
	background: #cf9862;
	color: #ffffff;
}
.ui-datepicker-next {
	display: block;
	width: 45%;
	float: right;
	text-align: center;
	font-size: 0.86em;
	background: #cf9862;
	color: #ffffff;
}
.ui-datepicker-calendar th {
	background: #344a61;
	color: #ffffff;
}
.ui-datepicker-calendar td {
	text-align: center;
	border: 1px solid #ddd;
}

/* Override styles for tablets (portrait) */
@media only screen and (min-width: 667px) and (max-width: 1000px) {
	#wrapper {
		width: 640px;
	}
	#menu-mainmenu li p {
		font-size: 12px;
		line-height: 1.4em;
	}
	.ntkfrontpagelist li {
		width: 620px;
	}
	.ntknewsblocks li {
		width: 620px;
	}
}

/* Override styles for phones (portrait) */
@media only screen and (max-width: 666px) {
	#wrapper {
		width: 320px;
	}
	#topmenu {
		height: 288px;
	}
	#menu-mainmenu li {
		float: none;
		width: 100%;
		height: 30px;
		border: 0;
		border-bottom: 1px solid #999;
		overflow: hidden;
	}
	#menu-mainmenu li p {
		font-size: 12px;
		line-height: 1.4em;
		text-align: center;
	}
	#searchsitebar {
		width: 98%;
		float: none;
		text-align: right;
	}
	#socialsharebar {
		width: 98%;
		float: none;
		text-align: right;
	}
	.ntkfrontpagelist li {
		width: 300px;
	}
	.ntknewsblocks li {
		width: 300px;
	}
}

/* Fix for printing nicely */
@media print{
	[data-aos] {
		display: block !important;
		opacity: 1 !important;
		transform: translate(0) scale(1) !important;
	}
}