/*
Theme Name: Evolocity for: Camberwell Orthodontics
Theme URI: https://camberwell.com/au/wp-content/themes/camberwell_2023r2
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: Evolocity
Author URI: hhttps://www.evolocity.com.au
template: bb-theme
*/

/* KILL IMAGE DRAG
*******************************************************************************************/
img { pointer-events: none; }

/* KILL TEXT SELECT
*******************************************************************************************/
.select-none {
    -webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	}

/* RETINA IMAGE DISPLAY 
*******************************************************************************************/
.retina-image img {
    width: 50% !important;
    height: 50% !important;
}


/* SET BASE DOCUMENT SETTINGS
*******************************************************************************************/

html {
    font-size: calc(10px + 0.390625vw); /*USE CALS TO DYNAMICALLY RESIZE TEXT ACROSS BREAKPOINTS. BASE TEXT SIZE 10px = 1rem = 1em */
	}

body {
	background-color:#ffffff;
	}



/* CORE TEXT SIZE SETTINGS
*******************************************************************************************/
p, a, p a, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
	-webkit-hyphens: manual;
	-ms-hyphens: manual;
	hyphens: manual;
	text-rendering: optimizelegibility;
	}

body {font-size: 1.0rem;}

h1 {font-size: calc(2.0rem + 2.5vmin);} 
h2 {font-size: calc(1.8rem + 2.5vmin);} 
h3 {font-size: calc(1.1rem + 2.5vmin);} 
h4 {font-size: calc(0.05rem + 2.5vmin);}
h5 {font-size: calc(0.02rem + 2.5vmin);}
h6 {font-size: calc(0.01rem + 2.5vmin);}

#Blog h1 {font-size: calc(1.2rem + 2.5vmin);} 
#Blog h2 {font-size: calc(1.1rem + 2.5vmin);} 
#Blog h3 {font-size: calc(1.0rem + 2.5vmin);} 
#Blog h4 {font-size: calc(0.03rem + 2.5vmin);}
#Blog h5 {font-size: calc(0.02rem + 2.5vmin);}
#Blog h6 {font-size: calc(0.01rem + 2.5vmin);}

@media (max-width: 767px) {
	
	h4 {font-size: calc(1.0rem + 2.5vmin);}
	h5 {font-size: calc(1.0rem + 2.5vmin);}
	h6 {font-size: calc(1.0rem + 2.5vmin);}
	
	#Blog h1 {font-size: calc(1.6rem + 2.5vmin);} 
	#Blog h2 {font-size: calc(1.4rem + 2.5vmin);} 
	#Blog h3 {font-size: calc(1.2rem + 2.5vmin);} 
	#Blog h4 {font-size: calc(1.0rem + 2.5vmin);}
	#Blog h5 {font-size: calc(0.8rem + 2.5vmin);}
	#Blog h6 {font-size: calc(0.6rem + 2.5vmin);}
	}

#Blog h3, #Blog h4, #Blog h5, #Blog h6 {
	line-height: 1.1; 
	 
	margin: 0 auto;
	margin-top: 30px; 
	margin-bottom: 20px; }
	
p, li {
	font-size: 1.0rem; 
	line-height: 1.5;  
	margin: 0 auto;}

@media (max-width: 767px) {	
	p, li {font-size: 1.5rem; 
		line-height: 1.5;  
		margin: 0 auto;} }

.Two_column { /* Auto split text into two columns */
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
	}

@media (max-width: 767px) {	
	.Two_column {
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
	} }

/* CALL FONTS VIA ASSETS DIRECTORY
*******************************************************************************************/

/* ProximaNova-regular - latin */
@font-face {
  font-family: 'ProximaNova';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/assets/fonts/ProximaNova/ProximaNova-Regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/assets/fonts/ProximaNova/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/assets/fonts/ProximaNova/ProximaNova-Regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/assets/fonts/ProximaNova/ProximaNova-Regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/assets/fonts/ProximaNova/ProximaNova-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
	font-display: swap;
}


/* ProximaNova-regular - latin */
@font-face {
  font-family: 'ProximaSoft';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/assets/fonts/ProximaNova/ProximaSoft-Regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/wp-content/assets/fonts/ProximaNova/ProximaSoft-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/wp-content/assets/fonts/ProximaNova/ProximaSoft-Regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/wp-content/assets/fonts/ProximaNova/ProximaSoft-Regular.woff') format('woff'), /* Modern Browsers */
       url('/wp-content/assets/fonts/ProximaNova/ProximaSoft-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
	font-display: swap;
}



/* SCROLL TO TOP - IMAGE BASED
********************************************************************************************/
#fl-to-top {
	display: inline-block;
	text-decoration: none;
	text-align: center;
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.6);
	padding: 0.3rem;
	border: 2px solid #000000;
	background-image: url('/wp-content/assets/img/up-arrow.png');
	background-repeat: no-repeat;
	background-position: center;
	width:40px;
	height:40px;
}

.fa-chevron-up:before {
	content: none !important;
	}

/* ENSURE IMAGES DISPLAY AREA IS CLICKABLE
*******************************************************************************************/

.img {
display: block;
margin-left: auto;
margin-right: auto; }

.fl-post-grid-image a, .fl-photo a {display: block;}

/* FOR IMAGE BASED MENU
*******************************************************************************************/
.welcome-icon {
background-image: url('/wp-content/assets/img/menu/welcome.png');
background-repeat: no-repeat;
background-position: center top;
width:80px;
height:80px;
}

/* POSITIONALS
********************************************************************************************/
#Position_zTop {
	z-index: 1000;
}

#Position_zBottom {
	z-index: 0;
}

/* BASE TEXT STYLE SETTINGS
*******************************************************************************************/
body {font-family: 'ProximaNova', helvetica, arial, sans-serif; color:#23282b;}

h1 {font-family: 'ProximaNova', helvetica, arial, sans-serif; color:#23282b;} 
h2 {font-family: 'ProximaNova', helvetica, arial, sans-serif; color:#23282b;} 
h3 {font-family: 'ProximaNova', helvetica, arial, sans-serif; color:#23282b;} 
h4 {font-family: 'ProximaNova', helvetica, arial, sans-serif; color:#23282b;}
h5 {font-family: 'ProximaNova', helvetica, arial, sans-serif; color:#23282b;}
h6 {font-family: 'ProximaNova', helvetica, arial, sans-serif; color:#23282b;}
	
p {	font-family: 'ProximaSoft', helvetica, arial, sans-serif; color:#23282b;}

span {}
	
img a { border-bottom: none;}

i, em {}

strong {}

/* FANCY TEXT LINK EFFECTS */
p a {
  color: #cc3366;

	  transition: all .3s ease-in;
	  
	  &:hover {
	    transition: all .3s ease-out;
	    box-shadow:  0 -1px 0 0 white inset, 0 -2px 0 0 #000000 inset ;
	  	}
	
	}

p a:hover {
	color: #000000;
	}

br { /* MAKE BR LINE WRAPS MORE READABLE */
  content: "";
  display: block;
  font-size: 24%;
  outline: red;
	}

table { font-size: 1.6rem; }
	
p + p { margin-top: 1.3em;}


/* BLOG POST SPECIFIC FORMATTING
*******************************************************************************************/

.rt-reading-time {font-size: 1rem; line-height: 1.5; color: #786448;}

.fl-post-feed-more {font-size: 2rem; line-height: 1.5; color: #786448;}


/* ELEMENT OVERRIDE TEXT SETTINGS
*******************************************************************************************/

.Bold {font-family: 'ProximaNova-Bold', sans-serif; font-weight: 700;}

.Icon_points p { 
font-family: "ProximaNova", sans-serif;
font-size: 14px;
font-weight: 400;
hyphens: manual;
line-height: 22.75px;
overflow-wrap: break-word;
text-align: left;
text-rendering: optimizelegibility;
-moz-osx-font-smoothing: grayscale;}

.No_Decoration a {
	text-decoration: none;
	} 
	 
	
/* WP EDITOR TEXT SETTINGS
*******************************************************************************************/
#WPEditor_Styles h1, #WPEditor_Styles h2, #WPEditor_Styles h3, #WPEditor_Styles h4, #WPEditor_Styles h5 {margin: 25px 0px 20px 0px}
	
#WPEditor p {}

#WPEditor a {
	text-decoration: none;
	}
	
#WPEditor a:hover {
	text-decoration: none;
	}

#WPEditor img a { border-bottom: none;}

#WPEditor i, #WPEditor em {}

#WPEditor strong {}


/* LIST SETTINGS
*******************************************************************************************/
	
ul {
	list-style-type: disc !important;
	/*list-style-type: circle !important;*/
	/*list-style-type: square !important;*/
	list-style-position: outside;
	list-style-image: none;
	margin-top: 1rem;
	margin-right:1rem;
	}

li {
	text-indent: 0.5em; /* This will affect menu - enclose in module specific style */
	}


li a {
	color:#cc3366;
	}

li + li {
	margin-top: 1rem;
	}



/* CONTROL SVG ICONS
*******************************************************************************************/	

.Masthead_Header {max-width: 150px; display: block; margin: 0 auto;}

.Masthead_Footer {max-width: 185px; display: block; margin: 0 auto;}

.icon, icon a:active  {
    width: 55px;
    height: auto;
    margin: 0 auto;
    stroke-width: .15rem;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke: none;
    fill: #80c1e2;
	}

.Social_icon, Social_icon a:active  {
    width: 55px;
    height: auto;
    margin: 0 auto;
    stroke-width: .15rem;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke: none;
    fill: #80c1e2;
	}

.Social_icon a:hover, .icon a:hover  {
	stroke: none;
	fill: #80c1e2;
	}

@media (max-width: 767px) {	
	
	.icon, icon a:active  {
    width: 30px;
    height: auto;
    margin: 0 auto;
    stroke-width: .15rem;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke: none;
    fill: #80c1e2;
	}

	.Social_icon, Social_icon a:active  {
    width: 55px;
    height: auto;
    margin: 0 auto;
    stroke-width: .15rem;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke: none;
    fill: #80c1e2;
  	}

}

/* SIDEBAR CONTROL
*******************************************************************************************/	
#Sidebar_Fixed {  
	position: -webkit-sticky;
	position: sticky;
	top: 150px;
}


/* TABLE STYLE
*******************************************************************************************/
table {
	width: 100%;
	border-collapse: collapse;
	border: 0px solid #000000;
	border-spacing: 2px 2px;
	}

thead {
	height: 30px;
	background-color: #efefef;
	}
	
th, td {
	padding: 10px;
	text-align: center;
	}
	
tr:nth-child(even) {
	background-color: lightgray;
}

/* EFFECTS
*******************************************************************************************/

.Frosted_glass { /*Blur background under column */
background: rgba( 255, 255, 255, 0.05 );
backdrop-filter: blur( 2.0px );
-webkit-backdrop-filter: blur( 2.0px );
}


/* NEW WP GALLERY CUSTOM STYLE via: theme.fm/how-to-style-your-wordpress-gallery
********************************************************************************************/
.gallery { margin: 0 auto 18px; }
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery img {
	box-shadow: 0px 0px 4px #999;
	border: 1px solid white;
	padding: 10px; /* Frame padding */
	background: #f2f2f2;
	margin:1px;
}
.gallery img:hover {
	background: white;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery-columns-5 .attachment-thumbnail {
	max-width: 100%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl, .gallery dt { margin: 0; }
.gallery br+br { display: none; }


/* BEAVER BUILDER BUTTONS: beaverjunction.com/bottom-aligned-buttons-on-columns/
*******************************************************************************************/
.equal-height-buttons {
align-content: flex-end;
flex: 1 1 0;
display: grid;
}

	


	
/* CUSTOM PLUGIN CSS
*******************************************************************************************
*******************************************************************************************
*******************************************************************************************/

/* RECOLOUR CRITICAL BB EDIT BUTTONS */

[data-action="discard"] {
    background: none;
    color: #CE3F40!important;
}

[data-action="discard"]:after {
    content: "\00a0 changes ×";
}

[data-action="discard"]:hover{
	background: #CE3F40!important;
}

[data-action="publish"] {
    background: #059669!important;
}

[data-action="publish"]:hover {
    background: #047857!important;
}

.fl-builder-publish-actions >.fl-builder-button-group {
    gap: 4px;
}

.fl-builder-button-group > .fl-builder-button {
    border-radius: 3px!important;
}