/*
 * Theme Name: 323 Design WordPress Theme
* Theme URI: https://www.323design.com/
* Author: 323 Design
* Author URI: https://www.323design.com/
* Description: This is the base starter WordPress theme by 323 Design. If you wish to make changes to your design or discuss a redesign visit <a href="https://323design.com">323design.com</a>.
* Version: 1.0
* License: &copy Copyright 323 Design
 */
/*
 * 323 Design's CSS Formating rules:
 * + Slector with opening bracket is placed on one line.
 * + Properties are indented by one tab.
 * + A space is between the property and the value.
 * + Values relating to fonts should always be measured in em.
 */

/*Universal*****/

/*Elements*/

html {
	margin-top: 100px !important;
}

body {
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
	font-size: 16px;
	line-height: 24px;
	color: #69737a;
}

p, ol, ul {
	margin: 0em;
	padding: 0em;
	line-height: 26px;
}

ol, ul {
	margin-left: 30px;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0px;
}

h1 {
	margin-top: 1em;
	margin-bottom: 25px;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.35em;
	color: #00853e;
}

h2, h3, h4, h5, h6 {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
	line-height: 1.35em;
	font-weight: 600;
	color: #00853e;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 1.266em;
}

h6 {
	font-size: 1.125em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover{
	text-decoration: none;
	color: #00853e;
}

article {
	margin: 0em;
}

a {
	color: #00853E;
	font-weight: 700;
	text-decoration: underline;
}

a:hover, a:focus {
	color: #FF6634;
	font-weight: 700;
	text-decoration: underline;
}

button,
input[type=submit] {
	border: 0em none;
	padding: 0.3em 1em;
	border-radius: 1.5em;
	background-color: #00853e;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
	color: white;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

button:hover,
input[type=submit]:hover {

}

iframe {
	border-width: 0px;
	width: 100%;
	max-width: calc(100vw - 25px);
}

p button {
	margin: 0em 1em;
}

/*classes*/

img.alignleft {
	margin-left: 0px;
	float: left;
}

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

img.alignright {
	margin-right: 0px;
	float: right;
}

.img-square {
	border: 5px solid #FFF;
	margin: 20px;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.2);
}

.img-circle {
	border: 5px solid #FFF;
	border-radius: 100%;
	margin: 20px;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.2);
}

/*header*/

#navbar {
	position: fixed;
	top: 0px;
	z-index: 5;
	width: 100%;
	background: url('/wp-content/themes/academychild/img/bg-header-100x100.png') repeat-x;
	font-family: 'Oswald', sans;
}

#logo {
	vertical-align: middle;
	display: inline-block;
}

#logo img {
	height: 150px;
}

#logo img:last-child {
	display: none;
}

#navbarandlinks {
	position: relative;
	vertical-align: top;
	display: inline-block;
	height: 100px;
	width: 985px;
}

#navbarlinks,
#navbarsocial {
	float: right;
	height: 50%;
}

#navbarlinks:before,
#navbarsocial:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	margin-right: -4px;
}

#navbarsocial {
	padding-right: 10px;
	border-right: 1px solid #EBEBEB;
	margin-right: 10px;
}

#navbarlinks * {
	display: inline-block;
	vertical-align: middle;
	font-size: 14px;
}
#navbarlinks button {
	white-space: nowrap;
}

#navbarlinks div {
	font-family: "Georgia", sans-serif;
	font-style: italic;
	font-size: 16px;
}
/* 
#navbarlinks > a:last-child button {
	background-color: #FF6634;
} */

.container > #navbarandlinks > nav {
	box-sizing: border-box;
	position: absolute;
	bottom: 0px;
	height: 50%;
	width: 100%;
	padding: 0.7em 0em 0em 1em;
	margin-left: 0%;
	background: url('/wp-content/themes/academychild/img/bg-navbar.png') center top;
	background-size: 100% 50px;
}

nav > ul {
	width: 100%;
	text-align: justify;
}

nav > ul > li {
	float: none !important;
	display: inline-block;
	/*margin-right: -4px;*/
}

nav > ul > li:last-of-type {
	overflow: hidden;
	width: 100%;
	height: 0px;
}

nav > ul > li > a {
	font-family: 'Oswald', sans;
	position: relative;
	margin: 0px 0px;
	color: #00853e !important;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

nav > ul > li > a:hover,
nav > ul > li > a:focus {
	font-weight: 700;
	text-decoration: none;
	background-color:  !important;
	color: #f63 !important;
}

nav > ul > li.active > a {
	background-color:  !important;
}

nav > ul > li > .dropdown-menu {
	margin-top: 9px;
}

nav > ul .dropdown-menu > li > a {
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
	font-size: 16px;
	color: #00853e;
	text-decoration: none;
}

nav > ul .dropdown-menu > li > a:hover {
	color: #f63;
}

/*body*/

#main-content {
	margin-top: 50px;
	margin-bottom: 40px;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
}

#main-content article h2,
#main-content article h3,
#main-content article h4,
#main-content article h5,
#main-content article h6 {
	margin-bottom: 0.25em;
}

#main-content p,
#main-content ol,
#main-content ul {
	margin-bottom: 1.75em;
}

/*footer*/

footer {
	padding-bottom: 40px;
	background-color: #312010;
	background-image: url("/wp-content/themes/academychild/img/bg-footer.jpg");
	background-position: center center;
	font-size: 16px;
	color: #fff;
}

footer a {
	font-weight: 400;
	color: #fff;
	text-decoration: none;
}

footer a:hover,
footer a:focus {
	font-weight: 400;
	text-decoration: none;
	color: #FF6634;
}

footer .container h4 {
	margin-top: 30px;
	margin-bottom: 10px;
	font-size: 20px;
	color: #FFD100;
}

footer ul {
	margin-left: 0px;
	list-style: none;
}

footer ul li {
	margin-bottom: 3px;
}

footer .textwidget {
	line-height: 1.6em;
}

/*Gravity forms*/

.gform_wrapper .top_label li .gfield_label {
	margin: 0px;
	font-size: 16px;
	font-weight: 400;
}

.gform_wrapper .top_label li .gfield_label .gfield_required {
	color: #1D87C4;
}

.gform_wrapper .top_label li .ginput_container {
	margin: 1px 0px 10px 0px;
}

.gform_wrapper .top_label li .ginput_container input,
.gform_wrapper .top_label li .ginput_container textarea {
	max-width: 350px;
	padding: 5px;
	border: 1px solid #CCC;
	border-radius: 4px;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
	font-size: 14px;
	color: #333;
}

.gform_wrapper form .gform_footer {
	margin-top: 0px;
}

.gform_wrapper .gform_footer input[type="submit"].gform_button {
	margin: 0px;
	font-size: 0.8em;
}

.ui-datepicker-header select {
	color: #666;
}


/*Page templates*****/

/*preschools*/

body #page-content {
	padding: 0px 15px;
	padding-bottom: 10px;
	border-bottom: 1px #ebebeb solid;
	margin-bottom: 40px;
}


body.page-template-template-all-preschools .posts-list .city:not(:last-of-type) {
	padding-bottom: 30px;
	border-bottom: 1px #ebebeb solid;
	margin-bottom: 30px;
}

.posts-list article:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
}

.posts-list article:not(:last-of-type) {
	padding-bottom: 30px;
	margin-bottom: 30px;
}

.posts-list article header {
	float: left;
}

.posts-list article img {
	margin: 0px 20px 0px 0px;
	border: 5px solid #FFF;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.2);
}

body.page-template-template-preschool-city .posts-list article:not(:last-of-type) {
	border-bottom: 1px #ebebeb solid;
}

/*front-page*/

#featured-content {
	background: url('/wp-content/themes/academychild/img/bg-slider.png') repeat-x;
	background-position: top;
	color: #fff;
	text-align: center;
	text-shadow: -1px -1px #69737a;
}

#featured-content .container {
	padding: 0px;
}

#featured-content h1 {
	margin-bottom: 0em;
}

#billboard-content:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#billboard-content img {
	padding: 0px;
}

.horizontal-rule {
	background-color: #ebebeb;
	height: 1px;
	margin: 0px 15px;
}

body.home #main-content {
	margin-top: 40px;
}

body.home #main-content h2,
body.home #main-content h4 {
	margin-top: 0px;
}

body.home footer #awards {
	display: none;
}

#awards {
	height: 100px;
	background-image: url('/wp-content/themes/academychild/img/bg-slider.png');
}

#awards .container {
	height: 100%;
}

#awards .container:before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.25em;
}

#awards .container img {
	display: inline-block;
	vertical-align: middle;
}

#awards .container div {
	display: inline-block;
	vertical-align: middle;
	font-size: 38px;
	font-style: italic;
	font-weight: 700;
	color: #fff;
}

/*Blog page*/

body.blog #main-content,
body.post-type-archive-events #main-content {
	margin-top: 40px;
}

body.blog #main-content article,
body.post-type-archive-events #main-content article {
	clear: left;
	padding: 30px 0px;
}

body.blog #main-content article:not(:last-of-type),
body.post-type-archive-events #main-content article:not(:last-of-type) {
	border-bottom: 1px solid #EBEBEB;
}

body.blog #main-content article header,
body.post-type-archive-events #main-content article header {
	float: left;
	margin-right: 20px;
}

body.blog #main-content article:after,
body.post-type-archive-events #main-content article:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	font-size: 0px;
}

body.blog #main-content article img,
body.post-type-archive-events #main-content article img {
	border: 5px solid #FFF;
	border-radius: 100%;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
}

body.blog #main-content article div a,
body.post-type-archive-events #main-content article div a {
	font-weight: 400;
	text-decoration: none;
}

body.blog #main-content article div h1,
body.post-type-archive-events #main-content article div h1 {
	margin-top: 0px;
	margin-bottom: 15px;
}

body.blog #main-content article div p,
body.post-type-archive-events #main-content article div p {
	margin-bottom: 10px;
}

.banner-image {
	width: 100vw;
}

/* 800px wide */
.page-template-template-800px #main-content .container {
	max-width: 800px;
}

/* 1000px wide */
.page-template-template-1000px #main-content .container {
	max-width: 1000px;
}

/*form*/

.schedule-tour-iframe,
.request-info-iframe {
	overflow: hidden;
	width: 720px;
}

.schedule-tour-iframe {
	height: 500px;
}

.request-info-iframe {
	height: 1200px;
}

.schedule-tour-iframe iframe,
.request-info-iframe iframe {
	position: relative;
	top: -125px;
	left: -200px;
}

/*Sidebar ******/

#sidebar {
	font-size: 16px;
}

#sidebar aside:not(:last-of-type) {
	border-bottom: solid 1px #ebebeb;
	padding-bottom: 30px;
}

#sidebar aside:not(:first-of-type) {
	padding-top: 30px;
}

#sidebar aside .img {
	display: inline-block;
	vertical-align: middle;
	height: 46px;
	width: 46px;
	margin-right: 10px;
	text-align: center;
}

#sidebar h4 {
	display: inline-block;
	vertical-align: middle;
	margin: 0px;
	color: #FF6634;
}

#sidebar aside p {
	margin: 1em 0px;
}

#sidebar aside .metaslider {
	margin-top: 20px;
}


/*Widget templates*****/


/*Social icons */

.socialIcon:not(:last-of-type) {
	margin-right: 10px;
}

/*Media quieres*****/

@media (min-width: 1200px) {
	#sidebar {
	padding-left: 55px;
	}

	footer aside {
		float: left;
	}

/*	footer aside:nth-of-type(-n+3) {
		margin-right: 60px;
	}*/
}

@media (max-width: 1200px) and (min-width: 992px) {
	#navbarandlinks {
		width: 736px;
	}
	nav > ul > li > a {
		font-size: 16px;
	}

	#featured-content h1 {
		font-size: 42px;
	}

	#billboard-content h1 {
		font-size: 48px;
	}

	#sidebar {
		padding-left: 55px;
	}

	footer aside {
		float: left;
		font-size: 14px;
	}

/*	footer aside:nth-of-type(-n+3) {
		margin-right: 28px;
	}*/

	footer .container h4 {
		font-size: 18px;
	}

	#awards .container div {
		font-size: 25px;
	}
}

@media (max-width: 991px) and (min-width: 768px) {
	#navbarandlinks {
		width: 516px;
	}
	nav > ul > li > a {
		font-size: 14px;
	}

	#featured-content h1 {
		font-size: 34px;
	}

	#awards .container img {
		height: 60px;
	}

	#awards .container div {
		font-size: 19px;
	}

	#sidebar {
		padding-top: 35px;
		/*border-top: 1px solid #ebebeb;*/
		margin-top: 35px;
	}
}

@media (max-width: 767px) {
	html {
		margin-top: 0px !important;
	}
	#navbar {
		position: static;
		width: auto;
		background-image: url("/wp-content/themes/academychild/img/bg-header-xsmall.png");
	}
	#navbar > .container {
		text-align: center;
	}
	#navbar > .container > * {
		text-align: center;
	}
	#logo img {
		height: 120px;
	}
	#logo img:first-child {
		display: none;
	}
	#logo img:last-child {
		display: block;
		margin-left: -15px;
	}
	#navbarandlinks {
		position: initial;
		vertical-align: initial;
		display: initial;
		height: initial;
		width: initial;
	}
	#navbarlinks-mobile {
	margin: 10px 0px;
	}
	#navbarlinks-mobile button {
	display: inline-block;
	vertical-align: middle;
	font-size: 12.6px;
	}
	
	/* #navbarlinks-mobile > a:last-child button {
		background-color: #FF6634;
	} */

	/*mobile menu*/
	.navbar-header {
		margin: 0px -15px;
		background: url('/wp-content/themes/academychild/img/bg-nav-xsmall.png') center top;
		background-size: 100% 61px;
	}
	.navbar-header button {
		float: none;
		padding: 0.3em 1em;
		border: 1px solid #fff;
		border-radius: 3px;
		margin: 12px 0px;
		background: transparent;
		color: #fff;
	}
	.navbar-default .navbar-toggle:hover,
	.navbar-default .navbar-toggle:focus {
		background-color: #900;
	}
	.navbar-header button .icon-bars {
		display: inline-block;
		vertical-align: middle;
		margin-right: 14px;
	}
	.navbar-header button .icon-bar {
		display: block;
		width: 1.8em;
		height: 3px;
		margin: 0.3em 0em;
		border-radius: 1px;
		background-color: #fff;
	}
	.navbar-header button .icon-text {
		display: inline-block;
		vertical-align: middle;
	}

	.container > #navbarandlinks > nav {
		position: initial;
		overflow: visible;
		bottom: initial;
		box-sizing: initial;
		height: initial;
		padding: initial;
		background: initial;
		background-size: initial;
	}
	nav > ul > li {
		display: block;
		padding-top: 5px;
		margin-right: initial;
		text-align: center;
	}
	nav > ul > li:after {
		content: "";
		display: block;
		height: 1px;
		width: 111%;
		background-color: #CCC;
		margin: 5px 0px 0px -15px;
	}
	nav > ul > li > a {
		font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
		position: initial;
		margin: initial;
		text-decoration: none;
		text-transform: uppercase;
	}

	#featured-content h1 {
		font-size: 34px;
	}

	#awards {
		box-sizing: content-box;
		padding: 10px 0px;
		height: auto;
		background-size: auto 200px;
	}

	#awards .container {
		text-align: center;
	}

	#awards .container:before {
		content: "";
		display: inline-block;
		height: auto;
		vertical-align: middle;
		margin-right: -0.25em;
	}

	#awards .container > * {
		margin: 0px auto;
	}

	#awards .container img {
		width: 100%;
	}

	#awards .container div {
		font-size: 18px;
	}

	#sidebar {
		padding-top: 35px;
		/*border-top: 1px solid #ebebeb;*/
		margin-top: 35px;
	}
}

/*Updated nav 2015-11-03*/

#navbar nav a {
	transition: color 0.25s ease;
	position: relative;
}

#navbar nav li.menu-item-has-children {
	position: relative;
}

#navbar nav li.menu-item-has-children > a {
	padding-right: 15px;
}

#navbar nav li.menu-item-has-children > a:after {
	content: "\f107";
	position: absolute;
	right: 0px;
	font-family: FontAwesome;
	font-size: 12px;
}

#navbar nav ul {
	list-style: none;
	margin-left: 0px;
}

#navbar ul.sub-menu {
	overflow: hidden;
	max-height: 0px;
	font-family: 'Open Sans', 'Helvetica', 'Arial', sans;
}

#navbar ul.sub-menu.is-visible, #navbar li.menu-item-has-children:hover > ul {
	transition: max-height 0.6s ease 0s;
	max-height: 400px;
}

@media (min-width: 768px) {
	#navbar nav > ul > li > a {
		padding-bottom: 10px; /*Drop down menu hover area*/
	}
	#navbar ul.sub-menu {
		position: absolute;
		z-index: 10;
		box-sizing: border-box;
		margin-top: 5px;
		min-width: 220px;
		background-color: #F7F7F7;
		box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.2);
	}
	#navbar ul.sub-menu li:not(:last-of-type) {
		border-bottom: 1px solid #ebebeb;
	}
	#navbar ul.sub-menu a {
		transition: all 0.2s ease-in-out 0s;
		display: block;
		padding: 7px 20px 7px 15px;
		white-space: nowrap;
		text-decoration: none;
		color: #00853E;
	}
	#navbar ul.sub-menu a:hover {
		padding-right: 15px;
		padding-left: 20px;
		background-color: #00853E;
		color: #fff;
	}
}

@media (max-width: 767px) {
	#navbar {
		height: initial;
	}
	#navbar button,
	#navbar input[type="submit"] {
		min-width: initial;
	}
	#navbar nav {
		display: none;
		margin: auto -15px;
	}
	#navbar nav > ul {
		font-size: 18px;
	}
	#navbar ul.sub-menu {
		font-size: 16px;
	}
	#navbar ul.sub-menu a {
		font-weight: 400;
		text-decoration: none;
	}
	#navbar ul.sub-menu li {
		margin: 15px 0px;
	}
}


.stack-facebook { color: #3A5795; }
.stack-google { color: #DD4B39; }
.stack-instagram { color: #e4405f; }
.stack-linkedin { color: #0077B5; }
.stack-pinterest, .stack-pinterest-p { color: #BD2126; }
.stack-rss { color: #ff751a; }
.stack-snapchat-ghost { color: #FFFC00; }
.stack-twitter { color: #58AEEA; }
.stack-vimeo { color: #44BBFF; }
.stack-yelp { color: #c41200; }
.stack-youtube, .stack-youtube-play { color: #F80000; }


/* Shortcodes */
.expanding-paragraph [class*='inner']:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  font-size: 0px; }

.hero-image-overlay {
  position: relative; }

.hero-image-overlay-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); }

.break-out, .hero-image {
  max-width: none;
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2); }

.hero-image {
  position: relative;
  color: #fff;
  font-size: reponsive_font_size(24, 16); }
  .hero-image img {
    max-width: none;
    width: 100vw; }
  .hero-image h2 {
    margin-bottom: 0.5em;
    color: inherit;
    font-size: reponsive_font_size(48, 21); }
  .hero-image button {
    font-size: reponsive_font_size(24, 14); }

.wp-content .hero-image {
  margin-top: 20px;
  margin-bottom: 20px; }

.hero-image-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden; }

.hero-image-overlay-inner {
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0px 15px;
  text-align: center; }

.expanding-paragraph {
  margin-top: 1.5em;
  position: relative; }
  .expanding-paragraph:not(:last-child) {
    margin-bottom: 1.5em; }
  .expanding-paragraph [class*='inner'] {
    transition: all .5s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 0px !important; }
  .expanding-paragraph.is-closed [class*='inner'] {
    max-height: 0px !important; }
    .expanding-paragraph.is-closed [class*='inner']:before {
      transition: all 0.5s ease;
      background-position: 0px; }
  .expanding-paragraph.is-closed [class*='button']:before {
    content: "\f13a"; }
  .expanding-paragraph.is-closed [class*='button']:after {
    content: 'More'; }

.expanding-paragraph-button {
  cursor: pointer;
  padding: 5px;
  white-space: nowrap;
  color: #D7072D; }
  .expanding-paragraph-button:before {
    font-size: 20px; }
  .expanding-paragraph-button:after {
    margin-left: 5px;
    content: 'Less';
    font: 16px "Open Sans", "Helvetica", sans-serif;
    vertical-align: 6%; }

@media (min-width: 768px) {
  .expanding-paragraph-button {
    position: absolute;
    top: 0%;
    left: 100%;
    transform: translateX(-100%); }
  .expanding-paragraph h2, .expanding-paragraph h3, .expanding-paragraph h4, .expanding-paragraph h5, .expanding-paragraph h6 {
    margin-right: 75px; } }

@media (max-width: 767px) {
  .expanding-paragraph {
    padding-bottom: 2em; }
  .expanding-paragraph-button {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%); } }


/*Footer Banner*/
#footer-banner {
  padding: 40px 0px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  background-color: #f63;
}
  #footer-banner .container {
    max-width: 800px;
}
  #footer-banner h2 {
    margin-bottom: 0.5em;
    font-size: 36px;
    color: inherit; }
#footer-banner button {
	margin-top: 20px;
}

@media (max-width: 767px) {
  #footer-banner {
    font-size: 16px; } }



.page-id-1019 #main-content .container {
	max-width: 1000px;
}
.page-id-1019 #main-content {
	text-align: center;
}
