/*
 Theme Name:   STARBASE
 Description:  Child Theme of Fable
 Author:       Burlington Bytes
 Author URI:   http://www.burlingtonbytes.com
 Template:     fable
 Version:      1.0.0
 Text Domain:  starbase
*/
/* sitewide link styles */
a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* default list styles */
.theme-page .pb-text ul {
	list-style: disc inside;
}

/* top margin top compensate for top bar */
.theme-page {
	margin-top: 36px;
}

/* archive page content area centering */
.archive .theme-page .theme-page-content {
	box-sizing: border-box;
	max-width: 1050px;
	width: 100%;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* header background image sizing */
.theme-page .theme-page-header {
	background-size: cover !important;
	background-repeat: no-repeat !important;
}

.theme-page-header .theme-main h6 {
	color: #fff;
}

.theme-main .theme-post-section-navigation {
	padding-bottom: 45px;
}

.pb-text ul>li {
	padding-left: 0;
	background: none;
}

/* button centering when class aligncenter */
.pb-button.aligncenter {
	width: 100%;
}

.pb-button.center-both.pb-button-size-large>a>.pb-button-box {
	margin: 15px 50px;
}

/* fix a leaky minify error */
.pb-text.contact-page-form {
	font-size: 0;
}

#top-bar {
	background: #1a6135;
	width: 100%;
	height: 36px;
	padding-top: 3px;
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
}

#top-bar>.top-bar-inner {
	width: 1050px;
	margin: 0 auto;
	max-width: 100%;
}

#top-bar>.top-bar-inner>div {
	width: 50%;
	display: inline-block;
}

#top-bar>.top-bar-inner>div:first-child {
	width: 65%;
}

#top-bar>.top-bar-inner>div:last-child {
	width: 35%;
}

#top-bar .widget .fa {
	margin-right: 4px;
}

#top-bar>.top-bar-inner>div:last-child {
	text-align: right;
}

#top-bar .widget {
	color: #fff;
}

#top-bar .widget a {
	color: #fff;
	text-decoration: none;
}

#top-bar .widget a:hover {
	text-decoration: underline;
}

#top-bar .widget .phone-numbers {
	list-style: none;
}

#top-bar .widget .phone-numbers>.number {
	background: none;
	padding-left: 0;
	display: inline;
	padding-right: 10px;
	text-transform: uppercase;
}

#top-bar .widget .fa {
	margin-right: 4px;
}

#top-bar .btn.btn-white {
	background: #fff;
	color: #223580;
	margin-right: 10px;
}

.btn {
	padding: 4px 16px 5px;
	line-height: 100%;
	border-radius: 2px;
	cursor: pointer;
	box-sizing: border-box;
	vertical-align: middle;
}

#top-bar .widget .fa {
	width: auto;
}

.btn:hover,#top-bar .widget a.btn:hover {
	text-decoration: none;
	background: #E8E8E8;
}

#top-bar #google_translate_element {
	display: inline-block;
}

#top-bar .widget .goog-te-gadget-simple .goog-te-menu-value {
	color: #000;
}

#top-bar>.top-bar-inner>div:first-child {
	padding-top: 3px;
}

body>div>.pb-menu {
	top: 36px;
}

body>div>.pb-menu.pb-menu-sticky {
	top: 0;
}

/* fix for header alignment, getting taken out of flow with a forced float */
.theme-page .pb-box-header.alignleft {
	float: none !important;
}

.theme-page .theme-page-header h1, .theme-page .theme-page-header h6 {
	text-shadow: 2px 2px 3px rgba(0,0,0,0.35);
}

/* custom h3 class requested by Kristina */
h3.green {
	color: #196336;
}

.centered-buttons .pb-layout>li>div {
	text-align: center;
}

/* footer top border */
.theme-footer>.theme-footer-top {
	position: relative;
}

.theme-footer>.theme-footer-top:before {
	content: '';
	display: block;
	background: #fdee21;
	width: 100%;
	height: 2px;
	position: absolute;
	top: 0;
	left: 0;
}

/* footer image, don't let anything wrap near */
.theme-footer .theme-main .textwidget img {
	display: block;
}

body.theme-footer-sticky .theme-footer {
	position: static !important;
}

/* content fontawesome icons that need circular borders*/
.fa.circle-icon {
	border: 1px solid #AFAFAF;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	vertical-align: middle;
	padding: 3px;
	text-align: center;
	line-height: 100%;
	color: #0A3A81;
	position: relative;
}

.fa.circle-icon:before {
	line-height: 100%;
	height: 100%;
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding-top: 18%;
}

/* footer icons */
.theme-footer .widget_text .fa {
	font-size: 30px;
	width: 1.25em;
	vertical-align: middle;
}

.theme-footer .widget_text .phone {
	display: inline-block;
	vertical-align: middle;
}

/* team page alignment fix */
.pb-team>ul>li .pb-team-text-box>h3.pb-team-text-box-member-name {
	margin-top: -6px;
}

/* green-overlay class for images in page builder */
.green-overlay {
	margin-bottom: 15px;
}

.green-overlay p {
	margin: 0;
	padding: 0;
	text-align: center;
}

.green-overlay p a img,
.green-overlay .pb-image>img {
	vertical-align: top;
}

.green-overlay p a:after,
.green-overlay .pb-image:after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: transparent;
	background: rgba(57,113,39,0.5);
	position: absolute;
	top: 0;
	left: 0;
}

.green-overlay p a {
	display: inline-block;
	position: relative;
	height: 100%;
}

.theme-page .theme-page-content {
	padding-bottom: 0;
}

body.theme-footer-sticky .theme-page {
	margin-bottom: 0 !important;
}

.center-both {
	display: block;
	text-align: center;
}

/* pdf download icons for teachers page */
.pdf-download-outer {
	border: 0;
	background: #0E3A81;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	font-size: 18px;
}

.pdf-download-outer a.pill {
	color: #fff;
	font-style: italic;
	display: block;
	text-align: center;
	margin: 10px 0 0;
}

a.pill {
	border: 1px solid #fff;
	display: inline-block;
	text-align: center;
	border-radius: 20px;
	padding: 3px 20px;
}

.pdf-download-outer .fa {
	font-size: 100px;
	display: block;
	width: 100%;
	text-align: center;
	margin: 0 0 10px;
}

.centered-boxes .pb-layout-column-left,.centered-boxes .pb-layout-column-right {
	height: 1px; /* give those columns some height so a 4-col layout can center the middle 2 boxes */
}

/* left align images inside accordion on for teachers page */
.theme-page .images-left {
	width: 300px;
	max-width: 100%;
	float: left;
	margin-right: 15px;
}

.theme-page .text-right {
	margin-left: 315px;
}

/* accordion background and inactive transparency */
.pb-accordion .ui-accordion-content {
	background: #fff;
	margin-left: 0;
	padding: 20px 30px 20px 60px;
	transition: .5s ease all;
}

.pb-accordion .ui-accordion-header.ui-state-default {
	background: #fff;
	background: rgba(255,255,255,0.5);
	transition: .5s ease all;
}

.pb-accordion .ui-accordion-header.ui-accordion-header-active {
	background: #fff;
}

.pb-accordion .ui-accordion-header .ui-accordion-header-icon {
	box-sizing: border-box;
	margin: 6px;
	display: inline-block;
}

/* partner gallery image centering */
.partner-gallery img {
	margin: 0 auto;
}

/* contact information icon + alignment */
.contact-info .left-rocket {
	width: 20%;
	float: left;
	text-align: center;
	margin-top: 30px;
}

.contact-info .right-info {
	width: 80%;
	float: left;
}

.contact-info .left-rocket:before {
	font-family: FontAwesome;
	content: '\f135';
	color: #fff;
	background: #213B8C;
	font-size: 47px;
	display: block;
	vertical-align: top;
	position: relative;
	line-height: 100%;
	height: 75px;
	width: 75px;
	border-radius: 50%;
	padding: 15% 0;
	box-sizing: border-box;
}

.contact-info .right-info h3 {
	color: #1A6135;
	font-size: 21px;
	font-weight: 700;
}

/* gform styles */
.gform_wrapper textarea,.gform_wrapper input[type=email],.gform_wrapper input[type=number],.gform_wrapper input[type=password],.gform_wrapper input[type=tel],.gform_wrapper input[type=text],.gform_wrapper input[type=url] {
	border: 1px solid #D4D4D4;
}

.gform_wrapper .ginput_complex.ginput_container {
	overflow: hidden;
	position: relative;
}

.gform_wrapper .ginput_complex>span {
	max-width: 100%;
	width: 100%;
	display: block;
}

.gform_wrapper input[type=email],.gform_wrapper input[type=number],.gform_wrapper input[type=password],.gform_wrapper input[type=tel],.gform_wrapper input[type=text],.gform_wrapper input[type=url] {
	position: relative;
	left: 0;
	margin-left: 0;
	display: block;
}

.gform_wrapper .gform_button {
	background: #213B8C;
	color: #fff;
	font-size: 22px;
	display: block;
	width: auto;
	margin: 0 auto;
}

.gform_wrapper .gform_fields {
	list-style: none !important;
}

.gform_wrapper .ginput_complex>span {
	width: 48.5%;
	position: relative;
	overflow: hidden;
	float: left;
}

.ginput_complex>span>label {
	max-width: 100%;
	width: 100%;
	position: relative;
	display: block;
}

.gform_wrapper {
	line-height: 0;
}

.gform_wrapper .ginput_complex>span:first-child {
	margin-right: 3%;
}

.gform_wrapper label {
	color: #565656;
	white-space: normal;
}

.gform_wrapper .gform_title {
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 25px;
}

.pb-text code {
	display: block;
	line-height: 0;
}

.gform_wrapper .gform_validation_container {
	display: none;
}

.gform_wrapper .gform_footer {
	margin-bottom: 40px;
}

.contact-page-form #field_1_3,.contact-page-form #field_1_2 {
	max-width: 100%;
	width: 48.5%;
	float: left;
}

.contact-page-form #field_1_2 {
	margin-right: 3%;
}

.contact-page-form #field_1_4 {
	clear: both;
}

/* community page */
.community-list li {
	list-style: none;
	font-size: 16px;
	width: 33%;
	display: inline-block;
	text-align: center;
	color: #196135;
	box-sizing: border-box;
	padding: 22px;
	vertical-align: top;
}

.community-list li div {
	max-width: 100%;
	margin: 0 auto;
	width: auto !important;
}

@media screen and (max-width:580px) {
	.community-list li {
		width: 100%;
	}
}

/* paypal donate button */
.paypal-donate input {
	width: auto;
	padding: 0;
}

.paypal-donate br {
	display: none;
}

.gform_confirmation_message {
	font-family: 'Open Sans', Arial;
	display: block;
	position: relative;
	width: 100%;
	line-height: 125%;
	overflow: hidden;
	white-space: normal;
}
@media screen and (max-width: 479px) {
	.contact-info .left-rocket:before {
		height: 45px;
		width: 45px;
		font-size: 29px;
	}
}
@media screen and (max-width: 768px) {
	.theme-section-padding-top {
		padding-top: 0;
	}
	.theme-page .images-left {
		width: 100%;
	}

	.theme-page .text-right {
		width: 100%;
		margin-left: 0;
	}

	.theme-footer .theme-main .textwidget img {
		display: block;
	}

	#top-bar .widget .phone-numbers>.number {
		display: inline-block;
		margin-bottom: 0;
		margin-left: 6px;
	}

	#top-bar .widget .phone-numbers>.number a {
		line-height: 100%;
		display: inline;
		vertical-align: baseline;
	}

	#top-bar>.top-bar-inner>div:first-child {
		padding-top: 0;
	}

	#top-bar {
		height: auto;
		position: relative;
	}

	#top-bar #google_translate_element {
		display: none;
	}

	#top-bar>.top-bar-inner>div {
		vertical-align: middle;
	}

	#top-bar>.top-bar-inner {
		padding-right: 8px;
		box-sizing: border-box;
	}
}

/* Classroom Landing Page */
.page-id-714 .theme-page-content .post-password-form {
	max-width: 500px;
	margin: 0 auto;
	padding-top: 10%;
	padding: 10% 15px 15px 15px;
}

.page-id-714 .theme-page-header {
	display: none;
}

.page-id-714 .theme-page-content {
	width: 100%;
	padding: 0;
	margin: 0;
	background: #e4cd65;
}

.page-id-714 .theme-page-content .pb-layout {
	width: 100%;
}

.page-id-714 #classroom-hallway {
	position: relative;
}

.page-id-714 #hallway-unopened {
	position: relative;
}

.page-id-714 #burlington-door-opened {
	display: none;
	cursor: pointer;
	position: relative;
}

.page-id-714 #rutland-door-opened {
	display: none;
	cursor: pointer;
	position: relative;
}

.page-id-714 svg rect#Burlington:hover {
	cursor: pointer;
}

.page-id-714 svg rect#Rutland:hover {
	cursor: pointer;
}
