/*
 Theme Name:   Twenty Twenty-One Child
 Theme URI:    https://diviextended.com/
 Description:  A child theme of Twenty Twenty-One WordPress theme.
 Author:       Elicus Technologies
 Author URI:   https://elicus.com
 Template:     twentytwentyone
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../twentytwentyone/style.css");

.site-logo .custom-logo {
	max-width:5000px;
	max-height:5000px;
	width: 350px !important;;
}
.site-header, .site-footer{
	background-color: #1E73BE;

}

/* trying to work out out to fill screen for mobile calendar */

.content-area .entry-content .page-site .site .page{ 
	padding: 0px;
	margin: 0px;
}

h1 {
  font-size: 48px !important; /* originbal was 96px*/
}
h2 {
  font-size: 32px !important; /* originbal was 48px*/
}
h3 {
  font-size: 26px !important; /* originbal was 30px*/
}


.entry-title{
	/*  reduce font size and centre on page*/
		font-size: 40px !important; 
		text-align: center;
	} 
	
.entry-header {
	/*  reduce gap above and below page header*/
    padding-bottom: 20px !important;
	margin-bottom: 0px !important;
	border-bottom: 1px solid #1E73BE!important ; 
}
.header {
	/*  reduce gap below page header*/
    padding-bottom: 20px !important;
}

 @media only screen and (max-width: 481.98px) {
/* smaller logo on small screen*/
	.site-logo .custom-logo {
		width: 250px !important;
	}

	.entry-title {
	/*  font-size: var(--global--font-size-page-title); Does this work?*/
		font-size: 20px;
	} 
	/*  font-size: reduce font on smaller screen*/
	p {
  font-size: 16px;
  
	}
li {
  font-size: 16px;
  padding-left: 0px !important;
  
	}
	.wp-block-list{
  font-size: 16px;
  padding-left: 20px !important;
  
	}
}


.site-header > .site-logo {
    width: 100%;
    padding-bottom: calc(var(--global--spacing-vertical) * 1.5);
    padding-bottom: 0px;
    text-align: center;
	border-bottom: 0px ;
}
 .primary-navigation {
    position: relative;
    margin-left: auto;
    margin-right: auto;
	color: white !important;
	
  }
/* change menu button on phones to white*/
.menu-button-container #primary-mobile-menu {
	color: white; 
}

/* change menu close on phones to white*/
.dropdown-icon.close {
	color: white !important;
	background-color: #1E73BE !important;
	border-color: red !important;
}

 @media only screen and (max-width: 481.98px) {
/* reduce padding below menu button*/
	.site-header {
		padding-bottom: 5px;
	}
 }
 @media only screen and (max-width: 481.98px) {
/* background of menu on small screen*/
	.primary-navigation > .primary-menu-container {
	background-color: #1E73BE;	
	text-align: center;
	}
	
 }
/* set menu links to white */
.primary-navigation a:hover,
.primary-navigation a:link,
.primary-navigation a:visited {
	color: white;
}
/* menu sub items */
.primary-navigation > div > .menu-wrapper > li > .sub-menu li {
        background: #1E73BE !important;
}

/*below configures for larger screens*/
@media only screen and (min-width: 482px) {

	.site-logo .custom-logo {
		max-width:5000px;
		max-height:5000px;
		width: 250px;
	}
	.site-header {
		padding-bottom: 0px;
	}
}

  @media only screen and (min-width: 822px) {
.site-header {
  padding-top: 0px;
	}
 }
.site-header {
  padding-top: 0px;
}
.site-footer{
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}
@media only screen and (min-width: 822px) {

	.site-footer > .my-site-info {
/*		display: flex;*/
		align-items: center;
	}

	.site-footer > .my-site-info .site-name {
		margin-right: calc(0.5 * var(--global--spacing-vertical));
	}
}

	.site-footer > .my-site-info {
/*		display: flex;*/
		align-items: center;
	}
	
.site-footer > .my-site-info {
	padding-top: var(--global--spacing-vertical);
	color: var(--footer--color-text);
	font-family: var(--footer--font-family);
	font-size: var(--footer--font-size);
	line-height: var(--global--line-height-body);
	width: 100%;
	margin: 0px;
	padding: 0px;
}

.site-footer {
	margin-top: 0px;
	padding: 0px;

}
.no-widgets .site-footer {
	margin-top: 0px;
	width: auto;
}
/* Change the content width to be same as header/nav/footer's width */
@media only screen and (min-width: 822px) {
	:root {
		--responsive--aligndefault-width: min(calc(100vw - 8 * var(--global--spacing-horizontal)), 1240px);
	}
}
/* Event calendar*/

@media only screen and (max-width: 822px) {
/* increase row heigh on tablets*/
	.em.em-calendar .em-cal-body .em-cal-day {
		height: 160px; /*sets width of rows to fit 2 events per day*/
	}
}
@media only screen and (min-width: 823px) {
/* set row heigh on monitors? */
	.em.em-calendar .em-cal-body .em-cal-day {
		height: 100px; /*sets width of rows to fit 2 events per day*/
	}
}



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

	.em.em-calendar .em-cal-body>div {
		border: var(--date-box-border);
		border-right-width: 0;
		border-bottom: none;
		padding: 0px; 
		width: 107% !important;
	}
	.em.em-calendar section {
    width: 110%; /* possibly not the best way to fill phone width but it works */
	}
	/*style entries in phone calendar */
	.em.em-calendar .em-cal-body.event-style-pill .em-cal-event>div {
		text-align: center !important;
		background-color: var(--event-background-color);
		/* border:1px solid var(--event-border-color); */
		color: var(--event-color);
		position: absolute;
		width: calc(100% + 10px);
		width: calc(100% ) !important;
		height:28px; 
		height:auto; 
		margin: 0;
		margin-bottom: 20px !important;
		padding:0px;
		left:-5px;
		border-radius: 5px;
		white-space:normal;
		overflow: hidden;
		overflow: visible;
		text-overflow: ellipsis;
		font-size: 12px !important; /*font in calendar event text*/
		
}
	.em.em-calendar .em-cal-body .em-cal-day {
		text-align: right;
		height: 160px !important; /*sets height of rows to fit 2 events per day*/
	}
	.em.em-calendar .em-cal-head>div {
		font-size: 12px !important; /*font in DoW*/
		padding: 0px !important;

	}
	.em.pixelbones section {
    margin-left: -5px; /*fill calendar to left on phones */
	margin-right: -12px; /*fill calendar to right on phones !does not seem to work*/

}

}

/*style entries in other larger calendars */
.em.em-calendar .em-cal-body.event-style-pill .em-cal-event>div {
    text-align: left;
    background-color: var(--event-background-color);
    /* border:1px solid var(--event-border-color); */
    color: var(--event-color);
    position: absolute;
    width: calc(100% + 10px);
    height:28px; 
    height:auto; 
    padding:0px;
    left:-5px;
    border-radius: 5px;
    white-space:normal;
    overflow: hidden;
    overflow: visible;
    text-overflow: ellipsis;
	font-size: 14px;
	
}
.em.em-calendar .em-cal-body .em-cal-day .em-cal-day-date {
    margin: 0px; /* reduce gap between date number and event*/
}
/*colours ring of days when there is an event*/
.em.em-calendar .em-cal-body .em-cal-day.eventful .em-cal-day-date a, .em.em-calendar .em-cal-body .em-cal-day.eventful-post .em-cal-day-date a, .em.em-calendar .em-cal-body .em-cal-day.eventful-pre .em-cal-day-date a {
    border: var(--date-border) !important;
    border-color: #1E73BE !important; 
}
/* colour todays date icon in  calendar */
.em.em-calendar .em-cal-body .em-cal-day.eventful-today .em-cal-day-date a, .em.em-calendar .em-cal-body .em-cal-day.eventful-today .em-cal-day-date span, .em.em-calendar .em-cal-body .em-cal-day.eventless-today .em-cal-day-date a, .em.em-calendar .em-cal-body .em-cal-day.eventless-today .em-cal-day-date span {
/*     border-radius: 50%;
    border-radius: 150% !important;
*/    
	text-decoration: none !important;
    font-size: 16px;
    line-height: 18px;
    line-height: 20px !important;
    color: white !important;
	background-color: #1E73BE !important; 
	font-weight: bold;
	padding: 8px !important; /* set the icon at same level as all others*/
	margin-bottom: 0px !important;

}
.em.em-calendar .em-cal-body .em-cal-day {
    text-align: center; /*centre day number on calend date */

}
.em.em-calendar.size-large .event-style-pill .eventful-today .em-cal-day-date, .em.em-calendar.size-large .event-style-pill .eventless-today .em-cal-day-date {
    margin-bottom: 0px; /* with an event on today's date, align event to all others on the row*/
}

/*on monitors / larger screens reduce size of footer email address to prevent line break within section on footer*/
@media only screen and (min-width: 823px) {
	.bcvh-email>a {
		font-size: 18px;
	}
}
/*onphones  reduce size of footer email address font to fit on one line*/
@media only screen and (max-width: 482px) {
	.bcvh-email>a {
		font-size: 14px;
	}
}


/* front page slider*/
.metaslider .caption {
    padding: 5px 10px;
    word-wrap: break-word;
    background-color: lightblue;
	
}
/* format the upcoming events list */
.em .em-list {
    width: 100%;
    display: grid;
    grid-template-rows: 1fr;
    grid-gap: 0px !important;
	color: #1E73BE !important;
	
}
@media only screen and (max-width: 482px) {
	.em .em-list {
		font-size: 16px !important;
		
	}
}
/* site tiel is only used to identify test site so is safe to colour & size here*/
.site-title{
	color: yellow !important; 
	font-size: 20px !important;
}

@media only screen and (max-width: 482px) {
	.site-title{
		font-size: 16px !important;
	}
}

