/*
Theme Name:  Eardisland Memorial Walks. Child of Bootstrap Basic.
Theme URI:  https://www.woodcockwebservices.co.uk
Description:  Theme for Eardisland Memorial Walks
Author:  Ben Woodcock
Textdomain:  woodcockwebservices
Author URI:  https://www.woodcockwebservices.co.uk
Template:  bootstrap-basic
Version:  1.0
License:  GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html                 
*/


:root {
  --background: #FFFFFF;
  --red: #C60C30;
  --blue: #002776;
  --lightblue: #b3bed6;
  --green: #D2D98F;
  --lightgreen: #E9ECC7;
  --black: #000000
}

div {
	/*border: 1px solid red!important;*/
}

/*GENERAL*/

body {
	font-family: 'Mulish', sans-serif;
	color: var(--black);
	background-color: var(--background);
}

html {
  scroll-behavior: smooth;
}

p, h1, h2, h3 {
	font-family: 'Mulish', sans-serif;
}

h1:not(.logo) {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.8em;
	margin-top: 10px!important;
	margin-bottom: 20px!important;
	background-color: var(--lightblue);
	color: #000;
	max-width: max-content;
	margin: auto;
	padding: 0px 20px;
	text-transform: uppercase;
}

@media (min-width: 350px) {
h1:not(.logo) {
	font-size: 18px;
}
}

@media (min-width: 576px) {
h1:not(.logo) {
	font-size: 20px;
}
}

@media (min-width: 992px) {
h1:not(.logo) {
	font-size: 25px;
}
}

h2 {
	font-size: 1.6em;
	font-weight: 400;
}

h3 {
	font-size: 1.6em;
	font-weight: 300;
}

p {
	font-size: 1.4em;
	text-align: center;
	width: 80%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	font-weight: 300;
}

.p-header {
	font-size: 1.4em;
	text-align: center;
	width: 80%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 30px;
	font-weight: 300;
}

@media (min-width: 782px){
.p-header {
	font-size: 1.4em;
	text-align: left;
	width: 100%;
	margin: auto;
	margin-top: 0px;
	margin-bottom: 30px;
	font-weight: 300;
}	
}

a {
	color: var(--blue);
}

a:hover, a:focus {
	text-decoration: none;
	color: var(--black);
}

#content a:not(.fg-thumb) img {
	border: 1px solid var(--blue);
	padding: 5px;
}

#content a:not(.fg-thumb) img:hover {
	border-color: 1px solid var(--black);
}

.t-20 {
	margin-top: 20px;
}

.b-30 {
	margin-bottom: 30px;
}

/*HEADER*/

.header {
	    background-color: var(--background);
}

.sticky {
    position: fixed;
    z-index: 99;
    right: 0;
    left: 0;
}

.header-row {
	background-color: var(--green);
}

.logo {
	text-align: center;
}

.logo a {
	text-decoration: none;
	color: #fff;
}

.logo h1 {
	font-family: 'Mulish', sans-serif;
	color: #fff;
	font-size: 14px;
	line-height: 1.8em;
	font-weight: 300;
	margin-bottom: 20px;
    margin-top: 10px;
	text-transform: uppercase;
}

.logo h1:before{
	content: "";
	display: inline-block;
	background: url(https://emw.woodcockwebservices.co.uk/wp-content/themes/eardisland-memorial-walks/images/poppy.png) no-repeat;
	background-size: contain;
	width: 15px;
	height: 15px;
	position: relative;
	top: 2px;
	right: 5px;
}

.logo-sign {
	background-color: var(--blue);
	width: max-content;
	margin: auto;
	padding-left: 10px;
    padding-right: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
	clip-path: polygon(0% 0%, 95% 0, 100% 50%, 95% 100%, 0% 100%);
}

@media (min-width: 350px) {

.logo h1 {
	font-size: 18px;
}

}

@media (min-width: 576px) {

.logo h1 {
	font-size: 20px;
}

.logo h1:before{
	width: 20px;
	height: 20px;
	top: 4px;
	right: 5px;
}
}


@media (min-width: 992px) {

.logo h1 {
	font-size: 25px;
}

.logo h1:before{
	width: 23px;
	height: 23px;
	top: 4px;
	right: 4px;
}
}

/*MENU*/

.navbar-brand, .navbar-nav>li>a {
	text-shadow: none;
}

.navbar-default {
    background-color: var(--green)!important;
    border-color: var(--green)!important;
	text-align: center;
    margin-bottom: 0px;
}

.navbar-toggle {
    position: relative;
    margin: auto;
    background-image: none;
    border: none;
    border-radius: 4px;
	float: none;
}

.navbar-toggle .icon-bar {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 6px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--blue);
}

.navbar-default, .navbar-default .navbar-toggle:hover, .navbar-header {
    background-color: var(--green);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
	background-image: none;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a{
	background-color: transparent;
	color: #000;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
	background-image: none;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-top: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
}

.navbar-default .navbar-nav>li>a {
	color: var(--blue);
    font-size: 2.5em;
    font-weight: 400;
	font-family: "Mulish", sans-serif;
	transition: color 0.5s ease;
	padding-top: 20px;
}



@media (min-width: 768px){

.navbar-nav{
        float:none;
        margin: 0 auto;
        display: table;
        table-layout: fixed;
}
	
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border: none;
}


.navbar {
	border: none;
	margin-bottom: 6px;
}

.navbar-default .navbar-nav>li>a {
	color: var(--blue);
    font-size: 1.3em;
    font-weight: 400;
	font-family: "Mulish", sans-serif;
	transition: color 0.5s ease;
	padding: 15px 8px;
}
}

@media (min-width: 992px) {

.navbar-default .navbar-nav>li>a {
    font-size: 1.5em;
	padding: 15px 15px;
}

#menu-main-menu > li:not(:last-child)::after {
    font-size: 5px;
}


}

@media (min-width: 1200px) {

.navbar-default .navbar-nav>li>a {
    font-size: 1.5em;
	padding: 15px 15px;
}

}

/*CONTACT BUTTON*/

.wpcf7-submit {
	font-family: 'Mulish', sans-serif;
	color: #fff;
	font-size: 14px;
	line-height: 1.8em;
	font-weight: 300;
	margin-bottom: 20px;
    margin-top: 10px;
	text-transform: uppercase;
	background-color: var(--blue);
	border: 0px;
	border-width: 0px;
	transition: background-color 0.5s ease;
}

.wpcf7-submit {
    font-size: 1em;
}

.wpcf7-submit:hover {
	background-color: var(--black)!important;
}

/*BUTTON*/

.wp-block-button__link, .mc_signup_submit_button, .btn-primary {
	background-color: var(--blue);
	border-radius: 0px;
	width: max-content;
	text-transform: uppercase;
	margin: auto;
	padding-left: 10px!important;
    padding-right: 20px!important;
    padding-top: 0px!important;
    padding-bottom: 0px!important;
	clip-path: polygon(0% 0%, 95% 0, 100% 50%, 95% 100%, 0% 100%);
	transition: background-color 0.5s ease;
	font-size: 14px!important;
	line-height: 1.8em!important;
	font-weight: 300!important;
	color: #fff;
	border-style: none;
	font-family: 'Mulish', sans-serif;
	background-image: none;
}

.wp-block-button__link:hover, .mc_signup_submit_button:hover, .btn-primary:hover {
    background-color: var(--lightblue)!important;
	color: #fff;
}

.wp-block-buttons .btn-emw {
	margin-bottom: 30px;
}

@media (min-width: 350px) {
.wp-block-button__link {
	font-size: 18px;
}
}

@media (min-width: 576px) {
.wp-block-button__link {
	font-size: 20px;
}

.home-column .wp-block-button__link {
	font-size: 14px;
}
}


@media (min-width: 992px) {
.wp-block-button__link {
	font-size: 25px;
}

.home-column .wp-block-button__link {
	font-size: 20px;
}
}

/*SCROLL TO TOP BUTTON*/

#scrollToTop {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: var(--blue);; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 5px 10px; /* Some padding */
  border-radius: 0px; 
  font-size: 1.7em; /* Increase font size */
  height: 30px;
}

#scrollToTop:hover {
  background-color: var(--black);
}

/*SEPERATOR*/

.wp-block-separator {
	width: 200px!important;
	border-bottom: 2px solid var(--red);
	margin-bottom: 40px;
}
/*BODY*/



#content {
	margin-top: 112px;
}

#post-9 .entry-content {
	margin-top: -10px !important;
}

#main-column .post, #main-column .page {
	border: 0px;
}

@media (min-width: 782px){
#content {
	margin-top: 130px;
}

#post-9 .entry-content {
	margin-top: -18px !important;
}
}

.entry-header {
	display: none;
}

.emw-text-box {
	background-color: var(--grey);
	color: var(--darkgrey);
	border: 1px solid #fff;
	box-shadow: 0px 0px 0px 5px var(--grey);	
}

.emw-text-box h2 {
	font-size: 2.5em;
}

.entry-title {
	text-align: center;
}

/*GALLERIES*/
.fg-panel.fg-light, .fg-panel.fg-light .fg-panel-thumb:is(.fg-idle,.fg-loading,.fg-error) .fg-panel-thumb-media {
    background-color: var(--background)!important;
}

.fg-item-inner {
    box-shadow: none!important;
}

.fg-panel.fg-dark .fg-panel-button[aria-pressed=true], .fg-panel.fg-light :is(.fg-panel-button,.fg-panel-area-toggle,.fg-panel-thumbs-button) {
    color: var(--blue)!important;
}

.fg-media-caption {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6em;
}

.foogallery.fg-carousel.fg-light button.fg-carousel-bullet {
    background-color: var(--blue)!important;
    border-color: var(--blue)!important;
}

.fg-carousel-bottom {
	margin-top: 10px;
}

.fg-carousel-next .fg-icon, .fg-carousel-prev .fg-icon {
	color: var(--blue);
}

/*DONATIONS*/

.donate-button-box {
	text-align: center;
}

/*GATE COLUMN*/
.gate-column {
	background-color: var(--lightgreen)!important;
}

.gate-column img {
	width: 100%;
}

/*HOME COLUMN*/
.home-column {
	background-color: var(--lightgreen)!important;
	display: flex !important;
	flex-direction: column !important;
}

.home-column img {
	width: 100%;
}

.home-column p {
	margin-top: 0px;
}

.home-column h2, .home-column .wp-block-buttons>.wp-block-button {
	padding-left: 10%;
	margin-top: 0px;
}

.home-column .wp-font-awesome-icon {
	color: var(--green);
	margin-right: 5px;
	font-size: 1em;
	top: 1px;
    position: relative;
}

.home-column .poppy-button a:before {
	content: "";
	display: inline-block;
	background: url(https://emw.woodcockwebservices.co.uk/wp-content/themes/eardisland-memorial-walks/images/poppy.png) no-repeat;
	background-size: contain;
	width: 18px;
	height: 18px;
	position: relative;
	top: 2px;
	right: 5px;
}

@media (min-width: 576px) {
.home-column .poppy-button a:before {
	width: 14px;
	height: 14px;
}
}

@media (min-width: 992px) {
.home-column .poppy-button a:before {
	width: 17px;
	height: 17px;
	top: 5px;
}
}

.home-column .wp-block-buttons {
	margin-top: auto;
	margin-bottom: 20px;
}

/*SLIDER*/
.n2_clear {
	margin-bottom: 30px;
}

/*CONTACT FORM*/

input:not(.wpcf7-submit, type=[image]), textarea {
	border: 1px solid var(--green);
	border-radius: 0px;
	width: 100%;
	background-color: var(--lightgreen);
}

input:not(.wpcf7-submit):focus, input:not(.wpcf7-submit):focus-visible, input:not(.wpcf7-submit):active {
	border: 1px solid var(--black)!important;
}

.wpcf7-spinner {
	display: none;
}

label {
	font-weight: 400;
}

.codedropz-upload-inner h3 {
    margin: 5px 0;
    font-size: 20px;
    line-height: 32px;
    word-break: break-word;
}

/*QUOTE*/

.wp-block-quote {
	background-color: var(--lightgreen);
	width: 80%;
	margin: auto;
	border-left: 0px;
	padding-left: 0px;
	font-size: 1em;
}

.wp-block-quote p {
	margin-bottom: 20px!important;
	font-style: italic!important;
}

/*SIDEBAR BOX*/

.sidebar-box-our-fallen, .sidebar-box-the-walks{
 background-color: var(--lightgreen);
 height: 80px;
 width: 100%;
 transition: background-color 0.5s ease;
 margin-bottom: 10px;
}

.sidebar-box-our-fallen:hover, .sidebar-box-the-walks:hover {
 background-color: var(--green);
}

.sidebar-box-our-fallen .box-text, .sidebar-box-the-walks .box-text {
	text-align: left;
	width: 70%;
	height: 100%;
	float: left;
	display: inline-block;
	padding-left: 10px;
}

.sidebar-box-our-fallen .box-img,.sidebar-box-the-walks .box-img {
	text-align: right;
	width: 30%;
	height: 100%;
	float: right;
}

.sidebar-box-our-fallen h3, .sidebar-box-the-walks h3{
 margin-top: 10px;
 font-size: 14px;
 font-weight: 400;
}

.sidebar-box-our-fallen p, .sidebar-box-the-walks p{
 margin-top: 5px;
 font-size: 12px;
 text-align: left;
 width: 100%;
}

.sidebar-box-our-fallen img, .sidebar-box-the-walks img{
 height: 80px;
 width: 80px;
 border: 0px!important;
 padding: 0px!important;
}

@media (min-width: 576px) { 
.sidebar-box-our-fallen h3, .sidebar-box-the-walks h3{
 font-size: 20px;
}

.sidebar-box-our-fallen p, .sidebar-box-the-walks p{
 font-size: 16px;
}
}

@media (min-width: 782px) { 
.sidebar-box-our-fallen h3, .sidebar-box-the-walks h3{
 font-size: 12px;
}

.sidebar-box-our-fallen p, .sidebar-box-the-walks p{
 font-size: 12px;
}
}

@media (min-width: 992px) {
.sidebar-box-our-fallen h3, .sidebar-box-the-walks h3{
 font-size: 16px;
}

.sidebar-box-our-fallen p, .sidebar-box-the-walks p{
 font-size: 14px;
}
}

@media (min-width: 1200px) {
.sidebar-box-our-fallen h3, .sidebar-box-the-walks h3{
 font-size: 20px;
}

.sidebar-box-our-fallen p, .sidebar-box-the-walks p{
 font-size: 16px;
}
}

/*HEADER BOX*/

.header-box-our-fallen{
	width: 100%
}

.header-box-our-fallen .box-text {
	background-color: var(--lightgreen);
	width: 100%;
	display: inline-block;
	padding: 10px;
}

.header-box-our-fallen .box-img {
	text-align: center;
	width: 100%;
	margin-bottom: 10px;
}

.header-box-our-fallen h3{
 margin-top: 10px;
 font-size: 14px;
 font-weight: 400;
}

.header-box-our-fallen ul {
    list-style-type:none;
    padding:0px;
    margin:0px;
}

.header-box-our-fallen li{
 margin-top: 5px;
 font-size: 12px;
 text-align: left;
 width: 100%;
}

.header-box-our-fallen img{
 height: 170px;
 width: 170px;
 border: 0px!important;
 padding: 0px!important;
}

@media (min-width: 576px) { 
.header-box-our-fallen {
 height: 120px;
}

.header-box-our-fallen .box-text {
	background-color: var(--lightgreen);
	text-align: left;
	width: 70%;
	height: 100%;
	float: left;
	display: inline-block;
	padding-left: 10px;
	padding-top: 10px;
}

.header-box-our-fallen .box-img {
	background-color: var(--lightgreen);
	text-align: left;
	width: 30%;
	height: 100%;
	float: left;
}

.header-box-our-fallen li{
 font-size: 13px;
}

.header-box-our-fallen img{
 height: 120px;
 width: 120px;
}
}

@media (min-width: 782px) { 
.header-box-our-fallen .box-text {
	width: 75%;
}

.header-box-our-fallen .box-img {
	width: 25%;
}
.header-box-our-fallen li{
 font-size: 12px;
}
}

@media (min-width: 992px) {
.header-box-our-fallen li{
 font-size: 14px;
}
}

@media (min-width: 1200px) {
.header-box-our-fallen .box-text {
	width: 80%;
}

.header-box-our-fallen .box-img {
	width: 20%;
}
.header-box-our-fallen li{
 font-size: 14px;
}
}

/*WALK & GATE BOX*/
.walk-gate-box {
	background-color: var(--lightgreen);
	padding-top: 15px;
	padding-bottom: 15px;
	margin-bottom: 10px;
}

.walk-gate-box p {
	margin-top: 0px;
	margin-bottom: 10px;
}

.walk-gate-box h2 {
	margin-top: 0px;
}

/*WALK PAGE*/
.walk-list {
    list-style-type:none;
	font-size: 1.4em;
	background-color: var(--lightgreen);
	padding-top: 20px;
	padding-bottom: 20px;
}

.wp-font-awesome-icon {
	color: var(--green);
	margin-right: 10px;
	font-size: 1.6em;
	top: 6px;
    position: relative;
}

.foogallery.fg-carousel {
	margin-top: 30px;
}

.wp-socializer {
	margin-bottom: 30px !important;
}

/*NEWSLETTERS*/

.newsletters h2, .newsletters h5{
	text-align: center;
	text-transform: uppercase;
}

.newsletters .panel-body {
    list-style-type:none;
	background-color: var(--lightgreen);
	padding-top: 20px;
	padding-bottom: 20px;
}

.newsletters .wp-block-button {
	text-align: center;
}

.newsletters .panel-footer {
    background-color: var(--lightgreen);
}

/*MAILCHIMP FORM*/
.wp-block-mailchimp-mailchimp {
	background-color: var(--lightgreen);
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
}

.mc_input {
	padding: 5px 3px!important;
}

/*GOOGLE MAPS*/
.google-maps {
	text-align: center;
	margin-bottom: 20px;
}

.google-maps {
        position: relative;
        padding-bottom: 75%; // This is the aspect ratio
        height: 0;
        overflow: hidden;
    }

.google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

	
/*FOOTER*/

#site-footer, #footer-row {
	    background-color: var(--green);
		padding: 0px;
		border: 0px;
}

.site-footer {
    background-color: var(--green);
	border: 1px solid #fff;
	box-shadow: none;
	font-size: 1.2em;
}

.footer-one, .footer-two {
	text-align: center;
} 

.footer-area-five p {
	text-align: center;
	font-size: 0.9em;
}

#site-footer ul {
  font-size: 1.5em;
  list-style-type: none; 
  padding: 0;
  margin: 0;
  font-family: 'Mulish', sans-serif;
}

#site-footer ul li{
margin-top: 20px;
margin-bottom: 0px;
}

@media (min-width: 782px){
	
.footer-three .wp-block-image .aligncenter {
	float: right!important;
	display: inline-block!important;
}

#site-footer ul {
  text-align: left;
  font-size: 1.3em;
  margin-top: 25px;
  margin-left: 40px;
}

#site-footer ul li{
margin-top: 0px;
margin-bottom: 0px;
}
	
}






