/* 
Karma Template 
http://www.templatemo.com/preview/templatemo_403_karma 
*/

/*-----------------------------------------------------------------------------------*/
/*	GENERAL
/*-----------------------------------------------------------------------------------*/

.tituloTelefono {
	display: none;
}

.ch-grid {
	margin: 20% 0 0 10%;
	padding: 0;
	list-style: none;
	display: block;
	text-align: center;
	width: 100%;
}

.row-facebook {
	margin:8% 0 0 42%;
}

.col-facebook {
	margin-top:5%;
}

.ribbon-green a:link{
text-decoration:none;
}
.ribbon-green a {
color:#000000;
  text-shadow: rgba(0,0,0,0.5) 0px 1px 0px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.ribbon-green a:hover{
color: #FFFFFF;
  text-shadow: rgba(0,0,0,0.5) 0px 1px 0px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.ribbon-wrapper-green {
margin-top:85px;
  width: 120px;
  height: 123px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  right: -3px;
}

.ribbon-green {
  font: bold 14px;
  line-height: 12px;
  color: #000;
  text-align: center;
  text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
  -webkit-transform: rotate(45deg);
  -moz-transform:    rotate(45deg);
  -ms-transform:     rotate(45deg);
  -o-transform:      rotate(45deg);
  position: relative;
  padding: 5px 0;
  left: -12px;
  top: 26px;
  width: 170px;
  background-color: #BFDC7A;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#BFDC7A), to(#8EBF45));
  background-image: -webkit-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:    -moz-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:     -ms-linear-gradient(top, #BFDC7A, #8EBF45);
  background-image:      -o-linear-gradient(top, #BFDC7A, #8EBF45);
  -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
  -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.5);
  box-shadow:         0px 0px 3px rgba(0,0,0,0.5);
}

.ribbon-green:after, .ribbon-green:before {
  content: "";
  border-top:   3px solid #6e8900;
  border-left:  3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}
.ribbon-green:before {
  left: 0;
}
.ribbon-green:after {
  right: 0;
}
	#fb-root {
    display: none;
}

/* To fill the container and nothing else */

.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}
@font-face {

font-family: 'Calligrapher';

src: url(../fonts/calligrapherregular.ttf) format(‘truetype’);

}

#htmlMain { font-size: 1em; 
			background-image: url(../images/portada-globalfit-pelota2.jpg);
			background-size: initial;
			/*background-image: url(../images/vero-piso-hd.jpg);*/
			/*background-size: cover;*/
			background-repeat: no-repeat;
			}

.studioMain html { font-size: 1em; background-image: url(../images/fondo.jpg)}

body { font-family: Arial, sans-serif; 
	overflow-x: hidden; 
	/* background-image: url(../images/line.png); 
	*/
	background-color: transparent !important
	
} /*carasmo's comment to hide horizontal scroll bar https://github.com/twbs/bootstrap/issues/10711*/

h1, h2, p { font-family: Arial, sans-serif; }

h1 { font-weight: 700; }

h2 { font-size: 1.5em; }

ul { margin: 0; }

section { padding-top: 85px; margin-top: -85px;}
section .outer_container { margin-bottom: 50px;}
section .row { 
	margin-left: 0; 
	margin-right: 0; 
	overflow: hidden;
	background-color:#FFFFFF;
	padding-bottom:30px;
}
.shadow {
padding:5px;
/*
-webkit-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.5);
-moz-box-shadow:    0px 0px 15px 0px rgba(50, 50, 50, 0.5);
box-shadow:         0px 0px 15px 0px rgba(50, 50, 50, 0.5);
*/
-webkit-box-shadow:  0px 5px 12px 15px rgba(254, 157, 52, 0.76);
-moz-box-shadow:     0px 5px 12px 15px rgba(254, 157, 52, 0.76);
box-shadow:          0px 5px 12px 15px rgba(254, 157, 52, 0.76);

}
section h1 { text-transform: uppercase; 
	color: rgb(62,62,62); 
	margin-top: 0px; 
	margin-bottom: 10px; 
	font-size: 1.8em; 
	line-height: 80px;  
	text-align: center; 
	/*background: url(../images/line2.png) center bottom no-repeat; 	*/
	-webkit-background-size:100% 2px ;
	-moz-background-size: 100% 2px ;
	-o-background-size:100% 2px ;
	background-size:100% 2px ;}

.templatemo_ceo img { margin-bottom: 10px; }
.templatemo_ceo p { text-align: center; }

.container { margin: 0 auto; }

/*http://css-tricks.com/vertically-center-multi-lined-text/*/
.center-row { display: table; }
.center-row .center { display: table-cell; vertical-align: middle; }

/*------------------------------------------------------
	NAVIGATION 
--------------------------------------------------------*/
nav { font-size: 1em; font-weight: lighter; }
nav .fa { display: block; text-align: center; margin-bottom: 13px; }

.navbar {
	background: rgb(62,62,62);
	min-height: 85px;	
	border-radius: 0px; 
	border: none; 
	margin-bottom: 0px; 
	-webkit-box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15);
	-moz-box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15);
	box-shadow: 0 2px 4px rgba(1, 1, 1, 0.15);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.navbar-default .navbar-nav>li>a {
	padding-bottom: 10px;
	color: white;
	text-transform: uppercase;
	-moz-transition: background-color .5s ease;
	-o-transition: background-color .5s ease;
	-webkit-transition: background-color .5s ease;
	transition: background-color .5s ease;
}

.navbar-default .navbar-nav>li>a:hover, .menu ul li a.current {
	color: white;
	background-color: #767573; /* el narajna -> #FF9900;*/
}
.navbar-default .navbar-nav>li>a:focus{
	color: white;
	background-color: #767573; /* el naranja -> #FF9900; */
	outline: #FFFFFF thin dotted;
}
.navbar>.container .navbar-brand { margin-left: 0; }
.navbar-collapse .navbar-nav.navbar-right:last-child { margin-right: 0; }
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: #FF9900; outline: #FFFFFF;}

/*------------------------------------------------------
	FLEXSLIDER OVERRIDING 
--------------------------------------------------------*/
.flexslider { padding-top: 0px; }
.flexslider a:hover, .flexslider a:focus { text-decoration: none; }
.flexslider { border: none;	-webkit-border-radius: 0; border-radius: 0; }
.flexslider .slides li { position: relative; }
.flex-caption {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    color: white;
    background:rgba(197,82,87,.8);   
    z-index:1;
    padding: 20px;
    margin: 0;
}


/*------------------------------------------------------
	About Us Styles 
--------------------------------------------------------*/
#about img { padding: 0; }
#about_content { margin-bottom: 30px; } 

/*------------------------------------------------------
	Our Team Styles
--------------------------------------------------------*/
#team_content .col-md-4 { padding: 5px; }
#team_content img { margin: 0 auto; margin-bottom: 15px; }
#team_content p { text-align: center; }
/*#team_content { height: 280px; }*/

/*------------------------------------------------------
	Services Styles 
--------------------------------------------------------*/
.services_buttons .icon-button:last-of-type { margin-bottom: 0; }
.services_buttons .icon-button {
	font-size: 400%;
	color: white;
	background-color: black;
	cursor: pointer;
	display: inline-block;
	margin-bottom: 5px;
	position: relative;
	text-align: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	width: 100%;
	height: 100%;
	max-width: 90px;
	max-height: 90px;
	line-height: 90px;
}

.services_buttons  .icon-button:hover, .services_buttons  .icon-button.active {	background-color: #e98714; }
#services .col-md-2 { padding-right: 0; }
#services .fa { line-height: 90px; }
#services_content { height: 280px; }
#services_content .tab-pane {  padding: 15px; }
#services_content a { color: #FFFFFF; }

/*http://cssarrowplease.com/*/
.arrow-box { position: relative; color: white; background-color: #e98714; border-radius: 4px; margin-left: 30px; height: 100%;}
.arrow-left { display: block; width: 30px; height: 58px; background: url(../images/left_arrow.png) no-repeat 0 0; position: absolute; left: 1px; margin-top: 20px; }

/*------------------------------------------------------
	Skills Styles 
--------------------------------------------------------*/
.progress { background-color: black; border-radius: 0px; }
.progress.vertical:last-of-type { margin-right: 0; }
.progress-bar {	position:absolute; bottom:0; left:0; } /*http://stackoverflow.com/questions/2015032/align-divs-to-bottom-or-baseline*/
.progress-label { position:absolute; width: 100%; bottom:0; }

/*http://stackoverflow.com/questions/16318375/how-to-align-vertically-a-progress-bar-in-twitter-bootstrap*/
.progress.vertical {
    position: relative;
    width: 19%;
	margin-right: 1.2%; 
    min-height: 240px;
    float: left;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: none;
}


/*------------------------------------------------------
	Portfolio Styles 
--------------------------------------------------------*/
.portfolio-item:hover .overlay-p { transition: all 0.3s ease-in-out 0s; visibility: visible; opacity: 1; }
.portfolio-thumb .overlay-p {
 	background-color: rgba(0, 200, 200, 0.9);
 	position: absolute; 
 	visibility: hidden; 
 	top: 0; 
 	left: 0; 
 	width: 100%; 
 	height: 100%;  	
 	opacity: 0;
 }
.portfolio-thumb .overlay-p a { position: absolute; color: white; text-decoration: none; }

#portfolio .col-md-4 { max-width: 206px; }
#portfolio .row { margin: 0; }
#portfolio h2 { color: white; padding: 8% 4% 4% 4%; margin: 0; }
#portfolio p { color: white; padding: 0 4% 4% 4%; margin: 0; font-size: .9em; }
#portfolio_content .col-md-4 { padding: 0; }

/*------------------------------------------------------
	Blog Styles 
--------------------------------------------------------*/
.blog_post { position: relative; float: left; width: 50%; }
.blog_posts_container { }
.blog_post h2 { position: absolute; background: #a8f662; color: white; top: 0; right: 0; padding: 10px 20px; margin: 0; text-align: center; }

#blog .col-md-7 { padding-left: 46px; overflow: hidden; }

/*------------------------------------------------------
	Contact Styles 
--------------------------------------------------------*/
.form-group { margin-bottom: 20px; }
.form-control {	border-radius: 0px; }
.form-control:focus {
	border-color: rgb( 226, 90, 148 );
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(226, 90, 148,0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(226, 90, 148,0.6);
}

#contact a, #pilates a{ color: #FF9900; }
#contact i { color: #FF9900; font-size:20px; margin-bottom:5px; margin-right:5px}
#contact_content { height: 200px; }

/*------------------------------------------------------
	Map Styles 
--------------------------------------------------------*/


#google_map { width: 100%; height: 280px; outline: 0; border: 0; }

/*------------------------------------------------------
	FOOTER 
--------------------------------------------------------*/
footer { 	/*background: rgb(62,62,62); */
		color: black; 
		margin-top: 5%; }
footer img { padding-top: 30px; }
footer a { text-decoration: none; /*color: white;*/ }
footer a:hover { color: #AE3764 !important; text-decoration: none; }
footer .row { height: 100%; }

.back_to_top { border: #FFFFFF solid 1px; background-color: #e98714; text-align: center; height: 41px; width: 41px; position:fixed; border-radius: 50%; z-index: 999; bottom:20px; right:20px; visibility: hidden; }
.show { visibility: visible;}
#go-top i{color:#FFFFFF !important; font-size:24px !important; margin-top:8px}  /*http://stackoverflow.com/questions/2939914/vertically-align-text-in-a-div*/

.social_buttons a {	text-decoration: none; }

#templatemo_copyright { font-size: .9em; }

/*------------------------------------------------------
	BOOTSTRAP OVERRIDING 
--------------------------------------------------------*/
.col-md-4, .col-md-5, .col-md-7, .col-md-8 { padding: 0; }

.btn-primary {
	font-size: 2em;
	padding-bottom: 10px;
  	background-color: rgb( 226, 90, 148 );
  	box-shadow: 0px 3px 0px 0px rgb( 180, 52, 107 );
  	width: 160px;
  	height: 55px;
  	border: none; border-radius: 0px;
  	-moz-transition: background-color .5s ease;
  	-o-transition: background-color .5s ease;
  	-webkit-transition: background-color .5s ease;
  	transition: background-color .5s ease;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
	background-color: rgb( 180, 52, 107 );
	box-shadow: 0px 3px 0px 0px rgb( 226, 90, 148 );
}

/*------------------------------------------------------
	MEDIA QUERIES 
--------------------------------------------------------*/
@media only screen and (min-width: 1200px){
	h1 { font-size: 4.5em; }
	.services_buttons { text-align: right; }
	.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .menu ul li a.current {
		height: 85px;
	}
	#about .col-md-7 { padding-left: 50px; }
	#about .col-md-8 { padding-left: 20px; padding-top: 20px;}
	#team .col-md-7 { padding-right: 50px; }
	#skills .col-md-7 { padding-right: 90px; }
	#prueba .col-md-7 { padding-right: 90px; }	
	#portfolio .col-md-7 { padding-right: 46px; }
	#contact .col-md-7 { padding-left: 50px; }	
}
@media only screen and (max-width: 992px) {	
	section h1 {}
	}
@media only screen and (min-width: 1200px) {
	.fotos {line-height:390px !important}
	.blog_posts_container {margin-top:35px}
	}
@media only screen and (min-width: 992px) {
.ribbon-wrapper-green {
margin-top:85px;
  width: 168px;
  height: 170px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  right: -3px;
}
.ribbon-green a{
  font-size:18px !important;
  line-height: 16px;
  }
.ribbon-green {
  padding: 5px 0;
  left: -17px;
  top: 40px;
  width: 235px;
}
	.clase {padding-top:175px !important; padding-bottom:175px !important}
	.precios {padding-top:130px !important; padding-bottom:130px !important}
	.fotos {line-height:330px}
	.posts {line-height:395px}
	.titulo{ text-transform: uppercase; color: white; margin-top: 0px; margin-bottom: 0px; line-height: normal; text-align: center; }
	}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	h1 { font-size: 3.5em; }
	.services_buttons { text-align: right; }
	.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .menu ul li a.current {
		height: 85px;
	}
	#about .col-md-7 { padding-left: 30px; }
	#about .col-md-8 { padding-left: 20px; }
	#team .col-md-7 { padding-right: 30px; }
	#skills .col-md-7 { padding-left: 30px; }
	#prueba .col-md-7 { padding-right: 30px; }	
	#portfolio .col-md-7 { padding-right: 30px; }
	#contact .col-md-7 { padding-left: 30px; }
	.ch-grid {
	  margin: 13% 0 0 20%;
	  width: 80%;
	}  	
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	h1 { font-size: 2.5em; }
	nav { font-size: 0.7em; }
	.btn-primary { font-size: 1.6em; }
	.services_buttons { text-align: left; }
	.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus, .menu ul li a.current {
		height: 85px;
	}
	#about .col-md-8 { padding-left: 0; padding-bottom: 20px; }
	#about img { padding: 0; margin-top: 20px; margin-bottom: 20px;	}
	#services .col-md-2, #services_content { padding-left: 0; padding-top: 20px; height: 300px; }
	#portfolio p { padding: 7.3% 4%; }
	#portfolio .col-md-7, #blog .col-md-7, #contact .col-md-7, #prueba .col-md-7  { padding-left: 0; padding-top: 20px; }	
	#blog .col-md-7 { padding-right: 0; }
	.ch-grid {
	  margin: 13% 0 0 15%;
	}  
}

@media only screen and (max-width: 767px) and (min-width: 481px) {
	h1 { font-size: 2.5em; }
	nav .fa { display: inline; text-align: left; margin-bottom: 0; margin-right: 10px; }
	.navbar-default .navbar-nav>li>a { padding-top: 15px; padding-bottom: 15px; }
	.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
		height: 100%;
	}
	.btn-primary { font-size: 1.5em; }
	.services_buttons { text-align: left; }
	.services_buttons .icon-button { font-size: 210%; }
	.blog_post img { max-width: 100%; }
	#about .col-md-8 { padding-left: 0; padding-bottom: 20px; }	
	#about img { padding: 0; margin-top: 20px; margin-bottom: 20px; }
	#team_content { width: 100%; }
	#services .col-md-2, #services_content { padding-left: 0; padding-top: 20px; height: 300px; }
	#services_tabs { padding-left: 10px; }
	#portfolio .col-md-7, #blog .col-md-7, #contact .col-md-7, #prueba .col-md-7 { padding-top: 20px; padding-left: 0; }	
	#htmlMain {
		background-size: contain;
		background-repeat: no-repeat;
		/*background-image: url(../images/portada-pelota.jpg);*/
		background-image: url(../images/vero-vertical.jpg);
	}
	.tituloTelefono {
		display: block;
		margin-top: 5%;
		margin-left: 50%;
	}
	.ch-grid {
		margin: 8% 0 0 0% !important;
	}
	.row-facebook {
		margin:8% 0 0 15%;
	}

}

@media only screen and (max-width: 480px) {	
	section h1 { line-height: 50px}
	nav .fa { display: inline; text-align: left; margin-bottom: 0; margin-right: 10px; }
	.col-xxs { display:block; float:none; width: 100% }
    .social_buttons { }
    .pull-right { float: left !important; } /*do not pull-right in mobile view*/
    .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
		height: 100%;
	}
	.navbar-default .navbar-nav>li>a { padding-top: 15px; padding-bottom: 15px; }	
	.btn-primary { font-size: 1.2em; }	
	.services_buttons { text-align: left; }
	.services_buttons .icon-button { font-size: 190%; }
	.blog_post { width: 50%;}
    .blog_post img { max-width: 100%; }    
	#about .col-md-8 { padding-left: 0; padding-bottom: 20px; }
	#about img { padding: 0; margin-top: 20px; margin-bottom: 20px; }
	#team_content { width: 100%; }
	#services .col-md-2, #services_content { padding-left: 0; padding-top: 20px; height: 300px; }	
	#services_tabs { padding-left: 0; }
	#portfolio .col-md-7, #blog .col-md-7, #contact .col-md-7, #prueba .col-md-7 { padding-top: 10px; padding-left: 0; }	
	#htmlMain {
		background-repeat: no-repeat;
		background-image: url(../images/vero-vertical.jpg);
	}	
	.tituloTelefono {
		display: block;
		margin-top: 5%;
		margin-left: 5%;
	}	
	.ch-grid {
		margin: 8% 0 0 0% !important;
	}	
	.row-facebook {
		margin:8% 0 0 0;
	}

}

@media only screen and (max-width: 430px) {
	body { font-size: 12px; }
	.btn-primary { font-size: 1.1em; }	
	.blog_post h2 { font-size: 1.1em; padding: 5px 5px; }
	.services_buttons .icon-button { font-size: 180%; }
	.navbar-default .navbar-nav>li>a {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
		height: 100%;
	}
	#services_tabs { padding-left: 0; }
	.ribbon-wrapper-green {
		margin-top:84px;
		  width: 85px;
		  height: 88px;
		  overflow: hidden;
		  position: absolute;
		  top: -3px;
		  right: -3px;
  
	}

	.ribbon-green {
	  font: bold 10px;
	  line-height:normal;
	  padding: 5px 0;
	  left: -5px;
	  top: 14px;
	  width: 120px;
	}
	.navbar-brand { padding:0}
	.navbar {min-height: 55px;}
	
	#htmlMain {
		background-repeat: no-repeat;
		background-image: url(../images/vero-vertical.jpg);
	}	
	.ch-grid {
		margin: 8% 0 0 0% !important;
	}	
	.row-facebook {
		margin:8% 0 0 0;
	}	
}

/* http://codepen.io/minimalmonkey/pen/Ecpla */

/* Wrapper */
.social_buttons .icon-button {
	cursor: pointer;
	display: inline-block;
	font-size: 2.0rem;
	line-height: 100px;
	margin: 0;
	position: relative;
	text-align: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	width: 60px;
	height: 100px;
}

/* Icons */
.icon-button i {
	background: none;
	color: white;
	line-height: 3.6rem;
	-webkit-transition: all 0.3s;
	   -moz-transition: all 0.3s;
	     -o-transition: all 0.3s;
	        transition: all 0.3s;
	width: 3.6rem;
	z-index: 10;
}

.icon-button:hover .fa-twitter,
.icon-button:hover .fa-facebook,
.icon-button:hover .fa-youtube {
	color: #c5454a;
}
#pilates ,#yoga ,#trainner {
	margin-bottom: 40px
}
#google_map {
	margin-bottom: 25px
}

#mk-pilates-img img{
	min-width: 400px;
}

.vp-mk-gris {
	padding-left: 0px;
	padding-right: 0px;
}

#homeIndex  {
	/*margin-top: 30px;*/
	margin-top: 10%;
	margin-bottom: 10%;
}

#homeIndex img{
     -moz-border-radius: 50%;
     -webkit-border-radius: 50%;
     border-radius: 50%;	
	 margin: 0 auto;
}
#homeIndex p,h3{
	text-align: center;
}

.textoCirculos{
	display:none;
	text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;	
	/*background-color: white;*/
}


.ch-grid:after,
.ch-item:before {
	content: '';
    display: table;
}

.ch-grid:after {
	clear: both;
}

.ch-grid li {
	width: 220px;
	height: 220px;
	display: inline-block;
	margin: 20px;
}
