/*
Theme Name:     Circuit Child Theme
Theme URI:      dev.flexcircuitgym.com
Description:    Child theme for the Twenty Eleven theme 
Author:         brian hildebrand / Responsive styles added by Duckdog Design
Author URI:     http: //example.com/about/
Template:       twentyeleven
Version:        0.1.0
*/

*{
	list-style:none;
	font-family:"museo-slab";
	font-size:12px;
}

.signup{
	background-image: url(img/Signup-Sm2-01.jpg);
	height: 35px;
	width: 114px;
	display: block;
	padding-top: 30px;
	padding-left: 61px;
	font-family: "atrament-web";
	text-transform: uppercase;
	font-size: 24px;
	color:#F1F1F2;
}

.pt{
	background-image: url(img/signup-pt.jpg);
	height: 31px;
	width: 102px;
	display: inline-block;
	padding-top: 9px;
	padding-left: 48px;
	font-family: "atrament-web";
	text-transform: uppercase;
	font-size: 24px;
	color: #F1F1F2;
	clear:both;
}

a{
	text-decoration:none;
	color:#666;
}

a img{
	border:none;
}

#site-title{
	padding: 30px 0 20px 0 !important;
	margin: 0 !important;
}

p{
	line-height:18px;
}

h2{
	font-size:24px;
	color:#444;
	font-family:"atrament-web";
	font-weight:400;
}

h1{
	font-family:"atrament-web";
	font-size:20px;
	font-weight:400;
}

body{
	padding:0!important;
	top:0;
	background-color:#444; /*was #999*/
	height:auto;
	margin: 0 !important;
}

#page{
	background-color:#F1F1F2;
	margin:0px auto 0 auto;
	max-width:960px;
	position:relative;
	height:auto;
	padding-bottom:0px;
}

#access{
	background: url(img/Flex-MenuBanner02.png);
	margin-left: -52px;
	width: 1065px;
	height: 48px;
	box-shadow: all;
}



.menu{
	padding: 0;
	margin-left: 52px;
}

.menu li{
	float: left;
	display: block;
	text-align: center;
	font-size: 13px;
	text-transform: uppercase;
	width:19%;
}



.menu li a {
	color: #444;
	text-decoration: none;
	display: block;
	padding-top: 10px;
	margin: 0 14px;
	white-space: nowrap;
	padding-bottom:10px;
	font-size:20px;
	font-family:"atrament-web";
}
/* Orange background last menu item 
#menu-item-2309 a {
	color: white;
	background-color: #e0801b;
	
} */

#menu-item-2309 a:hover {
	color: #fff;
	
} 

#menu-item-407 a:hover {
	color: #fff;
	
} 


@-webkit-keyframes glowing {
  0% { background-color: #DDD; }
  100% { background-color: #e0801b; }
}

@-moz-keyframes glowing {
  0% { background-color: #DDD; }
  100% { background-color: #e0801b; }
}

@-o-keyframes glowing {
  0% { background-color: #DDD; }
  100% { background-color: #e0801b; }
}

@keyframes glowing {
  0% { background-color: #DDD; }
  100% { background-color: #e0801b; }
}
/* Flashing orange menu item background 
.menu-item-2309 a {
  -webkit-animation: glowing 1500ms infinite;
  -moz-animation: glowing 1500ms infinite;
  -o-animation: glowing 1500ms infinite;
  animation: glowing 1500ms infinite;
  -webkit-animation-direction: alternate;
  -moz-animation-direction: alternate;
  -o-animation-direction: alternate;	
  animation-direction: alternate;
} */



#menu-item-409 a, #menu-item-1269 a, #menu-item-413 a, #menu-item-441 a {
	color: #444;
}

#menu-item-409 a:hover, #menu-item-1269 a:hover, #menu-item-413 a:hover, #menu-item-441 a:hover {
	color: white;
}

#menu-item-411 a:hover, #menu-item-408 a:hover, #menu-item-410 a:hover, #menu-item-1185 a:hover, #menu-item-1830 a:hover, #menu-item-1697 a:hover, #menu-item-1826 a:hover, #menu-item-1825 a:hover, #menu-item-416 a:hover, #menu-item-414 a:hover, #menu-item-412 a:hover, #menu-item-1789 a:hover, #menu-item-1888 a:hover, #menu-item-2194 a:hover, #menu-item-2195 a:hover {
	color: #444;
}



.menu li ul {
	position: absolute;
	padding: 0 0 0 0;
	margin-top:2px;
	visibility: hidden;
	background: white;
	z-index: 100;
	width: 20%;
}

.menu li ul li{
	float: none;
	border: none;
	font-size: 11px;
	text-align: center;
	width: 100%;
	padding-bottom: 7px;
	padding-top: 7px;
}

.menu li ul li a{
	color: #444;
	display: inline;
	margin: 0 !important;
	white-space: normal;
}

.menu li ul li a:hover{
	text-decoration:underline;
	color: #444;
}

.menu ul li ul {position: absolute; padding: 8px 0 10px; visibility: hidden; background: #fff; z-index: 100;}
li:hover ul {visibility:visible;}

.menu li #menu-item-1610 {
	display:none;
	}

.image{
	float:left;
}

.text{
	background-color:#a3c7d2; 
	height: 290px;
	width: 280px;
	float: left;
	padding: 0 20px;
	font-style:italic;
}

.text p{
	font-size: 18px;
	line-height: 32px;
}

.slider_nav{
	height: 50px;
	width: 40px;
	position:absolute;
	top: 295px;
	z-index:10;
	cursor:pointer;
}

.slider{
	width:960px!important;
}

#slide_container{
	width:960px!important;
}

#big_container:hover .slider_nav{
	display:block;
}

#prev_btn:hover{
	background:url(img/nav.png) 0px 0px;
}

#next_btn:hover{
	background:url(img/nav.png) -40px 0px;
	right:0;
}

#prev_btn{
	background:url(img/nav.png) 0px -50px;
}

#next_btn{
	background:url(img/nav.png) -40px -50px;
	right:0;
}

.excerpt_text{
	width:300px;
}

.excerpt_image{
	float:left;
	height:230px;
	width:260px;
	overflow:hidden;
}

.excerpt_text{
	float:left;
	margin-left:30px;
	margin-top:20px;
}

#big_container{
	position:relative;
	display:block;
	height:290px!important;
	overflow:hidden;
}

.newslet{
	border-top:1px #333 solid;
	height:200px;
	display:block;
	clear:both;

}

.excerpt_text p{
	line-height:19px;
}

#primary{
	width: 600px;
	float: left;
	padding: 0 20px;
	display:block;
}

.sidebar {
	width: 275px;
	padding: 3px 30px 0 0;
	float: right;
	display: block;
	margin-bottom:25px;
}

#wrapper{
	background-color:#fff;
}

.sidebar .entry-title{
	font-weight:100;
}

.entry-title{
	text-transform: uppercase;
	font-size: 24px;
	font-weight: normal;
	clear:both;
	color:#444;
}

.sidebar .entry-title{
	border-bottom: 1px solid #999;
}

#ajax{
	width:600px;
	float:left;
	display:inline-block;
	margin-bottom:5px;
	clear:both;
}

.social{
	height:50px;
	width:25%;
	float:left;
	margin-bottom: 10px;
}

.logo{
	height: 118px;
	display: block;
	margin: 0 auto;
	max-width: 310px;
	border:none;
}

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

#fb{
	background: url(https://flexcircuitgym.com/wp-content/uploads/2018/01/Facebook.png);
	background-size: 75%;
	background-repeat: no-repeat;
}


#twitter{
	background: url(https://flexcircuitgym.com/wp-content/uploads/2018/01/Twitter.png);
	background-size: 75%;
	background-repeat: no-repeat;
}

#yelp{
	background: url(https://flexcircuitgym.com/wp-content/uploads/2018/01/Yelp.png);
	background-size: 75%;
	background-repeat: no-repeat;
}

#instagram{
	background: url(https://flexcircuitgym.com/wp-content/uploads/2021/03/Instagram.png);
	background-size: 75%;
	background-repeat: no-repeat;
}

#fb:hover, #twitter:hover, #yelp:hover, #instagram:hover {
	opacity: .65;
}

#rss{
		background: url(img/flex-icon-rss_graybg.jpg);
}

#clear{
	clear:both;
}

.clear{
	clear:both;
}

.arrow{
	width:21px;
	height:20px;
	background:url(img/arrow.png)no-repeat;
	margin-top: -9px!important;
	margin-left:45%!important;
}

.line{
	height: 2px;
	width: 28%;
	position: absolute;
	background-color: #999;
	top: 90px;
}

.left{
	margin-left: 20px;
}

.right{
	right: 20px;
}

/*Twitter*/

.tweet_list{
	padding-left:0;
	margin-left:0;
}

.tweet_list li {
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0.5em;
	list-style-type: none;
	padding-left:0;
}

.tweet_avatar{
	float:left;
	margin-right: 10px;
}

input.submit{
	font-size: 24px;
	color: #666;
	font-family: "atrament-web"!important;
	font-weight: 400;
}

.info{
	height:180px;
	background-color:#e0801b;
	border-top: 1px solid #333;
	margin-top:-1px;
	color:white;
}

.info a{
	color:white;
}

.info a:hover{
	color:#F3901D;
}

#address{
	text-align:center;
	padding:0 0 0 0;
}

#address h2{
	color: white;
	text-transform: uppercase;
	font-weight: 200;
	font-family: "alternate-gothic-no-1-d";
	font-size: 24px;
}

.big{
	color: #333;
	text-transform: uppercase;
	font-weight: 200;
	font-family: "alternate-gothic-no-1-d";
	font-size: 24px;
}

.big:hover{
	text-decoration:underline;
}

.bio-line {
	border-top:#333 solid 1px; 
	padding-top: 10px; 
	padding-bottom:10px;
	height:21px;
}

.entry-meta {
	display:none;
}	

/*
Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1023px) {
	.sidebar {
		float:left;
		width:335px;
		padding-left:0;
		margin-left:20px;
		}
	#slide_container {
    		height: auto !important;
   		 max-width: 100% !important;
		position:absolute !important;
		}
	.slider {	
		height: auto !important;
   		 max-width: 100% !important;
		position:relative !important;
		}
	#slide_container .text {
		width:200px;
		height: 250px;
		}
	#slide_container .text p {
		font-size:15px;
		line-height:18px;
		padding: 10px 0;
		}

	#slide_container img {
		width:600px;
		height:250px;
		}

}

@media only screen and (max-width: 768px) {
	#ajax {
		width:100%;
		max-width:600px;
	}
	#primary {
		width:100%;
		max-width:600px;
		
	}
	#content {
		width:90%;
		}
	header .line {
		width: 18%;
		}
	.alignleft {
		padding-bottom:20px !important;
		}
	#slide_container {
    		height: auto !important;
   		 max-width: 100% !important;
		}
	.slider {	
		height: auto !important;
   		 max-width: 100% !important;
		}
	#slide_container .text {
		display:none;
		}

	
}

@media only screen and (max-width: 600px) {
	header .line {
		display:none;
		}
	.excerpt_text {	
		margin-top:0;
		}
	.excerpt_text {	
		height:200px;
		}
	.excerpt_image {
		height:auto;
		}
	#yext-widget-85397.yext-postswidget .yext-post {
		margin:20px 20px 0 0 !important;
		}
	.schedule iframe {
		height: 775px;
		width: 100% !important;
		clear:both;
		}
	#slide_container {
    		height: auto !important;
   		 max-width: 100% !important;
		}
	.slider img {	
		height: auto !important;
   		 max-width: 100% !important;
		}
	.home .newslet {
		width:88%;
		}
	#zenrez-iframe-wrapper {
		top:30px !important;
		}

}



@media only screen and (max-width: 320px) {
	#primary {
		max-width:280px !important;
		width:100% !important;
		margin-right:10px;
		}
	#yext-widget-85397 .yext-postswidget .yext-post {
		margin:20px 20px 0 0;
		}
	.schedule iframe {
		height: 775px;
		width: 100% !important;
		clear:both;
		}
	
	.home .newslet .excerpt_text p, .excerpt_text {
		width:100% !important;	
		margin-left:0 !important;
		height:auto;
		padding:0;
		}
	#zenrez-iframe-wrapper {
		top:0;
		}
	
}

/*
Make images responsive
 */
img {
    height: auto;
    max-width: 100%;
}
/*
Make google map responsive
 */
.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.schedule iframe {
	width: 600px;
	height: 775px;
	}

.popup-button:link, a.popup-button {
	background-color:#f39031;
	color:#fff;
	padding:17px 25px;
	display:block;
	font-size:19px;
}

.popup-button:hover, a.popup-button:hover {
	background-color:rgba(243,144,49,.7);
	
}

.class-schedule-button {
	background-color:#f39031;
	}
#wprmenu_menu ul li a {
	text-transform:uppercase;
	}
.popup-button-container {
	margin:25px 150px;
}


.popup {
	text-align:center;
	margin:15px 70px;
}

.btn-group button {
  	background-color:#f39031;
	color:#fff;
	padding:17px 25px;
	 cursor: pointer; /* Pointer/hand icon */
  float: left; /* Float the buttons side by side */
	margin-right:20px;
	display:table;
	
}
.btn-group button:link,
.btn-group button a {
	color:#fff;
}

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

.btn-group button:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

/* Add a background color on hover */
.btn-group button:hover {
  background-color: #bdbec1;
}
table {
    margin: 0 auto;            
}
@media only screen and (max-width: 768px) {
	.popup-button-container {
		margin:25px 50px;
	}
	
}


@media only screen and (max-width: 600px) {
	.popup {
		margin:15px 10px;
	}
	.popup h1 {
		font-size:22px;
		text-align:center;
	}
	.popup-button-container {
		margin:25px 5px;
	}
}
