/*
Theme Name: SR Collective
Template: petra
Description: Child Theme of Petra
Version: 1.1
*/
/*
color:#194F95;
174682

9C32D3 - magenta
198095 - turquoise

*/



html, body {
  margin: 0;
  padding: 0;
}


/*
.thinColumn {
	width:60%;
	margin:0 auto;
}
*/

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 300px;
  padding: 10px;

  	background-image: url('images/dandelion.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	
  -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
  mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

.wrapper {
  margin-bottom: 0px;
}

body {
	
	padding-bottom: 300px;
	font: 95%/1.4 "Lato", Helvetica, Arial, sans-serif; 
	color:#174682;
	background-color:#fff;
	font-weight:400;
		
	background-image: url('images/dandelion.jpg');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
 



#singleColumnPage {
	width:85%;
	max-width: 700px;
	margin: 0 auto;
}




.teacherPhoto div {
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  overflow: hidden;
}



.teacherPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) { 


.teacherPhoto div {
  aspect-ratio: 3/4;
  width: 300px;
  height: auto;
  overflow: hidden;
}



.teacherPhoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


}


/* Structure */ 
/* -------------------------------------------------------------- */


.site-main {
	background-color: transparent !important;
}

.mainContent {
 /*
  overflow-y: scroll;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
*/
}

.mainContent,
.woocommerce-page .mainContent {

}


.home .mainContent {
	background-color: transparent;
}

.site-main {
	background-color:rgba(255, 255, 255, 0.8);
	margin-top:8px;
	margin-bottom:48px;
	padding: 32px 0px 12px 0px !important;
	z-index:1;
	position:relative; /* place it above background */
}



.container {
	padding:0px 24px;
}




/* Header */ 
/* -------------------------------------------------------------- */




#logo {
	display:none;
}

.logo img {
		max-width:100%;
}

#logoMobile {
	max-width:80%;

}


@media (min-width: 768px) { 

	#header {
		margin:84px 0px 60px 0px;
}

	#logo {
	display:block;
	max-width:80%;
	margin-left: auto;
	margin-right: auto;
	}


	

	#logoMobile {
	display:none;
}

}









/* https://stackoverflow.com/questions/16154494/retina-displays-high-res-background-images */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) { 

}








/* Menu */ 
/* -------------------------------------------------------------- */


#main-navbar {
	font-weight: normal;
	font-family: "Tenor Sans", sans-serif;
	background:none;
	
}

#main-navbar ul {
	box-shadow: none !important;

}


/* =Footer
-------------------------------------------------------------- */



#footer {
	font-size:1.0rem;
	
	width:100%;
}




#footer a {

	text-decoration:none;
	border:none;
}

#footer a:hover {
	
}

#footer ul {
	margin:0px 0px 12px 0px;
	padding:0px;
	font-weight:200;
}

#footer li {
	list-style-type:none;
	padding:0px;
	margin:0 0 24px 0px;
}

#footer h5 {
	margin:0;
	padding:0 0 0 4px;
}

#footer p {
	margin-bottom:0;
}


.footer .container {
	position:relative;
}

.footerText {
	
	font-size:0.9em;
	
	padding:24px 48px 24px 0px;
	text-transform:uppercase;
	
	position:absolute;
	bottom:0;
	right:0;
}







/* Typography */ 
/* -------------------------------------------------------------- */

/* for default pages (classes) */

/*
h1 {
	margin-bottom:60px;
	
}*/


.archive h1, .archive h2, .archive h3 {

}

.archive {
	
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: "Tenor Sans", sans-serif;
	
	margin: 0px 0px 8px 0px;
	
}



h1 b, h2 b, h3 b, h4 b, h5 b, h6 b,
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong
  {
	font-weight: 400;
}


h1 {
	font-size:1.4rem;
	
	margin-bottom:18px;
}

h2 {
	font-size:1.2rem;
	line-height:2.3rem;
	margin-bottom:12px;
}

h3 {
	font-size:1.5rem;
	line-height:2.2rem;
}

h4 {
	font-size:1.4rem;
	line-height:2.0rem;
}


a {
	color:#006D7C;
	text-decoration:underline;

	
}

/*
9C32D3 - magenta
198095 - turqouise 
 
 */





.wp-block-column:nth-of-type(even) h2:nth-of-type(1) {
		color: #9C32D3;
}


.wp-block-column:nth-of-type(odd) h2:nth-of-type(1) {
		color: #198095;
}


.teacher:nth-of-type(even)  h2:nth-of-type(1)  {
	color: #9C32D3;
}

.teacher:nth-of-type(odd)  h2:nth-of-type(1)  {
	color: #198095;
}

/*
div:nth-of-type(1) h2 {
		color: #9C32D3;
}


div:nth-of-type(2) h2 {
			color: #198095;
}



 
h2:nth-of-type(2) {
	color: #198095;
}*/



 

 



a:visited {
	
}

a:hover,
a:focus,
a:active {
	
}


a:hover,  footer a:hover  {
	text-decoration:underline;

}

a.button, .card a, #main-navbar a, .listing a, footer a, #sb_instagram a {
	border-bottom: none;
	background-image:none;
}



 ul {
	margin:0;
 }
 
 li {
	 margin:0;
 }
  



/* forms */
/* -------------------------------------------------------------- */
/*
a.button {
	background:#61aca5; 
	color:#fff;
	text-decoration:none;
	padding: 4px 8px;
	
	 background: url('images/external-link-white.png') no-repeat top right;
    background-size: 15px 15px;
	margin-left:6px;
    display: inline-block;
    width: 15px; 
    height: 15px;
    content:"";
}
*/




:root {
  --select-border: red;
  --select-focus: blue;
  --select-arrow: var(--select-border);
}

select {
	width:100%;
	max-width:100% !important;
}



 select.course-select {
  /* A reset of styles, including removing the default dropdown arrow*/
  appearance: none;
  /* Additional resets for further consistency*/
  background-color: transparent;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  background-image: url('images/dropdown-arrow.png'); 
  background-position: 98%;
  background-repeat:no-repeat;
  text-transform:uppercase;
}

select::-ms-expand {
  display: none;
}

select.select-class {
	text-transform:uppercase;
}



input[type=text], input[type=email],
textarea
{
	font-family:'Lato', Helvetica, Arial, sans-serif;
	font-weight:500;
	font-size: .8rem;
    background-color: #fff;
    color: #666;
    width: 100%;
	border-radius: 0px;
	border-color:#7F7F7F;
	box-sizing:border-box;
	padding:10px 60px 10px 36px;
	margin-bottom:24px;
}




.joinMailList input[type=text],.joinMailList input[type=email],
.joinMailList textarea
{
  width: 100%;
}

@media (min-width: 768px) {
	.joinMailList input[type=text],.joinMailList input[type=email],
	.joinMailList textarea
	{
	  width: 48%;
	}
}

input::placeholder,
textarea::placeholder {
	color: #333333;
	font-size: .8rem;
}


input.submit, 
input.wpcf7-submit {
	width:auto;
	color:#fff;
	border:none;
	border-radius: 0px;
	background: #FC0419;
	margin: 12px 0px 6px 0px;
	padding:12px 36px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.8rem;

	font-family: 'Lato', Helvetica, Arial, sans-serif;
	line-height:1.0rem;
	
	font-weight:700;
	-webkit-transition: background-color 2s ease-out;
	-moz-transition: background-color 2s ease-out;
	-o-transition: background-color 2s ease-out;
	transition: background-color 2s ease-out;
  
	transition: box-shadow .5s;
	width:100%;

}

	
input.submit:hover, input.wpcf7-submit:hover {
	cursor: pointer;
	box-shadow: 0px 0px 4px 0px #010526;
}




.mailingList {
	margin-top:80px;
	margin-bottom: 40px;
}

.mailingList .container {
	padding:0;
	margin:0;
}


.mailingList h2 {
	margin-bottom:40px;
}

.mailingList input.submit, .mailingList input.wpcf7-submit {
		width:auto;


}




/* Contact form 7 */
/* ------------------------------------------------------- */

div.wpcf7 {
	margin: 0;
	padding: 0;
}

.screen-reader-response {
  display: none;
}

div.wpcf7-response-output {
	margin: 0px 0px 48px 0;
	padding: 0px;
	font-weight:normal;
	color:#FC0419;
	border:none;
	font-size:1.1rem;
	position:relative;
	top:-24px;
}



/*
div.wpcf7-mail-sent-ok { }

div.wpcf7-mail-sent-ng { }

div.wpcf7-spam-blocked { }
*/

div.wpcf7-validation-errors {
	color:#FC0419;
	background: #bcc9dd;
	
}

span.wpcf7-form-control-wrap {
	position: relative;
	
}

span.wpcf7-not-valid-tip {
	position: relative;
	top:-20px;
	z-index: 100;
	font-weight:normal;
	font-size: 0.9rem;
	padding: 0px 0px 2px 0px;
	margin:0;
	color:#FC0419;
}

span.wpcf7-not-valid-tip-no-ajax {
	color:#FC0419;
	font-size: 10pt;
	display: block;
}

span.wpcf7-list-item {
	margin-left: 0.5em;
}

.wpcf7-display-none {
	display: none;
}

div.wpcf7 img.ajax-loader {
	display:none;
}

div.wpcf7 .watermark {
	color: #888;
}

/* booking forms */

 div.wpcf7 .courseForm input:focus,  div.wpcf7 .courseForm textarea:focus {

}


div.wpcf7-response-output {
	
}



/* Buttons */ 



button {
	margin:0 !important;
}

.v {
	border-radius:0 !important;
	border:none;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	text-transform:uppercase;
	padding:12px 30px;
	box-shadow: 0px 0px 4px 0px #000;
	 
}

a.btn {
	text-decoration:none !important;
}


main .btn {
	margin-bottom:48px;
}

.btn:hover {
	color:inherit  !important;
	
}
.btn-dark {
	background-color: #010526 !important;
}


.btn-primary {
	border-radius:12px !important;
	border:none;
	background-color: #C75B22 !important;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	text-transform: none;
	padding:8px 16px;
	font-weight:bold;
	text-transform: lowercase;
}

	

.btn-primary:hover {
	color:#fff !important;
	background-color: #B22902 !important;
	box-shadow: 0px 0px 6px #333  !important;
}


.btn-secondary {
	background-color:#939393 !important;
}

.btn-secondary:hover {
	background-color: #777 !important;
}

 
.btn-warm {
	background-color:#F3B610;
	color:#fff !important;
}

.btn-warm:hover {
	background-color: #C89705 !important;
	color:#fff !important;
}


a.btn.externalLink:after {
	background: url('images/external-link-white.png') no-repeat center right;
    background-size: 12px 12px;
	margin-left:2px;
    display: inline-block;
    width: 12px; 
    height: 12px;
    content:"";
}






/* Images */

figure.size-medium {
	width:100%;
}

figure.size-medium img {
	width:100%;
}

@media (min-width: 768px) {
	 figure.size-medium {
		width:50%;
	}
}


/* overrides block settings css for mobile */
.wp-block-image .alignright {
		margin-top:0 !important;
}

/* sets these again */
.alignleft {
	/*rtl:ignore*/
	float: left !important;
	/*rtl:ignore*/
	margin-right: 1.5em !important;
	margin-bottom: 1.5em !important;
}

.alignright {
	/*rtl:ignore*/
	float: right !important;
	/*rtl:ignore*/
	margin-left: 1.5em !important;
	margin-bottom: 1.5em !important;
}

.aligncenter {
	clear: both !important;
	display: block !important; 
	margin-left: auto !important;
	margin-right: auto !important;
	margin-bottom: 1.5em !important;
}


@media (max-width: 768px) {
	.alignleft {
		/*rtl:ignore*/
		float: none !important;
		/*rtl:ignore*/
		margin-right: 0em !important;
		margin-bottom: 0em !important;
	}

	.alignright {

		/*rtl:ignore*/
		float: none !important;
		
		/*rtl:ignore*/
		margin-left: 0em !important;
		margin-bottom: 0em !important;
	}

	.aligncenter {
		clear: both;
		display: block;
		/*rtl:ignore*/
		float: none !important;

		/*rtl:ignore*/
		margin-left: 0em !important;
		margin-right: 0em !important;
		margin-bottom: 0em !important;
	}

	/* sets these again */
	.alignleft.notFullWidthMobile {
		/*rtl:ignore*/
		float: left !important;
		/*rtl:ignore*/
		margin-right: 1.5em !important;
		margin-bottom: 1.5em !important;
	}

	.alignright.notFullWidthMobile {
		/*rtl:ignore*/
		float: right !important;
		/*rtl:ignore*/
		margin-left: 1.5em !important;
		margin-bottom: 1.5em !important;
	}

	.aligncenter.notFullWidthMobile {
		clear: both !important;
		display: block !important; 
		margin-left: auto !important;
		margin-right: auto !important;
		margin-bottom: 1.5em !important;
	}
}


/* Embeds */

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	overflow: hidden; 
	max-width: 100%;
	height: auto;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.responsive-map{
	overflow:hidden;
	padding-bottom:100%;
	position:relative;
	height:0;
	margin-top:24px;
	clear:both;
}

.responsive-map iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}

.responsive-embed{
	margin-top:24px;
	overflow:hidden;
	padding-bottom:100%;
	position:relative;
	height:0;
}

.responsive-embed iframe{
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}

/* Extras */
.grecaptcha-badge { 
    visibility: hidden !important;
}

.recaptcha {
	font-size:0.9em;
	opacity:.8;
}

.courseVideo {
	float:right;
}

stripe-buy-button {
	position:relative;
	top:8px;
}

.clear {
	clear:both;
}


