/*
 * Globals
 */
 @media (max-width: 768px){
   
  h1 {font-size: 2rem!important;}

  #o-text{ padding-bottom: 0!important;}
 }
 .overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.9);
  overflow: hidden;
  transition: 0.5s;
  z-index: 9;
 }
.overlay-content {
  position: relative;
  width: 100%;
  top: 30%;
  text-align: center;
}
.overlay-content ul {
  padding: 0;
  margin: 0 auto;
}
.overlay-content .nav-link{
  border-bottom: .10rem solid transparent;
  text-transform: uppercase;
  letter-spacing: .08rem;
}
.overlay.show{
  display: block!important;
}
.navbar-toggler {
  z-index: 99;
}
.item-collapsed::after{
  display: inline-block;
  margin-left: .255em;
  vertical-align: .255em;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
}
/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-outline,
.btn-outline:hover,
.btn-secondary:focus {
  color: rgba(255,255,255);
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: transparent;
  border: .1rem solid rgba(255,255,255);
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: .05rem;
  font-size: 80%;
  font-weight: 600;
}
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: rgba(255,255,255);
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: rgba(180,152,95);;
  border: .05rem solid rgba(180,152,95);;
  border-radius: 0;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: .05rem;
  font-size: 80%;
  font-weight: 600;
}

.btn-secondary:hover span {
  color: rgba(255, 255, 255, .8);
 
}
.btn-lg {
  padding: .75rem 1.5rem; 
}
.btn-sm {
  padding: .50rem .75rem;
}
.btn-scroll-top {
  display: inline-block;
  position: fixed;
  z-index: 999;
  width: 50px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  transition: background-color .3s, 
  opacity .3s, visibility .3s;
  opacity: 0;

} 
.btn-scroll-top.show{
opacity: 1;

} 
.btn-scroll-top i {
  position: absolute;
  font-size: 1rem;
  top: 35%;
  left: 35%;
  color: rgba(255, 255, 255);
}

/*
 * Base structure
 */

html,
body {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
}

body {
  display: block;
}

b{
    font-weight: 700;
}
.section_s {
    padding-top: 5rem;
    padding-bottom: 5rem;

}

.text-secondary {
    color: rgba(180,152,95) !important;
}

.form-control {
    border-radius: 0;
    color: rgba(0,0,0,.5)!important;
    height: auto;
    padding: .75rem .75rem;
    border: 0;
}
.form-control::placeholder {
    color: rgba(0,0,0,.5)!important;
}
.form-control:focus {
    box-shadow: none!important;
    border: 0;
}
.form_2 .form-control {
    border: 1px solid #ced4da;
}
.form_2 .form-control:focus {
    border: 1px solid #ced4da;
}
#oferta-academica-nav {
   border-bottom: 1px solid rgba(0,0,0,.1);
}
#oferta-academica-nav .nav-link {
    color: rgba(0,0,0,.8);
    padding: 1rem;
}
#oferta-academica-nav .nav-link.active {
    border-bottom: 2px solid #00427a;
}
#carreras .row{
  flex-wrap: nowrap;
  overflow-x: auto;
}
.nav-masthead .dropdown-menu {
  border: 0;
  border-radius: 0;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255);
}
.dropdown-toggle::after {
  border: solid;
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
/*
 * Header
 */

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  margin: .5rem;
  border-bottom: .10rem solid transparent;
}


.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.navbar-nav {
   flex-direction:  row;
}

.nav-masthead .navbar-toggler {
    color: rgba(255, 255, 255)!important;
    border: none;
}


@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  
}
.parallax {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 35rem;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.3;
}

.parallax_b {
    position: relative;
    width: 100%;
    height: 75vh;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax_b::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.3;
}
/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}
.lead {
   font-family: Playfair Display, serif;
   letter-spacing: .2rem;
   font-size: 1rem; 
}
.lead_font {
    font-family: Playfair Display, serif;
    letter-spacing: .1rem;

 }
.line {
    width: 4rem;
    height: .2rem;
    background-color:#00427a;
    display: block;
    margin: 1rem auto; 
}
.line_50 {
    width: 2rem;
    height: .2rem;
    background-color: #00427a;
    display: block;
    margin: 1rem auto; 
}
.project-box {
  position: relative;
  height: 120px;
  padding: .5rem 1.5rem ;  
  background-color:#00427a; 

}
.project-box img{
  position: absolute;
  bottom: 20%;
  right: 20px;
  opacity: .1;
}
.project-box_alt {
  margin: 3rem 0;
}

.img-box::before    {
    position: absolute;
    z-index: -1;
    width: 350px;
    height: 350px;
    content: "";
}
.nav-scroller {
    position: relative;
    z-index: 2;s 
    overflow-y: hidden;
}

.btn-form input{
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
#academy .row{
  flex-wrap: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
.img-box::before {
    top: 70px;
    left: 90px;
    background-color: #f0f0f0;
}

}
.featured-img img {
    border-radius: 50%;
    max-width: 50%;
}
.section-gallery-grid_item {
    padding-right: .5rem;
    padding-bottom: 1rem;
    padding-left: .5rem;
}
.section-gallery-grid_item>a {
    position: relative;
    display: block;
}
.section-gallery-grid_item>a:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    transition: opacity .3s;
    background-color: rgba(0,0,0,.3);
}
.section-gallery-grid_item>a:after {
    position: absolute;
    top: 50%;
    left: 50%;
    content: url(http://localhost/cuina/img/icon_plus.svg);
    transition: opacity .3s;
    transform: translate(-50%,-50%);
    opacity: 0;
}
.section-gallery-grid_item>a:hover:after{
  opacity: 1;
}

/*
 * Footer
 */

