

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*
{
    padding: 0;
}

nav{
    /*height: 58px !important;*/
    z-index: 99999;
}


img{
    max-width: 100%;
}

.row-header
{
    height: 2em;
    background-color: #1E3579;    
   
}

.carousel-row{
    margin-left:.05em;
}

.row{
    margin-right: 0 !important;
}

.row-header-logo > div
{
    height: 8em;
    /*padding: 1em;*/
    /*border:solid 1px #f95;    */
    /*background-color: #f0f0f0;*/
}

#logo-img
{
    text-align: center;
}



#contacto-header
{
    text-align: right;
    margin-top:1em;
    box-shadow: 2px 0 0 #CCC;
}

#telefono-header
{   
    margin-top:1em;
}


.row-tarjetas{
    /*border:solid 1px #000;*/
    height: 100%;
    text-align: center;
    text-shadow: 2px 1px 2px rgba(150, 150, 150, 1);
}

.t1{
    background-color: #f0f0f0; 
}
.t1 > img{
    margin-top: 1em;
    max-width: 40%; 
}

.t2{
    background-color: #CCC; 
}


.t3{
    background-color: #f0f0f0; 
}



#fijo{
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    z-index: 99999999;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.fixed{   
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    position: fixed;
    top:0;
    left: 0;
    height: 50px;
    width:100%;
    z-index: 99999;
    transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.fixed > div:nth-child(1){
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    height: 50px;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.fixed > div:nth-child(1) > div:nth-child(1){
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    height: 50px;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.fixed > div:nth-child(1) > div:nth-child(1) > img {
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    height: 50px;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.fixed > div:nth-child(1) > div:nth-child(2){
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    display: none;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.nofixed{  
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    position: fixed;
    top:0;
    left: 0;
    height: 50px;
    width:100%;
    z-index: 99999;
    transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;

}


.nofixed > div:nth-child(1){
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    height: 112px;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.nofixed > div:nth-child(1) > div:nth-child(1){
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    height: 112px;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.nofixed > div:nth-child(1) > div:nth-child(1) > img {
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    height: 112px;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

.nofixed > div:nth-child(1) > div:nth-child(2){
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    display: inline-block;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

/*#menu
{
    height: 4em;
    background-color: #ec1c2d;
}

#menu > ul
{
    text-align: center;
}

#menu > ul > li
{
    display: inline-block;
}

#menu > ul > li > a
{
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 1.3em;
    border:solid 2px #fff;
   
}*/


#menu
{
    height: 100% !important;
}


.direccion
{
    color: white;
    font-weight: bold;
    margin-top: .3em;
}


#descripcion
{
    color: white;    
    padding:14px 20px;
}

/*MENU*/

 ul > li{
     list-style: none;
 }

 a.active{
     background-color: #1E3579;
 }

#menu {
	width:100%;
    padding-right: 0 !important;
    /*border-top: solid 2px #1E3579;*/
}
 
#menu nav {	
	background:#ec1c2d;
}
 
.menu_bar {
	display:none;
}
 
#menu nav ul {
	overflow:hidden;
	list-style:none;
    margin-left: 7em;    
    font-size: 1em;
    /*height: 58px !important;*/
}
 
#menu nav ul li {
	display: inline-block;
    /*height: 58px !important;*/
}
 
#menu nav ul li a {
	color:#fff;
	padding:14px 20px;
	display:block;
	text-decoration:none;
    /*height: 58px !important;*/
     transition: all .5s linear;
     -moz-transition: all .5s linear;
    -webkit-transition: all .5s linear;
}
 
#menu nav ul li span {
	margin-right:10px;
}
 
#menu nav ul li a:hover {
    transition: all .5s linear;
    -moz-transition: all .5s linear;
    -webkit-transition: all .5s linear;
	background:#1E3579;
}
 
section {
	padding:20px;
}
 
@media screen and (max-width:800px ) {
	#menu nav {
		width:100%;
		height:100%;
        top: 0;
		left:-100%;
		margin:0;
		position: fixed;
        
	}

    
    .nofixed > div:nth-child(1) > div:nth-child(1) > img {
        transition: all .5s linear;
        -webkit-transition: all .5s linear;
        -moz-transition: all .5s linear;
        height: 109px;
        transition: all .5s linear;
        -webkit-transition: all .5s linear;
        -moz-transition: all .5s linear;
        }

    .row-menu{
        margin-bottom: 2em;
    }
 
	#menu nav ul li {
		display:block;
		float:none;
		border-bottom:1px solid rgba(255,255,255, .3);
	}
 
	.menu_bar {
		display:block;
		width:100%;        
		background:#ccc;
	}
 
	.menu_bar .bt-menu {
		display:block;
		padding:20px;
		background:#ec1c2d;
		color:#fff;
		text-decoration:none;
		font-weight: bold;
		font-size:25px;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
	}
 
	.menu_bar span {
		float:right;
		font-size:40px;
	}

    
}
/*MENU*/



@media only screen and (min-width: 768px) {
    /* tablets and desktop */
 
}

@media only screen and (max-width: 767px) {
    /* phones */
    #telefono-header
    {          
        text-align: center;
    }

    #info-header-row{
        display:none;
    }

    #contacto-header
    {
        text-align: center;
        margin-top:0;    
    }



     .nofixed > div:nth-child(1) > div:nth-child(1) > img {
        transition: all .5s linear;
        -webkit-transition: all .5s linear;
        -moz-transition: all .5s linear;
        height: 100px !important;
        transition: all .5s linear;
        -webkit-transition: all .5s linear;
        -moz-transition: all .5s linear;
        }
  

    .row-header-logo > div
    {
        /*height: 11em;      */
        background-color: #f0f0f0;
    }

    #logo-img:parent{
        height: 11em;
        display:none;
    }

    .nofixed > div:nth-child(1) > div:nth-child(1) > img {
        transition: all .5s linear;
        -webkit-transition: all .5s linear;
        -moz-transition: all .5s linear;
        height: 109px;
        transition: all .5s linear;
        -webkit-transition: all .5s linear;
        -moz-transition: all .5s linear;
        }

    #init{
        margin-left: 0 !important;
    }

    #menu nav ul
    {
        margin-left: 0 !important;
    }

    .borde{       
        margin: 0 !important;
    }

    h4{
        margin: 0 !important;
    }

    .enlace{
        margin-top:1em !important;
    }

   
}

@media only screen and (min-width: 768px) and (max-width: 990px) {
    /*@media screen and (min-width: 500px) and (max-width: 800px) { ... }*/
    #telefono-header
    {          
        text-align: left;
    }

    .carousel-row{
        margin-top: 20em !important;
    }

    #contacto-header
    {
        text-align: left;
        margin-top:0;    
    }

   

    .fixed > div:nth-child(1) > div:nth-child(1){
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    height: 50px !important;
     transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
}

 

    .row-header-logo > div
    {
        height: 11em;      
        background-color: #f0f0f0;
    }

    #init{
        margin-left: 0 !important;
    }

    #menu nav ul
    {
        margin-left: 0 !important;
    }

    .borde{       
        margin: 0 !important;
    }
    
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
    /* portrait phones */
    

}

.card {
    margin-top: 1em;
    font-size: 1em;
    overflow: hidden;
    padding: 0;
    border: none;
    border-radius: .28571429rem;
    box-shadow: .5em 0 1em #CCC;
    -webkit-box-shadow: .5em 0 1em #CCC;
    -moz-box-shadow: .5em 0 1em #CCC;
      transition: all 1s linear;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
}

.card:hover{
    zoom: 100%;
    -webkit-zoom: 100%;
    -moz-zoom: 100%;
    box-shadow: .5em 0 1em #CCC;
    -webkit-box-shadow: .5em 0 1em #CCC;
    -moz-box-shadow: .5em 0 1em #CCC;
    transition: all 1s linear;
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
}

.card-block {
    font-size: 1em;
    position: relative;
    margin: 0;
    padding: 1em;
    border: none;
    border-top: 1px solid rgba(34, 36, 38, .1);
    box-shadow: none;
}

.card-img-top {
    display: block;
    width: 100%;
    height: auto;
}

.card-title {
    font-size: 1.28571429em;
    font-weight: 700;
    line-height: 1.2857em;
}

.card-text {
    clear: both;
    margin-top: .5em;
    color: white;
}

.card-footer {
    font-size: 1em;
    position: static;
    top: 0;
    left: 0;
    max-width: 100%;
    padding: .75em 1em;
    color: white;
    border-top: 1px solid rgba(0, 0, 0, .05) !important;
    background: #fff;
}

.card-inverse .btn {
    border: 1px solid rgba(0, 0, 0, .05);
}

.profile {
    position: absolute;
    top: -12px;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    width: 25px;
    height: 25px;
    margin: 0;
    border: 1px solid #fff;
    border-radius: 50%;
}

.profile-avatar {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.profile-inline {
    position: relative;
    top: 0;
    display: inline-block;
}

.profile-inline ~ .card-title {
    display: inline-block;
    margin-left: 4px;
    vertical-align: top;
}

.text-bold {
    font-weight: 700;
}

.meta {
    font-size: 1em;
    color: white;
}

.meta a {
    text-decoration: none;
    color: white;
}

.meta a:hover {
    color: rgba(0, 0, 0, .87);
}




.img-car{
    width: 200px;
    height: 200px;
}



.borde{
     margin-top: 1em;
}



.social:hover {
     -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
     -o-transform: scale(1.1);
 }
 .social {
     -webkit-transform: scale(0.8);
     /* Browser Variations: */
     
     -moz-transform: scale(0.8);
     -o-transform: scale(0.8);
     -webkit-transition-duration: 0.5s;
     -moz-transition-duration: 0.5s;
     -o-transition-duration: 0.5s;
 }

/*
    Multicoloured Hover Variations
*/
 
 #social-fb:hover {
     color: #ec1c2d;
 }
 #social-tw:hover {
     color: #ec1c2d;
 }
 #social-gp:hover {
     color: #ec1c2d;
 }
 #social-em:hover {
     color: #ec1c2d;
 }


.pw-line{
    width:100% !important;
}










/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
}
/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
	
	height: 508px;   
    
}

/* flip speed goes here */
.flipper {
	transition: 0.8s;
	transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
}




.programs,
.courses {
	margin: 8px 0 0 0;
}

.programs {
	font-size: 0;
	margin-bottom: 15px;
}

.programs button {
	outline: none;
	margin-bottom: 0;
	background: whitesmoke;
    width: 50%;
    
    height: auto;
	font-weight: normal;
	border: 1px solid #ededed;
	color: #000000;
    font-size: 14px;
    font-family: 'roboto';
    padding: 1em 0;
    
}

.programs button:hover {
	background: #99cfe0;
}

.programs button.active {
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5) inset, 0px 0px 1px transparent;
	background: #1E3579;
	color: white;
}

.courses {
	margin-bottom: 15px;
	font-size: 0;
	/* background: whitesmoke; */
}

.courses li {
	text-align: center;
	font-size: 14px;
	display: inline-block;
	width: 46%;
    margin: 0 2%;
    border-radius: 1em;
    box-shadow: 0 0 1em #CCC;
}

.courses li > img {
    border-radius: 1em;
}


.courses li:hover {
    cursor:pointer;
     -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -o-transition: all 1s linear;
    transition: all 1s linear;
    filter: grayscale(100%); 
	-webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

.courses a {
	display: block;
	height: 60px;
	margin: 15px 0;
	padding-top: 12.5px;
	background: whitesmoke;
	color: black;
	border: 1px solid white;
	-webkit-transition: all .4s ease;
	        transition: all .4s ease;
}

.courses a:hover {
	background: #99cfe0;
}

.courses .mix-target {
	display: none;
}






/* MEDIA QUERIES STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media only screen and (min-width: 750px) {

	.container {
		width: 95%;
	}

	.courses a {
		background: #EBEBEB;
		border: none;
	}

	.courses a:hover {
		background: #EBEBEB;
		-webkit-transform: scale(1.15);
		    -ms-transform: scale(1.15);
		        transform: scale(1.15);
	}

	

	.programs {
		margin-bottom: 0;
	}

	.programs button {
		width: 25%;
		margin-bottom: 15px;
	}

	.courses li {
		width: 21%;
	}

}






.modal-dialog {
  width: 90%;
}