/*
 * Stylesheet for blocks
 * Blocks were already registered the old way. Separating styles to make it easier to manage the primary stylesheet.
 *
 */
 /*
 Fonts - need to load so that block editor can use Eastman
 
  */
 
 
 /* Eastman 400 */
@font-face {
	font-family: Eastman;
	src: url('../woff/eastman-roman-regular.woff') format('woff2'), 
		 url('../woff/eastman-roman-regular.woff') format('woff');
	font-weight:  400;
	font-style:   normal;
	font-stretch: normal;
}

 /* Eastman 500 */
@font-face {
	font-family: Eastman;
	src: url('../woff/eastman-roman-demi-bold.woff') format('woff2'), 
		 url('../woff/eastman-roman-demi-bold.woff') format('woff');
	font-weight:  500;
	font-style:   normal;
	font-stretch: normal;
}

 /* Eastman 600 */
@font-face {
	font-family: Eastman;
	src: url('../woff/eastman-roman-bold.woff') format('woff2'), 
		 url('../woff/eastman-roman-bold.woff') format('woff');
	font-weight:  600;
	font-weight: bold;
	font-style:   normal;
	font-stretch: normal;
}

 /* Eastman 800 */
@font-face {
	font-family: Eastman;
	src: url('../woff/eastman-roman-extrabold.woff') format('woff2'), 
		 url('../woff/eastman-roman-extrabold.woff') format('woff');
	font-weight:  800;
	font-style:   normal;
	font-stretch: normal;
}
 

/* Calendar Icon block */

a.calendar-icon:hover,
a.calendar-icon:focus {
	text-decoration: underline;
}

.icon-calendar {
    background: var(--wp--preset--color--pink);
	color: #fff;
    border-radius: 50%;
	margin-right: 15px;
	width: 35px;
	height: 35px;	
}

/* Large button with icon block */

.lg-button-dark {
	width: 47%;
	width: calc(50% - 10px);
	float: left;
	-webkit-flex-basis: calc(50% - 10px);
	-ms-flex-preferred-size: calc(50% - 10px);
	flex-basis: calc(50% - 10px);		
	margin: 5px;
}

.lg-button-dark a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	height: 100%;
	width: 100%;
	padding: 45px 15px;
	color: #fff;
	background: #444;
	font-weight: bold;
	font-size: 2rem;
}

.lg-button-dark i,
.lg-button-dark svg {
	padding-right: 5px;
	color: var(--wp--preset--color--blue);
	fill: var(--wp--preset--color--blue);
}

.lg-button-white {
	margin: 5px;	
	border: 3px solid var(--wp--preset--color--blue);		  
	text-align: center;
}

.lg-button-white:hover,
.lg-button-white:focus {
	box-shadow: 0 0 10px #cccccc;
}

.lg-button-white a {
	display: block;
	padding: 25px;	
	color: #111;	
	font-weight: bold;
	font-size: 1.2rem;
}

.lg-button-white i {
	display: block;
	padding-bottom: 10px;	
	color: #F71277;
	font-size: 4rem;
}



/* Anchor subheaders (course instructions pages) */
.anchor-subheaders.alignfull {
    margin-top: 4em;
    margin-bottom: 2em;
    padding-top: 25px;
    padding-bottom: 25px;
    background: #eee;
    color: var(--wp--preset--color--blue);
}

.anchor-subheaders i,
.anchor-subheaders svg {
    float: left;
    font-size: 36px;
    margin-right: 18px;
	fill: var(--wp--preset--color--blue);	
}

/* Teacher blocks */

.teacher {
	min-width: 195px;
	max-width: 250px;
}

.teacher-bio .teacher-pic {
	max-width: 200px;
}

.teacher-pic {
	border-radius: 50%;
	max-width: 150px;
	margin: auto;
}

.teacher-bio {
	display: none;
}

/* Lightbox popup blocks */
.popup-box .popup-content,
.popup-content.lg {
	display: none;
}

.featherlight-content .popup-content.lg {
	display: block;
}

.popup-link { 
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
}

.popup-text a {
	color: #000;
	text-decoration: underline;
}

.popup-box.help_topic {
    padding: 0;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.popup-title {
	padding: 25px 35px;
}

.popup-icon-container {
	padding: 5rem 35px;
	border-radius: 20px 20px 0 0;
}

.popup-icon {
	background: #fff;
    width: 130px;
    margin: auto;
    border-radius: 20px;
    padding: 25px;
    text-align: center;	
}

/* Popups */
.popup-girl.wp-block-cover.is-style-cover-right img.wp-block-cover__image-background { 
    object-position: bottom right;
}

@media only screen and (max-width: 960px) {
	.popup-girl.wp-block-cover.is-style-cover-right img.wp-block-cover__image-background { 
		display: none;
	}
}

/*-------------------------------*/
@media screen and (min-width: 768px)   {
	
	.lg-button-dark {
		width: 22%;
		width: calc(25% - 10px);	
		-webkit-flex-basis: calc(25% - 10px);
		-ms-flex-preferred-size: calc(25% - 10px);
		flex-basis: calc(25% - 10px);
	}
	
}

/* Course registration block
 * ---------------------------------*/

.registration-container,
.registration-container.is-layout-flex {
	align-items: stretch;
	gap: 2em;
}


.course-registration {
    border-radius: 25px;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	max-width: 330px;
	min-width: 275px;
	font-family: var(--font-secondary);
	font-weight: 500;
}

.course-reg-icon {
    border-radius: 25px 25px 0 0;
    padding: 25px;
	min-height: 206px;
}

.course-reg-info {
    border-top: 0;
    border-radius: 0 0 25px 25px;
    padding: 28px;
    min-height: 150px;
}

.course-registration h4 {
	font-weight: 500;
}