.content-wrapper{ display:table;}

.content-left{display:table-cell; width:900px; max-width:900px;}

.inline {font-size: 0; text-align: center;}
.inline > * {display: inline-block; font-size: 16px; vertical-align: top; padding: 16px;}
.inline .half a {text-transform: uppercase; font-weight: 700; letter-spacing: 1px; color: #fff; padding: 10px 20px; background: #00cc33;}

.content-right{
	display:table-cell;
  width:240px;
  min-width:240px;
	vertical-align:top;
  padding-right:60px;
  padding-top:40px;
}

.content-right img{width:100%; padding-right:20px; margin-top:40px;}

.academics_menu{padding:0px 80px;	}

/* ==== MAIN STYLE REVISIONS */
body{
	background-image:url('https://waltonacademyk5.com/wp-content/uploads/2018/11/bg_color.png');
}

.content{
	background-color:#fff;
}

#testimonial_slider{
	background-color:#fff;
	padding-bottom:50px;
}


/* ==== SUB-MENUS */

.menu-item {
    position: relative;
    display: inline-block;
}

.sub-menu{
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
}

.top_nav .sub-menu{
	text-align:left;
}

.menu-item:hover .sub-menu{
    display: block;
}
.sub-menu li{
	width:100%;
}

.sub-menu li a:link{
	display:block;
	width:100%;
	padding:5px;
}
.sub-menu li a:hover{
	background-color:rgba(0,0,0,0.6);
	color:#fff;
}

.sub-menu li a:hover{
	color:#fff;
}

/* ACADEMICS Sub-Menu  */

#menu-academics li{
	list-style:none;
	display:inline-block;
	padding:10px;
	margin-right:7px;
	background-color:#3233FF;
	text-transform:uppercase;
	font-size:15px;
}

.heading_content a:link, .heading_content a:visited{
	color:#fff !important;
}

.heading_content i, .heading_content strong{
	display:none;
}

/* APPLICATION HIDDEN */

#view_application{
	background-color:#04C52D;
	padding:10px 20px;
	color:#fff;
	text-transform:uppercase;
	text-align:center;
	font-size:18px;

}

.application .content .content{
	padding:0 !important;
	margin:0;
}

/* ==== ADADEMICS CHILD - blue red green yellow */
/* NOTE: I think theres a better way to do this with nth child, so revisit this. */

/* background */
.menu-item-1066{
	background-color:#EB1019 !important;
}

/* curriculum */
.menu-item-1065{
	background-color:#FBEE21 !important;
}

/* apply for admissions */
.menu-item-1310{
	background-color:#38B447 !important;
}



/* CURRICULUM */

.classHalf{
	display:inline-block;
	vertical-align:top;
	width:445px;
	background-color:#fff;
	border:1px solid #eee;
	padding:20px;
  margin-top:20px;
  word-wrap: break-word;
}

.classHalf:nth-child(even), .subject-list:nth-child(even){
	margin-left:6px;
}

.classHalf:nth-child(odd), .subject-list:nth-child(odd){
	margin-right:6px;
}


.classHalf h1{
	padding-bottom:0px;
}

.subject-list{
	background-color:#04C52D;
	list-style:none !important;
	width:210px;
	display:inline-block;
	margin-top:10px !important;
	text-align:center;
}

.subject-list a:link, .subject-list a:visited{
	color:#fff;
	display:block;
	padding-top:5px;
	text-transform:uppercase;
}

.grade_wrapper{
	padding:20px 80px 0 80px;
}

#menu-academics li a:link, #menu-academics li a:visited{ color:#fff;}

/* .current-menu-item{background-color:#2122B4 !important;} */

#menu-academics{padding:0;}

/* PARENTS - EVENTS - RESOURCES */
.resourceWrapper h1{
  font-weight:bold;
  color:#999999;
}
.resourceWrapper{
  background-color:#F6F6F6;
  padding:20px 60px 40px 60px;
  margin-bottom:40px;
}

.resourceWrapper__resource{
  display:table;
  background-color:#D8D8D8;
  width:62%;
  margin-top:20px;

}
.resourceWrapper__resource h3, .resourceWrapper__resource a:link{
  display:table-cell;
  padding:10px 20px;
  font-weight:bold;
  font-size:18px;
}

.resourceWrapper__resource a:link{
  width:125px;
  background-color:#04C52D;
  color:#fff;
  text-align:center;
  text-transform:uppercase
}


/* =========== HOME PAGE */

.author-name{
	font-size:20px;
}
.author-time, .review_text{
	font-weight:200;
	line-height:25px;
}

.review_card{
	padding:50px;
  border-radius:10px;
  border:2px solid #eee;
  vertical-align:top;
  margin:0 auto;
  display:inline-block;
  width:600px;
}

#Testimonials{
	font-size:48px;
	font-weight:700;
	text-align:center;
	padding-top:80px;
	text-transform:uppercase;
	font-weight:bold;
	color:#14CF41;
}


  .review_heading, .review_text, .read-more{
text-align:left;
}

.author{
  float:left;
}

.rating{
  float:right;
}

.author, .rating{
  padding:20px 0px;
}

.review_text{
  clear:both;
  height:140px;
  overflow:hidden;
}


.slider-style {
  width: 100%;
  margin: 60px auto;
  display:none;
}

.slider-style .slick-slide {
margin: 0px 60px;
width:600px;
}


.slick-prev:before,
.slick-next:before {
color: black;
}


.slick-slide {
transition: all ease-in-out .3s;
opacity: .2;
}

.slick-active {
opacity: .5;
}

.slick-current {
opacity: 1;
}

.halfClass{
	margin:10px auto;
}


@media only screen and (max-width: 700px) {

  .review_text{
    height:auto;
  }
}

/* mobile */
@media (max-width:1279px){


  #grade_wrapper{
    text-align:center;
  }

  .halfClass{
    margin:10px auto;
  }


}
@media (max-width:1023px){
  .home_special .container > * {display: table; width: 100%;}
  .home_special .container > .special_video {display: none;}

  .location_contact .container > div {display: table; width: 100%;}
  #map {margin-top: 30px;}

  .content {padding: 20px 10px;}
  .content-right{ padding: 0}

  .academics_menu{padding:0px 25px;}

  .grade_wrapper{
    padding:0px;

  }

  .classHalf{
    /* width:90%; */
  }

  }

@media (max-width:979px){

	.home_slides img {display: block !important; width: 100%;}
	.home_slides video {display: none;}
	.home_slides li {height: auto !important; max-height: 100vh; overflow: hidden;}

  .landing_table > div {display: table; width: 100%;}
  .landing_content {text-align: center;}
  .landing ul.services > li {width: 50%;}
  .top_nav .menu > li > a {font-size: 14px;}

  .slide_content h2 span {background: rgba(0, 204, 51, 0.7);}
  .slide_content p {margin: 10px 0; max-width: 100%; background: rgba(50, 51, 255, 0.7);}

  .home_differences .container > div {display: table; width: 100%;}

  footer {padding: 0 10px;}
  footer .contact_info h2,
  footer .container .contact_info h3 {display: none;}
  footer .container .contact_info {display: none;}
  footer .container > .mobile_block {display: table-cell; vertical-align: middle; text-align: right;}
  footer .container > .mobile_block a {font-size: 36px; padding: 10px;}


  .gform_fields li.half, .gform_fields li.third, .gform_fields li.fourth, .gform_fields li.fifth {width: 100%;}


  #menu-academics li{display:block;margin:0;}
  .academics_menu{padding:0px;}
  .resourceWrapper{
    padding:20px 20px 40px 20px;
  }

}

@media (max-width: 767px){


	.sub-menu{
		display:block;
		position:static;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.0);
		font-weight:200;
	}

	.top_nav .sub-menu{
		text-align:center;
	}

  .landing ul.services > li {width: 100%;}

  header.top {background: #fff; padding: 0; position: relative !important;}
  header.top .nav_table {box-shadow: 0 0 0 #fff;}
  .heading {padding: 30px 0 20px;}

  .top_nav a.mobile_nav {display: inline-block;}
  .top_nav.on .menu {display: block;}
  .top_nav .menu {display: none; position: absolute; background: #fff; width: 100%; left: 0; top: 80px; text-align: center; border: 2px solid #3233ff; z-index: 3000;}
  .top_nav .menu > li {width: 100%;}
  .top_nav .menu > li > a {font-size: 20px; padding: 10px 0; display: block;}

  .slide_content {padding: 10px 0 0; text-align: center;}

  .home_mission .mission_list > li {width: 100%; padding: 50px 0 0;}

  .home_differences .container > div {text-align: center;}

  .text_slides .tslide_list li p {font-size: 16px; padding: 20px 0;}
  .copyright span.hidden {display: none;}
  .copyright span.break {display: block;}

  .photo_gallery .gallery_list li {width: 50%;}

  .content-right img{
    padding:0;
    margin:0 auto;
    text-align:center;
    width:100%;
    display:block;
  }

  .content-right{ padding:0; width:100%; display:block; }

  .content-right li{
    display:inline-block;
    max-width:32%;
    position:relative;
    margin:0 auto;
    padding-bottom:0px;
  }

  .content-right ul{ margin:0 auto; text-align:center; width:100%;}

  .subject-list, .classHalf{
    width:100%;
		box-sizing: border-box;
  }

	.classHalf:nth-child(even), .subject-list:nth-child(even){
		margin-left:0px;
	}%

	.classHalf:nth-child(odd), .subject-list:nth-child(odd){
		margin-right:0px;
	}

  .resourceWrapper__resource{
    width:100%;
  }
  
  .team--single {display: block !important; width: 100%;}
  .team--photo {display: block; width: 256px; margin: 0 auto;}
  .team--info {padding: 0;}
  

}
@media (max-width:480px){
  .home_differences ul.differences > li {width: 100%;}

  footer .container .bottom_logo,
  footer .container .mobile_block {display: table; width: 100%; text-align: center;}

  .photo_gallery .gallery_list li {width: 100%;}
  .resourceWrapper__resource a:link{
    width:50px;
  }

  .slider-style .slick-slide {
    margin: 0px 0px;
    }

  .review_card{
    padding:20px;
  }

  .slick-slider {
    padding: 0 20px !important;
  }

  #Testimonials{
    word-break: break-all;
    padding-left:20px;
    padding-right:20px;
  }

	.entry h1, .home_mission h1, .home_differences h1{
		font-size:30px;
	}

	.entry h2{
		font-size:23px;
	}

	.entry h3{
		font-size:17px;
	}

	#Testimonials{
		font-size:30px;
	}

	.page-id_1263 .content{
		padding:0px !important;
	}

	.classHalf{
		padding:10px;
	}
}
