/*
 Theme Name: Twyford Spartans
 Theme URI: http://twyfordspartans.com
 Author: Shake Creative
 Author URI: http://shakecreative.com
 Description: A custom theme for the Twyford Spartans club.
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: twyford-spartans
*/

/* CSS Document */


/** BASE **/


/*** CLEARING ***/

.clear {clear:both}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/*** SAFARI TEXT RENDERING ISSUE FIX ***/
html {
	-webkit-text-stroke: rgba(255,255,255,0.01) 0.1px;
}

/*** TRANSITIONS ***/

.trans-fade {
	transition: all .2s ease-in-out;
   -moz-transition: all .2s ease-in-out;
   -webkit-transition: all .2s ease-in-out;
}
.trans-fade-slow {
	transition: all .8s ease-in-out;
   -moz-transition: all .8s ease-in-out;
   -webkit-transition: all .8s ease-in-out;
}

/*** SECTION VIEWPORT SIZING ***/

.full-vh {
	height:100vh;
}
.min-full-vh {
	min-height:100vh;
}
.max-full-vh {
	max-height:100vh;
}

/** Use this calculation for an element you want to fill partial 
height of the viewport container with another elements you know the set height of (like a nav) **/
.example-element {
	height: calc(100% - 165px);
}


/*** TOGGLE ****/

.toggle {
    display: inline-block;
    position: relative;
	height: calc(100% + 1px);
    padding: 20px;
    color: #fff;
    text-align: left;
    z-index: 6500;
	transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
}
.toggle span.icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 0px;
    margin: 8px 5px 0px 0px;
    height: 28px;
    width: 30px;
}
.toggle .toggle-bar {
	position:absolute;
	display:block;
	width:35px;
	height:3px;
	border-radius:1px;
	background:#fff;
}

.toggle .toggle-bar.mid {
	opacity:0;
	top:9px;
}
.toggle .toggle-bar.top {
	top:9px;
	display:block;
	-ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
}
.toggle .toggle-bar.bottom {
	top:9px;
	display:block;
	-ms-transform: rotate(135deg); /* IE 9 */
    -webkit-transform: rotate(135deg); /* Chrome, Safari, Opera */
    transform: rotate(135deg);
}

/** Collapsed States **/
.toggle.collapsed .toggle-bar.top {
	display:block;
	top:0;
	-ms-transform: rotate(0deg); /* IE 9 */
    -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}
.toggle.collapsed .toggle-bar.mid {
	display:block;
	opacity:100;
	top:10px;
}
.toggle.collapsed .toggle-bar.bottom {
	display:block;
	top:20px;
	-ms-transform: rotate(0deg); /* IE 9 */
    -webkit-transform: rotate(0deg); /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}
.toggle.collapsed:hover .toggle-bar.top {
	width:80%;
}
.toggle.collapsed:hover .toggle-bar.middle {
	width:55%;
}
.toggle.collapsed:hover .toggle-bar.bottom {
	width:90%;
}

.toggle .toggle-bar.top, .toggle .toggle-bar.mid, .toggle .toggle-bar.bottom, .toggle:hover .menu-text {
	transition: all .2s ease-in-out;
   -moz-transition: all .2s ease-in-out;
   -webkit-transition: all .2s ease-in-out;
}
.toggle .menu-text {
	display:block;
	vertical-align:middle;
	font-size: 0.9em;
	margin-top: 3px;
	background:none!important;
	color: #fff;
	text-transform:uppercase;
}
.toggle.collapsed .menu-text {
	color: #fff;
}
.toggle:hover {
	background:#e04c4d;
}

/* Inner hides the scroll bars on a side-bar with the calc width */
.navbar-side-inner {
	position:absolute;
	height:125px;
	overflow-y: scroll!important;
    width: calc(100% + 21px);
    padding: 0px;
    margin: 0px;
}



/**** IMAGE DISPLAY ****/

/* 'cover' replacement background image */
.res-image-container {
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.res-image-container img, .res-image-container video {
	position: relative;
    display: block;
    max-width: 100%;
    height: auto;
}
/* JS switch to synthisise cover image properties, works on .res-image-container */
.switch-vert-max {
	width: auto;
    max-width: none!important;
    max-height: 100%!important;
    min-height: 100%;
}


/* background img zoom on a tag container */
a:hover .hover-zoom img {
	-moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
a:hover .res-image-container.hover-zoom img {
	-moz-transform: translate(-50%, -50%) scale(1.1);
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* cicular bordered window */
.res-image-window-circle {
	padding:100px 10px 10px 10px;
	text-align:center;
}
.res-image-window-circle img {
	display:inline-block;
	width:70%;
	height:70%;
	max-width:300px;
	max-height:300px;
	box-shadow: 0 0 0 25px #fff, 0 0 0 35px #e4ad0e;
}


/*** STICKY BOX ***/

#sticky.stick {
    position: fixed;
    top: 0;
    z-index: 10000;
	width:auto;
}

/*** MODALS ***/

/** PROGRESSIVE MODAL VERT CENTERING USING FLEXBOX**/

.modal {
    z-index: -1;
}

body.modal-open .modal {
    display: flex !important;
    height: 100%;
} 
body.modal-open .modal.in {
	z-index: 5000;
} 
body.modal-open .modal .modal-dialog {
    margin: auto;
}

/** Override the slide down, to just fade in **/
.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
       -o-transition:      -o-transform .3s ease-out;
          transition:         transform .3s ease-out;
  -webkit-transform: translate3d(0, 0, 0);
       -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.modal.in .modal-dialog {
  -webkit-transform: translate3d(0, 0, 0);
       -o-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}

@media (max-width: 768px) {
	.modal-dialog {
		width: 100%;
	}
}

/**** GRID, PAD & MARGIN ADJUSTERS ***/

.nopad {
	padding:0px!important;
}
.padv {
	padding-top:80px;
	padding-bottom:80px;
}
.padvsm {
	padding-top:40px;
	padding-bottom:40px;
}
.nopad-bottom {
	padding-bottom:0px!important;
}
.nopad-top {
	padding-top:0px!important;
}
.nomargin {
	margin:0px!important;
}
.nomargin-bottom {
	margin-bottom:0px!important;
}
.row.nomargin {
	margin:0px!important;
}
.margin-bottom {
	margin-bottom:40px!important;
}
.noborder {
	border:none!important;
}
.nowrap {
	white-space:nowrap!important;
}
.centre {
	text-align:center;
}
.float-left {
	float:left;
}
.inline-block {
	display:inline-block;
}
.centre-vert {
    position: relative;
    top: 50%;
	-webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
@media (min-width:1200px) {
	.nomargin-1200 {
		margin:0px!important;
	}
	.nomargin-bottom-1200 {
		margin-bottom:0px!important;
	}
}

/** FRAMEWORK BREAKS **/

@media (max-width: 400px) {
	.break-400 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}
@media (max-width: 500px) {
	.break-500 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
 	    max-width: 100%;
	}
}
@media (max-width: 600px) {
	.break-600 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}
/** TEXT ALIGN BREAKS **/

@media (max-width: 400px) {
	.text-left-400 {
		text-align: left;
	}
	.text-centre-400 {
		text-align: center;
	}
	.text-right-400 {
		text-align: right;
	}
}
@media (max-width: 500px) {
	.text-left-500 {
		text-align: left;
	}
	.text-centre-500 {
		text-align: center;
	}
	.text-right-500 {
		text-align: right;
	}
}
@media (max-width: 600px) {
	.text-left-600 {
		text-align: left;
	}
	.text-Centre-600 {
		text-align: center;
	}
	.text-right-600 {
		text-align: right;
	}
}

/** HIDE / SHOW **/

.show-mob {
	display:block!important;
}
.hide-mob {
	display:none!important;
}
@media (min-width: 768px) {
	.show-mob {
		display:none!important;
	}
	.hide-mob {
		display:block!important;
	}
}

/** OVERFLOW **/

.overflow-visible {
	overflow: visible!important;
}

/** KEYFRAMES FADE **/

@keyframes fadein {
  0% { opacity: 0 }
  100% { opacity: 1 }
}




/** CORE **/

body, html {
	font-family: 'Open Sans', sans-serif;
 	color:#fff;
	line-height:1.4em;
	font-size: 15px;
	height:100vh;
	background: rgb(32, 36, 39);
    background: linear-gradient(90deg, rgba(32, 36, 39, 1) 0%, rgba(67, 81, 98, 1) 50%, rgba(32, 36, 39, 1) 100%);
}
@media (max-width: 992px) {	
	body {
		font-size:12px;
	}
}


/** TEXT FORMATTING **/

a {
	color:#fff500;
	text-decoration:none;
	font-weight: 400;
}
a:hover, a:active, a:focus {
	color:#fff500;
	text-decoration:none;
}
h1, .faux-h1 {
	font-family: 'Freeman', sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 2.8em;
    line-height: 1.2em;
    margin: 0px 0px 90px 0px;
}
h2 {
	font-family: 'Freeman', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 2.3em;
    line-height: 1.2em;
    margin: 0px 0px 35px 0px;
	color: #fff;
}
h3 {
    font-size: 1.5em;
    font-weight: 400;
    line-height: 1.3em;
    margin: 0px 0px 18px 0px;
	color: #fff;
}
h4 {
	font-size:1.4em;
	margin:0px 0px 14px 0px;
	color: #fff;
}
P + h2, ul + h2, ol + h2 {
	margin-top:55px;
}
P + h3, ul + h3, ol + h3, h2 + h3 {
	margin-top:40px;
}
h3 + h4 {
	margin-top:22px;
}
p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.5em;
    margin: 0px 0px 18px 0px;
}

/* USER TEXT HIGHLIGHT COLOUR */
p::-moz-selection, h1::-moz-selection, h2::-moz-selection, h3::-moz-selection, a::-moz-selection, li::-moz-selection, span::-moz-selection { color: #000; background-color: #fff500 }
p::selection, h1::selection, h2::selection, h3::selection, a::selection, li::selection, span::selection { color: #000; background-color: #fff500 }

b, strong {
    font-weight: 700;
}

.font-large {
	font-size: 145%;
}

/** Lists **/

.copy ul {
	list-style:none;
	padding:0px;
	margin:0px 0px 25px 0px;
}
.copy ul li {
    display: block;
    font-size: 1.25em;
    font-weight: 300;
    line-height: 1.7em;
    background-image: url("<?php echo get_template_directory_uri(); ?>/assets/img/spot.svg");
    background-repeat: no-repeat;
    background-position: 0px 11px;
    background-size: 10px;
    padding: 0px 0px 0px 24px;
    margin-bottom: 20px;
}
.copy ul li ul {
	margin:15px 0px 15px 0px;
}
.copy ul li ul li {
	font-size:1em;
	background-image:url("<?php echo get_template_directory_uri(); ?>/assets/img/spot.svg");
	background-repeat:no-repeat;
	background-position:0px 9px;
	padding:0px 0px 0px 18px;
	margin-bottom:10px;
}
.copy ul.list-alt li {
	display:block;
	font-size:1.3em;
	font-style: italic;
	background-image:none;
	background-repeat:no-repeat;
	background-position:0px 9px;
	padding:0px;
	margin-bottom:18px;
}
.copy ul.list-alt li strong {
	font-style: normal;
}

.copy ol {
	padding:0px;
	margin:0px 0px 25px 0px;
    margin-left: 19px;

}
.copy ol li {
	font-size:1.15em;
	font-weight: 300;
	line-height:1.7em;
	padding:0px 0px 0px 10px;
	margin-bottom:17px;
}
.copy ol li ol {
	margin: 15px 0px 30px 20px;
}
.copy ol li ol li {
	font-size:1em;
	font-weight: 300;
	margin-bottom:14px;
	list-style-type: lower-alpha;
}
ul span, ul li a i {
    display: inline-block;
}
ul.check-list {
	list-style: none;
	padding: 0;
    padding-right: 30px;
}
ul.check-list li {
	margin-bottom: 15px;
    line-height: 1.8em;	
}
ul.check-list li a {
	font-size: 1.3em;
	color: #636363;
	white-space: nowrap;
	transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
}
ul.check-list.big {
    margin: 50px 0px;
    padding-right: 25px;
}
ul.check-list.big li {
	margin-bottom: 25px;
}
ul.check-list.big a {
	font-size: 1.5em;
}
ul.check-list li a i {
	color: #890b0c;
	margin-right: 14px;
	vertical-align: top;
	transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
}
ul.check-list li a span {
	white-space: normal;
}
ul.check-list li a:hover, ul.check-list li a:focus, ul.check-list li a:active, ul.check-list li a:hover i, ul.check-list li a:focus i, ul.check-list li a:active i {
	color: #e04c4d;
}

ul.check-list li a:hover i, ul.check-list li a:focus i, ul.check-list li a:active i {
    margin-left: 4px;
    margin-right: 10px;
}

ul.link-list {
	list-style:none;
	padding:0px;
	margin:0px 0px 35px 0px;
}
ul.link-list li a {
    display: inline-block;
    font-size: 1.4em;
    padding: 5px 0px;
    margin-bottom: 15px;
    color: #484848;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
}
ul.link-list li i {
	margin-right: 10px;
    color: #fff500;
	transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;	
}
ul.link-list li a:hover, ul.link-list li a:focus, ul.link-list li a:active, ul.link-list li a:hover i, ul.link-list li a:focus i, ul.link-list li a:active i {
	color: #fff500;
}

/** BUTTONS & LINKS **/

.btn-group, .btn-container {
    margin-bottom: 20px;
    padding-top: 20px;
    clear: both;
}
.btn-group, .btn-group-vertical {
	margin-top:20px;
}
.btn + .btn {
    margin-left: 10px;
}
.btn, a.btn {
	display: inline-block;
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.42857143;
	transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
}
.btn:active, .btn:focus {
	box-shadow:none;
}
.btn-default, a.btn-default {
    display: inline-block;
    position: relative;
    padding: 15px 30px;
    margin-bottom: 14px;
    margin-right: 0px;
    font-size: 1.3em;
    font-weight: 400;
    line-height: 1.2em;
    border: 0;
    border-radius: 8px;
    background: #fff500;
    white-space: normal;
    color: #353f4a;
    text-align: center;
}
.btn-default.btn-white {
    background: #ffffff;
    color: #636363;
}
.btn.btn-sm {
	font-size:0.9em;
	padding: 8px 12px 6px 12px;
}
.btn-group.btn-centred {
	width:100%;
	text-align:center;
}
.btn-group.btn-centred .btn-default {
	display:inline-block;
	float:none;
}
.btn-default i {
    position: absolute;
    top: 50%;
    right: 20px;
	-webkit-transform: translateY(-50%);
    transform: translateY(-50%);
	-moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;	
}
.btn-default span {
    vertical-align: middle;
}
.btn-block {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    width: calc(100% + 15px);
}
.btn-block .btn-default {
    margin: 0;
}
.btn-default.btn-dark {
	color: #fff500;
	background: #060606;
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-search:hover, .btn-search:active, .btn-search:focus, .btn-default.active {
	color:#fff500!important;
	background: #060606;
}
.btn-default.btn-dark:hover, .btn-default.btn-dark:focus, .btn-default.btn-dark:active {
	color:#060606!important;
	background: #fff;
}
.btn-default:hover i, .btn-default:focus i, .btn-default:active i {
    right: 16px;
}


/** STRAP **/

.strap {
    padding: 70px 80px;
    text-align: center;
    background: #fff500;
}
.strap h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 2.3em;
	color: #353f4a;
}


/** ACCORDIAN **/

.accordion {
    max-width: 500px;
}
h3 .btn-link {
	position: relative;
    padding: 20px 40px 20px 17px;
    color: #fff;
    background: #fff500;
    width: 100%;
    text-align: left;
    border-radius: 0;
    font-size: 0.7em;
}
h3 .btn-link:hover, h3 .btn-link:active, h3 .btn-link:focus {
	color: #fff;
    background: #fff500!important;
}
h3 .btn-link i {
    position: absolute;
    top: 50%;
    right: 19px;
	-webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
ul.accord-list {
    margin-bottom: 25px;
	padding: 0;
	list-style: none;
}
ul.accord-list a {
    display: block;
    padding: 12px 17px;
    margin-bottom: 2px;
    background: #e5e5e5;
}
ul.accord-list li.active a {
	color: #fff500;
    background: #fff;
}
.accordion h3 {
    margin-bottom: 3px;
}

@media (max-width:992px) {
	.accordion {
		margin-top: 50px;
	}
}


/** GRID SETUP - EQUALIZING GUTTERS & PADDING **/

.site-container {
	overflow: hidden;
}
.container {
}
.container-fluid {
    max-width: 1400px!important;
}
.visible {
	overflow: visible;
}
.relative {
	position:relative;
}
.row {
	position:relative;
}
.row.indent {
    margin-left: 0px;
    margin-right: 0;
}
.copy {
    padding-right: 8%;
}

/** HEADER, NAVBAR & TOGGLE **/

.logo {
    display: block;
    width: 195px;
    margin: 25px 25px 10px -5px;
	transition: all .4s ease-in-out;
   -moz-transition: all .4s ease-in-out;
   -webkit-transition: all .4s ease-in-out;
}
.head-top {
    height: 100px;
}
.head-charity {
    position: absolute;
    top: 27px;
    right: 130px;
	opacity: 1;
	transition: all .4s ease-in-out;
   -moz-transition: all .4s ease-in-out;
   -webkit-transition: all .4s ease-in-out;
}
.head-charity h2 {
    font-size: 1em;
    color: #fff;
}
.head-charity img {
    margin-bottom: 14px;
}
.div-line {
    top: 144px;
    position: absolute;
    width: 100%;
    height: 1px;
    background: #1c2125;
    transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}
.smaller-nav .div-line {
    top: 100px;
    opacity: 0;
}
.navbar-fix {
    position: fixed;
	top: 0;
    left: 0;
    right: 0;
	height: 100px;
    background: rgb(32,36,39);
    background: linear-gradient(90deg, rgba(32,36,39,1) 0%, rgba(67,81,98,1) 50%, rgba(32,36,39,1) 100%);
    z-index: 1000;
	transition: all .4s ease-in-out;
   -moz-transition: all .4s ease-in-out;
   -webkit-transition: all .4s ease-in-out;
}
#navmain {
    position: absolute;
    top: 144px;
    left: 0px;
    width: 100%;
	padding-top: 8px;
}
.navbar .nav {
	width: 100%;
	margin-top: 0;
	transition: all .4s ease-in-out;
   -moz-transition: all .4s ease-in-out;
   -webkit-transition: all .4s ease-in-out;
}
.navbar .nav li {
    border-right: solid 1px #fff500;
}
.navbar .nav li:last-child {
    border: none!important;
}
.navbar .nav li a {
	padding: 10px 10px;
	color: #fff;
	font-size: 1.15em;
	white-space: nowrap;
	transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;	
}
.navbar .nav li a:hover, .navbar .nav li a:focus, .navbar .nav li a:active {
	color: #fff500;
}
.navbar-right {
    position: absolute;
    top: 60px;
    right: 15px;
    text-align: right!important;
	transition: all .4s ease-in-out;
   -moz-transition: all .4s ease-in-out;
   -webkit-transition: all .4s ease-in-out;
}
.fa {
    position: absolute;
    right: 89px;
    top: 13px;
    width: 54px;
    opacity: 1;
    transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}

/* TOGGLE OVERRIDE */

.toggle {
    position: absolute;
    right: -25px;
    top: -29px;
    background: none;
}
.toggle .toggle-bar {
    width: 50px;
    height: 4px;
    background: #fff;
}
.toggle.collapsed .toggle-bar {
    background: #fff500;
}
.toggle.collapsed .menu-text {
    margin-top: 6px;	
    color: #ffffff;
}
.toggle.collapsed .toggle-bar.mid {
    top: 11px;
}
.toggle.collapsed .toggle-bar.bottom {
    top: 22px;
}
.toggle:hover {
	background:none;
}

/** Dropdown using Bootstrap Walker **/

.dropdown-menu {
    background: #202428;
    padding: 20px 40px 40px 40px;
	border-radius: 0;
	margin-top: 7px;
}
.dropdown-menu li {
    border-bottom: solid 1px #fff500;
	border-right: none !important;
}
.dropdown-menu li a {
	display: block;
	padding: 8px 10px;
	color: #fff;
	text-align: left;
	font-size: 1em;
}
.dropdown-menu li a:hover, .dropdown-menu li a:active, .dropdown-menu li a:focus {
    background: none;
    color: #fff500;
}


/** SMALLER NAV **/

.navbar-fix.smaller-nav {
    height: 75px;
    border-bottom: solid 1px #e5e5e5;
}
.smaller-nav .logo {
    width: 185px;
    margin-top: 12px;
}
.smaller-nav .nav {
    margin-top: -70px;
}
.smaller-nav .navbar .nav li {
	width: 100%;
    border-bottom: solid 1px #fff500;
    border-right: none;
}
.smaller-nav .navbar-right {
    top: 13px;
}
.smaller-nav #navmain {
	position: absolute;
	top: 0;
	right: -15px;
	left: auto;
	padding: 141px 40px 50px 40px;
	width: 340px!important;
	height: auto!important;
	background: #202428;
	z-index: 1;
}
.smaller-nav #navmain.navbar-collapse {
	opacity: 0;
	display: none !important;
	}
.smaller-nav #navmain.navbar-collapse.collapse.show {
	opacity: 1;
	display: block !important;
}
.smaller-nav .navbar .nav li a {
	display: block;
	padding: 8px 10px;
	color: #fff;
}
.smaller-nav .nav-item {
    text-align: left; 
}
.smaller-nav .navbar .nav li a:hover, .smaller-nav .navbar .nav li a:focus, .smaller-nav .navbar .nav li a:active {
	color: #fff500;
}
.smaller-nav .head-charity, .smaller-nav .fa {
	opacity: 0;
}
.smaller-nav .toggle {
    top: 1px;
}

/* Smaller Nav Dropdown */

.smaller-nav .dropdown-menu {
    position: relative;
    padding: 0px;
    top: 0;
    width: 100%;
    background: #161616;
}
.smaller-nav .dropdown-item span {
    white-space: normal;
}

.smaller-nav .dropdown-team span {
    white-space: normal;
}

/** TEAMS BUTTON DROPDOWN **/

.team-buttons .dropdown-menu {
    padding: 10px 20px 30px 20px;
    margin-top: 0px;
}
.dropdown-item {
	padding: 5px 10px;
	color: #fff;
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item:active {
	color: #fff500;
	background: none;
}

.dropdown-team {
	padding: 5px 10px;
	color: #fff;
}
.dropdown-team:hover, .dropdown-team:focus, .dropdown-team:active {
	color: #fff500;
	background: none;
}

.dropdown-menu .dropdown-team {
    display: block;
}


/** MOBILE NAV **/

@media (max-width:992px) {
	.div-line {
		top: 100px;
		opacity: 0;
	}
	.head-charity {
		opacity: 0;
	}
	.navbar-right {
		padding-right: 96px;
	}
	#navmain {
		position: absolute;
		top: 0;
		right: -15px;
		left: auto;
		padding: 130px 30px 50px 30px;
		width: 300px!important;
		height: auto!important;
		background: #202428;
		z-index: 1;
	}
	#navmain .nav {
		display: block;
	}
	.navbar .nav li {
		border-right: none;
		border-bottom: solid 1px #fff500;
	}
	#navmain .nav-item {
		text-align: left;
	}
	#navmain.navbar-collapse {
		opacity: 0;
	}
	#navmain.navbar-collapse.collapse.show {
		opacity: 1;
	}
	.navbar .nav li a {
		display: block;
		padding: 8px 10px;
		color: #fff;
	}
	.smaller-nav #navmain {
        left: auto !important;
        padding: 160px 30px 50px 30px !important;
    }
	.dropdown-menu {
		position: relative;
		padding: 0px;
		top: 0;
		width: 100%;
		background: #161616;
		float: none;
	}
	.dropdown-item span {
		white-space: normal;
	}
	.dropdown-team span {
		white-space: normal;
	}
	.dropdown-menu li a {
		font-size: 1em!important;
	}
}

/** NAVBAR MQs **/

@media (min-width: 768px) {
	.navbar-fix {
        height: 145px;
    }
	img.fa {
		width: 66px;
		top: 31px;
		right: 116px;
	}
	.logo {
		width: 290px;
		margin: 35px 25px 30px 10px;
	}
	.toggle {
		position: absolute;
        right: -14px;
        top: -8px;
		background: none;
	}
	.smaller-nav .toggle {
        top: 1px;
	}
}
@media (min-width: 992px) {
	.navbar-fix {
        height: 200px;
    }
    .smaller-nav .navbar-expand-lg .navbar-toggler {
        display: block;
    }
	img.fa {
		width: 90px;
		top: 10px;
		right: 0px;
	}
	.logo {
		width: 400px;
		margin: 35px 25px 30px 10px;
	}
	.toggle {
		position: absolute;
		right: -25px;
		top: 1px;
		background: none;
	}
	.smaller-nav .toggle {
		top: 1px;
	}
}

@media (max-width: 600px) {
	#navmain {
		width: 100%!important;
		right: 0;
		left: 0;
	}
	.smaller-nav #navmain {
		width: 100%!important;
		right: 0;
		left: 0;
	}
}

/** HERO **/

.hero {
	position: relative;
    height: 350px;
    max-height: 60vh;
    min-height: 300px;
    margin-top: 100px;	
	background-size: cover;
	background-position: center;
}
.hero.short {
	height: 280px;
	min-height: 240px;
}
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: rgba(43, 47, 49, .3);
}
.hero-caption {
	position: absolute;
    top: 55%;
	left: 50%;
	width: 80%;
	text-align: center;
	transform: translate(-50%, -50%);
}
.hero h1 {
	font-family: 'Freeman', sans-serif;
    font-size: 6.5em;
    line-height: 1em;	
    color: #fff;
}
.hero h1 span {
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.7em;
    line-height: 1.1em;	
	text-transform: none;
}

/** BLOCKS & FEATS & ADJUSTMENTS **/

section {
    background: linear-gradient(90deg, rgba(32, 36, 39, 1) 0%, rgba(67, 81, 98, 1) 50%, rgba(32, 36, 39, 1) 100%);
}

.feat-block {
    padding: 60px 20px;
}
.feat-block.right img {
    position: relative;
    top: 0px;
    right: -90px;	
}
.feat-block.left img {
    position: relative;
    top: 50px;
    left: -70px;
    width: 120%;
    max-width: none;
    margin-bottom: 60px;
}
.feat-block p {
    font-size: 1.3em;
}
.short-block {
    padding: 50px 10px;
}
.content-block {
	position: relative;
	padding: 80px 30px;
}
.content-block h1 {
    margin-bottom: 40px;
}
section.dark-bg {
	background: #0e1012;
}
section.home-img-1 {
	position: relative;
}
.home-img-1 {
    position: relative;
    height: 340px;
    width: calc(100% + 60px);
    margin: -80px 0px 40px -30px;
    background: #0e1012;
    background-image: url("<?php echo get_template_directory_uri(); ?>/assets/img/celebrating.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

/** TEAM BUTTONS **/

.team-buttons .dropdown {
    display: inline-block;
}
.team-buttons .btn-container {
    display: inline-block;
}

/** TITLE BAR **/

.title-bar {
    margin-top: 100px;
    background: #fff500;
}
.title-bar h1 {
    position: relative;
    top: 50%;
    translate: 0 -50%;
	color: #212529;
}


@media (min-width:768px) {
	.hero {
		height: 650px;
		max-height: 78vh;
		min-height: 400px;
		margin-top: 145px;
	}
	.title-bar {
		 margin-top: 145px; 
	}
	.hero.short {
		height: 550px;
	}
	.feat-block {
		padding: 90px 70px;
	}
	.content-block {
		padding: 100px 80px;
	}
	.home-img-1 {
        position: absolute;
        height: 100%;
        width: 40%;
        right: 0;
        top: 0;
        bottom: 0;
        margin: 0;
    }
}
@media (min-width: 992px) {
	.hero {
		height: 804px;
		margin-top: 200px;
	}
	.hero.short {
		height: 650px;
	}
	.title-bar {
		margin-top: 200px; 
	}
	.team-buttons .dropdown {
		display: block;
	}
	.team-buttons .btn-container {
		display: block;
	}
}
@media (min-width: 1200px) {

}

.title-bar + .hero {
    margin-top: 0;
}

/** CAROUSEL **/

.carousel-indicators {
    bottom: -53px;
}
.carousel-indicators li {
    width: 23px;
    height: 23px;
    margin: 0 5px;
    border-radius: 100%;
}
.carousel-indicators li.active {
    background-color: #fff500;
}
.carousel-item img {
	width: 100%;
}
p.carousel-caption {
    position: relative;
    background: #677381;
    left: 0;
    top: 0;
    right: 0;
}


/** NEWS TICKER **/

.news-ticker {
    background: #fff500;
    color: #0e1012;
    padding: 24px 70px;
}
.news-ticker p {
    margin: 0;
}


/** TABLES & LISTS **/

.table-block, .list-block {
    margin-bottom: 55px;
}

.table-block h2, .list-block h2 {
    padding: 15px;
    color: #0e1012;
    font-size: 1.9em;
    background: #fff500;
}

table {
	margin-top: 15px;
}
table tr {
	border-bottom: solid 1px #fff500;
}
table tr td {
    color: #fff;
    padding: 5px;
    border-right: solid 1px #999999;
    text-align: left;
    vertical-align: top;
}
table tr td:last-child {
    border-right: none;
}
table tr:last-child {
	border-bottom: none;
}
table .table-team {
	padding-left: 10px;
	white-space: nowrap;
	font-weight: bold;	
}
table p {
	color: #FFFFFF;
	padding-left: 10px;
	padding-right: 0%;
}
table th {
    padding: 5px;
    background: #fff500;
    color: #0e1012;
	border-right: solid 1px #999999;

}
table tr:nth-child(even) {
    background: #34373b;
}

.list-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-block li {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: solid 1px #999;
}
.list-block li:last-child {
    border-bottom: none;
}

.content-box {
    padding: 15px 18px;
    background: #212529;
    margin-bottom: 4px;
}
.content-box.managers {
	padding: 25px 18px;
}
.content-box ul {
    padding: 0;
    list-style: none;
}
.content-box li {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: solid 1px #37424e;
}
.content-box li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.content-box h3 {
    margin: 12px 0;
    font-size: 1.4em;
}
.content-box a {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 1.1em;
}
.content-box i {
    margin-right: 8px;
}
.content-box.yellow-top {
	border-top: solid 1px #fff500;
}
.content-box + h2 {
	margin-top: 50px;
}
.short-head {
	margin-bottom: 15px;
}
h2 span {
	color: #fff500;
}
h2 i {
    font-size: 80%;
}
.anchor {
    position: absolute;
    margin-top: -100px;
}
.sub-box {
    padding: 8px;
    margin: 12px 0;
    background: #0e1012;
}
.info {
    display: inline-block;
    width: calc(99% - 110px);
	vertical-align: top;
}
.profile {
    display: inline-block;
    width: 110px;
	vertical-align: top;
}
.info h3 {
    margin: 0 3px 12px -8px;
    padding: 5px 10px 5px 12px;
    color: #0e1012;
    background: #fff500;
}
.info p {
    padding: 0 0 0 5px;
    margin-bottom: 3px;
}
.info i {
    font-size: 85%;
    margin-right: 8px;
}
.xtra-marg {
	margin: 40px 0 55px 0;
}
.sm-marg {
	margin-bottom: 14px;
}
.page-strap {
    font-size: 190%;
    color: #fff500;
    margin-bottom: 55px;
    padding-bottom: 30px;
    border-bottom: solid 1px;
}

/** NEWS **/

.latest-news {
    background: #0e1012;
}
.box-link {
    display: block;
    padding: 34px 30px 28px 30px;
    margin: 0 -14px 4px -14px;
    background: #212529;
	font-size: 1.1em;
	transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}
.box-link:hover, .box-link:focus, .box-link:focus {
	background: #fff500;
	color: #212529;
}


/**** PAGINATION ****/

.pagination {
    display: inline-block;
    margin: 0px;
}
.pagination>li>a, .pagination>li>span {
    padding: 5px 10px;
    margin-right: 3px;
    color: #565758;
    font-weight: 700;
    background-color: #e2e1d1;
    border: 1px solid #e2e1d1;
    font-family: "garamond-premier-pro",serif;
}
.pagination>li>a:hover, .pagination>li>a:focus, .pagination>li>a:active {
	color: #bf1f24;
    background-color: #fff;
}
.pagination>li.active>a {
    padding: 10px 15px;
    margin-top: -6px;
    color: #fff;
    font-size: 1.2em;
    background-color: #bf1f24;
    border-color: #bf1f24;
}
.pagination>li>span.active, .pagination>li>span.active:focus, .pagination>li>span.active:hover {
    color: #fff;
    background-color: #bf1f24;
    border-color: #bf1f24;
}
.pagination>li>.page-numbers.prev, .pagination>li>.page-numbers.next {
    background: none;
    border: none;
    font-size: 1.5em;
    margin-top: -3px;
}
a.btn.btn-default.btn-sm.view-all {
    vertical-align: top;
}

/*** VIDEO ***/

.video-container {
	position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    overflow: hidden;
    background-size: cover;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-image: none;
}
.video-container .res-image-container video {
	min-width: 100%;
}
.csat-container {
	margin-top: 40px;
	padding: 50px 0px;
	border-top: 1px solid #e8ece7;
}

/*** ADDRESS BLOCK***/

.map {
    height: 500px;
    margin-bottom: 35px;
    background: #ccc;
}
.contact h3 {
    font-size: 1.5em;
}
.contact p {
    font-size: 1.5em;
	line-height: 1.5em;
    margin-top: 35px;
}
.contact a {
    display: block;
    margin-bottom: 20px;
    font-size: 1.7em;
    color: #fff;
}
.contact a i {
    margin-right: 10px;
}

@media (max-width:992px) {
	.map {
		height: 400px;
	}
}


/*** FOOTER **/

.footer {
	position:relative;
	padding: 35px 35px;
	color: #fff;
	background: #0e1012;
}
.footer-col {
	padding: 20px;
}
.footer .logo {
    display: inline-block;
    width: 100%;
    max-width: 260px;
    margin: 0 0 30px 0;
}
.footer .charity h2 {
    font-size: 1.1em;
    font-weight: 100;
}
.foot-logos img {
    margin: 0 10px 20px 10px;
}
.footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.footer ul li {
	margin-bottom: 5px;
}
.footer ul a {
	display: block;
	font-size: 1em;
	color: #fff;
}
.footer ul a:hover {
	color: #eb62c8;
}
.footer p {
    font-size: 0.9em;
}
.foot-tel {
	display: block;
	margin: 10px 0px;
    font-size: 1.8em;
	color: #fff;
}
.footer-links {
    padding: 20px 0px 0px 0px;
}
.footer-links a {
    display: block;
    font-size: 1.2em;
    margin-bottom: 7px;
}
.footer-links a i {
    margin-right: 8px;
}

@media (max-width:992px) {
	.footer-col {
		padding: 40px 60px;
	}
}
@media (max-width:992px) {
	.footer .footer-col {
		text-align: center!important;
	}
	.footer .footer-col + .footer-col {
		padding-top: 10px;
	}
}

/** COPY TABLE **/

.copy table {
    width: auto!important;
    height: auto!important;
	margin: 40px 0px;
}
.copy table th {
   	padding: 10px 14px 10px 14px;
	vertical-align: top;
}
.copy table td {
    padding: 10px 14px 10px 14px;
    background: #e2e1d1;
    border-bottom: solid 1px #fff;
    border-right: solid 1px #fff;
}
.copy table tr:nth-child(odd) td {
    background-color: #eeede3;
}

/** COLOURS **/

.white-bk {
	background-color:#fff!important;
}
.grey-bk {
	background-color:#e1e1e1!important;
}
.l-grey-bk {
	background-color:#e5e5e5!important;
}
.d-grey-bk {
	background-color:#636363!important;
}


/** TEXT & SIZING MQs **/

@media (max-width:768px) {
	.hero-caption {
		top: 64%;
	}
	.strap {
		padding: 50px 40px;
	}
	h1 {
		font-size: 2.1em;
	}
	.hero h1 {
		font-size: 3.6em;
	}
	h2 {
		font-size: 2.1em;
		margin: 0px 0px 22px 0px;
	}
	.feat-block p {
		font-size: 1.3em;
	}
	ul.link-list li a {
		font-size: 1.3em;
		margin-bottom: 8px;
	}
	.btn-group, .btn-container {
		margin-bottom: 15px;
		padding-top: 10px;
	}
	.btn-default, a.btn-default {
		padding: 10px 20px;
		margin-bottom: 10px;
		font-size: 1.2em;
	}
	.strap h2 {
		font-size: 1.6em;
	}
}


/** Additional **/

.no-results {
	color: #fff;
	font-size: 1.2em;
}
.disabled {
	pointer-events: none;
    background: #e8ece7;
    color: #4d4f53;
}

/** EFFECTS **/

.b-lazy-bg, .b-lazy {
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    max-width: 100%;
    opacity: 0!important;
}
.b-loaded {
    opacity: 1!important;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}


/** WP Bar fix **/


.logged-in .navbar-fix {
    margin-top: 32px;
}

.eocjs-newsticker {
    padding: 10px 0;
    background-color: transparent !important;
	font-size: 1.1em;
}

