/*
 Theme Name:   Billericay URC Child Theme
 Theme URI:    https://maplemoonwebdesign.com
 Description:  A Child Theme Template for Divi
 Author:       Maple Moon Web Design Inc - Lorraine McNulty
 Author URI:   https://maplemoonwebdesign.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*-----Colour Palette-----*/

/*Change values to those used in your child theme*/

/*Colour 1: HEX #111111 RGB 111,111,111*/
/*Colour 2: HEX #111111 RGB 222,222,222*/
/*Colour 3: HEX #111111 RGB 333,333,333*/
/*Colour 4: HEX #111111 RGB 444,444,444*/

/*-----Typography-----*/

/*Load any custom fonts here*/

/*Example of adding google fonts*/

@import url(https://fonts.googleapis.com/css?family=Fjalla+One|PT+Sans+Narrow);

/*Example of adding custom fonts (fonts files must be added in a folder called 'fonts' in the root of your child theme)*/


@font-face {
  font-family: 'featherly';
  src: url('fonts/featherly.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'featherly';
  src:  url('fonts/featherly.otf')  format('opentype'), url('fonts/featherly.woff') format('woff'), url('fonts/featherly.ttf')  format('truetype'), url('fonts/featherly.svg#featherly') format('svg');
  font-weight: normal;
  font-style: normal;
}

/*Heading Styles*/

/*Example H1 styling*/
h1 {
    font-family: 'Fjalla One';
    font-size: 40px;
    color: #000000;
    line-height: 1.4em;
}

/*H2 styling*/
h2 {
    font-family: 'Fjalla One';
    font-size: 30px;
    color: #0099ff;
    line-height: 1.4em;
}

/*Example H3 styling*/
h3 {
    font-family: 'Fjalla One';
    font-size: 25px;
    color: #000000;
    line-height: 1.2em;
}

/*H4 styling*/
h4 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 20px;
    color: #a4a4a4;
    line-height: 1.2em;
}

/*Example H5 styling*/
h5 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2em;
}

/*Example H6 styling*/
h6 {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.2em;
}


/*Example body copy styling*/
p, body {
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 18px;
	letter-spacing: 1px;
}

/*Link styling*/
a {
    color: #0099ff;
}

/*Button styling*/
.et_pb_button {
	font-family: 'Fjalla One', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    background: #ffffff;
    color: #0099ff;
}

.et_pb_button::hover {
	background: #ffffff;
    color: #0099ff;
border: solid;
border-color: #0099ff;
border-thickness: 2px;
}

/*-----------CTA Button styling------------*/
.et_pb_cta_0.et_pb_promo.et_pb_promo .et_pb_button.et_pb_promo_button
{
	font-family: 'Fjalla One', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    background: #ffffff;
    color: #0099ff;
}
.et_pb_cta_0.et_pb_promo.et_pb_promo .et_pb_button.et_pb_promo_button:hover
{
	font-family: 'Fjalla One', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    background: #0099ff;
    color: #ffffff;
}

/*-----Calendar Styling - Posterboard--------*/
.eo-event-board-items .eo-eb-date-container {
    border: 1px !important;
    border-style: solid !important;
    border-color: black !important;
    border-radius: 10px !important;
}
.eo-event-board-items .eo-eb-date-container span {
       width: 48px !important;
}

.eo-event-board-items .eo-eb-date-month {
border: 1px solid;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-color: #ffffff !important;
   }

.eo-event-board-items .eo-eb-date-day {
    display: block;
    margin: 0px;
    border: none;
    font-size: 32px;
 background: transparent !important;
 }
.eo-event-board-items .eo-eb-event-box {
    width: 260px !important;
    padding: 10px;
    background: #666666;
    margin: 15px;
    opacity: 0.91;
border: 0px;
border-style: solid;
border-color: black;
 box-shadow: 0px 4px 2px 0px rgba(0, 0, 0, 0.2) !important;
 border-radius: 10px !important;
}



/*----- Set the slider height ----*/
.et_pb_slider, .et_pb_slider .et_pb_container { 
        height: 550px !important; 
    }
.et_pb_slider, .et_pb_slider .et_pb_slide { 
        max-height: 550px; 
    }
.et_pb_slider .et_pb_slide_description { 
        position: relative; 
        top: 25%; 
        padding-top: 0 !important; 
        padding-bottom:0 !important; 
        height:auto !important; 
    }

/*----Styling for Home Page Tri Images------*/
.mmwd_homeimage {
  position: relative;
  margin-top: -140px;
  border-top-width: 7px;
  border-right-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 7px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: #ffffff;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  border-left-color: #ffffff;
  border-image-source: none;
  border-image-slice: 100% 100% 100% 100%;
  border-image-width: 1 1 1 1;
  border-image-outset: 0 0 0 0;
  border-image-repeat: stretch stretch;
  box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.2);
  transition-property: all;
  transition-duration: 0.38s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;

}
.mmwd_homeimage:hover
{
  margin-top: -160px;
  box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.2);
}
.et_pb_blurb_content {
	max-width: 100%;
	}

/*----Styling for Read More Button on Excerpts-------*/
.mmwd-custom_rm .et_pb_post a.more-link {
text-transform:capitalize;
color:#38a5ed;
background:white;
float:right;
border:solid 1px;
padding-left:5px;
padding-right:5px;
transition:0.5s ease-out;
}
.mmwd-custom_rm .et_pb_post a.more-link:hover {
color:white;
background:#38a5ed;
letter-spacing:1.5px;
}

/*-----Example Media Queries for common breakpoints-----*/

/* smartphones, iPhone, portrait 480x320 phones */ 
@media only screen and (min-width:320px) { 
    .selector {
        property: value;
    }.mmwd_homeimage {
 margin-top: -30px;
}
}

/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ 
@media only screen and (min-width:481px) { 
    .selector {
        property: value;
    }
}

/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
@media only screen and (min-width:768px) {
    .selector {
        property: value;
    }
}

/* tablet, landscape iPad, lo-res laptops ands desktops */ 
@media only screen and (min-width:961px) {
    .selector {
        property: value;
    }
.mmwd_homeimage {
 margin-top: -120px;
}
}

/* big landscape tablets, laptops, and desktops */
@media only screen and (min-width:1025px) {
    .selector {
        property: value;
    }
.mmwd_homeimage {
 margin-top: -140px;
}
}

/* hi-res laptops and desktops */ 
@media only screen and (min-width:1281px) { 
    .selector {
        property: value;
    }
.mmwd_homeimage {
 margin-top: -140px;
}
}

/*------- Footer Menu Settings --------*/
.bottom-nav {
         padding: 5px 0;
    text-align: center;
    background-color: #0099ff;
}
#et-footer-nav {
    background-color: #0099ff;
}
#footer-info {
font-size: 12px;    
float: none;
    padding-bottom: 0px;
    color: #666;
    text-align: center;
bottom: 60px;
    padding-top: 10px;
    font-weight: 300;
    text-transform: uppercase;
}
/*------------------------------*/

/*------------Control slider image height-----------*/
.et_pb_slider, .et_pb_slider .et_pb_slide {
    max-height: 450px;
}

/* --------------Sticky Footer-------------- */

#main-content {
min-height: calc(100vh - 279px) !important;
}

/*---------Add Registered Charity Number Before Footer Credits---------*/

#footer-bottom:before {
content: 'Billericay United Reformed Church is a Christian Church, Registered Charity No. XXXXXX and has a Child Protection Policy';
text-align: center;
 text-transform: uppercase;
font-size: 12px;    
float: none;
display:block;
}

/*------------Make CPT Full Width-------------*/
.event-template-default #sidebar {display: none;}
.event-template-default #left-area {width: 100% !important;}
#main-content .container:before {
       width: 0px;
     }


/*------Circular Images Contact Page----*/
.ch-grid {
	margin: 20px 0 0 0;
	padding: 0;
	list-style: none;
	display: block;
	text-align: center;
	width: 100%;
}

.ch-grid:after,
.ch-item:before {
	content: '';
    display: table;
}

.ch-grid:after {
	clear: both;
}

.ch-grid li {
	width: 220px;
	height: 220px;
	display: inline-block;
	margin: 20px;
}
.ch-item {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: relative;
	cursor: default;
	box-shadow: 
		inset 0 0 0 0 rgba(0,153,255, 0.4),
		inset 0 0 0 16px rgba(255,255,255,0.6),
		0 1px 2px rgba(0,0,0,0.1);
		
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.ch-img-1 { 
	background-image: url(http://maplemoondevsites.com/billericayurc/wp-content/uploads/2017/04/Exterior_square220.jpg);
}
.ch-img-2 { 
	background-image: url(http://maplemoondevsites.com/billericayurc/wp-content/uploads/2017/04/RuthMitchellHS220.jpg);
}
.ch-img-3 { 
	background-image: url(http://maplemoondevsites.com/billericayurc/wp-content/uploads/2017/04/MayflowerHall_square220.jpg);
}

.ch-info {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	opacity: 0;
	
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-o-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
	
	-webkit-backface-visibility: hidden; /*for a smooth font */

}

.ch-info h3 {
	color: #fff;
	text-transform: uppercase;
	position: relative;
	letter-spacing: 2px;
	font-size: 22px;
	margin: 0 30px;
	padding: 65px 0 0 0;
	height: 110px;
	font-family: 'Open Sans', Arial, sans-serif;
	text-shadow: 
		0 0 1px #fff, 
		0 1px 2px rgba(0,0,0,0.3);
}

.ch-info p {
	color: #fff;
	padding: 10px 5px;
	font-style: italic;
	margin: 0 30px;
	font-size: 12px;
	border-top: 1px solid rgba(255,255,255,0.5);
}

.ch-info p a {
	display: block;
	color: #fff;
	color: rgba(255,255,255,0.7);
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 9px;
	letter-spacing: 1px;
	padding-top: 4px;
	font-family: 'Open Sans', Arial, sans-serif;
}

.ch-info p a:hover {
	color: #fff222;
	color: rgba(255,242,34, 0.8);
}

.ch-item:hover {
	box-shadow: 
		inset 0 0 0 110px rgba(0,153,255, 0.4),
		inset 0 0 0 16px rgba(255,255,255,0.8),
		0 1px 2px rgba(0,0,0,0.1);
}

.ch-item:hover .ch-info {
	opacity: 1;
	
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);	
}
